From 4cc33cb80b93d606a8d7ceb304b6a9c5bf41a727 Mon Sep 17 00:00:00 2001 From: odeimaiz Date: Wed, 15 Jan 2025 11:56:14 +0100 Subject: [PATCH] minor --- .../source/class/osparc/desktop/credits/RentalsTableModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/static-webserver/client/source/class/osparc/desktop/credits/RentalsTableModel.js b/services/static-webserver/client/source/class/osparc/desktop/credits/RentalsTableModel.js index dbc51a7a72f..deb29cf1bee 100644 --- a/services/static-webserver/client/source/class/osparc/desktop/credits/RentalsTableModel.js +++ b/services/static-webserver/client/source/class/osparc/desktop/credits/RentalsTableModel.js @@ -142,7 +142,7 @@ qx.Class.define("osparc.desktop.credits.RentalsTableModel", { [rentalsCols.START.id]: osparc.utils.Utils.formatDateAndTime(new Date(purchasesItem["startAt"])), [rentalsCols.END.id]: osparc.utils.Utils.formatDateAndTime(new Date(purchasesItem["expireAt"])), [rentalsCols.SEATS.id]: purchasesItem["numOfSeats"], - [rentalsCols.COST.id]: purchasesItem["pricingUnitCost"] ? parseFloat(purchasesItem["pricingUnitCost"]).toFixed(2) : "", + [rentalsCols.COST.id]: purchasesItem["pricingUnitCost"] ? ("-" + parseFloat(purchasesItem["pricingUnitCost"]).toFixed(2)) : "", // show it negative [rentalsCols.USER.id]: purchasesItem["purchasedByUser"], }); });