Oliver Walters
6aa6e3b924
Adjust icon size in nav bar
2020-05-02 15:03:49 +10:00
Oliver Walters
440fe155ff
Change glyphicons for fontawesome
...
I think I gottem all
2020-04-28 09:31:51 +10:00
Oliver Walters
5167117067
Calculate 'fulfilled' quantity once a sales order is marked as shipped
...
- This allows us to delete the SalesOrderAllocation objects from the database
2020-04-27 08:58:18 +10:00
Oliver Walters
e768ada83b
More work
...
- Consolidated "in_stock" filter to single code location
- Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation
- Various template improvements etc
2020-04-26 16:38:29 +10:00
Oliver Walters
4147163418
Improve status code label rendering
2020-04-26 15:29:21 +10:00
Oliver Walters
2f0bbecc3d
Refactored status code label generation
...
- Larger style available
2020-04-25 15:13:55 +10:00
Oliver Walters
77471cb89c
Form for shipping a SalesOrder
...
- Returns "False" for now
2020-04-24 10:20:56 +10:00
Oliver Walters
b45fec221c
Expose more status code data to the templates
...
- Status codes are now exposed globally to every page
- Much simplified so wow
- https://stackoverflow.com/questions/3221592/how-to-pass-common-dictionary-data-to-every-page-in-django
2020-04-24 09:27:42 +10:00
Oliver Walters
2c9b112562
PEP fixes
2020-04-23 21:48:39 +10:00
Oliver Walters
e5fa94b4f8
Add functionality to cancel a sales order
2020-04-23 21:38:40 +10:00
Oliver Walters
435c13cf7c
Separate concept of "OrderStatus" into "SalesOrderStatus" and "PurchaseOrderStatus"
2020-04-23 20:38:09 +10:00
Oliver Walters
7f020cbbf6
Enbiggen a whole lotta buttons
2020-04-23 19:41:14 +10:00
Oliver Walters
6dd79af0b6
Expose "is_allocated" parameter on StockItem API
2020-04-22 10:11:40 +10:00
Oliver Walters
372958d939
Migrate more pages to the two_column template
2020-04-22 09:50:10 +10:00
Oliver Walters
808a636484
Move "Company" view to new two-column template
2020-04-22 09:01:52 +10:00
Oliver Walters
34d3dca8b7
Add ability to filter parts by "purchasable" status
2020-04-20 22:40:52 +10:00
Oliver Walters
9e4d09343c
Add ability to filter parts list by "salable" status
2020-04-20 22:39:00 +10:00
Oliver Walters
ce1dd88129
Form for creating a new SalesOrder
2020-04-20 22:13:07 +10:00
Oliver Walters
5901b21e78
UI elements
...
- Add a "sales order" menu item to the main navbar
- Add a "sales order" tab to customer detail page
2020-04-20 19:47:29 +10:00
Oliver Walters
57fa69f6e6
Update version
...
- Display django version in "about" dialog
2020-04-20 01:20:09 +10:00
Oliver Walters
206d67337f
Option to disable filters for part table
2020-04-16 21:41:45 +10:00
Oliver Walters
7ab58f683f
Fix search result tables
2020-04-16 21:33:35 +10:00
Oliver Walters
0e55911a6b
Index page rendering is now a lot faster
...
- Hide some elements which are currently very expensive to compute
-
2020-04-13 22:07:14 +10:00
Oliver Walters
90ac3a5a8a
Add custom user filter for 'starred' status
2020-04-13 21:30:34 +10:00
Oliver Walters
7c892263f8
More API fixes
...
- Allow searching supplier parts by manufacturer name
- Better rendering of supplier part table
(cherry picked from commit 62199aedf5
)
2020-04-13 20:20:55 +10:00
Oliver Walters
2a4e8cd062
Improve company search results page
...
(cherry picked from commit 34abf34c0f
)
2020-04-13 20:19:53 +10:00
Oliver Walters
67d9d2bb04
Separate views for customer / supplier / manufacturer
...
(cherry picked from commit 9e9e29679d
)
2020-04-13 20:19:21 +10:00
Oliver Walters
edfb19db13
Company table now in separate javascript file
...
(cherry picked from commit 95354f09da
)
2020-04-13 20:19:16 +10:00
Oliver Walters
094a0fe709
Improvements to company API
...
- Filter by is_manufacturer
- Better table display
(cherry picked from commit f427ee4754
)
2020-04-13 20:19:10 +10:00
Oliver Walters
7503596ea4
More fixes
...
- Add a set of template tags for rendering status codes
- Improve build API filtering
- Remove some outdated files
- Fix unit testing
2020-04-12 00:10:33 +10:00
Oliver Walters
f5a8b110b5
Filter part table by 'is_component' status
2020-04-11 23:02:18 +10:00
Oliver Walters
0f90e8f522
Filter parts by 'is_assembly'
...
Also greatly improve rendering of the Part table
2020-04-11 22:57:40 +10:00
Oliver Walters
e86bc4fa6d
Add ability to filter parts by "low_stock"
...
- Huzzah for the "Coalesce" function, eh?
2020-04-11 22:43:51 +10:00
Oliver Walters
5e706554b1
Part table filtering
...
- Filter by active status
- Filter by 'is_template' status
- Filter by 'has_stock'
- Allow cascading sublocations
- API improvements to allow new features
2020-04-11 22:10:15 +10:00
Oliver Walters
d606df16f7
Bug fixes:
...
- prevent addition of empty filter tags
2020-04-11 22:09:09 +10:00
Oliver Walters
6a0c5b78ae
Refactor the purchase-order table
...
- Filter by order status
2020-04-11 20:56:31 +10:00
Oliver Walters
ba7c0bdea0
Improvements for status code generation
...
- Now includes labels
- Python template generates javascript which is then rendered? I don't even follow it any more
2020-04-11 20:48:02 +10:00
Oliver Walters
a4e45eab13
Skeleton for AJAXified build table
2020-04-11 19:36:01 +10:00
Oliver Walters
dddaa102b3
Layout improvements
2020-04-11 14:19:21 +10:00
Oliver Walters
64f8034a4c
Many more refactoring
2020-04-11 14:14:45 +10:00
Oliver Walters
5d2441776e
Further work on templated filter options
2020-04-11 13:38:51 +10:00
Oliver Walters
c1b59eeaab
Render filter options as a template
...
- This allows the values to be seen by the translation layer
- Also means that whenever a new option is added, it will be automatically available to the front-end!
2020-04-11 13:24:23 +10:00
Oliver Walters
58636139af
Refactoring filtering code
2020-04-11 10:14:31 +10:00
Oliver Walters
613dd9d471
Add (very rough) function to add new custom table filters
...
- The javascript needs a LOT of work!
2020-04-11 00:45:18 +10:00
Oliver Walters
5d141a0b98
Display a list of filters for Stock table
...
- Delete a filter by pressing "X" button
2020-04-10 16:46:34 +10:00
Oliver Walters
b8bbd15c88
Icon cleanup
2020-04-06 22:02:27 +10:00
Oliver Walters
44c10c45cd
visual consolidation
2020-04-06 20:50:33 +10:00
Oliver Walters
e6f6a936e0
Can haz moar icons?
2020-04-06 20:24:45 +10:00
Oliver Walters
751937e0c2
Use InstanceName around the place
...
- Report in /api/ endpoint
- Display in About window
- Include in any generated barcode
2020-04-06 20:11:36 +10:00
Oliver Walters
7ecd843ca4
More translations
2020-04-05 20:56:16 +10:00
Oliver Walters
d1a27d2f7e
Search icon rather than text
2020-04-05 20:51:07 +10:00
Oliver Walters
bb844ab94b
New icons for home page
2020-04-05 20:04:21 +10:00
Oliver Walters
ca98cbee68
More navbar icons
2020-04-05 20:04:04 +10:00
Oliver Walters
7dd749f394
Add icons to the navbar
2020-04-05 20:00:34 +10:00
Oliver Walters
b0c1999922
Include font-awesome scripts
2020-04-05 19:42:34 +10:00
Oliver Walters
cfd32db570
Include fontawesome icons
2020-04-05 19:34:48 +10:00
Oliver Walters
5af2fae120
Simplify URLs for purchase orders
2020-03-22 19:47:08 +11:00
Oliver Walters
33ffa2f75f
Add option to make stock-table read-only
...
- Default table is not read-only
2020-03-18 20:37:25 +11:00
Oliver Walters
7dcc94b106
Filter purchaseorder API by supplier part
2020-02-12 12:44:52 +11:00
Oliver Walters
33d21594da
Create new stock item from supplierpart stock page
...
- Allow stock-item-create form to have supplierpart passed as initial data
- Add some translations too
2020-02-12 11:32:01 +11:00
Oliver
4b8e44bc4a
Merge pull request #632 from SchrodingersGat/database-stats
...
Database stats
2020-02-02 22:18:32 +11:00
Oliver Walters
244d364575
Display some basic stats
2020-02-02 22:13:10 +11:00
Oliver Walters
aa210efad6
Simple skelton for database stats view
2020-02-02 22:03:31 +11:00
Oliver Walters
91ca37c84b
Add stats link to navbac
...
- Also add translation layer for the navbar
2020-02-02 21:51:23 +11:00
Oliver Walters
d0a7a24649
Add translatable strings
2020-02-02 21:43:10 +11:00
Oliver Walters
20273f1541
Add commit date information to about window
2020-02-02 12:39:35 +11:00
Oliver Walters
56255a98d8
Add a menu item to delete multiple stock items
2019-11-16 19:28:47 +11:00
Oliver Walters
871b853b9f
Single form to delete single or multiple SupplierPart objects
2019-09-30 13:28:51 +10:00
Oliver Walters
3e2a5263a5
Add stock information for top-level stock page
2019-09-27 09:59:14 +10:00
Oliver Walters
ae2e2f36e4
Update a bunch more tables
2019-09-22 22:18:53 +10:00
Oliver Walters
cf2abb4130
Add option to display ALL results in a paginated table
...
- Commonize the number of pages allowed
2019-09-19 23:20:42 +10:00
Oliver Walters
8a995cc193
Ability to edit username
2019-09-19 14:36:14 +10:00
Oliver Walters
a9d1cadc12
Add link to documentation
2019-09-17 00:41:28 +10:00
Oliver Walters
4746a3ccff
Bootstrapify the table
2019-09-15 23:11:06 +10:00
Oliver Walters
2c1a744c2d
Display singleton settings in the settings tab
...
- Only visible to 'staff' user
2019-09-15 23:09:58 +10:00
Oliver Walters
02e71bd2ce
Template for displaying other settings
2019-09-15 22:50:47 +10:00
Oliver Walters
ddb041fe44
Filter by category too
2019-09-09 19:59:56 +10:00
Oliver Walters
3d5542181a
Move "Export" button onto stock table
2019-09-08 23:40:51 +10:00
Oliver Walters
026108803e
More links in the about page
2019-09-08 20:48:33 +10:00
Oliver Walters
32f606627d
Special display case for base currecny
2019-09-07 22:43:39 +10:00
Oliver Walters
446b342480
Add pagination to tables
2019-09-07 20:32:22 +10:00
Oliver Walters
c45fcb45cf
Delete a part parameter template from the settings view
2019-09-07 20:30:51 +10:00
Oliver Walters
42ade0e0b7
Edit part parameter template from settings view
2019-09-07 20:28:38 +10:00
Oliver Walters
55669c79c2
Delete a currency from the currency settings view
2019-09-07 20:22:30 +10:00
Oliver Walters
3188b0ab18
Edit currency from settings view
2019-09-07 20:19:35 +10:00
Oliver Walters
31562826f4
Add modal form for creating a new currency
2019-09-07 20:06:04 +10:00
Oliver Walters
67ea0fa887
Create a new part parameter template
2019-09-07 19:53:47 +10:00
Oliver Walters
94ab7c5b0e
Display list of part parameter templates in the part settings page
2019-09-07 19:45:36 +10:00
Oliver Walters
f415e2040e
API endpoint for PartParameter and PartParameterTemplate
2019-09-07 19:44:10 +10:00
Oliver Walters
6752bdc1c6
Sort currency API
2019-09-07 19:28:20 +10:00
Oliver Walters
873faee040
Display currency list under currency settings page
2019-09-07 19:23:58 +10:00
Oliver Walters
89c3ab5e99
Formatting
2019-09-07 18:58:37 +10:00
Oliver Walters
27878d2d8d
Split settings into multiple pages
...
- Tab style navigation
2019-09-07 18:02:03 +10:00
Oliver Walters
1b8fb4db44
Start skeleton for better settings page
2019-09-07 15:04:18 +10:00
Oliver Walters
eb378e5e5d
Specify PNG image for QR code generation
2019-09-06 12:38:09 +10:00
Oliver Walters
3682e9b5fb
Display currency selection in part pricing dialog
2019-09-03 22:28:53 +10:00
Oliver Walters
273412b63d
Add 'bug report' button
2019-09-02 22:14:50 +10:00
Oliver Walters
fc5682f565
Form is now fully transferred to a formview
2019-07-02 19:20:45 +10:00
Oliver Walters
3dddb10f5d
Pretty toggle buttons in modal forms
2019-06-18 23:12:13 +10:00
Oliver Walters
ee5722857f
Re-add 'new stock item' button
2019-06-18 22:13:54 +10:00