From ce3264db040c5aec25394567b0207b1d93d3c769 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Fri, 20 Sep 2024 19:33:32 +0100 Subject: [PATCH] Recurring invoices - hide delete when active Adjust recurring invoices so they have to be made inactive to delete them --- client_recurring_invoices.php | 10 ++++++---- recurring_invoices.php | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/client_recurring_invoices.php b/client_recurring_invoices.php index f6403e99..57c24f1b 100644 --- a/client_recurring_invoices.php +++ b/client_recurring_invoices.php @@ -133,10 +133,12 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); Edit - - - Delete - + + + + Delete + + diff --git a/recurring_invoices.php b/recurring_invoices.php index 3f1094db..4a002f1c 100644 --- a/recurring_invoices.php +++ b/recurring_invoices.php @@ -161,10 +161,12 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); Edit - - - Delete - + + + + Delete + +