From 0ad9682bc53556cd737363719be32f89f92c236d Mon Sep 17 00:00:00 2001 From: James Chapman Date: Fri, 11 Aug 2023 16:24:00 +0100 Subject: [PATCH] Change items to be optional when adding promotion --- Groceries/Transactions/_TransactionPromotionForm.cshtml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Groceries/Transactions/_TransactionPromotionForm.cshtml b/Groceries/Transactions/_TransactionPromotionForm.cshtml index d8148f6..ff65043 100644 --- a/Groceries/Transactions/_TransactionPromotionForm.cshtml +++ b/Groceries/Transactions/_TransactionPromotionForm.cshtml @@ -28,8 +28,11 @@
- - @foreach (var item in Model.Transaction.Items) {