@extends('layouts.main_without_top_button') @section('title') Route Profile:Loading Details @stop @section('navigation') @stop @section('contentinner')
Full Name: {{$trip_detail->driver}}
Truck No.: {{$trip_detail->truck}}
Destination.: {{$trip_detail->destination}}
Previous Balance: Tsh {{ number_format($driver->receivable_amount,2) }}
Current: Tsh {{ number_format($trip_detail->driver_loss_amount)}}
Total Loss: Tsh {{ number_format($driver->receivable_amount+$trip_detail->driver_loss_amount,2) }}
@if($loan_application)
{{--
--}}

Remarks: {{$loan_application->remarks}}

@foreach($loan_application->loanRecoveryPlans as $index=>$loan_recovery_plan) @endforeach
Recovery Method Recovery Amount Recovery Rate Activation Date
{{$loan_recovery_plan->plan_type}} {{number_format($loan_recovery_plan->amount,2)}} {{number_format($loan_recovery_plan->rate,2)}} {{\Carbon\Carbon::parse($loan_recovery_plan->start_date)->toFormattedDateString()}}
 
{{ csrf_field() }}
  • @if($loan_application->latest_progress->approval_chain_level_id == \Auth::user()->getMyApprovalLevel(9)) Approve @endif
{{--
--}}
@else

Recovery

@foreach($loan_recovery_methods as $loan_recovery_method) @endforeach
Method Recovery Amount Recovery Rate Start Date
@endif
@stop