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_admin_invoicing_changed.json.jbuilder

10 lines
476 B
Plaintext
Raw Normal View History

2019-02-14 12:47:57 +01:00
# frozen_string_literal: true
# @deprecated
# <b>DEPRECATED:</b> Feature removed in v2.8.2
json.title notification.notification_type
json.description _t('.invoices_generation_was_STATUS_for_user_NAME_html',
STATUS: notification.attached_object.invoicing_disabled.to_s,
2019-06-12 15:49:35 +02:00
NAME: notification.attached_object&.profile&.full_name || t('api.notifications.deleted_user')) # messageFormat
2019-02-14 12:47:57 +01:00
json.url notification_url(notification, format: :json)