This commit is contained in:
Daeng Deni Mardaeni
2024-08-13 10:42:50 +07:00
parent a589711f7d
commit c31399e6a2
6 changed files with 18 additions and 18 deletions

View File

@@ -32,7 +32,7 @@
} catch (\Exception $e) {
return redirect()
->route('basicdata.jenis-jaminan.create')
->with('error', 'Failed to create province');
->with('error', 'Failed to create jenis jaminan');
}
}
}
@@ -63,7 +63,7 @@
} catch (\Exception $e) {
return redirect()
->route('basicdata.jenis-jaminan.edit', $id)
->with('error', 'Failed to update province');
->with('error', 'Failed to update jenis jaminan');
}
}
}
@@ -77,7 +77,7 @@
echo json_encode(['success' => true, 'message' => 'Jenis Jaminan deleted successfully']);
} catch (\Exception $e) {
echo json_encode(['success' => false, 'message' => 'Failed to delete province']);
echo json_encode(['success' => false, 'message' => 'Failed to delete jenis jaminan']);
}
}