Apologies as I am very new to this. I am trying to get show a calculation to work so it will show a code for a project when it is populated, but if it is empty, show another field (the full title).
It is part of a larger series where I show a type of report, the project code or title it is connected to, and the date it is due. I tried this, any ideas what I can change to make it work? Sorry I am sure this is simple
var code1 = @All of Contract code !=null ? code1: @All of Title;
@Report type + " | " + code1 + " | "+ moment(@Due date).format("DD/MM/YYYY");
Please sign in to leave a comment.