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
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
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
cb0aa7bc7a
Fixed some psalm issues.
2020-03-29 23:13:25 +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
fd61c8d9e2
Fixed coding style.
2020-03-15 13:56:31 +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
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
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
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
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
b6ee0d1323
Enforce positive values for min quantities and price quantites.
2019-08-30 17:03:27 +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
1629f31fed
Fixed some inspection issues.
2019-08-20 18:39:57 +02:00
Jan Böhmer
51be176418
Added constraints for selectable attribute.
2019-08-12 21:47:25 +02:00
Jan Böhmer
7826e3d2ad
Added entities and properties for some future features.
2019-08-12 15:47:57 +02:00