@extends('layouts.guest') @section('page-title', $invoice_number ) @section('sticky-navbar')
@stop @section('content'){{ trans('crm.invoice_data_date') }} {{ local_date_format($invoice->date) }}
@if(!empty($invoice->duedate)){{ trans('crm.invoice_data_duedate') }} {{ local_date_format($invoice->duedate) }}
@endif @if($invoice->sale_agent != 0 && get_option('show_sale_agent_on_invoices') == 1){{ trans('crm.sale_agent_string') }}: {{ get_staff_full_name($invoice->sale_agent) }}
@endif# | Item | Qty | Rate | Amount |
---|---|---|---|---|
1 | {{ $item->description }} | {{ $item->qty }} | {{ $item->rate }} | {{ $item->qty * $item->rate }} |
{{ trans('crm.invoice_subtotal') }} | {{ app_format_money($invoice->subtotal, $invoice->currency) }} |
{{ trans('crm.invoice_total') }} | {{ app_format_money($invoice->total, $invoice->currency) }} |
{{ trans('crm.invoice_total_paid') }} | {{ '-' . app_format_money($invoice->paid, $invoice->currency) }} |
{{ trans('crm.invoice_amount_due') }} | {{ app_format_money($invoice->total_left_to_pay, $invoice->currency) }} |
{{ trans('crm.invoice_received_payments') }}
{{ trans('crm.invoice_payments_table_number_heading') }} | {{ trans('crm.invoice_payments_table_mode_heading') }} | {{ trans('crm.invoice_payments_table_date_heading') }} | {{ trans('crm.invoice_payments_table_amount_heading') }} |
---|---|---|---|
{{ $payment['id'] }} {!! Form::open() !!} {!! Form::close() !!} | {{ $payment['name'] }} | {{ local_date_format($payment['date']) }} | {{ app_format_money($payment['amount'], $invoice->currency) }} |
@lang('crm.invoice_html_online_payment')
{!! Form::open(['route' => '', 'id' => 'online_payment_form' , 'novalidate'=>true]) !!} @foreach($payment_modes as $mode) @if(!is_numeric($mode['id']) && !empty($mode['id']) && is_payment_mode_allowed_for_invoice($mode['id'],$invoice->id))Allowed Payment Modes
@foreach($payment_modes as $mode) @if(is_numeric($mode['id']) && is_payment_mode_allowed_for_invoice($mode['id'],$invoice->id))- {{ $mode['name'] }}
@if(!empty($mode['description']))