currency fix

This commit is contained in:
Adam 2024-12-01 13:50:26 +01:00
parent d876f59d9d
commit f940fa9ded
1 changed files with 7 additions and 5 deletions

View File

@ -5,12 +5,12 @@
<script asp-location="Footer">
let currencyCode = @Html.Raw(Model.WorkingCurrencyCode.ToJson());
let currencyRate = @Html.Raw(Model.WorkingCurrencyRate.ToJson());
console.log(currencyCode);
$(document).ready(function () {
let currencyCode = @Html.Raw(Model.WorkingCurrencyCode.ToJson());
let currencyRate = @Html.Raw(Model.WorkingCurrencyRate.ToJson());
console.log(currencyCode);
console.log("PublicInfo ready enter; ProductId: " + @Model.ProductId);
let auctionDto = @Html.Raw(Model.AuctionDto.ToJson());
@ -19,7 +19,9 @@
function initialize@(Model.ProductId)(auctionDto) {
console.log("PublicInfo initialize" + @Model.ProductId + " enter; auctionDto: " + auctionDto);
let currencyCode = @Html.Raw(Model.WorkingCurrencyCode.ToJson());
let currencyRate = @Html.Raw(Model.WorkingCurrencyRate.ToJson());
console.log(currencyCode);
if (!auctionDto) {
console.error("auctionDto == null");
return;