I'm trying to set up Mayan for my personal paperwork. Currently, I have a document type "invoice" and a document type "medical invoice". Both can be tagged as "paid", medical invoices can also be tagged as "submitted" for coverage by the insurance company.
Now I want an index that shows me all invoices and medical invoices that are not yet tagged as "paid".
However, I can't get this to work.
Code: Select all
{% if "paid" not in document.tags.all %}Unpaid{% endif %}
Also, is there a place where I can see my templating syntax errors? Couldn't find an error log that showed me if my index template was wrong.
Thanks!