{% extends "base.html" %} {% from "_macros.html" import terms_field, project_field with context %} {% block title %}{{ t(info.label) }}{% endblock %} {% block scripts %}{% endblock %} {% block content %} {% set cur_branch = (inv.branch_id if inv else default_branch)|string %} {% set list_title = {'out_invoice': 'Customer Invoices', 'out_refund': 'Credit Notes', 'in_invoice': 'Vendor Bills', 'in_refund': 'Vendor Refunds'}[kind] %}