Calculate amortissement for an item
static public Amort ( $type_amort, $va, $duree, $coef, $date_achat, $date_use, $date_tax, $view = "n" ) : float | ||
$type_amort | type d'amortisssment "lineaire=2" ou "degressif=1" | |
$va | valeur d'acquisition | |
$duree | duree d'amortissement | |
$coef | coefficient d'amortissement | |
$date_achat | Date d'achat | |
$date_use | Date d'utilisation | |
$date_tax | date du debut de l'annee fiscale | |
$view | "n" pour l'annee en cours ou "all" pour le tableau complet (default 'n') | |
Résultat | float | or array |