Utarg - sp DRS
This commit is contained in:
@@ -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
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user