@extends('backend.master') @section('document-title') Student Invoice Edit @endsection @section('page-title') Student Invoice Edit @endsection @section('active-breadcrumb-item') Student Invoice Edit @endsection {{--This file must be included if Bootstrap Datatable is needed--}} @include('backend.includes.data-table') {{--Main Content of the page goes here--}} @section('content')
@csrf

Check All Options carefully and click on Save Changes Button

Name: {{ $invoice->student->name }} Student ID: {{ $invoice->student->roll }} Class: {{ $invoice->activeDetails[0]->classItem->class->code }} Mother Mobile: {{ $invoice->student->mother_mobile }}
Select Items To Remove From Current Invoice
@foreach($invoice->activeDetails as $detail) @endforeach
Item Amount Discount Receivable
@if($detail->classItem->item->billing_cycle==3) @endif
Select Items To Add Into Invoice
@foreach($classItems as $classItem) @php($item = $classItem->item) @endforeach
Item Amount Discount Receivable
@php($discount = 0) @if($item->billing_cycle==3) @if($item->name == 'Tuition Fee') @php($tuitionFee = monthlyFee($invoice->year,$invoice->class_id,$invoice->student_id)) @if(isset($tuitionFee)) @php($discount=$tuitionFee['discount']) @endif @endif @endif
@if(!isset($invoice->previousDue) or (isset($invoice->previousDue) and $invoice->previousDue->status!==1))
Previous Due
@endif
Remark
Last Pay Date
@endsection {{--this script override all--}} @section('script') @include('backend.students.invoice.script') @endsection