2015-02-17 10:55:05 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
2005-12-19 05:23:14 +01:00
<!-- $Id$ -->
<overlay>
2009-10-26 09:17:06 +01:00
<template id="timesheet.edit.general" template="" lang="" group="0" version="1.7.002">
2014-12-05 18:29:41 +01:00
<grid width="100%" >
2005-12-19 05:23:14 +01:00
<columns>
2016-04-11 14:31:18 +02:00
<column width="92"/>
<column width="185"/>
2014-03-12 09:43:35 +01:00
<column width="30"/>
2016-04-11 14:31:18 +02:00
<column width="92" disabled="@ts_viewtype"/>
<column width="105" disabled="@ts_viewtype"/>
2014-03-11 10:59:35 +01:00
<column width="30"/>
2016-04-11 14:31:18 +02:00
<column width="50"/>
2005-12-19 05:23:14 +01:00
</columns>
<rows>
2014-03-11 10:59:35 +01:00
<row>
<description value="Project" for="ts_project"/>
<hbox disabled="@pm_integration=none">
2014-10-14 17:58:37 +02:00
<link-entry id="pm_id" onchange="app.timesheet.pm_id_changed" only_app='projectmanager' blur='None' class="et2_fullWidth"/>
2014-03-11 10:59:35 +01:00
</hbox>
2014-03-11 16:50:30 +01:00
<description/>
2014-03-11 10:59:35 +01:00
<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" >
2014-05-29 16:48:01 +02:00
<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"/>
2014-03-11 10:59:35 +01:00
</hbox>
2014-03-11 16:50:30 +01:00
<description/>
2014-03-11 10:59:35 +01:00
<hbox disabled="@pm_integration=none">
<textbox type="float" id="ts_unitprice" span="all" class="et2_fullWidth"/>
</hbox>
2008-08-04 14:48:01 +02:00
</row>
<row class="row" disabled="!@ts_viewtype">
<description value="comment"/>
2014-09-10 00:20:52 +02:00
<textbox multiline="true" id="ts_description_short" rows="5" cols="50" class="et2_fullWidth"/>
2014-03-10 16:19:28 +01:00
<description/>
2008-08-04 14:48:01 +02:00
<description/>
<description/>
2005-12-19 05:23:14 +01:00
</row>
2008-08-04 14:48:01 +02:00
<row class="row" disabled="@ts_viewtype">
2011-08-24 09:18:59 +02:00
<description value="Quantity" for="ts_quantity"/>
2014-03-10 16:19:28 +01:00
<textbox type="float" blur="@ts_quantity_blur" statustext="empty if identical to duration" id="ts_quantity" precision="3" class="et2_fullWidth"/>
2014-03-11 16:50:30 +01:00
<description/>
2014-03-11 10:59:35 +01:00
<description value="Category" for="cat_id"/>
<menulist span="all">
<menupopup type="select-cat" id="cat_id" options="None,,,timesheet" class="et2_fullWidth"/>
2009-03-23 10:53:03 +01:00
</menulist>
</row>
2005-12-19 05:23:14 +01:00
</rows>
</grid>
</template>
2008-08-04 14:48:01 +02:00
<template id="timesheet.edit.notes" template="" lang="" group="0" version="1.5.001">
2014-12-05 18:29:41 +01:00
<textbox multiline="true" id="ts_description" rows="9" cols="70" class="et2_fullWidth"/>
2005-12-19 05:23:14 +01:00
</template>
<template id="timesheet.edit.links" template="" lang="" group="0" version="0.1.001">
2014-12-05 18:29:41 +01:00
<grid width="100%" overflow="auto">
2005-12-19 05:23:14 +01:00
<columns>
2014-03-11 10:59:35 +01:00
<column width="99%"/>
2005-12-19 05:23:14 +01:00
</columns>
<rows>
<row class="row" disabled="@status_only">
2014-03-11 10:59:35 +01:00
<link-to id="link_to"/>
2005-12-19 05:23:14 +01:00
</row>
<row class="th">
2014-03-11 10:59:35 +01:00
<description value="Existing links"/>
2005-12-19 05:23:14 +01:00
</row>
2014-03-11 10:59:35 +01:00
<row class="row_off" >
<link-list id="link_to"/>
2005-12-19 05:23:14 +01:00
</row>
</rows>
</grid>
</template>
2008-10-15 18:37:23 +02:00
<template id="timesheet.edit.customfields" template="" lang="" group="0" version="1.5.001">
2014-12-05 18:29:41 +01:00
<box width="100%" overflow="auto">
<customfields class="et2_fullWidth"/>
2014-03-11 19:06:54 +01:00
</box>
2008-08-04 14:48:01 +02:00
</template>
2009-09-10 10:20:27 +02:00
<template id="timesheet.edit.history" template="" lang="" group="0" version="1.7.001">
2015-02-25 17:30:49 +01:00
<historylog id="history"/>
2009-09-10 10:20:27 +02:00
</template>
2012-10-22 20:31:11 +02:00
<template id="timesheet.edit" template="" lang="" group="0" version="1.9.002">
2005-12-19 05:23:14 +01:00
<grid width="100%">
<columns>
2016-04-11 14:31:18 +02:00
<column width="100"/>
<column width="185"/>
2014-03-12 09:43:35 +01:00
<column width="30"/>
2016-04-11 14:31:18 +02:00
<column width="100"/>
<column width="105"/>
2014-03-11 10:59:35 +01:00
<column width="30"/>
2016-04-11 14:31:18 +02:00
<column width="50"/>
2005-12-19 05:23:14 +01:00
</columns>
<rows>
2014-03-11 19:06:54 +01:00
<row disabled="@ts_viewtype" class="dialogHeader">
2014-03-11 10:59:35 +01:00
<description value="Title" for="ts_title"/>
2015-04-01 22:03:04 +02:00
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="255" class="et2_fullWidth et2_required" tabindex="1" span="4"/>
2014-03-12 14:33:13 +01:00
<textbox type="integer" id="ts_id" readonly="true"/>
2014-03-11 19:06:54 +01:00
<appicon src="timesheet"/>
2005-12-19 05:23:14 +01:00
</row>
2014-03-11 14:13:50 +01:00
<row class="dialogHeader2">
2014-03-11 10:59:35 +01:00
<description value="Date" for="ts_start"/>
<date id="ts_start" needed="1" options=",8" class="et2_fullWidth"/>
2014-03-11 16:50:30 +01:00
<description/>
2014-03-11 10:59:35 +01:00
<description value="Starttime"/>
2016-04-11 14:31:18 +02:00
<date-timeonly id="start_time" options="H:i" class="et2_fullWidth"/>
2005-12-19 05:23:14 +01:00
</row>
2014-03-11 19:06:54 +01:00
<row class="row dialogHeader3">
2014-03-11 10:59:35 +01:00
<description value="Duration" for="ts_duration"/>
2014-03-11 16:50:30 +01:00
<date-duration id="ts_duration" options=",hm" class="et2_fullWidth" />
<description/>
<description value="or endtime" class="et2_noWrap"/>
2016-04-11 14:31:18 +02:00
<date-timeonly id="end_time" options="H:i" class="et2_fullWidth"/>
2005-12-19 05:23:14 +01:00
</row>
<row>
2014-12-05 18:29:41 +01:00
<tabbox id="tabs" class="et2_nowrap" width="100%" span="all" tab_height="165">
2005-12-19 05:23:14 +01:00
<tabs>
2014-03-11 10:59:35 +01:00
<tab id="notes" label="Description"/>
<tab id="general" label="Details"/>
2011-08-24 09:18:59 +02:00
<tab id="links" label="Links"/>
<tab id="customfields" label="Custom Fields"/>
<tab id="history" label="History"/>
2005-12-19 05:23:14 +01:00
</tabs>
2014-01-17 09:10:46 +01:00
<tabpanels class="dialog-main-timeframe">
2005-12-19 05:23:14 +01:00
<template id="timesheet.edit.notes"/>
2014-03-11 10:59:35 +01:00
<template id="timesheet.edit.general"/>
2005-12-19 05:23:14 +01:00
<template id="timesheet.edit.links"/>
2008-08-04 14:48:01 +02:00
<template id="timesheet.edit.customfields"/>
2009-09-10 10:20:27 +02:00
<template id="timesheet.edit.history"/>
2005-12-19 05:23:14 +01:00
</tabpanels>
</tabbox>
</row>
2014-03-11 14:13:50 +01:00
<row class="dialogOperators">
2014-03-11 10:59:35 +01:00
<description value="User" for="ts_owner"/>
<menulist >
<menupopup id="ts_owner" no_lang="1" class="et2_fullWidth"/>
</menulist>
2014-03-11 16:50:30 +01:00
<description/>
2016-04-13 18:37:01 +02:00
<description value="Status" disabled="@no_ts_status"/>
2014-03-11 10:59:35 +01:00
<menulist span="3">
2016-04-13 18:37:01 +02:00
<menupopup statustext="select a status of the timesheet" id="ts_status" class="et2_fullWidth" empty_label="please select" disabled="@no_ts_status"/>
2014-03-11 10:59:35 +01:00
</menulist>
<description/>
</row>
2014-03-11 19:06:54 +01:00
<row disabled="!@ts_modified" class="dialogOperators">
2005-12-19 05:23:14 +01:00
<description value="Last modified"/>
2014-06-12 10:25:51 +02:00
<menulist>
<menupopup type="select-account" id="ts_modifier" readonly="true"/>
</menulist>
2014-03-11 16:50:30 +01:00
<description/>
2014-06-12 10:25:51 +02:00
<date-time id="ts_modified" readonly="true" align="left"/>
2005-12-19 05:23:14 +01:00
</row>
2014-03-11 14:13:50 +01:00
<row class="dialogFooterToolbar">
2014-03-11 10:59:35 +01:00
<hbox orient="0" span="all">
2005-12-19 05:23:14 +01:00
<hbox>
2013-11-27 08:21:32 +01:00
<button statustext="Edit this entry" label="Edit" id="button[edit]" image="edit" background_image="1"/>
<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" label="Save" id="button[save]" image="save" background_image="1"/>
<button statustext="Applies the changes made" label="Apply" id="button[apply]" image="apply" background_image="1"/>
<button statustext="closes the window without saving the changes" label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
2005-12-19 05:23:14 +01:00
<html id="js"/>
</hbox>
2013-12-05 12:03:36 +01:00
<button align="right" statustext="Delete this entry" label="Delete" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete')" image="delete" background_image="1"/>
2013-11-27 08:21:32 +01:00
<button align="right" statustext="Restore this entry" label="Undelete" id="button[undelete]" image="undelete" background_image="1"/>
2005-12-19 05:23:14 +01:00
</hbox>
</row>
</rows>
</grid>
</template>
2015-02-17 10:55:05 +01:00
</overlay>