vincent
c883a27c95
(i18n) fix text
2022-10-13 16:41:23 +02:00
vincent
6383b2ed80
(ui) fix colors
2022-10-13 16:38:32 +02:00
Du Peng
8537a580e9
(feat) dont scroll down to product list after fetch
2022-10-13 14:51:46 +02:00
Du Peng
9ddc21619b
(bug) fix product cannot update low stock alert
2022-10-13 14:42:32 +02:00
Du Peng
5de91acf88
(bug) fix save empty product image and is_main cannot set to new image after remove old main image
2022-10-13 12:38:54 +02:00
Du Peng
7e3cbf7172
(bug) cannot load order withdrawal instructions
2022-10-13 11:23:35 +02:00
Du Peng
11a0f62452
(bug) cannot access store
2022-10-12 19:40:49 +02:00
vincent
bd10f0235b
(ui) fix store settings layout
2022-10-12 18:20:36 +02:00
Sylvain
5be2c79569
(bug) prevent links on nothing in wysiwyg editor
2022-10-12 17:02:02 +02:00
Sylvain
11c8b25357
(feat) hide the store to members/visitors
2022-10-12 16:48:39 +02:00
Sylvain
f80aec1ef2
(merge) Merge branch 'product-store_stats' into product-store
2022-10-12 14:20:38 +02:00
Sylvain
eb0639f7b2
(quality) refactored API::StatisticsController
2022-10-12 14:19:59 +02:00
Sylvain
0016f248d8
(feat) report store orders in the stats
2022-10-12 11:42:15 +02:00
Sylvain
33238e2ea5
(bug) home page tour tries to start after the page was unloaded
2022-10-12 11:07:47 +02:00
Du Peng
ef9a5c22bb
(feat) clone a product
2022-10-11 18:53:12 +02:00
Sylvain
d9e8d0e40d
(wip) report store statistics in UI
2022-10-11 17:23:45 +02:00
Du Peng
7700737cf3
(bug) fix cannot remove product if it has the relation with machines
2022-10-11 16:40:45 +02:00
Sylvain
70f7ef8951
(feat) build stats in elasticsearch
2022-10-11 15:14:53 +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
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
a63975dd18
(merge) Merge branch 'dev' into product-store
2022-10-05 17:16:04 +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
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
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
Sylvain
db86769d42
(bug) products filter: is_available
...
previously, we misunderstand the behavior or this filter and
we used the filter is_active instead
2022-10-03 16:32:32 +02:00
Sylvain
e51592061a
(feat) count products in categories
2022-10-03 15:56:46 +02:00
Sylvain
a260f88555
(feat) store withdrawal instructions
2022-10-03 15:24:01 +02:00
Sylvain
51aa967001
(feat) dismiss a user to a lower privileged role
2022-10-03 14:22:15 +02:00
vincent
dfe786ee45
(quality) Remove auto scroll and filter header
2022-09-29 11:37:58 +02:00
vincent
1425e39183
(ui) Fix order-item layout
2022-09-29 11:36:56 +02:00
vincent
05e729fa26
(inte) cart item error message + responsive
2022-09-28 17:48:55 +02:00
Sylvain
a30eac10de
(feat) humanize gateway error messages
2022-09-28 12:54:29 +02:00
Du Peng
91b7fb9e6a
(quality) refactoring change quantity in cart
2022-09-28 12:21:46 +02:00
Du Peng
274d661a58
(feat) always check cart items when user in cart page
2022-09-28 12:14:58 +02:00
Du Peng
c7559e3857
(bug) product stock status
2022-09-28 11:32:07 +02:00
Sylvain
f784a4d8a0
(bug) wrong translation key hide payment mean
2022-09-28 10:47:57 +02:00
Sylvain
a8b9ebb665
(quality) add eager loading for orders
2022-09-28 10:34:02 +02:00
Sylvain
eb50c37419
(bug) do not display no price as free
2022-09-28 10:33:30 +02:00
Sylvain
b8db1dc9a9
(bug) visitor is not prompted to login on checkout
2022-09-28 10:32:34 +02:00
Du Peng
ac671ea26d
(feat) check cart item amount/available/quantity_min/stock before checkout
2022-09-27 19:44:39 +02:00
Sylvain
4d72151ab5
(bug) unable to display the payment schedules management interface
2022-09-27 16:01:22 +02:00
Sylvain
929c70b5be
(bug) plan's categories descriptions are not shown
...
Also fixes a bug about empty groups displayed in the subscription page
2022-09-27 16:01:22 +02:00
Sylvain
9856450aac
(bug) broken daily view of the public agenda
...
When the daily view contains trainings or events, the agenda cannot
be filled with the slots because of an 500 error
2022-09-27 16:01:21 +02:00
Sylvain
f61e784ace
(feat) prevent show product in store if price not set
2022-09-27 15:58:59 +02:00
Sylvain
82d2f99b77
(bug) add a link sends the parent form
2022-09-27 15:02:41 +02:00
Sylvain
116dac646c
(quality) remove eslint-disable
2022-09-27 12:53:29 +02:00
Sylvain
474a6b9bb7
(feat) display free instead of 0,0€
2022-09-27 12:42:29 +02:00
Sylvain
768acf3c28
(bug) do not display product sku if no set
2022-09-27 12:33:13 +02:00
Sylvain
18dc24e366
(feat) use thumbnail version of product images
2022-09-27 12:21:35 +02:00
Sylvain
e687e8ad02
(bug) order by price with unset prices
...
In product ordering, consider NULL prices (no price has been defined) as 0, to
order those products as lowest prices items
2022-09-27 11:50:35 +02:00
Sylvain
d6fbd90c7c
(feat) ability to disable the store
2022-09-27 11:14:27 +02:00
Sylvain
afc391f73e
(ui) move the admin/store menu under the events tab
2022-09-27 09:58:34 +02:00
Sylvain
e217f61524
(bug) undefined method privileged? for nil:Class
2022-09-27 09:43:21 +02:00
Guilherme Chaguri
75796074da
(Bug) Fix admin users groups being overriden by SSO group_id
2022-09-26 14:23:29 -03:00
Guilherme Chaguri
1bd97e3251
Allow searching by username
2022-09-26 13:41:50 -03:00
Sylvain
040f74a2fe
(merge) Merge branch 'product-store_integration' into product-store
2022-09-26 17:29:12 +02:00
Sylvain
75a4038a60
(feat) save/restore filters in admin/store/products
2022-09-26 17:18:52 +02:00
Sylvain
af81f10a4e
(bug) div cannot appear as a descendant of p
2022-09-26 16:44:14 +02:00
Sylvain
bc09450418
(bug) product store filtering
...
- Do not reset the category when reseting the filters
- Prevent filtering by internal stock when user is not privileged
2022-09-26 15:45:52 +02:00
Sylvain
46d1127efc
(bug) div cannot appear as a descendant of p
2022-09-26 15:31:57 +02:00
Sylvain
498ed0d115
(bug) cannot render the machine filters
...
if a default machines list was not provided to the machines-filters component, the component rendering is broken
2022-09-26 15:25:15 +02:00
Sylvain
1b930d2005
(feat) restore the filters from the URL
2022-09-26 15:23:07 +02:00
Sylvain
6b7daade5f
(feat) save filters to the URL
2022-09-26 12:41:20 +02:00
vincent
6aaabe5b05
(i18n) Add missing translations
2022-09-22 11:23:26 +02:00
vincent
4fe2679808
(quality) refacto item quantity input
2022-09-21 12:27:20 +02:00