From 2b0b8575bf175f16ab2b20177592f6cea780a217 Mon Sep 17 00:00:00 2001 From: Daniel Stock Date: Mon, 24 Aug 2026 10:15:06 +0200 Subject: [PATCH] Fixed wrong conversion to integer for line item quantity. --- app/Models/LineItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/LineItem.php b/app/Models/LineItem.php index 59841d9..545dcee 100644 --- a/app/Models/LineItem.php +++ b/app/Models/LineItem.php @@ -22,7 +22,7 @@ class LineItem extends Model protected $casts = [ 'is_section' => 'boolean', - 'quantity' => 'integer', + 'quantity' => 'float', 'price' => 'decimal:2', ];