Fix pricelist empty label

This commit is contained in:
nathan 2022-09-06 09:23:56 -06:00
parent 365f29f498
commit bdee948842

View File

@ -41,7 +41,9 @@
</row> </row>
<row class="row"> <row class="row">
<description value="Price"/> <description value="Price"/>
<projectmanager-pricelist id="pl_id" onchange="window.app.infolog.et2.getWidgetById('info_price').set_value(this.options[this.selectedIndex].text.lastIndexOf('(') &lt; 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('(') &lt; 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1));"
emptyLabel="None" class="et2_fullWidth"/>
<textbox type="float" id="info_price" class="et2_fullWidth"/> <textbox type="float" id="info_price" class="et2_fullWidth"/>
<description/> <description/>
</row> </row>