fix payment struck

This commit is contained in:
Efril
2026-01-13 23:41:56 +07:00
parent 1d52f22f5f
commit 5d73f82017
4 changed files with 35 additions and 45 deletions
@@ -372,7 +372,8 @@ class _PaymentPageState extends State<PaymentPage> {
success: (data) {
context.pushReplacement(SuccessPaymentPage(
productQuantity: widget.order.orderItems
?.map(
?.where((item) => item.status == "pending")
.map(
(item) => ProductQuantity(
product: Product(
name: item.productName,