Skip to content
Extraits de code Groupes Projets
Valider a238e01b rédigé par Benjamin's avatar Benjamin
Parcourir les fichiers

table graph

parent 7f2d086f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -60,4 +60,4 @@ p.card-maj { margin: 0px; font-size: 10px; font-style: italic; font-weight: ...@@ -60,4 +60,4 @@ p.card-maj { margin: 0px; font-size: 10px; font-style: italic; font-weight:
/*Legend*/ /*Legend*/
.table-legend { width: 100%; max-width: 100%; margin: 10px 0; border-collapse: separate; border-spacing: 8px; font-size: 11px; } .table-legend { width: 100%; max-width: 100%; margin: 10px 0; border-collapse: separate; border-spacing: 8px; font-size: 11px; }
.table-legend .nb { text-align: right; } .table-legend .nb { text-align: right; }
.table-legend-total { border-top: 1px solid #aaa; font-weight: 700; } .table-legend-total td { border-top: 1px solid #eee; font-weight: 700; padding: 2px 0; }
\ No newline at end of file
...@@ -54,7 +54,7 @@ odoo.define('lefilament_tdb.dashboard_year', function (require) { ...@@ -54,7 +54,7 @@ odoo.define('lefilament_tdb.dashboard_year', function (require) {
self.ppipe2_win = (self.values.pipe_win); self.ppipe2_win = (self.values.pipe_win);
self.ppipe2_to_win = (self.values.pipe_to_win); self.ppipe2_to_win = (self.values.pipe_to_win);
self.ptarg2 = self.values.target -self.pfact2-self.pcomm2-self.ppipe2_to_win-self.ppipe2_win; self.ptarg2 = self.values.target -self.pfact2-self.pcomm2-self.ppipe2_to_win-self.ppipe2_win;
self.total2 = self.pfact2 + self.pcomm2 + self.ppipe2_win self.total2 = ((self.values.facture + self.values.commandes + self.values.pipe_win) / self.values.target * 100).toFixed(0);
self.total = self.pfact + self.pcomm + self.ppipe_win self.total = self.pfact + self.pcomm + self.ppipe_win
deferred.resolve(); deferred.resolve();
}); });
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
<td class="nb"><t t-esc="widget.render_keur(widget.total2)"></t></td> <td class="nb"><t t-esc="widget.render_keur(widget.total2)"></t></td>
</tr> </tr>
</table> </table>
<table> <table class="table-legend">
<tr> <tr>
<td style="background-color: #F6ACA2; width: 20px;"></td> <td style="background-color: #F6ACA2; width: 20px;"></td>
<td>Pipe</td> <td>Pipe</td>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter