{% extends "base.html" %} {% from "_macros.html" import state_badge, list_filters, branch_tag with context %} {% set title = {'customer': 'Customer Payments', 'vendor': 'Vendor Payments'}.get(ptype, 'Payments') %} {% block title %}{{ t(title) }}{% endblock %} {% block content %}
| {{ t('Number') }} | {{ t('Date') }} | {{ t('Partner') }} | {{ t('Branch') }} | {{ t('Journal') }} | {{ t('Type') }} | {{ t('Document') }} | {{ t('Amount') }} | {{ t('Status') }} |
|---|---|---|---|---|---|---|---|---|
| {{ p.name }} | {{ p.date }} | {{ nm({'name_en': p.pname_en, 'name_ar': p.pname_ar}) }} | {{ branch_tag(branches, p.branch_id) }} | {{ p.jcode }} | {{ t('Received') if p.payment_type == 'inbound' else t('Paid') }} | {{ p.inv_number or '' }} | {{ p.amount|money(cur) }} {{ cur }} | {{ state_badge(p.state) }} |
| {{ t('Nothing yet.') }} | ||||||||