Path : /var/www/html/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/jewelry-pos/storage/framework/views/5dfb1ae5f0710d56305645f9c2d87ab8.php |
<?php $__env->startSection('content'); ?> <div class="col-lg-12"> <div class="card-body shadow-1"> <div class="row mt-2 mr-1"> <div class="col-xs-8 col-md-8 col-sm-8 col-xl-7 margin-tb mb-4" style="display: flex;justify-content: start;align-items: center"> <form method="GET" action="<?php echo e(route('grn-product-list' , $grn)); ?>?q=<?php echo e($q); ?>&paginate=<?php echo e($paginate); ?>" class="" id="search-form" onsubmit="" style="display: flex;justify-content: start;align-items: center;width: 100%;"> <input type="hidden" name="paginate" value="<?php echo e($paginate); ?>"> </form> </div> <div class="col-md-8 col-xs-8 col-sm-8 col-xl-5 margin-tb mb-4"> <div class="row"> <div class="col-lg-10 col-xs-10 col-sm-10 col-md-10 col-xl-10 margin-tb" style="display: flex;justify-content: center;align-items: center"> <a href="<?php echo e(route('grn-product-print' , $grn)); ?>?paginate=<?php echo e($paginate); ?>&q=<?php echo e($q); ?>" class="btn btn-info bg-info-800 float-right rounded-0" title="<?php echo e(__('message.print')); ?>" name=""> <i class="fal fa-print"></i> <?php echo e(__('message.print')); ?> </a> <a href="<?php echo e(route('grn-product-export' , $grn)); ?>?paginate=<?php echo e($paginate); ?>&q=<?php echo e($q); ?>" class="btn btn-success bg-success-800 search-date m-2" id="download-button" onclick="return clickdownload()"> <i class="fal fa-download"></i> <?php echo e(__('message.export excel')); ?> </a> </div> <div class="col-lg-2 col-xs-2 col-sm-2 col-md-2 col-xl-2 margin-tb" style="display: flex;justify-content: center;align-items: center;padding: 0"> <a href="<?php echo e(route('grn-list')); ?>" class="btn btn-sm btn-primary"> <i class="fal fa-arrow-left"></i> <?php echo e(__('message.back')); ?> </a> </div> </div> </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-striped w-100"> <thead class="bg-fusion-400 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><?php echo e(__('message.sales price')); ?></th> <th><?php echo e(__('message.qty')); ?></th> <th><?php echo e(__('message.gold weight')); ?></th> <th><?php echo e(__('message.date')); ?></th> </tr> </thead> <tbody class="text-center" id="accordionExample"> <?php $__currentLoopData = $productQtyHistories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $productQtyHistory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="text-center border-bottom <?php if($productQtyHistory->qty<0): ?> inactive <?php endif; ?> <?php echo e(+$loop->index%2!=$productQtyHistory->count()?'border-top':''); ?>" data-toggle="collapse" href="#row<?php echo e($loop->index); ?>" role="button" aria-expanded="false" aria-controls="row<?php echo e($loop->index); ?>"> <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?->sellingPrice($productQtyHistory->goldWeight())??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> </td> <td class="credit"> <?php echo e($productQtyHistory->qty); ?> </td> <td> <?php if($productQtyHistory->weight): ?> <?php echo e(number_format($productQtyHistory->goldWeight()??0 ,2)); ?> <?php else: ?> <?php echo e(number_format($productQtyHistory->product?->goldWeight()??0 ,2)); ?> <?php endif; ?> </td> <td> <?php echo e($productQtyHistory->created_at->format('d-m-Y H:i')); ?> </td> </tr> <tr class="bg-white"> <td colspan="11"> <div class="collapse multi-collapse" id="row<?php echo e($loop->index); ?>" data-parent="#accordionExample"> <div class="panel-content"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"> <a class="nav-link active" data-toggle="tab" href="#detail<?php echo e($loop->index); ?>" role="tab"><?php echo e(__('message.detail')); ?></a> </li> <?php if($productQtyHistory->product->diamond_size??''): ?> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#diamond_size<?php echo e($loop->index); ?>" role="tab"><?php echo e(__('message.diamond size')); ?></a></li> <?php endif; ?> </ul> <div class="tab-content border-top-0 p-3" style="border:1px solid #dee2e6!important; border-top:none !important;"> <div class="tab-pane fade show active" id="detail<?php echo e($loop->index); ?>" role="tabpanel"> <div class=""> <div class="card-body"> <div class="row"> <div class="col-3"> <?php if($productQtyHistory->product->image??''): ?> <img class="rounded" id="myImg<?php echo e($index); ?>" src="<?php echo e(asset($productQtyHistory->product->image)); ?>" style="width:200px;max-width:300px;cursor:pointer;"> <?php else: ?> <img class="rounded" id="myImg<?php echo e($index); ?>" src="<?php echo e(asset('no_image.png')); ?>" style="width:200px;max-width:300px;cursor:pointer;"> <?php endif; ?> </div> <div class="col-xs-4 col-sm-6 col-md-6 col-xl-3"> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.cost')); ?> </p> </div> <div class="col-6 text-left">: <?php if($productQtyHistory->for_sale == 0 && $productQtyHistory->product_cost): ?> <?php echo e(number_format($productQtyHistory->product_cost??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> <?php else: ?> <?php echo e(number_format($productQtyHistory->product?->cost($productQtyHistory->weight)??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> <?php endif; ?> </div> </div> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.wages')); ?> <?php echo e($productQtyHistory->product?->productCategory?->fixed_price??''||$productQtyHistory->product?->fixed_price?'':'(គិតជាលី)'); ?> </p> </div> <div class="col-6 text-left credit">: <!-- <?php if($productQtyHistory->product?->productCategory?->fixed_price??'' || $productQtyHistory->product?->fixed_price??''): ?> <?php echo e(number_format($productQtyHistory->product->wages??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> <?php else: ?> <?php echo e(number_format($productQtyHistory->product->wages_in_weight??0 , 2)); ?> <?php endif; ?> --> <?php echo e(number_format($productQtyHistory->product?->selling_wagesInWeight()??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> </div> </div> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.original wages')); ?> <?php echo e($productQtyHistory->product?->productCategory?->fixed_price??''||$productQtyHistory->product?->fixed_price??''?'':'(គិតជាលី)'); ?> </p> </div> <div class="col-6 text-left credit">: <!-- <?php if($productQtyHistory->product?->productCategory?->fixed_price??'' || $productQtyHistory->product?->fixed_price??''): ?> <?php echo e(number_format($productQtyHistory->product?->original_wages??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> <?php else: ?> <?php echo e(number_format($productQtyHistory->product?->original_wages_in_weight??0 , 2)); ?> <?php endif; ?> --> <?php echo e(number_format($productQtyHistory->product?->cost_wagesInWeight()??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> </div> </div> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.weight')); ?> </p> </div> <div class="col-6 text-left">: <?php if($productQtyHistory->weight): ?> <?php echo e(number_format($productQtyHistory->weight??0 ,2)); ?> <?php else: ?> <?php echo e(number_format($productQtyHistory->product?->weight??0 ,2)); ?> <?php endif; ?> </div> </div> </div> <div class="col-xs-8 col-sm-6 col-md-6 col-xl-4"> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.note')); ?> </p> </div> <div class="col-6 text-left">: <?php echo e($productQtyHistory->note??''); ?> </div> </div> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.user')); ?> </p> </div> <div class="col-6 text-left">: <a href="<?php echo e(route('users.show' , $productQtyHistory->user_id)); ?>" class="text-dark" title="<?php echo e(__('message.show user')); ?>"> <?php echo e($productQtyHistory->user->name??''); ?> </a> </div> </div> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.original invoice')); ?> </p> </div> <div class="col-6 text-left">: <?php echo e($productQtyHistory->product?->original_invoice??''); ?> </div> </div> <!-- <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.action')); ?> </p> </div> <div class="col-6 text-left">: <?php $ago = \Carbon\Carbon::parse($productQtyHistory->created_at)->diffForHumans(); $currentDate = \Carbon\Carbon::now(); $created_at = \Carbon\Carbon::parse($productQtyHistory->created_at)->addDays(1); ?> <?php if($created_at->gt($currentDate)): ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('product-delete')): ?> <form method="POST" action="<?php echo e(route('grn-report.destroy' , $productQtyHistory->id)); ?>?q=<?php echo e($q); ?>" style="display:inline"> <input name="_method" type="hidden" value="DELETE"> <?php echo e(csrf_field()); ?> <button type="submit" class="btn btn-xs btn-danger" onclick="return confirm('<?php echo e(__('message.do you want to delete')); ?>?')"> <i class="fal fa-trash" style="color: #FFF;"></i> </button> </form> <br> <?php endif; ?> <?php else: ?> <span class="badge badge-pill badge-danger" style="font-size: 10px"> <?php echo e(Carbon\Carbon::parse($productQtyHistory->created_at)->diffForHumans()); ?> </span> <?php endif; ?> </div> </div> --> </div> </div> </div> </div> </div> <div class="tab-pane fade text-left" id="diamond_size<?php echo e($loop->index); ?>" role="tabpanel"> <?php echo $productQtyHistory->product->diamond_size??''; ?> </div> </div> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <!-- datatable end --> </div> </div> </div> <!-- Pagination bootstrap--> <?php if($productQtyHistories->hasPages()): ?> <div class="d-flex m-2 p-2" style="justify-content: space-between;align-items: start;width: 20%"> <select id="paginate" class="form-select text-center rounded mr-2 mt-1" aria-label="Default select example" style="width: 90px;font-size: 12px;border: 1px solid rebeccapurple"> <option selected hidden="hidden"><?php echo e($paginate); ?></option> <option value="25">25</option> <option value="50">50</option> <option value="100">100</option> <option value="250">250</option> <option value="500">500</option> <option value="1000">1000</option> </select> <div class=""> <?php echo e($productQtyHistories->appends($_GET)->links()); ?> </div> </div> <?php endif; ?> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $(document).ready(function() { $(".ranges > ul > li").click(function() { setTimeout(function() { $('#search-form').submit(); }, 100); }); $("#datepicker").on("change.dp" , function (){ $("#search-form").submit(); }); }); // date var runDatePicker = function() { // enable clear button $('#datepicker').datepicker({ todayBtn: "linked", clearBtn: true, todayHighlight: true, templates: controls }); } </script> <script> $('#btnBrow').click(function () { $('#browFile').click(); }); $(document).ready(function() { $("#js-nav-menu").removeClass('active'); $("#js-nav-menu li ul li").removeClass('active'); $("#menu_report_list").addClass('active open'); $("#collapse_report").addClass('collapse in'); $("#menu_expense_grn").addClass('active'); }) </script> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <title><?php echo e(__('message.grn report')); ?> - <?php echo e($settings_->shop_name); ?></title> <?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/grn-reports/grn-product-list.blade.php ENDPATH**/ ?>