{{ trans('portal.payment_history.title') }}
@if ($payments->count()) @foreach ($payments as $item) @if (! $item->document) {{ trans('portal.payment_history.description', [ 'date' => company_date($item->created_at), 'amount' => money($item->amount, $item->currency_code) ]) }} @else {{ trans('portal.payment_history.invoice_description', [ 'date' => company_date($item->created_at), 'amount' => money($item->amount, $item->currency_code), 'invoice_number' => $item->document->document_number ]) }} @endif @endforeach @if ($payments->count() > 2) {{ trans('modules.see_all_type', ['type' => trans_choice('general.payments', 2)]) }} @endif @else {{ trans('portal.payment_history.no_data') }} @endif