diff --git a/src/bonsai/bonsai/bim/data/webui/static/js/cost.js b/src/bonsai/bonsai/bim/data/webui/static/js/cost.js index 2b78e031c3..b9e2f29919 100644 --- a/src/bonsai/bonsai/bim/data/webui/static/js/cost.js +++ b/src/bonsai/bonsai/bim/data/webui/static/js/cost.js @@ -211,10 +211,15 @@ function handleCostSchedulesData(data) { costScheduleDiv.innerHTML = ""; costSchedules.forEach((costSchedule) => { costSchedule.UpdateDate = new Date(costSchedule.UpdateDate); - const mainContainer = CostUI.text("Updated On: " + costSchedule.UpdateDate); + const predefinedType = CostUI.text("Predefined Type: " + costSchedule.PredefinedType) + const updatedOn = CostUI.text("Updated On: " + costSchedule.UpdateDate); + const div = document.createElement("div"); + + div.appendChild(predefinedType); + div.appendChild(updatedOn); const callback = () => loadCostSchedule(costSchedule.id, blenderId); - const card = CostUI.createCard(costSchedule.Name, mainContainer, callback); + const card = CostUI.createCard(costSchedule.Name, div, callback); costScheduleDiv.append(card); }); }