<?php
 namespace App\QcRules; class Invoice_Filter_CorporateTrust extends FilterAbstract { public function checkFields(\App\QcRules\FieldsAbstract $fields, $context='') { return $this->checkFields_oneValue(\Entity\Corporate::select($fields->idCorporate)->idTrust); } } 