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/46a54702891122dfea18fb68c5241fd4.php |
<?php $__env->startSection('content'); ?> <div class="col-lg-12"> <div class="card-body shadow-1"> <div class="row mb-2 mt-2"> <div class="col-sm-10 col-xl-10"> <div class="row" style="display: flex;justify-content: space-between;align-items: center"> <div class="col-xs-8 col-md-8 col-sm-8 col-xl-8 d-flex ml-0"> <form action="<?php echo e(route('build-stock-product-date.index' , $id)); ?>" style="width: 100%;display: flex;justify-content: space-between;align-items: center"> <div class="input-group" style="width: 70%;"> <input type="text" class="form-control rounded-0" placeholder="<?php echo e(__('message.search')); ?> ..." value="<?php echo e($search); ?>" name="search" id="search"> <div class="input-group-append"> <button type="submit" id="searches" class="input-group-text fs-xl "> <i class="fal fa-search text-success"></i> </button> </div> </div> <div class="ml-2" style="width: 40%;"> <!-- <select class="select2 form-control w-100" id="product_category_id" name="product_category_id" onchange="submit()"> <option value="0"><?php echo e(__('message.selected all')); ?></option> <?php $__currentLoopData = $main_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $main): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($main->id); ?>" style="font-weight: bold;font-size: 14px" <?php if($main->id == $product_category_id): ?> selected <?php endif; ?>><?php echo e($main->name); ?> <?php if($main->name == 'មាស'): ?> <?php echo e(__('message.main')); ?> <?php endif; ?></option> <?php if($main->name == 'មាស'): ?> <option value="-5" <?php if($product_category_id == -5): ?> selected <?php endif; ?>> <?php echo e($main->name); ?></option> <?php endif; ?> <?php $__currentLoopData = $main->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($child->id); ?>" <?php if($child->id == $product_category_id): ?> selected <?php endif; ?>> <?php echo e($child->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <option value="-100" <?php if($product_category_id == -100): ?> selected <?php endif; ?> style="font-weight: bold;font-size: 14px"><?php echo e(__('message.not for sale')); ?></option> </select> --> </div> <!-- <?php if($product_category_id && $product_category_id != -100): ?> <?php if($productCategory->name == $platinume_Category->name || $productCategory->parent?->name == $platinume_Category->name): ?> <div class="ml-2" style="width: 60%;"> <select class="form-control" name="check_fixed_price" onchange="this.form.submit();"> <option value="-1"><?php echo e(__('message.selected all')); ?></option> <option value="1" <?php if($check_fixed_price==1): ?> selected <?php endif; ?>><?php echo e(__('message.fixed price')); ?></option> <option value="2" <?php if($check_fixed_price==2): ?> selected <?php endif; ?>><?php echo e(__('message.not fixed price')); ?></option> </select> </div> <?php endif; ?> <?php endif; ?> --> </form> </div> <div class="col-xs-2 col-md-2 col-sm-2 col-xl-2 d-flex ml-0"> <a href="<?php echo e(route('build-stock-product-date.print' , $id)); ?>?paginate=<?php echo e($paginate); ?>&search=<?php echo e($search); ?>&product_category_id=<?php echo e($product_category_id); ?>&check_fixed_price=<?php echo e($check_fixed_price); ?>&date=<?php echo e($date); ?>" class="btn btn-sm btn-info"> <i class="fal fa-print"></i> <?php echo e(__('message.print')); ?> </a> </div> <div class="col-xs-2 col-md-2 col-sm-2 col-xl-2 d-flex ml-0"> <a href="<?php echo e(route('build-stock-product-date.print-summary' , $id)); ?>?paginate=<?php echo e($paginate); ?>&search=<?php echo e($search); ?>&product_category_id=<?php echo e($product_category_id); ?>&check_fixed_price=<?php echo e($check_fixed_price); ?>&date=<?php echo e($date); ?>" class="btn btn-sm btn-info"> <i class="fal fa-print"></i> <?php echo e(__('message.print summary')); ?> </a> </div> </div> </div> <div class="col-sm-2 col-xl-2 text-right pr-4"> <a href="<?php echo e(route('build-stock-date.show')); ?>" class="btn btn-sm btn-primary"> <i class="fal fa-arrow-left"></i> <?php echo e(__('message.back')); ?> </a> </div> </div> <div class="row mr-1"> <div class="col-xs-12 col-sm-12 col-md-12 col-xl-12"> <div class="panel-container show table-responsive"> <table id="example" class="table table-striped w-100"> <thead class="bg-fusion-50 text-center"> <tr> <th>#</th> <th class="text-center"><?php echo e(__('message.part number')); ?></th> <th class="text-center"><?php echo e(__('message.product category')); ?></th> <th><?php echo e(__('message.name')); ?></th> <th><?php echo e(__('message.price')); ?></th> <th><?php echo e(__('message.qty')); ?></th> <th><?php echo e(__('message.weight')); ?></th> <th><?php echo e(__('message.gold weight')); ?></th> </tr> </thead> <tbody class="text-center" id="accordionExample"> <?php $__currentLoopData = $build_stocks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $build_stock): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="<?php echo e(!$build_stock->is_active||$build_stock->qty==0 ? 'inactive':''); ?> bg-white <?php echo e(+$loop->index%2!=$build_stock->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($build_stock->part_number); ?> </td> <td> <?php echo e($build_stock->productCategory->name??''); ?> </td> <td> <?php echo e($build_stock->name??''); ?> </td> <td class="credit"> <?php echo e(number_format($build_stock->sellingPrice()??0 ,2)); ?> <?php echo e($currency_->currency_symbol); ?> </td> <td class="credit"> <?php echo e($build_stock->qty??0); ?> </td> <td class="credit"> <?php echo e(number_format($build_stock->weight??0 , 2)); ?> </td> <td class="credit"> <?php echo e(number_format($build_stock->goldWeight()??0 ,2)); ?> </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> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#supplier<?php echo e($loop->index); ?>" role="tab"><?php echo e(__('message.supplier')); ?></a> </li> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#attribute<?php echo e($loop->index); ?>" role="tab"><?php echo e(__('message.attribute')); ?></a></li> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#descriptions<?php echo e($loop->index); ?>" role="tab"><?php echo e(__('message.description')); ?></a></li> </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($build_stock->image): ?> <img class="rounded" id="myImg<?php echo e($index); ?>" src="<?php echo e(asset($build_stock->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-4"> <?php if($build_stock->productCategory->fixed_price): ?> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.gia number')); ?> </p> </div> <div class="col-6 text-left">:<?php echo e($build_stock->gia_number); ?></div> </div> <?php endif; ?> <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 echo e(number_format($build_stock->cost, 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.selling cost')); ?> </p> </div> <div class="col-6 text-left">:<?php echo e(number_format($build_stock->sellingCost(), 2)); ?> <?php echo e($currency_->currency_symbol??''); ?></div> </div> <?php if($build_stock->wages): ?> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.wages')); ?> </p> </div> <div class="col-6 text-left credit">: <?php echo e(number_format($build_stock->wages??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?> </div> </div> <?php endif; ?> <?php if($build_stock->wages_in_weight): ?> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.wages')); ?>(គិតជាលី) </p> </div> <div class="col-6 text-left credit">: <?php echo e(number_format($build_stock->wages_in_weight??0 , 2)); ?> </div> </div> <?php endif; ?> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.wages')); ?> </p> </div> <div class="col-6 text-left credit">: <?php echo e(number_format($build_stock->wages??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')); ?> </p> </div> <div class="col-6 text-left credit">: <?php echo e(number_format($build_stock->original_wages??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 echo e(number_format($build_stock->weight , 2)); ?> <?php if($build_stock->weight_description): ?> (<?php echo e($build_stock->weight_description); ?>) <?php endif; ?> </div> </div> <?php if($build_stock->purity_upgrade_to): ?> <div class="row mb-2"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.purity upgrade to')); ?> </p> </div> <div class="col-6 text-left">: <?php echo e($build_stock->purity_upgrade_to??''); ?></div> </div> <?php endif; ?> <?php if($build_stock->selling_purity): ?> <div class="row mb-2"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.selling purity')); ?> </p> </div> <div class="col-6 text-left">: <?php echo e($build_stock->selling_purity??''); ?></div> </div> <?php endif; ?> </div> <div class="col-3"> <?php if($build_stock->original_invoice): ?> <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($build_stock->original_invoice??''); ?></div> </div> <?php endif; ?> <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' , $build_stock->user_id)); ?>" class="text-dark" title="<?php echo e(__('message.show user')); ?>"> <?php echo e($build_stock->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.is_active')); ?> </p> </div> <div class="col-6 text-left">: <?php if($build_stock->is_active): ?> <label class="badge badge-info" style="background-color:#196eec"> <?php echo e(__('message.is_active')); ?> </label> <?php else: ?> <label class="badge badge-danger" style="background-color: red"> <?php echo e(__('message.no active')); ?> </label> <?php endif; ?> </div> </div> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.created at')); ?> </p> </div> <div class="col-6 text-left">: <?php echo e(date('d-m-y H:i' , strtotime($build_stock->created_at))); ?> </div> </div> <?php if($build_stock->diamond_size): ?> <div class="row mb-3"> <div class="col-6"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.diamond size')); ?> </p> </div> <div class="col-6 text-left">:<?php echo $build_stock->diamond_size??0; ?></div> </div> <?php endif; ?> </div> </div> </div> </div> </div> <div class="tab-pane fade text-left" id="supplier<?php echo e($loop->index); ?>" role="tabpanel"> <div class="row mb-3"> <div class="col-1"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.supplier')); ?> </p> </div> <div class="col-6 text-left">:<?php echo e($build_stock->supplier->name??''); ?></div> </div> <div class="row mb-3"> <div class="col-1"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.supplier rate')); ?> </p> </div> <div class="col-6 text-left">:<?php echo e(number_format($build_stock->supplier_rate??0 , 2)); ?></div> </div> <div class="row mb-3"> <div class="col-1"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.phone')); ?> </p> </div> <div class="col-6 text-left">:<?php echo e($build_stock->supplier->phone??''); ?></div> </div> <div class="row mb-3"> <div class="col-1"> <p class="fw-bolder credit text-left"> <?php echo e(__('message.note')); ?> </p> </div> <div class="col-6 text-left">:<?php echo e($build_stock->supplier->note??''); ?></div> </div> </div> <div class="tab-pane fade text-left" id="attribute<?php echo e($loop->index); ?>" role="tabpanel"> <?php if($build_stock->buildStockProductAttributes->count() > 0): ?> <div class="panel-container show table-responsive"> <h3><?php echo e(__('message.product attribute')); ?></h3> <table id="" class="table table-striped w-100"> <thead class="bg-fusion-50 text-center" style="background-color: lightslategray !important;"> <tr> <th>#</th> <th><?php echo e(__('message.name')); ?></th> <th><?php echo e(__('message.price')); ?></th> <th><?php echo e(__('message.qty')); ?></th> <th><?php echo e(__('message.cost')); ?></th> <th><?php echo e(__('message.action')); ?></th> </tr> </thead> <tbody class="text-center" id=""> <?php $__currentLoopData = $build_stock->buildStockProductAttributes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i => $productAttribute): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="<?php echo e($productAttribute->qty==0 ? 'inactive':''); ?> bg-white <?php echo e(++$loop->index%2!=$productAttribute->count()?'border-top':''); ?>"> <td class="align-middle"><?php echo e($i + 1); ?></td> <td class=""> <?php echo e($productAttribute->name); ?> </td> <td class="credit"> <?php echo e(number_format($productAttribute->price , 2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td> <?php echo e($productAttribute->qty); ?></td> <td class="credit"> <?php echo e(number_format($productAttribute->cost ,2)); ?> <?php echo e($currency_->currency_symbol); ?></td> <td> <form method="POST" action="<?php echo e(route('productAttribute.destroy' , $productAttribute->id)); ?>" 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> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php else: ?> <div class="text-center"> <h3><?php echo e(__('message.product attribute is empty')); ?></h3> </div> <?php endif; ?> </div> <div class="tab-pane fade" id="descriptions<?php echo e($loop->index); ?>" role="tabpanel"> <?php if($build_stock->description): ?> <div class="text-left"> <?php echo $build_stock->description; ?> </div> <?php else: ?> <div class="text-center"> <h3><?php echo e(__('message.description is empty')); ?></h3> </div> <?php endif; ?> </div> </div> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php if($productCategory): ?> <tr style="font-weight:400;font-size:16px;background-color: #99b288;"> <th colspan="4" style="text-align: right;"> <?php echo e(__('message.total sale price')); ?> : </th> <th colspan="" style="text-align: center;" class="credit"> <?php echo e(number_format($totalPrice,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th colspan="" style="text-align: center;" class="credit"> <?php echo e(number_format($totalQty,0)); ?> </th> <th class="credit"><?php echo e(number_format($totalWeight , 2)); ?></th> <th colspan="" style="text-align: center;" class="credit"> <?php echo e(number_format($totalGoldWeight,2)); ?> </th> </tr> <tr style="font-weight:400;font-size:16px;background-color: #99b288;"> <th colspan="4" style="text-align: right;"> <?php echo e(__('message.total wages sale')); ?> : </th> <th style="text-align: left;" class="credit text-center"> <?php echo e(number_format($totalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th colspan="4"></th> </tr> <tr style="font-weight:400;font-size:16px;background-color: #99b288;margin-top:2px solid #ccc;"> <th colspan="4" style="text-align: right;"> <?php echo e(__('message.total cost')); ?> : </th> <th style="text-align: left;" class="credit text-center"> <?php echo e(number_format($totalCost,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th colspan="4"></th> </tr> <tr style="font-weight:400;font-size:16px;background-color: #99b288;"> <th colspan="4" style="text-align: right;"> <?php echo e(__('message.total original wages')); ?> : </th> <th style="text-align: left;" class="credit text-center"> <?php echo e(number_format($totalOriginalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?> </th> <th colspan="4"></th> </tr> <?php endif; ?> </tbody> </table> <?php if($build_stocks->hasPages()): ?> <div class="d-flex m-2 p-2" style="justify-content: space-between;align-items: start;width: 20%"> <form action="<?php echo e(route('build-stock-product-date.index' , $id)); ?>" method="GET"> <select onchange="submit()" id="paginate" name="paginate" class="form-select text-center rounded mr-2 mt-1" aria-label="Default select example" style="width: 90px;font-size: 14px;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> </form> <div class=""> <?php echo e($build_stocks->appends($_GET)->links()); ?> </div> </div> <?php endif; ?> </div> </div> </div> </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(); }); $("#datepicker-3").on("change.dp" , function (){ $("#search-form").submit(); }); $('#datepicker-3').datepicker({ dateFormat: 'd-m-yyyy' }); }); // date var runDatePicker = function() { // enable clear button $('#datepicker').datepicker({ todayBtn: "linked", clearBtn: true, todayHighlight: true, templates: controls }); } // end date </script> <script> $(document).ready(function() { $("#js-nav-menu").removeClass('active'); $("#js-nav-menu li ul li").removeClass('active'); $("#menu_stock_list").addClass('active open'); $("#collapse_stock").addClass('collapse in') $("#build_stock_date").addClass('active') }) </script> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <title><?php echo e(__('message.building stock')); ?> - <?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/build-stock-dates/list.blade.php ENDPATH**/ ?>