<?php $__env->startSection('content'); ?>

    <div>
        <table style="width:100%">
            <tr>
                <td style="width:30%"></td>
                <td style="width:60%">
                    <table style="width:100%" class="order-bank">
                        <thead>
                        <tr>
                            <td style="width:70%; border-bottom-width:1px;" colspan="2"><span style="text-align:center; border: #000000; font-family:times;font-weight:bold;font-size:15pt;color:#000000; ">REQUISITION NO: <?php echo $refno; ?></span></td>
                        </tr>
                        </thead>
                    </table>
                </td>
                <td style="width:10%"></td>
            </tr>
        </table>
    </div>

    <div class="blank-space"></div>

    <?php if(!empty($data)): ?>
        <table class="table order-bank" width="90%" cellpadding="2">

            <thead>
            <tr class="row-line">
                <th width="10%" style="text-align: left; font-size: 10px">SL No</th>
                <th width="10%" style="text-align: left; font-size: 10px">Item Code</th>
                <th width="40%" style="text-align: left; font-size: 10px">Item Name</th>
                <th width="20%" style="text-align: right; font-size: 10px">Quantity</th>
                <th width="20%" style="text-align: center; font-size: 10px">Unit</th>
            </tr>
            </thead>
            <tbody>
            <?php $__currentLoopData = $data->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td width="10%" style="border-bottom-width:1px; font-size:10pt; text-align: left"><?php echo $i+1; ?></td>
                    <td width="10%" style="border-bottom-width:1px; font-size:10pt; text-align: left"><?php echo $item->item->product_code; ?></td>
                    <td width="40%" style="border-bottom-width:1px; font-size:10pt; text-align: left"><?php echo $item->item->name; ?></td>
                    <td width="20%" style="border-bottom-width:1px; font-size:10pt; text-align: right"><?php echo number_format($item->quantity,2); ?></td>
                    <td width="20%" style="border-bottom-width:1px; font-size:10pt; text-align: center"><?php echo $item->item->unit_name; ?></td>
                </tr>

            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
            <tfoot>
            <tr style="line-height: 200%">
                <td colspan="5" style="border-bottom-width:0.2px; font-size:10pt;"></td>
            </tr>
            </tfoot>

        </table>
    <?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.layouts.pdfmaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>