Refactoring - Version stable
This commit is contained in:
@@ -43,7 +43,6 @@ class _TransfertEpargneDialogState extends State<TransfertEpargneDialog> {
|
||||
|
||||
/// Seuil LCB-FT récupéré depuis l'API (fallback à 500k XOF).
|
||||
double _seuilLcbFt = kSeuilOrigineFondsObligatoireXOF;
|
||||
bool _seuilLoaded = false;
|
||||
|
||||
/// Pièce justificative pour opérations au-dessus du seuil
|
||||
File? _pieceJustificative;
|
||||
@@ -77,7 +76,6 @@ class _TransfertEpargneDialogState extends State<TransfertEpargneDialog> {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_seuilLcbFt = seuil.montantSeuil;
|
||||
_seuilLoaded = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -242,7 +240,7 @@ class _TransfertEpargneDialogState extends State<TransfertEpargneDialog> {
|
||||
children: [
|
||||
Text(
|
||||
'De: ${widget.compteSource.numeroCompte ?? widget.compteSource.id}',
|
||||
style: TypographyTokens.bodySmall?.copyWith(color: ColorTokens.onSurfaceVariant),
|
||||
style: TypographyTokens.bodySmall.copyWith(color: ColorTokens.onSurfaceVariant),
|
||||
),
|
||||
Text(
|
||||
'Solde disponible: ${(widget.compteSource.soldeActuel - widget.compteSource.soldeBloque).toStringAsFixed(0)} XOF',
|
||||
@@ -310,7 +308,7 @@ class _TransfertEpargneDialogState extends State<TransfertEpargneDialog> {
|
||||
padding: const EdgeInsets.only(top: 8),
|
||||
child: Text(
|
||||
'Requis pour les opérations ≥ ${_seuilLcbFt.toStringAsFixed(0)} XOF',
|
||||
style: TypographyTokens.bodySmall?.copyWith(color: ColorTokens.primary),
|
||||
style: TypographyTokens.bodySmall.copyWith(color: ColorTokens.primary),
|
||||
),
|
||||
),
|
||||
if (_origineFondsRequis) ...[
|
||||
|
||||
Reference in New Issue
Block a user