OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
check if the value is null, set it to zero
bsatarnejad6c62d1fda875
diff --git a/modules/budgets/frontend/module/augment/planned-costs-form.ts b/modules/budgets/frontend/module/augment/planned-costs-form.tsindex 4e74a9b913f..f9b4ca8ee42 100644--- a/modules/budgets/frontend/module/augment/planned-costs-form.ts+++ b/modules/budgets/frontend/module/augment/planned-costs-form.ts@@ -65,7 +65,8 @@ export class PlannedCostsFormAugment {}private getValue() {- return jQuery('#' + this.objId + '_cost_value').val();+ let costValueElement = jQuery('#' + this.objId + '_cost_value');+ return costValueElement.length > 0 ? costValueElement.val() : '0.00';}private edit() {