line: fix exception if missing config; book: optimize form
This commit is contained in:
parent
f95a9ed710
commit
5e7552e589
2 changed files with 30 additions and 23 deletions
|
@ -4,22 +4,16 @@ The COPYRIGHT file at the top level of this repository contains the
|
|||
full copyright notices and license terms. -->
|
||||
<data>
|
||||
|
||||
<xpath expr="/form/notebook/page[@name='balance']/field[@name='balance_ref']"
|
||||
position="after">
|
||||
<newline/>
|
||||
<separator colspan="2" name="quantity" string="Quantity"/>
|
||||
<xpath expr="/form/notebook/page[@name='balance']/separator[@id='balance']" position="after">
|
||||
<separator colspan="4" name="current_value" string="Current valuation of the investment"/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity" symbol="quantity_uom"/>
|
||||
</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="quantity_all"/>
|
||||
<field name="quantity_all" symbol="quantity_uom"/>
|
||||
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@name='balance']/field[@name='balance_all']" position="after">
|
||||
<label name="diff_amount"/>
|
||||
<field name="diff_amount" symbol="currency"/>
|
||||
<label name="diff_percent"/>
|
||||
|
@ -27,12 +21,22 @@ full copyright notices and license terms. -->
|
|||
<field name="diff_percent" xexpand="0"/>
|
||||
<label name="diff_percent" xalign="0.0" string="%" xexpand="1"/>
|
||||
</group>
|
||||
|
||||
<label id="lab1" colspan="2" string=" "/>
|
||||
</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"/>
|
||||
<newline/>
|
||||
|
||||
<separator colspan="2" name="quantity" string="Quantity"/>
|
||||
<newline/>
|
||||
<label name="quantity"/>
|
||||
<field name="quantity" symbol="quantity_uom"/>
|
||||
<newline/>
|
||||
<label name="quantity_all"/>
|
||||
<field name="quantity_all" symbol="quantity_uom"/>
|
||||
<newline/>
|
||||
|
||||
<separator name="yield_dividend_total" colspan="6" string="Fees and dividends"/>
|
||||
<label name="yield_sales"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue