@extends('layouts.main_without_top_button') @section('title', 'Route Profile: Loading Details') @section('navigation') @stop @section('contentinner')
LOSS DETAILS
Open Balance: {{ number_format($driver->previous_loss_balance) }}
Current: {{number_format($trip_detail->driver_loss_amount)}}
Total Loss: {{ number_format(($driver->previous_loss_balance+$trip_detail->driver_loss_amount)) }}
OTHER DETAILS
Driver: {{ $driver->full_name }}
Truck: {{ $trip_detail->truck }}
Destination.: {{$trip_detail->destination}}
SALARY RECOVERY
Amount: {{ number_format($employee_debt->getRecoveryPlanSalary('AMOUNT'), 0) }}
Start Month: {{ \Carbon\Carbon::parse($employee_debt->getRecoveryPlanSalary('START_DATE'))->format('M Y') }}
Monthly Deduction: {{ number_format($employee_debt->getRecoveryPlanSalary('MONTHLY_DEDUCTION'), 0) }}
CASH RECOVERY
Amount: {{ $employee_debt->getRecoveryPlanCash('AMOUNT') }}
Date: {{ $employee_debt->getRecoveryPlanCash('DATE') }}
MILEAGE RECOVERY
Amount: {{ $employee_debt->getRecoveryPlanMileage('AMOUNT') }}
Deduction Per Trip: {{ $employee_debt->getRecoveryPlanMileage('TRIP_DEDUCTION') }}
 
@stop