@extends('backEnd.master') @section('title') @lang('bulkprint::bulk.fees_bulk_print') @endsection @section('mainContent') @php $setting = generalSetting(); if(!empty($setting->currency_symbol)){ $currency = $setting->currency_symbol; }else{ $currency = '$'; } @endphp

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'fees-bulk-print-search', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_student']) }}
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
{{ Form::close() }}
@if(isset($fees_payments))

@lang('bulkprint::bulk.fees_collection_details')

@php $grand_amount = 0; $grand_total = 0; $grand_discount = 0; $grand_fine = 0; $total = 0; @endphp @foreach($fees_payments as $students) @foreach($students as $fees_payment) @php $total = 0; @endphp @endforeach @endforeach
@lang('fees.payment_id') @lang('common.date') @lang('common.name') @lang('common.class') @lang('fees.fees_type') @lang('bulkprint::bulk.mode') @lang('accounts.amount') @lang('fees.fine') @lang('exam.result')
{{$fees_payment->fees_type_id.'/'.$fees_payment->id}} {{$fees_payment->payment_date != ""? dateConvert($fees_payment->payment_date):''}} {{$fees_payment->studentInfo !=""?$fees_payment->studentInfo->full_name:""}} @if($fees_payment->studentInfo!="" && $fees_payment->studentInfo->class!="") {{$fees_payment->studentInfo->class->class_name}} @endif {{$fees_payment->feesType!=""?$fees_payment->feesType->name:""}} {{@$fees_payment->payment_mode}} @php $total = $total + $fees_payment->amount; $grand_amount = $grand_amount + $fees_payment->amount; echo currency_format($fees_payment->amount); @endphp @php $total = $total + $fees_payment->fine; $grand_fine = $grand_fine + $fees_payment->fine; echo currency_format($fees_payment->fine); @endphp @php $grand_total = $grand_total + $total; echo currency_format($total); @endphp
@lang('accounts.grand_total') {{currency_format($grand_amount)}} {{currency_format($grand_fine)}} {{currency_format($grand_total)}}
@endif
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_range_picker_css_js')