Render the price cell and leave Konto empty without an account
This commit is contained in:
1 parent
645fe4e558
commit
8719ed2d46
1 file changed
+8
-1
@@ -114,8 +114,15 @@
|
|||||||
+ (transaction.generated ? " (laga automatisk)" : ""),
|
+ (transaction.generated ? " (laga automatisk)" : ""),
|
||||||
""
|
""
|
||||||
);
|
);
|
||||||
cell(row, transaction.market_name, "");
|
cell(row, transaction.market_name || "", "");
|
||||||
cell(row, transaction.to_market_name || "", "");
|
cell(row, transaction.to_market_name || "", "");
|
||||||
|
cell(
|
||||||
|
row,
|
||||||
|
transaction.btc_price_ore
|
||||||
|
? Skuld.formatKroner(transaction.btc_price_ore)
|
||||||
|
: "",
|
||||||
|
"numeric"
|
||||||
|
);
|
||||||
cell(row, amount(transaction.leg_in_sats, transaction.leg_in_ore), "numeric");
|
cell(row, amount(transaction.leg_in_sats, transaction.leg_in_ore), "numeric");
|
||||||
cell(row, amount(transaction.leg_out_sats, transaction.leg_out_ore), "numeric");
|
cell(row, amount(transaction.leg_out_sats, transaction.leg_out_ore), "numeric");
|
||||||
cell(row, amount(transaction.fee_sats, transaction.fee_ore), "numeric");
|
cell(row, amount(transaction.fee_sats, transaction.fee_ore), "numeric");
|
||||||
|
|||||||
Reference in new issue
Block a user