| {{__('sales::customer_receipts.Reference ID')}} | {{$customerPaymentReceipt->reference}} | {{__('sales::customer_receipts.Payment Account')}} | {{$customerPaymentReceipt->account->name}} |
| {{__('sales::customer_receipts.Payment Date')}} | {{$customerPaymentReceipt->formatDate($customerPaymentReceipt->date)}} | {{__('sales::customer_receipts.Kind')}} | {{ Modules\Purchases\Enums\PaymentReceiptTypesEnum::toString($customerPaymentReceipt->kind)}} |
| {{__('sales::customer_receipts.Customer')}} | {{$customerPaymentReceipt->customer->name}} | {{__('products::cost_center.Cost Center')}} |
{{$costCenter?$costCenter['code'] . ' - ' . $costCenter['name_' . app()->getLocale()]: __('products::cost_center.main center') }}
|
| @lang('sales::customer_receipts.Amount') | {{ ($customerPaymentReceipt->paid_amount < 0 ) ? '(' . abs($customerPaymentReceipt->paid_amount ) . ')' : $customerPaymentReceipt->paid_amount }} | {{__('sales::customer_receipts.Description')}} | {{ $customerPaymentReceipt->description }} |
| @lang('sales::invoice_returns.Reference ID') | @lang('sales::invoice_returns.Amount') | @elseif($customerPaymentReceipt->kind == Modules\Purchases\Enums\PaymentReceiptTypesEnum::RECEIVED)@lang('sales::invoices.Reference ID') | @lang('sales::invoices.Amount') | @endif
|---|---|---|---|
| {{$payment['reference']}} | {{$payment['total']}} |