⚝
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
/
crm.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
fcfeaedd847e6807fb879f5b0cf095ae79a743e3.php
<div> <div class="row"> <div class="mt-0 mb-3 col-12 d-flex justify-content-end livewire-search"> <?php if(!empty($customer)): ?> <div class="mt-2 mr-2 m-r-0"> <?php echo e(Form::select('payment_status',$creditNoteStatus,$filterStatus,['id' => 'creditNoteStatus','class' => 'form-control','placeholder' => __('messages.placeholder.select_status')])); ?> </div> <?php endif; ?> <div class="p-2 m-t-10"> <input wire:model.debounce.100ms="search" type="search" class="form-control" placeholder="<?php echo e(__('messages.common.search')); ?>" id="search"> </div> </div> <div class="col-md-12"> <div wire:loading id="live-wire-screen-lock"> <div class="live-wire-infy-loader"> <?php echo $__env->make('loader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> </div> <?php if(empty($customer)): ?> <div class="col-md-12"> <div class="row justify-content-md-center text-center mb-4"> <div class="owl-carousel owl-theme"> <div class="item"> <div class="ticket-statistics mx-auto bg-danger"> <p><?php echo e($statusCount->open); ?></p> </div> <h5 class="my-0 mt-1"><?php echo e(__('messages.credit_note.open')); ?></h5> </div> <div class="item"> <div class="ticket-statistics mx-auto bg-warning"> <p><?php echo e($statusCount->drafted); ?></p> </div> <h5 class="my-0 mt-1"><?php echo e(__('messages.credit_note.drafted')); ?></h5> </div> <div class="item"> <div class="ticket-statistics mx-auto bg-primary"> <p><?php echo e($statusCount->void); ?></p> </div> <h5 class="my-0 mt-1"><?php echo e(__('messages.credit_note.void')); ?></h5> </div> <div class="item"> <div class="ticket-statistics mx-auto bg-success"> <p><?php echo e($statusCount->closed); ?></p> </div> <h5 class="my-0 mt-1"><?php echo e(__('messages.credit_note.closed')); ?></h5> </div> </div> </div> </div> <?php endif; ?> <?php $__empty_1 = true; $__currentLoopData = $creditNotes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $creditNote): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <div class="col-12 col-md-6 col-xl-3 col-xlg-4"> <div class="credit-note-card card card-<?php echo e(\App\Models\CreditNote::STATUS_COLOR[$creditNote->payment_status]); ?> shadow mb-5 rounded hover-card card-height height-210"> <div class="card-header d-flex justify-content-between align-items-center itemCon p-3 invoice-card-height"> <div class="d-flex"> <a href="<?php echo e(route('credit-notes.show', $creditNote->id)); ?>" class="d-flex flex-wrap text-decoration-none credit-note-text"> <h4 class="text-primary invoice-clients invoice_title pl-2"> <?php echo e(Str::limit(html_entity_decode($creditNote->title), 5, '...')); ?> </h4> (<small class="text-primary"><?php echo e($creditNote->credit_note_number); ?></small>) </a> </div> <div class="credit-note-action d-none"> <?php if($creditNote->payment_status !== \App\Models\CreditNote::PAYMENT_STATUS_CLOSED): ?> <a title="<?php echo e(__('messages.common.edit')); ?>" href="<?php echo e(route('credit-notes.edit',$creditNote->id)); ?>"><i class="fa fa-edit text-warning"></i></a> <?php endif; ?> <a title="<?php echo e(__('messages.common.delete')); ?>" class="text-danger action-btn delete-btn tickets-delete" data-id="<?php echo e($creditNote->id); ?>" href="#"> <i class="fa fa-trash"></i> </a> </div> </div> <div class="card-body d-flex justify-content-between pt-1 px-3"> <div class="d-table w-100"> <div> <i class="fas fa-street-view"></i><span class="text-decoration-none"> <?php echo e(!empty($creditNote->customer) ? html_entity_decode(Str::limit($creditNote->customer->company_name,15)) : ''); ?></span> </div> <span class="d-table-row w-100"> <big class="d-table-cell w-100 d-mobile-block"> <i class="<?php echo e(getCurrencyClassFromIndex($creditNote->currency)); ?>"></i> <?php echo e(number_format( $creditNote->total_amount, 2)); ?> </big> <span class="mt-mobile-2 badge badge-<?php echo e(\App\Models\CreditNote::STATUS_COLOR[$creditNote->payment_status]); ?> text-uppercase"> <?php echo e(App\Models\CreditNote::PAYMENT_STATUS[$creditNote->payment_status]); ?> </span> </span> <span class="d-table-row text-nowrap w-100"> <?php echo e(Carbon\Carbon::parse($creditNote->credit_note_date)->translatedFormat('jS M, Y')); ?> </span> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <div class="mt-0 mb-5 col-12 d-flex justify-content-center mb-5 rounded"> <div class="p-2"> <?php if(empty($search)): ?> <p class="text-dark"><?php echo e(__('messages.credit_note.no_credit_note_available')); ?></p> <?php else: ?> <p class="text-dark"><?php echo e(__('messages.credit_note.no_credit_note_found')); ?></p> <?php endif; ?> </div> </div> <?php endif; ?> <?php if($creditNotes->count()): ?> <div class="mt-0 mb-5 col-12"> <div class="row paginatorRow"> <div class="col-lg-2 col-md-6 col-sm-12 pt-2"> <span class="d-inline-flex"> <?php echo e(__('messages.common.showing')); ?> <span class="font-weight-bold ml-1 mr-1"><?php echo e($creditNotes->firstItem()); ?></span> - <span class="font-weight-bold ml-1 mr-1"><?php echo e($creditNotes->lastItem()); ?></span> <?php echo e(__('messages.common.of')); ?> <span class="font-weight-bold ml-1"><?php echo e($creditNotes->total()); ?></span> </span> </div> <div class="col-lg-10 col-md-6 col-sm-12 d-flex justify-content-end"> <?php echo e($creditNotes->links()); ?> </div> </div> </div> <?php endif; ?> </div> </div> <?php /**PATH /home/id/crm.dev-unit.com/resources/views/livewire/credit-notes.blade.php ENDPATH**/ ?>