book: new field 'purchase_amount', optimize form
speedup: indexes, caching
This commit is contained in:
parent
5e7552e589
commit
91b88a48e5
6 changed files with 151 additions and 50 deletions
|
@ -8,25 +8,29 @@ full copyright notices and license terms. -->
|
|||
<separator colspan="4" name="current_value" string="Current valuation of the investment"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@name='balance']/field[@name='balance']" position="after">
|
||||
<label name="current_value"/>
|
||||
<field name="current_value" symbol="currency"/>
|
||||
<label name="current_value_ref"/>
|
||||
<field name="current_value_ref" symbol="company_currency"/>
|
||||
<label name="purchase_amount"/>
|
||||
<field name="purchase_amount" symbol="currency"/>
|
||||
<label name="yield_balance"/>
|
||||
<field name="yield_balance" symbol="currency"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@name='balance']/field[@name='balance_all']" position="after">
|
||||
<label name="current_value"/>
|
||||
<field name="current_value" symbol="currency"/>
|
||||
<label name="diff_amount"/>
|
||||
<field name="diff_amount" symbol="currency"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@name='balance']/field[@name='balance_ref']" position="after">
|
||||
<label name="current_rate"/>
|
||||
<field name="current_rate" symbol="asset_symbol"/>
|
||||
<label name="diff_percent"/>
|
||||
<group id="diff_percent" col="2">
|
||||
<field name="diff_percent" xexpand="0"/>
|
||||
<label name="diff_percent" xalign="0.0" string="%" xexpand="1"/>
|
||||
</group>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@name='balance']/field[@name='balance_ref']" position="after">
|
||||
<label name="yield_balance"/>
|
||||
<field name="yield_balance" symbol="currency"/>
|
||||
<label name="current_rate"/>
|
||||
<field name="current_rate" symbol="asset_symbol"/>
|
||||
|
||||
<label name="current_value_ref" colspan="2" string=" "/>
|
||||
<label name="current_value_ref"/>
|
||||
<field name="current_value_ref" symbol="company_currency"/>
|
||||
<newline/>
|
||||
|
||||
<separator colspan="2" name="quantity" string="Quantity"/>
|
||||
|
@ -52,7 +56,6 @@ full copyright notices and license terms. -->
|
|||
<field name="yield_dividend_12m" symbol="currency"/>
|
||||
<label name="yield_fee_12m"/>
|
||||
<field name="yield_fee_12m" symbol="currency"/>
|
||||
|
||||
</xpath>
|
||||
|
||||
<xpath expr="/form/notebook/page[@id='pggeneral']" position="after">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue