From 78f8d1e1c3257d225db9179c74a577b069700e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Thu, 29 Feb 2024 08:55:38 +0100 Subject: [PATCH] BugFix: barcodes were not reset while copying to another month --- app/lib/actions/monthActions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/actions/monthActions.ts b/app/lib/actions/monthActions.ts index 03dcea8..b8fc6b4 100644 --- a/app/lib/actions/monthActions.ts +++ b/app/lib/actions/monthActions.ts @@ -52,7 +52,8 @@ export const addMonth = withUser(async (user:AuthenticatedUser, { year, month }: paid: false, attachment: null, notes: null, - payedAmount: null + payedAmount: null, + barcodeImage: undefined, } as Bill }) } as BillingLocation);