{{ 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')
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled']))
@php $is_active = true; @endphp
@foreach ($payment_methods as $key => $name) @stack('invoice_{{ $key }}_tab_start') @stack('invoice_{{ $key }}_tab_end') @php $is_active = false; @endphp @endforeach
@if (count($payment_methods) > 3)
chevron_right
chevron_left
@endif
@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.payments_received') }}: @if ($invoice->transactions->count()) @foreach ($invoice->transactions as $transaction)
- {!! trans('documents.transaction', [ 'amount' => '' . money($transaction->amount, $transaction->currency_code) . '', 'account' => '' . $transaction->account->name . '', ]) !!}
@endforeach @else
{{ trans('general.no_records') }}
@endif
@endif
@push('stylesheet') @endpush @push('scripts_start') @endpush