fix syntax
This commit is contained in:
parent
729ca70bf3
commit
ac6e108be6
@ -800,11 +800,6 @@ class AccountingAccount extends CommonObject
|
|||||||
$suggestedid = $this->accountingaccount_codetotid_cache[$code_sell_l];
|
$suggestedid = $this->accountingaccount_codetotid_cache[$code_sell_l];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
if (is_array($hookmanager->resArray) && !empty($hookmanager->resArray)) {
|
|
||||||
return $hookmanager->resArray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return array(
|
return array(
|
||||||
'suggestedaccountingaccountbydefaultfor' => $suggestedaccountingaccountbydefaultfor,
|
'suggestedaccountingaccountbydefaultfor' => $suggestedaccountingaccountbydefaultfor,
|
||||||
'suggestedaccountingaccountfor' => $suggestedaccountingaccountfor,
|
'suggestedaccountingaccountfor' => $suggestedaccountingaccountfor,
|
||||||
@ -813,6 +808,11 @@ class AccountingAccount extends CommonObject
|
|||||||
'code_sell_p' => $code_sell_p,
|
'code_sell_p' => $code_sell_p,
|
||||||
'code_sell_t' => $code_sell_t,
|
'code_sell_t' => $code_sell_t,
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
if (is_array($hookmanager->resArray) && !empty($hookmanager->resArray)) {
|
||||||
|
return $hookmanager->resArray;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user