@extends('admin.layouts.master') @section('title') {{ $invoice->title }} @stop @section('content')
{{ $invoice->title }} | {{ App::make('BarcodeGenerator')->getBarcodeHTML($invoice->invoice_number, "C39",1,30) }}
{{-- Email--}} Print @if($order->getCurrentStatus()->status == 'created' && !$invoice->paid) Pay @endif
Order Details
Order #:
{{ $order->order_number }}
Order Date & Time:
{{ $order->created_at->timezone(Config::get('app.view_timezone')) }}
Invoice Date & Time:
{{ $invoice->created_at->timezone(Config::get('app.view_timezone')) }}
Grand Total:
{{ Setting::get('currency_symbol') }}{{ number_format($order->getTotal(), 2) }}
Invoice #:
{{ $invoice->invoice_number }}
@if($order->is_sku_sale)
Customer Information
@include('admin.orders.sales.customer-info', array('customer' => $order->customer))
@endif
@include('admin.orders.sales.line-items', array('line_items' => $order->lineItems, 'order' => $order))
Total:
{{ Setting::get('currency_symbol') }}{{ number_format($invoice->total, 2) }}
Discount:
{{ Setting::get('currency_symbol') }}{{ number_format($invoice->discount, 2) }}
Subtotal:
{{ Setting::get('currency_symbol') }}{{ number_format($invoice->total - $invoice->discount, 2) }}
@foreach($invoice->taxes()->get() as $applied_tax)
Tax ({{ $applied_tax->tax->name }}, {{ $applied_tax->tax_amount }}%):
{{ Setting::get('currency_symbol') }}{{ number_format($applied_tax->invoice_tax_amount, 2) }}
@endforeach
Total Tax:
{{ Setting::get('currency_symbol') }}{{ number_format($invoice->getTotalTaxAmount(), 2) }}
Grand Total:
{{ Setting::get('currency_symbol') }}{{ number_format($invoice->grand_total, 2) }}
@if($invoice->payments->count())
@endif
@stop @section('scripts') @parent @stop