perbaikan foto dan penambahan basic data foto objek jaminan, print-out
This commit is contained in:
@@ -80,6 +80,29 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (isset($header[1]) && $header[1] == 'foto-objek-jaminan')
|
||||
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
|
||||
<label class="form-label max-w-56">Form Kategori</label>
|
||||
<div class="flex flex-wrap items-baseline w-full">
|
||||
<select
|
||||
class="input tomselect w-full @error('kategori') border-danger bg-danger-light @enderror select2"
|
||||
name="kategori">
|
||||
|
||||
<option value="">Pilih Kategori</option>
|
||||
@foreach (['tanah', 'bangunan', 'kapal', 'kendaraan', 'mesin', 'pesawat', 'alat-berat', 'apartemen-kantor'] as $item)
|
||||
<option value="{{ $item }}"
|
||||
@if (isset($model) && $model->kategori == $item) {{ 'selected' }} @endif>
|
||||
{{ $item }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
@error('form_kategori')
|
||||
<em class="alert text-danger text-sm">{{ $message }}</em>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<div class="flex justify-end">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
|
||||
Reference in New Issue
Block a user