From aa5d175027d53f0990c888a93ff3907fc4b49d20 Mon Sep 17 00:00:00 2001
From: Vincent Vandemeulebrouck
Date: Tue, 3 Jan 2023 01:03:05 +0100
Subject: [PATCH] Formatage de prix
---
templates/chat-vente-item.html | 2 +-
templates/dialog-item-achat.html | 4 ++--
templates/dialog-item-vente.html | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/chat-vente-item.html b/templates/chat-vente-item.html
index 4bfb7e23..ad5afd1d 100644
--- a/templates/chat-vente-item.html
+++ b/templates/chat-vente-item.html
@@ -19,7 +19,7 @@
{{/if}}
{{#if (ne prixLot 0)}}
Prix {{#if (gt tailleLot 1)}}du lot {{else}}unitaire{{/if}}:
- {{prixLot}} Sols
+ {{numberFormat prixLot decimals=2 sign=false}} Sols
{{/if}}
{{#if (or (gt quantiteNbLots 0) quantiteIllimite)}}
diff --git a/templates/dialog-item-achat.html b/templates/dialog-item-achat.html
index 03b83a2d..f6ecffb2 100644
--- a/templates/dialog-item-achat.html
+++ b/templates/dialog-item-achat.html
@@ -83,12 +83,12 @@
{{#if isVente}}
-
+
- {{prixTotal}}
+ {{numberFormat prixTotal decimals=2 sign=false}}
Sols
diff --git a/templates/dialog-item-vente.html b/templates/dialog-item-vente.html
index 4a0f1051..52d78e42 100644
--- a/templates/dialog-item-vente.html
+++ b/templates/dialog-item-vente.html
@@ -26,13 +26,13 @@
max="{{quantiteMax}}" value="{{tailleLot}}" data-dtype="Number" />
-
-
+
+
-