@extends('layouts.app') @section('content')
|
|||
{{ _lang('Invoice To') }}{{ $client->contact_name }}{{ $client->contact_email }} {!! $client->company_name != '' ? clean($client->company_name).' ' : '' !!} {!! $client->address != '' ? clean($client->address).' ' : '' !!} {!! $client->vat_id != '' ? _lang('VAT ID').': '.clean($client->vat_id).' ' : '' !!} {!! $client->reg_no != '' ? _lang('REG NO').': '.clean($client->reg_no).' ' : '' !!} {{ _lang('Invoice Details') }}{{ _lang('Invoice') }} #: {{ $invoice->invoice_number }}{{ _lang('Invoice Date') }}: {{ date($date_format,strtotime( $invoice->invoice_date)) }} {{ _lang('Due Date') }}: {{ date($date_format,strtotime( $invoice->due_date)) }} {{ _lang('Payment Status') }}: {{ _dlang(str_replace('_',' ',$invoice->status)) }} |
|||
| {{ _lang('Name') }} | {{ _lang('Quantity') }} | {{ _lang('Unit Cost') }} | {{ _lang('Discount') }} | {{ _lang('Tax method') }} | {{ _lang('Tax') }} | {{ _lang('Sub Total') }} |
|---|---|---|---|---|---|---|
|
{{ $item->item->item_name }} {{ $item->description }} |
{{ $item->quantity }} | {{ decimalPlace($item->unit_cost, $currency) }} | {{ decimalPlace($item->discount, $currency) }} | {{ strtoupper($item->tax_method) }} | {{ decimalPlace($item->tax_amount, $currency) }} | {{ decimalPlace($item->sub_total, $currency) }} |
| {{ _lang('Tax') }} |
{{ decimalPlace($invoice->tax_total, $currency) }}
@if($client_currency != $base_currency)
{{ decimalPlace(convert_currency($base_currency, $client_currency, $invoice->tax_total), currency($client_currency)) }} @endif |
| {{ _lang('Grand Total') }} |
{{ decimalPlace($invoice->grand_total, $currency) }}
@if($client_currency != $base_currency)
{{ decimalPlace($invoice->converted_total, currency($client_currency)) }} @endif |
| {{ _lang('Total Paid') }} |
{{ decimalPlace($invoice->paid, $currency) }}
@if($client_currency != $base_currency)
{{ decimalPlace(convert_currency($base_currency, $client_currency, $invoice->paid), currency($client_currency)) }} @endif |
| {{ _lang('Amount Due') }} |
{{ decimalPlace(($invoice->grand_total - $invoice->paid), $currency) }}
@if($client_currency != $base_currency)
{{ decimalPlace(convert_currency($base_currency, $client_currency, ($invoice->grand_total - $invoice->paid)), currency($client_currency)) }} @endif |
| {{ _lang('Payment History') }} | |||
| {{ _lang('Date') }} | {{ _lang('Account') }} | {{ _lang('Amount') }} | {{ _lang('Payment Method') }} |
|---|---|---|---|
| {{ date($date_format, strtotime($transaction->trans_date)) }} | {{ $transaction->account->account_title.' - '.$transaction->account->account_currency }} | {{ decimalPlace($transaction->amount, currency($transaction->account->account_currency)) }} | {{ $transaction->payment_method->name }} |