fix financial issues
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user