enhanced by codex

This commit is contained in:
Fiqh Pratama
2025-10-12 20:47:43 +07:00
parent 6b2e658070
commit 9375d2b45c
19 changed files with 556 additions and 187 deletions
@@ -432,13 +432,11 @@
</button>
</form>
<form action="{{ route('forms.entertainment.reject', $form->id) }}" method="POST" class="d-inline"onsubmit="return confirm('Are you sure you want to reject this form?');">
@csrf
@method('PUT')
<button type="submit" class="btn btn-danger btn-sm">
<button type="button"
class="btn btn-danger btn-sm open-reject-modal"
data-action="{{ route('forms.entertainment.reject', $form->id) }}">
Reject
</button>
</form>
@else
@if ($form->approved_at)
{{ \Carbon\Carbon::parse($form->approved_at)->locale('id')->isoFormat('D MMMM Y') }}
@@ -591,13 +589,11 @@
</button>
</form>
<form action="{{ route('forms.meeting.reject', $form->id) }}" method="POST" class="d-inline"onsubmit="return confirm('Are you sure you want to reject this form?');">
@csrf
@method('PUT')
<button type="submit" class="btn btn-danger btn-sm">
<button type="button"
class="btn btn-danger btn-sm open-reject-modal"
data-action="{{ route('forms.meeting.reject', $form->id) }}">
Reject
</button>
</form>
@else
@if ($form->approved_at)
{{ \Carbon\Carbon::parse($form->approved_at)->locale('id')->isoFormat('D MMMM Y') }}
@@ -748,13 +744,11 @@
</button>
</form>
<form action="{{ route('forms.other.reject', $form->id) }}" method="POST" class="d-inline"onsubmit="return confirm('Are you sure you want to reject this form?');">
@csrf
@method('PUT')
<button type="submit" class="btn btn-danger btn-sm">
Reject
</button>
</form>
<button type="button"
class="btn btn-danger btn-sm open-reject-modal"
data-action="{{ route('forms.other.reject', $form->id) }}">
Reject
</button>
@else
@if ($form->approved_at)
{{ \Carbon\Carbon::parse($form->approved_at)->locale('id')->isoFormat('D MMMM Y') }}