<table class="table table-hover portlet light bg-inverse" id="repTable" style="width: 100%;">
    <tr>
            <th class="wds10">   Day</th>
        <th class="wds10">   Date</th>
   
       <th class="wds10">   No of Visits</th>
        <th class="wds20">   Cost</th>
        <th class="wds20">   Dr Percent </th>
       <th class="wds20">   Dr Net </th>
       <th class="wds10">   cashed </th>
    </tr>

    {foreach $days as $day }
    <tr>
           <td>{$day.dayName}</td>
                <td>{$day.visitdate}</td>
        <td>{$day.visitsCount}</td>
        <td>{$day.total}</td>
        <td>{$day.dr_percent} % </td>
         <td>{$day.dr_percent_total}</td>
                    <td>
                        <label   for="dr_percent_receive" >
                           <span>
                              <input type="checkbox"   id="dr_percent_receive"   value="1"  class="drPercentReceive"
                                      data-date ="{$day.visitdate}" 
                                     {if $day.dr_percent_receive eq 1} checked {/if} >
                           </span>
                        </label>
                     </td>
    </tr>
    {/foreach}

    <tr>      
       <th >   Total</th>
       <th>   </th>
        <th>   {$vCount}</th>
        <th>   {$vCost}</th>
        <th>   </th>
          <th>   {$net}</th>
        <th>   </th>
      
    </tr>
</table>