Commit graph

576 commits

Author SHA1 Message Date
Jan Böhmer
41a0317736 Format datetimes in parts tables using a IntlDatetimeFormatter. 2019-09-07 12:48:49 +02:00
Jan Böhmer
720e1cd04e Added some additional columns to part list.
They are hidden by default but can be shown by a colvis button.
2019-09-06 18:25:24 +02:00
Jan Böhmer
6e68ff5b44 Fixed exception when creating a new part. 2019-09-06 15:09:47 +02:00
Jan Böhmer
fe7ce39042 Removed dump functions. 2019-09-05 22:31:23 +02:00
Jan Böhmer
4c5b5b6df0 Added some simple tables for searching, subcategories and tags. 2019-09-05 22:27:18 +02:00
Jan Böhmer
940b834057 Added translations for validator strings. 2019-09-04 23:56:18 +02:00
Jan Böhmer
b62b0918d7 Added validator for the isFull/onlyExisting/singlePart options of locations. 2019-09-04 23:20:10 +02:00
Jan Böhmer
cd2534335a Add inversedby attribute to part->measurement unit relation association 2019-09-04 23:04:35 +02:00
Jan Böhmer
e19cd67b88 Show parts count on AdminPages of PartsContainingDBElements 2019-09-04 19:37:35 +02:00
Jan Böhmer
758a2ba25d Explicitly call translator interface for form labels.
This helps us to extract the translation keys.
2019-09-04 15:53:18 +02:00
Jan Böhmer
f132c65964 Added some translations. 2019-09-02 23:44:59 +02:00
Jan Böhmer
b7b7bf3a8b Show a useful message, when a master attachment is not valid because it is not a picture. 2019-09-02 23:13:50 +02:00
Jan Böhmer
e2b643c52b Allow to select the master picture attachment. 2019-09-02 23:09:58 +02:00
Jan Böhmer
59c981ad0d Show MPN and manufacturer link on part info page. 2019-09-02 18:53:31 +02:00
Jan Böhmer
d22f9da1f0 Allow to define manufacturing status for a part. 2019-09-02 18:41:57 +02:00
Jan Böhmer
94ed78f66d Allow to delete parts. 2019-09-02 17:42:13 +02:00
Jan Böhmer
0ff9e3813a Added a migration to start from an empty DB. 2019-09-02 17:30:14 +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
b690a21744 Fixed database migrations from empty database 2. 2019-09-01 23:10:28 +02:00
Jan Böhmer
ea8cca50ab Fixed database migrations from empty database. 2019-09-01 23:01:59 +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
8a80474b3a When formatting money strings, by default only show the trailing digits that are not zero. 2019-09-01 14:08: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
2a6d3f3185 Update the dates of suppliers too. 2019-08-31 13:11:58 +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
c4d5d4291b Made orderdetails strings translatable. 2019-08-30 16:54:35 +02:00
Jan Böhmer
6e34cc3633 Fixed error mapping for orderdetails edit page. 2019-08-30 16:47:21 +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
87527dfdc6 Added an command which deletes all abandoned files created by attachments that dont exist anymore. 2019-08-27 18:54:02 +02:00
Jan Böhmer
f98ed076ce The URL field of an attachment must contain a valid url. 2019-08-27 13:17:19 +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
09a5948149 Show infos about filename and filesize on attachment edit tab. 2019-08-26 23:46:38 +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
fcfab982a8 Dont show SI prefix selector for parts without a MeasurementUnit 2019-08-26 15:23:04 +02:00
Jan Böhmer
d32ced7547 If no data is set, the SIUnitType uses no prefix now. 2019-08-26 15:19:46 +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
0cc95f58da Reload form after persisting part changes, so the SIUnitType shows the correct unit. 2019-08-26 11:55:37 +02:00
Jan Böhmer
03c1d35887 Only recreate the BaseAdmin form when the form were valid.
Otherwise we loose the infos about the errors and so can not show them to user.
2019-08-26 11:41:39 +02:00
Jan Böhmer
082a815f3a Show error message flash, when an validation error occured. 2019-08-25 18:15:58 +02:00