@extends('layouts.main') @section('title', 'Dashboard Andalan') @section('css') @php $dashboardCssPath = public_path('assets/css/dashboard.css'); $dashboardCssVersion = file_exists($dashboardCssPath) ? filemtime($dashboardCssPath) : time(); @endphp @endsection @section('navbarTitle', 'Attendances') @section('content') @include('layouts.breadcrumb', [ 'title' => 'Attendances', 'current' => 'Business Trip - Cash Advance', 'homeRoute' => 'dashboard', ]) @include('staff_attendance.layouts.profile-index')
Business Trip - Cash Advance

Request Cash Advance

Please submit your advance request at least 3 days before the funds are needed. Any unspent funds and valid receipts must be reported within 7 days after the trip concludes.

@csrf
@foreach (($businessTripCashAdvanceRows ?? collect()) as $cashAdvanceRowIndex => $cashAdvanceRow)
@if (! empty($cashAdvanceRow['attachment_url'])) Current attachment @endif
@endforeach

Approved By Finance
@foreach (($businessTripCashAdvanceRows ?? collect()) as $cashAdvanceRowIndex => $cashAdvanceRow) @php $cashAdvanceFinanceApproved = (bool) ($cashAdvanceRow['is_approved'] ?? false); @endphp
@endforeach
Back
@endsection @section('script') @php $dashboardJsPath = public_path('assets/js/dashboard.js'); $dashboardJsVersion = file_exists($dashboardJsPath) ? filemtime($dashboardJsPath) : time(); @endphp @endsection