From 86bc6ed1a85a38b54bdf272420061486fe9296db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Tue, 26 Mar 2024 10:29:46 +0100 Subject: [PATCH] fix --- src/Fields/Transactions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fields/Transactions.php b/src/Fields/Transactions.php index 51b8fb8b..107b3fa8 100644 --- a/src/Fields/Transactions.php +++ b/src/Fields/Transactions.php @@ -59,7 +59,7 @@ public function fields(Request $request): array 'required', 'numeric', 'gt:0', - new TransactionAmount($transaction), + new TransactionAmount($transaction->fill(['type' => $request->input('type')])), ]; }),