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
2016-03-23 18:39:41 +01:00

7 lines
393 B
Ruby

json.title notification.notification_type
json.description _t('.invoices_generation_was_STATUS_for_user_NAME_html',
{
STATUS: notification.attached_object.invoicing_disabled.to_s,
NAME: notification.attached_object.profile.full_name
}) #messageFormat
json.url notification_url(notification, format: :json)