[teacher.view] fixed 'sous-service'/'sur-service' float with N decimal numbers -> now only 2
This commit is contained in:
parent
0f136299e9
commit
e8ed5ab97d
|
@ -96,7 +96,7 @@
|
||||||
<!-- endif -->
|
<!-- endif -->
|
||||||
|
|
||||||
<div title='heures de décalage' v-show='gstore.edit_i!=pi'>
|
<div title='heures de décalage' v-show='gstore.edit_i!=pi'>
|
||||||
<span :data-error='prof.equiTD < prof.hoursToDo?1:0' :data-success='prof.equiTD < prof.hoursToDo?0:1'>{{ prof.equiTD < prof.hoursToDo ? prof.hoursToDo-prof.equiTD : prof.equiTD-prof.hoursToDo }}</span>
|
<span :data-error='prof.equiTD < prof.hoursToDo?1:0' :data-success='prof.equiTD < prof.hoursToDo?0:1'>{{ Math.floor( (prof.equiTD < prof.hoursToDo ? prof.hoursToDo-prof.equiTD : prof.equiTD-prof.hoursToDo)*100 )/100 }}</span>
|
||||||
<span>{{ prof.equiTD < prof.hoursToDo ? 'sous-service' : 'sur-service' }}</span>
|
<span>{{ prof.equiTD < prof.hoursToDo ? 'sous-service' : 'sur-service' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue