Skip to content

Commit f74eb2f

Browse files
Copilotlirantal
andcommitted
fix: use correct TotalPaid key in user portal invoice/billing pages
Co-authored-by: lirantal <316371+lirantal@users.noreply.github.com>
1 parent 8fb45b4 commit f74eb2f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/users/bill-invoice-report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"id" => t('all','Invoice'),
3535
"date" => t('all','Date'),
3636
"totalbilled" => t('all','TotalBilled'),
37-
"totalpayed" => t('all','TotalPayed'),
37+
"totalpayed" => t('all','TotalPaid'),
3838
t('all','Balance'),
3939
"status_id" => t('all','Status')
4040
);

app/users/bill-invoice-show.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151

152152
$input_descriptors0[] = array(
153153
"name" => "totalpayed",
154-
"caption" => t('all','TotalPayed'),
154+
"caption" => t('all','TotalPaid'),
155155
"type" => "number",
156156
"value" => $totalpayed,
157157
"min" => 0,

app/users/include/common/notificationsUserInvoice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function getInvoiceDetails($invoice_id = NULL, $username) {
115115
"<b>".t('all','Invoice')."</b>: ".$invoice_id."<br/>".
116116
"<b>".t('all','Date')."</b>: ".$invoiceDetails['date']."<br/>".
117117
"<b>".t('all','TotalBilled')."</b>: ".$invoiceDetails['totalbilled']."<br/>".
118-
"<b>".t('all','TotalPayed')."</b>: ".$invoiceDetails['totalpayed']."<br/>".
118+
"<b>".t('all','TotalPaid')."</b>: ".$invoiceDetails['totalpayed']."<br/>".
119119
"<b>".t('all','Balance')."</b>: ".$balance."<br/>".
120120
"<b>".t('all','Status')."</b>: ".$invoiceDetails['status']."<br/>".
121121
"<b>".t('ContactInfo','Notes')."</b>: ".$invoiceDetails['notes']."<br/><br/><br/>";

0 commit comments

Comments
 (0)