diff options
Diffstat (limited to 'src/features/pos.js')
| -rw-r--r-- | src/features/pos.js | 2 |
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())), |
