Commit Graph

6300 Commits

Author SHA1 Message Date
Oliver
0c41cc7c77 Handle form submissions 2021-07-12 18:13:06 +10:00
Oliver
e3f85414fa Stock API URL cleanup 2021-07-12 17:32:06 +10:00
Oliver
747cccfa42 Refactor to use more generic forms approach 2021-07-12 16:55:35 +10:00
Oliver
7531984c78 Fix read_only attribute 2021-07-11 21:17:54 +10:00
Oliver
cc90c8abbe Move buttons to separate table column 2021-07-11 21:15:06 +10:00
Oliver
9eb1367d80 Add "location" field 2021-07-11 21:07:56 +10:00
Oliver
3efd7f7777 Add a "notes" field 2021-07-11 20:56:29 +10:00
Oliver
ca5d3a57de Set quantity input parameters based on action 2021-07-11 20:49:54 +10:00
Oliver
9e4bc274cf Allow custom code to be run on form submission 2021-07-11 20:40:27 +10:00
Oliver
c045a3b6f6 Refactorin' 2021-07-11 20:36:52 +10:00
Oliver
14ab1bef14 Callback to remove row 2021-07-11 00:15:46 +10:00
Oliver
0507e8a3bc Building stock adjustment modal 2021-07-10 23:59:35 +10:00
Oliver
02214ea713
Merge pull request #1799 from SchrodingersGat/bom-export-fix
Bug fix for BOM export
2021-07-10 23:27:17 +10:00
Oliver
7cc1063114 PEP 2021-07-10 23:04:34 +10:00
Oliver
73e03636a2 Add unit tests 2021-07-10 23:04:20 +10:00
Oliver
d9c2d061cc
Merge pull request #1797 from SchrodingersGat/bom-validation-fix
Add numerical validation step for BomItem
2021-07-10 14:14:52 +10:00
Oliver
cf66a386ea Bug fix 2021-07-10 14:13:46 +10:00
Oliver
bf2774eb21 Add numerical validation step for BomItem 2021-07-10 13:48:44 +10:00
Oliver
f6d5bd4ed8
Merge pull request #1760 from eeintech/bom_import
Converted BOM import to new multi-step form framework
2021-07-10 13:47:25 +10:00
Oliver
fe6da32e64
Merge pull request #1793 from SchrodingersGat/combine-manufacturer-supplier-tables
Consolidate Manufacturers and Suppliers views
2021-07-09 16:57:11 +10:00
Oliver
9ae5c241f5 Move part parameters onto the part details page 2021-07-09 16:34:47 +10:00
Oliver
ff92210b25 Fix URLs 2021-07-09 16:31:29 +10:00
Oliver
6eec6a0599 Consolidate Manufacturers and Suppliers views 2021-07-09 16:29:58 +10:00
Oliver
b89fe4f9d4
Merge pull request #1789 from SchrodingersGat/supplier-part-table
Add more fields to ManufacturerPart and SupplierPart tables
2021-07-09 15:09:39 +10:00
Oliver
47a56f7f5d Fixes for unit tests 2021-07-09 14:54:03 +10:00
Oliver
c694c9467b sessionStorage -> localStorage
OMG
2021-07-09 14:39:08 +10:00
Oliver
6b73e7a408 Add more fields to ManufacturerPart and SupplierPart tables 2021-07-09 14:28:32 +10:00
Oliver
5235ad1b0c
Merge pull request #1787 from SchrodingersGat/bom-table-additions
Add sub_part_assembly filter to BOM table
2021-07-09 13:39:09 +10:00
Oliver
7168607a88 PEP fix 2021-07-09 13:07:01 +10:00
Oliver
079e331bf6 Add sub_part_assembly filter to BOM table 2021-07-09 13:04:48 +10:00
Oliver
558e24c985
Merge pull request #1783 from SchrodingersGat/build-table-filtering
Fix for strange table filtering bug
2021-07-09 12:57:03 +10:00
Oliver
c45e2d682e
Merge pull request #1782 from SchrodingersGat/company-rendering
Improve rendering of "Company" in API form
2021-07-09 12:31:31 +10:00
Oliver
9d7f9a9aa3 Fix for strange table filtering bug
- When a table was "refreshed" based on the selectable filters, table ordering was not observed
- This was due to the original query parameter conversion not being observed
- Refactored out the conversion function so it works correctly now
- Also removed some cruft from generated query strings
2021-07-09 12:31:25 +10:00
Oliver
7539bd47fe Fix rendering issues 2021-07-09 12:10:27 +10:00
Oliver
6a995042c9 Fix bug relating no PurchaseOrderLineItem with null Part reference 2021-07-09 12:10:17 +10:00
Oliver
4b6ca548b6 Improve form rendering for SupplierPart 2021-07-09 12:09:57 +10:00
Oliver
40ac1f39e0 Improve rendering of "Company" in API form
- Add a thumbnail image
- Refactor select2 thumbnail code

(cherry picked from commit 2df7c520be)
2021-07-09 11:14:38 +10:00
Oliver
19ba9bf93c
Merge pull request #1780 from SchrodingersGat/IPN_case
Fix case for filtering parts by IPN
2021-07-09 09:26:48 +10:00
Oliver
0c73fa3b58 Add regex filter for part name 2021-07-09 09:11:31 +10:00
Oliver
fd5d20ad13 Fix case for filtering parts by IPN 2021-07-09 09:08:55 +10:00
Oliver
433098ce6e
Merge pull request #1778 from SchrodingersGat/build-forms
Refactor BuildOrderEdit form
2021-07-09 09:02:39 +10:00
Oliver
0a86d947bc Refactor PartParameterCreate form 2021-07-09 02:03:33 +10:00
Oliver
cbf0e0bd4a Refactor forms for editing and deleting a PartParameter
- PartParameters now loaded using the API, not pre-rendered
2021-07-09 01:56:04 +10:00
Oliver
cbd291849c More unit test fixes 2021-07-09 01:49:17 +10:00
Oliver
6e26bd0b71 Fixes for unit tests 2021-07-09 01:29:17 +10:00
Oliver
337223b8eb Modal form improvements 2021-07-09 01:20:40 +10:00
Oliver
ecf47aa69d Fix for BuildOrder reference default value 2021-07-09 01:20:29 +10:00
Oliver
60e8a17f07 bug fix: Prevent API forms from being submitted multiple times
- A problem if you're a manic clicker
2021-07-09 01:06:38 +10:00
Oliver
9947a0cf90 PEP fix 2021-07-09 00:59:56 +10:00
Oliver
7e7fe7d63f Refactor buildlist filtering 2021-07-09 00:58:17 +10:00