mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add translations for the StockItem detail page
This commit is contained in:
parent
0effb584b9
commit
789515e39d
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-09-27 00:12+0000\n"
|
"POT-Creation-Date: 2019-11-16 09:12+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -149,7 +149,7 @@ msgstr ""
|
|||||||
msgid "Allocated quantity ({n}) must not exceed available quantity ({q})"
|
msgid "Allocated quantity ({n}) must not exceed available quantity ({q})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/views.py:289 stock/views.py:834
|
#: build/views.py:289 stock/views.py:848
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "The following serial numbers already exist: ({sn})"
|
msgid "The following serial numbers already exist: ({sn})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -190,6 +190,10 @@ msgstr ""
|
|||||||
msgid "Use this currency as the base currency"
|
msgid "Use this currency as the base currency"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: company/templates/company/partdelete.html:5
|
||||||
|
msgid "Are you sure you want to delete the following Supplier Parts?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: order/forms.py:21
|
#: order/forms.py:21
|
||||||
msgid "Place order"
|
msgid "Place order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -223,7 +227,7 @@ msgid "Company"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: order/models.py:156 order/models.py:201 part/views.py:1032
|
#: order/models.py:156 order/models.py:201 part/views.py:1032
|
||||||
#: stock/models.py:437
|
#: stock/models.py:438
|
||||||
msgid "Quantity must be greater than zero"
|
msgid "Quantity must be greater than zero"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -247,7 +251,7 @@ msgstr ""
|
|||||||
msgid "Line item notes"
|
msgid "Line item notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: order/models.py:275
|
#: order/models.py:275 stock/templates/stock/item.html:106
|
||||||
msgid "Purchase Order"
|
msgid "Purchase Order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -409,7 +413,7 @@ msgstr ""
|
|||||||
msgid "Variant Of"
|
msgid "Variant Of"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: part/templates/part/detail.html:49
|
#: part/templates/part/detail.html:49 stock/templates/stock/item.html:118
|
||||||
msgid "URL"
|
msgid "URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -497,7 +501,7 @@ msgstr ""
|
|||||||
msgid "Part cannot be sold to customers"
|
msgid "Part cannot be sold to customers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: part/templates/part/detail.html:151
|
#: part/templates/part/detail.html:151 stock/templates/stock/item.html:150
|
||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -554,67 +558,142 @@ msgstr ""
|
|||||||
msgid "Set the destination as the default location for selected parts"
|
msgid "Set the destination as the default location for selected parts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:201
|
#: stock/models.py:202
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"A stock item with this serial number already exists for template part {part}"
|
"A stock item with this serial number already exists for template part {part}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:206
|
#: stock/models.py:207
|
||||||
msgid "A stock item with this serial number already exists"
|
msgid "A stock item with this serial number already exists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:225
|
#: stock/models.py:226
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Part type ('{pf}') must be {pe}"
|
msgid "Part type ('{pf}') must be {pe}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:235 stock/models.py:244
|
#: stock/models.py:236 stock/models.py:245
|
||||||
msgid "Quantity must be 1 for item with a serial number"
|
msgid "Quantity must be 1 for item with a serial number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:236
|
#: stock/models.py:237
|
||||||
msgid "Serial number cannot be set if quantity greater than 1"
|
msgid "Serial number cannot be set if quantity greater than 1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:252
|
#: stock/models.py:253
|
||||||
msgid "Stock item cannot be created for a template Part"
|
msgid "Stock item cannot be created for a template Part"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:261
|
#: stock/models.py:262
|
||||||
msgid "Item cannot belong to itself"
|
msgid "Item cannot belong to itself"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:434
|
#: stock/models.py:361
|
||||||
|
msgid "Stock Item Notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:435
|
||||||
msgid "Quantity must be integer"
|
msgid "Quantity must be integer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:440
|
#: stock/models.py:441
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Quantity must not exceed available stock quantity ({n})"
|
msgid "Quantity must not exceed available stock quantity ({n})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:443 stock/models.py:446
|
#: stock/models.py:444 stock/models.py:447
|
||||||
msgid "Serial numbers must be a list of integers"
|
msgid "Serial numbers must be a list of integers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:449
|
#: stock/models.py:450
|
||||||
msgid "Quantity does not match serial numbers"
|
msgid "Quantity does not match serial numbers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:459
|
#: stock/models.py:460
|
||||||
msgid "Serial numbers already exist: "
|
msgid "Serial numbers already exist: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:480
|
#: stock/models.py:481
|
||||||
msgid "Add serial number"
|
msgid "Add serial number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:483
|
#: stock/models.py:484
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Serialized {n} items"
|
msgid "Serialized {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:8
|
||||||
|
msgid "Stock Item Details"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:51
|
||||||
|
msgid ""
|
||||||
|
"This stock item is serialized - it has a unique serial number and the "
|
||||||
|
"quantity cannot be adjusted."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:55
|
||||||
|
msgid ""
|
||||||
|
"This stock item will be automatically deleted when all stock is depleted."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:72
|
||||||
|
msgid "Belongs To"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:77
|
||||||
|
msgid "Location"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:83
|
||||||
|
msgid "Serial Number"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:88
|
||||||
|
msgid "Quantity"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:94
|
||||||
|
msgid "Batch"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:100
|
||||||
|
msgid "Build"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:112
|
||||||
|
msgid "Customer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:124
|
||||||
|
msgid "Supplier"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:128
|
||||||
|
msgid "Supplier Part"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:133
|
||||||
|
msgid "Last Updated"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:137
|
||||||
|
msgid "Last Stocktake"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:141
|
||||||
|
msgid "No stocktake performed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:145
|
||||||
|
msgid "Status"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:159
|
||||||
|
msgid "Stock Tracking Information"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/templates/stock/location.html:37
|
#: stock/templates/stock/location.html:37
|
||||||
msgid "Location Details"
|
msgid "Location Details"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -644,51 +723,71 @@ msgstr ""
|
|||||||
msgid "Stock Locations"
|
msgid "Stock Locations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:399
|
#: stock/views.py:370
|
||||||
|
msgid "Move Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:371
|
||||||
|
msgid "Count Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:372
|
||||||
|
msgid "Remove From Stock"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:373
|
||||||
|
msgid "Add Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:374
|
||||||
|
msgid "Delete Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:401
|
||||||
msgid "Must enter integer value"
|
msgid "Must enter integer value"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:404
|
#: stock/views.py:406
|
||||||
msgid "Quantity must be positive"
|
msgid "Quantity must be positive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:411
|
#: stock/views.py:413
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Quantity must not exceed {x}"
|
msgid "Quantity must not exceed {x}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:419
|
#: stock/views.py:421
|
||||||
msgid "Confirm stock adjustment"
|
msgid "Confirm stock adjustment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:487
|
#: stock/views.py:492
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Added stock to {n} items"
|
msgid "Added stock to {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:502
|
#: stock/views.py:507
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Removed stock from {n} items"
|
msgid "Removed stock from {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:515
|
#: stock/views.py:520
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Counted stock for {n} items"
|
msgid "Counted stock for {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:543
|
#: stock/views.py:548
|
||||||
msgid "No items were moved"
|
msgid "No items were moved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:546
|
#: stock/views.py:551
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Moved {n} items to {dest}"
|
msgid "Moved {n} items to {dest}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:813
|
#: stock/views.py:827
|
||||||
msgid "Invalid part selection"
|
msgid "Invalid part selection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:875
|
#: stock/views.py:889
|
||||||
msgid "Created new stock item"
|
msgid "Created new stock item"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-09-27 00:12+0000\n"
|
"POT-Creation-Date: 2019-11-16 09:12+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -149,7 +149,7 @@ msgstr ""
|
|||||||
msgid "Allocated quantity ({n}) must not exceed available quantity ({q})"
|
msgid "Allocated quantity ({n}) must not exceed available quantity ({q})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/views.py:289 stock/views.py:834
|
#: build/views.py:289 stock/views.py:848
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "The following serial numbers already exist: ({sn})"
|
msgid "The following serial numbers already exist: ({sn})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -190,6 +190,10 @@ msgstr ""
|
|||||||
msgid "Use this currency as the base currency"
|
msgid "Use this currency as the base currency"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: company/templates/company/partdelete.html:5
|
||||||
|
msgid "Are you sure you want to delete the following Supplier Parts?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: order/forms.py:21
|
#: order/forms.py:21
|
||||||
msgid "Place order"
|
msgid "Place order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -223,7 +227,7 @@ msgid "Company"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: order/models.py:156 order/models.py:201 part/views.py:1032
|
#: order/models.py:156 order/models.py:201 part/views.py:1032
|
||||||
#: stock/models.py:437
|
#: stock/models.py:438
|
||||||
msgid "Quantity must be greater than zero"
|
msgid "Quantity must be greater than zero"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -247,7 +251,7 @@ msgstr ""
|
|||||||
msgid "Line item notes"
|
msgid "Line item notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: order/models.py:275
|
#: order/models.py:275 stock/templates/stock/item.html:106
|
||||||
msgid "Purchase Order"
|
msgid "Purchase Order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -409,7 +413,7 @@ msgstr ""
|
|||||||
msgid "Variant Of"
|
msgid "Variant Of"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: part/templates/part/detail.html:49
|
#: part/templates/part/detail.html:49 stock/templates/stock/item.html:118
|
||||||
msgid "URL"
|
msgid "URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -497,7 +501,7 @@ msgstr ""
|
|||||||
msgid "Part cannot be sold to customers"
|
msgid "Part cannot be sold to customers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: part/templates/part/detail.html:151
|
#: part/templates/part/detail.html:151 stock/templates/stock/item.html:150
|
||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -554,67 +558,142 @@ msgstr ""
|
|||||||
msgid "Set the destination as the default location for selected parts"
|
msgid "Set the destination as the default location for selected parts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:201
|
#: stock/models.py:202
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"A stock item with this serial number already exists for template part {part}"
|
"A stock item with this serial number already exists for template part {part}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:206
|
#: stock/models.py:207
|
||||||
msgid "A stock item with this serial number already exists"
|
msgid "A stock item with this serial number already exists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:225
|
#: stock/models.py:226
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Part type ('{pf}') must be {pe}"
|
msgid "Part type ('{pf}') must be {pe}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:235 stock/models.py:244
|
#: stock/models.py:236 stock/models.py:245
|
||||||
msgid "Quantity must be 1 for item with a serial number"
|
msgid "Quantity must be 1 for item with a serial number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:236
|
#: stock/models.py:237
|
||||||
msgid "Serial number cannot be set if quantity greater than 1"
|
msgid "Serial number cannot be set if quantity greater than 1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:252
|
#: stock/models.py:253
|
||||||
msgid "Stock item cannot be created for a template Part"
|
msgid "Stock item cannot be created for a template Part"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:261
|
#: stock/models.py:262
|
||||||
msgid "Item cannot belong to itself"
|
msgid "Item cannot belong to itself"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:434
|
#: stock/models.py:361
|
||||||
|
msgid "Stock Item Notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:435
|
||||||
msgid "Quantity must be integer"
|
msgid "Quantity must be integer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:440
|
#: stock/models.py:441
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Quantity must not exceed available stock quantity ({n})"
|
msgid "Quantity must not exceed available stock quantity ({n})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:443 stock/models.py:446
|
#: stock/models.py:444 stock/models.py:447
|
||||||
msgid "Serial numbers must be a list of integers"
|
msgid "Serial numbers must be a list of integers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:449
|
#: stock/models.py:450
|
||||||
msgid "Quantity does not match serial numbers"
|
msgid "Quantity does not match serial numbers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:459
|
#: stock/models.py:460
|
||||||
msgid "Serial numbers already exist: "
|
msgid "Serial numbers already exist: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:480
|
#: stock/models.py:481
|
||||||
msgid "Add serial number"
|
msgid "Add serial number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:483
|
#: stock/models.py:484
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Serialized {n} items"
|
msgid "Serialized {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:8
|
||||||
|
msgid "Stock Item Details"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:51
|
||||||
|
msgid ""
|
||||||
|
"This stock item is serialized - it has a unique serial number and the "
|
||||||
|
"quantity cannot be adjusted."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:55
|
||||||
|
msgid ""
|
||||||
|
"This stock item will be automatically deleted when all stock is depleted."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:72
|
||||||
|
msgid "Belongs To"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:77
|
||||||
|
msgid "Location"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:83
|
||||||
|
msgid "Serial Number"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:88
|
||||||
|
msgid "Quantity"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:94
|
||||||
|
msgid "Batch"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:100
|
||||||
|
msgid "Build"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:112
|
||||||
|
msgid "Customer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:124
|
||||||
|
msgid "Supplier"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:128
|
||||||
|
msgid "Supplier Part"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:133
|
||||||
|
msgid "Last Updated"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:137
|
||||||
|
msgid "Last Stocktake"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:141
|
||||||
|
msgid "No stocktake performed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:145
|
||||||
|
msgid "Status"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:159
|
||||||
|
msgid "Stock Tracking Information"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/templates/stock/location.html:37
|
#: stock/templates/stock/location.html:37
|
||||||
msgid "Location Details"
|
msgid "Location Details"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -644,51 +723,71 @@ msgstr ""
|
|||||||
msgid "Stock Locations"
|
msgid "Stock Locations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:399
|
#: stock/views.py:370
|
||||||
|
msgid "Move Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:371
|
||||||
|
msgid "Count Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:372
|
||||||
|
msgid "Remove From Stock"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:373
|
||||||
|
msgid "Add Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:374
|
||||||
|
msgid "Delete Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:401
|
||||||
msgid "Must enter integer value"
|
msgid "Must enter integer value"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:404
|
#: stock/views.py:406
|
||||||
msgid "Quantity must be positive"
|
msgid "Quantity must be positive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:411
|
#: stock/views.py:413
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Quantity must not exceed {x}"
|
msgid "Quantity must not exceed {x}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:419
|
#: stock/views.py:421
|
||||||
msgid "Confirm stock adjustment"
|
msgid "Confirm stock adjustment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:487
|
#: stock/views.py:492
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Added stock to {n} items"
|
msgid "Added stock to {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:502
|
#: stock/views.py:507
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Removed stock from {n} items"
|
msgid "Removed stock from {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:515
|
#: stock/views.py:520
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Counted stock for {n} items"
|
msgid "Counted stock for {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:543
|
#: stock/views.py:548
|
||||||
msgid "No items were moved"
|
msgid "No items were moved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:546
|
#: stock/views.py:551
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Moved {n} items to {dest}"
|
msgid "Moved {n} items to {dest}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:813
|
#: stock/views.py:827
|
||||||
msgid "Invalid part selection"
|
msgid "Invalid part selection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:875
|
#: stock/views.py:889
|
||||||
msgid "Created new stock item"
|
msgid "Created new stock item"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-09-27 00:12+0000\n"
|
"POT-Creation-Date: 2019-11-16 09:12+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -149,7 +149,7 @@ msgstr ""
|
|||||||
msgid "Allocated quantity ({n}) must not exceed available quantity ({q})"
|
msgid "Allocated quantity ({n}) must not exceed available quantity ({q})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: build/views.py:289 stock/views.py:834
|
#: build/views.py:289 stock/views.py:848
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "The following serial numbers already exist: ({sn})"
|
msgid "The following serial numbers already exist: ({sn})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -190,6 +190,10 @@ msgstr ""
|
|||||||
msgid "Use this currency as the base currency"
|
msgid "Use this currency as the base currency"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: company/templates/company/partdelete.html:5
|
||||||
|
msgid "Are you sure you want to delete the following Supplier Parts?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: order/forms.py:21
|
#: order/forms.py:21
|
||||||
msgid "Place order"
|
msgid "Place order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -223,7 +227,7 @@ msgid "Company"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: order/models.py:156 order/models.py:201 part/views.py:1032
|
#: order/models.py:156 order/models.py:201 part/views.py:1032
|
||||||
#: stock/models.py:437
|
#: stock/models.py:438
|
||||||
msgid "Quantity must be greater than zero"
|
msgid "Quantity must be greater than zero"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -247,7 +251,7 @@ msgstr ""
|
|||||||
msgid "Line item notes"
|
msgid "Line item notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: order/models.py:275
|
#: order/models.py:275 stock/templates/stock/item.html:106
|
||||||
msgid "Purchase Order"
|
msgid "Purchase Order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -409,7 +413,7 @@ msgstr ""
|
|||||||
msgid "Variant Of"
|
msgid "Variant Of"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: part/templates/part/detail.html:49
|
#: part/templates/part/detail.html:49 stock/templates/stock/item.html:118
|
||||||
msgid "URL"
|
msgid "URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -497,7 +501,7 @@ msgstr ""
|
|||||||
msgid "Part cannot be sold to customers"
|
msgid "Part cannot be sold to customers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: part/templates/part/detail.html:151
|
#: part/templates/part/detail.html:151 stock/templates/stock/item.html:150
|
||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -554,67 +558,142 @@ msgstr ""
|
|||||||
msgid "Set the destination as the default location for selected parts"
|
msgid "Set the destination as the default location for selected parts"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:201
|
#: stock/models.py:202
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"A stock item with this serial number already exists for template part {part}"
|
"A stock item with this serial number already exists for template part {part}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:206
|
#: stock/models.py:207
|
||||||
msgid "A stock item with this serial number already exists"
|
msgid "A stock item with this serial number already exists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:225
|
#: stock/models.py:226
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Part type ('{pf}') must be {pe}"
|
msgid "Part type ('{pf}') must be {pe}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:235 stock/models.py:244
|
#: stock/models.py:236 stock/models.py:245
|
||||||
msgid "Quantity must be 1 for item with a serial number"
|
msgid "Quantity must be 1 for item with a serial number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:236
|
#: stock/models.py:237
|
||||||
msgid "Serial number cannot be set if quantity greater than 1"
|
msgid "Serial number cannot be set if quantity greater than 1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:252
|
#: stock/models.py:253
|
||||||
msgid "Stock item cannot be created for a template Part"
|
msgid "Stock item cannot be created for a template Part"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:261
|
#: stock/models.py:262
|
||||||
msgid "Item cannot belong to itself"
|
msgid "Item cannot belong to itself"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:434
|
#: stock/models.py:361
|
||||||
|
msgid "Stock Item Notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:435
|
||||||
msgid "Quantity must be integer"
|
msgid "Quantity must be integer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:440
|
#: stock/models.py:441
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Quantity must not exceed available stock quantity ({n})"
|
msgid "Quantity must not exceed available stock quantity ({n})"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:443 stock/models.py:446
|
#: stock/models.py:444 stock/models.py:447
|
||||||
msgid "Serial numbers must be a list of integers"
|
msgid "Serial numbers must be a list of integers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:449
|
#: stock/models.py:450
|
||||||
msgid "Quantity does not match serial numbers"
|
msgid "Quantity does not match serial numbers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:459
|
#: stock/models.py:460
|
||||||
msgid "Serial numbers already exist: "
|
msgid "Serial numbers already exist: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:480
|
#: stock/models.py:481
|
||||||
msgid "Add serial number"
|
msgid "Add serial number"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:483
|
#: stock/models.py:484
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Serialized {n} items"
|
msgid "Serialized {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:8
|
||||||
|
msgid "Stock Item Details"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:51
|
||||||
|
msgid ""
|
||||||
|
"This stock item is serialized - it has a unique serial number and the "
|
||||||
|
"quantity cannot be adjusted."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:55
|
||||||
|
msgid ""
|
||||||
|
"This stock item will be automatically deleted when all stock is depleted."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:72
|
||||||
|
msgid "Belongs To"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:77
|
||||||
|
msgid "Location"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:83
|
||||||
|
msgid "Serial Number"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:88
|
||||||
|
msgid "Quantity"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:94
|
||||||
|
msgid "Batch"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:100
|
||||||
|
msgid "Build"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:112
|
||||||
|
msgid "Customer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:124
|
||||||
|
msgid "Supplier"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:128
|
||||||
|
msgid "Supplier Part"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:133
|
||||||
|
msgid "Last Updated"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:137
|
||||||
|
msgid "Last Stocktake"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:141
|
||||||
|
msgid "No stocktake performed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:145
|
||||||
|
msgid "Status"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/templates/stock/item.html:159
|
||||||
|
msgid "Stock Tracking Information"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/templates/stock/location.html:37
|
#: stock/templates/stock/location.html:37
|
||||||
msgid "Location Details"
|
msgid "Location Details"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -644,51 +723,71 @@ msgstr ""
|
|||||||
msgid "Stock Locations"
|
msgid "Stock Locations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:399
|
#: stock/views.py:370
|
||||||
|
msgid "Move Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:371
|
||||||
|
msgid "Count Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:372
|
||||||
|
msgid "Remove From Stock"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:373
|
||||||
|
msgid "Add Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:374
|
||||||
|
msgid "Delete Stock Items"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/views.py:401
|
||||||
msgid "Must enter integer value"
|
msgid "Must enter integer value"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:404
|
#: stock/views.py:406
|
||||||
msgid "Quantity must be positive"
|
msgid "Quantity must be positive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:411
|
#: stock/views.py:413
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Quantity must not exceed {x}"
|
msgid "Quantity must not exceed {x}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:419
|
#: stock/views.py:421
|
||||||
msgid "Confirm stock adjustment"
|
msgid "Confirm stock adjustment"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:487
|
#: stock/views.py:492
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Added stock to {n} items"
|
msgid "Added stock to {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:502
|
#: stock/views.py:507
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Removed stock from {n} items"
|
msgid "Removed stock from {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:515
|
#: stock/views.py:520
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Counted stock for {n} items"
|
msgid "Counted stock for {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:543
|
#: stock/views.py:548
|
||||||
msgid "No items were moved"
|
msgid "No items were moved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:546
|
#: stock/views.py:551
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Moved {n} items to {dest}"
|
msgid "Moved {n} items to {dest}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:813
|
#: stock/views.py:827
|
||||||
msgid "Invalid part selection"
|
msgid "Invalid part selection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: stock/views.py:875
|
#: stock/views.py:889
|
||||||
msgid "Created new stock item"
|
msgid "Created new stock item"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
{% extends "stock/stock_app_base.html" %}
|
{% extends "stock/stock_app_base.html" %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load i18n %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<h3>Stock Item Details</h3>
|
<h3>{% trans "Stock Item Details" %}</h3>
|
||||||
{% if item.serialized %}
|
{% if item.serialized %}
|
||||||
<p><i>{{ item.part.full_name}} # {{ item.serial }}</i></p>
|
<p><i>{{ item.part.full_name}} # {{ item.serial }}</i></p>
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -47,11 +48,11 @@
|
|||||||
</p>
|
</p>
|
||||||
{% if item.serialized %}
|
{% if item.serialized %}
|
||||||
<div class='alert alert-block alert-info'>
|
<div class='alert alert-block alert-info'>
|
||||||
This stock item is serialized - it has a unique serial number and the quantity cannot be adjusted.
|
{% trans "This stock item is serialized - it has a unique serial number and the quantity cannot be adjusted." %}
|
||||||
</div>
|
</div>
|
||||||
{% elif item.delete_on_deplete %}
|
{% elif item.delete_on_deplete %}
|
||||||
<div class='alert alert-block alert-warning'>
|
<div class='alert alert-block alert-warning'>
|
||||||
This stock item will be automatically deleted when all stock is depleted.
|
{% trans "This stock item will be automatically deleted when all stock is depleted." %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@ -68,85 +69,85 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% if item.belongs_to %}
|
{% if item.belongs_to %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Belongs To</td>
|
<td>{% trans "Belongs To" %}</td>
|
||||||
<td><a href="{% url 'stock-item-detail' item.belongs_to.id %}">{{ item.belongs_to }}</a></td>
|
<td><a href="{% url 'stock-item-detail' item.belongs_to.id %}">{{ item.belongs_to }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% elif item.location %}
|
{% elif item.location %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Location</td>
|
<td>{% trans "Location" %}</td>
|
||||||
<td><a href="{% url 'stock-location-detail' item.location.id %}">{{ item.location.name }}</a></td>
|
<td><a href="{% url 'stock-location-detail' item.location.id %}">{{ item.location.name }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.serialized %}
|
{% if item.serialized %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Serial Number</td>
|
<td>{% trans "Serial Number" %}</td>
|
||||||
<td>{{ item.serial }}</td>
|
<td>{{ item.serial }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% else %}
|
{% else %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Quantity</td>
|
<td>{% trans "Quantity" %}</td>
|
||||||
<td>{{ item.quantity }}</td>
|
<td>{{ item.quantity }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.batch %}
|
{% if item.batch %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Batch</td>
|
<td>{% trans "Batch" %}</td>
|
||||||
<td>{{ item.batch }}</td>
|
<td>{{ item.batch }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.build %}
|
{% if item.build %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Build</td>
|
<td>{% trans "Build" %}</td>
|
||||||
<td><a href="{% url 'build-detail' item.build.id %}">{{ item.build }}</a></td>
|
<td><a href="{% url 'build-detail' item.build.id %}">{{ item.build }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.purchase_order %}
|
{% if item.purchase_order %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Purchase Order</td>
|
<td>{% trans "Purchase Order" %}</td>
|
||||||
<td><a href="{% url 'purchase-order-detail' item.purchase_order.id %}">{{ item.purchase_order }}</a></td>
|
<td><a href="{% url 'purchase-order-detail' item.purchase_order.id %}">{{ item.purchase_order }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.customer %}
|
{% if item.customer %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Customer</td>
|
<td>{% trans "Customer" %}</td>
|
||||||
<td>{{ item.customer.name }}</td>
|
<td>{{ item.customer.name }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.URL %}
|
{% if item.URL %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>URL</td>
|
<td>{% trans "URL" %}</td>
|
||||||
<td><a href="{{ item.URL }}">{{ item.URL }}</a></td>
|
<td><a href="{{ item.URL }}">{{ item.URL }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.supplier_part %}
|
{% if item.supplier_part %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Supplier</td>
|
<td>{% trans "Supplier" %}</td>
|
||||||
<td><a href="{% url 'company-detail' item.supplier_part.supplier.id %}">{{ item.supplier_part.supplier.name }}</a></td>
|
<td><a href="{% url 'company-detail' item.supplier_part.supplier.id %}">{{ item.supplier_part.supplier.name }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Supplier Part</td>
|
<td>{% trans "Supplier Part" %}</td>
|
||||||
<td><a href="{% url 'supplier-part-detail' item.supplier_part.id %}">{{ item.supplier_part.SKU }}</a></td>
|
<td><a href="{% url 'supplier-part-detail' item.supplier_part.id %}">{{ item.supplier_part.SKU }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Last Updated</td>
|
<td>{% trans "Last Updated" %}</td>
|
||||||
<td>{{ item.updated }}</td>
|
<td>{{ item.updated }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Last Stocktake</td>
|
<td>{% trans "Last Stocktake" %}</td>
|
||||||
{% if item.stocktake_date %}
|
{% if item.stocktake_date %}
|
||||||
<td>{{ item.stocktake_date }} <span class='badge'>{{ item.stocktake_user }}</span></td>
|
<td>{{ item.stocktake_date }} <span class='badge'>{{ item.stocktake_user }}</span></td>
|
||||||
{% else %}
|
{% else %}
|
||||||
<td>No stocktake performed</td>
|
<td>{% trans "No stocktake performed" %}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Status</td>
|
<td>{% trans "Status" %}</td>
|
||||||
<td>{{ item.get_status_display }}</td>
|
<td>{{ item.get_status_display }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if item.notes %}
|
{% if item.notes %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Notes</td>
|
<td>{% trans "Notes" %}</td>
|
||||||
<td>{{ item.notes }}</td>
|
<td>{{ item.notes }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -155,7 +156,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<h4>Stock Tracking Information</h4>
|
<h4>{% trans "Stock Tracking Information" %}</h4>
|
||||||
<div id='table-toolbar'>
|
<div id='table-toolbar'>
|
||||||
<div class='btn-group'>
|
<div class='btn-group'>
|
||||||
<button class='btn btn-success' type='button' title='New tracking entry' id='new-entry'>New Entry</button>
|
<button class='btn btn-success' type='button' title='New tracking entry' id='new-entry'>New Entry</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user