| // Contract => 24 | // Contract => 24 | ||||
| if ($countD24 != 0) { | if ($countD24 != 0) { | ||||
| if (strpos($c->ranges, '>') !== false) { | if (strpos($c->ranges, '>') !== false) { | ||||
| info('if yang pertama ' . $c->ranges); | |||||
| $pieces = explode(">", $c->ranges); | $pieces = explode(">", $c->ranges); | ||||
| } | } | ||||
| } | } | ||||
| if (strpos($c->ranges, '-') !== false) { | if (strpos($c->ranges, '-') !== false) { | ||||
| info('if yang kedua ' .$c->ranges); | |||||
| $pieces = explode("-", $c->ranges); | $pieces = explode("-", $c->ranges); | ||||