Fixing style errors.
This commit is contained in:
parent
73b857c1b3
commit
89876d8d52
@ -3273,15 +3273,15 @@ class Propal extends CommonObject
|
|||||||
} elseif ($status == self::STATUS_BILLED) {
|
} elseif ($status == self::STATUS_BILLED) {
|
||||||
$statusType = 'status6';
|
$statusType = 'status6';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$parameters = array('status' => $status, 'mode' => $mode);
|
|
||||||
|
$parameters = array('status' => $status, 'mode' => $mode);
|
||||||
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
|
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
|
||||||
|
|
||||||
if ($reshook > 0) {
|
if ($reshook > 0) {
|
||||||
return $hookmanager->resPrint;
|
return $hookmanager->resPrint;
|
||||||
}
|
}
|
||||||
|
|
||||||
return dolGetStatus($this->labelStatus[$status], $this->labelStatusShort[$status], '', $statusType, $mode);
|
return dolGetStatus($this->labelStatus[$status], $this->labelStatusShort[$status], '', $statusType, $mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -3636,19 +3636,19 @@ class Commande extends CommonOrder
|
|||||||
$mode = 0;
|
$mode = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$parameters = array(
|
$parameters = array(
|
||||||
'status' => $status,
|
'status' => $status,
|
||||||
'mode' => $mode,
|
'mode' => $mode,
|
||||||
'billed' => $billed,
|
'billed' => $billed,
|
||||||
'donotshowbilled' => $donotshowbilled
|
'donotshowbilled' => $donotshowbilled
|
||||||
);
|
);
|
||||||
|
|
||||||
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
|
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
|
||||||
|
|
||||||
if ($reshook > 0) {
|
if ($reshook > 0) {
|
||||||
return $hookmanager->resPrint;
|
return $hookmanager->resPrint;
|
||||||
}
|
}
|
||||||
|
|
||||||
return dolGetStatus($labelStatus, $labelStatusShort, '', $statusType, $mode, '', array('tooltip' => $labelTooltip));
|
return dolGetStatus($labelStatus, $labelStatusShort, '', $statusType, $mode, '', array('tooltip' => $labelTooltip));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -576,18 +576,18 @@ abstract class CommonInvoice extends CommonObject
|
|||||||
$labelStatusShort = $langs->transnoentitiesnoconv('Bill'.$prefix.'StatusPaid');
|
$labelStatusShort = $langs->transnoentitiesnoconv('Bill'.$prefix.'StatusPaid');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$parameters = array(
|
|
||||||
'status' => $status,
|
|
||||||
'mode' => $mode,
|
|
||||||
'paye' => $paye,
|
|
||||||
'alreadypaid' => $alreadypaid,
|
|
||||||
'type' => $type
|
|
||||||
);
|
|
||||||
|
|
||||||
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
|
$parameters = array(
|
||||||
|
'status' => $status,
|
||||||
|
'mode' => $mode,
|
||||||
|
'paye' => $paye,
|
||||||
|
'alreadypaid' => $alreadypaid,
|
||||||
|
'type' => $type
|
||||||
|
);
|
||||||
|
|
||||||
if ($reshook > 0) {
|
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
|
||||||
|
|
||||||
|
if ($reshook > 0) {
|
||||||
return $hookmanager->resPrint;
|
return $hookmanager->resPrint;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user