@extends('admin.layout.master') @section('content') @section('custom_style') {{-- --}} @endsection @include('flash-message')
{{__('obs.advance_list')}}
{{__('obs.add_advance')}}
{{-- --}} @if(!empty($advances)) @foreach ($advances as $l) @endforeach @endif
{{__('obs.name')}} {{__('obs.code')}} {{__('obs.department')}} {{__('obs.amount')}} {{__('obs.due')}} {{__('obs.apply_date')}} {{__('obs.start_date')}}Status{{__('obs.action')}}
{{$l->empinfo->emp_name ?? null}} {{$l->empinfo->emp_code ?? null}} {{$l->empinfo->fetch_department->name ?? null}} {{$l->amount}} {{$l->amount - $l->total_installment_amount}} {{date('d-m-Y', strtotime($l->application_date))}} {{$l->start_month ? date('F-Y', strtotime($l->start_month)) : null}}
@if ($l->approve_status == 2) @endif @if($l->approve_status==1) @if($l->start_month) {!! getApprovalInputField($l->id,$action_id) !!} @endif @else @endif {{__('obs.edit')}} @if ($l->approve_status == 2) @endif @if ($l->approve_status == 5) @endif
@include('payroll.loan_advance.advance.advance_approve_modal') @endsection @section('script') {{-- --}} @endsection