Skip to content

Commit

Permalink
fix: uang muka error
Browse files Browse the repository at this point in the history
  • Loading branch information
malikfajr committed Aug 3, 2023
1 parent d7225d3 commit 84aa136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/PinjamController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PinjamController extends Controller
{
public function prosesPeminjaman(Request $request, $id) {
$validated = $request->validate([
'uang_muka' => 'required_if:status,dipinjam|numeric',
'uang_muka' => 'bail|required_if:status,dipinjam|integer',
'status' => 'required|in:dipinjam,ditolak,dikembalikan',
]);

Expand Down

0 comments on commit 84aa136

Please sign in to comment.