@extends('layouts.adminapp') @section('title') {{ __('lng.VehiclePayFee') }} - {{ __('lng.PayAmount') }} @endsection @section('active_student_vehicle', 'active') @section('open_student_vehicle', 'open') @section('active_vehicle_pay_fee', 'active') @section('content')

{{ __('lng.PayAmount') }}

{{ $Student->name }}
{{ __('lng.Back') }}

{{ $Student->place }} {{ $Student->mobile }} {{ $Student->Class->title ?? '' }} {{ $StudentVehicleRouteAssign->Vehicle->name ?? '' }}

@if ($Balance > 0)

{{ __('lng.BalanceAmount') }}

@currency($Balance)

@else

{{ __('lng.AdvanceAmount') }}

@currency(abs($Balance))

@endif

{{ __('lng.BatchYear') }}

{{ $Student->batch_year }}

{{ __('lng.Route') }}

{{ $StudentVehicleRouteAssign->Route->title ?? '' }}

{{ __('lng.PayFeeDetails') }}
@php $si = 0; $PayAmout = $PayedAmounts; @endphp @foreach ($VehicleSetFees as $SetFee) @php $month = date('F-Y', strtotime($SetFee->month)); $PayAmout -= $SetFee->total_amount; @endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Month') }} {{ __('lng.Amount') }} {{ __('lng.Paid') }}
{{ ++$si }} {{ $month }} @currency($SetFee->amount + $SetFee->additional_charge) = 0) checked @endif readonly>
{{ __('lng.PayHistory') }}
@php $si=0; @endphp @foreach ($VehiclePayFees as $PayFee) @php $Date = date("d-m-y",strtotime($PayFee->date));@endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Date') }} {{ __('lng.PayAmount') }} {{ __('lng.Action') }}
{{ ++$si }} {{ $Date }} @currency($PayFee->amount)
@csrf @method('delete')
@endsection