{{ config('config.team.config.name') }}
@if (config('config.team.config.title1'))
{{ config('config.team.config.title1') }}
@endif @if (config('config.team.config.title2'))
{{ config('config.team.config.title2') }}
@endif @if (config('config.team.config.title3'))
{{ config('config.team.config.title3') }}
@endif
{{ Arr::toAddress([ 'address_line1' => config('config.team.config.address_line1'), 'address_line2' => config('config.team.config.address_line2'), 'city' => config('config.team.config.city'), 'state' => config('config.team.config.state'), 'zip_code' => config('config.team.config.zip_code'), 'country' => config('config.team.config.country'), ]) }}
@if (config('config.team.config.email') || config('config.team.config.phone'))
@if (config('config.team.config.phone')) {{ config('config.team.config.email') }} @endif @if (config('config.team.config.phone')) {{ config('config.team.config.phone') }} @endif
@endif @if (config('config.team.config.website'))
{{ config('config.team.config.website') }}
@endif

{{ trans('student.fee.receipt') }} @if ($transaction->cancelled_at->value) ({{ trans('general.cancelled') }}) @endif @if ($transaction->rejected_at->value) ({{ trans('general.rejected') }}) @endif

{{ $student->batch->course->division?->program?->name }} {{ $student->period->name }}

{{ trans('finance.transaction.props.code_number') }}: {{ $transaction->code_number }}
{{ trans('finance.transaction.props.date') }}: {{ $transaction->date->formatted }}
{{ trans('student.props.name') }} {{ $student->name }} {{ trans('student.admission.props.code_number') }} {{ $student->code_number }}
{{ trans('contact.props.father_name') }} {{ $student->father_name }} {{ trans('contact.props.contact_number') }} {{ $student->contact_number }}
{{ trans('academic.course.course') }} {{ $student->course_name . ' ' . $student->batch_name }}
{{ trans('contact.props.birth_date') }} {{ \Cal::date($student->birth_date)->formatted }}
@foreach ($rows as $row) @foreach ($row as $cell) @if ($cell['key'] == 'heading') @elseif ($cell['key'] == 'record') @elseif ($cell['key'] == 'footer') @endif @endforeach @endforeach
{{ $cell['label'] }} @if (empty($cell['with_concession'])) {{ $cell['label'] }} @else {{ $cell['label'] }} {{ $cell['with_concession'] }} @endif {{ $cell['label'] }}
@foreach ($transaction->payments as $payment)
{{ trans('finance.payment_method.payment_method') }}: {{ $payment->method->name }} {{ $payment->amount->formatted }}
@if ($payment->getDetail('reference_number')) {{ trans('finance.transaction.props.reference_number') }}: {{ $payment->getDetail('reference_number') }} @endif @if ($payment->getDetail('instrument_number')) {{ trans('finance.transaction.props.instrument_number') }}: {{ $payment->getDetail('instrument_number') }} @endif @if ($payment->getDetail('instrument_date')) {{ trans('finance.transaction.props.instrument_date') }}: {{ \Cal::date($payment->getDetail('instrument_date'))->formatted }} @endif @if ($payment->getDetail('clearing_date')) {{ trans('finance.transaction.props.clearing_date') }}: {{ \Cal::date($payment->getDetail('clearing_date'))->formatted }} @endif @if ($payment->getDetail('bank_detail')) {{ trans('finance.transaction.props.bank_detail') }}: {{ $payment->getDetail('bank_detail') }} @endif
@endforeach
@if ($transaction->cancelled_at->value && $transaction->cancellation_remarks)

{{ trans('finance.transaction.props.cancellation_remarks') }}: {{ $transaction->cancellation_remarks }}

@endif @if ($transaction->rejected_at->value && $transaction->rejection_remarks)

{{ trans('finance.transaction.props.rejection_remarks') }}: {{ $transaction->rejection_remarks }}

@endif @if ($transaction->is_online)

{{ trans('finance.online_receipt_info') }}

@else

{{ trans('student.fee.authorized_signatory') }}

@endif

{{ trans('general.printed_at') }}: {{ \Cal::dateTime(now())->formatted }}