From b8ebffc570470109955137160e1c1c7a43dd1a95 Mon Sep 17 00:00:00 2001 From: Suvodip Date: Thu, 3 Apr 2025 12:30:32 +0530 Subject: [PATCH] set default value in discount field --- customers/.hta_slug/generate-invoice.php | 6 +++--- customers/.hta_slug/list.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/customers/.hta_slug/generate-invoice.php b/customers/.hta_slug/generate-invoice.php index bbf22ca..8092d82 100644 --- a/customers/.hta_slug/generate-invoice.php +++ b/customers/.hta_slug/generate-invoice.php @@ -218,10 +218,10 @@ - + - + @@ -230,7 +230,7 @@ - + diff --git a/customers/.hta_slug/list.php b/customers/.hta_slug/list.php index bea5d7c..12b5640 100644 --- a/customers/.hta_slug/list.php +++ b/customers/.hta_slug/list.php @@ -2,7 +2,7 @@ require('../.hta_config/conf.php'); if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['delete'])) { - if (!empty($_POST['customerId']) && !empty($_POST['invoiceId'])) { + if (!empty($_POST['customerId'])) { $customerId = $_POST['customerId']; $invoiceId = $_POST['invoiceId'];