@extends('backEnd.master') @section('title') @if (isset($invoiceInfo)) @lang('common.edit') @else @lang('common.add') @endif @lang('fees.fees_invoice') @endsection @section('mainContent') @push('css') @endpush
@if (isset($invoiceInfo)) {{ Form::open(['class' => 'form-horizontal', 'method' => 'POST', 'route' => 'fees.fees-invoice-update']) }} @else {{ Form::open(['class' => 'form-horizontal', 'method' => 'POST', 'route' => 'fees.fees-invoice-store']) }} @endif

@if (isset($invoiceInfo)) @lang('common.edit') @else @lang('common.add') @endif @lang('fees.fees_invoice')

@lang('fees.invoice')-  
@if (moduleStatusCheck('University')) @includeIf('university::common.session_faculty_depart_academic_semester_level', ['required' => ['USN', 'UD', 'UA', 'US', 'USL','USEC'],'hide'=> ['USUB'], 'div'=>'col-lg-12','row'=>1, 'mt'=>'mt-0' ])
{{ Form::select('student_id', @$students ?? [""=>__('common.select_student').'*'], isset($invoiceInfo) ? $invoiceInfo->student_id : null , ['class' => 'primary_select form-control'. ($errors->has('student_id') ? ' is-invalid' : ''), 'id'=>'select_un_student', isset($invoiceInfo) ? 'disabled' : '']) }}
loader
@if ($errors->has('student_id')) {{ @$errors->first('student_id') }} @endif
@else
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
@if ($errors->has('student')) {{ $errors->first('student') }} @endif
@endif
@if ($errors->has('create_date')) {{ $errors->first('create_date') }} @endif
@if ($errors->has('due_date')) {{ $errors->first('due_date') }} @endif
@if($errors->has('payment_status')) {{ $errors->first('payment_status') }} @endif
@if($errors->has('payment_method')) {{ $errors->first('payment_method') }} @endif
@if($errors->has('bank')) {{ $errors->first('bank') }} @endif
@php $tooltip = ""; @endphp

@lang('fees.fees_type_list')

@if($errors->has('fees_type')) {{ $errors->first('fees_type') }} @endif
@if(!isset($invoiceInfo)) @endif @if (isset($invoiceInfo)) @foreach ($invoiceDetails as $key=>$invoiceDetail) @if(!isset($invoiceDetail)) @endif @endforeach @endif @if(!isset($invoiceInfo)) @endif
@lang('common.sl') @lang('fees.fees_type') @lang('accounts.amount') @lang('fees.waiver') @lang('fees.sub_total')@lang('fees.paid_amount')@lang('common.action')
{{$invoiceDetail->feesType->name}}
@if ($errors->has('amount')) {{ $errors->first('amount') }} @endif
@if ($errors->has('weaver')) {{ $errors->first('weaver') }} @endif
{{isset($invoiceDetail)? $invoiceDetail->sub_total: ""}} {{-- Notes Modal Start --}} {{-- Notes Modal End --}}
@lang('exam.result') 0.00 0.00 0.000.00
{{ Form::close() }}
@endsection @include('backEnd.partials.date_picker_css_js') @push('script') @endpush