modified Active User Subscription report to show description and start and end dates

This commit is contained in:
2026-07-29 21:17:55 -04:00
parent d1efc9e5b5
commit f8a27355d4
+5 -4
View File
@@ -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);