@extends('portal.layout.app') @section('content')
HR Services / Expenses / Application Detail
Expense Basic Summary
Personal Information
Employee Name:
{{$data['expense']->name}}
Employee Code:
{{$data['expense']->empcode}}
Department:
{{$data['expense']->department_name}}
Designation:
{{$data['expense']->designation}}
Expense Basic Summary
@csrf
@if (isset($data['expense']->tar_detail_id) && $data['expense']->tar_detail_id + 0 > 0)
@if ($data['expense']->tar_adv_amt + 0 == 0)
@else
@endif @else @php if($data['expense']->tar_adv_amt){ $var = number_format($data['expense']->tamount + 0 - $data['expense']->tar_adv_amt + 0, 0, ".", ","); } else{ $var = number_format($data['expense']->tamount + 0, 0, ".", ","); } @endphp
@endif
@if (isset($data['expense']->tar_adv_amt) && $data['expense']->tar_adv_amt + 0 > 0) @endif
@if ($data['edit'] > 0) @foreach ($data['expense_detail'] as $key => $expense_detail)
@if (($expense_detail->id + 0) > 0) @else @endif
@endforeach @endif
Approval Details
@foreach($data['approval_queue'] as $approval_queue) @endforeach
{{$approval_queue->role}} Name: ( {{$approval_queue->line_manager}})
@if ($approval_queue->status == 1) Pending @elseif ($approval_queue->status == 2) Approved @elseif ($approval_queue->status == 3) Disapproved @endif
Dated:
{{ dateFromat($approval_queue->date) }}
{{$approval_queue->role}} Comments:
{{$approval_queue->comments}}
@endsection @section('scripts') @endsection