We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2ba547 commit 4139ee7Copy full SHA for 4139ee7
Modules/Sources/PointOfSale/Presentation/Orders/POSOrderDetailsView.swift
@@ -312,7 +312,7 @@ private extension POSOrderDetailsView {
312
313
@ViewBuilder
314
func refundsSection(_ order: POSOrder) -> some View {
315
- ForEach(order.refunds, id: \.refundID) { refund in
+ ForEach(order.refunds.sorted(by: { $0.refundID < $1.refundID }), id: \.refundID) { refund in
316
refundRow(refund: refund)
317
divider
318
}
0 commit comments