Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c18bb90
commit aa97499
Showing
7 changed files
with
104 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
bank-advisor/src/app/components/all-expenses/all-expenses.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
<div class="margin-x"> | ||
<!--<app-big-expenses></app-big-expenses> | ||
<app-regular-expenses></app-regular-expenses> | ||
<app-contract-expenses></app-contract-expenses>--> | ||
<div></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 46 additions & 21 deletions
67
bank-advisor/src/app/components/contract-expenses/contract-expenses.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,48 @@ | ||
<h1 class="display-3">Contract expenses</h1> | ||
<p> | ||
Those are the transactions, which are bound to a contract. Are those contract | ||
really the best. | ||
</p> | ||
<ul *ngFor="let transaction of this.contractTransactions" class="list-group"> | ||
<li class="border"> | ||
<div class="card" style="width: 18rem"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ transaction.description }}</h5> | ||
<h6 class="card-subtitle mb-2 text-muted"> | ||
You purchased a {{ transaction.description }} at | ||
{{ transaction.location }} | ||
</h6> | ||
<p class="card-text"> | ||
You payed {{ transaction.amount }} CHF for a | ||
{{ transaction.description }}. In the future you could definitely save | ||
money there! | ||
</p> | ||
<div class="margin-x mt-3"> | ||
<h1 class="display-5">Contract expenses</h1> | ||
<p> | ||
Those are the transactions, which are bound to a contract. Are those | ||
contract really the best. | ||
</p> | ||
|
||
<ul *ngFor="let transaction of this.contractTransactions" class="list-group"> | ||
<li class="d-flex align-items-center justify-content-center mb-2 rounded"> | ||
<div class="card mb-3 w-100 border border-success rounded"> | ||
<div class="row g-0"> | ||
<div class="col-md-2 bg-light"> | ||
<p class="text-center align-text-middle fw-bold mt-4 h5"> | ||
{{ transaction.amount }} CHF | ||
</p> | ||
</div> | ||
<div class="col-md-8"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ transaction.description }}</h5> | ||
<p class="card-text"> | ||
You bought a | ||
{{ transaction.description }} at {{ transaction.location }}. | ||
</p> | ||
</div> | ||
</div> | ||
<div class="col-md-2 bg-light p-1"> | ||
<p class="text-center align-text-middle mt-4"> | ||
Bought at the {{ transaction.timeStamp }} | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
<div class="card mb-3 w-100 border border-success rounded bg-success"> | ||
<div class="row g-0"> | ||
<div> | ||
<div class="card-body"> | ||
<h5 class="card-title">Big saving potential</h5> | ||
<p class="card-text"> | ||
We can see, that you bought a lot of electronics in the past! There | ||
are other options. Secondary buys and toppreise.ch | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> |
66 changes: 45 additions & 21 deletions
66
bank-advisor/src/app/components/regular-expenses/regular-expenses.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,48 @@ | ||
<h1 class="display-3">Regular expenses</h1> | ||
<p> | ||
Those are the transactions, which are regulary executed. You should ask | ||
yoursef the question if that's really neccessary. | ||
</p> | ||
<div class="margin-x mt-3"> | ||
<h1 class="display-5">Regular expenses</h1> | ||
<p> | ||
Those are the transactions, which are regulary executed. You should ask | ||
yoursef the question if that's really neccessary. | ||
</p> | ||
|
||
<ul *ngFor="let transaction of this.regularTransactions" class="list-group"> | ||
<li class="border"> | ||
<div class="card" style="width: 18rem"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ transaction.description }}</h5> | ||
<h6 class="card-subtitle mb-2 text-muted"> | ||
You purchased a {{ transaction.description }} at | ||
{{ transaction.location }} | ||
</h6> | ||
<p class="card-text"> | ||
You payed {{ transaction.amount }} CHF for a | ||
{{ transaction.description }}. In the future you could definitely save | ||
money there! | ||
</p> | ||
<ul *ngFor="let transaction of this.regularTransactions" class="list-group"> | ||
<li class="d-flex align-items-center justify-content-center mb-2 rounded"> | ||
<div class="card mb-3 w-100 border border-success rounded"> | ||
<div class="row g-0"> | ||
<div class="col-md-2 bg-light"> | ||
<p class="text-center align-text-middle fw-bold mt-4 h5"> | ||
{{ transaction.amount }} CHF | ||
</p> | ||
</div> | ||
<div class="col-md-8"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ transaction.description }}</h5> | ||
<p class="card-text"> | ||
You bought a | ||
{{ transaction.description }} at {{ transaction.location }}. | ||
</p> | ||
</div> | ||
</div> | ||
<div class="col-md-2 bg-light p-1"> | ||
<p class="text-center align-text-middle mt-4"> | ||
Bought at the {{ transaction.timeStamp }} | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
<div class="card mb-3 w-100 border border-success rounded bg-success"> | ||
<div class="row g-0"> | ||
<div> | ||
<div class="card-body"> | ||
<h5 class="card-title">Big saving potential</h5> | ||
<p class="card-text"> | ||
We can see, that you bought a lot of electronics in the past! There | ||
are other options. Secondary buys and toppreise.ch | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> |