@extends('core::layouts.master') @section('title') {{trans_choice('loan::general.collection_sheet',1)}} @endsection @section('content')
{{trans_choice('general.reset',1)}}!
@if(!empty($start_date))
@if(!empty($data->first()->custom_fields)) @foreach($data->first()->custom_fields as $k=>$v) @endforeach @endif @foreach($data as $key) @if(!empty($key->custom_fields)) @foreach($key->custom_fields as $v) @endforeach @endif @endforeach
@if(!empty($data->first()) && !empty($branch_id)) {{trans_choice('core::general.branch',1)}}: {{$data->first()->branch}} @endif @if(!empty($data->first()) && !empty($loan_product_id)) {{trans_choice('loan::general.product',1)}}: {{$data->first()->loan_product}} @endif @if(!empty($data->first()) && !empty($loan_officer_id)) {{trans_choice('loan::general.officer',1)}}: {{$data->first()->loan_officer}} @endif {{trans_choice('core::general.start_date',1)}}: {{$start_date}} {{trans_choice('core::general.end_date',1)}}: {{$end_date}}
{{trans_choice('loan::general.loan',1)}} {{trans_choice('loan::general.officer',1)}} {{trans_choice('core::general.branch',1)}} {{trans_choice('client::general.client',1)}} {{trans_choice('core::general.mobile',1)}} {{trans_choice('loan::general.loan',1)}}# {{trans_choice('loan::general.product',1)}}{{$k}}{{ trans_choice('loan::general.expected',1) }} {{ trans_choice('loan::general.maturity',1) }} {{ trans_choice('core::general.date',1) }} {{trans_choice('loan::general.repayment',1)}} {{ trans_choice('core::general.date',1) }} {{ trans_choice('loan::general.expected',1) }} {{trans_choice('loan::general.amount',1)}} {{ trans_choice('loan::general.total',1) }} {{trans_choice('loan::general.due',1)}}
{{ $key->loan_officer }} {{ $key->branch }} {{$key->client}} {{ $key->mobile }} {{ $key->loan_id }} {{ $key->loan_product }}{{$v}}{{ $key->expected_maturity_date }} {{ $key->due_date }} {{ number_format( $key->expected_amount,2) }} {{ number_format( $key->total_due,2) }}
{{trans_choice('core::general.total',1)}} {{number_format($total_expected_amount,2)}} {{number_format($total_due,2)}}
@endif
@endsection @section('scripts') @endsection