Merge remote-tracking branch 'origin/3.9' into develop

This commit is contained in:
Laurent Destailleur
2016-03-20 17:37:50 +01:00
4 changed files with 32 additions and 37 deletions

View File

@@ -3646,8 +3646,7 @@ function get_localtax_by_third($local)
* Get vat rate and npr from id.
* You can call getLocalTaxesFromRate after to get other fields
*
* @param string $vatrate VAT Rate. Value can be value or the string with code into parenthesis or rowid if $firstparamisid is 1. Example: '8.5' or '8.5 (8.5NPR)' or 123.
* @param int $usenpr Use npr
* @param int $vatrowid Line ID into vat rate table.
* @return array array(localtax_type1(1-6 / 0 if not found), rate of localtax1, ...)
*/
function getTaxesFromId($vatrowid)