Update expensereport.class.php

This commit is contained in:
Laurent Destailleur 2022-05-29 11:22:32 +02:00 committed by GitHub
parent a4c5ba7239
commit faca7e057e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)