forked from extern/egroupware
Fix price so selecting price list item fills in unit price field
This commit is contained in:
parent
b063901fde
commit
0bdad1cb75
@ -26,7 +26,7 @@
|
|||||||
<row disabled="@ts_viewtype">
|
<row disabled="@ts_viewtype">
|
||||||
<description value="Unitprice" for="ts_unitprice"/>
|
<description value="Unitprice" for="ts_unitprice"/>
|
||||||
<hbox disabled="@pm_integration=none" >
|
<hbox disabled="@pm_integration=none" >
|
||||||
<projectmanager-pricelist id="pl_id" class="et2_fullWidth" onchange="this.form['exec[ts_unitprice]'].value=this.options[this.selectedIndex].text.lastIndexOf('(') < 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1);" options="None"/>
|
<projectmanager-pricelist id="pl_id" class="et2_fullWidth" onchange="window.app.timesheet.et2.getWidgetById('ts_unitprice').set_value(this.options[this.selectedIndex].text.lastIndexOf('(') < 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1));" options="None"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<description/>
|
<description/>
|
||||||
<hbox disabled="@pm_integration=none">
|
<hbox disabled="@pm_integration=none">
|
||||||
|
Loading…
Reference in New Issue
Block a user