Update Document dan Pemilik Jaminan

This commit is contained in:
Daeng Deni Mardaeni
2024-08-22 17:23:20 +07:00
parent 3fc9e8fd0c
commit e42681b1b6
9 changed files with 59 additions and 23 deletions

View File

@@ -13,7 +13,11 @@
{{ isset($pemilik->id) ? 'Edit' : 'Tambah' }} Pemilik Jaminan
</h3>
<div class="flex items-center gap-2">
<a href="{{ route('debitur.pemilik.index',$debitur->id) }}" class="btn btn-xs btn-info"><i class="ki-filled ki-exit-left"></i> Back</a>
@if(request()->get('document'))
<a href="{{ request()->get('from') == 'update-document' ? route('debitur.jaminan.edit',['id'=>$debitur->id,'jaminan'=>request()->get('document')]) : route('debitur.pemilik.index',$debitur->id) }}" class="btn btn-xs btn-info"><i class="ki-filled ki-exit-left"></i> Back</a>
@else
<a href="{{ request()->get('from') == 'create-document' ? route('debitur.jaminan.create',$debitur->id) : route('debitur.pemilik.index',$debitur->id) }}" class="btn btn-xs btn-info"><i class="ki-filled ki-exit-left"></i> Back</a>
@endif
</div>
</div>
<div class="card-body">
@@ -23,6 +27,10 @@
@endif
@csrf
@if(request()->get('from'))
<input type="hidden" name="from" value="{{ request()->get('from') }}">
@endif
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">
Debitur