
<hr/>
<div id="resultDiv"><!------ Start result --------->
    <div class="col-lg-offset-8 col-lg-4">
        <div class="well well-sm"><h4 class="text-center">{$totalQty}</h4></div>
    </div>
    <div class="col-lg-offset-8 col-lg-4">
        <div class="well well-sm"><h4 class="text-center">{$totalPrice} {$currency}</h4></div>
    </div>
    <table class="table table-black">
        <thead>
            <tr>
                <th>م</th>
                <th>اسم المنتج</th>
                <th>كمية الشراء </th>
                <th>تفاصيل العملية </th>
            </tr>
        </thead>
        <tbody>

            {assign var=j value=1}
            {foreach $shownData as $data}
            <tr>
                <td>{$j}</td>
                <td>{$data->productName}</td>
                <td>{$data->totQty}</td>
                <td><a onclick="showDetails({$data - > buybilldetailproductid})" type="button" class="btn btn-default btn-lg notesicon showDetailsModal"></a></td>
            </tr>
            {capture assign=j}{$j+1}{/capture}
            {/foreach}
        </tbody>

    </table>

</div> <!------ End result --------->
<div class="clearfix"></div>


