You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/weapps/attendances/index.json.jbuilder

11 lines
297 B

5 years ago
json.current_attendance do
json.(@current_attendance, :id, :normal_count, :all_count)
end
json.history_attendances @history_attendances do |attendance|
end
json.all_history_count @all_history_count
json.normal_count @normal_count
json.leave_count @leave_count
json.absence_count @absence_count