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

table graph

parent 951cdf2e
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -60,3 +60,4 @@ p.card-maj { margin: 0px; font-size: 10px; font-style: italic; font-weight:
/*Legend*/
.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-total { border-top: 1px solid #aaa; font-weight: 700; }
\ No newline at end of file
......@@ -54,6 +54,8 @@ odoo.define('lefilament_tdb.dashboard_year', function (require) {
self.ppipe2_win = (self.values.pipe_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.total2 = self.pfact2 + self.pcomm2 + self.ppipe2_win
self.total = self.pfact + self.pcomm + self.ppipe_win
deferred.resolve();
});
return jQuery.when(this._super.apply(this, arguments),deferred);
......
......@@ -151,6 +151,14 @@
<td class="nb"><t t-esc="widget.render_percent(widget.ppipe_win)"></t></td>
<td class="nb"><t t-esc="widget.render_keur(widget.ppipe2_win)"></t></td>
</tr>
<tr class="table-legend-total">
<td style="width: 20px;"></td>
<td>Total</td>
<td class="nb"><t t-esc="widget.render_percent(widget.total)"></t></td>
<td class="nb"><t t-esc="widget.render_keur(widget.total2)"></t></td>
</tr>
</table>
<table>
<tr>
<td style="background-color: #F6ACA2; width: 20px;"></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