NeoVac only reports per-mille shares of the property; the own costs in CHF come from the property manager's statement. The new page stores both in water-heating.json (per mandator) and calculates the CHF parts: water base and consumption costs by their per-mille share, consumption split by m³ into warm and cold water, and the warm water part of the heating costs (the rest is room heating). Charts for water (m³), heat (MWh) and the stacked costs; the dialog has a guide image showing where each value is on the bills. The Wasser page stays for bills with the CHF values entered directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
457 B
C#
17 lines
457 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Schaad.Accounting.Models;
|
|
|
|
namespace Schaad.Accounting.Interfaces
|
|
{
|
|
public interface IWaterHeatingBillRepository
|
|
{
|
|
Task<List<WaterHeatingBill>> GetWaterHeatingBillListAsync();
|
|
|
|
Task SaveWaterHeatingBillAsync(WaterHeatingBill bill);
|
|
|
|
Task<WaterHeatingBill> GetWaterHeatingBillAsync(string id);
|
|
|
|
Task DeleteWaterHeatingBillAsync(string id);
|
|
}
|
|
}
|