allow and disallow multiple payment

main
Subhodip Ghosh 2025-09-27 09:00:26 +00:00
parent fc26db1ce6
commit 0a68a91b0e
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ function calculateAmount() {
<small>Installment Amount:</small>
<input type="text" id="inst_amount" value="' . $row['AA_INSTALLMENT'] . '" style="width:50px;">
<small>No:</small>
<input type="number" id="inst_no" value="1" min="1" style="width:50px;" onchange="calculateFine()" Amount:>
<input type="number" id="inst_no" value="1" min="1" style="width:50px;" onchange="calculateFine()" >
<small>Total received:</small>
<input type="number" id="total_rec" value="'.$total_rec.'" style="width:50px;" onchange="calculateFine()" disabled>
</td>
@ -210,7 +210,7 @@ function calculateAmount() {
<small>Amount:</small>
<input type="text" id="show_amount" value="'.$row['AA_INSTALLMENT'].'" disabled style="width:50px;">
<small>No:</small>
<input type="number" id="inst_no" value="1" min="1" style="width:50px;" onchange="calculateAmount()">
<input type="number" id="inst_no" value="1" min="1" style="width:50px;" onchange="calculateAmount()" ' . ($row['allowMultiple'] == 0 ? 'readonly' : '') . '>
<input type="hidden" name="AA_ACNO" value="'.$row['AA_ACNO']. '">
<small>Total:</small>
<input type="text" id="total_amount" value="'.$row['AA_INSTALLMENT'].'" disabled style="width:50px;">