aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/pos.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-09 14:51:06 -0700
committerAdam Soltys <[email protected]>2026-10-09 14:51:06 -0700
commitdc00cc50befdc2603a15c2de624607010e5e7248 (patch)
tree9bc2544dbc9d98818c4794cd5f0c9cdb9c3d648d /src/features/pos.js
parenta30c16fcaac5c89acc1ace58aff8a6746ab45d05 (diff)
downloadcoinosv3-dc00cc50befdc2603a15c2de624607010e5e7248.tar.gz
coinosv3-dc00cc50befdc2603a15c2de624607010e5e7248.zip
Amounts: no plus sign on money coming in either — the word (Received) and the green say it. History rows, transaction details, the "payment received" screens (wallet, Spending, gifts, boards/onboards) and the till's paid bills. The till's tip choices keep theirs: "+$2" there is what a tip adds to the bill.
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
Diffstat (limited to 'src/features/pos.js')
-rw-r--r--src/features/pos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/pos.js b/src/features/pos.js
index dafd388..3727862 100644
--- a/src/features/pos.js
+++ b/src/features/pos.js
@@ -246,7 +246,7 @@ export function posFeature(ctx) {
h('span', { class: 'small muted', style: 'overflow:hidden;text-overflow:ellipsis;white-space:nowrap' },
new Date(x.paidAt || x.at).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }) + (x.note ? ' · ' + x.note : '')
+ (x.status === 'open' ? ' · ' + t('posAwaiting') : x.status === 'void' ? ' · ' + t('posVoid') : ''))),
- h('span', { class: 'amount-pos', style: 'white-space:nowrap' }, (x.status === 'paid' ? '+' : '') + fmtAmount(x.billSat + x.tipSat)));
+ h('span', { class: 'amount-pos', style: 'white-space:nowrap' }, fmtAmount(x.billSat + x.tipSat)));
return h('div', { class: 'card col', style: 'gap:8px' },
h('h3', { style: 'margin:0' }, t('posSalesToday')),
h('div', { class: 'row between' }, h('span', { class: 'muted' }, t('posBills')), h('span', {}, fmtAmount(sum('billSat')) + ' ' + unitLabel())),