Adapt load_config hook to fallback to english if no valid language is

present
Move CI system language files back to their correct location
(form_validation_lang)
Add upload_lang.php and email_lang.php to system files (default english
version for the time being)
Add account_number check when importing customer data from excel
Avoid unnecessary calls to check_item_number when importing items from
excel
This commit is contained in:
jekkos-t520
2015-02-17 11:06:28 +01:00
parent c7c4ac15d6
commit 40eef74aa0
27 changed files with 410 additions and 96 deletions

View File

@@ -613,11 +613,12 @@ class Items extends Secure_area implements iData_controller
'custom10' => $data[23] /** GARRISON ADDED 5/6/2013 **/
);
$item_number = $data[0];
$invalidated = false;
if ($item_number != "")
{
$item_data['item_number'] = $item_number;
$invalidated = $this->Item->item_number_exists($item_number);
}
$invalidated = $this->Item->item_number_exists($item_number);
}
else
{