macros docs

This commit is contained in:
Pablo Martin 2024-05-22 11:42:42 +02:00
parent 93c2de6f03
commit 319c743cec
2 changed files with 19 additions and 7 deletions

View file

@ -1,3 +1,11 @@
/*
We have different tables computing fees for different line items coming.
The only difference between these tables is what Xero Line Items are we looking
into. To avoid copying the same logic multiple times, we created this macro.
*/
{% macro generate_xero_net_fees_model(item_codes_to_include) %}
{% set relevant_document_statuses = "('PAID', 'AUTHORISED')" %}