[-] BO : Make a lot of changement on the Accounting (accouting plan / configuration / customer)

This commit is contained in:
vSchoener
2012-03-08 17:21:23 +00:00
parent 5da67d1692
commit 300295ac59
20 changed files with 419 additions and 186 deletions
+1
View File
@@ -151,6 +151,7 @@ class LocalizationPackCore
$tax = new Tax();
$tax->name[(int)Configuration::get('PS_LANG_DEFAULT')] = (string)$attributes['name'];
$tax->rate = (float)$attributes['rate'];
$tax->account_number = isset($attributes['account_number']) ? (string)$attributes['account_number'] : '';
$tax->active = 1;
if (!$tax->validateFields())