feat: update

This commit is contained in:
efrilm
2025-08-14 00:16:42 +07:00
parent 96d0b91984
commit f87309af3f
2 changed files with 21 additions and 2 deletions
@@ -58,6 +58,24 @@ class SalesCard extends StatelessWidget {
),
),
),
if (order.isVoid == true)
Container(
padding:
const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
decoration: BoxDecoration(
color: Colors.red.withOpacity(0.15),
borderRadius: BorderRadius.circular(16),
),
child: Text(
'Void',
style: TextStyle(
color: Colors.red,
fontWeight: FontWeight.w600,
fontSize: 10,
letterSpacing: 0.5,
),
),
),
],
),
const SizedBox(height: 12),