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:
10
quote.php
10
quote.php
@@ -175,7 +175,11 @@ if (isset($_GET['quote_id'])) {
|
||||
<i class="fas fa-ellipsis-v"></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="fa fa-fw fa-edit text-secondary mr-2"></i>Edit
|
||||
</a>
|
||||
<?php if (lookupUserPermission("module_sales") >= 2) { ?>
|
||||
@@ -532,12 +536,8 @@ if (isset($_GET['quote_id'])) {
|
||||
</div>
|
||||
|
||||
<?php
|
||||
require_once "modals/quote_edit_modal.php";
|
||||
|
||||
require_once "modals/quote_to_invoice_modal.php";
|
||||
|
||||
require_once "modals/quote_copy_modal.php";
|
||||
|
||||
require_once "modals/quote_note_modal.php";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user