mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Migrated project, transfer and quote edit to the new AJAX modal function
This commit is contained in:
11
quotes.php
11
quotes.php
@@ -199,7 +199,11 @@ $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="modal" onclick="populateQuoteEditModal(<?php echo $quote_id ?>)" data-target="#editQuoteModal">
|
||||
<a class="dropdown-item" href="#"
|
||||
data-toggle = "ajax-modal"
|
||||
data-ajax-url = "ajax/ajax_quote_edit.php"
|
||||
data-ajax-id = "<?php echo $quote_id; ?>"
|
||||
>
|
||||
<i class="fas fa-fw fa-edit mr-2"></i>Edit
|
||||
</a>
|
||||
<?php if (lookupUserPermission("module_sales") >= 2) { ?>
|
||||
@@ -228,7 +232,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
|
||||
require "modals/quote_copy_modal.php";
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -244,8 +247,4 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
<?php
|
||||
|
||||
require_once "modals/quote_add_modal.php";
|
||||
|
||||
require_once "modals/quote_edit_modal.php";
|
||||
|
||||
require_once "includes/footer.php";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user