Hello,
Below is a screenshot of the itemtable in our quote template. Based on what the business id of a customer is, will determine if the prices should round or not.
For example, customers with:
record.cseg_appf_business.id == '1' should round prices
record.cseg_appf_business.id == '2' should not round prices
You can see below the highlighted code is commented out, however when we need to enter a quote for a customer with business id of 1 and need rounding, we have to come into the template, uncomment the rounding code, and comment out the item.rate and item.amount.
what i need help with is some logic, essentially an if/then, that will flow like:
if business id = 1, round prices, else/business id = 2, do not round and use the item.rate and item.amount fields.
Hope this makes sense.
Thank you!