| 1 | <?php |
||
| 17 | class TariffCombo extends Combo |
||
| 18 | { |
||
| 19 | /** {@inheritdoc} */ |
||
| 20 | public $type = 'tariff/name'; |
||
| 21 | |||
| 22 | /** {@inheritdoc} */ |
||
| 23 | public $name = 'tariff'; |
||
| 24 | |||
| 25 | /** {@inheritdoc} */ |
||
| 26 | public $url = '/finance/tariff/search'; |
||
| 27 | |||
| 28 | /** {@inheritdoc} */ |
||
| 29 | public $_return = ['id']; |
||
| 30 | |||
| 31 | /** {@inheritdoc} */ |
||
| 32 | public $_rename = ['text' => 'tariff']; |
||
| 33 | |||
| 34 | public $_primaryFilter = 'tariff_ilike'; |
||
| 35 | |||
| 36 | public $client = ''; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var string the type of tariff |
||
| 40 | * @see getFilter() |
||
| 41 | */ |
||
| 42 | public $tariffType; |
||
| 43 | |||
| 44 | /** {@inheritdoc} */ |
||
| 45 | public function getFilter() |
||
| 52 | } |
||
| 53 |