Sylvain
|
b68e47a0ea
|
refactor shopping_cart/reservation
Previsouly, the reservation was expecting parameters like:
slots_attributes: [{start_at: date, end_at: date, availability_id: number}]
Now, the reservation is expecting simpler parameters like:
slots_reservations_attributes:[{slot_id: number}]
|
2022-07-18 17:18:01 +02:00 |
|
Sylvain
|
be23cf27c3
|
use Price.compute to generate invoice items
|
2020-05-06 12:43:47 +02:00 |
|
Sylvain
|
bef3118649
|
[ongoing] refactor user.subscriptions to save history
TODO: - refactor subscription.save_with_payment (stripe)
- offer free days
- extend the subscription
- renew a subscription
- buy subscription + reservation
|
2018-12-06 18:26:01 +01:00 |
|
Sylvain
|
43f78ff0e0
|
fix credits usage in space reservation
|
2017-02-27 17:38:15 +01:00 |
|
Sylvain
|
8e86c4b212
|
[ongoing] spaces reservation calendar
|
2017-02-23 17:45:55 +01:00 |
|
Nicolas Florentin
|
ed478f95c7
|
UsersCredits::Manager accept an event Reservation but do not do nothing, acting as a blackbox
|
2016-04-20 11:24:28 +02:00 |
|
Nicolas Florentin
|
b46ee9177c
|
adds comments to service UsersCredits::Manager
|
2016-04-08 11:26:31 +02:00 |
|
Nicolas Florentin
|
d22574dae4
|
UsersCredits::Manager is more strict about arguments that have to be passed
|
2016-04-08 11:11:42 +02:00 |
|
Nicolas Florentin
|
aee8146040
|
users_credits/manager service: initializing service, you can pass a plan to simulate that user have that plan
|
2016-04-08 10:33:50 +02:00 |
|
Nicolas Florentin
|
02b56ed6a7
|
users_credits/manager service, handle the case if user does not have a plan
|
2016-04-07 16:01:31 +02:00 |
|
Nicolas Florentin
|
823b4c5e1d
|
updates users_credits module and manager and adds tests
|
2016-04-07 12:57:08 +02:00 |
|