rename EncombrementTotal

This commit is contained in:
Vincent Vandemeulebrouck
2021-01-05 18:39:12 +01:00
parent 6f8858d9c8
commit 3aaef70891
3 changed files with 14 additions and 10 deletions

View File

@ -203,8 +203,12 @@ export class RdDActor extends Actor {
return duplicate(list[0]);
}
getEncombrementTotal() {
return this.encTotal ? Math.floor(this.encTotal) : 0
getEncTotal() {
return Math.floor(this.encTotal ?? 0);
}
getSurenc(){
return this.data.data.compteurs?.surenc?.value ?? 0;
}
/* -------------------------------------------- */