Adds salary specifications with detailed accordion view
Introduces new salary specification feature with interactive accordion component Implements detailed salary breakdown including: - Salary specification JSON data model - Salary specification page with printable view - Accordion component for expanding/collapsing salary details - Localization support for new salary labels Enhances employee salary transparency and detail presentation
This commit is contained in:
parent
f3c54dde35
commit
a1059adf06
14 changed files with 1613 additions and 46 deletions
|
|
@ -0,0 +1,330 @@
|
|||
{
|
||||
"specifications": [
|
||||
{
|
||||
"period": "Januar 2026",
|
||||
"periodKey": "2026-01",
|
||||
"grossSalary": 34063.50,
|
||||
"basePay": 28800.00,
|
||||
"overtimePay": 1800.00,
|
||||
"serviceCommission": 2463.50,
|
||||
"productCommission": 1000.00,
|
||||
"config": {
|
||||
"hourlyRate": 185,
|
||||
"weeklyHours": 37,
|
||||
"overtimeMultiplier": 1.5,
|
||||
"minimumPerHour": 220,
|
||||
"serviceCommissionPct": 15,
|
||||
"productCommissionPct": 15
|
||||
},
|
||||
"weeks": [
|
||||
{
|
||||
"weekNumber": 1,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 2,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 12500,
|
||||
"productRevenue": 3200,
|
||||
"minimumThreshold": 8580,
|
||||
"commission": 1068.00,
|
||||
"totalPay": 8643.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 2,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 10800,
|
||||
"productRevenue": 2100,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 712.50,
|
||||
"totalPay": 7558.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 3,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 3,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 14200,
|
||||
"productRevenue": 4500,
|
||||
"minimumThreshold": 8800,
|
||||
"commission": 1485.00,
|
||||
"totalPay": 9318.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 4,
|
||||
"normalHours": 32,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 1,
|
||||
"serviceRevenue": 9200,
|
||||
"productRevenue": 1800,
|
||||
"minimumThreshold": 7040,
|
||||
"commission": 594.00,
|
||||
"totalPay": 6544.50
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"period": "December 2025",
|
||||
"periodKey": "2025-12",
|
||||
"grossSalary": 31845.00,
|
||||
"basePay": 27380.00,
|
||||
"overtimePay": 555.00,
|
||||
"serviceCommission": 2910.00,
|
||||
"productCommission": 1000.00,
|
||||
"config": {
|
||||
"hourlyRate": 185,
|
||||
"weeklyHours": 37,
|
||||
"overtimeMultiplier": 1.5,
|
||||
"minimumPerHour": 220,
|
||||
"serviceCommissionPct": 15,
|
||||
"productCommissionPct": 15
|
||||
},
|
||||
"weeks": [
|
||||
{
|
||||
"weekNumber": 49,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 11200,
|
||||
"productRevenue": 2800,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 879.00,
|
||||
"totalPay": 7724.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 50,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 2,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 13500,
|
||||
"productRevenue": 3600,
|
||||
"minimumThreshold": 8580,
|
||||
"commission": 1278.00,
|
||||
"totalPay": 8833.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 51,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 12800,
|
||||
"productRevenue": 2400,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 1059.00,
|
||||
"totalPay": 7904.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 52,
|
||||
"normalHours": 30,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 2,
|
||||
"serviceRevenue": 8500,
|
||||
"productRevenue": 1500,
|
||||
"minimumThreshold": 6600,
|
||||
"commission": 510.00,
|
||||
"totalPay": 6060.00
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"period": "November 2025",
|
||||
"periodKey": "2025-11",
|
||||
"grossSalary": 33290.25,
|
||||
"basePay": 27380.00,
|
||||
"overtimePay": 1110.00,
|
||||
"serviceCommission": 3550.25,
|
||||
"productCommission": 1250.00,
|
||||
"config": {
|
||||
"hourlyRate": 185,
|
||||
"weeklyHours": 37,
|
||||
"overtimeMultiplier": 1.5,
|
||||
"minimumPerHour": 220,
|
||||
"serviceCommissionPct": 15,
|
||||
"productCommissionPct": 15
|
||||
},
|
||||
"weeks": [
|
||||
{
|
||||
"weekNumber": 45,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 11800,
|
||||
"productRevenue": 3100,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 1014.00,
|
||||
"totalPay": 7859.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 46,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 4,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 15200,
|
||||
"productRevenue": 4200,
|
||||
"minimumThreshold": 9020,
|
||||
"commission": 1557.00,
|
||||
"totalPay": 9667.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 47,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 10500,
|
||||
"productRevenue": 2600,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 744.00,
|
||||
"totalPay": 7589.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 48,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 12300,
|
||||
"productRevenue": 2900,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 1059.00,
|
||||
"totalPay": 7904.00
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"period": "Oktober 2025",
|
||||
"periodKey": "2025-10",
|
||||
"grossSalary": 32156.75,
|
||||
"basePay": 27380.00,
|
||||
"overtimePay": 832.50,
|
||||
"serviceCommission": 2944.25,
|
||||
"productCommission": 1000.00,
|
||||
"config": {
|
||||
"hourlyRate": 185,
|
||||
"weeklyHours": 37,
|
||||
"overtimeMultiplier": 1.5,
|
||||
"minimumPerHour": 220,
|
||||
"serviceCommissionPct": 15,
|
||||
"productCommissionPct": 15
|
||||
},
|
||||
"weeks": [
|
||||
{
|
||||
"weekNumber": 40,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 10200,
|
||||
"productRevenue": 2400,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 669.00,
|
||||
"totalPay": 7514.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 41,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 3,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 13800,
|
||||
"productRevenue": 3200,
|
||||
"minimumThreshold": 8800,
|
||||
"commission": 1230.00,
|
||||
"totalPay": 9063.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 42,
|
||||
"normalHours": 0,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 5,
|
||||
"serviceRevenue": 0,
|
||||
"productRevenue": 0,
|
||||
"minimumThreshold": 0,
|
||||
"commission": 0,
|
||||
"totalPay": 0
|
||||
},
|
||||
{
|
||||
"weekNumber": 43,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 11500,
|
||||
"productRevenue": 2700,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 909.00,
|
||||
"totalPay": 7754.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 44,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 10900,
|
||||
"productRevenue": 2500,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 789.00,
|
||||
"totalPay": 7634.00
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"period": "September 2025",
|
||||
"periodKey": "2025-09",
|
||||
"grossSalary": 34520.00,
|
||||
"basePay": 27380.00,
|
||||
"overtimePay": 1387.50,
|
||||
"serviceCommission": 4252.50,
|
||||
"productCommission": 1500.00,
|
||||
"config": {
|
||||
"hourlyRate": 185,
|
||||
"weeklyHours": 37,
|
||||
"overtimeMultiplier": 1.5,
|
||||
"minimumPerHour": 220,
|
||||
"serviceCommissionPct": 15,
|
||||
"productCommissionPct": 15
|
||||
},
|
||||
"weeks": [
|
||||
{
|
||||
"weekNumber": 36,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 2,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 14500,
|
||||
"productRevenue": 4800,
|
||||
"minimumThreshold": 8580,
|
||||
"commission": 1608.00,
|
||||
"totalPay": 9163.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 37,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 3,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 16200,
|
||||
"productRevenue": 5100,
|
||||
"minimumThreshold": 8800,
|
||||
"commission": 1875.00,
|
||||
"totalPay": 9708.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 38,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 12100,
|
||||
"productRevenue": 3200,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 1074.00,
|
||||
"totalPay": 7919.00
|
||||
},
|
||||
{
|
||||
"weekNumber": 39,
|
||||
"normalHours": 37,
|
||||
"overtimeHours": 0,
|
||||
"vacationDays": 0,
|
||||
"serviceRevenue": 11800,
|
||||
"productRevenue": 2900,
|
||||
"minimumThreshold": 8140,
|
||||
"commission": 984.00,
|
||||
"totalPay": 7829.00
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue