mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
Fix price so selecting price list item fills in unit price field
This commit is contained in:
parent
ec55375e56
commit
a1530d728c
@ -44,7 +44,7 @@
|
||||
</row>
|
||||
<row class="row">
|
||||
<description value="Price"/>
|
||||
<projectmanager-pricelist id="pl_id" onchange="this.form['exec[info_price]'].value=this.options[this.selectedIndex].text.lastIndexOf('(') < 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1);" options="None" class="et2_fullWidth"/>
|
||||
<projectmanager-pricelist id="pl_id" onchange="window.app.infolog.et2.getWidgetById('info_price').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" class="et2_fullWidth"/>
|
||||
<textbox type="float" id="info_price" class="et2_fullWidth"/>
|
||||
<description/>
|
||||
</row>
|
||||
|
Loading…
Reference in New Issue
Block a user