mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 17:03:15 +00:00
feat(costs): let a trip keep its costs as totals only (#1714)
Travellers who track what a trip costs but never split it saw an Unfinished warning on every expense and a settle-up they had no use for. A trip now has a costs mode (appended migration, trips.costs_mode, split by default); totals leaves payers, shares and settling up out of Costs on desktop and phone through the same gate as a trip of one, and saves new expenses without a payer. PUT /api/trips/:id and update_trip take it on budget_edit. The split chips move into their own component.
This commit is contained in:
@@ -174,6 +174,9 @@ const budget: TranslationStrings = {
|
||||
'costs.splitHint.shares': 'Herkese bir pay sayısı verin, örneğin kaldığı gece sayısı; toplam bu oranda bölünür.',
|
||||
'costs.splitSharesOf': '{name} payları',
|
||||
'costs.splitSharesNone': 'En az bir kişiye pay verin',
|
||||
'costs.mode.label': 'Masrafları yolcular arasında böl',
|
||||
'costs.mode.hintSplit': 'Her harcamayı kimin ödediği ve kimlerin paylaştığı, sonunda da hesaplaşma.',
|
||||
'costs.mode.hintTotals': 'Yalnızca toplamlar: ödeyen, pay veya hesaplaşma yok. Önceden bölünenler kayıtlı kalır.',
|
||||
'costs.splitHint.ticket': 'Fişte neler olduğunu listeleyin ve her kalemi kimin aldığını işaretleyin.',
|
||||
'costs.filter.allCategories': 'Tüm kategoriler',
|
||||
'costs.filter.allDays': 'Tüm günler',
|
||||
|
||||
Reference in New Issue
Block a user