Sylvain
42d830b4f8
(feat) save cart items in db
2023-02-15 10:29:46 +01:00
Sylvain
04f933f94d
(bug) deal with DST using Time instead of DateTime
2023-02-14 13:10:58 +01:00
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
07578b5826
(ui)(api) configure data mapping for openid
2022-05-04 12:28:48 +02:00
Sylvain
63b03568e4
(i18n) reorganize translations per components
2022-05-04 12:27:48 +02:00
Sylvain
3b0262c153
(bug) validate oauth2 providers have User.uid mapped
2022-05-04 12:27:48 +02:00
Sylvain
70803ee41b
(api) validate auth providers data
...
+ remove legacy code
2022-05-04 12:27:48 +02:00
Sylvain
5d7c024056
fix stripe_ids data migration
2021-06-07 14:15:39 +02:00
Sylvain
d0011a10f0
check for slots restricted to subscribers at cart level
2021-05-31 15:39:56 +02:00
Sylvain
b938232c19
Merge branch 'dev' into payzen
2021-05-25 14:06:30 +02:00
Sylvain
c7a59c8cb7
WIP: refactoring to singularize the booking process
...
We need to achieve only one process for all booking, not one for subscription, one for reservations, etc.
Moreover we must store one object per invoice_item/payment_schedule_object and stop using Invoice.invoiced or PaymentSchedule.scheduled
2021-05-21 18:25:18 +02:00
Sylvain
b151802923
WIP: fix invoices without invoiced_id
...
TODO: fix datetime parsing
2021-05-21 18:21:24 +02:00
Sylvain
b255abaf55
[bug] reservation of slots restricted to subscribers leads to invoices without invoiced_id
...
This bug was introduced with v4.7.0 and appends when the restriction is manually overridden by an admin/moderator
2021-05-21 16:46:41 +02:00
Sylvain
82d6677cff
read stripe_api_key from db
2020-06-10 11:33:03 +02:00
Sylvain
ebe602ad1c
WIP: enforce mime type checking for uploads
2020-06-02 19:18:57 +02:00
Du Peng
096a658bac
add a validator to check reservation's slot is or not restrict for subscriptions
2020-02-11 13:22:20 +01:00
Nicolas Florentin
77cf8c8218
replaces almost all Time.now by DateTime.current
2019-12-02 11:57:25 +01:00
Sylvain
a778b1063a
enhance ruby syntax
2019-07-29 12:17:57 +02:00
Sylvain
9fd6ea08b9
fix SubscriptionGroupValidator
2019-06-05 07:52:02 +02:00
Sylvain
4c033614ae
[ongoing] migrate subscriptions & reservations to statistic_profile
2019-06-04 16:50:23 +02:00
Sylvain
8a6ff0c093
prevent closing a period not in the past
2019-04-03 17:27:25 +02:00
Sylvain
722d5d36e7
check server-side that periods match length requirements + explain requirements to user before closing
2019-04-03 13:04:19 +02:00
Sylvain
857b1cebba
fix accounting period checksum + improved period validation
2019-03-12 15:26:17 +01:00
Sylvain
4e7a62bc2b
[ongoing] close period for max 1 year + force contiguous periods + fix totals
2019-03-12 09:14:20 +01:00
Sylvain
ffe5516d10
prevent closing an accounting period if any checksum error in period
2019-02-12 17:38:44 +01:00
Sylvain
35638d611b
validates invoice&avoir creation to prevent any creation in closed period
2019-01-09 16:54:09 +01:00
Sylvain
9fac706da8
validates accounting periods on creation + prevent refunding on closed periods (client only)
2019-01-08 17:32:45 +01:00
Sylvain
ecbe8a58a2
coupon edition: display internationalized errors
2016-12-13 12:46:00 +01:00
Sylvain
85ee73f0e0
ability to edit coupon expiration
2016-12-13 12:01:54 +01:00
Sylvain
4817da75d6
[bug] unable to create or edit percentage coupons
2016-12-13 10:08:19 +01:00
Sylvain
ad2911529c
db model, api and interface for cash coupons
2016-11-23 12:43:42 +01:00
Sylvain
19e89cce3d
[feature] validate project attachement by mime type
2016-09-07 15:44:19 +02:00
Sylvain
f9628b4989
prevent subscription creation/modification if card_token is invalid
2016-04-11 18:37:15 +02:00
Sylvain
b72609c072
test and validation from plan group
2016-04-07 12:28:25 +02:00