1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
Commit Graph

135 Commits

Author SHA1 Message Date
Sylvain
733fd9840c (bug) unable to export store orders 2023-02-20 15:37:51 +01:00
Sylvain
e0931545e8 (quality) remove obsolete NotificationType.find_by_name 2023-02-16 16:08:47 +01:00
Sylvain
6433767846 (quality) properly handle project not found exception 2023-02-15 10:29:53 +01:00
Sylvain
ddc2dd4c6e (feat) training auto cancel authorization and invalidation rule 2023-02-15 10:28:07 +01:00
Sylvain
78cb8b7854 (quality) isolate auto cancel features in separate service 2023-02-15 10:28:07 +01:00
Sylvain
e2edbb419a (feat) auto cancel trainings under the threshold 2023-02-15 10:28:04 +01:00
Sylvain
04f933f94d (bug) deal with DST using Time instead of DateTime 2023-02-14 13:10:58 +01:00
Sylvain
dd30f79f7c (bug) unable to build accounting archive 2023-01-09 10:20:19 +01:00
Sylvain
10f054256e (feat) payment schedule due in invoices 2023-01-05 12:09:16 +01:00
Sylvain
7bb97d267d (feat) build accounting data for yesterday by default 2023-01-04 10:27:14 +01:00
Sylvain
dff0db809d (bug) unable to sync objects on stripe 2023-01-03 10:41:01 +01:00
Sylvain
f8904dfb9c (feat) customize VAT name 2022-12-27 12:13:24 +01:00
Sylvain
05ba27289b (quality) reduce deletion delay
This is safe because AccountingLine does not have any delete dependency
2022-12-21 14:14:34 +01:00
Sylvain
b7838db648 (feat) clean accounting lines async before rebuilding 2022-12-21 14:14:33 +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
462a764276 (quality) moved accounting services to a decicated module 2022-12-21 14:05:17 +01:00
Sylvain
16087d3aa3 (bug) objects not sync on Stripe 2022-11-21 16:56:28 +01:00
Sylvain
a776b9cc6a (bug) free disk space not verified in some cases 2022-11-14 09:32:32 +01:00
Sylvain
f9f60cba17 (wip) allow admin to reserve for himself 2022-10-24 17:39:16 +02:00
Sylvain
b9c02742a1 (bug) unable to generate statistics 2022-08-29 17:34:09 +02:00
Sylvain
bb7eec924c Usage of the rails logger instead of printing to standard output 2022-07-26 17:27:33 +02:00
Sylvain
eaaf3b9a73 (bug) fix reservation reminder 2022-07-26 15:41:07 +02:00
Sylvain
ee97b93a49 (style) replace Setting.find_by(name... by Setting.get 2022-03-23 13:30:55 +01:00
Nicolas Florentin
e37cde2f0d removes dead code about OpenAPI (open_api_calls_count_tracings) 2022-02-25 15:39:56 +01:00
Nicolas Florentin
e2bf482a4a fix typo "projets" => "projects" 2022-02-25 15:22:14 +01:00
Sylvain
9922812111 Ability to select "bank transfer" as the payment mean for a payment schedule 2022-01-05 15:58:33 +01:00
Sylvain
00b9bce587 export collected VAT by rate 2021-12-29 17:00:54 +01:00
Sylvain
e8c5c49bd0 handle sync old coupons on stripe 2021-06-21 10:50:37 +02:00
Sylvain
427ba1a74b [bug] unable to sync coupons on stripe 2021-06-21 10:45:13 +02:00
Sylvain
4ee9121d5f [bug] unable to sync coupons on stripe 2021-06-21 10:10:55 +02:00
Sylvain
f5126084b9 [bug] unable to sync coupons on stripe 2021-06-16 15:48:45 +02:00
Sylvain
2a616125c1 [bug] unable to sync users on stripe if one of them have an invalid email address 2021-06-16 10:34:07 +02:00
Sylvain
71775378e8 include payment schedules in accounting archives 2021-06-10 11:36:32 +02:00
Sylvain
68f64cfc5c update the card for payment schedules 2021-06-04 18:26:20 +02:00
Sylvain
dc0a75e52d verify each deadlines on payzen for payment schedules 2021-06-03 12:22:37 +02:00
Sylvain
28e41de9ad task to reset the stripe payment methods in test mode 2021-05-31 16:15:57 +02:00
Sylvain
e3187460ea create payment schedules on payzen
Also: make generic the creation of products on remote gateway
Also: make generic the call to gateway specific actions
2021-04-30 16:07:19 +02:00
Sylvain
bc6ef8ef50 WIP: move backend code base to new architecture
- from stripe only to payment gateway abstract
- from reservation params style to unified cart_items

TODO: fix not passing tests,
subscriptions/renew_as_admin_test.rb fails because InvoiceItem(9).amount = nil
2021-04-23 17:54:59 +02:00
Sylvain
26dfbef5e1 WIP: refactor models to use payment_gateway_objects 2021-04-21 17:38:06 +02:00
Sylvain
1bbb8c3965 move the architecture from stripe-only to gateway-generic 2021-04-15 17:01:52 +02:00
Sylvain
07ea6e8c69 renamed SUPERADMIN_EMAIL to ADMINSYS_EMAIL
The previous was too much subject to confusions
2021-04-14 15:04:41 +02:00
Sylvain
4d3ead310d do not run StripeWorker tasks is the gateway is not enabled 2021-04-14 12:18:37 +02:00
Sylvain
3483e1355c updated openlab + handle missing dev instance 2021-04-06 14:58:12 +02:00
Sylvain
f9e775ac35 [bug] do not send notifications each hour for payment schedules deadlines 2021-03-03 09:09:17 +01:00
Sylvain
0b3a02a05d handle errors in PaymentScheduleItemWorker 2021-02-22 11:27:29 +01:00
Sylvain
0e7226c85c handle stripe requires_action 2021-02-08 15:28:47 +01:00
Sylvain
76ebb3ccb4 run the PaymentScheduleItemWorker more ofter and tell the users that they ahev only 24h to fix the payment 2021-02-08 10:05:54 +01:00
Sylvain
163976b988 WIP: error handling for card payments on later deadlines 2021-01-27 17:24:10 +01:00
Sylvain
def0778a4d basic inteface to retrieve payment schedules 2021-01-25 17:42:30 +01:00