hr_lite 0.29.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/app/controllers/hr_lite/admin/attendances_controller.rb +29 -0
- data/app/controllers/hr_lite/admin/employees_controller.rb +2 -1
- data/app/controllers/hr_lite/admin/wfh_requests_controller.rb +103 -0
- data/app/controllers/hr_lite/attendance_controller.rb +23 -0
- data/app/controllers/hr_lite/wfh_requests_controller.rb +45 -0
- data/app/helpers/hr_lite/application_helper.rb +2 -2
- data/app/jobs/hr_lite/attendance_close_job.rb +12 -0
- data/app/models/hr_lite/attendance_penalty.rb +30 -0
- data/app/models/hr_lite/attendance_record.rb +13 -2
- data/app/models/hr_lite/attendance_slot.rb +38 -0
- data/app/models/hr_lite/employee_profile.rb +11 -0
- data/app/models/hr_lite/wfh_request.rb +108 -0
- data/app/services/hr_lite/attendance_puncher.rb +54 -0
- data/app/views/hr_lite/admin/attendances/_slot.html.erb +24 -0
- data/app/views/hr_lite/admin/attendances/show.html.erb +6 -1
- data/app/views/hr_lite/admin/employees/_form.html.erb +14 -0
- data/app/views/hr_lite/admin/shared/_approvals_tabs.html.erb +4 -1
- data/app/views/hr_lite/admin/wfh_requests/index.html.erb +91 -0
- data/app/views/hr_lite/admin/wfh_requests/show.html.erb +40 -0
- data/app/views/hr_lite/attendance/_penalties.html.erb +25 -0
- data/app/views/hr_lite/attendance/_punch_card.html.erb +9 -0
- data/app/views/hr_lite/attendance/_slot.html.erb +33 -0
- data/app/views/hr_lite/attendance/show.html.erb +4 -0
- data/app/views/hr_lite/team/show.html.erb +2 -1
- data/app/views/hr_lite/wfh_requests/index.html.erb +70 -0
- data/config/routes.rb +8 -0
- data/db/migrate/20261013090000_create_hr_lite_attendance_slots.rb +16 -0
- data/db/migrate/20261013090100_create_hr_lite_attendance_penalties.rb +19 -0
- data/db/migrate/20261013090200_add_buffer_to_hr_lite_employee_profiles.rb +7 -0
- data/db/migrate/20261013100000_create_hr_lite_wfh_requests.rb +22 -0
- data/db/migrate/20261013100100_add_wfh_request_id_to_hr_lite_attendance_records.rb +7 -0
- data/db/migrate/20261013100200_add_permanent_wfh_to_hr_lite_employee_profiles.rb +5 -0
- data/lib/hr_lite/configuration.rb +7 -1
- data/lib/hr_lite/notifications.rb +5 -1
- data/lib/hr_lite/version.rb +1 -1
- metadata +18 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hr_lite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.31.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kshitiz sinha
|
|
@@ -115,6 +115,7 @@ files:
|
|
|
115
115
|
- app/controllers/hr_lite/admin/statutory_rate_cards_controller.rb
|
|
116
116
|
- app/controllers/hr_lite/admin/superadmin_controller.rb
|
|
117
117
|
- app/controllers/hr_lite/admin/tax_declarations_controller.rb
|
|
118
|
+
- app/controllers/hr_lite/admin/wfh_requests_controller.rb
|
|
118
119
|
- app/controllers/hr_lite/application_controller.rb
|
|
119
120
|
- app/controllers/hr_lite/appraisals_controller.rb
|
|
120
121
|
- app/controllers/hr_lite/approvals_controller.rb
|
|
@@ -143,6 +144,7 @@ files:
|
|
|
143
144
|
- app/controllers/hr_lite/team_controller.rb
|
|
144
145
|
- app/controllers/hr_lite/timelines_controller.rb
|
|
145
146
|
- app/controllers/hr_lite/users_controller.rb
|
|
147
|
+
- app/controllers/hr_lite/wfh_requests_controller.rb
|
|
146
148
|
- app/helpers/hr_lite/application_helper.rb
|
|
147
149
|
- app/jobs/hr_lite/application_job.rb
|
|
148
150
|
- app/jobs/hr_lite/approval_escalation_job.rb
|
|
@@ -168,7 +170,9 @@ files:
|
|
|
168
170
|
- app/models/hr_lite/approval_step.rb
|
|
169
171
|
- app/models/hr_lite/asset.rb
|
|
170
172
|
- app/models/hr_lite/asset_assignment.rb
|
|
173
|
+
- app/models/hr_lite/attendance_penalty.rb
|
|
171
174
|
- app/models/hr_lite/attendance_record.rb
|
|
175
|
+
- app/models/hr_lite/attendance_slot.rb
|
|
172
176
|
- app/models/hr_lite/audit_log.rb
|
|
173
177
|
- app/models/hr_lite/award.rb
|
|
174
178
|
- app/models/hr_lite/benefit.rb
|
|
@@ -210,6 +214,7 @@ files:
|
|
|
210
214
|
- app/models/hr_lite/statutory_rate_card_record.rb
|
|
211
215
|
- app/models/hr_lite/tax_declaration.rb
|
|
212
216
|
- app/models/hr_lite/tax_declaration_item.rb
|
|
217
|
+
- app/models/hr_lite/wfh_request.rb
|
|
213
218
|
- app/services/hr_lite/access.rb
|
|
214
219
|
- app/services/hr_lite/approval_route.rb
|
|
215
220
|
- app/services/hr_lite/attendance_puncher.rb
|
|
@@ -234,6 +239,7 @@ files:
|
|
|
234
239
|
- app/views/hr_lite/admin/appraisals/new.html.erb
|
|
235
240
|
- app/views/hr_lite/admin/assets/index.html.erb
|
|
236
241
|
- app/views/hr_lite/admin/assets/new.html.erb
|
|
242
|
+
- app/views/hr_lite/admin/attendances/_slot.html.erb
|
|
237
243
|
- app/views/hr_lite/admin/attendances/index.html.erb
|
|
238
244
|
- app/views/hr_lite/admin/attendances/show.html.erb
|
|
239
245
|
- app/views/hr_lite/admin/attendances/week.html.erb
|
|
@@ -314,11 +320,15 @@ files:
|
|
|
314
320
|
- app/views/hr_lite/admin/tax_declarations/overview.html.erb
|
|
315
321
|
- app/views/hr_lite/admin/tax_declarations/person.html.erb
|
|
316
322
|
- app/views/hr_lite/admin/tax_declarations/show.html.erb
|
|
323
|
+
- app/views/hr_lite/admin/wfh_requests/index.html.erb
|
|
324
|
+
- app/views/hr_lite/admin/wfh_requests/show.html.erb
|
|
317
325
|
- app/views/hr_lite/appraisals/index.html.erb
|
|
318
326
|
- app/views/hr_lite/appraisals/show.html.erb
|
|
319
327
|
- app/views/hr_lite/approvals/index.html.erb
|
|
320
328
|
- app/views/hr_lite/attendance/_month_grid.html.erb
|
|
329
|
+
- app/views/hr_lite/attendance/_penalties.html.erb
|
|
321
330
|
- app/views/hr_lite/attendance/_punch_card.html.erb
|
|
331
|
+
- app/views/hr_lite/attendance/_slot.html.erb
|
|
322
332
|
- app/views/hr_lite/attendance/show.html.erb
|
|
323
333
|
- app/views/hr_lite/benefits/index.html.erb
|
|
324
334
|
- app/views/hr_lite/calendar/show.html.erb
|
|
@@ -368,6 +378,7 @@ files:
|
|
|
368
378
|
- app/views/hr_lite/team/show.html.erb
|
|
369
379
|
- app/views/hr_lite/timelines/_events.html.erb
|
|
370
380
|
- app/views/hr_lite/timelines/show.html.erb
|
|
381
|
+
- app/views/hr_lite/wfh_requests/index.html.erb
|
|
371
382
|
- app/views/layouts/hr_lite/application.html.erb
|
|
372
383
|
- app/views/layouts/hr_lite/mailer.html.erb
|
|
373
384
|
- app/views/layouts/hr_lite/mailer.text.erb
|
|
@@ -423,6 +434,12 @@ files:
|
|
|
423
434
|
- db/migrate/20261010100500_grant_hr_lite_tax_to_hr.rb
|
|
424
435
|
- db/migrate/20261010110000_create_hr_lite_ca_reviews.rb
|
|
425
436
|
- db/migrate/20261010110100_seed_hr_lite_ca_role.rb
|
|
437
|
+
- db/migrate/20261013090000_create_hr_lite_attendance_slots.rb
|
|
438
|
+
- db/migrate/20261013090100_create_hr_lite_attendance_penalties.rb
|
|
439
|
+
- db/migrate/20261013090200_add_buffer_to_hr_lite_employee_profiles.rb
|
|
440
|
+
- db/migrate/20261013100000_create_hr_lite_wfh_requests.rb
|
|
441
|
+
- db/migrate/20261013100100_add_wfh_request_id_to_hr_lite_attendance_records.rb
|
|
442
|
+
- db/migrate/20261013100200_add_permanent_wfh_to_hr_lite_employee_profiles.rb
|
|
426
443
|
- lib/generators/hr_lite/install/install_generator.rb
|
|
427
444
|
- lib/generators/hr_lite/install/templates/AFTER_INSTALL
|
|
428
445
|
- lib/generators/hr_lite/install/templates/initializer.rb
|