@php $counter = 0; $totals = 0; $studentRowCounter = 0; $pageNumber = 1; @endphp @foreach ($students as $key => $stud) @foreach ($stud['courses'] as $item) @if ($counter == 0)
|
ELITE TRAINING INSTITUTE PTY. LTD. 20 Otter Street, Collingwood, VIC, 3066 0390880255 accounts@eti.edu.au http://www.eti.edu.au/ ABN 42163187862 | RTO CODE: 40965 | CRICOS NO: 03470A |
Commission Payment Results for
{{$agent[0]->agent->detail->company_name}}
Total No. of Students |
{{count($students)}} |
Total amount received for all students : | ${{number_format($totalStudentPayment, 2)}} |
Total commission already paid for all students : | ${{number_format($totalCommissionPaid, 2)}} |
Due commission payable as of {{\Carbon\Carbon::now()->setTimezone('Australia/Brisbane')->format('d/m/Y')}} : | ${{number_format($totalCommissionPayable, 2)}} | ||
Total Amount Payable as of {{\Carbon\Carbon::now()->setTimezone('Australia/Brisbane')->format('d/m/Y')}} {{$item['commValue']}}% {{$zz}} : | @if ($registeredGST == 1)${{number_format($totalCommissionPayableGST, 2)}} | @elseif ($registeredGST == 0) {{--N/A | --}}${{number_format($totalCommissionPayable, 2)}} | @endif
* 2nd Course * |
|
ELITE TRAINING INSTITUTE PTY. LTD. 20 Otter Street, Collingwood, VIC, 3066 0390880255 accounts@eti.edu.au http://www.eti.edu.au/ ABN 42163187862 | RTO CODE: 40965 | CRICOS NO: 03470A |
* {{$order}} *
|
Student Name | {{$stud['firstname']}} {{$stud['lastname'] != '-' ? $stud['lastname'] : ''}} | ETI ID | {{$stud['student_id']}} | Date of Birth | {{\Carbon\Carbon::createFromFormat('Y-m-d', $stud['dob'])->format('d/m/Y')}} |
Course Start | {{\Carbon\Carbon::parse($item['course_start_date'])->format('d/m/Y')}} | Course End | {{\Carbon\Carbon::parse($item['course_end_date'])->format('d/m/Y')}} | Status | {{$item['status']}} |
Course Name | {{$item['course_name']}} | Tuition Fee | ${{number_format($item['tuition_fee'], 2)}} | Non-Tuition Fee | ${{number_format($item['non_tuition_fee'], 2)}} |
No. | Student Payment Due Date |
Amount Received |
Date Paid / Refund Date |
Actual Amount (does not include application & material fee) |
Pre-Deducted Commission |
Commission Payable |
|
1 | {{\Carbon\Carbon::parse($item['initial_payment']['student_payment_due_date'])->format('d/m/Y')}} | ${{number_format($item['initial_payment']['amount_received'], 2)}} | {{$item['initial_payment']['date_paid']}} | ${{number_format($item['initial_payment']['actual_amount'], 2)}} | @php $totalFeesPaid += $item['initial_payment']['actual_amount']; @endphp
@if ($item['initial_payment']['pre_deducted_amount'] != 0.00 && $item['initial_payment']['pre_deducted_amount'] != $item['initial_payment']['commission_payable_gst'])
@if($item['initial_payment']['pre_deducted_amount'] > $item['initial_payment']['commission_payable_gst'])
${{number_format($item['initial_payment']['pre_deducted_amount'], 2)}}
@else
${{number_format($item['initial_payment']['pre_deducted_amount'], 2)}}
@endif
@else
${{number_format($item['initial_payment']['pre_deducted_amount'], 2)}}
@endif
|
${{number_format($item['initial_payment']['commission_payable_gst'], 2)}} | {{--${{number_format($item['initial_payment']['student_commission_total'], 2)}} | --}}
1 | - | - | - | - | - | - | |
{{$studentRowCounter}} | {{\Carbon\Carbon::parse($vpd['student_payment_due_date'])->format('d/m/Y')}} | @endif${{number_format($vpd['amount_received'], 2)}} | {{$vpd['date_paid']}} | ${{number_format($vpd['actual_amount'], 2)}} | @php $totalFeesPaid += $vpd['actual_amount']; @endphp
@if ($vpd['pre_deducted_amount'] != 0.00 && $vpd['pre_deducted_amount'] != $vpd['commission_payable_gst'])
@if($vpd['pre_deducted_amount'] > $vpd['commission_payable_gst'])
${{number_format($vpd['pre_deducted_amount'], 2)}}
@else
${{number_format($vpd['pre_deducted_amount'], 2)}}
@endif
@else
${{number_format($vpd['pre_deducted_amount'], 2)}}
@endif
|
${{number_format($vpd['commission_payable_gst'], 2)}} | {{--${{number_format($pay['student_commission_total'], 2)}} | --}}
|
|
|