Tax calculation issue (#38)

* fix initial tax per item issue

* remove commit in estimate storage

* add changes in tax per item calculation

* add validation on requests

* fix minimum total issue

* fix table pagination filter issue

* minor fix

* remove compound interest and remove unused code

---------

Co-authored-by: yashkanakiya <yashkanakiya281297@gmail.com>
Co-authored-by: dhruvbhattt <dhruvbhatt7790@gmail.com>
Co-authored-by: gdarko <dg@darkog.com>
This commit is contained in:
Darko Gjorgjijoski
2024-02-18 10:54:12 +01:00
committed by GitHub
parent 0d006846d5
commit 8788f3d504
13 changed files with 224 additions and 96 deletions

View File

@@ -309,6 +309,8 @@ function changeSorting(column) {
}
if (!usesLocalData.value) {
if (pagination.value)
pagination.value.currentPage = 1
mapDataToRows()
}
}
@@ -326,7 +328,10 @@ async function pageChange(page) {
await mapDataToRows()
}
async function refresh() {
async function refresh(isPreservePage = false) {
if (pagination.value && !isPreservePage)
pagination.value.currentPage = 1
await mapDataToRows()
}