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

@@ -171,7 +171,11 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
>
<i class="fas fa-fw fa-edit mr-2"></i>Edit
</a>
<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?client_id=<?php echo $client_id; ?>"
data-ajax-id = "<?php echo $quote_id; ?>"
>
<i class="fas fa-fw fa-copy mr-2"></i>Copy
</a>
<div class="dropdown-divider"></div>
@@ -191,8 +195,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
<?php
require "modals/quote_copy_modal.php";
}
?>