Update expensereport.class.php
This commit is contained in:
parent
a4c5ba7239
commit
faca7e057e
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user