Jan Böhmer
5fd608f42a
Fixed some deprecations.
2022-08-14 19:09:07 +02:00
Jan Böhmer
d9d7e09866
Fixed some deprecation notices.
2022-07-23 22:21:29 +02:00
Jan Böhmer
2ac45fd869
Disallow orderdetails without supplier info.
...
Fixes issue #116
2022-07-23 21:41:54 +02:00
Jan Böhmer
082cd16486
Disallow attachments without attachment types.
...
This should partly fixes issue #131 . TODO: Change database structure so attachment_type is not nullable.
2022-07-22 00:48:51 +02:00
Jan Böhmer
61bd0bd15c
Fixed more PHPstan warnings.
2022-03-04 18:37:42 +01:00
Jan Böhmer
15a31433e1
Fixed PHPstan warnings.
2022-03-04 13:22:40 +01:00
Jan Böhmer
193ecd252b
Fixed some deprecations.
2021-10-02 20:41:14 +02:00
Jan Böhmer
3328dd968d
Fixed some higher level PHPstan issues.
2020-10-02 12:42:15 +02:00
Jan Böhmer
3809539587
Implemented a stub DeviceRepository to prevent exception when try to delete a device.
...
Now the devices can not be deleted (but no exception), to prevent users to accidentally delete still useful devices from old Part-DB versions (as currently it is not possible to view which infos a device contains). This fixes issue #60 .
2020-08-21 23:28:46 +02:00
Jan Böhmer
e73a90a234
Fixed code style.
2020-08-21 22:44:38 +02:00
Jan Böhmer
e01b06fb85
Fixed some inspection issues.
2020-08-21 22:43:37 +02: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
3021d0d67a
Fixed bug that wrong function was called.
2020-05-31 15:03:27 +02:00
Jan Böhmer
dbf770f784
Update timestamp of the associated element.
...
For example the lastModified timestamp of a part is now updated, when the user changes a price information. This should represent more what a user expects under a last Modified field and should improve also sorting...
2020-05-20 23:36:44 +02:00
Jan Böhmer
c60f27ef86
Fixed wrongly detected changes of prices caused by not identical objects.
2020-05-20 22:45:41 +02:00
Jan Böhmer
b1db89e3b4
Use BigDecimal for Pricedetail price field.
2020-05-20 22:02:07 +02:00
Jan Böhmer
db4d7dc5fc
Use BigDecimal for Currency exchange rate.
2020-05-20 20:57:16 +02:00
Jan Böhmer
08267b88b0
Use BigDecimal object type for Supplier shipping costs, instead of bcmath string.
2020-05-18 22:07:09 +02:00
Jan Böhmer
ae23a82105
Initialize associated attachments collection for attachment types.
2020-05-18 11:26:04 +02:00
Jan Böhmer
8951940be1
Show messages, when an element can not be deleted.
...
Fixes issue #43 .
2020-05-17 21:52:47 +02:00
Jan Böhmer
be47680b60
Show error, if null category is assigned to part.
...
Fixes issue #42 .
2020-05-17 21:14:01 +02:00
Jan Böhmer
34760a068c
Fixed doctrine mapping.
2020-05-17 20:49:43 +02:00
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