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"], }); });