Compare commits
2 Commits
84fe0e5d18
...
ac11fbeaa6
| Author | SHA1 | Date | |
|---|---|---|---|
| ac11fbeaa6 | |||
| d2873ebcc1 |
@@ -83,7 +83,7 @@ class WalletsTable
|
|||||||
->maxLength(500)
|
->maxLength(500)
|
||||||
->rows(2),
|
->rows(2),
|
||||||
])
|
])
|
||||||
->action(function (Wallet $record, array $data, WalletService $walletService): void {
|
->action(function (Wallet $record, array $data, WalletService $walletService) use ($type): void {
|
||||||
$amount = (int) $data['amount'];
|
$amount = (int) $data['amount'];
|
||||||
$description = filled($data['description'] ?? null) ? $data['description'] : null;
|
$description = filled($data['description'] ?? null) ? $data['description'] : null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user