Update newpayment.php

This commit is contained in:
Laurent Destailleur 2018-11-24 11:08:05 +01:00 committed by GitHub
parent e8ba8814cd
commit b5d1a34080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1445,7 +1445,7 @@ if ($action != 'dopayment')
{
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("InvoicePaid").'</span>';
}
elseif ($source == 'membersubscription' && $object->datefin>dol_now())
elseif ($source == 'membersubscription' && $object->datefin > dol_now())
{
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("MembershipPaid").'</span>';
}