mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
remove decimals for Colombian (COP) and Argentina's Peso (ARS) (#5710)
* remove decimals for Colombian (COP) and Argentina's Peso (ARS) * remove js currency hardcoding * Fixes removal of columbia and argentina's peso * Refactor --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6437967e60
commit
6621859567
@@ -92,6 +92,7 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
|
||||
EmbeddedCSS = settings.EmbeddedCSS,
|
||||
CustomCSSLink = settings.CustomCSSLink
|
||||
};
|
||||
// Check if the currency is COP or ARS (exclude decimal places)
|
||||
|
||||
return View($"PointOfSale/Public/{viewType}", new ViewPointOfSaleViewModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user