{{ $invoice->title }}

# Order: {{ $rent_order->order_number }}
{{ App::make('BarcodeGenerator')->getBarcodeHTML($rent_order->order_number, 'C39', 1, 30) }}
Created at: {{ $rent_order->created_at->timezone(\Setting::get('app.view_timezone')) }}

#Invoice: {{ $invoice->invoice_number }}

{{ App::make('BarcodeGenerator')->getBarcodeHTML($invoice->invoice_number, 'C39', 1, 30) }}

Order Status

{{ $invoice->rentOrder->getCurrentStatusTitle() }}

Created at:

{{ $invoice->created_at->timezone(\Setting::get('app.view_timezone')) }}

Pre-Auth Amount:

@include('admin.invoices.deposit-money', array('rent_order' => $rent_order, 'pre_invoice' => $pre_invoice, 'authorize_payments', $authorize_payments))

Customer Info

@include('admin.orders.rents.customer-info', array('customer' => $rent_order->customer))
@if($invoice->type == 'pre_order') @include('admin.invoices.pre', array('rent_order', $rent_order)) @elseif($invoice->type == 'rent_order_accessories') @include('admin.invoices.accessories', array('rent_order' => $rent_order, 'invoice' => $invoice)) @elseif($invoice->type == 'deliver_products_for_buy') @include('admin.invoices.deliver_products_for_buy', array('rent_order' => $rent_order, 'invoice' => $invoice)) @elseif($invoice->type == 'deliver_products') @include('admin.invoices.deliver-products', array('rent_order', $rent_order, 'invoice' => $invoice)) @elseif($invoice->type == 'return_items_invoice') @include('admin.invoices.return-items', array('line_items', $line_items)) @elseif($invoice->type == 'advance_payments_invoice') @include('admin.invoices.advance-payments', array('requested_items' => $requested_items, 'line_items' => $line_items)) @endif @if(in_array($invoice->type, array('rent_order_accessories', 'return_items_invoice', 'advance_payments_invoice')))

Total: {{ Setting::get('currency_symbol') }}{{ number_format($invoice->total, 2) }}

Discount: {{ Setting::get('currency_symbol') }}{{ number_format($invoice->discount, 2) }}

Taxes:
    @foreach($invoice->taxes()->get() as $applied_tax)
  • {{ $applied_tax->tax->name}} ({{ $applied_tax->tax_amount }}%): {{ Setting::get('currency_symbol') }}{{ number_format($applied_tax->invoice_tax_amount, 2) }}
  • @endforeach
Total Taxes: {{ Setting::get('currency_symbol') }}{{ number_format($invoice->getTotalTaxAmount(), 2) }}

Grand Total: {{ Setting::get('currency_symbol') }}{{ number_format($invoice->grand_total, 2) }}

@endif @if(!$invoice->isPaid()) Not Paid @else