mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 11:24:52 +00:00
Finished Consolidating the remaining user modals to modals/ENTITY removed ajax_ and _modal prefixes from file names and use new ajax-modal syntax
This commit is contained in:
@@ -143,12 +143,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="#"
|
||||
data-toggle = "ajax-modal"
|
||||
<a class="ajax-modal" href="#"
|
||||
data-modal-size = "lg"
|
||||
data-ajax-url = "ajax/ajax_revenue_edit.php"
|
||||
data-ajax-id = "<?php echo $revenue_id; ?>"
|
||||
>
|
||||
data-modal-url = "modals/revenue/revenue_edit.php?id=<?= $revenue_id ?>">
|
||||
<?php echo $revenue_date; ?>
|
||||
</a>
|
||||
</td>
|
||||
@@ -163,11 +160,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
<i class="fas fa-ellipsis-h"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="#"
|
||||
data-toggle = "ajax-modal"
|
||||
<a class="dropdown-item ajax-modal" href="#"
|
||||
data-modal-size = "lg"
|
||||
data-ajax-url = "ajax/ajax_revenue_edit.php"
|
||||
data-ajax-id = "<?php echo $revenue_id; ?>"
|
||||
data-modal-url = "modals/revenue/revenue_edit.php?id=<?= $revenue_id ?>"
|
||||
>
|
||||
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
||||
</a>
|
||||
@@ -192,5 +187,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
|
||||
<?php
|
||||
|
||||
require_once "modals/revenue_add_modal.php";
|
||||
require_once "modals/revenue/revenue_add.php";
|
||||
require_once "../includes/footer.php";
|
||||
|
||||
Reference in New Issue
Block a user