@extends('backend.layouts.app') @section('content')
Summaray of Coach Payment
@if(sizeof($coach_list)>0) @foreach($coach_list as $list) @endforeach @endif @if(sizeof($date_range)>0) @foreach($date_range as $key=>$value) @if(sizeof($coach_list)>0) @foreach($coach_list as $list) @endforeach @endif @endforeach @endif @if(sizeof($coach_list)>0) @foreach($coach_list as $list) @endforeach @endif @if(sizeof($coach_list)>0) @foreach($coach_list as $list) @endforeach @endif @if(sizeof($coach_list)>0) @foreach($coach_list as $list) @endforeach @endif @if(sizeof($coach_list)>0) @foreach($coach_list as $list) @endforeach @endif
SL Date{{ $list->course_name }} -BDT
{{ ++$sl1 }} {{ date('d M Y',strtotime($value)) }}{{ App\Drivingrangeservice::getTotalTrainingPaymentByDate($value,$value,$list->id) }}
Grand Total: {{ App\Drivingrangeservice::getTotalTrainingPaymentByDate (date('Y-m-d',strtotime($date_from)),date('Y-m-d',strtotime($date_to)),$list->id) }}
AGC (0%): {{ getPercentage(App\Drivingrangeservice::getTotalTrainingPaymentByDate (date('Y-m-d',strtotime($date_from)),date('Y-m-d',strtotime($date_to)),$list->id) ,0) }}
Contractor (0%): {{ getPercentage(App\Drivingrangeservice::getTotalTrainingPaymentByDate (date('Y-m-d',strtotime($date_from)),date('Y-m-d',strtotime($date_to)),$list->id) ,0) }}
Coach (100%): {{ getPercentage(App\Drivingrangeservice::getTotalTrainingPaymentByDate (date('Y-m-d',strtotime($date_from)),date('Y-m-d',strtotime($date_to)),$list->id) ,100) }}
Summaray of Coach Payment Distribution
@if(sizeof($date_range)>0) @foreach($date_range as $key=>$value) @endforeach @endif
SL Date Total AGC (0%) Contractor (0%) Coach (100%)
{{ ++$sl2 }} {{ date('d M Y',strtotime($value)) }} {{ App\Drivingrangeservice::getTotalPaymentByDateTraining($value,$value) }} {{ getPercentage(App\Drivingrangeservice::getTotalPaymentByDateTraining($value,$value),0) }} {{ getPercentage(App\Drivingrangeservice::getTotalPaymentByDateTraining($value,$value),0) }} {{ getPercentage(App\Drivingrangeservice::getTotalPaymentByDateTraining($value,$value),100) }}
@endsection @section('page_script') @endsection