Commit graph

225 commits

Author SHA1 Message Date
Jan Böhmer
14adb77a97 Moved getParts() and getPartsCount() to a repository (instead of a class method). 2020-05-16 20:53:35 +02:00
Jan Böhmer
8b6fe757a0 Removed unnecessary getIDString() function in AbstractDBElement. 2020-05-13 21:19:23 +02:00
Jan Böhmer
a3af55d4e2 Clone parameters if part is cloned.
Fixed issue #46
2020-05-13 21:08:09 +02:00
Jan Böhmer
c0b4172f22 Ensure that attachments are not used in preview when deleting, so we do not encounter integrity violations.
This fixes issue #50.
2020-05-13 20:46:13 +02:00
Jan Böhmer
f5d685dfd4 Fixed coding style. 2020-05-10 21:39:31 +02:00
Jan Böhmer
7e656be246 Added some tests to check if LabelSystem and scanner pages are available. 2020-05-10 13:28:01 +02:00
Jan Böhmer
bd6a0de0a2 Added possibility to generate labels for storelocations. 2020-05-08 13:49:44 +02:00
Jan Böhmer
f64910374f Added support for Code128 barcode. 2020-05-07 23:27:40 +02:00
Jan Böhmer
fde1d7be4f Added the possibility to add additional CSS to label. 2020-05-04 22:19:06 +02:00
Jan Böhmer
8b372a3443 Allow to specify which label profiles are shown in dropdown. 2020-05-02 19:47:31 +02:00
Jan Böhmer
747962884a Group label profiles by their supported element on admin page. 2020-04-29 22:59:14 +02:00
Jan Böhmer
3beba96e39 Added Code93 and Datamatrix as valid barcode types. 2020-04-24 23:58:19 +02:00
Jan Böhmer
a4e1a17b4a Added basic label generation dialog. 2020-04-16 19:56:30 +02:00
Jan Böhmer
726cab1c5a Fixed PHPunit errors. 2020-04-15 13:16:03 +02:00
Jan Böhmer
a8a92b9c5d Added basic admin page for Label profiles. 2020-04-11 17:34:01 +02:00
Jan Böhmer
ae75e6844f Fixed coding style. 2020-04-10 13:05:08 +02:00
Jan Böhmer
f116c2f09e Log AccessDeniedExceptions to event log. 2020-04-10 12:28:15 +02:00
Jan Böhmer
e8f83f188a Fixed issue that U2F keys did not work.
The DB length for this field was too short, so the key handles were cut off and devices were not recognized.
2020-04-09 15:17:46 +02:00
Jan Böhmer
919e40e1a8 Don't add strange looking space in full name if a user does not have an first or last name. 2020-04-08 16:18:53 +02:00
Jan Böhmer
470cd2af9e Log security related events like password reset, 2FA method added, etc. 2020-04-03 18:27:47 +02:00
Jan Böhmer
a4ee46fed4 Dont order collections by attachment_type or supplier as this causes an exception on table views. 2020-04-01 17:00:50 +02:00
Jan Böhmer
63ca177699 Order data structrues in select pickers alphabetically by their names. 2020-04-01 16:43:42 +02:00
Jan Böhmer
a4802e290f Order attachments and part lots by a reasonable parameter. 2020-04-01 15:37:06 +02:00
Jan Böhmer
f0a3e9b5af Reindex the collections in CollectionType to prevent issues related of changing the order between the requests. 2020-04-01 15:10:06 +02:00
Jan Böhmer
41df76e8e6 Enforce unique names for attachments (per attachment type and part) 2020-03-30 16:01:00 +02:00
Jan Böhmer
7d72f2416a Show error message next to discount quantity, when a error casued by duplicate prciedetail occurs. 2020-03-30 15:24:32 +02:00
Jan Böhmer
3b4d6e0736 Allow only a single orderinfo with a supplier and order nr. 2020-03-30 15:21:21 +02:00
Jan Böhmer
25a4f804d7 Allow to leave amount field empty when adding a new part lot. 2020-03-30 15:13:23 +02:00
Jan Böhmer
a28e81065f Fixed some more psalm issues. 2020-03-29 23:36:53 +02:00
Jan Böhmer
cb0aa7bc7a Fixed some psalm issues. 2020-03-29 23:13:25 +02:00
Jan Böhmer
eb9b24d5d7 Fixed inspection issues. 2020-03-29 22:47:25 +02:00
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
ea302ded91 Fixed PHPstan issues. 2020-03-29 15:59:00 +02:00
Jan Böhmer
88580aad79 Dont log that shipping costs or price has been changed when just saving a part.
Fixes issue #26
2020-03-28 19:30:57 +01:00
Jan Böhmer
7cf500279e Show part lots and orderdetails with a name in target column if it exists. 2020-03-28 18:55:02 +01:00
Jan Böhmer
f8af23b92b Implemented permission system for part parameters. 2020-03-26 13:09:25 +01:00
Jan Böhmer
2899db0206 Allow to put parameters in different groups. 2020-03-24 15:08:56 +01:00
Jan Böhmer
fd61c8d9e2 Fixed coding style. 2020-03-15 13:56:31 +01:00
Jan Böhmer
bc8748e6f4 Show parameters on info page & improved parameter editing. 2020-03-14 22:12:19 +01:00
Jan Böhmer
719e21c0df Save element parameters in its own database table (dont use JSON)
This makes it easier to query for specific parameters.
2020-03-11 21:48:47 +01:00
Jan Böhmer
a6e0f1738b Added a basic possibility to create/edit/delete specifications for parts. 2020-03-08 22:46:29 +01:00
Jan Böhmer
a3c626d0ab Perform deep clone when cloning a part.
Fixes issue #25.
2020-03-08 18:56:00 +01:00
Jan Böhmer
b2f751644a Give user creation/deletions a NOTICE level. 2020-03-07 22:26:47 +01:00
Jan Böhmer
8a61b465d0 Check permissions for time travel and element undo. 2020-03-07 20:49:52 +01:00
Jan Böhmer
5a5d7b24be Allow to undo a change from event log. 2020-03-01 19:46:48 +01:00
Jan Böhmer
f604022e49 Allow to show collection elements that were deleted before by timetravel 2020-02-29 22:53:53 +01:00
Jan Böhmer
b5bc096972 Allow to to disable the saving of changed or deleted data.
Also it is possible to only save the information which fields were changed, not the data in it.
2020-02-23 21:04:16 +01:00
Jan Böhmer
2bc6a2be3c Show in log which fields were changed in a ElementEditedLogEntry. 2020-02-23 20:16:28 +01:00
Jan Böhmer
181e0f72ed Fixed entity export. 2020-02-23 19:45:06 +01:00
Jan Böhmer
b6f95ebe48 Allow to add a comment when editing/creating/deleting an element. 2020-02-23 00:44:52 +01:00