RapFisk fix

This commit is contained in:
Piotr Dudek 2024-09-30 16:42:32 +02:00
parent 347c3cb4d2
commit 9f288ceb7d

View File

@ -8,13 +8,13 @@ public class RapFisk : IDecretsDefinition
[ [
new Definition("737-0-24", "WN", "[sbr]"), new Definition("737-0-24", "WN", "[sbr]"),
new Definition("332-0-24", "MA", "[sbr]"), new Definition("332-0-24", "MA", "[sbr]"),
new Definition("139-1-24", "WN", "[sb]"), new Definition("139-1-24", "WN", "[sbr]"),
new Definition("732-0-24", "MA", "[sbr]"), new Definition("732-0-24", "MA", "[sbr]"),
new Definition("343-0-24", "WN", "[svr]"), new Definition("343-0-24", "WN", "[svr]"),
new Definition("737-0-24", "MA", "[svr]"), new Definition("737-0-24", "MA", "[svr]"),
new Definition("732-0-24", "WN", "[svr]"), new Definition("732-0-24", "WN", "[svr]"),
new Definition("222-0-24", "MA", "[svr]"), new Definition("222-0-24", "MA", "[svr]"),
new Definition("100-1-24", "MA", "[sb]") new Definition("100-1-24", "MA", "[sbr]")
]; ];
public Task<List<DecretsResult>> Process(IReadOnlyList<Dok> documents) public Task<List<DecretsResult>> Process(IReadOnlyList<Dok> documents)
@ -54,7 +54,6 @@ public class RapFisk : IDecretsDefinition
{ {
"[sbr]" => doc.Razem - doc.Kwota1 + doc.Kwota2, "[sbr]" => doc.Razem - doc.Kwota1 + doc.Kwota2,
"[svr]" => doc.Podatek, "[svr]" => doc.Podatek,
"[sb]" => doc.Razem,
_ => 0 _ => 0
}; };
} }