hr_lite 0.65.0 → 0.65.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8bac47ad9084b5f1b56da93a9a4658b0657ad90078ad5a51cda3de73d46e93a
4
- data.tar.gz: e0a6f0dadbda02b024ece4ff00292586077c815022f71cea914a342ccc4a14df
3
+ metadata.gz: 2b0957999e3f167132b2c25455182bbe1aeb986ba6aaa9928d54721692a2c07a
4
+ data.tar.gz: 0b60cf956f6ce373fab9300cbfbf32a2c3734a3bec9a19ff55d85fff13c91e7f
5
5
  SHA512:
6
- metadata.gz: 36a34342b03fe802f84fe9cde43196dc22beeac2fffeb17572d79e8e5cf3b15a4efca9a59616c598f91e7d37efce0fffc8bb7830d35997015982f009477cbeb8
7
- data.tar.gz: 45a7023d60f36f461dce9fb26482622fb69ef72464b5ff58043284dd785edf2d5ee714c40bec8ffd20f4f5ec07cd905b9f18553c5f1e54eee39bccd31885d385
6
+ metadata.gz: 2ab5be9b791abad3013fddfeda2472bf333af6d156d0627a627071e25026cc9d30a9018927002be3d8bbffa84960bba0c05251e0fe31781d11ed44f4857148d7
7
+ data.tar.gz: 8b76610a5c37c3e5190aed833df733944b4e19716d4f7077e8a99f4f9042dcc4692871d94de58bd02829bce59fb2007da1ace55503912cb81521dbe7e27b9645
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.65.1] - 2026-11-03
11
+
12
+ - **Salary structures card has its own "Add salary structure" button.** It used to hide inside the employee's "More actions" menu, so the empty card ("payroll will skip this employee") gave no way to add one. More actions now holds only appraisal, designation change and PIP.
13
+
10
14
  ## [0.65.0] - 2026-10-28
11
15
 
12
16
  Expense claims have categories to pick from. No migrations.
@@ -8,18 +8,13 @@
8
8
  <% unless own %>
9
9
  <a class="hrl-btn" href="<%= hr_lite.edit_admin_employee_path(@profile) %>">Edit</a>
10
10
  <%# Their records are the tabs above; the HR actions fold into one More actions button. %>
11
- <% if hr_superadmin? || hr_can?("salary.manage", scope: :all) %>
11
+ <% if hr_superadmin? %>
12
12
  <details>
13
- <summary class="hrl-btn">More actions (appraisal, designation change, PIP, salary)</summary>
13
+ <summary class="hrl-btn">More actions (appraisal, designation change, PIP)</summary>
14
14
  <div class="hrl-row">
15
- <% if hr_superadmin? %>
16
- <a class="hrl-btn" href="<%= hr_lite.new_admin_employee_appraisal_path(@profile) %>">New appraisal</a>
17
- <a class="hrl-btn" href="<%= hr_lite.new_admin_employee_designation_change_path(@profile) %>">Designation change</a>
18
- <a class="hrl-btn" href="<%= hr_lite.new_admin_performance_plan_path(user_id: @profile.user_id) %>">Start PIP</a>
19
- <% end %>
20
- <% if hr_can?("salary.manage", scope: :all) %>
21
- <a class="hrl-btn hrl-btn--primary" href="<%= hr_lite.new_admin_employee_salary_structure_path(@profile) %>">New structure</a>
22
- <% end %>
15
+ <a class="hrl-btn" href="<%= hr_lite.new_admin_employee_appraisal_path(@profile) %>">New appraisal</a>
16
+ <a class="hrl-btn" href="<%= hr_lite.new_admin_employee_designation_change_path(@profile) %>">Designation change</a>
17
+ <a class="hrl-btn" href="<%= hr_lite.new_admin_performance_plan_path(user_id: @profile.user_id) %>">Start PIP</a>
23
18
  </div>
24
19
  </details>
25
20
  <% end %>
@@ -92,6 +87,9 @@
92
87
  <% else %>
93
88
  <p class="hrl-muted hrl-small">No structure yet — payroll will skip this employee.</p>
94
89
  <% end %>
90
+ <% if !own && hr_can?("salary.manage", scope: :all) %>
91
+ <a class="hrl-btn hrl-btn--primary hrl-mt" href="<%= hr_lite.new_admin_employee_salary_structure_path(@profile) %>">Add salary structure</a>
92
+ <% end %>
95
93
  </section>
96
94
  <% end %>
97
95
  </div>
@@ -1,3 +1,3 @@
1
1
  module HrLite
2
- VERSION = "0.65.0"
2
+ VERSION = "0.65.1"
3
3
  end
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.65.0
4
+ version: 0.65.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kshitiz sinha