| Path : /var/www/html/backup/jewelry-pos/storage/framework/views/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //var/www/html/backup/jewelry-pos/storage/framework/views/5835d0155a62fe6f06ce6fc5f94160cf.php |
<?php $__env->startSection('content'); ?>
<div class="" style="display: flex;justify-content: center;width: 100%;height: 100%;background-color: #eee;">
<div class="text-center mt-4 ml-4 notPrint" style="width: 5%; height: 50%;">
<a href="<?php echo e(route('reports.product-qty-history')); ?>" id="back" name="back" class="btn-sm btn-danger mt-6 fw-bold notPrint" style="cursor: pointer;color: white;">Back</a>
</div>
<div class="" style="height: 100%;width: 95%;">
<div class="text-center bg-white print" id="print" style="width: 100%;height: 100%;margin: auto;color: rebeccapurple">
<div class="row" style="display: flex;justify-content: center;align-items: center;color: rebeccapurple;">
<div class="col-sm-6 col-xl-6 p-2" style="border: 1px solid rebeccapurple;display: flex;justify-content: center;align-items: center;">
<h1 style="font-weight: bold;font-size: 24px"><?php echo e($settings_->shop_name); ?></h1>
</div>
</div>
<div class="row m-2">
<div class="col-sm-6 col-xl-8 text-left mt-4" style="font-size: 14px;">
<?php echo e(__('message.cashier')); ?> : <b><?php echo e(Auth::user()->name); ?></b>
</div>
<div class="col-sm-6 col-xl-4 text-right mt-4" style="font-size: 14px;">
<?php echo e(__('message.invoice date')); ?> : <b><?php echo e(now()->toDateTimeString()); ?></b>
</div>
</div>
<div class="row m-2">
<div class="col-sm-8 col-xl-8 text-left mt-4" style="font-size: 14px">
<?php echo e(__('message.location')); ?> : <b><?php echo e($settings_->address); ?></b>
</div>
<div class="col-sm-4 col-xl-4 text-right mt-4" style="font-size: 14px;">
<?php echo e(__('message.phone number')); ?> : <b><?php echo e($settings_->phone); ?></b>
</div>
</div>
<div class="row mt-4" style="display: flex;justify-content: center;align-items: center;color: rebeccapurple;">
<div class="col-sm-6 col-xl-12 p-2 text-center" style="display: flex;justify-content: center;align-items: center;">
<h1 style="font-weight: bold;border-bottom: 2px solid rebeccapurple;font-size: 18px" class=""><?php echo e(__('message.product transaction invoice')); ?></h1>
</div>
</div>
<div class="panel-container show">
<div class="d-flex flex-column h-100">
<div class="h-auto">
<table id="example" class="table table-bordered table-hover table-striped w-100">
<thead class="bg-fusion-50 text-center">
<tr>
<th>#</th>
<th><?php echo e(__('message.grn')); ?></th>
<th><?php echo e(__('message.part number')); ?></th>
<th><?php echo e(__('message.product category')); ?></th>
<th class="text-center"><?php echo e(__('message.product name')); ?></th>
<th class="text-center"><?php echo e(__('message.selling cost')); ?></th>
<?php if($for_sale == 0): ?>
<th><?php echo e(__('message.weight')); ?></th>
<th class="text-center"><?php echo e(__('message.weight before transaction')); ?></th>
<th class="text-center"><?php echo e(__('message.weight after transaction')); ?></th>
<?php else: ?>
<th><?php echo e(__('message.qty')); ?></th>
<th class="text-center"><?php echo e(__('message.qty before transaction')); ?></th>
<th class="text-center"><?php echo e(__('message.qty after transaction')); ?></th>
<?php endif; ?>
<th class="text-center"><?php echo e(__('message.note')); ?></th>
<th class="text-center"><?php echo e(__('message.updated at')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $productQtyHistories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $productQtyHistory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr class="text-center <?php if($productQtyHistory->qty<0): ?> inactive <?php endif; ?>">
<td>
<?php echo e($index+1); ?>
</td>
<td>
<?php echo e($productQtyHistory->grn); ?>
</td>
<td>
<?php echo e($productQtyHistory->product?->part_number); ?>
</td>
<td>
<?php echo e($productQtyHistory->product->productCategory->name??''); ?>
</td>
<td>
<?php echo e($productQtyHistory->product->name??''); ?>
</td>
<td class="credit">
<?php echo e(number_format($productQtyHistory->product_cost??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?>
</td>
<?php if($for_sale == 0): ?>
<td class="credit">
<?php echo e(abs($productQtyHistory->weight)); ?>
</td>
<td class="credit transparent">
<?php echo e(number_format($productQtyHistory->weight_before_transaction , 2)); ?>
</td>
<td class="credit transparent">
<?php echo e(number_format($productQtyHistory->weight_after_transaction , 2)); ?>
</td>
<?php else: ?>
<td class="credit">
<?php echo e(abs($productQtyHistory->qty)); ?>
</td>
<td class="credit transparent">
<?php echo e(number_format($productQtyHistory->qty_before_transaction , 2)); ?>
</td>
<td class="credit transparent">
<?php echo e(number_format($productQtyHistory->qty_after_transaction , 2)); ?>
</td>
<?php endif; ?>
<td>
<?php echo e($productQtyHistory->note??''); ?>
</td>
<td>
<?php echo e(date('d-m-Y H-i-s' , strtotime($productQtyHistory->created_at))); ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<div class="row mt-10-rem" style="margin-top: 5rem !important;">
<div class="col-1">
</div>
<div class="col-3 mt-10-rem" style="margin-top: 5rem !important;">
<h1 class="border-bottom"></h1>
<span style="font-weight:bold;color: black"><?php echo e(__('message.prepare by')); ?> : </span>
</div>
<div class="col-4">
</div>
<div class="col-3 mt-10-rem" style="margin-top: 5rem !important;">
<h1 class="border-bottom"></h1>
<span style="font-weight:bold;color: black"><?php echo e(__('message.confirm by')); ?> : </span>
</div>
<div class="col-1">
</div>
</div>
<!-- datatable end -->
</div>
</div>
</div>
</div>
</div>
<div class="text-center mt-4 mr-4 notPrint" style="width: 5%;; height: 50%;">
<a id="print" name="print" class="btn-sm btn-info mt-6 fw-bold notPrint" onclick="return print()" style="cursor: pointer;color: white;">Print</a>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<script>
window.print();
setTimeout("closePrintView()", 100);
function closePrintView(){
window.location.href = "<?php echo e(route('reports.product-qty-history')); ?>?for_sale=<?php echo e($for_sale); ?>&start_date=<?php echo e($start_date); ?>&&end_date=<?php echo e($end_date); ?>&paginate=<?php echo e($paginate); ?>&in_out=<?php echo e($in_out); ?>&q=<?php echo e($q); ?>";
}
</script>
<script>
$(document).ready(function() {
$("#js-nav-menu").removeClass('active');
$("#js-nav-menu li ul li").removeClass('active');
// $("#menu_setup_list").addClass('active open');
// $("#collapse_setup").addClass('collapse in')
$("#menu_product").addClass('active')
})
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin-main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/jewelry-pos/resources/views/report-product-transactions/list.blade.php ENDPATH**/ ?>