feat: suite de tiendas, sync reactivo, bitácora de errores y alertas whatsapp

This commit is contained in:
Pablinux
2026-11-22 17:41:18 -05:00
parent cc4ab12d1d
commit 6a5ebb907d
76 changed files with 2975 additions and 312 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ class _PedidoFormScreenState extends State<PedidoFormScreen> {
String _productoQuery = '';
bool _showSearch = false;
final _fmt = NumberFormat.currency(locale: 'en_US', symbol: '\$', decimalDigits: 2);
NumberFormat get _fmt => context.watch<AppProvider>().currencyFormat;
@override
void initState() {
@@ -349,7 +349,7 @@ class _PedidoFormScreenState extends State<PedidoFormScreen> {
icon: const Icon(Icons.delete_outline, size: 16),
label: const Text('Limpiar', style: TextStyle(fontSize: 12)),
onPressed: provider.limpiarCarrito,
style: TextButton.styleFrom(primary: AppTheme.dangerColor),
style: TextButton.styleFrom(foregroundColor: AppTheme.dangerColor),
),
],
),