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

@@ -199,7 +199,7 @@ function calculateAmount() {
<small>Total:</small>
<input type="text" class="total_amount" value="' . $total_amount . '" disabled style="width:50px;border:1px solid red">
<input type="hidden" name="allowMultiple" value="'.($row['allowMultiple'] == 0 ? 0 : 1).'">
<input type="submit" class="btn-info" value="Receive" onclick="sendData(event)">
</td>
</tr>
@@ -215,6 +215,7 @@ function calculateAmount() {
<small>Total:</small>
<input type="text" id="total_amount" value="'.$row['AA_INSTALLMENT'].'" disabled style="width:50px;">
<input type="hidden" id="hidden_total_amount" name="add_i" value="'.$row['AA_INSTALLMENT'].'">
<input type="hidden" name="allowMultiple" value="'.($row['allowMultiple'] == 0 ? 0 : 1).'">
<input type="submit" class="btn-info" value="Receive" onclick="sendData(event)">';
echo '</form></td></tr>';
}