From 15ba7040eb827f8fa3f9e6a97f209c26acd5bd5d Mon Sep 17 00:00:00 2001 From: mickael2407 Date: Wed, 5 Jun 2019 14:17:58 +0200 Subject: [PATCH] fixx units perte journalier --- src/app/dashboard/admin/admin.component.html | 38 ++++++++++++++++++- .../service/daily-stock-honey.service.ts | 1 - .../stock/service/calendrier-poids.service.ts | 2 +- 3 files changed, 37 insertions(+), 4 deletions(-) diff --git a/src/app/dashboard/admin/admin.component.html b/src/app/dashboard/admin/admin.component.html index 73c5bc5d7..737c8dc21 100644 --- a/src/app/dashboard/admin/admin.component.html +++ b/src/app/dashboard/admin/admin.component.html @@ -1,5 +1,5 @@
-
+ + + +
\ No newline at end of file diff --git a/src/app/dashboard/apiary/ruche-rucher/ruche-detail/service/daily-stock-honey.service.ts b/src/app/dashboard/apiary/ruche-rucher/ruche-detail/service/daily-stock-honey.service.ts index 841cb5479..ab1a010ef 100644 --- a/src/app/dashboard/apiary/ruche-rucher/ruche-detail/service/daily-stock-honey.service.ts +++ b/src/app/dashboard/apiary/ruche-rucher/ruche-detail/service/daily-stock-honey.service.ts @@ -62,7 +62,6 @@ export class DailyStockHoneyService { getDailyStockHoneyByHIve(idHive: string) { this.typeFlower = []; return this.http.get(CONFIG.URL + 'dailyStockHoney' + '/hive/' + idHive).map(dailyStock => { - console.log(dailyStock); const series = []; dailyStock.forEach(element => { if (this.typeFlower.indexOf(element.nom) === -1) { diff --git a/src/app/dashboard/apiary/ruche-rucher/ruche-detail/stock/service/calendrier-poids.service.ts b/src/app/dashboard/apiary/ruche-rucher/ruche-detail/stock/service/calendrier-poids.service.ts index 45add7e69..56596499e 100644 --- a/src/app/dashboard/apiary/ruche-rucher/ruche-detail/stock/service/calendrier-poids.service.ts +++ b/src/app/dashboard/apiary/ruche-rucher/ruche-detail/stock/service/calendrier-poids.service.ts @@ -22,7 +22,7 @@ export class CalendrierPoidsService { trigger: 'item', formatter: (params: any) => { return params.marker + this.unitService.getDailyDate(params.data[0].split('T')[0]) + - '
' + params.seriesName + ' : ' + this.unitService.getUserPref().unitSystem === 'METRIC' ? this.graphGlobal.getNumberFormat(this.unitService.getValRound(params.data[1])) : this.graphGlobal.getNumberFormat(this.unitService.getValRound(params.data[1] * 2.205)) + ' ' + this.graphGlobal.weight.unitW; + '
' + params.seriesName + ' : ' + this.graphGlobal.getNumberFormat(this.unitService.getValRound(params.data[1])) + ' ' + this.graphGlobal.weight.unitW; } }, toolbox: {