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/daf2ba17a0a424a0d41cd3a01196d194.php


<?php $__env->startSection('content'); ?>
    <style>
        .hidden {
            display: none;
        }

        @media print {

            .colspan-5 {
                display: table-cell;
            }
        }
    </style>
    <div class="col-lg-12">
        <div class="card-body shadow-1">
            <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(Auth::user()->name); ?></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="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" style="font-size: 14px !important;">
                            <thead class="bg-fusion-50 text-center">
                            <tr class="">
                                <th>N0.</th>
                                <th class="text-center"><?php echo e(__('message.part number')); ?></th>
                                <th><?php echo e(__('message.product name')); ?></th>
                                <th><?php echo e(__('message.qty')); ?></th>
                                <th><?php echo e(__('message.cost of sale')); ?></th>
                                <th><?php echo e(__('message.selling cost')); ?></th>
                                <th><?php echo e(__('message.original wages')); ?></th>
                                <th><?php echo e(__('message.sale wages')); ?></th>
                                <th><?php echo e(__('message.selling rate')); ?></th>
                                <th><?php echo e(__('message.sales price')); ?></th>
                                <th><?php echo e(__('message.discount')); ?></th>
                                <th><?php echo e(__('message.net sale')); ?></th>
                                <th><?php echo e(__('message.weight')); ?></th>

                                <th><?php echo e(__('message.diamond size')); ?></th>

                                <th><?php echo e(__('message.image')); ?></th>
                                <th><?php echo e(__('message.product category')); ?></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 class="text-center">
                                    <td><?php echo e($index+1); ?></td>
                                    <td class="text-center"><?php echo e($sale->part_number); ?></td>
                                    <td>
                                        <?php echo e($sale->name??''); ?>

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

                                    </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_cost, 2)); ?> <?php echo e($currency_->currency_symbol); ?>

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

                                    </td>
                                    <td>
                                        <?php echo e(number_format($sale->wages , 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->sales_price+$sale->discount , 2)); ?> <?php echo e($currency_->currency_symbol); ?>

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

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

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

                                    </td>



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

                                    </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 endif; ?>
                                            </div>
                                        </div>
                                    </td>
                                    <td>
                                        <?php echo e($sale->productCategory->name ?? ''); ?>

                                    </td>

                                    <td>
                                        <a href="<?php echo e(route('users.show' , $sale->user_id)); ?>" class="text-dark" title="<?php echo e(__('message.show user')); ?>">
                                            <?php echo e($sale->user->name??''); ?>

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

                                    </td>
                                </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                    $help = Clone ($sales);
                                    $wages = $help->sum('wages');
                                    $cost = $help->sum('cost');
                                    $usd_amount = $help->sum('usd_amount');
                                    $khr_amount = $help->sum('khr_amount');
                                    $thb_amount = $help->sum('thb_amount');
                                    ?>













                            <tr class="border-bottom text-center" style="background-color: #efe9e9 !important;">
                                <td colspan="5"><?php echo e(__('message.total')); ?> : </td>
                                <td class="credit"><?php echo e($currency_->currency_symbol); ?> <?php echo e(number_format($total_sale_cost,2)); ?></td>
                                <td class="credit"><?php echo e($currency_->currency_symbol); ?> <?php echo e(number_format($total_sale_original_wage,2)); ?></td>
                                <td class="credit"><?php echo e($currency_->currency_symbol); ?> <?php echo e(number_format($total_sale_wage,2)); ?></td>
                                <td></td>
                                <td class="credit">
                                    <?php echo e($currency_->currency_symbol); ?> <?php echo e(number_format($total_sale_price+$total_sale_discount , 2)); ?>

                                </td>
                                <td class="credit"><?php echo e($currency_->currency_symbol); ?> <?php echo e(number_format($total_sale_discount, 2)); ?></td>
                                <td class="credit"><?php echo e($currency_->currency_symbol); ?> <?php echo e(number_format($total_sale_price,2)); ?></td>
                                <td class="credit" colspan="6"><?php echo e(__('message.total profit')); ?>   :   <?php echo e($currency_->currency_symbol); ?> <?php echo e(number_format($total_sale_profit , 2)); ?></td>
                            </tr>

                                    </tbody>
                            </table>
                    </div>
                </div>
            </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('sale-report.index2')); ?>" 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>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
    <?php echo $__env->make('app.datepicker-js-config', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <script>
        window.print();
        setTimeout("closePrintView()", 1000);
        function closePrintView(){
            window.location.href = "<?php echo e(route('sale-report.index2')); ?>?start_date=<?php echo e($start_date); ?>&end_date=<?php echo e($end_date); ?>&search=<?php echo e($search); ?>";
        }
    </script>
    <script>
        // date earchform  strt_date to EndDate

        $(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
            });
        }
        // end date
    </script>
    <script>
        $(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_sale_report").addClass('active')
        })
    </script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?>
    <title><?php echo e(__('message.sales')); ?> - <?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/sale-reports2/print2.blade.php ENDPATH**/ ?>

© KUJUNTI.ID