Jump to content
We've recently updated our Privacy Statement, available here ×

Print band only when count lines > 0


nicknxswart.nl

Recommended Posts

Hi!

I have a peace of JSON:

"vat_lines": {
            "line": [
                {
                    "rate": 0.21,
                    "amount": 16.00
                },
                {
                    "rate": 0.21,
                    "amount": 16.00
                }
            ]
        }

 

I only want to print a band if there are more then 0 objects in the list.

I think it can be done by something with a variable but I cant seem to get it working.

Any tips?

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...