1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/app/views/api/notifications/_notify_admin_refund_created.json.jbuilder

6 lines
311 B
Ruby

json.title notification.notification_type
json.description t('.refund_created',
AMOUNT: number_to_currency(notification.attached_object.total / 100.00),
USER: notification.attached_object.invoicing_profile&.full_name)
json.url notification_url(notification, format: :json)