create order with payment
This commit is contained in:
@@ -40,7 +40,7 @@ class OrderListPayment extends StatelessWidget {
|
||||
(index) => Padding(
|
||||
padding: const EdgeInsets.only(bottom: 8.0),
|
||||
child: _buildPaymentItem(
|
||||
order?.payments[index] ?? PaymentOrder.empty(),
|
||||
order?.payments[index] ?? Payment.empty(),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -124,7 +124,7 @@ class OrderListPayment extends StatelessWidget {
|
||||
}
|
||||
}
|
||||
|
||||
Row _buildPaymentItem(PaymentOrder payment) {
|
||||
Row _buildPaymentItem(Payment payment) {
|
||||
return Row(
|
||||
children: [
|
||||
Container(
|
||||
|
||||
Reference in New Issue
Block a user