@push('css') @endpush

@lang('fees::feesModule.add_fees_payment')

@if (isset($role) && $role =='admin') {{ Form::open(['class' => 'form-horizontal', 'method' => 'POST', 'route' => 'fees.fees-payment-store', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open(['class' => 'form-horizontal', 'method' => 'POST', 'route' => 'fees.student-fees-payment-store', 'id'=>'addFeesPayment','enctype' => 'multipart/form-data']) }} @if (isset(Auth::user()->wallet_balance)) @endif @endif

@lang('student.student_details')

@lang('student.student_name')
{{$invoiceInfo->studentInfo->full_name}}
@lang('student.admission_number')
{{$invoiceInfo->studentInfo->admission_no}}
@lang('student.roll_number')
{{$invoiceInfo->recordDetail->roll_no}}
@lang('common.class')
{{$invoiceInfo->recordDetail->class->class_name}}
@lang('common.section')
{{$invoiceInfo->recordDetail->section->section_name}}
@if (isset($role) && $role =='admin')
@lang('wallet::wallet.wallet_balance')
{{currency_format(@$invoiceInfo->studentInfo->user->wallet_balance)}}
@else @if (isset(Auth::user()->id))
@lang('wallet::wallet.wallet_balance')
{{(Auth::user()->wallet_balance != null) ? currency_format(Auth::user()->wallet_balance): currency_format(0.00)}}
@endif @endif
@lang('wallet::wallet.add_in_wallet')
{{ currency_format(0.00) }}
@if($errors->has('payment_method')) {{ $errors->first('payment_method') }} @endif
@if($errors->has('bank')) {{ $errors->first('bank') }} @endif
upload_file):trans('common.file').''}}" id="placeholderUploadContent"> @if ($errors->has('file')) {{ $errors->first('file') }} @endif
(JPG, JPEG, PNG, PDF are allowed for upload) @if ($errors->has('upload_event_image')) {{ $errors->first('upload_event_image') }} @endif
@if ($errors->has('name_on_card')) {{ $errors->first('name_on_card') }} @endif
@if ($errors->has('card-number')) {{ $errors->first('card-number') }} @endif
@if ($errors->has('card-cvc')) {{ $errors->first('card-cvc') }} @endif
@if ($errors->has('card-expiry-month')) {{ $errors->first('card-expiry-month') }} @endif
@if ($errors->has('card-expiry-year')) {{ $errors->first('card-expiry-year') }} @endif
@if (moduleStatusCheck('MercadoPago') == true) @include('mercadopago::form.userForm',['student_id' => $invoiceInfo->recordDetail->id, 'invoice_id' => $invoiceInfo->id,'fees'=>true]) @endif

@lang('fees::feesModule.fees_type_list')

@if (isset($invoiceInfo)) @foreach ($invoiceDetails as $key=>$invoiceDetail) {{-- Notes Modal Start --}} {{-- Notes Modal End --}} @endforeach @endif
@lang('common.sl') @lang('fees::feesModule.fees_type') @lang('accounts.amount') @lang('fees::feesModule.due') @lang('fees::feesModule.paid_amount') @lang('exam.waiver') @lang('fees::feesModule.fine') @lang('common.action')
{{@$invoiceDetail->feesType->name}}
@if ($errors->has('amount')) {{ $errors->first('amount') }} @endif
@if (isset($role) && $role == 'admin')
@else @endif
@if (isset($role) && $role == 'admin') @else @endif
{{ Form::close() }}
@if(moduleStatusCheck('RazorPay')) @endif