feat: Shop Supplier Purchase Order get, filter, and add new.

This commit is contained in:
2024-10-25 16:42:13 +01:00
parent 7b6266e2f6
commit 437e094776
125 changed files with 3913 additions and 966 deletions

View File

@@ -0,0 +1,17 @@
{% with _is_blank_row = (is_blank_row or model.suppliers | length == 0 or supplier is not defined or supplier is none) %}
{% if not _is_blank_row %}
<div
class="{{ model.FLAG_SUPPLIER }}"
{{ model.ATTR_VALUE_CURRENT }}="{{ supplier.id_supplier }}"
{{ model.ATTR_VALUE_PREVIOUS }}="{{ supplier.id_supplier }}"
>{{ supplier.name_company }}</div>
{% else %}
<div
class="{{ model.FLAG_SUPPLIER }}"
{{ model.ATTR_VALUE_CURRENT }}=""
{{ model.ATTR_VALUE_PREVIOUS }}=""
></div>
{% endif %}
{% endwith %}