From 607915f0f1b10a7e03bf246cf2cae4a0a44976eb Mon Sep 17 00:00:00 2001 From: johnnyq Date: Mon, 9 Jan 2023 15:10:23 -0500 Subject: [PATCH] Added Recurring grand total to the bottom of Recurring income by client --- report_recurring_by_client.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/report_recurring_by_client.php b/report_recurring_by_client.php index a01d27c4..ca75956e 100644 --- a/report_recurring_by_client.php +++ b/report_recurring_by_client.php @@ -40,6 +40,7 @@ $sql_clients = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $s $recurring_yearly_total = $row['recurring_yearly_total'] / 12; $recurring_monthly = $recurring_monthly_total + $recurring_yearly_total; + $recurring_total = $recurring_total + $recurring_monthly; if($recurring_monthly > 0){ @@ -53,6 +54,10 @@ $sql_clients = mysqli_query($mysqli,"SELECT * FROM clients WHERE company_id = $s } } ?> + + Total + +