| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class RenewCalculation extends \hipanel\modules\finance\cart\Calculation |
||
| 17 | { |
||
| 18 | use \hipanel\base\ModelTrait; |
||
| 19 | |||
| 20 | /** {@inheritdoc} */ |
||
| 21 | public function init() |
||
| 22 | { |
||
| 23 | parent::init(); |
||
| 24 | |||
| 25 | $this->client = $this->position->getModel()->client; |
||
|
|
|||
| 26 | $this->seller = $this->position->getModel()->seller; |
||
| 27 | $this->object = 'server'; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** {@inheritdoc} */ |
||
| 31 | public function rules() |
||
| 36 | ]); |
||
| 37 | } |
||
| 39 |