1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/validators
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
..
closed_period_validator.rb replaces almost all Time.now by DateTime.current 2019-12-02 11:57:25 +01:00
coupon_discount_validator.rb coupon edition: display internationalized errors 2016-12-13 12:46:00 +01:00
coupon_expiration_validator.rb replaces almost all Time.now by DateTime.current 2019-12-02 11:57:25 +01:00
database_provider_validator.rb (i18n) reorganize translations per components 2022-05-04 12:27:48 +02:00
date_range_validator.rb fix accounting period checksum + improved period validation 2019-03-12 15:26:17 +01:00
duration_validator.rb prevent closing a period not in the past 2019-04-03 17:27:25 +02:00
past_period_validator.rb prevent closing a period not in the past 2019-04-03 17:27:25 +02:00
period_integrity_validator.rb fix stripe_ids data migration 2021-06-07 14:15:39 +02:00
period_overlap_validator.rb validates accounting periods on creation + prevent refunding on closed periods (client only) 2019-01-08 17:32:45 +01:00
stripe_card_token_validator.rb read stripe_api_key from db 2020-06-10 11:33:03 +02:00
subscription_group_validator.rb refactor shopping_cart/reservation 2022-07-18 17:18:01 +02:00
user_uid_mapped_validator.rb (ui)(api) configure data mapping for openid 2022-05-04 12:28:48 +02:00