book: new field 'purchase_amount', optimize form

speedup: indexes, caching
This commit is contained in:
Frederik Jaeckel 2023-02-26 22:51:24 +01:00
parent 5e7552e589
commit 91b88a48e5
6 changed files with 151 additions and 50 deletions

View file

@ -198,10 +198,13 @@ msgctxt "help:cashbook.book,yield_balance:"
msgid "Total income: price gain + dividends + sales gains - fees"
msgstr "Gesamtertrag: Kursgewinn + Dividenden + Verkaufsgewinne - Gebühren"
msgctxt "field:cashbook.book,purchase_amount:"
msgid "Purchase Amount"
msgstr "Kaufbetrag"
# Total return - share price gain plus dividend minus fees
# Total return - price gain + sales gain + dividend - fees
# Rendite insgesamt - Kursgewinn + Verkaufserfolg + Dividende - Gebühren
msgctxt "help:cashbook.book,purchase_amount:"
msgid "Total purchase amount, from shares and fees."
msgstr "Kaufbetrag gesamt, aus Anteilen und Gebühren."
##################

View file

@ -182,6 +182,14 @@ msgctxt "help:cashbook.book,yield_balance:"
msgid "Total income: price gain + dividends + sales gains - fees"
msgstr "Total income: price gain + dividends + sales gains - fees"
msgctxt "field:cashbook.book,purchase_amount:"
msgid "Purchase Amount"
msgstr "Purchase Amount"
msgctxt "help:cashbook.book,purchase_amount:"
msgid "Total purchase amount, from shares and fees."
msgstr "Total purchase amount, from shares and fees."
msgctxt "field:cashbook.split,quantity_digits:"
msgid "Digits"
msgstr "Digits"