Skip to content

Commit

Permalink
konsol-vergisi-hesaplayici: update rates
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurg committed Jul 7, 2023
1 parent 6e5d49f commit cd532f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Calculator {
total: null,
customTax: 20, // Percentage of previous price | Turkish: Gümrük Vergisi
specialConsumptionTax: 20, // Percentage of previous price | Turkish: Özel Tüketim Vergisi (ÖTV)
valueAddedTax: 18 // Percentage of previous price | Turkish: Katma Değer Vergisi (KDV)
valueAddedTax: 20 // Percentage of previous price | Turkish: Katma Değer Vergisi (KDV)
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ describe("konsol-vergisi-hesaplayici/Calculator", () => {
prices: [
{
price: 300,
expected: { taxFree: 300, taxAdded: 509.8 }
expected: { taxFree: 300, taxAdded: 518.4 }
},
{
price: 400,
expected: { taxFree: 400, taxAdded: 679.7 }
expected: { taxFree: 400, taxAdded: 691.2 }
},
{
price: 500,
expected: { taxFree: 500, taxAdded: 849.6 }
expected: { taxFree: 500, taxAdded: 864 }
}
]
});
Expand All @@ -27,15 +27,15 @@ describe("konsol-vergisi-hesaplayici/Calculator", () => {
prices: [
{
price: 300,
expected: { taxFree: 176.5, taxAdded: 300 }
expected: { taxFree: 173.6, taxAdded: 300 }
},
{
price: 400,
expected: { taxFree: 235.3, taxAdded: 400 }
expected: { taxFree: 231.4, taxAdded: 400 }
},
{
price: 500,
expected: { taxFree: 294.2, taxAdded: 500 }
expected: { taxFree: 289.3, taxAdded: 500 }
}
]
});
Expand Down

0 comments on commit cd532f3

Please sign in to comment.