mirror of
https://github.com/whekin/household-bot.git
synced 2026-04-01 01:34:02 +00:00
feat: add payer control for purchases
- Add explicit payerMemberId field to purchase ledger entries - Add 'Paid by' selector in mini app purchase add/edit forms - Default payer to current user when creating new purchases - Allow admins to change who made existing purchases - Update backend handlers to accept and persist payerMemberId - Add i18n translations for 'Paid by' label (EN/RU) All quality gates pass: build, typecheck, lint, format, test Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -169,6 +169,7 @@ export const dictionary = {
|
||||
participantExcluded: 'Excluded',
|
||||
purchaseCustomShareLabel: 'Custom amount',
|
||||
purchaseEditorBody: 'Review the purchase details and adjust the split only when needed.',
|
||||
purchasePayerLabel: 'Paid by',
|
||||
paymentsAdminTitle: 'Payments',
|
||||
paymentsAdminBody: 'Add, fix, or remove payment records for the current cycle.',
|
||||
paymentsAddAction: 'Add payment',
|
||||
@@ -516,6 +517,7 @@ export const dictionary = {
|
||||
purchaseCustomShareLabel: 'Своя сумма',
|
||||
purchaseEditorBody:
|
||||
'Проверь покупку и меняй детали разделения только если это действительно нужно.',
|
||||
purchasePayerLabel: 'Оплатил',
|
||||
paymentsAdminTitle: 'Оплаты',
|
||||
paymentsAdminBody: 'Добавляй, исправляй или удаляй оплаты за текущий цикл.',
|
||||
paymentsAddAction: 'Добавить оплату',
|
||||
|
||||
Reference in New Issue
Block a user