function commerce_avatax_tax_calculation_enabled in Drupal Commerce Connector for AvaTax 7.5
Determines if the tax calculation is enabled.
3 calls to commerce_avatax_tax_calculation_enabled()
- commerce_avatax_calculate_tax in ./
commerce_avatax.module - Performs Tax calculation for a given order.
- commerce_avatax_commerce_payment_order_paid_in_full in ./
commerce_avatax.module - Implements hook_commerce_payment_order_paid_in_full().
- commerce_avatax_order_admin_form_access in ./
commerce_avatax.module - Access callback: determines access to the "Calculate Tax" local action.
File
- ./
commerce_avatax.module, line 183 - AvaTax service integration from Avalara, Inc.
Code
function commerce_avatax_tax_calculation_enabled() {
return variable_get(COMMERCE_AVATAX_VAR_PREFIX . 'tax_calculation_enabled', TRUE);
}