@extends('layouts.master') @section('title') {{ __('Edit Fees')}} @endsection @section('content')
@if($fees->fees_paid_count > 0)
{{__("Certain Fees modification are prohibited because some Parents have already Paid the Fees ")}}
@endif
@csrf

{{ __('Fees')}} : {{$fees->class->full_name}}


{!! Form::text('name', $fees->name, ['placeholder' => __('Name'), 'class' => 'form-control','required']) !!}

{{ __('Compulsory Fees') }}


{!! Form::text('amount', null, ['class' => 'form-control amount','placeholder' => __('enter').' '.__('fees').' '.__('amount'),'id' => 'amount', 'required' => true, 'min' => 0, "data-convert" => "number"]) !!}
{{ Form::text('due_date', $fees->due_date, ['id'=>'due_date','class' => 'datepicker-popup form-control', 'placeholder' => __('due_date'), 'required','autocomplete'=>'off']) }}
{{ Form::number('due_charges_percentage', $fees->due_charges, ['id'=>'due_charges_percentage','class' => 'form-control', 'placeholder' => __('due_charges'), 'required', 'min' => 0]) }}
{{ Form::number('due_charges_amount', $fees->due_charges_amount, ['id'=>'due_charges_amount','class' => 'form-control', 'placeholder' => __('due_charges'), 'required', 'min' => 0]) }}

{{ __('Fees Installment')}}


*
{{ Form::text('name', null, ['class' => 'form-control installment-name', 'placeholder' => __('installment') . ' ' . __('name'), 'required']) }}
{{ Form::text('due_date', null, ['class' => 'datepicker-popup form-control installment-due-date', 'placeholder' => __('due_date'),'autocomplete'=>'off' ,'required']) }}
{!! Form::text("due_charges",null, ["class" => "installment-due-charges form-control" , "placeholder" => trans('due_charges') , "required" => true , "data-convert" => "number", "min"=>0]) !!}

{{ __('Optional Fees') }}


{!! Form::text('amount', null, ['class' => 'form-control amount','placeholder' => __('enter').' '.__('fees').' '.__('amount'),'id' => 'amount', 'required' => true, 'min' => 0, "data-convert" => "number"]) !!}

@endsection @section('script') @endsection