Commit graph

103 commits

Author SHA1 Message Date
Jan Böhmer
ea9cc6723f Show a meaningful flash warning if trying to add/withdraw an amount of 0 instead of throwing an exception
Fixes issue #448
2023-12-07 00:36:16 +01:00
Jan Böhmer
ffb5d3e790 Added an checkbox in the withdrawal/move dialog, that if checked automatically deletes a part lot if it becomes empty during the operation
Fixes issue #327
2023-11-25 19:38:21 +01:00
Jan Böhmer
b447a69dae Allow to specify an informational field during a part stock operation, where the user can specify, when this operation was really performed
Fixes issue #416
2023-11-25 19:10:18 +01:00
Jan Böhmer
099ea63740 Show a notice flash to remember user to review changes 2023-11-24 19:45:15 +01:00
Jan Böhmer
615defa84a Give the update part from info provider menu a own design 2023-11-24 19:35:44 +01:00
Jan Böhmer
3eeeb01ad1 Added possibility to search the info providers to update an existing part 2023-11-24 19:28:30 +01:00
Jan Böhmer
b0f5d9b55f Added an form for merging two parts together 2023-11-22 20:11:38 +01:00
Jan Böhmer
87626589a3 Added very basic controller to merge info provider data into the part 2023-11-19 23:47:46 +01:00
Jan Böhmer
0af5a58dbe Renamed Storelocation entity to StorageLocation 2023-09-04 22:57:40 +02:00
Jan Böhmer
b62dc1241d Fix parameter mapping on part creation dialog to fix add builds part
This fixes issue #348
2023-08-20 20:30:38 +02:00
Jan Böhmer
52c6884e28 Allow slashes in digikey product ids 2023-07-17 23:21:30 +02:00
Jan Böhmer
3a8c5a788f Fixed phpstan issues 2023-07-17 00:43:35 +02:00
Jan Böhmer
a5995a2ce8 Centralized logic for part creation form 2023-07-16 23:46:20 +02:00
Jan Böhmer
e8771ea118 Fixed some more phpstan issues 2023-06-18 00:00:58 +02:00
Jan Böhmer
3d7cf8f7f3 Removed remaining annotations 2023-06-11 19:42:02 +02:00
Jan Böhmer
5629215ce4 Use imports instead of FQNs 2023-06-11 15:00:28 +02:00
Jan Böhmer
7ee01d9a05 Applied rector with PHP8.1 migration rules 2023-06-11 14:17:19 +02:00
Jan Böhmer
a43af180a7 Applied rector rules up to symfony 6.2 2023-05-28 01:21:05 +02:00
Jan Böhmer
37fb895d67 Only try to retrieve the targetLot from DB if the parameter is existing
This fixes an excpetion occuring during withdrawal of parts, when moving is disabled for the lot.
2023-04-16 01:22:58 +02:00
Jan Böhmer
d04d743520 Fixed typos 2023-04-15 23:14:53 +02:00
Jan Böhmer
63df16a369 Removed unused imports 2023-04-15 22:27:19 +02:00
Jan Böhmer
a7ff690891 Restrict part lot withdraw/add/move operations to the owner of a part lot 2023-04-02 23:35:18 +02:00
Jan Böhmer
c088742dda Added possibility to save parts and create an empty one 2023-02-05 21:00:26 +01:00
Jan Böhmer
9097220026 Renamed parts/ templates folder to recommended snake_case style 2023-02-04 23:05:39 +01:00
Jan Böhmer
58105575d3 Show part name hint in edit page and default description and comment settings of a category now properly works
This fixes issue #196
2023-01-28 21:07:01 +01:00
Jan Böhmer
60d5776cb7 Added permission to control if a user is allowed to withdraw/add/move parts 2023-01-07 21:23:36 +01:00
Jan Böhmer
436aff7533 Improved user experience with part withdraw modal
Related to issue #201
2023-01-07 20:49:36 +01:00
Jan Böhmer
ba4085d882 Added a very basic modal on part info page for changing part instock
Related to issue #201
2023-01-01 13:21:50 +01:00
Jan Böhmer
fdcd1b9d9d Added possibility to associate a part with a project that represents the builds of the project 2022-12-29 16:21:04 +01:00
Jan Böhmer
a4eae19a1f Improved organisation of Services 2022-12-18 17:28:42 +01:00
Jan Böhmer
68462185ba Removed old GPLv2 copyright header 2022-11-29 22:28:53 +01:00
Jan Böhmer
ae4cb23b18 Removed timetravel permission
Now it is sufficient enough to have the show_history permission
2022-11-13 21:01:28 +01:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
639829f5c5 Fixed some inspection issues. 2022-08-14 19:32:53 +02:00
Jan Böhmer
ae24fb5eb1 Use renderForm for proper return codes for turbo 2022-03-04 21:20:18 +01:00
Jan Böhmer
349ab706cc Apply symplify checkers. 2020-08-21 21:38:31 +02:00
Jan Böhmer
d0b1024d80 Fixed code style. 2020-08-21 21:36:22 +02:00
Jan Böhmer
f53c80c442 Fixed PHPUnit issues. 2020-05-31 13:10:44 +02:00
Jan Böhmer
6602015a5a Added option to "save and clone" a part, which is especially useful, when creatiing multiple similar parts.
This should (partly) fix issue 45.
2020-05-30 23:50:50 +02:00
Jan Böhmer
ae75e6844f Fixed coding style. 2020-04-10 13:05:08 +02:00
Jan Böhmer
b13d209051 Use correct ID to find a preset footprint when creating new part.
Fixes issue #40.
2020-04-09 14:22:58 +02:00
Jan Böhmer
2dd807bbe6 Use twig global AttachmentManager in templates. 2020-04-03 14:56:48 +02:00
Jan Böhmer
0e57c0a6d5 Fixed PHPstan issues. 2020-04-02 14:15:54 +02:00
Jan Böhmer
6ad24aa9f8 Added an button to parts tables to directly add a new part in the selected category. 2020-04-01 18:02:56 +02:00
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
b66aabd153 Tries to extract parameters from part description and comment. 2020-03-24 16:57:02 +01:00
Jan Böhmer
fd61c8d9e2 Fixed coding style. 2020-03-15 13:56:31 +01:00
Jan Böhmer
f09ddb46b8 Fixed PHPstan issue. 2020-03-15 13:40:04 +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
774e025a24 Fixed permission denied exception when time traveling. 2020-03-07 23:04:41 +01:00