<table class="table table-black">
    <thead>
        <tr>
            <th style="width:50px;">م</th>
            <th>سعر الشحنه</th>
            <th>تكلفة الشحن</th>
            <th>رقم الشحنه</th>
            <th>SN</th>
            <th> المنتج</th>
            <th>المورد</th>
            <th>SD</th>
        </tr>
    </thead>
    <tbody>
        <input type="hidden" name="maintenanceitr" value="{$maintenances|@count}" />
        {assign var=itr value=1}
        {foreach $maintenances as $maintenance}
        <tr>
            <td><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline">
                <input type="checkbox" class="policycheck" data-update="0" data-id="" name="maintenanceid_{$itr}" value="{$maintenance->id}" />
                <span></span>
            </label>
            </td>
            <td><input type="text" name="shipprice_{$itr}" id="shipprice_{$maintenance->id}" class="form-control" value=""></td>
            <td><input type="text" name="shipcharge_{$itr}" id="shipcharge_{$maintenance->id}" class="form-control" value=""></td>
            <td><input type="text" name="shipnumber_{$itr}" id="shipnumber_{$maintenance->id}" class="form-control" value=""></td>
            <td>{$maintenance->id}</td>
            <td>{$maintenance->productName}</td>
            <td>{$maintenance->suppliername}</td>
            <td>{$maintenance->id}</td>
        </tr>
        {capture assign=itr}{$itr+1}{/capture}
        {/foreach}
    </tbody>
</table>

