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