From f8a27355d4d4fe957e5621b9a2df7b3576934a0e Mon Sep 17 00:00:00 2001 From: James Richie Date: Wed, 29 Jul 2026 21:17:55 -0400 Subject: [PATCH] modified Active User Subscription report to show description and start and end dates --- reports/Print_ActiveUserSubscriptions.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reports/Print_ActiveUserSubscriptions.php b/reports/Print_ActiveUserSubscriptions.php index e1caea5..6953235 100644 --- a/reports/Print_ActiveUserSubscriptions.php +++ b/reports/Print_ActiveUserSubscriptions.php @@ -98,6 +98,7 @@ class ActiveUserSubscriptions extends TCPDF { $user_serial = (integer) $user->user_serial; $subscriptions = (new Subscriptions())->getUsersActiveSubscriptions($user_serial); + $this->SetFont("Calibri", "B", 10); $this->Cell(25, 0, "Name:", 0, 0, "L", false, "", 3); $this->SetFont("Calibri", "", 10); @@ -174,8 +175,8 @@ class ActiveUserSubscriptions extends TCPDF { $this->SetFont("Calibri", "B", 10); $this->Cell(75, 0, "Description", "B", 0, "L", false, "", 3); + $this->Cell(20, 0, "Start Date", "B", 0, "L", false, "", 3); $this->Cell(20, 0, "End Date", "B", 0, "L", false, "", 3); - $this->Cell(10, 0, "Status", "B", 0, "L", false, "", 3); $this->SetFont("Calibri", "", 10); @@ -188,9 +189,9 @@ class ActiveUserSubscriptions extends TCPDF { foreach ($subscriptions as $subscription) { - $this->Cell(75, 0, $subscription->subscription_title . " " . $subscription->subscription_description, 0, 0, "L", false, "", 3); - $this->Cell(20, 0, $subscription->usersubscription_stop_date_verbose, 0, 0, "L", false, "", 3); - $this->Cell(10, 0, $subscription->usersubscription_status, 0, 0, "L", false, "", 3); + $this->Cell(75, 0, $subscription->subscription_full_title, 0, 0, "L", false, "", 3); + $this->Cell(20, 0, $subscription->usersubscription_start_date_verbose, 0, 0, "L", false, "", 3); + $this->Cell(20, 0, $subscription->usersubscription_end_date_verbose, 0, 0, "L", false, "", 3); $this->Ln(4);