1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/views/api/notifications/_notify_member_subscription_extended.json.jbuilder
2021-09-21 18:00:48 +02:00

8 lines
419 B
Ruby

json.title notification.notification_type
json.description _t('.your_subscription_PLAN_has_been_extended_FREE_until_DATE_html',
{
PLAN: notification.attached_object.plan.base_name,
FREE: notification.get_meta_data(:free_days).to_s,
DATE: I18n.l(notification.attached_object.expired_at.to_date)
}) # messageFormat