selected outlet

This commit is contained in:
efrilm
2026-05-12 17:09:50 +07:00
parent 3541fc725c
commit ba2f0cd265
17 changed files with 1034 additions and 211 deletions
@@ -29,38 +29,6 @@ class _PurchasePageState extends State<PurchasePage>
];
final List<Map<String, dynamic>> purchaseData = [
{
'id': 'PO-001',
'supplier': 'PT. Sumber Rezeki',
'date': '15 Aug 2025',
'total': 2500000,
'status': 'Completed',
'items': 15,
},
{
'id': 'PO-002',
'supplier': 'CV. Maju Jaya',
'date': '14 Aug 2025',
'total': 1750000,
'status': 'Pending',
'items': 8,
},
{
'id': 'PO-003',
'supplier': 'PT. Global Supply',
'date': '13 Aug 2025',
'total': 3200000,
'status': 'Completed',
'items': 22,
},
{
'id': 'PO-004',
'supplier': 'UD. Berkah Mandiri',
'date': '12 Aug 2025',
'total': 890000,
'status': 'Cancelled',
'items': 5,
},
];
@override
@@ -107,7 +75,7 @@ class _PurchasePageState extends State<PurchasePage>
Expanded(
child: PurchaseStatCard(
title: context.lang.total_purchase,
value: 'Rp 8.340.000',
value: 'Rp 0',
icon: LineIcons.shoppingCart,
iconColor: AppColor.success,
cardAnimation: cardAnimation,
@@ -117,7 +85,7 @@ class _PurchasePageState extends State<PurchasePage>
Expanded(
child: PurchaseStatCard(
title: context.lang.pending_order,
value: '3 ${context.lang.orders}',
value: '0 ${context.lang.orders}',
icon: LineIcons.clock,
iconColor: AppColor.warning,
cardAnimation: cardAnimation,