mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-10 21:30:33 +08:00
feat: support 15 more currencies (#3963)
This commit is contained in:
@@ -141,6 +141,36 @@ class ProductBuyPage extends React.Component {
|
||||
return "S$";
|
||||
} else if (product?.currency === "BRL") {
|
||||
return "R$";
|
||||
} else if (product?.currency === "PLN") {
|
||||
return "zł";
|
||||
} else if (product?.currency === "KRW") {
|
||||
return "₩";
|
||||
} else if (product?.currency === "INR") {
|
||||
return "₹";
|
||||
} else if (product?.currency === "RUB") {
|
||||
return "₽";
|
||||
} else if (product?.currency === "MXN") {
|
||||
return "$";
|
||||
} else if (product?.currency === "ZAR") {
|
||||
return "R";
|
||||
} else if (product?.currency === "TRY") {
|
||||
return "₺";
|
||||
} else if (product?.currency === "SEK") {
|
||||
return "kr";
|
||||
} else if (product?.currency === "NOK") {
|
||||
return "kr";
|
||||
} else if (product?.currency === "DKK") {
|
||||
return "kr";
|
||||
} else if (product?.currency === "THB") {
|
||||
return "฿";
|
||||
} else if (product?.currency === "MYR") {
|
||||
return "RM";
|
||||
} else if (product?.currency === "TWD") {
|
||||
return "NT$";
|
||||
} else if (product?.currency === "CZK") {
|
||||
return "Kč";
|
||||
} else if (product?.currency === "HUF") {
|
||||
return "Ft";
|
||||
} else {
|
||||
return "(Unknown currency)";
|
||||
}
|
||||
|
Reference in New Issue
Block a user