@extends('layouts/acc_layout') @section('title', '| Vehicle Allowance Configuration') @section('content') @include('successMsg')

Vehicle Allowance Configuration List

@foreach ($vehicleAllowanceConfigs as $vehicleAllowanceConfig) @php $recordExists = DB::table('acc_vehicle_allowance_monthly_log') ->where('designationIdFk', $vehicleAllowanceConfig->designationId) ->where('status', 1) ->where('softDel', 0) ->value('id'); @endphp @endforeach
SL# Company Project Project Type Designation Allowance Method Effective Date Action
{{ ++$no }} {{ $vehicleAllowanceConfig->companyName }} {{ $vehicleAllowanceConfig->projectCode }} - {{ $vehicleAllowanceConfig->projectName }} {{ $vehicleAllowanceConfig->projectTypeCode }} - {{ $vehicleAllowanceConfig->projectTypeName }} {{ $vehicleAllowanceConfig->designation }} {{ $vehicleAllowanceConfig->allowanceMethod == 'MeterReadingWise' ? 'Meter Reading Wise' : 'Fixed' }} {{ date ('d-m-Y', strtotime($vehicleAllowanceConfig->effectiveDate)) }}   @if(!$recordExists)   @endif
@endsection