By Christian Harel on Thursday, 25 October 2018
Posted in General Issues
Likes 0
Views 390
Votes 0
i found an other bug for taxe display
in user dashboard
for recurring plan
price is good for alert message
but in table is price without taxe see my screenshot
thanks
Hello Christian,


The price shown without tax because here we show actaul price of plan, that's why tax is not included in this section.

Let me know if you have any query.
·
Friday, 26 October 2018 00:59
·
0 Likes
·
0 Votes
·
0 Comments
·
but its not clear for user to display 2 different prices in same place
how i can display price with tax in table ?
regards
·
Friday, 26 October 2018 03:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

You need to do the changes on below mentioned file path.
root/components/com_payplans/templates/default/dashboard/default_frontview.php
see attached screen shot.
·
Friday, 26 October 2018 12:42
·
0 Likes
·
0 Votes
·
0 Comments
·
hello i try

<?php
$recurrence_count = $subscription->getRecurrenceCount();
$amount = $invoice->getTotal();
$amountHtml = $this->loadTemplate('partial_amount', compact('currency', 'amount'));?>

but return

0 Call to a member function getTotal() on null
·
Friday, 26 October 2018 14:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,

Try below mentioned code.

$recurrence_count = $subscription->getRecurrenceCount();

$order = $subscription->getOrder(PAYPLANS_INSTANCE_REQUIRE);
$invoice = $order->getLastMasterInvoice(PAYPLANS_INSTANCE_REQUIRE);
$amount = $invoice->getTotal();
$amountHtml = $this->loadTemplate('partial_amount', compact('currency', 'amount')); ?>
·
Friday, 26 October 2018 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect thanks !
·
Friday, 26 October 2018 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Christian,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Friday, 26 October 2018 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post