
<?php Fun::lang() ?>
<div class="page-purchases">
    <div class="container-fluid">
        <div class="top-content">
            <div class="row1">
                <div class="col-sm-12 col-xs-12">
                    <h2 class="show-product"><?php echo e(__('administrator.items')); ?> </h2>
                    <hr>
                </div>
            </div>
        </div>
        <hr>
        <hr>
        <div class="summary-header">
            <table>
                <tr>
                    <td>
                        <table class="text-left">
                            <tr>
                                <td><?php echo e(__('administrator.invoice_number')); ?></td>
                                <td> : <?php echo e($item->invoice_number); ?> </td>
                            </tr>
                            <tr>
                                <td><?php echo e(__('administrator.request_by')); ?></td>
                                <td> :  <?php echo e(findUser($item->request_by)->name); ?></td>
                            </tr>
                            <tr>
                                <td><?php echo e(__('administrator.created_at')); ?></td>
                                <td> : <?php echo e(date('d-m-Y',strtotime($item['date']))); ?> </td>
                            </tr>
                            <tr>
                                <td><?php echo e(__('administrator.note')); ?></td>
                                <td> : <?php echo e($item->note); ?> </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
        <div class="wrapper-table">
            <table class="table table-striped table-hover ">
                <thead>
                <tr>
                    <th>#</th>
                    <th><?php echo e(__('administrator.item')); ?></th>
                    <th><?php echo e(__('administrator.size')); ?></th>
                    <th><?php echo e(__('administrator.color')); ?></th>
                    <th><?php echo e(__('administrator.unit')); ?></th>
                    <th><?php echo e(__('administrator.qty')); ?></th>
                </tr>
                </thead>
                <tbody>
                    <?php $__currentLoopData = $item_detail; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($key+1); ?></td>
                            <td><?php echo e(optional($value->getItem)->product_name); ?></td>
                            <td><?php echo e(optional($value->getSize)->size); ?></td>
                            <td><?php echo e(optional($value->getColor)->name); ?></td>
                            <td><?php echo e(optional($value->getUnit)->unit); ?></td>
                            <td><?php echo e($value->qty); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
            </table>
        </div>
    </div>
</div>
<?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/administrator/request-stock/show.blade.php ENDPATH**/ ?>