diff --git a/customers/.hta_slug/billing-details.php b/customers/.hta_slug/billing-details.php index 29788f3..c3aa1ca 100644 --- a/customers/.hta_slug/billing-details.php +++ b/customers/.hta_slug/billing-details.php @@ -72,8 +72,6 @@ } - - try { $stmt = $db->prepare("SELECT * FROM invoice WHERE customerId = :customerId AND invoiceId = :invoiceId"); $stmt->bindParam(':invoiceId', $_GET['invoiceId']); @@ -159,13 +157,14 @@ $frequency = $frequency !== null ? $frequency : 0; ?>
Customer Name:
Mobile Number:
Booking Date:
Invoice Id:
+Email:
Total Amount: $
diff --git a/customers/.hta_slug/change-password.php b/customers/.hta_slug/change-password.php new file mode 100644 index 0000000..5cb08e4 --- /dev/null +++ b/customers/.hta_slug/change-password.php @@ -0,0 +1,127 @@ + +setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); + + // Fetch input values + $customerId = $_GET['customerId']; + $newPassword = md5($_POST['new_password']); + $confirmPassword = md5($_POST['confirm_password']); + + if ($newPassword !== $confirmPassword) { + $message = 'Chnage 's password
+ +- EMI Details + Details Print | @@ -77,7 +77,7 @@No invoice available | - EMI Details + Details | Error: ' . $e->getMessage() . ''); } ?> +
Number of EMI | -EMI Amount | -EMI Date | +Installment | +Amount | +Date | Payment Status | Outstanding |
---|---|---|---|---|---|---|---|
= $emi['emiNumber']; ?> | $= number_format($emi['emiAmount'], 2); ?> | @@ -93,7 +110,7 @@ try {$= number_format($emi['outstanding'], 2); ?> |