@extends('layouts.mobile.app') @section('content')
Edit Reimbursement
@csrf @method('PUT') {{-- Global Section --}}
Rincian Item Nota
{{-- Items Container --}}
@foreach($reimbursement->details as $index => $item)
@if($index > 0) @endif {{-- Row 1: Kategori --}}
@php $cur_jenis = $jenis_reimburse->where('kode_jenis_reimburse', $item->kode_jenis_reimburse)->first(); $limit = $cur_jenis ? $cur_jenis->limit_nominal : 0; @endphp @if($limit > 0) Plafon Maksimal: Rp {{ number_format($limit, 0, ',', '.') }} @endif
{{-- Row 2: Deskripsi --}}
{{-- Row 3: Nominal --}}
{{-- Row 4: Upload --}}
@endforeach
{{-- Summary card --}}
ESTIMASI TOTAL

Rp {{ number_format($reimbursement->total_nominal, 0, ',', '.') }}

{{-- Template for new rows --}} @endsection @push('myscript') @endpush