Update: 2026-05-15 04:35:25

This commit is contained in:
Hamza-Ayed
2026-05-15 04:35:25 +03:00
parent 1ca7e01ce0
commit 2f1ecca593
14 changed files with 858 additions and 10 deletions

View File

@@ -109,6 +109,21 @@ class InvoiceDetailView extends StatelessWidget {
const SizedBox(height: 12),
],
SizedBox(
height: 52,
child: ElevatedButton.icon(
onPressed: () => controller.printThermalInvoice(),
style: ElevatedButton.styleFrom(
backgroundColor: const Color(0xFF4F46E5),
foregroundColor: Colors.white,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)),
),
icon: const Icon(Icons.print_rounded),
label: const Text('طباعة حرارية (WiFi)', style: TextStyle(fontWeight: FontWeight.bold, fontSize: 16)),
),
),
const SizedBox(height: 12),
SizedBox(
height: 52,
child: OutlinedButton.icon(