mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-06 21:46:17 +01:00
8 lines
404 B
Ruby
8 lines
404 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.title notification.notification_type
|
|
json.description "#{t('.auto_cancelled_training', {
|
|
TRAINING: notification.attached_object.reservation.reservable.name,
|
|
DATE: I18n.l(notification.attached_object.start_at.to_date)
|
|
})} #{notification.meta_data['auto_refund'] == 'true' ? t('.auto_refund') : ''}"
|