Fix order billed online payment
This commit is contained in:
parent
ea7c77d788
commit
1cc6763950
@ -1437,7 +1437,11 @@ if ($action != 'dopayment')
|
|||||||
{
|
{
|
||||||
if ($found && ! $error) // We are in a management option and no error
|
if ($found && ! $error) // We are in a management option and no error
|
||||||
{
|
{
|
||||||
if ($source == 'invoice' && $object->paye)
|
if ($source == 'order' && $object->billed)
|
||||||
|
{
|
||||||
|
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("OrderBilled").'</span>';
|
||||||
|
}
|
||||||
|
elseif ($source == 'invoice' && $object->paye)
|
||||||
{
|
{
|
||||||
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("InvoicePaid").'</span>';
|
print '<br><br><span class="amountpaymentcomplete">'.$langs->trans("InvoicePaid").'</span>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user