From b50c2295a6df4a3a8c1153aadb82411d759f7034 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Mon, 3 Feb 2025 22:19:06 +0000 Subject: [PATCH] Add logic for showing quote attachments in the admin/tech side --- quote.php | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/quote.php b/quote.php index 816ea672..7b34f0db 100644 --- a/quote.php +++ b/quote.php @@ -108,6 +108,13 @@ if (isset($_GET['quote_id'])) { $json_products = json_encode($products); } + // Attachments + // Get Ticket Attachments + $sql_quote_attachments = mysqli_query( + $mysqli, + "SELECT * FROM quote_attachments WHERE quote_attachments.quote_attachment_quote_id = $quote_id" + ); + ?>