@extends('layouts.app') @section('title') Dashboard @endsection @section('admin-content')

Edit Expense Vehicle Running Cost

@csrf @method('PUT') @include('backend.layouts.partials.messages')
{{-- Updated: Expense Type dropdown with name="type" and $form->type for selection --}}
{{-- Wrap gasoline-specific fields with .gasoline-fields --}}
{{-- Wrap gasoline-specific fields with .gasoline-fields --}}

Gunakan tombol preview untuk melihat lampiran.

@forelse ($attachments as $attachment) @empty @endforelse
Kategori Nama File Preview Aksi
{{ $attachment['file_category'] ? ucwords(str_replace('_', ' ', $attachment['file_category'])) : '-' }} {{ $attachment['filename'] ?? basename($attachment['file_path']) }} Download @if($attachment['can_delete']) @endif
Belum ada lampiran.

Maksimal 10 MB per file. Semua tipe file diperbolehkan kecuali .exe, .bat, .sh, .cmd, .dll, dan .msi.

Kategori Lampiran Preview Aksi
Belum ada lampiran baru.
@include('backend.components.attachment-preview-modal', [ 'modalId' => 'vehicleExistingAttachmentPreviewModal', 'title' => 'Preview Lampiran', ]) @include('backend.components.attachment-preview-modal', [ 'modalId' => 'vehicleNewAttachmentPreviewModal', 'title' => 'Preview Lampiran', ])

Submitting, please wait...

@endsection