update order page
This commit is contained in:
parent
fecb4fb5c1
commit
d111025aa6
@ -34,6 +34,11 @@ class OrderCard extends StatelessWidget {
|
|||||||
style: AppStyle.sm.copyWith(fontWeight: FontWeight.w600),
|
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)
|
if (order.isRefund == true)
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
|
|||||||
@ -104,6 +104,7 @@ class OrderRightPanel extends StatelessWidget {
|
|||||||
icon: Icon(Icons.calculate_outlined),
|
icon: Icon(Icons.calculate_outlined),
|
||||||
),
|
),
|
||||||
SpaceWidth(8),
|
SpaceWidth(8),
|
||||||
|
if (state.selectedOrder?.paymentStatus != 'partial')
|
||||||
AppElevatedButton.filled(
|
AppElevatedButton.filled(
|
||||||
width: 120,
|
width: 120,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user