@extends('layouts.app') @section('title') Student Statement @endsection @section('content')
@if (session('error')) @elseif(session('success')) @endif
Student Information

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