@extends('layouts.master') @section('title','Advance Salary') @section('action','View') @section('styles') @endsection @section('button') @endsection @section('styles') @endsection @section('main-content')
@include('admin.section.flash_message') @include('admin.payroll.advanceSalary.common.breadcrumb')

Advance Salary Detail

{!! $advanceSalaryDetail->description!!} @if(isset($attachments) && count($attachments) > 0 )
Proof Of Advance Salary Payment
@foreach($attachments as $key => $data) @if(in_array(pathinfo(asset(\App\Models\AdvanceSalaryAttachment::UPLOAD_PATH.$data->name), PATHINFO_EXTENSION),['jpeg','png','jpg']) )
document images

{{$data->name}}

@else @endif @endforeach
@endif
@if(!in_array($advanceSalaryDetail->status, ['approved','rejected'])) @include('admin.payroll.advanceSalary.edit_form') @endif
@endsection @section('scripts') @include('admin.payroll.advanceSalary.common.scripts') @endsection