@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.payment')) @section('header') {{ Breadcrumbs::render('payments.show', $payment) }} @endsection @section('body')

{{ ctrans('texts.payment') }}

{{ ctrans('texts.payment_details') }}

{{ ctrans('texts.payment_date') }}
{{ $payment->clientPaymentDate() }}
{{ ctrans('texts.transaction_reference') }}
{{ $payment->transaction_reference }}
{{ ctrans('texts.method') }}
{{ $payment->type->name }}
{{ ctrans('texts.amount') }}
{{ $payment->formattedAmount() }}
{{ ctrans('texts.status') }}
{!! \App\Models\Payment::badgeForStatus($payment->status_id) !!}

{{ ctrans('texts.invoices') }}

{{ ctrans('texts.list_of_payment_invoices') }}

@foreach($payment->invoices as $invoice)
{{ ctrans('texts.invoice_number') }}
@endforeach
@endsection