|
|
@ -482,26 +482,26 @@ class HistoryList(MyTreeView, AcceptFileDragDrop): |
|
|
|
grid = QGridLayout() |
|
|
|
grid.addWidget(QLabel(_("Start")), 0, 0) |
|
|
|
grid.addWidget(QLabel(self.format_date(start_date)), 0, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('start_fiat_value')) + '/BTC'), 0, 2) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_start_value')) + '/BTC'), 0, 2) |
|
|
|
grid.addWidget(QLabel(_("Initial balance")), 1, 0) |
|
|
|
grid.addWidget(QLabel(format_amount(h['start_balance'])), 1, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('start_fiat_balance'))), 1, 2) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_start_balance'))), 1, 2) |
|
|
|
grid.addWidget(QLabel(_("End")), 2, 0) |
|
|
|
grid.addWidget(QLabel(self.format_date(end_date)), 2, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('end_fiat_value')) + '/BTC'), 2, 2) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_end_value')) + '/BTC'), 2, 2) |
|
|
|
grid.addWidget(QLabel(_("Final balance")), 4, 0) |
|
|
|
grid.addWidget(QLabel(format_amount(h['end_balance'])), 4, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('end_fiat_balance'))), 4, 2) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_end_balance'))), 4, 2) |
|
|
|
grid.addWidget(QLabel(_("Income")), 5, 0) |
|
|
|
grid.addWidget(QLabel(format_amount(h.get('income'))), 5, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_income'))), 5, 2) |
|
|
|
grid.addWidget(QLabel(format_amount(h.get('incoming'))), 5, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_incoming'))), 5, 2) |
|
|
|
grid.addWidget(QLabel(_("Expenditures")), 6, 0) |
|
|
|
grid.addWidget(QLabel(format_amount(h.get('expenditures'))), 6, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_expenditures'))), 6, 2) |
|
|
|
grid.addWidget(QLabel(format_amount(h.get('outgoing'))), 6, 1) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_outgoing'))), 6, 2) |
|
|
|
grid.addWidget(QLabel(_("Capital gains")), 7, 0) |
|
|
|
grid.addWidget(QLabel(str(h.get('capital_gains'))), 7, 2) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_capital_gains'))), 7, 2) |
|
|
|
grid.addWidget(QLabel(_("Unrealized gains")), 8, 0) |
|
|
|
grid.addWidget(QLabel(str(h.get('unrealized_gains', ''))), 8, 2) |
|
|
|
grid.addWidget(QLabel(str(h.get('fiat_unrealized_gains', ''))), 8, 2) |
|
|
|
vbox.addLayout(grid) |
|
|
|
vbox.addLayout(Buttons(CloseButton(d))) |
|
|
|
d.setLayout(vbox) |
|
|
|