Utarg - sp DRS

This commit is contained in:
2026-05-28 15:42:44 +02:00
parent fca0b794cd
commit e5f87f93d4
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ public class RapFisk : IDecretsDefinition
{ {
return expression switch return expression switch
{ {
"[sbr]" => doc.Razem - doc.Kwota1 + doc.Kwota2, "[sbr]" => doc.Razem - doc.Kwota1 + doc.Kwota2 - (doc.Kwota13 ?? 0),
"[svr]" => doc.Podatek, "[svr]" => doc.Podatek,
_ => 0 _ => 0
}; };

View File

@@ -30,7 +30,7 @@ public class Utarg : IDecretsDefinition
Opis = "UTARG Z KAS", Opis = "UTARG Z KAS",
StronaKonta = d.AccountSide, StronaKonta = d.AccountSide,
KontoFk = d.Account, KontoFk = d.Account,
Kwota = dok.Sum(x => x.Razem - x.Kwota1 + x.Kwota2).AsString() Kwota = dok.Sum(x => x.Razem - x.Kwota1 + x.Kwota2 - (x.Kwota13 ?? 0)).AsString()
}; };
result.Add(item); result.Add(item);