<?php
 namespace App\QcRules; class Invoice_Filter_OrderType extends FilterAbstract { public function checkFields(\App\QcRules\FieldsAbstract $fields, $context='') { $orderTypeList = []; foreach($fields->rowsList as $row) { $orderTypeList[$row['orderType']] = true; } return $this->checkFields_multiValues(array_keys($orderTypeList)); } } 