I've taken the default Order management app from Zoho and trying to customize as per my requirements. I'm experiencing a challenge with Tax calculation. With the requirement I've to calculate Central_Tax, State_Tax and Local_Tax and display the Tax value (sum of Central, State, Local) + product value under Net_Total.
Here is the default script I see.
//Calculating the net amount here
if(input.Federal != null && input.Sub_Total != null)
{
taxAmount = input.Sub_Total * input.Federal / 100;
input.Net_Total = input.Sub_Total + taxAmount;
}
Thank you for your help in advance.