diff --git a/InvenTree/company/templates/company/company_base.html b/InvenTree/company/templates/company/company_base.html index fdd6abddd9..8e1a743d10 100644 --- a/InvenTree/company/templates/company/company_base.html +++ b/InvenTree/company/templates/company/company_base.html @@ -19,7 +19,9 @@ InvenTree | {% trans "Company" %} - {{ company.name }} {% endblock %} {% block page_data %} -
{{ company.description }}
- | {% trans "Internal Part" %} | -- {% if part.part %} - {{ part.part.full_name }} - {% endif %} - | -
- | {% trans "Description" %} | -{{ part.description }} | -
- | {% trans "External Link" %} | -{{ part.link }} | -
- | {% trans "Supplier" %} | -{{ part.supplier.name }} |
- | {% trans "SKU" %} | -{{ part.SKU }} |
- | {% trans "Manufacturer" %} | -{{ part.manufacturer.name }} |
- | {% trans "MPN" %} | -{{ part.MPN }} | -
- | {% trans "Note" %} | -{{ part.note }} | -
{{ part.supplier.name }} - {{ part.SKU }}
++ | {% trans "Internal Part" %} | ++ {% if part.part %} + {{ part.part.full_name }} + {% endif %} + | +
+ | {% trans "Description" %} | +{{ part.description }} | +
+ | {% trans "External Link" %} | +{{ part.link }} | +
+ | {% trans "Supplier" %} | +{{ part.supplier.name }} |
+ | {% trans "SKU" %} | +{{ part.SKU }} |
+ | {% trans "Manufacturer" %} | +{{ part.manufacturer.name }} |
+ | {% trans "MPN" %} | +{{ part.MPN }} | +
+ | {% trans "Note" %} | +{{ part.note }} | +
{{ order.description }}
--
{{ order.description }}
++
- | {% trans "Order Reference" %} | -{{ order.reference }} | -
- | {% trans "Order Status" %} | -{% order_status order.status %} | -
- | {% trans "Supplier" %} | -{{ order.supplier.name }} | -
- | {% trans "Supplier Reference" %} | -{{ order.supplier_reference }} | -
- | External Link | -{{ order.link }} | -
- | {% trans "Created" %} | -{{ order.creation_date }}{{ order.created_by }} | -
- | {% trans "Issued" %} | -{{ order.issue_date }} | -
- | {% trans "Received" %} | -{{ order.complete_date }}{{ order.received_by }} | -
+ | {% trans "Order Reference" %} | +{{ order.reference }} | +
+ | {% trans "Order Status" %} | +{% order_status order.status %} | +
+ | {% trans "Supplier" %} | +{{ order.supplier.name }} | +
+ | {% trans "Supplier Reference" %} | +{{ order.supplier_reference }} | +
+ | External Link | +{{ order.link }} | +
+ | {% trans "Created" %} | +{{ order.creation_date }}{{ order.created_by }} | +
+ | {% trans "Issued" %} | +{{ order.issue_date }} | +
+ | {% trans "Received" %} | +{{ order.complete_date }}{{ order.received_by }} | +
{{ order.description }}
--
- | {% trans "Order Reference" %} | -{{ order.reference }} | -
- | {% trans "Order Status" %} | -{% order_status order.status %} | -
- | {% trans "Customer" %} | -{{ order.customer.name }} | -
- | {% trans "Customer Reference" %} | -{{ order.customer_reference }} | -
- | External Link | -{{ order.link }} | -
- | {% trans "Created" %} | -{{ order.creation_date }}{{ order.created_by }} | -
- | {% trans "Issued" %} | -{{ order.issue_date }} | -
- | {% trans "Received" %} | -{{ order.complete_date }}{{ order.received_by }} | -
{{ order.description }}
++ | {% trans "Order Reference" %} | +{{ order.reference }} | +
+ | {% trans "Order Status" %} | +{% order_status order.status %} | +
+ | {% trans "Customer" %} | +{{ order.customer.name }} | +
+ | {% trans "Customer Reference" %} | +{{ order.customer_reference }} | +
+ | External Link | +{{ order.link }} | +
+ | {% trans "Created" %} | +{{ order.creation_date }}{{ order.created_by }} | +
+ | {% trans "Issued" %} | +{{ order.issue_date }} | +
+ | {% trans "Received" %} | +{{ order.complete_date }}{{ order.received_by }} | +
{{ item.part.full_name}} # {{ item.serial }}
- {% else %} -{% decimal item.quantity %} × {{ item.part.full_name }}
- {% endif %} --
- | Part | -- {% include "hover_image.html" with image=item.part.image hover=True %} - {{ item.part.full_name }} - | -|
- | {% trans "Belongs To" %} | -{{ item.belongs_to }} | -|
- | {% trans "Location" %} | -{{ item.location.name }} | -|
- | {% trans "Unique Identifier" %} | -{{ item.uid }} | -|
- | {% trans "Serial Number" %} | -{{ item.serial }} | -|
- | {% trans "Quantity" %} | -{% decimal item.quantity %} {% if item.part.units %}{{ item.part.units }}{% endif %} | -|
- | {% trans "Batch" %} | -{{ item.batch }} | -|
- | {% trans "Build" %} | -{{ item.build }} | -|
- | {% trans "Purchase Order" %} | -{{ item.purchase_order }} | -|
- | {% trans "Customer" %} | -{{ item.customer.name }} | -|
- | {% trans "External Link" %} | -{{ item.link }} | -|
- | {% trans "Supplier" %} | -{{ item.supplier_part.supplier.name }} | -|
- | {% trans "Supplier Part" %} | -{{ item.supplier_part.SKU }} | -|
- | {% trans "Last Updated" %} | -{{ item.updated }} | -|
- | {% trans "Last Stocktake" %} | - {% if item.stocktake_date %} -{{ item.stocktake_date }} {{ item.stocktake_user }} | - {% else %} -{% trans "No stocktake performed" %} | - {% endif %} -
- | {% trans "Status" %} | -{% stock_status item.status %} | -
+ | Part | ++ {% include "hover_image.html" with image=item.part.image hover=True %} + {{ item.part.full_name }} + | +|
+ | {% trans "Belongs To" %} | +{{ item.belongs_to }} | +|
+ | {% trans "Location" %} | +{{ item.location.name }} | +|
+ | {% trans "Unique Identifier" %} | +{{ item.uid }} | +|
+ | {% trans "Serial Number" %} | +{{ item.serial }} | +|
+ | {% trans "Quantity" %} | +{% decimal item.quantity %} {% if item.part.units %}{{ item.part.units }}{% endif %} | +|
+ | {% trans "Batch" %} | +{{ item.batch }} | +|
+ | {% trans "Build" %} | +{{ item.build }} | +|
+ | {% trans "Purchase Order" %} | +{{ item.purchase_order }} | +|
+ | {% trans "Customer" %} | +{{ item.customer.name }} | +|
+ | {% trans "External Link" %} | +{{ item.link }} | +|
+ | {% trans "Supplier" %} | +{{ item.supplier_part.supplier.name }} | +|
+ | {% trans "Supplier Part" %} | +{{ item.supplier_part.SKU }} | +|
+ | {% trans "Last Updated" %} | +{{ item.updated }} | +|
+ | {% trans "Last Stocktake" %} | + {% if item.stocktake_date %} +{{ item.stocktake_date }} {{ item.stocktake_user }} | + {% else %} +{% trans "No stocktake performed" %} | + {% endif %} +
+ | {% trans "Status" %} | +{% stock_status item.status %} | +