update order page

This commit is contained in:
efrilm 2025-11-01 03:29:13 +07:00
parent fecb4fb5c1
commit d111025aa6
2 changed files with 16 additions and 10 deletions

View File

@ -34,6 +34,11 @@ class OrderCard extends StatelessWidget {
style: AppStyle.sm.copyWith(fontWeight: FontWeight.w600),
),
),
if (order.splitType != '')
Text(
"Split Bill: ${order.splitType}",
style: AppStyle.sm.copyWith(fontWeight: FontWeight.w600),
),
if (order.isRefund == true)
Container(
padding: const EdgeInsets.symmetric(

View File

@ -104,6 +104,7 @@ class OrderRightPanel extends StatelessWidget {
icon: Icon(Icons.calculate_outlined),
),
SpaceWidth(8),
if (state.selectedOrder?.paymentStatus != 'partial')
AppElevatedButton.filled(
width: 120,
onPressed: () {