修复订单货币

This commit is contained in:
Edward Yang 2022-08-29 14:57:07 +08:00
parent f98df0ff36
commit 28f8655a92
1 changed files with 1 additions and 1 deletions

View File

@ -49,6 +49,6 @@ class Order extends Base
public function getTotalFormatAttribute()
{
return currency_format($this->total);
return currency_format($this->total, $this->currency_code, $this->currency_value);
}
}