From ff9b3adfd13365f7d8b693a946a4286a4a546abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Werner=20Krau=C3=9F?= Date: Tue, 3 Sep 2024 10:37:57 +0200 Subject: [PATCH] Payment: cast Amount as Currency (#245) fixes #244 --- src/Model/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Payment.php b/src/Model/Payment.php index 9644041..0263cff 100644 --- a/src/Model/Payment.php +++ b/src/Model/Payment.php @@ -65,7 +65,7 @@ final class Payment extends DataObject implements PermissionProvider ]; private static $casting = [ - 'Amount' => 'Decimal' + 'Amount' => 'Currency' ]; private static $summary_fields = [