@model PlanTempus.Application.Features.Employees.Components.EmployeeDetailSalaryViewModel @Model.LabelRates @Model.LabelEdit @Model.LabelNormalRate @Model.LabelOvertimeRate @Model.LabelCourseRate @Model.LabelTimeOffRate @Model.LabelPaidLeaveRate @Model.LabelVacationRate @Model.LabelOfficeRate @Model.LabelChildSickRate @Model.LabelChildHospitalRate @Model.LabelMaternityRate @Model.LabelCommission @Model.LabelProductCommission @Model.LabelServiceCommission @Model.LabelSupplements @Model.LabelWeekdaySupplement @Model.LabelSaturdaySupplement @Model.LabelSundaySupplement @Model.LabelSpecifications @foreach (var spec in Model.Specifications) { @spec.Period @spec.Weeks.Sum(w => w.NormalHours + w.OvertimeHours)t @spec.GrossSalaryFormatted @Model.LabelTotal @Model.LabelWeek Timer Overtid I alt @foreach (var week in spec.Weeks) { Uge @week.WeekNumber @week.NormalHoursFormatted @week.OvertimeHoursFormatted @week.TotalPayFormatted } TOTAL @(spec.Weeks.Sum(w => w.NormalHours))t @(spec.Weeks.Sum(w => w.OvertimeHours))t @(spec.Weeks.Sum(w => w.TotalPay).ToString("N2", System.Globalization.CultureInfo.GetCultureInfo("da-DK"))) kr Se lønberegning }