1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
Commit Graph

6714 Commits

Author SHA1 Message Date
Sylvain
70f7ef8951 (feat) build stats in elasticsearch 2022-10-11 15:14:53 +02:00
Sylvain
afc0685585 (test) store fixtures 2022-10-11 12:39:50 +02:00
Sylvain
6df9724527 (quality) disable Rails/RedundantPresenceValidationOnBelongsTo
This setting was disabled in config/application.rb:
`config.active_record.belongs_to_required_by_default = false`,
so we must configure the linter accordingly.

Also: linting some little bit of code
2022-10-11 11:44:08 +02:00
Sylvain
3e6763f14a (bug) wallet transation not returned if success 2022-10-11 11:41:44 +02:00
Sylvain
da11a592e8 (quality) lint wallet transaction 2022-10-11 10:59:48 +02:00
Sylvain
b4f3f7f737 (wip) building stats to ES 2022-10-10 17:42:25 +02:00
Sylvain
ef502070be Merge branch 'dev' into product-store 2022-10-10 16:23:08 +02:00
Sylvain
c38c621e79 Version 5.4.22 2022-10-10 15:43:21 +02:00
Sylvain
d74e95f2d9 (doc) fix typos 2022-10-10 15:40:22 +02:00
Sylvain
fe419f295a (bug) erroneous statistics
The date of the statistics data was using the date of the regenerate
command parameter. This was ok for the nightly builds but definitly not
for bulk regeneration
2022-10-10 14:46:10 +02:00
Sylvain
6a0b896815 (bug) ArgumentError (comparison of Integer with nil failed)
this crash occured when creating/updating a product without activating
the low stock alert
2022-10-10 10:00:06 +02:00
Sylvain
3a9344103c (i18n) updated translations 2022-10-05 17:27:08 +02:00
Sylvain
a63975dd18 (merge) Merge branch 'dev' into product-store 2022-10-05 17:16:04 +02:00
Sylvain
a7e21069ed (i18n) removed useless translation 2022-10-05 17:09:52 +02:00
Sylvain
d750885f3b (feat) filter and paginate stock movements 2022-10-05 16:58:40 +02:00
Sylvain
3cb70c5cf0 (quality) remove unused props 2022-10-05 16:09:18 +02:00
Sylvain
794f6130d2 (security) access to admin/store is restricted to admins & managers
also, access to admin/store/settings is not allowed to managers
2022-10-05 16:06:51 +02:00
Sylvain
8dd4463a14 (feat) alert on low stock threshold 2022-10-05 15:51:33 +02:00
Sylvain
35dd29c193 (bug) show explicit error message when unable to delete a product 2022-10-05 13:50:57 +02:00
Sylvain
5d90451e3d Version 5.4.21 2022-10-05 13:24:17 +02:00
Sylvain
2b80516177 (bug) unable to generate statistics
This bug is due to the refactoring of the statistics builder service,
in 2022 august. The default_options were not defined so the nightly
worker has no luck to run. The statistics may not have been built since
then, so a rebuild is required
2022-10-05 13:11:17 +02:00
Sylvain
6f14bdadf3 (i18n) updated translations 2022-10-05 12:16:08 +02:00
Sylvain
81c1c80587 (bug) invalid translation syntax 2022-10-05 12:13:10 +02:00
Sylvain
0464aae23e (quality) compute withdrawal instructions server side 2022-10-05 12:06:35 +02:00
Sylvain
185b4f1459 (merge) Merge remote-tracking branch 'origin/product-store_integration' into product-store 2022-10-05 10:21:35 +02:00
Du Peng
08ddb481a6 Merge branch 'product-store' of git.sleede.com:projets/fab-manager into product-store 2022-10-04 18:50:37 +02:00
Du Peng
134d8147b6 (feat) add product url in order item 2022-10-04 18:50:29 +02:00
vincent
60c8102c39 (bug) fix product categories position after dnd 2022-10-04 18:03:18 +02:00
Du Peng
1104316e62 (feat) update cart created_at after add a new item when cart is empty 2022-10-04 17:42:32 +02:00
Du Peng
9066148572 (bug) use Math.round instant of Math.trunc for fix float multify (ex: 37.8*100) 2022-10-04 17:26:39 +02:00
Sylvain
43fbf2ac8d (feat) withdrawal instructions in order ready email 2022-10-04 16:59:51 +02:00
Du Peng
a9dc7b4dd7 Merge branch 'product-store' of git.sleede.com:projets/fab-manager into product-store 2022-10-04 16:52:04 +02:00
Du Peng
162c56eb46 (bug) app always check coupon code in admin panier if change item quantity 2022-10-04 16:51:38 +02:00
Sylvain
72d55a6a0b (feat) display withdrawal instructions on the show-order page 2022-10-04 15:30:20 +02:00
vincent
a6173147ca (ui) fix layout 2022-10-04 15:21:01 +02:00
Sylvain
e90fa0ca40 (quality) move orders-dashboard to the dashboard folder 2022-10-04 15:03:29 +02:00
Sylvain
b283e89235 (merge) Merge remote-tracking branch 'origin/product-store_integration' into product-store 2022-10-04 14:48:01 +02:00
Sylvain
3c2ef4b55d (bug) orders sorting in dashboard 2022-10-04 14:42:28 +02:00
Du Peng
ccd15d45b2 (bug) fix cart total error if add a item that have be offered by admin 2022-10-04 12:34:19 +02:00
vincent
4f58ea64d1 (i18n) improve product category delete message 2022-10-04 10:56:12 +02:00
vincent
50e4b2ba0c (merge) branch 'origin/product-store' 2022-10-04 10:53:36 +02:00
Sylvain
4f231c0647 (bug) do not buzz the list in member-select 2022-10-04 10:52:53 +02:00
Sylvain
a10e75844a (feat) visual indicator if no user selected 2022-10-04 10:51:32 +02:00
Sylvain
f3a2136e7d (bug) category slug with special characters 2022-10-04 10:32:16 +02:00
Sylvain
4cfb1a1253 (bug) create a category result in error 2022-10-04 10:28:37 +02:00
Sylvain
3a8082db97 (merge) Merge remote-tracking branch 'origin/product-store_cart' into product-store 2022-10-04 09:41:47 +02:00
Sylvain
31044a56ac (quality) simplified regex 2022-10-03 17:26:43 +02:00
Sylvain
7798df1f87 (bug) stock form fields not marked as required 2022-10-03 16:39:58 +02:00
Sylvain
ac861e3bcb (bug) negative stock is marked as available 2022-10-03 16:37:46 +02:00
Sylvain
ae0d87c893 (bug) ability to filter by negative stock 2022-10-03 16:35:54 +02:00