diff --git a/cdntaxcalculator.php b/cdntaxcalculator.php index 1905bcd59d9122787b5c9d71d350b7999e353973..543db96ce3fb912a0485ba25165006fd8325a0b0 100644 --- a/cdntaxcalculator.php +++ b/cdntaxcalculator.php @@ -173,9 +173,9 @@ function cdntaxcalculator_civicrm_buildForm($formName, &$form) { if (in_array($k, array(2,12))) { $item['hst_gst'] = ($item['line_total'] * $taxes['HST_GST']) / 100; $item['pst'] = ($item['line_total'] * $taxes['PST']) / 100; - $item['label'] .= ' ( $ ' . number_format($item['unit_price'], 2, '.', '') . ' + $ ' . $item['hst_gst'] . ' HST'; + $item['label'] .= ' ( $ ' . number_format($item['unit_price'], 2, '.', '') . ' + $ ' . $item['HST_GST'] . ' ' . $item['HST_GST_LABEL']; if ($taxes['PST']) { - $item['label'] .= ' + $ ' . $item['pst'] . ' PST )'; + $item['label'] .= ' + $ ' . $item['PST'] . ' ' . $item['PST_LABEL'] . ' )'; } else { $item['label'] .= ' )';