By Robert on Friday, 20 July 2018
Posted in General Issues
Replies 1
Likes 0
Views 597
Votes 0
Hi,
Is it possible to NOT show the Download Invoice button as long as a payment is pending ? Basically, we would like the Download Invoice button to show only once the payment has successfully gone through.
Thank you for your help on this!
See attachment payplans.jpg
Robert
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

You can apply this following code into this file JoomlaFolder/components/com_payplans/templates/default/invoice/default_invoice_action.php

[gist type="php"]
if ($invoice->getStatus() != PayplansStatus::INVOICE_PAID) {
return;
}
[/gist]
·
Saturday, 21 July 2018 11:07
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post