feat: db
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<i class="bi bi-person-fill fs-4 text-secondary"></i>
|
||||
</div>
|
||||
<div class="text-start">
|
||||
<h6 class="mb-0">{{ transaction.partner }}</h6>
|
||||
<h6 class="mb-0">{{ transaction.senderID }}</h6>
|
||||
<small class="text-muted">{{ transaction.date | date:'medium' }}</small>
|
||||
</div>
|
||||
</div>
|
||||
@@ -35,7 +35,6 @@
|
||||
<h6 class="mb-0" [class.text-success]="transaction.amount > 0" [class.text-danger]="transaction.amount < 0">
|
||||
{{ transaction.amount | currency }}
|
||||
</h6>
|
||||
<small class="text-muted">{{ transaction.type }}</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { CommonModule, CurrencyPipe, DatePipe } from '@angular/common';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { APIService } from '../../services/api';
|
||||
import { Transaction } from '@shared/interfaces/transaction';
|
||||
import Transaction from '@model/transaction';
|
||||
|
||||
@Component({
|
||||
selector: 'app-screen-profile',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Observable } from 'rxjs';
|
||||
import { Transaction } from '@shared/interfaces/transaction'
|
||||
import Transaction from '@model/transaction'
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
|
||||
Reference in New Issue
Block a user