mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-07 01:54:16 +01:00
7 lines
209 B
Ruby
7 lines
209 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.array!(@accounting_periods) do |ap|
|
|
json.extract! ap, :id, :start_at, :end_at, :closed_at, :closed_by, :created_at
|
|
json.user_name "#{ap.first_name} #{ap.last_name}"
|
|
end
|