fix(dashboard): fix customer details page crashing when their order is refunded (#14413)

1. Fix the customer details page crashing when a customer's order is fully refunded. The error was originating from the payment collections of the order not being retrieved, since they're being used to calculate the refunded total.
2. Other: fix country not showing as well due to incorrectly trying to retrieving and access the shipping address's country

Closes #14409
This commit is contained in:
Shahed Nasser
2025-12-29 11:38:21 +02:00
committed by GitHub
parent 89a0adc612
commit 4ac7b72d10
4 changed files with 16 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/dashboard": patch
---
fix(dashboard): fix customer details page crashing when their order is refunded