@foreach ($invoice->items as $item) @endforeach @if($invoice->coupon_discount) @endif
{{ $company['name'] }} {{-- --}}

{{ strtoupper(__('Invoice')) }} # {{ $invoice->number }}

{{ __('Created') }}: {{ localize_date($invoice->invoice_date) }}
{{ __('Due') }}: {{ localize_date($invoice->due_date) }}
{{ __('Status') }}: {{ $invoice->status->name }}
{{ __("Bill To") }} :
{{ $invoice->customer->full_name }}
{{ $invoice->customer->email }}
{{ __("Bill From") }} :
{{ $company['name'] }}
{!! nl2br($company['address']) !!}
{{ __('Item') }} {{ __('Quantity') }} {{ __('Rate') }} {{ __('Sub Total') }}
{{ $item->name }} @if ($item->invoiceable) ( {{ $invoiceable_types[$item->invoiceable_type] }} {{ $item->invoiceable->number }}) @endif
{{ $item->description }}
{{ $item->quantity }} {{ format_money($item->price) }} {{ format_money($item->sub_total) }}
{{ __('Sub Total') }} {{ format_money($invoice->sub_total) }}
{{ __('Discount') }} {{ format_money($invoice->discount) }}
{{ __('Discount Coupon') }} @if($invoice->coupon_code) ({{ round($invoice->coupon_code, 2) }}%) @endif {{ format_money($invoice->coupon_discount) }}
{{ __('Sales Tax') }} @if($invoice->sales_tax_rate) ({{ round($invoice->sales_tax_rate, 2) }}%) @endif {{ format_money($invoice->sales_tax_amount) }}
{{ __('Total') }} {{ format_money($invoice->total) }}
{{ __('Amount Paid') }} {{ format_money($invoice->amount_paid) }}
{{ __('Due') }} {{ format_money($invoice->total - $invoice->amount_paid) }}
@if ($invoice->customer_note)
{{ __("Note") }}
{{ nl2br($invoice->customer_note) }}
@endif @if ($invoice->terms_and_conditions)
{{ __("Terms and Conditions") }}
{{ nl2br($invoice->terms_and_conditions) }}
@endif