create order with payment

This commit is contained in:
efrilm
2025-10-28 00:58:39 +07:00
parent 37f0008ec8
commit 137f3d9636
20 changed files with 2815 additions and 1086 deletions
@@ -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(