{% extends "base.html" %} {% from "_macros.html" import doc_export, state_badge, attachments_card with context %} {% block title %}{{ p.name }}{% endblock %} {% block content %} {% set cur = p.currency or (branch.currency if branch else none) %}