|
|
|
@ -141,7 +141,7 @@ class _CaisseScreenState extends State<CaisseScreen> { |
|
|
|
], |
|
|
|
), |
|
|
|
content: Text( |
|
|
|
'Le paiement de ${commande!.totalTtc.toStringAsFixed(2)} € a été traité avec succès via ${selectedPaymentMethod!.name}.', |
|
|
|
'Le paiement de ${commande!.totalTtc.toStringAsFixed(2)} MGA a été traité avec succès via ${selectedPaymentMethod!.name}.', |
|
|
|
), |
|
|
|
actions: [ |
|
|
|
TextButton( |
|
|
|
@ -226,7 +226,7 @@ class _CaisseScreenState extends State<CaisseScreen> { |
|
|
|
), |
|
|
|
), |
|
|
|
Text( |
|
|
|
'${commande!.totalTtc.toStringAsFixed(2)} €', |
|
|
|
'${commande!.totalTtc.toStringAsFixed(2)} MGA', |
|
|
|
style: const TextStyle( |
|
|
|
fontSize: 18, |
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
@ -295,7 +295,7 @@ class _CaisseScreenState extends State<CaisseScreen> { |
|
|
|
), |
|
|
|
const SizedBox(width: 12), |
|
|
|
Text( |
|
|
|
'${item.totalItem.toStringAsFixed(2)} €', |
|
|
|
'${item.totalItem.toStringAsFixed(2)} MGA', |
|
|
|
style: const TextStyle( |
|
|
|
fontSize: 14, |
|
|
|
fontWeight: FontWeight.w600, |
|
|
|
@ -398,7 +398,7 @@ class _CaisseScreenState extends State<CaisseScreen> { |
|
|
|
const SizedBox(width: 16), |
|
|
|
|
|
|
|
Text( |
|
|
|
'${amount.toStringAsFixed(2)} €', |
|
|
|
'${amount.toStringAsFixed(2)} MGA', |
|
|
|
style: const TextStyle( |
|
|
|
color: Colors.white, |
|
|
|
fontSize: 18, |
|
|
|
@ -460,7 +460,7 @@ class _CaisseScreenState extends State<CaisseScreen> { |
|
|
|
const SizedBox(width: 8), |
|
|
|
Text( |
|
|
|
selectedPaymentMethod != null |
|
|
|
? 'Payer ${commande?.totalTtc.toStringAsFixed(2)} €' |
|
|
|
? 'Payer ${commande?.totalTtc.toStringAsFixed(2)} MGA' |
|
|
|
: 'Sélectionnez une méthode de paiement', |
|
|
|
style: const TextStyle( |
|
|
|
fontSize: 16, |
|
|
|
|