| 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/3ef0e295db36d887fd31f56efecbc99a.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('build-stock-product-date.index' , $id)); ?>" 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: 90%;">
<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()->format('d-m-Y H:i')); ?></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 m-2">
<div class="col-sm-8 col-xl-8 text-left mt-4" style="font-size: 14px">
<?php echo e(__('message.date')); ?> : <b><?php echo e(\Carbon\Carbon::parse($date)->format('d-m-Y H:i')); ?></b>
</div>
<div class="col-sm-4 col-xl-4 text-right mt-4" style="font-size: 14px;">
</div>
</div>
<div class="row m-2">
<div class="col-sm-4 col-xl-4 text-right mt-4" style="font-size: 14px;">
</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.stock balance report')); ?></h1>
</div>
</div>
<div class="row ml-2 mt-2" style="width: 98%;display: flex;justify-content: center;align-items: center">
<table class="table table-bordered table-hover table-striped">
<thead class="bg-fusion-50 text-center">
<tr>
<th>#</th>
<th><?php echo e(__('message.original invoice')); ?></th>
<th class="text-center"><?php echo e(__('message.part number')); ?></th>
<th><?php echo e(__('message.product category')); ?></th>
<th><?php echo e(__('message.product name')); ?></th>
<th><?php echo e(__('message.qty')); ?></th>
<th><?php echo e(__('message.cost')); ?></th>
<th><?php echo e(__('message.original wages')); ?></th>
<th><?php echo e(__('message.total cost supplier')); ?></th>
<th><?php echo e(__('message.weight')); ?></th>
<th><?php echo e(__('message.gold weight')); ?></th>
<th><?php echo e(__('message.diamond size')); ?></th>
<th><?php echo e(__('message.sale wages')); ?></th>
<th><?php echo e(__('message.sales price')); ?></th>
<th><?php echo e(__('message.image')); ?></th>
<th><?php echo e(__('message.supplier')); ?></th>
<th><?php echo e(__('message.supplier rate')); ?></th>
<th><?php echo e(__('message.created date')); ?></th>
</tr>
</thead>
<tbody>
<?php
$total_cost_sum = 0;
$totalCostIn = 0;
?>
<?php $__currentLoopData = $build_stocks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $build_stock): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr <?php if(!$build_stock->is_active): ?> class="inactive" <?php endif; ?>>
<td><?php echo e($index + 1); ?></td>
<td><?php echo e($build_stock->original_invoice??''); ?></td>
<td class="text-center"><?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($build_stock->qty??0); ?>
</td>
<td class="credit">
<?php if($build_stock->productCategory->fixed_price == true || $build_stock->fixed_price == true): ?>
<?php echo e(number_format($build_stock->cost($build_stock->weight), 2)); ?> <?php echo e($currency_->currency_symbol); ?>
<?php else: ?>
<?php echo e(number_format($build_stock->cost($build_stock->weight) - $build_stock->original_wages, 2)); ?> <?php echo e($currency_->currency_symbol); ?>
<?php endif; ?>
</td>
<td class="credit">
<?php echo e(number_format($build_stock->original_wages??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?>
</td>
<td class="credit">
<?php echo e(number_format($build_stock->qty * $build_stock->cost($build_stock->weight), 2)); ?> <?php echo e($currency_->currency_symbol); ?>
</td>
<td class="credit">
<?php echo e(number_format($build_stock->weight ,2)); ?>
</td>
<td class="credit">
<?php echo e(number_format($build_stock->goldWeight() ,2)); ?>
</td>
<td>
<?php echo $build_stock->diamond_size; ?>
</td>
<td class="credit">
<?php echo e(number_format($build_stock->wages??0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?>
</td>
<?php if($build_stock->fixed_price): ?>
<td class="credit">
<?php echo e(number_format($build_stock->price,2)); ?> <?php echo e($currency_->currency_symbol); ?>
</td>
<?php else: ?>
<td class="credit">
<?php echo e(number_format($build_stock->sellingPrice(),2)); ?> <?php echo e($currency_->currency_symbol); ?>
</td>
<?php endif; ?>
<td>
<div class="col-xs-12 col-sm-10">
<div class="d-flex justify-content-centers">
<?php if($build_stock->image): ?>
<img src="<?php echo e(asset($build_stock->image)); ?>" style="width:55px;">
<?php endif; ?>
</div>
</div>
</td>
<td><?php echo e($build_stock->supplier->name??''); ?></td>
<td class="credit"><?php echo e(number_format($build_stock->supplier_rate??0 , 0)); ?></td>
<td><?php echo e($build_stock->created_at->format('d/m/Y H:i')); ?></td>
</tr>
<?php
if($build_stock->productCategory->fixed_price == true){
$totalCostIn += $build_stock->cost($build_stock->weight);
$total_cost_sum += (($build_stock->qty * $build_stock->cost($build_stock->weight))+$build_stock->original_wages);
}else{
$totalCostIn += ($build_stock->cost($build_stock->weight)-$build_stock->original_wages);
$total_cost_sum += ($build_stock->qty * $build_stock->cost($build_stock->weight));
}
?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if($productCategory): ?>
<tr style="font-weight:400;font-size:16px;background-color: #99b288;">
<th colspan="5" style="text-align: right;">
<?php echo e(__('message.total')); ?> :
</th>
<th colspan="" style="text-align: left;" class="credit">
<?php echo e(number_format($totalQty,0)); ?>
</th>
<th colspan="" style="text-align: left;" class="credit">
<?php echo e(number_format($totalCostIn,2)); ?> <?php echo e($currency_->currency_symbol??''); ?>
</th>
<th colspan="" style="text-align: left;" class="credit">
<?php echo e(number_format($totalOriginalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?>
</th>
<th class="credit"><?php echo e(number_format($totalCostIn+$totalOriginalWage , 2)); ?> <?php echo e($currency_->currency_symbol); ?></th>
<th colspan="" class="credit">
<?php echo e(number_format($totalWeight ,2)); ?>
</th>
<th colspan="" style="text-align: left;" class="credit">
<?php echo e(number_format($totalGoldWeight,2)); ?>
</th>
<th></th>
<th class="credit">
<?php echo e(number_format($totalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?>
</th>
<th colspan="" style="text-align: center;" class="credit">
<?php echo e(number_format($totalPrice,2)); ?> <?php echo e($currency_->currency_symbol??''); ?>
</th>
</tr>
<?php else: ?>
<tr style="font-weight:400;font-size:16px;background-color: #99b288;">
<th colspan="5" style="text-align: right;">
<?php echo e(__('message.total')); ?> :
</th>
<th colspan="" style="text-align: left;" class="credit">
<?php echo e(number_format($totalQty,0)); ?>
</th>
<th colspan="" style="text-align: left;" class="credit">
<?php echo e(number_format($totalCostIn,2)); ?> <?php echo e($currency_->currency_symbol??''); ?>
</th>
<th colspan="" style="text-align: left;" class="credit">
<?php echo e(number_format($totalOriginalWage,2)); ?> <?php echo e($currency_->currency_symbol??''); ?>
</th>
<th class="credit"><?php echo e(number_format($totalCostIn+$totalOriginalWage , 2)); ?> <?php echo e($currency_->currency_symbol); ?></th>
<th colspan="" class="credit">
<?php echo e(number_format($totalWeight ,2)); ?>
</th>
<th colspan="" style="text-align: left;" class="credit">
</th>
<th></th>
<th class="credit">
</th>
<th colspan="" style="text-align: center;" class="credit">
</th>
</tr>
<?php endif; ?>
</tbody>
</table>
<div class="d-flex flex-column w-100">
<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>
</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(function closePrintView(){
window.location.href = "<?php echo e(route('build-stock-product-date.index', $id)); ?>?date=<?php echo e($date); ?>";
}, 1000);
$(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')
$("#menu_building_stock").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/print.blade.php ENDPATH**/ ?>