diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index bd943bc..e461fed 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -6,7 +6,7 @@ import { ChatGPTComponent } from './chat-gpt/chat-gpt.component'; export const routes: Routes = [ { path: "", - title: "Kalkulator amprtyzacyjny", + title: "Kalkulator amortyzacyjny", component:AssetCalculatorComponent }, { path: "about-me", title:"O mnie", diff --git a/src/app/asset-calculator/asset-calculator.component.html b/src/app/asset-calculator/asset-calculator.component.html index 09b96d4..f142c3b 100644 --- a/src/app/asset-calculator/asset-calculator.component.html +++ b/src/app/asset-calculator/asset-calculator.component.html @@ -15,105 +15,100 @@

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{ - } -
-
- -
- -
-
- % -
-
-
- -
- -
-
- -
+ +
+ +
+ +
+
+ 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 ){ +
+ +
+
+
+ } -
- -
- -
+ -
- @if( TypeDepreciation.digressive === asset.type ){ -
- -
- -
-
- } - - - - -
-
- - - - - - - - - - - - @for (position of positions.positions; track $index) { - - - + +
+
LpRokMiesiącKwota odpisuLączny odpis
+ + + + + + + + + + + @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' }}
-
-
-
+ + + + {{$index+1}} + {{ position.when.year }} + {{ position.when.month }} + {{ position.calculatedDepreciation | number:'1.2-2' }} + {{ position.sum | number:'1.2-2' }} + + } + + +
+