Beginner [Exercise 3: Filters & Drops] (Training slides exercise)

Print the following content on a document applying the respective filters:

  • The name of the company in Capital Letters
  • The address of the company, replacing any blank spaces by an underscore (_)
  • The date of the end of the fiscal year of this period in the following format: mm/yy

The output should look similar to the image below:

|237px;x92px;

Solution:

{{ company.name | upcase }}
{{ company.street | replace:' ','_' }}
{{ period.year_end_date | date:'%m/%Y' }}