<form action="preparationController.php?do=insuranceGO" method="post">
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h6 class="text-center"><strong> التجهيز</strong> </h6>
                </div>
                <div class="panel-body">
                    <div class="table-responsive">

                        <table class="table table-condensed table-black">
                            <thead>
                                <tr>
                                    <td><strong> اسم المنتج</strong></td>
                                    <td><strong> اسم المورد</strong></td>
                                    <td><strong> السيريال الخاص</strong></td>
                                    <td><strong> رقم الايصال</strong></td>
                                    <td><strong> تجهيز</strong></td>
                                </tr>

                            </thead>
                            <tbody>
                                {assign var="i" value="1"}
                                {foreach $comReceiptData as $mycomReceiptData}
                                <tr>
                                    <td>{$mycomReceiptData->productName}</td>
                                    <td>{$mycomReceiptData->suppliername}</td>
                                    <td>{$mycomReceiptData->ourserial}</td>
                                    <td>{$mycomReceiptData->receiptid}</td>
                                    <td><input name="go{$i}" id="go{$i}" value="{$mycomReceiptData->id}" type="checkbox"/>
                                        <input name="ourserial{$i}" id="ourserial{$i}" type="hidden" value="{$mycomReceiptData->ourserial}" />
                                        <input name="productSerial{$i}" id="productSerial{$i}" type="hidden" value="{$mycomReceiptData->productserial}" />
                                    </td>
                                </tr>
                                {assign var="i" value=$i+1}
                                {/foreach}
                            </tbody>
                        </table>
                        <input name="hidden_itr" type="hidden" value="{$itr}" />
                        <br/>
                        <div align="center"><button type="submit" id="save" name="save" class="btn btn-primary"> تجهيز </button></div>
                        <br/>

                    </div>
                </div>
            </div>
        </div>
    </div>


</form>



