Why condition is return fault



  • Why condition is return fault
    ![alt text](image 0_1562745563243_upload-6e5b6bf0-56a7-4411-ab4c-3b68992bcb6d )
    this condition is true why return fault


  • administrators

    please check handlebars docs, conditions in handlebars does not work like that, you can not put equals or some logic evaluation in the helper call, you have to call the helper, pass values and do any condition check inside, after that you can do this:

    {{#if (getMeta H24)}}
      <td>x</td>
    {{else}}
      <td>{{getMeta H24}}</td>
    {{/if}}
    

Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.