hr_lite 0.13.0 → 0.15.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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +86 -1
  3. data/app/controllers/hr_lite/admin/assets_controller.rb +53 -0
  4. data/app/controllers/hr_lite/admin/checklists_controller.rb +32 -0
  5. data/app/controllers/hr_lite/admin/documents_controller.rb +63 -0
  6. data/app/controllers/hr_lite/admin/employees_controller.rb +4 -0
  7. data/app/controllers/hr_lite/admin/expenses_controller.rb +45 -0
  8. data/app/controllers/hr_lite/admin/hr_requests_controller.rb +38 -0
  9. data/app/controllers/hr_lite/admin/loans_controller.rb +59 -0
  10. data/app/controllers/hr_lite/admin/tax_declarations_controller.rb +75 -0
  11. data/app/controllers/hr_lite/documents_controller.rb +69 -0
  12. data/app/controllers/hr_lite/loans_controller.rb +11 -0
  13. data/app/controllers/hr_lite/tax_declarations_controller.rb +100 -0
  14. data/app/helpers/hr_lite/application_helper.rb +14 -4
  15. data/app/models/hr_lite/approval_flow.rb +1 -1
  16. data/app/models/hr_lite/asset.rb +57 -0
  17. data/app/models/hr_lite/asset_assignment.rb +24 -0
  18. data/app/models/hr_lite/checklist_item.rb +43 -0
  19. data/app/models/hr_lite/checklist_template.rb +50 -0
  20. data/app/models/hr_lite/employee_profile.rb +13 -0
  21. data/app/models/hr_lite/tax_declaration.rb +4 -1
  22. data/app/views/hr_lite/admin/assets/index.html.erb +59 -0
  23. data/app/views/hr_lite/admin/assets/new.html.erb +23 -0
  24. data/app/views/hr_lite/admin/checklists/index.html.erb +50 -0
  25. data/app/views/hr_lite/admin/documents/index.html.erb +89 -0
  26. data/app/views/hr_lite/admin/documents/show.html.erb +42 -0
  27. data/app/views/hr_lite/admin/expenses/index.html.erb +54 -0
  28. data/app/views/hr_lite/admin/hr_requests/index.html.erb +41 -0
  29. data/app/views/hr_lite/admin/hr_requests/show.html.erb +47 -0
  30. data/app/views/hr_lite/admin/loans/index.html.erb +43 -0
  31. data/app/views/hr_lite/admin/loans/new.html.erb +39 -0
  32. data/app/views/hr_lite/admin/loans/show.html.erb +52 -0
  33. data/app/views/hr_lite/admin/tax_declarations/index.html.erb +37 -0
  34. data/app/views/hr_lite/admin/tax_declarations/show.html.erb +54 -0
  35. data/app/views/hr_lite/documents/index.html.erb +84 -0
  36. data/app/views/hr_lite/loans/index.html.erb +52 -0
  37. data/app/views/hr_lite/tax_declarations/show.html.erb +68 -0
  38. data/config/routes.rb +29 -0
  39. data/db/migrate/20260818010401_create_hr_lite_assets_and_onboarding.rb +76 -0
  40. data/lib/hr_lite/permissions.rb +3 -0
  41. data/lib/hr_lite/role_seeds.rb +5 -3
  42. data/lib/hr_lite/version.rb +1 -1
  43. data/lib/tasks/hr_lite_tasks.rake +2 -1
  44. metadata +32 -1
@@ -5,7 +5,8 @@ namespace :hr_lite do
5
5
  require "hr_lite/role_seeds"
6
6
  require "hr_lite/statutory_seeds"
7
7
  created = HrLite::Seeds.run! + HrLite::RoleSeeds.call + HrLite::StatutorySeeds.call +
8
- HrLite::SalaryComponent.seed_defaults!
8
+ HrLite::SalaryComponent.seed_defaults! +
9
+ HrLite::ChecklistTemplate.seed_defaults!
9
10
  puts created.any? ? "hr_lite:seed created: #{created.join(', ')}" : "hr_lite:seed — nothing to do"
10
11
  end
11
12
 
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.13.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kshitiz sinha
@@ -56,17 +56,23 @@ files:
56
56
  - app/assets/stylesheets/hr_lite/application.css
57
57
  - app/assets/stylesheets/hr_lite/hr_lite.css
58
58
  - app/controllers/hr_lite/admin/appraisals_controller.rb
59
+ - app/controllers/hr_lite/admin/assets_controller.rb
59
60
  - app/controllers/hr_lite/admin/attendances_controller.rb
60
61
  - app/controllers/hr_lite/admin/audit_logs_controller.rb
61
62
  - app/controllers/hr_lite/admin/base_controller.rb
63
+ - app/controllers/hr_lite/admin/checklists_controller.rb
62
64
  - app/controllers/hr_lite/admin/comp_off_requests_controller.rb
63
65
  - app/controllers/hr_lite/admin/designation_changes_controller.rb
66
+ - app/controllers/hr_lite/admin/documents_controller.rb
64
67
  - app/controllers/hr_lite/admin/employees_controller.rb
68
+ - app/controllers/hr_lite/admin/expenses_controller.rb
65
69
  - app/controllers/hr_lite/admin/holidays_controller.rb
70
+ - app/controllers/hr_lite/admin/hr_requests_controller.rb
66
71
  - app/controllers/hr_lite/admin/leadership_controller.rb
67
72
  - app/controllers/hr_lite/admin/leave_balances_controller.rb
68
73
  - app/controllers/hr_lite/admin/leave_requests_controller.rb
69
74
  - app/controllers/hr_lite/admin/leave_types_controller.rb
75
+ - app/controllers/hr_lite/admin/loans_controller.rb
70
76
  - app/controllers/hr_lite/admin/office_locations_controller.rb
71
77
  - app/controllers/hr_lite/admin/overview_controller.rb
72
78
  - app/controllers/hr_lite/admin/payroll_runs_controller.rb
@@ -80,6 +86,7 @@ files:
80
86
  - app/controllers/hr_lite/admin/settings_controller.rb
81
87
  - app/controllers/hr_lite/admin/statutory_rate_cards_controller.rb
82
88
  - app/controllers/hr_lite/admin/superadmin_controller.rb
89
+ - app/controllers/hr_lite/admin/tax_declarations_controller.rb
83
90
  - app/controllers/hr_lite/application_controller.rb
84
91
  - app/controllers/hr_lite/appraisals_controller.rb
85
92
  - app/controllers/hr_lite/approvals_controller.rb
@@ -88,6 +95,7 @@ files:
88
95
  - app/controllers/hr_lite/calendar_controller.rb
89
96
  - app/controllers/hr_lite/career_controller.rb
90
97
  - app/controllers/hr_lite/comp_off_requests_controller.rb
98
+ - app/controllers/hr_lite/documents_controller.rb
91
99
  - app/controllers/hr_lite/employee_profiles_controller.rb
92
100
  - app/controllers/hr_lite/expenses_controller.rb
93
101
  - app/controllers/hr_lite/holidays_controller.rb
@@ -96,11 +104,13 @@ files:
96
104
  - app/controllers/hr_lite/kudos_controller.rb
97
105
  - app/controllers/hr_lite/leave_balances_controller.rb
98
106
  - app/controllers/hr_lite/leave_requests_controller.rb
107
+ - app/controllers/hr_lite/loans_controller.rb
99
108
  - app/controllers/hr_lite/org_controller.rb
100
109
  - app/controllers/hr_lite/policies_controller.rb
101
110
  - app/controllers/hr_lite/regularization_requests_controller.rb
102
111
  - app/controllers/hr_lite/resignations_controller.rb
103
112
  - app/controllers/hr_lite/salary_slips_controller.rb
113
+ - app/controllers/hr_lite/tax_declarations_controller.rb
104
114
  - app/controllers/hr_lite/team_controller.rb
105
115
  - app/controllers/hr_lite/users_controller.rb
106
116
  - app/helpers/hr_lite/application_helper.rb
@@ -121,10 +131,14 @@ files:
121
131
  - app/models/hr_lite/approval_delegation.rb
122
132
  - app/models/hr_lite/approval_flow.rb
123
133
  - app/models/hr_lite/approval_step.rb
134
+ - app/models/hr_lite/asset.rb
135
+ - app/models/hr_lite/asset_assignment.rb
124
136
  - app/models/hr_lite/attendance_record.rb
125
137
  - app/models/hr_lite/audit_log.rb
126
138
  - app/models/hr_lite/benefit.rb
127
139
  - app/models/hr_lite/benefit_enrolment.rb
140
+ - app/models/hr_lite/checklist_item.rb
141
+ - app/models/hr_lite/checklist_template.rb
128
142
  - app/models/hr_lite/comp_off_request.rb
129
143
  - app/models/hr_lite/designation_change.rb
130
144
  - app/models/hr_lite/document.rb
@@ -178,18 +192,26 @@ files:
178
192
  - app/views/hr_lite/admin/appraisals/_form.html.erb
179
193
  - app/views/hr_lite/admin/appraisals/edit.html.erb
180
194
  - app/views/hr_lite/admin/appraisals/new.html.erb
195
+ - app/views/hr_lite/admin/assets/index.html.erb
196
+ - app/views/hr_lite/admin/assets/new.html.erb
181
197
  - app/views/hr_lite/admin/attendances/index.html.erb
182
198
  - app/views/hr_lite/admin/attendances/show.html.erb
183
199
  - app/views/hr_lite/admin/audit_logs/index.html.erb
200
+ - app/views/hr_lite/admin/checklists/index.html.erb
184
201
  - app/views/hr_lite/admin/comp_off_requests/index.html.erb
185
202
  - app/views/hr_lite/admin/comp_off_requests/show.html.erb
186
203
  - app/views/hr_lite/admin/designation_changes/new.html.erb
204
+ - app/views/hr_lite/admin/documents/index.html.erb
205
+ - app/views/hr_lite/admin/documents/show.html.erb
187
206
  - app/views/hr_lite/admin/employees/_form.html.erb
188
207
  - app/views/hr_lite/admin/employees/edit.html.erb
189
208
  - app/views/hr_lite/admin/employees/index.html.erb
190
209
  - app/views/hr_lite/admin/employees/new.html.erb
191
210
  - app/views/hr_lite/admin/employees/show.html.erb
211
+ - app/views/hr_lite/admin/expenses/index.html.erb
192
212
  - app/views/hr_lite/admin/holidays/index.html.erb
213
+ - app/views/hr_lite/admin/hr_requests/index.html.erb
214
+ - app/views/hr_lite/admin/hr_requests/show.html.erb
193
215
  - app/views/hr_lite/admin/leave_balances/index.html.erb
194
216
  - app/views/hr_lite/admin/leave_requests/index.html.erb
195
217
  - app/views/hr_lite/admin/leave_requests/show.html.erb
@@ -197,6 +219,9 @@ files:
197
219
  - app/views/hr_lite/admin/leave_types/edit.html.erb
198
220
  - app/views/hr_lite/admin/leave_types/index.html.erb
199
221
  - app/views/hr_lite/admin/leave_types/new.html.erb
222
+ - app/views/hr_lite/admin/loans/index.html.erb
223
+ - app/views/hr_lite/admin/loans/new.html.erb
224
+ - app/views/hr_lite/admin/loans/show.html.erb
200
225
  - app/views/hr_lite/admin/office_locations/_form.html.erb
201
226
  - app/views/hr_lite/admin/office_locations/edit.html.erb
202
227
  - app/views/hr_lite/admin/office_locations/index.html.erb
@@ -223,6 +248,8 @@ files:
223
248
  - app/views/hr_lite/admin/statutory_rate_cards/edit.html.erb
224
249
  - app/views/hr_lite/admin/statutory_rate_cards/index.html.erb
225
250
  - app/views/hr_lite/admin/statutory_rate_cards/new.html.erb
251
+ - app/views/hr_lite/admin/tax_declarations/index.html.erb
252
+ - app/views/hr_lite/admin/tax_declarations/show.html.erb
226
253
  - app/views/hr_lite/appraisals/index.html.erb
227
254
  - app/views/hr_lite/appraisals/show.html.erb
228
255
  - app/views/hr_lite/approvals/index.html.erb
@@ -234,6 +261,7 @@ files:
234
261
  - app/views/hr_lite/career/show.html.erb
235
262
  - app/views/hr_lite/comp_off_requests/index.html.erb
236
263
  - app/views/hr_lite/comp_off_requests/new.html.erb
264
+ - app/views/hr_lite/documents/index.html.erb
237
265
  - app/views/hr_lite/employee_profiles/show.html.erb
238
266
  - app/views/hr_lite/event_mailer/event.html.erb
239
267
  - app/views/hr_lite/event_mailer/event.text.erb
@@ -254,6 +282,7 @@ files:
254
282
  - app/views/hr_lite/leave_requests/index.html.erb
255
283
  - app/views/hr_lite/leave_requests/new.html.erb
256
284
  - app/views/hr_lite/leave_requests/show.html.erb
285
+ - app/views/hr_lite/loans/index.html.erb
257
286
  - app/views/hr_lite/org/_node.html.erb
258
287
  - app/views/hr_lite/org/show.html.erb
259
288
  - app/views/hr_lite/policies/index.html.erb
@@ -267,6 +296,7 @@ files:
267
296
  - app/views/hr_lite/salary_slips/show.html.erb
268
297
  - app/views/hr_lite/shared/_form_errors.html.erb
269
298
  - app/views/hr_lite/shared/_pagination.html.erb
299
+ - app/views/hr_lite/tax_declarations/show.html.erb
270
300
  - app/views/hr_lite/team/show.html.erb
271
301
  - app/views/layouts/hr_lite/application.html.erb
272
302
  - app/views/layouts/hr_lite/mailer.html.erb
@@ -306,6 +336,7 @@ files:
306
336
  - db/migrate/20260818002627_create_hr_lite_payroll_components_and_loans.rb
307
337
  - db/migrate/20260818003616_create_hr_lite_documents_and_declarations.rb
308
338
  - db/migrate/20260818004707_create_hr_lite_employee_services.rb
339
+ - db/migrate/20260818010401_create_hr_lite_assets_and_onboarding.rb
309
340
  - lib/generators/hr_lite/install/install_generator.rb
310
341
  - lib/generators/hr_lite/install/templates/AFTER_INSTALL
311
342
  - lib/generators/hr_lite/install/templates/initializer.rb