-
-
<grid width="100%">
-
<columns>
-
<column width = "120"/>
-
<column width="600"/>
-
</columns>
-
<rows>
-
<row>
-
<description value="Project" for="ts_project"/>
-
<hbox disabled="@pm_integration=none">
-
<link-entry id="pm_id" onchange="app.timesheet.pm_id_changed" only_app='projectmanager' blur='None' class="et2_fullWidth"/>
-
</hbox>
-
<hbox disabled="@pm_integration=full" span="all">
-
<textbox blur="@ts_project_blur" id="ts_project" size="65" maxlength="80" class="et2_fullWidth"/>
-
</hbox>
-
</row>
-
<row disabled="@ts_viewtype">
-
<description value="Unitprice" for="ts_unitprice"/>
-
<hbox disabled="@pm_integration=none" >
-
<textbox type="float" id="ts_unitprice" span="all" size="10"/>
-
<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>
-
</row>
-
<row class="row" disabled="!@ts_viewtype">
-
<description value="comment"/>
-
<textbox multiline="true" id="ts_description_short" rows="5" cols="50" class="et2_fullWidth"/>
-
</row>
-
<row class="row" disabled="@ts_viewtype">
-
<description value="Quantity" for="ts_quantity"/>
-
<textbox type="float" blur="@ts_quantity_blur" statustext="empty if identical to duration" id="ts_quantity" precision="3" class="et2_fullWidth"/>
-
</row>
-
<row class="row" disabled="@ts_viewtype">
-
<description value="Category" for="cat_id"/>
-
<menulist span="all">
-
<menupopup type="select-cat" id="cat_id" options="None,,,timesheet" class="et2_fullWidth"/>
-
</menulist>
-
</row>
-
</rows>
-
</grid>
-
-
-
<textbox multiline="true" id="ts_description" rows="9" cols="70" class="et2_fullWidth" height="100%"/>
-
-
-
<grid width="100%">
-
<columns>
-
<column width="600"/>
-
</columns>
-
<rows>
-
<row disabled="@view">
-
<link-to id="link_to"/>
-
</row>
-
<row class="th">
-
<description value="Existing links"/>
-
</row>
-
<row>
-
<link-list id="link_to"/>
-
</row>
-
</rows>
-
</grid>
-
-
-
<grid width="100%">
-
<columns>
-
<column width = "120"/>
-
<column width="600"/>
-
</columns>
-
<rows>
-
<row>
-
<box width="100%" overflow="auto">
-
<customfields options="@info_type"/>
-
</box>
-
</row>
-
</rows>
-
</grid>
-
-
-
<grid border="1" width="100%">
-
<columns>
-
<column width = "120"/>
-
<column width="600"/>
-
</columns>
-
<rows>
-
<row disabled="@hidebuttons" class="dialogHeadbar" >
-
<hbox span="all" width="100%">
-
<button statustext="Saves this entry and add a new one" label="Save & New" id="button[save_new]" image="save_new" background_image="1"/>
-
<button statustext="Saves the changes made" id="button[save]" image="save" background_image="1"/>
-
<button statustext="Applies the changes made" id="button[apply]" image="apply" background_image="1"/>
-
<button statustext="Delete this entry" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete')" image="delete" background_image="1"/>
-
</hbox>
-
</row>
-
<row disabled="!@showsearchbuttons" class="dialogHeadbar">
-
<hbox span="all" width="100%">
-
<button label="Search" id="button[search]" image="search" background_image="1"/>
-
<button label="Cancel" id="button[cancelsearch]" image="cancel" background_image="1"/>
-
</hbox>
-
</row>
-
<row disabled="@ts_viewtype">
-
<description value="Title"/>
-
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="255" class="et2_fullWidth et2_required" tabindex="1"/>
-
</row>
-
<row>
-
<description value="Date"/>
-
<hbox>
-
<date id="ts_start" needed="1" options=",8" width="90%"/>
-
<textbox align="right" type="integer" id="ts_id" readonly="true"/>
-
</hbox>
-
</row>
-
<row>
-
<description value="Starttime"/>
-
<date-timeonly id="start_time" options="H:i" class="et2_fullWidth"/>
-
</row>
-
<row>
-
<description value="Duration" for="ts_duration"/>
-
<date-duration id="ts_duration" options=",hm" class="et2_fullWidth" />
-
</row>
-
<row>
-
<description value="or endtime" class="et2_noWrap"/>
-
<date-timeonly id="end_time" options="H:i" class="et2_fullWidth"/>
-
</row>
-
<row>
-
<description value="Status"/>
-
<menulist>
-
<menupopup statustext="select a status of the timesheet" id="ts_status" class="et2_fullWidth" options="please select" />
-
</menulist>
-
</row>
-
<row>
-
<tabbox id="tabs" span="all" width="100%" align_tabs="v">
-
<tabs>
-
<tab id="notes" label="Description"/>
-
<tab id="general" label="Details"/>
-
<tab id="links" label="Links"/>
-
<tab id="customfields" label="Custom Fields"/>
-
</tabs>
-
<tabpanels class="dialog-main-timeframe">
-
<template id="timesheet.edit.notes"/>
-
<template id="timesheet.edit.general"/>
-
<template id="timesheet.edit.links"/>
-
<template id="timesheet.edit.customfields"/>
-
</tabpanels>
-
</tabbox>
-
</row>
-
<row>
-
<details title="Ownership">
-
<grid width="100%">
-
<columns>
-
<column width = "120"/>
-
<column width="600"/>
-
</columns>
-
<rows>
-
<row>
-
<description value="User" for="ts_owner"/>
-
<menulist >
-
<menupopup id="ts_owner" no_lang="1" class="et2_fullWidth"/>
-
</menulist>
-
</row>
-
<row disabled="!@ts_modified">
-
<description value="Last modified"/>
-
<menulist>
-
<menupopup type="select-account" id="ts_modifier" readonly="true"/>
-
</menulist>
-
</row>
-
<row>
-
<description/>
-
<date-time id="ts_modified" readonly="true" align="left"/>
-
</row>
-
</rows>
-
</grid>
-
</details>
-
</row>
-
</rows>
-
</grid>
-