allow and disallow multiple payment

This commit is contained in:
2025-09-28 07:24:36 +00:00
parent 0a68a91b0e
commit e9f9f2b037
4 changed files with 101 additions and 17 deletions

View File

@@ -26,6 +26,7 @@ if (!isset($_SESSION['user_id']) || empty($_SESSION['user_id'])) {
<label for="INSTALLMENT_AMOUNT">Amount: </label>
<input id="INSTALLMENT_AMOUNT" name="add_i" class="form-control" type="text" placeholder="" />
</div>
<input id="ALLOW_MULTIPLE_FLAG" type="text" name="allowMultiple" value="">
<input class="btn btn-primary" type="submit" value="Receive Now" style="margin-top: 20px;" />
</form>
</div>
@@ -67,6 +68,7 @@ if (!isset($_SESSION['user_id']) || empty($_SESSION['user_id'])) {
document.getElementById("PAYMENT_RECEIVE_FORM").style.display = "block";
document.getElementById("ACCOUNT_NUMBER").value = data.data[0].AA_ACNO;
document.getElementById("ACCOUNT_HOLDER_NAME").value = data.data[0].AA_NAME;
document.getElementById("ALLOW_MULTIPLE_FLAG").value = data.data[0].allowMultiple;
const input = document.getElementById("INSTALLMENT_AMOUNT");