@if (session('error'))
@elseif(session('success'))
@endif
Student Information
Student statement info
{{-- column1 --}}
{{-- column1 --}}
- Student Name: {{$student->first_name}} {{$student->last_name}}
- Student Number: {{$student->student_no}}
- NRC: {{$student->nrc_passport}}
- Phone: {{$student->phone}}
- Email: {{$student->email}}
- Program of Study: {{$student->program_name}}
- Intake Year: {{ucwords($student->entry_year)}}
- Current Year: {{ucwords($student_current_year)}}
- Current Session: {{ucwords($student_current_session)}}
| Date | Description | Reference No | Debit | Credit | Balance | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ date('d-m-Y', strtotime($student_statement->created_at)) }} | @if($student_statement->entry_type == 'invoice'){{$student_statement->description}} | @elseif($student_statement->entry_type == 'receipt'){{$student_statement->description}} | @elseif($student_statement->entry_type == 'refunds'){{$student_statement->description}} ( {{$student_statement->receipt_no}} ) | @else{{$student_statement->description}} ( {{$student_statement->invoice_no}} ) | @endif @if($student_statement->entry_type == 'invoice'){{$student_statement->invoice_no}} | @elseif($student_statement->entry_type == 'receipt'){{$student_statement->receipt_no}} | @else{{$student_statement->reference_no}} | @endif{{$student_statement->debit}} | {{$student_statement->credit}} | {{$student_statement->running_balance}} |