allow and disallow multiple payment

This commit is contained in:
2025-09-27 08:41:13 +00:00
parent a0d8602bb9
commit fc26db1ce6
2 changed files with 3 additions and 3 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()">
<input type="number" id="inst_no" value="1" min="1" style="width:50px;" onchange="calculateFine()" Amount:>
<small>Total received:</small>
<input type="number" id="total_rec" value="'.$total_rec.'" style="width:50px;" onchange="calculateFine()" disabled>
</td>
@@ -110,7 +110,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;">