Local Taxes calculation problem in POS

I recently installed Dolibarr 10.0.4 version. In that I am using POS.
In that I am setting CGST and SGST (Local taxes 1 and 2) as 2.5% each.
When we add products in cart in POS, local taxes values are not calculated .
I checked the facure table also, local taxes 1 and local taxes columns are empty, but when I use normal invoices, fields in the table is updated with tax values.

When I use tax1 value it is working fine.
Please recommend the proper way to fix the isses.

Which POS do you use ? SimplePOS or TakePOS ?

I tested in both POS.
I fixed the problem by hard coding the tax value for time being.
Looks like, tax values for Local taxes 1 and Local Taxes 2 are retrieved as 0(Zero) % from the tabels.

Thanks.
I have fixed this for both SimplePOS and TakePOS for v11

Thanks. Can you please share the details, so that I can modify the code accordingly. Else I need to do my customization done in V10 in V11

You may have a look at this commit https://github.com/Dolibarr/dolibarr/commit/e7ac01e1bde53b04f09e319b954fb341116f96d5
and https://github.com/Dolibarr/dolibarr/commit/2e8fd25299c7f7d10b0c1a067f03cfb6e839b77e

Thanks, As core/lib/files are modified, hopefully existing functionalities will be tested thoroughly…