diff --git a/htdocs/core/lib/payments.lib.php b/htdocs/core/lib/payments.lib.php index dc40127818e..7aeffdba013 100644 --- a/htdocs/core/lib/payments.lib.php +++ b/htdocs/core/lib/payments.lib.php @@ -18,7 +18,14 @@ * or see http://www.gnu.org/ */ -function payment_prepare_head($object) { +/** + * Returns an array with the tabs for the "Payment" section + * It loads tabs from modules looking for the entity payment + * + * @param Paiement $object + * @return array + */ +function payment_prepare_head(Paiement $object) { global $langs, $conf; @@ -46,6 +53,13 @@ function payment_prepare_head($object) { return $head; } +/** + * Returns an array with the tabs for the "Supplier payment" section + * It loads tabs from modules looking for the entity payment_supplier + * + * @param Paiement $object + * @return array + */ function payment_supplier_prepare_head($object) { global $langs, $conf;