@@ -46,7 +46,17 @@ const Bookkeeper = () => {
46
46
47
47
return (
48
48
< div data-testid = "bookkeeper-container" >
49
- < div className = "fs-4 p-0 ps-3 fw-bold text-dark" > Bookkeeper Dashboard</ div >
49
+ < div className = "fs-4 p-0 ps-3 d-flex fw-bold text-dark" >
50
+ Bookkeeper Dashboard
51
+ < button
52
+ tabIndex = { 0 }
53
+ type = "submit"
54
+ className = "btn-rounded bg-primary fs-6 ms-3"
55
+ onClick = { ( ) => navigate ( '/bookkeeper/terminal' ) }
56
+ >
57
+ Terminal
58
+ </ button >
59
+ </ div >
50
60
< Container fluid className = "" >
51
61
< Row className = "" >
52
62
< Col lg = { 5 } md = { 12 } xs = { 12 } className = "" >
@@ -62,15 +72,25 @@ const Bookkeeper = () => {
62
72
< Card . Body className = "px-0 pt-0" >
63
73
Track channel and wallet balances over time.
64
74
< div className = "mt-5 d-flex flex-column align-items-start" >
65
- < span className = "fs-1 fw-bold text-primary" > { bookkeeperLandingData ?. balanceSheetSummary . numberOfChannels } </ span >
75
+ < span className = "fs-1 fw-bold text-primary" >
76
+ { bookkeeperLandingData ?. balanceSheetSummary . numberOfChannels }
77
+ </ span >
66
78
< span className = "fs-6 text-dark" > Total Number of Channels</ span >
67
79
</ div >
68
80
< div className = "mt-3 d-flex flex-column align-items-start" >
69
- < span className = "fs-1 fw-bold text-primary" > { formatBalance ( bookkeeperLandingData ?. balanceSheetSummary . balanceInChannels || 0 ) } </ span >
81
+ < span className = "fs-1 fw-bold text-primary" >
82
+ { formatBalance (
83
+ bookkeeperLandingData ?. balanceSheetSummary . balanceInChannels || 0 ,
84
+ ) }
85
+ </ span >
70
86
< span className = "fs-6 text-dark" > Total Balance in Channels</ span >
71
87
</ div >
72
88
< div className = "mt-3 d-flex flex-column align-items-start" >
73
- < span className = "fs-1 fw-bold text-primary" > { formatBalance ( bookkeeperLandingData ?. balanceSheetSummary . balanceInWallet || 0 ) } </ span >
89
+ < span className = "fs-1 fw-bold text-primary" >
90
+ { formatBalance (
91
+ bookkeeperLandingData ?. balanceSheetSummary . balanceInWallet || 0 ,
92
+ ) }
93
+ </ span >
74
94
< span className = "fs-6 text-dark" > Total Balance in Wallet</ span >
75
95
</ div >
76
96
</ Card . Body >
@@ -103,19 +123,17 @@ const Bookkeeper = () => {
103
123
< Card . Body className = "px-0 pt-0" >
104
124
Track inflows and outflow events over time.
105
125
< Row className = "g-3 flex-wrap" >
106
- < Col
107
- lg = { 12 }
108
- xl = { 6 }
109
- className = "d-flex flex-column align-items-start"
110
- >
111
- < SatsFlowInfo label = { 'Inflow this month' } value = { bookkeeperLandingData ?. satsFlowSummary . inflows || 0 } />
126
+ < Col lg = { 12 } xl = { 6 } className = "d-flex flex-column align-items-start" >
127
+ < SatsFlowInfo
128
+ label = { 'Inflow this month' }
129
+ value = { bookkeeperLandingData ?. satsFlowSummary . inflows || 0 }
130
+ />
112
131
</ Col >
113
- < Col
114
- lg = { 12 }
115
- xl = { 6 }
116
- className = "d-flex flex-column align-items-start"
117
- >
118
- < SatsFlowInfo label = { 'Outflow this month' } value = { - ( bookkeeperLandingData ?. satsFlowSummary . outflows || 0 ) } />
132
+ < Col lg = { 12 } xl = { 6 } className = "d-flex flex-column align-items-start" >
133
+ < SatsFlowInfo
134
+ label = { 'Outflow this month' }
135
+ value = { - ( bookkeeperLandingData ?. satsFlowSummary . outflows || 0 ) }
136
+ />
119
137
</ Col >
120
138
</ Row >
121
139
</ Card . Body >
0 commit comments