@if(!empty($payment->clientPaymentDate()) && !is_null($payment->clientPaymentDate()))
-
{{ ctrans('texts.payment_date') }}
-
{{ $payment->clientPaymentDate() }}
@endif
@if(!empty($payment->number) && !is_null($payment->number))
-
{{ ctrans('texts.number') }}
-
{{ $payment->number }}
@endif
@if(!empty($payment->transaction_reference) && !is_null($payment->transaction_reference))
-
{{ ctrans('texts.transaction_reference') }}
-
{{ $payment->transaction_reference }}
@endif
@if(!empty($payment->type?->name) && !is_null($payment->type?->name))
-
{{ ctrans('texts.method') }}
-
{{ $payment->type?->name }}
@endif
@if(!empty($payment->formattedAmount()) && !is_null($payment->formattedAmount()))
-
{{ ctrans('texts.amount') }}
-
{{ $payment->formattedAmount() }}
@endif
@if(!empty($payment->status_id) && !is_null($payment->status_id))
-
{{ ctrans('texts.status') }}
{!! \App\Models\Payment::badgeForStatus($payment->status_id) !!}
@if($payment->refunded > 0)
-
{{ ctrans('texts.refunded') }}
{{ \App\Utils\Number::formatMoney($payment->refunded, $payment->client) }}
@endif
@endif