feat(costs): read a trip in another currency from the Costs tab (#1683)

Costs always converted to the display currency from Settings, so a trip
that moves on to another country could not be read in its new local
currency. A picker in the Costs bar (beside the Expenses heading on the
phone) now reads one trip in any currency; the server already settles in
any base. The pick is per trip and kept in this browser, nothing stored.
This commit is contained in:
Maurice
2026-11-13 10:10:43 +01:00
parent 72fc61a016
commit c7cfa5a64f
41 changed files with 252 additions and 19 deletions
+1
View File
@@ -210,6 +210,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'احتساب {category} في الإجماليات مجددًا',
'costs.breakdown.leftOut': 'مستبعد من الإجماليات: {categories}',
'costs.breakdown.countAll': 'احتساب الكل',
'costs.showIn': 'عرض المبالغ بعملة',
'costs.splitHint.ticket': 'اكتب ما ورد في الإيصال وحدّد من أخذ كل عنصر.',
'costs.filter.allCategories': 'كل الفئات',
'costs.filter.allDays': 'كل الأيام',
+1
View File
@@ -172,6 +172,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '{category} yenidən yekunlara daxil edilsin',
'costs.breakdown.leftOut': 'Yekunlardan çıxarılıb: {categories}',
'costs.breakdown.countAll': 'Hamısını say',
'costs.showIn': 'Məbləğlərin valyutası',
'costs.splitHint.ticket': 'Qəbzdə olanları sadalayın və hər elementi kimin götürdüyünü işarələyin.',
'costs.pickSomeone': 'Bölüşdürmək üçün ən azı bir nəfər seçin.',
'costs.splitSummary': '{count} nəfər arasında bölünüb · hərəsinə {amount}',
+1
View File
@@ -182,6 +182,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Contar {category} nos totais de novo',
'costs.breakdown.leftOut': 'Fora dos totais: {categories}',
'costs.breakdown.countAll': 'Contar tudo',
'costs.showIn': 'Mostrar valores em',
'costs.splitHint.ticket': 'Liste o que estava no comprovante e marque quem consumiu cada item.',
'costs.filter.allCategories': 'Todas as categorias',
'costs.filter.allDays': 'Todos os dias',
+1
View File
@@ -147,6 +147,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Torna a comptar {category} als totals',
'costs.breakdown.leftOut': 'Fora dels totals: {categories}',
'costs.breakdown.countAll': 'Comptar-ho tot',
'costs.showIn': 'Mostra els imports en',
'costs.splitHint.ticket': 'Llista el que hi havia al rebut i marca qui ha pres cada article.',
'costs.pickSomeone': 'Tria almenys una persona amb qui dividir-ho.',
'costs.splitSummary': 'Dividit entre {count} persones · {amount} cadascú',
+1
View File
@@ -189,6 +189,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Znovu započítat {category} do součtů',
'costs.breakdown.leftOut': 'Vynecháno ze součtů: {categories}',
'costs.breakdown.countAll': 'Započítat vše',
'costs.showIn': 'Zobrazit částky v',
'costs.splitHint.ticket': 'Vypište, co bylo na účtence, a zaškrtněte, kdo měl kterou položku.',
'costs.filter.allCategories': 'Všechny kategorie',
'costs.filter.allDays': 'Všechny dny',
+1
View File
@@ -187,6 +187,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '{category} wieder in die Summen aufnehmen',
'costs.breakdown.leftOut': 'Nicht in den Summen: {categories}',
'costs.breakdown.countAll': 'Alle zählen',
'costs.showIn': 'Beträge anzeigen in',
'costs.splitHint.ticket': 'Liste auf, was auf dem Beleg steht, und hak ab, wer was hatte.',
'costs.ticketItemName': 'Artikelname',
'costs.ticketSplitting': 'Aufteilen auf:',
+1
View File
@@ -156,6 +156,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Count {category} in the totals again',
'costs.breakdown.leftOut': 'Left out of the totals: {categories}',
'costs.breakdown.countAll': 'Count all',
'costs.showIn': 'Show amounts in',
'costs.splitHint.ticket': 'List what was on the receipt and tick who had each item.',
'costs.pickSomeone': 'Pick at least one person to split with.',
'costs.splitSummary': 'Split {count} ways · {amount} each',
+1
View File
@@ -183,6 +183,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Volver a contar {category} en los totales',
'costs.breakdown.leftOut': 'Fuera de los totales: {categories}',
'costs.breakdown.countAll': 'Contar todo',
'costs.showIn': 'Mostrar importes en',
'costs.splitHint.ticket': 'Enumera lo que había en el recibo y marca quién tomó cada artículo.',
'costs.filter.allCategories': 'Todas las categorías',
'costs.filter.allDays': 'Todos los días',
+1
View File
@@ -156,6 +156,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Arvesta {category} jälle summadesse',
'costs.breakdown.leftOut': 'Summadest välja jäetud: {categories}',
'costs.breakdown.countAll': 'Arvesta kõik',
'costs.showIn': 'Summade valuuta',
'costs.splitHint.ticket': 'Loetle, mis tšekil oli, ja märgi iga kirje juurde, kellele see kuulus.',
'costs.pickSomeone': 'Vali jagamiseks vähemalt üks inimene.',
'costs.splitSummary': 'Jaotatud {count} osaks · igaühele {amount}',
+1
View File
@@ -184,6 +184,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Compter de nouveau {category} dans les totaux',
'costs.breakdown.leftOut': 'Exclu des totaux : {categories}',
'costs.breakdown.countAll': 'Tout compter',
'costs.showIn': 'Afficher les montants en',
'costs.splitHint.ticket': 'Listez ce qui figurait sur le reçu et cochez qui a pris chaque article.',
'costs.filter.allCategories': 'Toutes les catégories',
'costs.filter.allDays': 'Tous les jours',
+1
View File
@@ -184,6 +184,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Επαναφορά του {category} στα σύνολα',
'costs.breakdown.leftOut': 'Εκτός συνόλων: {categories}',
'costs.breakdown.countAll': 'Μέτρηση όλων',
'costs.showIn': 'Εμφάνιση ποσών σε',
'costs.splitHint.ticket': 'Καταγράψτε τι είχε η απόδειξη και σημειώστε ποιος πήρε κάθε είδος.',
'costs.filter.allCategories': 'Όλες οι κατηγορίες',
'costs.filter.allDays': 'Όλες οι ημέρες',
+1
View File
@@ -160,6 +160,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'לכלול שוב את {category} בסכומים',
'costs.breakdown.leftOut': 'לא נכלל בסכומים: {categories}',
'costs.breakdown.countAll': 'לכלול הכול',
'costs.showIn': 'הצגת הסכומים במטבע',
'costs.splitHint.ticket': 'רשמו מה היה בקבלה וסמנו מי לקח כל פריט.',
'costs.pickSomeone': 'בחרו לפחות אדם אחד לחלוקה.',
'costs.splitSummary': 'חלוקה ל-{count} · {amount} לכל אחד',
+1
View File
@@ -185,6 +185,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '{category} visszavétele az összesítésbe',
'costs.breakdown.leftOut': 'Kimarad az összesítésből: {categories}',
'costs.breakdown.countAll': 'Minden beszámítása',
'costs.showIn': 'Összegek pénzneme',
'costs.splitHint.ticket': 'Sorold fel, mi szerepelt a nyugtán, és minden tételnél jelöld be, kié volt.',
'costs.filter.allCategories': 'Összes kategória',
'costs.filter.allDays': 'Összes nap',
+1
View File
@@ -176,6 +176,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Hitung {category} lagi dalam total',
'costs.breakdown.leftOut': 'Dikecualikan dari total: {categories}',
'costs.breakdown.countAll': 'Hitung semua',
'costs.showIn': 'Tampilkan jumlah dalam',
'costs.splitHint.ticket': 'Tuliskan isi kuitansi dan centang siapa yang mengambil tiap item.',
'costs.filter.allCategories': 'Semua kategori',
'costs.filter.allDays': 'Semua hari',
+1
View File
@@ -182,6 +182,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Conta di nuovo {category} nei totali',
'costs.breakdown.leftOut': 'Esclusi dai totali: {categories}',
'costs.breakdown.countAll': 'Conta tutto',
'costs.showIn': 'Mostra gli importi in',
'costs.splitHint.ticket': "Elenca cosa c'era sulla ricevuta e spunta chi ha preso ciascun articolo.",
'costs.filter.allCategories': 'Tutte le categorie',
'costs.filter.allDays': 'Tutti i giorni',
+1
View File
@@ -174,6 +174,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '{category}を合計に戻す',
'costs.breakdown.leftOut': '合計から除外中:{categories}',
'costs.breakdown.countAll': 'すべて含める',
'costs.showIn': '金額の表示通貨',
'costs.splitHint.ticket': 'レシートの品目を書き出し、それぞれ誰の分かにチェックを入れます。',
'costs.filter.allCategories': 'すべてのカテゴリー',
'costs.filter.allDays': 'すべての日',
+1
View File
@@ -174,6 +174,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '{category}을(를) 다시 합계에 넣기',
'costs.breakdown.leftOut': '합계에서 제외됨: {categories}',
'costs.breakdown.countAll': '모두 포함',
'costs.showIn': '금액 표시 통화',
'costs.splitHint.ticket': '영수증에 있던 항목을 적고, 항목마다 누구 몫인지 체크하세요.',
'costs.filter.allCategories': '모든 카테고리',
'costs.filter.allDays': '모든 날짜',
+1
View File
@@ -184,6 +184,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '{category} weer meetellen in de totalen',
'costs.breakdown.leftOut': 'Buiten de totalen: {categories}',
'costs.breakdown.countAll': 'Alles meetellen',
'costs.showIn': 'Bedragen tonen in',
'costs.splitHint.ticket': 'Zet op een rij wat er op de bon stond en vink aan wie welk item had.',
'costs.filter.allCategories': 'Alle categorieën',
'costs.filter.allDays': 'Alle dagen',
+1
View File
@@ -197,6 +197,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Uwzględnij {category} w sumach ponownie',
'costs.breakdown.leftOut': 'Pominięte w sumach: {categories}',
'costs.breakdown.countAll': 'Uwzględnij wszystko',
'costs.showIn': 'Pokaż kwoty w',
'costs.splitHint.ticket': 'Wypisz, co było na paragonie, i zaznacz, kto miał którą pozycję.',
'costs.filter.allCategories': 'Wszystkie kategorie',
'costs.filter.allDays': 'Wszystkie dni',
+1
View File
@@ -196,6 +196,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Снова учитывать {category} в итогах',
'costs.breakdown.leftOut': 'Не учтено в итогах: {categories}',
'costs.breakdown.countAll': 'Учитывать всё',
'costs.showIn': 'Показывать суммы в',
'costs.splitHint.ticket': 'Перечислите, что было в чеке, и отметьте, кто что брал.',
'costs.filter.allCategories': 'Все категории',
'costs.filter.allDays': 'Все дни',
+1
View File
@@ -161,6 +161,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Znova započítať {category} do súčtov',
'costs.breakdown.leftOut': 'Vynechané zo súčtov: {categories}',
'costs.breakdown.countAll': 'Započítať všetko',
'costs.showIn': 'Zobraziť sumy v',
'costs.splitHint.ticket': 'Vypíšte, čo bolo na účtenke, a označte, kto mal ktorú položku.',
'costs.pickSomeone': 'Vyberte aspoň jednu osobu na rozdelenie.',
'costs.splitSummary': 'Rozdelené na {count} dielov · {amount} na osobu',
+1
View File
@@ -182,6 +182,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Räkna med {category} i summorna igen',
'costs.breakdown.leftOut': 'Utanför summorna: {categories}',
'costs.breakdown.countAll': 'Räkna allt',
'costs.showIn': 'Visa belopp i',
'costs.splitHint.ticket': 'Lista det som stod på kvittot och bocka för vem som hade varje artikel.',
'costs.filter.allCategories': 'Alla kategorier',
'costs.filter.allDays': 'Alla dagar',
+1
View File
@@ -146,6 +146,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'นับ {category} ในยอดรวมอีกครั้ง',
'costs.breakdown.leftOut': 'ไม่นับในยอดรวม: {categories}',
'costs.breakdown.countAll': 'นับทั้งหมด',
'costs.showIn': 'แสดงจำนวนเงินเป็น',
'costs.splitHint.ticket': 'ใส่รายการที่อยู่ในใบเสร็จ แล้วติ๊กว่าใครสั่งรายการไหน',
'costs.pickSomeone': 'เลือกอย่างน้อยหนึ่งคนที่จะแยกด้วย',
'costs.splitSummary': '{count} คน · คนละ {amount}',
+1
View File
@@ -182,6 +182,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '{category} yeniden toplamlara katılsın',
'costs.breakdown.leftOut': 'Toplamların dışında: {categories}',
'costs.breakdown.countAll': 'Hepsini say',
'costs.showIn': 'Tutarları şu para biriminde göster',
'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',
+1
View File
@@ -196,6 +196,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Знову враховувати {category} в підсумках',
'costs.breakdown.leftOut': 'Не враховано в підсумках: {categories}',
'costs.breakdown.countAll': 'Враховувати все',
'costs.showIn': 'Показувати суми в',
'costs.splitHint.ticket': 'Перелічіть, що було в чеку, і позначте, хто брав кожну позицію.',
'costs.filter.allCategories': 'Усі категорії',
'costs.filter.allDays': 'Усі дні',
+1
View File
@@ -175,6 +175,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': 'Tính lại {category} vào tổng',
'costs.breakdown.leftOut': 'Đã loại khỏi tổng: {categories}',
'costs.breakdown.countAll': 'Tính tất cả',
'costs.showIn': 'Hiển thị số tiền bằng',
'costs.splitHint.ticket': 'Liệt kê các món trên hóa đơn và đánh dấu ai đã dùng từng món.',
'costs.filter.allCategories': 'Tất cả danh mục',
'costs.filter.allDays': 'Tất cả các ngày',
+1
View File
@@ -173,6 +173,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '將{category}重新計入合計',
'costs.breakdown.leftOut': '未計入合計:{categories}',
'costs.breakdown.countAll': '全部計入',
'costs.showIn': '金額顯示幣別',
'costs.splitHint.ticket': '列出收據上的項目,並勾選每一項是誰的。',
'costs.filter.allCategories': '所有類別',
'costs.filter.allDays': '所有日期',
+1
View File
@@ -173,6 +173,7 @@ const budget: TranslationStrings = {
'costs.breakdown.countIn': '将{category}重新计入合计',
'costs.breakdown.leftOut': '未计入合计:{categories}',
'costs.breakdown.countAll': '全部计入',
'costs.showIn': '金额显示币种',
'costs.splitHint.ticket': '列出收据上的项目,并勾选每一项是谁的。',
'costs.filter.allCategories': '所有类别',
'costs.filter.allDays': '所有日期',