Skip to content
Snippets Groups Projects
Commit 8cac3d7e authored by Ofer Cohen's avatar Ofer Cohen
Browse files

Merge branch 'disable_unification' into 'version_28'

disabled unification on circuit groups 2090, 2091 & 2092 on outgoing calls.

changed condition in isNsnLineLegitimate on Unify.php.

See merge request !515
parents 389677d8 362ee90a
Branches
Tags v2.8.120
No related merge requests found
......@@ -324,7 +324,8 @@ class Billrun_Calculator_Unify extends Billrun_Calculator {
}
public function isNsnLineLegitimate($line) {
if ((isset($line['arate']) && $line['arate'] !== false) || (isset($line['usaget']) && (isset($line['sid']) || (isset($line['record_type']) && ($line['record_type'] == '30' || $line['record_type'] == '31'))))) {
if ((isset($line['arate']) && $line['arate'] !== false) || (isset($line['usaget']) && (isset($line['sid']) || (isset($line['record_type']) && ($line['record_type'] == '30' || $line['record_type'] == '31')))) ||
(in_array($line['out_circuit_group'], array('2090','2091','2092')))) {
return false;
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment