@extends('admin.layouts.master') @section('content')

{{ $invoice->title }}

< Back To Order Page

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

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

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

Order Status: @if($invoice->type == 'pre_order') Pre Order @elseif($invoice->type == 'deliver_products') Completed @elseif(($invoice->type == 'return_items_invoice') || ($invoice->type == 'advance_payments_invoice')) Return Item(s) @endif
@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)) @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))