{% extends 'admin/inspect.html' %} {% load i18n static admin_urls simpelcore_tags simpelsettings_tags simpelauth_tags %} {% block object-tools-items %} {% if has_add_permission %} {% url opts|admin_urlname:'clone' object.pk|admin_urlquote as clone_url %} {% trans "Duplicate Sales Order" as clone_popover %} {% include 'admin/includes/object_tools_item.html' with url=clone_url popover=clone_popover icon="clipboard-file-outline" %} {% endif %} {% if has_create_workorder_permission %} {% url opts|admin_urlname:'create_workorder' object.pk|admin_urlquote as create_workorder_url %} {% trans "Create Work Order" as workorder_popover %} {% include 'admin/includes/object_tools_item.html' with url=create_workorder_url popover=workorder_popover icon="bulletin-board" %} {% endif %} {% if has_create_invoice_permission %} {% url opts|admin_urlname:'create_invoice' object.pk|admin_urlquote as create_invoice_url %} {% trans "Create Invoice" as invoice_popover %} {% include 'admin/includes/object_tools_item.html' with url=create_invoice_url popover=invoice_popover icon="inbox-full-outline" %} {% endif %} {{ block.super }} {% endblock %} {% block content %} {% get_settings %}
{% trans "#" %} | {% trans "Item" %} | {% trans "Price" %} | {% trans "Quantity" %} | {% trans "Total" %} |
---|---|---|---|---|
Terbilang:
{{ object.grand_total|number_to_text|title }}{% if object.grand_total > 0 %} Rupiah{% endif %} |
{% trans "Total" %} | {{ object.total|currency }} | ||
{% trans "Discount" %} | {{ object.discount|currency }} | |||
{% trans "Down Payment" %} | {{ object.downpayment|currency }} | |||
{% trans "Grand Total" %} | {{ object.grand_total|currency }} | |||
{% trans "Payable" %} | {% if object.is_payable %}{{ object.payable|currency }}{% else %}{{ 0|currency}}{% endif %} |