Jan Böhmer
ccc99eba0c
Add database indices to improve performance (SQLITE)
2022-09-25 18:48:16 +02:00
Jan Böhmer
ed91ffc60a
Add database indices to improve performance
2022-09-25 18:33:13 +02:00
Jan Böhmer
c2c768b151
Fixed some exceptions introduced earlier.
2022-09-21 12:31:32 +02:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
8e6bc25d2e
Fixed some inspection issues.
2022-08-14 19:39:07 +02:00
Jan Böhmer
639829f5c5
Fixed some inspection issues.
2022-08-14 19:32:53 +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
3328dd968d
Fixed some higher level PHPstan issues.
2020-10-02 12:42:15 +02:00
Jan Böhmer
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +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
8951940be1
Show messages, when an element can not be deleted.
...
Fixes issue #43 .
2020-05-17 21:52:47 +02:00
Jan Böhmer
8b6fe757a0
Removed unnecessary getIDString() function in AbstractDBElement.
2020-05-13 21:19:23 +02:00
Jan Böhmer
ae75e6844f
Fixed coding style.
2020-04-10 13:05:08 +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
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
cb0aa7bc7a
Fixed some psalm issues.
2020-03-29 23:13: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
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
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
a3c626d0ab
Perform deep clone when cloning a part.
...
Fixes issue #25 .
2020-03-08 18:56:00 +01:00
Jan Böhmer
fff1864a68
Merge branch 'master' into time_machine
2020-02-22 18:16:58 +01:00
Jan Böhmer
9e8771a4ee
Changed license to AGPL3+
2020-02-22 18:14:36 +01:00
Jan Böhmer
464a487a17
Added some simple time travel mechanism for part view.
...
In the moment it is not possible to show elements that were deleted.
2020-02-16 23:48:57 +01:00
Jan Böhmer
96d7e4c9f4
Fixed inspection issues.
2020-02-02 14:05:36 +01:00
Jan Böhmer
594c694ee0
Renamed the base DBElement classes to AbstractDBElement to comply with symfony recommendations.
2020-02-01 19:48:07 +01:00
Jan Böhmer
da72f5b3ec
Fixed PHPstan issues for level 5.
2020-02-01 19:42:28 +01:00
Jan Böhmer
dd1f806c4e
Fixed some issues detected by PHPstan.
2020-02-01 17:00:03 +01:00
Jan Böhmer
388e847b17
Applied symplify rules to codebase.
2020-01-05 22:49:00 +01:00
Jan Böhmer
fe0f69f762
Applied code style to tests/
2020-01-05 15:55:16 +01:00
Jan Böhmer
f861de791f
Applied code style rules to src/
2020-01-05 15:46:58 +01:00
Jan Böhmer
9a7223a301
Fixed code style.
2020-01-04 20:24:09 +01:00
Jan Böhmer
6ddc937ec5
Fixed some inspection issues.
2019-11-10 14:00:56 +01:00
Jan Böhmer
e557bdedd5
Added an PHP CS fixer config file and applied it to files.
...
We now use the same the same style as the symfony project, and it allows us to simply fix the style by executing php_cs_fixer fix in the project root.
2019-11-09 00:47:20 +01:00
Jan Böhmer
89258bc102
Added some tests for important entity methods.
2019-11-09 00:31:42 +01:00
Jan Böhmer
787e498586
Updated copyright headers.
2019-11-01 13:40:30 +01:00
Jan Böhmer
eb1d8fd4e4
Added possibility to add/edit attachments on Admin pages.
2019-09-24 18:28:35 +02:00
Jan Böhmer
ccc345cd1b
Changed DB structure the way, many more elements can have attachments
...
Also every Element has now a preview attachment field. For the user this will be used as profile picture.
2019-09-24 13:39:49 +02:00
Jan Böhmer
21a81486df
Fixed some inspection issues.
2019-09-16 22:04:59 +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
af3dfafe22
Respect the currency of the prices when calculating average part price.
2019-09-01 18:52:22 +02:00