<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->

                                    <!--      شيكات العملاء -->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="{$path}/assets/css/print.css" rel="stylesheet">

    </head>
    <body>
        <style>
            table , tr >th , tr > td {
             border: 1px solid #000 !important ;
            }
            tr >th {
                padding: 8px !important;
 
            }
            tr > td {
                text-align: center !important;
                padding: 10px !important;

            }
        </style>
         <h3 class="panel-heading " >  طلبات أخرى من الفروع         </h3>
            <table class="table dataTableClass table-black">
                <thead>
                    <tr>
                        <th> العدد الموافق عليه </th>
                        
                        <th> العدد المطلوب </th>

                        <th> المخزن المطلوب منه </th>

                        <th>صاحب الطلب </th>

                        <th>اسم المنتج</th>

                        <th>م</th>

                    </tr>
                </thead>
                <tbody>
                    {if $acceptRequests }
                    {assign var=i value=1}
                    {foreach $acceptRequests as $data}
                    <tr>
                        <td>{$data->productnoaccept}</td>
                        
                        <td>{$data->productnoreq}</td>

                        <td>{$data->storeName}</td>

                        <td>{$data->requestStoreName}</td>

                        <td>{$data->productName}</td>
                        <td>{$i}</td>

                    </tr>
                    {capture assign=i}{$i+1}{/capture}
                    {/foreach}
                    {/if}
                </tbody>
            </table>
    </body>
</html>
