WorkTracker/Domain/CoeffSnapshotDocument.cs
MaddoScientisto 3ccce7e8a6
Some checks failed
Publish Container / publish (push) Failing after 1m2s
feat: Add Grid View and Monthly Summary pages with workday management
- Implement GridView.razor for displaying a tabular view of workdays in the current month.
- Create MonthlySummary.razor to show a summary of worked hours, income, and day types for the selected month.
- Introduce WorkDayEditor.razor for adding and editing workday entries with detailed calculations.
- Update Home.razor to include links to the new Grid View and Monthly Summary pages.
- Add IWorkDayService interface and CouchbaseLiteWorkDayService implementation for managing workday data.
- Define domain models: WorkDayDocument, MonthlySummaryModel, and CoeffSnapshotDocument for data structure.
- Enhance CouchbaseLiteDatabaseProvider to include a collection for workdays.
- Update app settings and services to support new features.
- Add CSS styles for calendar view and table formatting.
2026-03-17 22:10:19 +01:00

16 lines
438 B
C#

namespace WorkTracker.Domain;
public sealed class CoeffSnapshotDocument
{
public decimal StandardWorkHoursPerDay { get; set; } = 8m;
public decimal LunchBreakHours { get; set; } = 1m;
public decimal HourlyGrossRate { get; set; } = 17.5m;
public decimal ProfitabilityCoefficient { get; set; } = 0.67m;
public decimal InpsRate { get; set; } = 0.2607m;
public decimal SubstituteTaxRate { get; set; } = 0.15m;
}