<?php
 namespace App\QcRules; class Invoice_Filter_CustomerRemark extends FilterRemarkAbstract { public function checkFields(\App\QcRules\FieldsAbstract $fields, $context='') { $customerRemarks = \Entity\Customer::select($fields->idCustomer)->processedRemarks; return $this->checkFields_oneValue($customerRemarks[$this->remarkVar]); } } 