@extends('layouts.nav') @section('title') {{$type}} Receipt @endsection @section('content')

{{$type}} Receipt

Date

@php use Carbon\Carbon; $todayLongDate = Carbon::now()->format(' F j, Y'); @endphp

{{$todayLongDate}}

Receipt #

{{$invoice}}

@foreach ($pdetails as $pdetail)

{{ $pdetail->Name}}

{{ $pdetail->Address}}

{{ $pdetail->Email}}

{{ $pdetail->Phone}}

@endforeach
@foreach ($cst as $cs)

{{ $cs->Name}}

{{ $cs->Address}}

{{ $cs->Email}}

{{ $cs->Contact}}

@endforeach
@foreach ($Jts as $Jt) @php $contractCode = $Jt->ContraCode; if (!empty($Jt->ContraSubCode)) { $contractCode .= '/' . $Jt->ContraSubCode; } @endphp @endforeach
Description Account Reference Total
{{$Jt->Narration}} {{$contractCode}} {{$Jt->Refference}} {{ number_format($Jt->DR * $Jt->Rate, 2) }}
Total:
{{ $symbol.' '.number_format($total, 2) }}

PAYMENT DETAILS

@foreach ($Bankaccounts as $Bankaccount)

Bank Name: {{$Bankaccount->Name}}

Account Number: {{$Bankaccount->Account}}

@endforeach

Notes

@foreach ($pdetails as $pdetail)

{{'Please make all payments to '. $pdetail->Name.'. Ensure that the invoice number is included with your payment for proper allocation.'}}

@endforeach

@endsection