Merge branch 'NEW/ExpenseReport_ik_add' of github.com:atm-jpb/dolibarr into NEW/ExpenseReport_ik_add

This commit is contained in:
jpb 2022-05-30 15:47:34 +02:00
commit 7aed7fbaa9

View File

@ -2562,9 +2562,9 @@ class ExpenseReport extends CommonObject
/** /**
* \brief Compute the cost of the kilometers expense based on the number of kilometers and the vehicule category * \brief Compute the cost of the kilometers expense based on the number of kilometers and the vehicule category
* *
* @param $fk_cat Category of the vehicule used * @param int $fk_cat Category of the vehicule used
* @param $qty Number of kilometers * @param real $qty Number of kilometers
* @param $tva VAT rate * @param real $tva VAT rate
* @return int <0 if KO, total ttc if OK * @return int <0 if KO, total ttc if OK
*/ */
public function computeTotalKm($fk_cat, $qty, $tva) public function computeTotalKm($fk_cat, $qty, $tva)