<div class="clearfix"></div>

<!-- Table -->
<table class="table table-black">
    <thead>
        <tr>
            <th class="hidden-print">
                <label>
                    <input type="checkbox" name="checkAll" id="checkAll"/>
                </label>
            </th>
            <th>م </th>
            <th>اسم المخزن </th>
            <th>العدد المتاح </th>
            <th>العدد المطلوب </th>
            <th>طلب </th>
        </tr>
    </thead>
    <tbody>
        {assign var=i value=1}
        {foreach $bills as $data}
        <tr>
            <td class="hidden-print">
                <label>
                    <input type="checkbox" name="choosedItem[]" id="checked{$i}" class="choosenItem" value="{$data->id}" />
                </label>
            </td>
            <td>{$i}</td>
            <td> {$data->clientname} </td>
            <td>{$data->billno}</td>
            <td>{$data->finalnetbillvalue}</td>
            <td>{$data->billdate}</td>
            {capture assign=i}{$i+1}{/capture}
            {/foreach}
    </tbody>

</table>