Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{{ Coworker | Json }} //Prints all data when this document is run for a member or a contact
{{ Booking | Json }} //Prints all data when this document is run for a booking
 
{% for contract in Coworker.ActiveContracts %} //Loops through each active contract
{{ contract | Json }} //prints the details of the contract
{% endfor %}

The above code shows all the data available for the current page and any data that is on other pages. So you don't get confused, it may be better to print the data available on the active page: 

...