@stack('timeline_get_paid_body_button_payment_start')
@if (! $hideAddPayment)
@if(empty($document->transactions->count()) || (! empty($document->transactions->count()) && $document->paid != $document->amount))
{{ trans('invoices.add_payment') }}
@endif
@endif
@stack('timeline_get_paid_body_button_payment_end')
{{ trans('bills.payment_made') }} :
@if ($transactions->count())
@foreach ($transactions as $transaction)
- {!! trans('documents.transaction', [
'amount' => '' . money($transaction->amount, $transaction->currency_code, true) . '',
'account' => '' . $transaction->account->name . '',
]) !!}
@if (! empty($transaction->contact) && $transaction->contact->email)
id) }}', '{{ $transactionEmailTemplate }}')">
{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}
@else
{{ trans('general.title.send', ['type' => trans_choice('general.receipts', 1)]) }}
@endif
-
id }}')"
id="show-slider-actions-transaction-edit-{{ $document->type }}-{{ $transaction->id }}"
class="text-purple mt-1"
override="class"
>
{{ trans('general.title.edit', ['type' => trans_choice('general.payments', 1)]) }}
-
@php
$message = trans('general.delete_confirm', [
'name' => '' . Date::parse($transaction->paid_at)->format(company_date_format()) . ' - ' . money($transaction->amount, $transaction->currency_code, true) . ' - ' . $transaction->account->name . '',
'type' => strtolower(trans_choice('general.transactions', 1))
]);
@endphp
@endforeach
@else
{{ trans('general.no_records') }}
@endif