JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrstartSection('page-title'); ?> stopSection(); ?> startSection('breadcrumb'); ?> stopSection(); ?> startPush('css-page'); ?> stopPush(); ?> startPush('script-page'); ?> stopPush(); ?> startSection('content'); ?> check('send invoice')): ?> status != 4): ?>

dateFormat($invoice->issue_date)); ?>

check('edit invoice')): ?>

status != 0): ?> dateFormat($invoice->send_date)); ?> check('send invoice')): ?> :

status == 0): ?> check('send bill')): ?>

:

status != 0): ?> check('create payment invoice')): ?>
status != 0): ?>
status != 4): ?>

invoiceNumberFormat($invoice->invoice_id)); ?>


:
dateFormat($invoice->issue_date)); ?>

:
dateFormat($invoice->due_date)); ?>

:
billing_name)): ?> billing_name) ? $customer->billing_name : ''); ?>
billing_address) ? $customer->billing_address : ''); ?>
billing_city) ? $customer->billing_city : '' . ', '); ?>
billing_state) ? $customer->billing_state : '', ', '); ?>, billing_zip) ? $customer->billing_zip : ''); ?>
billing_country) ? $customer->billing_country : ''); ?>
billing_phone) ? $customer->billing_phone : ''); ?>
:
: tax_number) ? $customer->tax_number : ''); ?> -
:
shipping_name)): ?> shipping_name) ? $customer->shipping_name : ''); ?>
shipping_address) ? $customer->shipping_address : ''); ?>
shipping_city) ? $customer->shipping_city : '' . ', '); ?>
shipping_state) ? $customer->shipping_state : '' . ', '); ?>, shipping_zip) ? $customer->shipping_zip : ''); ?>
shipping_country) ? $customer->shipping_country : ''); ?>
shipping_phone) ? $customer->shipping_phone : ''); ?>
-
id)), 'QRCODE', 2, 2, ); ?>
:
status == 0): ?> status])); ?> status == 1): ?> status])); ?> status == 2): ?> status])); ?> status == 3): ?> status])); ?> status == 4): ?> status])); ?>

:
business_type) ? $customer->business_type : '-'); ?>
:
tax_number) ? $customer->tax_number : '-'); ?>
:
supplyState ? $invoice->supplyState->state_name : '-'); ?>
customField) > 0): ?> addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
name); ?> :
customField) ? $invoice->customField[$field->id] : '-'); ?>

popLoop(); $loop = $__env->getLastLoop(); ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $key => $iteam): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> product; $totalRate += $iteam->price; $totalQuantity += $iteam->quantity; $totalDiscount += $iteam->discount; ?> popLoop(); $loop = $__env->getLastLoop(); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $taxName => $taxPrice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
#
name : ''); ?> quantity . ' (' . (isset($productName->unit) ? $productName->unit->name : 'No unit') . ')'); ?> priceFormat($iteam->price)); ?> priceFormat($iteam->discount)); ?> tax)): ?> tax)) { foreach (explode(',', $iteam->tax) as $tax) { $taxPrice = \Utility::taxRate($getTaxData[$tax]['rate'], $iteam->price, $iteam->quantity); $totalTaxPrice += $taxPrice; $itemTax['name'] = $getTaxData[$tax]['name']; $itemTax['rate'] = $getTaxData[$tax]['rate'] . '%'; $itemTax['price'] = \Auth::user()->priceFormat($taxPrice); $itemTaxes[] = $itemTax; if (array_key_exists($getTaxData[$tax]['name'], $taxesData)) { $taxesData[$getTaxData[$tax]['name']] = $taxesData[$getTaxData[$tax]['name']] + $taxPrice; } else { $taxesData[$getTaxData[$tax]['name']] = $taxPrice; } } $iteam->itemTax = $itemTaxes; } else { $iteam->itemTax = []; } ?> itemTax; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tax): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
-
description) ? $iteam->description : '-'); ?> priceFormat($iteam->price * $iteam->quantity - $iteam->discount + $totalTaxPrice)); ?>
priceFormat($totalRate)); ?> priceFormat($totalDiscount)); ?> priceFormat($totalTaxPrice)); ?>
priceFormat($invoice->getSubTotal())); ?>
priceFormat($invoice->getTotalDiscount())); ?>
priceFormat($taxPrice)); ?>
priceFormat($invoice->getTotal())); ?>
priceFormat($invoice->getTotal() - $invoice->getDue() - $invoice->invoiceTotalCreditNote())); ?>
priceFormat($invoice->invoiceTotalCreditNote())); ?>
priceFormat($invoice->getDue())); ?>

storage_limit <= $invoice_user->storage_limit): ?>
check('delete payment invoice')): ?> payments) && $invoice->bankPayments): ?> payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> storage_limit <= $invoice_user->storage_limit): ?> check('delete invoice product')): ?> popLoop(); $loop = $__env->getLastLoop(); ?> bankPayments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $bankPayment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> storage_limit <= $invoice_user->storage_limit): ?> check('delete invoice product')): ?> popLoop(); $loop = $__env->getLastLoop(); ?>
add_receipt)): ?> - dateFormat($payment->date)); ?> priceFormat($payment->amount)); ?> payment_type); ?> bankAccount) ? $payment->bankAccount->bank_name . ' ' . $payment->bankAccount->holder_name : '--'); ?> reference) ? $payment->reference : '--'); ?> description) ? $payment->description : '--'); ?> -- receipt)): ?> add_receipt)): ?> -- order_id) ? $payment->order_id : '--'); ?>
'post', 'route' => ['invoice.payment.destroy', $invoice->id, $payment->id], 'id' => 'delete-form-' . $payment->id, ]); ?>
- dateFormat($bankPayment->date)); ?> priceFormat($bankPayment->amount)); ?>
- - - --- receipt)): ?> order_id) ? $bankPayment->order_id : '--'); ?> status == 'Pending'): ?>
'post', 'route' => ['invoice.payment.destroy', $invoice->id, $bankPayment->id], 'id' => 'delete-form-' . $bankPayment->id, ]); ?>

creditNote; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key =>$creditNote): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
dateFormat($creditNote->date)); ?> priceFormat($creditNote->amount)); ?> description); ?> check('edit credit note')): ?> check('delete credit note')): ?>
'DELETE', 'route' => ['invoice.delete.credit.note', $creditNote->invoice, $creditNote->id], 'id' => 'delete-form-' . $creditNote->id, ]); ?>

stopSection(); ?> make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>