Add button to hide/show extra filtering options
FEA: ItEr76S29WorkReports
This commit is contained in:
parent
ae77a1b388
commit
e33cae0851
1 changed files with 42 additions and 27 deletions
|
|
@ -39,34 +39,49 @@
|
|||
<div align="center">
|
||||
|
||||
<!-- Filter work report lines -->
|
||||
<vbox id="hboxFilter" align="end">
|
||||
<hbox>
|
||||
<label value="${i18n:_('Resource')}"/>
|
||||
<autocomplete id="filterResource" buttonVisible="true"
|
||||
finder="ResourceFinder"/>
|
||||
<label value="${i18n:_('task')}"/>
|
||||
<bandboxSearch id="bandboxFilterOrderElement" widthBandbox="285px" widthListbox="700px"
|
||||
finder="OrderElementBandboxFinder" model="@{controller.orderElements}"/>
|
||||
<label value="${i18n:_('from')}"/>
|
||||
<datebox id="filterStartDateLine" constraint = "@{controller.checkConstraintStartDateLine}"/>
|
||||
<label value="${i18n:_('to')}"/>
|
||||
<datebox id="filterFinishDateLine" constraint = "@{controller.checkConstraintFinishDateLine}"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<!-- Resource -->
|
||||
<label value="${i18n:_('Resource')}"/>
|
||||
<autocomplete id="filterResource" buttonVisible="true"
|
||||
finder="ResourceFinder"/>
|
||||
|
||||
<hbox>
|
||||
<label value="${i18n:_('hours type')}"/>
|
||||
<autocomplete id="filterHoursType" buttonVisible="true"
|
||||
finder="TypeOfWorkHoursFinder" width="100px"/>
|
||||
<label value="${i18n:_('type')}"/>
|
||||
<combobox id="filterType" value="${i18n:_('All')}">
|
||||
<comboitem label="${i18n:_('All')}"/>
|
||||
<comboitem label="${i18n:_('Direct')}"/>
|
||||
<comboitem label="${i18n:_('Indirect')}"/>
|
||||
</combobox>
|
||||
<button label="${i18n:_('Filter')}" style="margin-top: -4px"
|
||||
onClick="controller.onApplyFilterWorkReportLines(event)"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
<!-- Task -->
|
||||
<label value="${i18n:_('task')}"/>
|
||||
<bandboxSearch id="bandboxFilterOrderElement" widthBandbox="285px" widthListbox="700px"
|
||||
finder="OrderElementBandboxFinder" model="@{controller.orderElements}"/>
|
||||
|
||||
<!-- From -->
|
||||
<label value="${i18n:_('from')}"/>
|
||||
<datebox id="filterStartDateLine" constraint = "@{controller.checkConstraintStartDateLine}"/>
|
||||
|
||||
<!-- To -->
|
||||
<label value="${i18n:_('to')}"/>
|
||||
<datebox id="filterFinishDateLine" constraint = "@{controller.checkConstraintFinishDateLine}"/>
|
||||
|
||||
<!-- More options -->
|
||||
<groupbox sclass="filter-more-options" mold="3d" width="120px" open="false"
|
||||
contentStyle="border: 1px solid #B2CCD9;">
|
||||
<caption label="${i18n:_('More options')}" />
|
||||
|
||||
<hbox>
|
||||
<!-- Hours Type -->
|
||||
<label value="${i18n:_('hours type')}"/>
|
||||
<autocomplete id="filterHoursType" buttonVisible="true"
|
||||
finder="TypeOfWorkHoursFinder" width="100px"/>
|
||||
|
||||
<!-- Type -->
|
||||
<label value="${i18n:_('type')}"/>
|
||||
<combobox id="filterType" value="${i18n:_('All')}">
|
||||
<comboitem label="${i18n:_('All')}"/>
|
||||
<comboitem label="${i18n:_('Direct')}"/>
|
||||
<comboitem label="${i18n:_('Indirect')}"/>
|
||||
</combobox>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<button label="${i18n:_('Filter')}" style="margin-top: -4px"
|
||||
onClick="controller.onApplyFilterWorkReportLines(event)"/>
|
||||
</hbox>
|
||||
</div>
|
||||
|
||||
<separator bar="false" spacing="5px" orient="horizontal"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue