mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-22 11:52:21 +01:00
Merge branch 'dev' into staging
This commit is contained in:
commit
4b5d27a006
@ -5,6 +5,7 @@
|
|||||||
- improves api/notification controller to avoid failing when there is a notification with wrong notification_type in db
|
- improves api/notification controller to avoid failing when there is a notification with wrong notification_type in db
|
||||||
- Add extra_authorize_params to OpenIdConnect config
|
- Add extra_authorize_params to OpenIdConnect config
|
||||||
- Improvement : add a notification to remind users to upload their supporting documents
|
- Improvement : add a notification to remind users to upload their supporting documents
|
||||||
|
- Cancel payment schedule subscription after update the payment mean
|
||||||
|
|
||||||
## v6.0.14 2023 September 6
|
## v6.0.14 2023 September 6
|
||||||
|
|
||||||
|
@ -179,6 +179,7 @@ class PaymentScheduleService
|
|||||||
# Update the payment mean associated with the given PaymentSchedule and reset the erroneous items
|
# Update the payment mean associated with the given PaymentSchedule and reset the erroneous items
|
||||||
##
|
##
|
||||||
def update_payment_mean(payment_schedule, payment_mean)
|
def update_payment_mean(payment_schedule, payment_mean)
|
||||||
|
PaymentGatewayService.new.cancel_subscription(payment_schedule)
|
||||||
payment_schedule.update(payment_mean) && reset_erroneous_payment_schedule_items(payment_schedule)
|
payment_schedule.update(payment_mean) && reset_erroneous_payment_schedule_items(payment_schedule)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user