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

@@ -215,10 +215,10 @@
<th style='vertical-align: middle;'>Recurring A/C of ".$row["AA_NAME"]. "</th>
<td style='vertical-align: middle; text-align: right;'>
<form method='post' style='display: inline;'>
" . ($isMatured ? "<br/><span>Matured on: " . date('d-m-Y', strtotime($row["CLOSING_DATE"])) . "</span>" : "") . "
<input type='hidden' name='maturity_acno' value='".$row["AA_ACNO"]."'>
<input type='hidden' name='maturity_action' value='".($isMatured ? 'unmature' : 'mature')."'>
<button type='submit' name='recurring_maturity_submit' class='btn " . ($isMatured ? 'btn-warning' : 'btn-info') . "'>" . ($isMatured ? 'Mark as Active' : 'Mark as Matured') . "</button>
" . ($isMatured ? "<br/><span>Matured on: " . date('d-m-Y', strtotime($row["CLOSING_DATE"])) . "</span>" : "") . "
</form>";
if (isset($_SESSION['type']) && $_SESSION['type'] === 'admin') {
echo "