Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
77c95831
Commit
77c95831
authored
Oct 05, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add fee amount to transaction balance
parent
59b01923
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
dashboard.component.html
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
+1
-1
dashboard.component.ts
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
+6
-1
history.component.html
Breeze.UI/src/app/wallet/history/history.component.html
+1
-1
history.component.ts
Breeze.UI/src/app/wallet/history/history.component.ts
+6
-1
No files found.
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
View file @
77c95831
...
...
@@ -56,7 +56,7 @@
<li
class=
"list-inline-item col-4 amount text-left align-baseline"
>
<span
*
ngIf=
"transaction.transactionType == 'received'"
class=
"text-success"
>
+
</span>
<span
*
ngIf=
"transaction.transactionType == 'sent'"
class=
"text-danger"
>
-
</span>
{{ transaction.transactionAmount | coinNotation }}
{{ transaction.transactionAmount
+ transaction.transactionFee
| coinNotation }}
<small
class=
"text-uppercase"
>
{{ coinUnit }}
</small>
<span
*
ngIf=
"transaction.transactionConfirmedInBlock"
class=
"badge badge-success text-capitalize"
>
Confirmed
</span>
<span
*
ngIf=
"!transaction.transactionConfirmedInBlock"
class=
"badge badge-warning text-capitalize"
>
Pending
</span>
...
...
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
View file @
77c95831
...
...
@@ -134,7 +134,12 @@ export class DashboardComponent implements OnInit {
}
let
transactionId
=
transaction
.
id
;
let
transactionAmount
=
transaction
.
amount
;
let
transactionFee
=
transaction
.
fee
;
let
transactionFee
;
if
(
transaction
.
fee
)
{
transactionFee
=
transaction
.
fee
;
}
else
{
transactionFee
=
0
;
}
let
transactionConfirmedInBlock
=
transaction
.
confirmedInBlock
;
let
transactionTimestamp
=
transaction
.
timestamp
;
let
transactionConfirmed
;
...
...
Breeze.UI/src/app/wallet/history/history.component.html
View file @
77c95831
...
...
@@ -30,7 +30,7 @@
<li
class=
"list-inline-item col-4 amount text-left align-baseline"
>
<span
*
ngIf=
"transaction.transactionType == 'received'"
class=
"text-success"
>
+
</span>
<span
*
ngIf=
"transaction.transactionType == 'sent'"
class=
"text-danger"
>
-
</span>
{{ transaction.transactionAmount | coinNotation }}
{{ transaction.transactionAmount
+ transaction.transactionFee
| coinNotation }}
<small
class=
"text-uppercase"
>
{{ coinUnit }}
</small>
<span
*
ngIf=
"transaction.transactionConfirmedInBlock"
class=
"badge badge-success text-capitalize"
>
Confirmed
</span>
<span
*
ngIf=
"!transaction.transactionConfirmedInBlock"
class=
"badge badge-warning text-capitalize"
>
Pending
</span>
...
...
Breeze.UI/src/app/wallet/history/history.component.ts
View file @
77c95831
...
...
@@ -89,7 +89,12 @@ export class HistoryComponent {
}
let
transactionId
=
transaction
.
id
;
let
transactionAmount
=
transaction
.
amount
;
let
transactionFee
=
transaction
.
fee
;
let
transactionFee
;
if
(
transaction
.
fee
)
{
transactionFee
=
transaction
.
fee
;
}
else
{
transactionFee
=
0
;
}
let
transactionConfirmedInBlock
=
transaction
.
confirmedInBlock
;
let
transactionTimestamp
=
transaction
.
timestamp
;
let
transactionConfirmed
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment