feat: Allow custom memo on pay invoice (#3236)

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
Tiago Vasconcelos
2025-07-04 11:59:57 +03:00
committed by GitHub
co-authored by Vlad Stan
parent 0bbb0aca2d
commit 7e08211887
9 changed files with 203 additions and 57 deletions
+13 -1
View File
@@ -8,7 +8,8 @@ window.PaymentsPageLogic = {
searchData: {
wallet_id: null,
payment_hash: null,
memo: null
memo: null,
internal_memo: null
},
statusFilters: {
success: true,
@@ -82,6 +83,14 @@ window.PaymentsPageLogic = {
sortable: false,
max_length: 20
},
{
name: 'internal_memo',
align: 'left',
label: 'Internal Memo',
field: 'internal_memo',
sortable: false,
max_length: 20
},
{
name: 'wallet_id',
align: 'left',
@@ -166,6 +175,9 @@ window.PaymentsPageLogic = {
p.extra.wallet_fiat_currency
)
}
if (p.extra?.internal_memo) {
p.internal_memo = p.extra.internal_memo
}
p.fee_sats =
new Intl.NumberFormat(window.LOCALE).format(p.fee / 1000) + ' sats'