remove legacy quote copy modal, dont show client selection in quote copy when copying quote from within client section

This commit is contained in:
johnnyq
2025-02-16 23:55:59 -05:00
parent ccec330ceb
commit b0a79c1b6f
5 changed files with 96 additions and 71 deletions

View File

@@ -207,7 +207,11 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
<i class="fas fa-fw fa-edit mr-2"></i>Edit
</a>
<?php if (lookupUserPermission("module_sales") >= 2) { ?>
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#addQuoteCopyModal<?php echo $quote_id; ?>">
<a class="dropdown-item" href="#"
data-toggle = "ajax-modal"
data-ajax-url = "ajax/ajax_quote_copy.php"
data-ajax-id = "<?php echo $quote_id; ?>"
>
<i class="fas fa-fw fa-copy mr-2"></i>Copy
</a>
<?php if (!empty($config_smtp_host)) { ?>
@@ -230,8 +234,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
<?php
require "modals/quote_copy_modal.php";
}
?>