From 46c4a62046f82dbe48e39284b7df7240dbc48a46 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 14 Jul 2025 17:36:03 -0400 Subject: [PATCH] Converted add payment to a dropdown under invoice to allow for the standard manaual add payment and to pay with a saved card or by entering a card manully --- ajax/ajax_invoice_pay.php | 2 +- includes/inc_xcustom.php | 13 +++++++++++++ invoice.php | 38 +++++++++++++++++++++++++++++++------- tickets.php | 12 ++++++------ 4 files changed, 51 insertions(+), 14 deletions(-) create mode 100644 includes/inc_xcustom.php diff --git a/ajax/ajax_invoice_pay.php b/ajax/ajax_invoice_pay.php index e4e4563b..eb9c5213 100644 --- a/ajax/ajax_invoice_pay.php +++ b/ajax/ajax_invoice_pay.php @@ -132,7 +132,7 @@ ob_start(); diff --git a/includes/inc_xcustom.php b/includes/inc_xcustom.php new file mode 100644 index 00000000..9a627ebd --- /dev/null +++ b/includes/inc_xcustom.php @@ -0,0 +1,13 @@ + - - Add Payment - + +
+ + + +
+ Pay via Payment Provider diff --git a/tickets.php b/tickets.php index 3826dcd5..8e4b394d 100644 --- a/tickets.php +++ b/tickets.php @@ -199,12 +199,12 @@ $sql_categories_filter = mysqli_query( -
+
-
+
- +
-
+
-
+