1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/views/api/payment_schedules/index.json.jbuilder

9 lines
259 B
Plaintext
Raw Normal View History

2021-02-09 17:18:33 +01:00
# frozen_string_literal: true
max_schedules = @payment_schedules.except(:offset, :limit, :order).count
json.array! @payment_schedules do |ps|
json.max_length max_schedules
json.partial! 'api/payment_schedules/payment_schedule', payment_schedule: ps
end