set default value in discount field

This commit is contained in:
Suvodip
2025-04-03 12:30:32 +05:30
parent b292b5f9aa
commit b8ebffc570
2 changed files with 4 additions and 4 deletions

View File

@@ -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'];