⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
9c99c50542f3096eb072db7b2c3f0a81.php
<?php $__env->startSection('page-title'); ?> <?php echo e(__('Manage POS Order')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-breadcrumb'); ?> <?php echo e(__('POS Order')); ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('css'); ?> <link rel="stylesheet" href="<?php echo e(asset('css/datatable/buttons.dataTables.min.css')); ?>"> <?php $__env->stopPush(); ?> <?php $__env->startPush('scripts'); ?> <script src="<?php echo e(asset('js/letter.avatar.js')); ?>"></script> <script type="text/javascript" src="<?php echo e(asset('js/html2pdf.bundle.min.js')); ?>"></script> <script> var filename = $('#filename').val(); function saveAsPDF() { var element = document.getElementById('printableArea'); var opt = { margin: 0.3, filename: filename, image: {type: 'jpeg', quality: 1}, html2canvas: {scale: 4, dpi: 72, letterRendering: true}, jsPDF: {unit: 'in', format: 'A2'} }; html2pdf().set(opt).from(element).save(); } </script> <?php $__env->stopPush(); ?> <?php $__env->startSection('page-action'); ?> <div class="d-flex"> <?php echo $__env->yieldPushContent('addButtonHook'); ?> <a href="<?php echo e(route('pos.report')); ?>" class="btn btn-sm btn-primary btn-icon" data-bs-toggle="tooltip" title="<?php echo e(__('List View')); ?>"> <i class="ti ti-list text-white"></i> </a> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!-- <div class="row"> <?php if(count($posPayments) > 0): ?> <?php $__currentLoopData = $posPayments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $posPayment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(count($posPayment->items) > 0): ?> <div class="col-md-3"> <div class="card"> <div class="card-header border-0 pb-0"> <div class="row align-items-center"> <div class="col-10"> <?php if (app('laratrust')->hasPermission('pos show')) : ?> <a class="badge p-2 px-3 bg-primary" href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>"> <?php echo e(\workdo\Pos\Entities\Pos::posNumberFormat($posPayment->id)); ?> </a> <?php else: ?> <a class="badge p-2 px-3 bg-primary" href="#"> <?php echo e(\workdo\Pos\Entities\Pos::posNumberFormat($posPayment->id)); ?> </a> <?php endif; // app('laratrust')->permission ?> </div> <div class="col-2"> <div class="card-header-right"> <div class="btn-group card-option"> <button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="feather icon-more-vertical"></i> </button> <div class="dropdown-menu dropdown-menu-end"> <?php if(Laratrust::hasPermission('pos show')): ?> <?php if (app('laratrust')->hasPermission('pos show')) : ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?> " class="dropdown-item" data-size="md" data-bs-whatever="<?php echo e(__('Contract Details')); ?>" data-bs-toggle="tooltip"><i class="ti ti-eye"></i> <span class="ms-1"><?php echo e(__('Details')); ?></span> </a> <?php endif; // app('laratrust')->permission ?> <?php endif; ?> </div> </div> </div> </div> </div> </div> <div class="card-body"> <div class="row g-2 justify-content-between"> <div class="col-12"> <div class="text-center client-box"> <div class="avatar-parent-child"> <img width="120" height="120" alt="user-image" class=" rounded border-2 border border-primary" <?php if(!empty($posPayment->avatar)): ?> src="<?php echo e((!empty($posPayment->avatar))? get_file("profile/".$posPayment->avatar): asset(url("./assets/img/clients/160x160/img-1.png"))); ?>" <?php else: ?> <?php if($posPayment->customer_id == 0): ?>avatar="<?php echo e(__('Walk-in Customer')); ?>" <?php else: ?> avatar="<?php if(module_is_active('Account')): ?> <?php echo e(!empty($posPayment->customer) ? $posPayment->customer->name : ''); ?> <?php else: ?> '' <?php endif; ?> " <?php endif; ?> <?php endif; ?>> </div> <h5 class="h6 mt-2 mb-1 text-primary"> <?php if($posPayment->customer_id == 0): ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>" data-title="<?php echo e(__('Purchase Details')); ?>" class="action-item text-primary mt-2"> <?php echo e(ucfirst('Walk-in Customer')); ?> </a> <?php else: ?> <?php if(module_is_active('Account')): ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>" data-title="<?php echo e(__('Purchase Details')); ?>" class="action-item text-primary mt-2"> <?php echo e(ucfirst(!empty($posPayment->customer) ? $posPayment->customer->name : '')); ?> </a> <?php else: ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>" data-title="<?php echo e(__('Purchase Details')); ?>" class="action-item text-primary mt-2"> <?php echo e(ucfirst('-')); ?> </a> <?php endif; ?> <?php endif; ?> </h5> </div> </div> </div> </div> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <div class="row product-row justify-content-center"> <div class="text-center"> <i class="fas fa-folder-open text-gray" style="font-size: 48px;"></i> <h2><?php echo e(__('Opps...')); ?></h2> <h6> <?php echo __('No data Found.'); ?> </h6> </div> </div> <?php endif; ?> </div> --> <div class="row row-gap-2 mb-4"> <?php if(count($posPayments) > 0): ?> <?php $__currentLoopData = $posPayments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $posPayment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-xxl-3 col-xl-4 col-md-6"> <div class="card user-card"> <div class="card-header border border-bottom p-3 h-100"> <div class="user-img-wrp d-flex align-items-center"> <div class="user-image rounded border-2 border border-primary"> <img <?php if(!empty($posPayment->avatar)): ?> src="<?php echo e((!empty($posPayment->avatar))? get_file("profile/".$posPayment->avatar): asset(url("./assets/img/clients/160x160/img-1.png"))); ?>" <?php else: ?> <?php if($posPayment->customer_id == 0): ?> avatar="<?php echo e(__('Walk-in Customer')); ?>" <?php else: ?> avatar="<?php if(module_is_active('Account')): ?> <?php echo e(!empty($posPayment->customer) ? $posPayment->customer->name : $posPayment->user->name); ?> <?php else: ?> '' <?php endif; ?> " <?php endif; ?> <?php endif; ?> alt="user-image" class="h-100 w-100"> </div> <div class="user-content"> <?php if($posPayment->customer_id == 0): ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>" data-title="<?php echo e(__('Purchase Details')); ?>" class="action-item text-primary mt-2"> <h4 class="mb-2"><?php echo e(ucfirst('Walk-in Customer')); ?></h4> </a> <?php else: ?> <?php if(module_is_active('Account')): ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>" data-title="<?php echo e(__('Purchase Details')); ?>" class="action-item text-primary mt-2"> <h4 class="mb-2"><?php echo e(ucfirst(!empty($posPayment->customer) ? $posPayment->customer->name :$posPayment->user->name)); ?></h4> </a> <?php else: ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>" data-title="<?php echo e(__('Purchase Details')); ?>" class="action-item text-primary mt-2"> <h4 class="mb-2"><?php echo e(ucfirst(!empty($posPayment->user) ? $posPayment->user->name : '-')); ?></h4> </a> <?php endif; ?> <?php endif; ?> <span class="text-dark text-md"><?php echo e(!empty($posPayment->warehouse_id) ? $posPayment->warehouse->name : '-'); ?></span> </div> </div> </div> <div class="card-body text-center p-3"> <div class="bottom-icons d-flex flex-wrap align-items-center justify-content-between"> <div class="edit-btn-wrp d-flex flex-wrap align-items-center"> <?php if (app('laratrust')->hasPermission('pos show')) : ?> <a href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>" data-bs-whatever="<?php echo e(__('Common case Details')); ?>" data-title="<?php echo e(__('View')); ?>" data-bs-original-title="<?php echo e(__('View')); ?>" data-bs-toggle="tooltip" data-bs-placement="top" class="btn btn-sm border"> <svg width="16" height="16" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7.9997 10.8869C6.40637 10.8869 5.11304 9.59353 5.11304 8.00019C5.11304 6.40686 6.40637 5.11353 7.9997 5.11353C9.59304 5.11353 10.8864 6.40686 10.8864 8.00019C10.8864 9.59353 9.59304 10.8869 7.9997 10.8869ZM7.9997 6.11353C6.9597 6.11353 6.11304 6.96019 6.11304 8.00019C6.11304 9.04019 6.9597 9.88686 7.9997 9.88686C9.0397 9.88686 9.88637 9.04019 9.88637 8.00019C9.88637 6.96019 9.0397 6.11353 7.9997 6.11353Z" fill="#060606" /> <path d="M7.99967 14.0134C5.493 14.0134 3.12633 12.5467 1.49967 10C0.792999 8.90003 0.792999 7.10669 1.49967 6.00003C3.133 3.45336 5.49967 1.98669 7.99967 1.98669C10.4997 1.98669 12.8663 3.45336 14.493 6.00003C15.1997 7.10003 15.1997 8.89336 14.493 10C12.8663 12.5467 10.4997 14.0134 7.99967 14.0134ZM7.99967 2.98669C5.84633 2.98669 3.78633 4.28003 2.34633 6.54003C1.84633 7.32003 1.84633 8.68003 2.34633 9.46003C3.78633 11.72 5.84633 13.0134 7.99967 13.0134C10.153 13.0134 12.213 11.72 13.653 9.46003C14.153 8.68003 14.153 7.32003 13.653 6.54003C12.213 4.28003 10.153 2.98669 7.99967 2.98669Z" fill="#060606" /> </svg> </a> <?php endif; // app('laratrust')->permission ?> </div> <?php if (app('laratrust')->hasPermission('pos show')) : ?> <a class="badge p-2 px-3 bg-primary" href="<?php echo e(route('pos.show',\Crypt::encrypt($posPayment->id))); ?>"> <?php echo e(\workdo\Pos\Entities\Pos::posNumberFormat($posPayment->pos_id)); ?> </a> <?php endif; // app('laratrust')->permission ?> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php echo $posPayments->links('vendor.pagination.global-pagination'); ?> <?php else: ?> <div class="row product-row justify-content-center"> <div class="text-center"> <i class="fas fa-folder-open text-gray" style="font-size: 48px;"></i> <h2><?php echo e(__('Opps...')); ?></h2> <h6> <?php echo __('No data Found.'); ?> </h6> </div> </div> <?php endif; ?> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Pos/src/Providers/../Resources/views/pos/grid.blade.php ENDPATH**/ ?>