fix dropdown

This commit is contained in:
gowthaman committed 2024-04-29 23:54:08 +05:30
1 parent ae11f05aba
commit ecf31b1b74
2 files changed
+2 -1

No files matched your search

@@ -166,7 +166,7 @@ fun searchVendors(commonFilters: CommonFilters, vendorFilters: VendorFilters): L
} }
private val productCache = ExpiringMap.builder() private val productCache = ExpiringMap.builder()
.expiration(5, TimeUnit.MINUTES) .expiration(10, TimeUnit.SECONDS)
.build<String, List<Product>>() .build<String, List<Product>>()
fun searchProducts(commonFilters: CommonFilters, productFilters: ProductFilters): List<Product> { fun searchProducts(commonFilters: CommonFilters, productFilters: ProductFilters): List<Product> {
@@ -332,6 +332,7 @@ open class Product : BaseTenantModel() {
this.description = updatedProduct.description this.description = updatedProduct.description
this.hsnCode = updatedProduct.hsnCode this.hsnCode = updatedProduct.hsnCode
this.uom = updatedProduct.uom this.uom = updatedProduct.uom
this.gstPct = updatedProduct.gstPct
} }
var id: String? = null var id: String? = null