function applyFilters($q, $au)
{
- $this->selectAdd("i18n_translate('c' , country, 'en') as country_display_name ");
+ $this->selectAdd("i18n_translate('c' , Companies.country, 'en') as country_display_name ");
$tn = $this->tableName();
//DB_DataObject::debugLevel(1);
function beforeUpdate($old, $q,$roo)
{
if(!empty($this->is_system) &&
- ($old->code != $this->code || $old->name != $this->name)
+ ($old->code != $this->code ) // used to be not allowed to change name..
){
$roo->jerr('This company is not allow to editing Ref. or Company Name...');
}