Commit graph

140 commits

Author SHA1 Message Date
Jan Böhmer
d22f9da1f0 Allow to define manufacturing status for a part. 2019-09-02 18:41:57 +02:00
Jan Böhmer
de6df395f4 Replaced the old migrations with one big cleaner one. 2019-09-02 16:34:53 +02:00
Jan Böhmer
4026f6be3f Use CURRENT_TIMESTAMP as default value for timestampable entries.
Furthermore the database migration generation is now detects correctly if there were no changes to DB.
2019-09-02 15:03:20 +02:00
Jan Böhmer
c484e40758 Added an DB field for filetype filtering to attachment types. 2019-09-01 22:04:55 +02:00
Jan Böhmer
af3dfafe22 Respect the currency of the prices when calculating average part price. 2019-09-01 18:52:22 +02:00
Jan Böhmer
a479dc81c4 Show the price in base currency if exchange rates are available. 2019-09-01 14:37:53 +02:00
Jan Böhmer
4391be448d Use bcmath to calculate correct prices. 2019-09-01 13:56:14 +02:00
Jan Böhmer
43c439bc9e Use string for price of pricedetails. 2019-09-01 12:34:11 +02:00
Jan Böhmer
42399b5517 Apply the default currency value to pricedetails placeholder. 2019-08-31 13:43:41 +02:00
Jan Böhmer
b280d0c28b Allow quantites in Orderdetails to be floats.
Useful for non integer based part units.
2019-08-31 13:08:02 +02:00
Jan Böhmer
21cb12303f Order the pricedetails by the min quantity 2019-08-31 12:07:16 +02:00
Jan Böhmer
b6ee0d1323 Enforce positive values for min quantities and price quantites. 2019-08-30 17:03:27 +02:00
Jan Böhmer
8c6342bffe Added an page for editing order informations 2019-08-30 14:25:05 +02:00
Jan Böhmer
1776cd9a77 Made order and pricedetails timestampable.
Further the migration fixes the typos in attachment table names and filled empty timestamps with the current date.
2019-08-29 13:06:04 +02:00
Jan Böhmer
d79f580b30 Fixed invalid mapping for entities error. 2019-08-27 22:47:03 +02:00
Jan Böhmer
6b87823d5e Delete the file associated with an attachment after an attachment is delted or changed. 2019-08-27 22:24:56 +02:00
Jan Böhmer
eea81441fb Treat all attachments without a filepath as external 2019-08-27 13:15:18 +02:00
Jan Böhmer
3a11933a89 Allow to add/delete attachments via part edit page. 2019-08-26 23:30:35 +02:00
Jan Böhmer
5cc08af7b6 Show formatted amount values on part info page. 2019-08-26 15:09:05 +02:00
Jan Böhmer
f5ebce2a77 Use SIUnitType for part lots amount. 2019-08-26 13:22:12 +02:00
Jan Böhmer
082a815f3a Show error message flash, when an validation error occured. 2019-08-25 18:15:58 +02:00
Jan Böhmer
016c2889ba Allow part lots to have an null storage location.
Otherwise we loose informations on migration.
2019-08-21 11:58:41 +02:00
Jan Böhmer
7608d5dbda Updated dependencies. 2019-08-20 18:44:43 +02:00
Jan Böhmer
1629f31fed Fixed some inspection issues. 2019-08-20 18:39:57 +02:00
Jan Böhmer
f75f17c92b Cache the tree nodes list generated for StructuralEntityType. 2019-08-20 12:34:43 +02:00
Jan Böhmer
76abef57be Allow to create new parts. 2019-08-19 23:41:58 +02:00
Jan Böhmer
813e7dc85b Added the possibility to edit/create/delete part lots. 2019-08-19 23:31:16 +02:00
Jan Böhmer
6a0adae8f3 Added the new fields to the part edit form. 2019-08-19 14:07:00 +02:00
Jan Böhmer
7517d83f55 Show part lots on part's info page. 2019-08-16 22:54:23 +02:00
Jan Böhmer
c2b43f2cfa Show part mass in part info page. 2019-08-16 16:43:31 +02:00
Jan Böhmer
fd6961e2f3 Fixed exceptions on part info page 2019-08-15 22:34:37 +02:00
Jan Böhmer
fbc5b1fc8d Extended store location options can be edited via Admin page now. 2019-08-14 18:45:28 +02:00
Jan Böhmer
fd4b474dbd Added admin page for measurement unit. 2019-08-14 18:31:46 +02:00
Jan Böhmer
06c6483fd1 Added default_currency and shipping cost fields to supplier admin page. 2019-08-14 15:41:01 +02:00
Jan Böhmer
e274d6aa9e Remove unique keys on currency and MeasurementUnit
This caused problems on older MySQL versions.
2019-08-14 00:02:41 +02:00
Jan Böhmer
2468409212 Added an admin page for currencies. 2019-08-12 23:45:21 +02:00
Jan Böhmer
51be176418 Added constraints for selectable attribute. 2019-08-12 21:47:25 +02:00
Jan Böhmer
408d98c6e1 Added database migration for new entities. 2019-08-12 18:04:53 +02:00
Jan Böhmer
7826e3d2ad Added entities and properties for some future features. 2019-08-12 15:47:57 +02:00
Jan Böhmer
ca48343293 Support external hosted attachments via link. 2019-08-10 19:16:56 +02:00
Jan Böhmer
01a83d388b Show attachments in part info
WIP: viewing and downloading attachments is not possible yet.
2019-08-06 18:47:09 +02:00
Jan Böhmer
717b257778 Fixed exception, when a part does not have price informations. 2019-08-06 17:15:37 +02:00
Jan Böhmer
2f39ac90a2 Added migration from old Database to new database. 2019-08-06 13:18:29 +02:00
Jan Böhmer
a40d4df818 Show average price of a part in part info. 2019-08-02 15:10:29 +02:00
Jan Böhmer
c2b4d100f0 Show shopping informations in part details 2019-08-02 12:17:56 +02:00
Jan Böhmer
8a4d665d2a Added an simple admin page for users. 2019-04-28 14:18:11 +02:00
Jan Böhmer
487c78a22b Added translations 2019-04-28 12:30:33 +02:00
Jan Böhmer
4e9cbdffed Added admin pages for manufacturers and suppliers. 2019-04-26 19:12:48 +02:00
Jan Böhmer
df0a8254bf Added admin page for devices 2019-04-26 18:31:09 +02:00
Jan Böhmer
314f1ed42f Added advanced options to category admin page. 2019-04-26 18:05:43 +02:00