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

dateFormat($bill->bill_date)); ?>

check('edit bill')): ?>

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

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

:

status!=0): ?> check('create payment bill')): ?>
type=='company'): ?> status!=0): ?>

billNumberFormat($bill->bill_id)); ?>


:
dateFormat($bill->bill_date)); ?>

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

:
billing_name)): ?> billing_name)?$vendor->billing_name:''); ?>
billing_address)?$vendor->billing_address:''); ?>
billing_city)?$vendor->billing_city:'' .', '); ?>
billing_state)?$vendor->billing_state:'',', '); ?>, billing_zip)?$vendor->billing_zip:''); ?>
billing_country)?$vendor->billing_country:''); ?>
billing_phone)?$vendor->billing_phone:''); ?>
:
: tax_number)?$vendor->tax_number:''); ?> -
:
shipping_name)): ?> shipping_name)?$vendor->shipping_name:''); ?>
shipping_address)?$vendor->shipping_address:''); ?>
shipping_city)?$vendor->shipping_city:'' . ', '); ?>
shipping_state)?$vendor->shipping_state:'' .', '); ?>, shipping_zip)?$vendor->shipping_zip:''); ?>
shipping_country)?$vendor->shipping_country:''); ?>
shipping_phone)?$vendor->shipping_phone:''); ?>
-
id)), "QRCODE",2,2); ?>
:
status == 0): ?> status])); ?> status == 1): ?> status])); ?> status == 2): ?> status])); ?> status == 3): ?> status])); ?> status == 4): ?> status])); ?>
customField)>0): ?> addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
name); ?> :
customField)?$bill->customField[$field->id]:'-'); ?>

popLoop(); $loop = $__env->getLastLoop(); ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $key =>$item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> product_id)): ?> product; $totalQuantity += $item->quantity; $totalRate += $item->price; $totalDiscount += $item->discount; ?> chart_account_id); ?> popLoop(); $loop = $__env->getLastLoop(); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $taxName => $taxPrice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
#
name:'-'); ?> quantity . ' (' . $productName->unit->name . ')'); ?> priceFormat($item->price)); ?> priceFormat($item->discount)); ?> tax)): ?> tax)) { foreach (explode(',', $item->tax) as $tax) { $taxPrice = \Utility::taxRate($getTaxData[$tax]['rate'], $item->price, $item->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; } } $item->itemTax = $itemTaxes; } else { $item->itemTax = []; } ?> itemTax; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tax): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
-
name : '-'); ?> priceFormat($item->amount)); ?> description)?$item->description:'-'); ?> priceFormat(($item->price * $item->quantity - $item->discount) + $totalTaxPrice)); ?>
- - - - - name : '-'); ?> priceFormat($item['amount'])); ?> - priceFormat($item['amount'])); ?>
priceFormat($totalRate)); ?> priceFormat($totalDiscount)); ?> priceFormat($totalTaxPrice)); ?> priceFormat($bill->getAccountTotal())); ?>
priceFormat($bill->getSubTotal())); ?>
priceFormat($bill->getTotalDiscount())); ?>
priceFormat($taxPrice)); ?>
priceFormat($bill->getTotal())); ?>
priceFormat(($bill->getTotal()-$bill->getDue())-($bill->billTotalDebitNote()))); ?>
priceFormat(($bill->billTotalDebitNote()))); ?>
priceFormat($bill->getDue())); ?>
check('delete payment bill')): ?> payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key =>$payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
add_receipt)): ?> - dateFormat($payment->date)); ?> priceFormat($payment->amount)); ?> bankAccount)?$payment->bankAccount->bank_name.' '.$payment->bankAccount->holder_name:''); ?> reference); ?> description); ?> check('delete bill product')): ?>
'post', 'route' => ['bill.payment.destroy',$bill->id,$payment->id],'id'=>'delete-form-'.$payment->id]); ?>

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

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