forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -376,8 +376,12 @@ class releveBUT extends HTMLElement {
|
|||||||
}</div>
|
}</div>
|
||||||
<div class=info>`;
|
<div class=info>`;
|
||||||
if (!dataUE.date_capitalisation) {
|
if (!dataUE.date_capitalisation) {
|
||||||
output += ` Bonus : ${dataUE.bonus || 0} -
|
output += ` Bonus : ${dataUE.bonus || 0} - `;
|
||||||
Malus : ${dataUE.malus || 0}`;
|
if(dataUE.malus >= 0) {
|
||||||
|
output += `Malus : ${dataUE.malus || 0}`;
|
||||||
|
} else {
|
||||||
|
output += `Bonus complémentaire : ${-dataUE.malus || 0}`;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
output += ` le ${this.ISOToDate(
|
output += ` le ${this.ISOToDate(
|
||||||
dataUE.date_capitalisation.split("T")[0]
|
dataUE.date_capitalisation.split("T")[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user