<div class="modal fade" id="editAdd{{ $add->id_additional }}" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">

            <div class="modal-header">
                <h5 class="modal-title">Edit Additional</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>

            <form action="{{ route('admin.additional.update', $add->id_additional) }}" method="POST">
                @csrf
                @method('PUT')
                <div class="modal-body">
                    <div class="row">
                        <div class="col-12">

                            {{-- NAMA ADDITIONAL --}}
                            <div class="mb-2">
                                <label class="form-label">Nama Additional</label>
                                <input type="text" name="nama" {{-- WAJIB ADA NAME --}}
                                    class="form-control @error('nama') is-invalid @enderror" style="font-size: 14px;"
                                    placeholder="Masukkan Nama Additional" value="{{ old('nama', $add->nama) }}">
                                @error('nama')
                                    <div class="invalid-feedback">{{ $message }}</div>
                                @enderror
                            </div>

                            {{-- HARGA ADDITIONAL --}}
                            <div class="mb-2">
                                <label class="form-label">Harga Additional</label>
                                <input type="number" name="harga" {{-- WAJIB ADA NAME --}}
                                    class="form-control @error('harga') is-invalid @enderror" style="font-size: 14px;"
                                    placeholder="Masukkan Harga Additional" value="{{ old('harga', $add->harga) }}">
                                <p class="mb-0"><small class="text-muted mb-0">Dalam Rupiah</small></p>
                                @error('harga')
                                    <div class="invalid-feedback">{{ $message }}</div>
                                @enderror
                            </div>

                        </div>
                    </div>
                </div>
                <div class="modal-footer justify-content-end border-top-0 pt-0">
                    <button type="submit" class="btn btn-primary rounded-pill terima px-3 py-2">
                        Simpan
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>
