fix travis
This commit is contained in:
parent
63b3010c2e
commit
4fd24f6d8c
@ -52,7 +52,7 @@ class InterfaceActionsBlockedLog extends DolibarrTriggers
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($action==='BILL_VALIDATE' || $action === 'BILL_PAYED' || $action==='BILL_UNPAYED') {
|
if($action==='BILL_VALIDATE' || $action === 'BILL_PAYED' || $action==='BILL_UNPAYED') {
|
||||||
$amounts= (double)$object->total_ttc;
|
$amounts= (double) $object->total_ttc;
|
||||||
}
|
}
|
||||||
else if($action === 'PAYMENT_CUSTOMER_CREATE' || $action === 'PAYMENT_ADD_TO_BANK') {
|
else if($action === 'PAYMENT_CUSTOMER_CREATE' || $action === 'PAYMENT_ADD_TO_BANK') {
|
||||||
$amounts = 0;
|
$amounts = 0;
|
||||||
@ -65,7 +65,7 @@ class InterfaceActionsBlockedLog extends DolibarrTriggers
|
|||||||
|
|
||||||
}
|
}
|
||||||
else if(strpos($action,'PAYMENT')!==false) {
|
else if(strpos($action,'PAYMENT')!==false) {
|
||||||
$amounts= (double)$object->amount;
|
$amounts= (double) $object->amount;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return 0; // not implemented action log
|
return 0; // not implemented action log
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user