{{ setting('invoice.title', trans_choice('general.invoices', 1)) . ': ' . $invoice->document_number }} @stack('button_pdf_start') {{ trans('general.download') }} @stack('button_pdf_end') @stack('button_print_start') {{ trans('general.print') }} @stack('button_print_end') @stack('button_dashboard_start') @if (! user()) {{ trans('invoices.all_invoices') }} @endif @stack('button_dashboard_end')
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled']))
@php $is_active = true; @endphp
@php $is_active = true; @endphp @foreach ($payment_methods as $key => $name) @stack('invoice_{{ $key }}_content_start')
@stack('invoice_{{ $key }}_content_end') @php $is_active = false; @endphp @endforeach
@endif @if ($invoice->transactions->count())
{{ trans('invoices.payment_received') }} : @if ($invoice->transactions->count()) @foreach ($invoice->transactions as $transaction)
- {!! trans('documents.transaction', [ 'amount' => '' . money($transaction->amount, $transaction->currency_code, true) . '', 'account' => '' . $transaction->account->name . '', ]) !!}
@endforeach @else
{{ trans('general.no_records') }}
@endif
@endif
@push('stylesheet') @endpush @push('scripts_start') @endpush