[*] BO #PSFV-94 : Added AdminTaxRulesGroupController

This commit is contained in:
lLefevre
2011-11-03 09:46:58 +00:00
parent fd797d873a
commit b776d6cc4f
11 changed files with 818 additions and 27 deletions

View File

@@ -970,3 +970,15 @@ if (Tools::isSubmit('getParentCategoriesId') AND $id_category = Tools::getValue(
die(Tools::jsonEncode($output));
}
/* Update attribute */
if (Tools::isSubmit('ajaxUpdateTaxRule'))
{
$id_tax_rule = Tools::getValue('id_tax_rule');
$tax_rules = new TaxRule((int)$id_tax_rule);
$output = array();
foreach($tax_rules as $key => $result)
$output[$key] = $result;
die(Tools::jsonEncode($output));
}