Merge branch 'staging' of https://git.putrakuningan.com/daengdeni/lpj into andydev

This commit is contained in:
Andy Chaerudin
2024-11-06 16:15:07 +07:00
4 changed files with 58 additions and 101 deletions

View File

@@ -108,7 +108,6 @@
public function update(PermohonanRequest $request, $id)
{
$validate = $request->validated();
if ($validate) {
try {
// Update in database
@@ -116,6 +115,7 @@
if ($permohonan->status == 'revisi') {
$validate['status'] = 'order';
}
$permohonan->update($validate);
return redirect()
->route('permohonan.index')->with('success', 'Permohonan updated successfully');