JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrstartPush('script-page'); ?> stopPush(); ?> startSection('page-title'); ?> stopSection(); ?> startSection('breadcrumb'); ?> stopSection(); ?> startPush('script-page'); ?> stopPush(); ?> startSection('action-btn'); ?>
check('create invoice')): ?> check('create proposal')): ?> check('edit customer')): ?> check('delete customer')): ?> 'DELETE','class' => 'delete-form-btn', 'route' => ['customer.destroy', $customer['id']]]); ?>
stopSection(); ?> startSection('content'); ?>

customerTotalInvoiceSum($customer['id']); $totalInvoice=$customer->customerTotalInvoice($customer['id']); $averageSale=($totalInvoiceSum!=0)?$totalInvoiceSum/$totalInvoice:0; ?>

customerNumberFormat($customer['customer_id'])); ?>

priceFormat($totalInvoiceSum)); ?>

dateFormat($customer['created_at'])); ?>

priceFormat($customer['balance'])); ?>

priceFormat($averageSale)); ?>

priceFormat($customer->customerOverdue($customer['id']))); ?>
customerProposal($customer->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $proposal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
proposalNumberFormat($proposal->proposal_id)); ?> dateFormat($proposal->issue_date)); ?> priceFormat($proposal->getTotal())); ?> status == 0): ?> status])); ?> status == 1): ?> status])); ?> status == 2): ?> status])); ?> status == 3): ?> status])); ?> status == 4): ?> status])); ?> is_convert==0): ?> check('convert invoice')): ?>
'get', 'route' => ['proposal.convert', $proposal->id],'id'=>'proposal-form-'.$proposal->id]); ?>
check('convert invoice')): ?> check('duplicate proposal')): ?>
'get', 'route' => ['proposal.duplicate', $proposal->id],'id'=>'duplicate-form-'.$proposal->id]); ?>
check('show proposal')): ?> check('edit proposal')): ?> check('delete proposal')): ?>
'DELETE', 'route' => ['proposal.destroy', $proposal->id],'id'=>'delete-form-'.$proposal->id]); ?>
customerInvoice($customer->id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $invoice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
invoiceNumberFormat($invoice->invoice_id)); ?> dateFormat($invoice->issue_date)); ?> due_date < date('Y-m-d'))): ?>

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

dateFormat($invoice->due_date)); ?>
priceFormat($invoice->getDue())); ?> status == 0): ?> status])); ?> status == 1): ?> status])); ?> status == 2): ?> status])); ?> status == 3): ?> status])); ?> status == 4): ?> status])); ?> check('copy invoice')): ?>
check('duplicate invoice')): ?>
'get', 'route' => ['invoice.duplicate', $invoice->id],'id'=>'duplicate-form-'.$invoice->id]); ?>
check('show invoice')): ?> check('edit invoice')): ?> check('delete invoice')): ?>
'DELETE', 'route' => ['invoice.destroy', $invoice->id],'id'=>'delete-form-'.$invoice->id]); ?>
stopSection(); ?> make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>