diff --git a/tests/depreciation/view.pdf.php b/tests/depreciation/view.pdf.php index c092303..6792f78 100755 --- a/tests/depreciation/view.pdf.php +++ b/tests/depreciation/view.pdf.php @@ -48,24 +48,24 @@ $pdf->SetFillColor(67, 74, 81); $pdf->Rect(0, 110, $pdf->getPageWidth(), 145, 'F'); $html = '
| ' . $lang['Period'] . ' | -' . $lang['StraightLine'] . ' | -' . $lang['ArithmeticDegressive'] . ' | -' . $lang['ArithmeticProgressive'] . ' | -' . $lang['GeometricDegressive'] . ' | -' . $lang['GeometricProgressive'] . ' | +
|---|---|---|---|---|---|
| ' . $lang['Period'] . ' | +' . $lang['StraightLine'] . ' | +' . $lang['ArithmeticDegressive'] . ' | +' . $lang['ArithmeticProgressive'] . ' | +' . $lang['GeometricDegressive'] . ' | +' . $lang['GeometricProgressive'] . ' |
| ' . $i . ' | '; - $thml .= '' . $this->getCurrency(Depreciation::getStraightLineResidualInT($amount, $duration, $i), 'medium', '') . ' | '; - $thml .= '' . $this->getCurrency(Depreciation::getArithmeticDegressiveDepreciationResidualInT($amount, 0.0, $duration, $i), 'medium', '') . ' | '; - $thml .= '' . $this->getCurrency(Depreciation::getArithmeticProgressiveDepreciationResidualInT($amount, 0.0, $duration, $i), 'medium', '') . ' | '; - $thml .= '' . $this->getCurrency(Depreciation::getGeometicProgressiveDepreciationResidualInT($amount, $amount * 0.1, $duration, $i), 'medium', '') . ' | '; - $thml .= '' . $this->getCurrency(Depreciation::getGeometicDegressiveDepreciationResidualInT($amount, $amount * 0.1, $duration, $i), 'medium', '') . ' | '; - $thml .= '
| ' . $i . ' | '; + $thml .= '' . $this->getCurrency(Depreciation::getStraightLineResidualInT($amount, $duration, $i), 'medium', '') . ' | '; + $thml .= '' . $this->getCurrency(Depreciation::getArithmeticDegressiveDepreciationResidualInT($amount, 0.0, $duration, $i), 'medium', '') . ' | '; + $thml .= '' . $this->getCurrency(Depreciation::getArithmeticProgressiveDepreciationResidualInT($amount, 0.0, $duration, $i), 'medium', '') . ' | '; + $thml .= '' . $this->getCurrency(Depreciation::getGeometicProgressiveDepreciationResidualInT($amount, $amount * 0.1, $duration, $i), 'medium', '') . ' | '; + $thml .= '' . $this->getCurrency(Depreciation::getGeometicDegressiveDepreciationResidualInT($amount, $amount * 0.1, $duration, $i), 'medium', '') . ' | '; + $thml .= '