|
|
@@ -32,7 +32,7 @@ class TransportationController extends BaseController
|
|
|
foreach ($countries as &$country) {
|
|
|
$country['freight'] = $transportation[$country['ID']]['freight'] ?? 0;
|
|
|
$country['free_shipping'] = $transportation[$country['ID']]['free_shipping'] ?? 0;
|
|
|
- $country['currency'] = $this->countiesModelClass::getCurrency($country['LOCAL_CURRENCY_ID']);
|
|
|
+ $country['currency'] = $this->currencyModelClass::getById($country['LOCAL_CURRENCY_ID']);
|
|
|
}
|
|
|
|
|
|
return static::notice(['data' => $countries]);
|