@extends('layouts.app') @section('title',$account->exists?'Edit Student Account':'Add Student Account') @section('content')
@csrf @if($account->exists)@method('put')@endif

Student account summary

* Mandatory field

@foreach([['student_name','Student Name'],['student_id','Student ID'],['programme','Programme'],['intake_semester','Intake Semester']] as $f)
@endforeach @foreach([['invoice_number','Invoice Number'],['advice_reference','Advice Reference']] as $f)
@endforeach @foreach([['advice_date','Advice Date'],['due_date','Due Date']] as $f)
@endforeach @foreach([['gross_amount','Gross Amount'],['deductions','Deductions'],['outstanding_amount','Outstanding Amount']] as $f)
@endforeach
Select up to 20 files. Maximum 20 MB per file. Files are stored privately and downloaded only through authorised access.
@if($account->exists && $account->attachments->isNotEmpty())

Existing attachments

@foreach($account->attachments as $file)@endforeach
FileTypeSizeAction
{{ $file->original_name }}{{ strtoupper($file->extension ?: 'FILE') }}{{ number_format($file->size_bytes/1024,1) }} KBDownload
@endif
@if($account->exists)@foreach($account->attachments as $file)
@csrf @method('delete')
@endforeach @endif @endsection