Update newpayment.php

This commit is contained in:
ptibogxiv 2018-11-23 12:27:24 +01:00 committed by GitHub
parent 1cc6763950
commit 6a232a8754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1445,6 +1445,10 @@ if ($action != 'dopayment')
{
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("InvoicePaid").'</span>';
}
elseif ($source == 'donation' && $object->paid)
{
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("DonationPaid").'</span>';
}
else
{
// Buttons for all payments registration methods