Sylvain
b552e5e626
(feat) rename client accounts to financial
2022-12-21 14:14:37 +01:00
Sylvain
31ba4d3486
(api) accounting: payment details
2022-12-21 14:14:35 +01:00
Sylvain
e3eb8eb516
(api) accounting: report external id for user
2022-12-21 14:14:35 +01:00
Sylvain
90dc38ed10
(feat) move external id to InvoicingProfile
2022-12-21 14:14:34 +01:00
Sylvain
9b5cf8842e
(api) accounting: filter by type
2022-12-21 14:14:34 +01:00
Sylvain
9ac2655256
(feat) OpenAPI/users: filter by created_after
2022-12-21 14:14:30 +01:00
Sylvain
7659597e32
(doc) Updated OpenAPI documentation
2022-12-21 14:14:29 +01:00
Sylvain
4b84963d7f
(feat) optional external id
2022-12-21 14:14:29 +01:00
Sylvain
a55880a0ad
(feat) OpenAPI endpoint for accounting
...
Also: (bug) filter by array in openAPI = error
2022-12-21 14:12:14 +01:00
Sylvain
749f848034
(feat) rebuild accounting lines on updates
2022-12-21 14:12:13 +01:00
Sylvain
af3def0e2e
(feat) save the accounting data in DB
...
Previously, the accounting data were built on demand,
extracting the data from the invoices on-the-fly.
This is intended to be used only once in a while, so there was
no performance issue with that.
Now, we want those data to be accessed from the OpenAPI,
so building them on-the-fly would be very much
intensive and resouces heavy. So we build them each nights
using a scheduled worker and save them in the database
2022-12-21 14:11:40 +01:00
Sylvain
514a797b64
(wip) accounting endpoint for the OpenAPI
2022-12-21 14:11:39 +01:00
Sylvain
462a764276
(quality) moved accounting services to a decicated module
2022-12-21 14:05:17 +01:00
Sylvain
bec610458c
(bug) do not create plans for disabled groups
...
Also: (bug) unable to create plan without partner
(bug) unable to set plan price to a decimal number
(bug) unable to create a plan without toggling the partner switch
(quality) linted PlansService
2022-12-21 14:05:16 +01:00
Sylvain
be8ae01ba4
(ui) refactor plan form
...
Also: add advanced accounting to plans
2022-12-21 14:05:16 +01:00
Sylvain
4a9cbbb227
(feat) advanced accounting for products
2022-12-21 14:05:15 +01:00
Sylvain
7868f31a58
(feat) advanced accounting parameters
...
for: machines, spaces, trainings, events
2022-12-21 14:05:15 +01:00
Du Peng
3224daf791
(bug) unable to credit wallet amount
2022-12-12 16:25:29 +01:00
Du Peng
766c08a302
(bug) fix unable to update/delete a space
2022-12-12 14:19:57 +01:00
Sylvain
7b30086a34
(bug) unable to set amount to 4.85
2022-12-01 15:43:16 +01:00
Sylvain
8eaeb2df39
(bug) soft-destroyed still reported in OpenAPI
...
Also: improved testing
2022-11-23 11:59:06 +01:00
Sylvain
509dd0eb5f
(feat) soft destroy machines/spaces
2022-11-22 14:17:25 +01:00
Sylvain
d9b3f22366
(bug) unable to export statistics
2022-11-16 16:55:56 +01:00
Sylvain
7c7ec0aa4c
(feature) admin can buy product for himself
2022-11-04 12:18:04 +01:00
Du Peng
6d448e0af2
(merge) merge dev and product-store
2022-10-26 09:37:31 +02:00
Sylvain
744b811b62
(feat) remove admins group: allow admins to reserve
2022-10-25 11:57:26 +02:00
Sylvain
45129e3e37
(quality) linted code about payment schedules
2022-10-25 10:52:33 +02:00
Sylvain
f9f60cba17
(wip) allow admin to reserve for himself
2022-10-24 17:39:16 +02:00
Du Peng
48de0f8b9e
(bug) fix product and order error message
2022-10-14 12:57:55 +02:00
Du Peng
9834faf120
(bug) cant load order withdrawal instructions if no login
2022-10-13 17:57:26 +02:00
Du Peng
7e3cbf7172
(bug) cannot load order withdrawal instructions
2022-10-13 11:23:35 +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
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
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
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
0464aae23e
(quality) compute withdrawal instructions server side
2022-10-05 12:06:35 +02:00
vincent
60c8102c39
(bug) fix product categories position after dnd
2022-10-04 18:03:18 +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
51aa967001
(feat) dismiss a user to a lower privileged role
2022-10-03 14:22:15 +02:00
Sylvain
a30eac10de
(feat) humanize gateway error messages
2022-09-28 12:54:29 +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
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
a41e5a93e5
(feat) products filtering for admin view
2022-09-20 15:30:44 +02:00
vincent
9742558cfa
(feat) Save product categories' positions
2022-09-20 09:24:05 +02:00
Du Peng
e2b6267924
(feat) cannot delete a product if it is used in order
2022-09-19 15:20:42 +02:00
Du Peng
010718d53e
(merge) store manage the orders by admin
2022-09-16 11:45:58 +02:00