From 541bd9e0cab8da9ec054e7e7e2df27dca396ff2a Mon Sep 17 00:00:00 2001 From: o-psi Date: Thu, 19 Oct 2023 13:56:01 -0500 Subject: [PATCH] add discount to model --- post/invoice_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/post/invoice_model.php b/post/invoice_model.php index 40fad24a..0bf5c255 100644 --- a/post/invoice_model.php +++ b/post/invoice_model.php @@ -2,3 +2,4 @@ $date = sanitizeInput($_POST['date']); $category = intval($_POST['category']); $scope = sanitizeInput($_POST['scope']); +$invoice_discount = floatval($_POST['invoice_discount']); \ No newline at end of file