From 01827dd23f29a6e0d6db673f5dc330cd7f4a6f4f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 21 Sep 2026 11:15:11 -0700 Subject: Point of sale: a paid sale opens its payment detail, which now says bill and tip. The row finds the ln-receive movement by the invoice it recorded and opens the same detail screen the history page shows; the detail asks features for more (arkMoveDetailExtra) and the till adds Bills, Tips (with the percentage) and the note. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp --- src/features/ark.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/features/ark.js') diff --git a/src/features/ark.js b/src/features/ark.js index ef5d8fc..4cc0188 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -1403,6 +1403,8 @@ export function arkFeature(ctx) { (failed ? '' : incoming ? '+' : '-') + fmtAmount(m.amountSat, m.ts / 1000) + ' ' + unitLabel()), row(t('dateLabel'), new Date(m.ts).toLocaleString()), ctx.worthLine ? ctx.worthLine(m.amountSat, m.ts / 1000, row) : null, + // a feature that knows more about this movement (the till: bill and tip) + ctx.hook ? ctx.hook('arkMoveDetailExtra', m, row) : null, (() => { const pk = zapNoteFor(m); const chip = pk ? ctx.hook('profileChip', pk) : null; -- cgit v1.2.3