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

@@ -183,7 +183,11 @@ if (isset($_GET['quote_id'])) {
<i class="fa fa-fw fa-edit text-secondary 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="fa fa-fw fa-copy text-secondary mr-2"></i>Copy
</a>
<?php } ?>