From 13c43df7a2e1d4ce45d5e52b7ee30aa0d3b2e8d0 Mon Sep 17 00:00:00 2001 From: Artur Date: Sun, 13 Oct 2024 19:28:04 +0200 Subject: [PATCH] Some changes in display for assets --- .../asset-calculator.component.html | 183 +++++++++--------- 1 file changed, 95 insertions(+), 88 deletions(-) diff --git a/src/app/asset-calculator/asset-calculator.component.html b/src/app/asset-calculator/asset-calculator.component.html index f142c3b..5bfc55d 100644 --- a/src/app/asset-calculator/asset-calculator.component.html +++ b/src/app/asset-calculator/asset-calculator.component.html @@ -13,102 +13,109 @@ }
-

Kalkulator amortyzacyjny

-
-
- -
- -
-
- PLN -
- @if(assetsDepreciationForm.get('initialValueSet')?.invalid && assetsDepreciationForm.get('initialValueSet')?.touched){ -
Wartość niepoprawna!. Podaj kwotę w zł np 3000.05 (czyli 3000 zł i 5 gr)
- }@else{ - } -
-
- -
- -
-
- % -
-
-
- -
- -
-
- -
-
+
+

Kalkulator amortyzacyjny

-
- -
- + +
+
+ +
+ +
+
+ PLN +
+ @if(assetsDepreciationForm.get('initialValueSet')?.invalid && assetsDepreciationForm.get('initialValueSet')?.touched){ +
Wartość niepoprawna!. Podaj kwotę w zł np 3000.05 (czyli 3000 zł i 5 gr)
+ }@else{ + }
- -
- @if( TypeDepreciation.digressive === asset.type ){ -
- -
- +
+ +
+ +
+
+ % +
+
+
+ +
+ +
+
+
- } - +
+ +
+ +
- -
- - - - - - - - - - - - @for (position of positions.positions; track $index) { - - - - - - - - - - + + @if( TypeDepreciation.digressive === asset.type ){ +
+ +
+ +
+
} - -
LpRokMiesiącKwota odpisuLączny odpis
{{$index+1}}{{ position.when.year }}{{ position.when.month }}{{ position.calculatedDepreciation | number:'1.2-2' }}{{ position.sum | number:'1.2-2' }}
+ + + +
+ + +
+ +
+ + + + + + + + + + + + @for (position of positions.positions; track $index) { + + + + + + + + + + + } + +
LpRokMiesiącKwota odpisuLączny odpis
{{$index+1}}{{ position.when.year }}{{ position.when.month }}{{ position.calculatedDepreciation | number:'1.2-2' }}{{ position.sum | number:'1.2-2' }}