fix financial issues

This commit is contained in:
root
2026-06-01 02:08:27 -04:00
parent 090cb88573
commit 6444b61416
56 changed files with 4196 additions and 1824 deletions
+2 -3
View File
@@ -91,10 +91,9 @@
<td><?= esc($payment['status']) ?></td>
<td>
<?php if (!empty($payment['check_file'])): ?>
<?php $file = rawurlencode((string)$payment['check_file']); ?>
<!-- Trigger Modal -->
<a href="#" data-bs-toggle="modal" data-bs-target="#checkModal<?= (int)$payment['id'] ?>">View</a> /
<a href="<?= base_url('payment/serveCheckFile/' . $file . '/download') ?>">Download</a>
<a href="<?= base_url('payment/file/' . (int) $payment['id'] . '/download') ?>">Download</a>
<!-- Modal -->
<div class="modal fade" id="checkModal<?= (int)$payment['id'] ?>" tabindex="-1" aria-hidden="true">
@@ -105,7 +104,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body text-center">
<iframe src="<?= base_url('payment/serveCheckFile/' . $file . '/inline') ?>"
<iframe src="<?= base_url('payment/file/' . (int) $payment['id'] . '/inline') ?>"
width="100%" height="600px" style="border:none;"></iframe>
</div>
</div>