data['tcoll']; $rcoll = $this->data['rcoll']; $cLang = $this->data['lang']; $template = $this->data['template']; $report = $this->data['report']; $basepath = \rtrim($this->data['basepath'] ?? '', '/'); /** @noinspection PhpIncludeInspection */ $reportLanguage = include $basepath . '/' . \ltrim($tcoll['lang']->getPath(), '/'); $lang = $reportLanguage[$cLang]; $amount = (float) ($this->request->getData('amount') ?? 10000.0); $duration = (int) ($this->request->getData('duration') ?? 10); ?>
| = $lang['Period']; ?> | = $lang['StraightLine']; ?> | = $lang['ArithmeticDegressive']; ?> | = $lang['ArithmeticProgressive']; ?> | = $lang['GeometricDegressive']; ?> | = $lang['GeometricProgressive']; ?> |
| = $i; ?> | = $this->getCurrency(Depreciation::getStraightLineResidualInT($amount, $duration, $i), 'medium', ''); ?> | = $this->getCurrency(Depreciation::getArithmeticDegressiveDepreciationResidualInT($amount, 0.0, $duration, $i), 'medium', ''); ?> | = $this->getCurrency(Depreciation::getArithmeticProgressiveDepreciationResidualInT($amount, 0.0, $duration, $i), 'medium', ''); ?> | = $this->getCurrency(Depreciation::getGeometicProgressiveDepreciationResidualInT($amount, $amount * 0.1, $duration, $i), 'medium', ''); ?> | = $this->getCurrency(Depreciation::getGeometicDegressiveDepreciationResidualInT($amount, $amount * 0.1, $duration, $i), 'medium', ''); ?> |
= $lang['info']; ?>