[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: b88a53bc6ef91d15a057f39449cf11bc.php
<?php if($invoice->is_recurring == 0): ?> <div class="card"> <div class="card-header d-flex align-items-center justify-content-between"> <span class="panel-title"><?php echo e(_lang('Invoice')); ?> #<?php echo e($invoice->invoice_number); ?> </span> <div> <div class="dropdown"> <button class="btn btn-outline-primary btn-xs dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> <i class="fas fa-cog mr-1"></i><?php echo e(_lang('Actions')); ?> </button> <div class="dropdown-menu"> <?php if($invoice->status != 0 && $invoice->status != 99): ?> <a href="<?php echo e(route('invoices.add_payment', $invoice->id)); ?>" class="dropdown-item ajax-modal" data-title="<?php echo e(_lang('Add Invoice Payment')); ?>"><i class="far fa-credit-card mr-2"></i><?php echo e(_lang('Add Payment')); ?></a> <?php endif; ?> <a href="<?php echo e(route('invoices.send_email', $invoice->id)); ?>" class="dropdown-item ajax-modal" data-title="<?php echo e(_lang('Send Email')); ?>"><i class="far fa-paper-plane mr-2"></i><?php echo e(_lang('Send Email')); ?></a> <?php if($invoice->status != 99): ?> <a href="<?php echo e(route('invoices.duplicate', $invoice->id)); ?>" class="dropdown-item"><i class="far fa-copy mr-2"></i><?php echo e(_lang('Duplicate')); ?></a> <a href="<?php echo e(route('recurring_invoices.convert_recurring', $invoice->id)); ?>" class="dropdown-item"><i class="fas fa-recycle mr-2"></i><?php echo e(_lang('Convert to Recurring')); ?></a> <?php endif; ?> <div class="dropdown-divider"></div> <a href="#" class="dropdown-item print" data-print="invoice"><i class="fas fa-print mr-2"></i><?php echo e(_lang('Print Invoice')); ?></a> <a href="<?php echo e(route('invoices.export_pdf', $invoice->id)); ?>" class="dropdown-item"><i class="far fa-file-pdf mr-2"></i><?php echo e(_lang('Export PDF')); ?></a> <a href="<?php echo e(route('invoices.get_invoice_link', $invoice->id)); ?>" data-title="<?php echo e(_lang('Get share link')); ?>" class="dropdown-item ajax-modal"><i class="fas fa-share-alt mr-2"></i><?php echo e(_lang('Share Invoice')); ?></a> <div class="dropdown-divider"></div> <?php if($invoice->status != 2 || $invoice->status != 99): ?> <a href="<?php echo e(route('invoices.edit', $invoice->id)); ?>" class="dropdown-item"><i class="far fa-edit mr-2"></i><?php echo e(_lang('Edit')); ?></a> <?php endif; ?> <?php if($invoice->status != 99): ?> <a href="<?php echo e(route('invoices.mark_as_cancelled', $invoice->id)); ?>" data-message="<?php echo e(_lang('If you cancel this invoice then product stock will be revert and all associated payment will be removed')); ?>" class="dropdown-item process-alert"><i class="fas fa-ban mr-2"></i><?php echo e(_lang('Mark as Cancelled')); ?></a> <?php endif; ?> <form action="<?php echo e(route('invoices.destroy', $invoice['id'])); ?>" method="post"> <?php echo csrf_field(); ?> <input name="_method" type="hidden" value="DELETE"> <button class="dropdown-item btn-remove" type="submit"><i class="far fa-trash-alt mr-2"></i><?php echo e(_lang('Delete')); ?></button> </form> </div> </div> </div> </div> <div class="card-body"> <div class="d-md-flex justify-content-between border border-secondary rounded p-3 mb-3"> <div> <span><?php echo e(_lang('Status')); ?>:</span> <span><?php echo xss_clean(invoice_status($invoice)); ?></span> </div> <div> <span><?php echo e(_lang('Customer')); ?>:</span> <span><?php echo e($invoice->customer->name); ?></span> </div> <div> <span><?php echo e(_lang('Grand Total')); ?>:</span> <span><?php echo e(formatAmount($invoice->grand_total, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></span> </div> <div> <span><?php echo e(_lang('Amount Due')); ?>:</span> <span><?php echo e(formatAmount($invoice->grand_total - $invoice->paid, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></span> </div> </div> <div class="d-md-flex justify-content-between align-items-center border border-secondary rounded p-3"> <div> <span><?php echo e(_lang('Email Status')); ?>:</span> <span><?php echo $invoice->email_send == 1 ? xss_clean(show_status(_lang('Sent'), 'success')) : xss_clean(show_status(_lang('Not Sent'), 'danger')); ?></span> </div> <div> <?php if($invoice->email_send == 1): ?> <span><?php echo e(_lang('Sent At')); ?>:</span> <span><?php echo e($invoice->email_send_at); ?></span> <?php else: ?> <a href="<?php echo e(route('invoices.send_email', $invoice->id)); ?>" class="btn btn-primary btn-xs ajax-modal" data-title="<?php echo e(_lang('Send Email')); ?>"><i class="far fa-paper-plane mr-2"></i><?php echo e(_lang('Send Email')); ?></a> <?php endif; ?> </div> </div> <?php if($invoice->status == 0): ?> <div class="alert alert-warning d-flex align-items-center justify-content-between mt-4"> <span><strong><i class="ti-info-alt mr-2"></i><?php echo e(_lang('You need to approve this draft invoice before further action.')); ?></strong></span> <a href="<?php echo e(route('invoices.approve', $invoice->id)); ?>" class="btn btn-primary btn-xs"><i class="fas fa-check-circle mr-2"></i><?php echo e(_lang('Approve')); ?></a> </div> <?php endif; ?> <?php if($invoice->transactions->count() > 0): ?> <table class="table border mt-4"> <thead> <th><?php echo e(_lang('Date')); ?></th> <th><?php echo e(_lang('Method')); ?></th> <th class="text-right"><?php echo e(_lang('Amount')); ?></th> <th class="text-right"><?php echo e(_lang('Invoice Amount')); ?></th> </thead> <tbody> <?php $__currentLoopData = $invoice->transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($transaction->trans_date); ?></td> <td><?php echo e($transaction->method); ?></td> <td class="text-right"><?php echo e(formatAmount($transaction->amount, currency_symbol($transaction->account->currency))); ?></td> <td class="text-right"><?php echo e(formatAmount($transaction->ref_amount, currency_symbol($invoice->business->currency))); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php endif; ?> </div> </div> <?php elseif($invoice->is_recurring == 1): ?> <div class="card"> <div class="card-header d-flex align-items-center justify-content-between"> <span class="panel-title"><?php echo e(_lang('Recurring invoice')); ?></span> <div> <div class="dropdown"> <button class="btn btn-outline-primary btn-xs dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> <i class="fas fa-cog mr-1"></i><?php echo e(_lang('Actions')); ?> </button> <div class="dropdown-menu"> <a href="<?php echo e(route('recurring_invoices.duplicate', $invoice->id)); ?>" class="dropdown-item"><i class="far fa-copy mr-2"></i><?php echo e(_lang('Duplicate')); ?></a> <a href="<?php echo e(route('recurring_invoices.end_recurring', $invoice->id)); ?>" class="dropdown-item"><i class="far fa-stop-circle mr-2"></i><?php echo e(_lang('End Recurring')); ?></a> <div class="dropdown-divider"></div> <a href="<?php echo e(route('recurring_invoices.edit', $invoice->id)); ?>" class="dropdown-item"><i class="far fa-edit mr-2"></i><?php echo e(_lang('Edit')); ?></a> <form action="<?php echo e(route('recurring_invoices.destroy', $invoice->id)); ?>" method="post"> <?php echo csrf_field(); ?> <input name="_method" type="hidden" value="DELETE"> <button class="dropdown-item btn-remove" type="submit"><i class="far fa-trash-alt mr-2"></i><?php echo e(_lang('Delete')); ?></button> </form> </div> </div> </div> </div> <div class="card-body"> <div class="d-md-flex justify-content-between border border-secondary rounded p-3"> <div> <span><?php echo e(_lang('Status')); ?>:</span> <span><?php echo xss_clean(recurring_invoice_status($invoice->status)); ?></span> </div> <div> <span><?php echo e(_lang('Customer')); ?>:</span> <span><?php echo e($invoice->customer->name); ?></span> </div> <div> <span><?php echo e(_lang('Recurring')); ?>:</span> <span class="text-primary"><b><?php echo e(_lang('Every') . ' ' . $invoice->recurring_value . ' ' . $invoice->recurring_type); ?></b></span> </div> <div> <span><?php echo e(_lang('Grand Total')); ?>:</span> <span><?php echo e(formatAmount($invoice->grand_total, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></span> </div> </div> <?php if($invoice->status == 0): ?> <div class="alert alert-warning d-flex align-items-center justify-content-between mt-4"> <span><strong><i class="ti-info-alt mr-2"></i><?php echo e(_lang('You need to approve this draft invoice before further action.')); ?></strong></span> <a href="<?php echo e(route('recurring_invoices.approve', $invoice->id)); ?>" class="btn btn-primary btn-xs"><i class="fas fa-check-circle mr-2"></i><?php echo e(_lang('Approve')); ?></a> </div> <?php endif; ?> </div> </div> <?php endif; ?><?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/invoice/action.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002