[-] BO : Make a lot of changement on the Accounting (accouting plan / configuration / customer)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13987 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user