@extends('layouts.acc_layout') @section('title', '| View Vehicle Allowance Auto Voucher Authorization') @section('stylesheets') @endsection @section('content')
@if ($action =='forword')
Approve Vehicle Allowance Auto Voucher Authorization
@else
View Vehicle Allowance Auto Voucher Authorization
@endif
{!! Form::open(array('url' => '','id'=>'entryForm', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
User Information for the Month of {{date('M-Y', strtotime($monthlyLog->allowanceMonth))}}
Employee Designation Branch Mobile No.
{{substr($billEmpInfo->emp_id, 0, 5)}}-{{$billEmpInfo->emp_name_english}} {{$billEmpInfo->position_name}} {{$userBranchId}} {{$billEmpInfo->mobile}}
Vehicle No Meter Reading (K.M) Remarks
(Billing Distence K.M)
Previous Present Total Use Official Use Personal Use
{{ $userVehicleNo }} {{ $previousMeterReading }} {{ $monthlyLog->meterReading }} {{ $monthlyLog->meterReading - $previousMeterReading }} {{ $monthlyLog->meterReading - $previousMeterReading - $monthlyLog->personalUse }} {{ $monthlyLog->personalUse }} {{ $billingDistance }}

Bill Part
SL# Description Unit Total Amount
1 Official Use (K.M) {{ $billingDistance }} {{ number_format($monthlyLog->fuelCost, 2) }}
2 Mobil Expence 1 {{ number_format($monthlyLog->mobilCost, 2) }}
3 Servicing Charge 1 {{ number_format($monthlyLog->servicingCost, 2) }}
Total Amount {{ number_format($monthlyLog->fuelCost + $monthlyLog->mobilCost + $monthlyLog->servicingCost , 2) }}
Total Amount In Words {{$totalBillAmountInWords}}

Log Book Image:

@if ($action =='forword' && $isAllowApproval == true)
{!! Form::label('remarks', 'Remarks:', ['class' => 'control-label']) !!} (Optional) {!! Form::textarea('remarks', null, [ 'class' => 'form-control mini_textarea', 'placeholder' => 'Write something here...', 'style'=>"margin-bottom: 10px;" ]) !!}
@endif
{!! Form::label('submit', ' ', ['class' => 'col-sm-5 control-label']) !!}
@if ($action =='forword' && $isAllowApproval == true) {!! Form::submit('Approve', ['id' => 'add', 'class' => 'btn btn-info']) !!} Close @endif
{!! Form::close() !!} @include('gnr.tools.approvalConfig.approvalLogs')
@endsection