[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 4bffc19c9fa1cf16c4ec6991c564b749.php
<?php $type = isset($type) ? $type : 'preview'; ?> <!-- Default Invoice template --> <div id="invoice" class="<?php echo e($type); ?>"> <div class="default-invoice"> <div class="invoice-header"> <div class="row"> <div class="col-6 float-left left-header"> <?php if($type == 'pdf'): ?> <img class="logo" src="<?php echo e(public_path('uploads/media/' . $invoice->business->logo)); ?>"> <?php else: ?> <img class="logo" src="<?php echo e(asset('public/uploads/media/' . $invoice->business->logo)); ?>"> <?php endif; ?> <h2 class="title"><?php echo e($invoice->title); ?></h2> </div> <div class="col-6 float-right right-header"> <?php if(get_business_option('invoice_qr_code_status', 1, $invoice->business_id) == 1): ?> <?php $qr_code = QrCode::size(80)->color(52, 73, 94)->generate(route('invoices.show_public_invoice', $invoice->short_code)); $base64Svg = 'data:image/svg+xml;base64,' . base64_encode($qr_code); ?> <div class="mb-2"> <img src="<?php echo e($base64Svg); ?>" class="qr-code"> </div> <?php endif; ?> <h4 class="company-name"><?php echo e($invoice->business->name); ?></h4> <p><?php echo e($invoice->business->address); ?></p> <p><?php echo e($invoice->business->phone); ?></p> <p><?php echo e($invoice->business->email); ?></p> <p><?php echo e($invoice->business->country); ?></p> </div> <div class="clear"></div> </div> </div> <div class="invoice-details"> <div class="row align-items-bottom"> <div class="col-6 float-left"> <h5 class="bill-to-heading"><?php echo e(_lang('BILLING DETAILS')); ?></h5> <h4 class="bill-to"><?php echo e($invoice->customer->name); ?></h4> <p><?php echo e($invoice->customer->address); ?></<p> <p><?php echo e($invoice->customer->city); ?></<p> <p><?php echo e($invoice->customer->zip); ?></<p> <p><?php echo e($invoice->customer->country); ?></p> </div> <div class="col-6 text-right float-right"> <h5 class="mb-2"><?php echo e(_lang('Invoice')); ?>#: <?php echo e($invoice->is_recurring == 0 ? $invoice->invoice_number : _lang('Automatic')); ?></h4> <?php if($invoice->order_number != ''): ?> <p><?php echo e(_lang('Sales Order No')); ?>: <?php echo e($invoice->order_number); ?></p> <?php endif; ?> <p><?php echo e(_lang('Invoice Date')); ?>: <?php echo e($invoice->is_recurring == 0 ? $invoice->invoice_date : $invoice->recurring_invoice_date); ?></p> <p class="mb-2"><?php echo e(_lang('Due Date')); ?>: <?php echo e($invoice->is_recurring == 0 ? $invoice->due_date : $invoice->recurring_due_date); ?></p> <p><strong><?php echo e(_lang('Grand Total')); ?>: <?php echo e(formatAmount($invoice->grand_total, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></strong></p> <?php if($invoice->status != 2): ?> <p><strong><?php echo e(_lang('Due Amount')); ?>: <?php echo e(formatAmount($invoice->grand_total - $invoice->paid, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></strong></p> <?php endif; ?> <?php if($invoice->is_recurring == 0): ?> <p><strong><?php echo xss_clean(invoice_status($invoice)); ?></strong></p> <?php endif; ?> </div> <div class="clear"></div> </div> </div> <?php $invoiceColumns = json_decode(get_business_option('invoice_column', null, $invoice->business_id)); ?> <div class="invoice-body"> <div class="table-responsive-sm"> <table class="table"> <thead> <tr> <?php if(isset($invoiceColumns->name->status)): ?> <?php if($invoiceColumns->name->status != '0'): ?> <th><?php echo e(isset($invoiceColumns->name->label) ? $invoiceColumns->name->label : _lang('Name')); ?></th> <?php endif; ?> <?php else: ?> <th><?php echo e(_lang('Name')); ?></th> <?php endif; ?> <?php if(isset($invoiceColumns->quantity->status)): ?> <?php if($invoiceColumns->quantity->status != '0'): ?> <th class="text-center"><?php echo e(isset($invoiceColumns->quantity->label) ? $invoiceColumns->quantity->label : _lang('Quantity')); ?></th> <?php endif; ?> <?php else: ?> <th class="text-center"><?php echo e(_lang('Quantity')); ?></th> <?php endif; ?> <?php if(isset($invoiceColumns->price->status)): ?> <?php if($invoiceColumns->price->status != '0'): ?> <th class="text-right"><?php echo e(isset($invoiceColumns->price->label) ? $invoiceColumns->price->label : _lang('Price')); ?></th> <?php endif; ?> <?php else: ?> <th class="text-right"><?php echo e(_lang('Price')); ?></th> <?php endif; ?> <?php if(isset($invoiceColumns->amount->status)): ?> <?php if($invoiceColumns->amount->status != '0'): ?> <th class="text-right"><?php echo e(isset($invoiceColumns->amount->label) ? $invoiceColumns->amount->label : _lang('Amount')); ?></th> <?php endif; ?> <?php else: ?> <th class="text-right"><?php echo e(_lang('Amount')); ?></th> <?php endif; ?> </tr> </thead> <tbody> <?php $__currentLoopData = $invoice->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="product-name"> <?php if(isset($invoiceColumns->name->status)): ?> <?php if($invoiceColumns->name->status != '0'): ?> <p><?php echo e($item->product_name); ?></p> <?php endif; ?> <?php else: ?> <p><?php echo e($item->product_name); ?></p> <?php endif; ?> <?php if(isset($invoiceColumns->description->status)): ?> <?php if($invoiceColumns->description->status != '0'): ?> <p><?php echo e($item->description); ?></p> <?php endif; ?> <?php else: ?> <p><?php echo e($item->description); ?></p> <?php endif; ?> </td> <?php if(isset($invoiceColumns->quantity->status)): ?> <?php if($invoiceColumns->quantity->status != '0'): ?> <td class="text-center"><?php echo e($item->quantity.' '.$item->product->product_unit->unit); ?></td> <?php endif; ?> <?php else: ?> <td class="text-center"><?php echo e($item->quantity.' '.$item->product->product_unit->unit); ?></td> <?php endif; ?> <?php if(isset($invoiceColumns->price->status)): ?> <?php if($invoiceColumns->price->status != '0'): ?> <td class="text-right text-nowrap"><?php echo e(formatAmount($item->unit_cost, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></td> <?php endif; ?> <?php else: ?> <td class="text-right text-nowrap"><?php echo e(formatAmount($item->unit_cost, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></td> <?php endif; ?> <?php if(isset($invoiceColumns->amount->status)): ?> <?php if($invoiceColumns->amount->status != '0'): ?> <td class="text-right text-nowrap"><?php echo e(formatAmount($item->sub_total, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></td> <?php endif; ?> <?php else: ?> <td class="text-right text-nowrap"><?php echo e(formatAmount($item->sub_total, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></td> <?php endif; ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <div class="invoice-summary"> <div class="row"> <div class="col-xl-7 col-lg-6 float-left"> <div class="invoice-note"> <p><b><?php echo e(_lang('Notes / Terms')); ?>:</b> <?php echo xss_clean($invoice->note); ?></p> </div> </div> <div class="col-xl-5 col-lg-6 float-right"> <table class="table text-right m-0"> <tr> <td><?php echo e(_lang('Sub Total')); ?></td> <td class="text-nowrap"><?php echo e(formatAmount($invoice->sub_total, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></td> </tr> <?php $__currentLoopData = $invoice->taxes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tax): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($tax->name); ?></td> <td class="text-nowrap">+ <?php echo e(formatAmount($tax->amount, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php if($invoice->discount > 0): ?> <tr> <td><?php echo e(_lang('Discount')); ?></td> <td class="text-nowrap">- <?php echo e(formatAmount($invoice->discount, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></td> </tr> <?php endif; ?> <tr> <td><b><?php echo e(_lang('Grand Total')); ?></b></td> <td class="text-nowrap"><b><?php echo e(formatAmount($invoice->grand_total, currency_symbol($invoice->business->currency), $invoice->business_id)); ?></b></td> </tr> <?php if($invoice->grand_total != $invoice->converted_total): ?> <tr> <td><b><?php echo e(_lang('Converted Total')); ?></b></td> <td class="text-nowrap"><b><?php echo e(formatAmount($invoice->converted_total, currency_symbol($invoice->customer->currency), $invoice->business_id)); ?></b></td> </tr> <?php endif; ?> </table> </div> <div class="clear"></div> </div> </div> </div> <div class="invoice-footer"> <p><?php echo xss_clean($invoice->footer); ?></p> </div> </div> <?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/invoice/template/default.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.79 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