2005-12-19 05:23:14 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- $Id$ -->
|
|
|
|
<overlay>
|
2013-09-03 16:42:46 +02:00
|
|
|
<template id="timesheet.index.dates" template="" lang="" group="0" version="1.2.001" >
|
2014-07-09 00:06:04 +02:00
|
|
|
<hbox>
|
2006-03-21 23:18:29 +01:00
|
|
|
<description value="Start"/>
|
2006-03-27 00:11:58 +02:00
|
|
|
<date id="startdate"/>
|
2006-03-21 23:18:29 +01:00
|
|
|
<description value="End"/>
|
2011-05-06 15:31:33 +02:00
|
|
|
<date statustext="Leave it empty for a full week" id="enddate"/>
|
2006-03-21 23:18:29 +01:00
|
|
|
</hbox>
|
|
|
|
</template>
|
2009-04-01 15:00:46 +02:00
|
|
|
<template id="timesheet.index.add" template="" lang="" group="0" version="1.7.001">
|
2013-08-20 14:06:41 +02:00
|
|
|
<buttononly label="Add" id="add" onclick="egw.open('timesheet');"/>
|
2006-09-12 12:37:13 +02:00
|
|
|
</template>
|
2011-04-16 23:45:13 +02:00
|
|
|
<template id="timesheet.index.rows" template="" lang="" group="0" version="1.9.001">
|
2005-12-19 05:23:14 +01:00
|
|
|
<grid width="100%">
|
|
|
|
<columns>
|
2014-08-06 12:58:04 +02:00
|
|
|
<column/>
|
2005-12-19 05:23:14 +01:00
|
|
|
<column width="15%"/>
|
|
|
|
<column width="50%"/>
|
|
|
|
<column/>
|
2006-09-12 12:37:13 +02:00
|
|
|
<column/>
|
2009-03-23 10:53:03 +01:00
|
|
|
<column disabled="@no_ts_quantity"/>
|
|
|
|
<column disabled="@no_ts_unitprice"/>
|
|
|
|
<column disabled="@no_ts_total"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
<column disabled="@no_owner_col"/>
|
2009-03-23 10:53:03 +01:00
|
|
|
<column disabled="@no_ts_status"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row class="th">
|
2014-07-30 16:17:38 +02:00
|
|
|
<nextmatch-sortheader label="ID" id="ts_id"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
<nextmatch-sortheader label="Date" id="ts_start"/>
|
2009-03-23 10:53:03 +01:00
|
|
|
<grid spacing="0" padding="0">
|
2006-09-12 17:21:23 +02:00
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row disabled="@pm_integration=full">
|
2013-11-27 19:08:55 +01:00
|
|
|
<nextmatch-filterheader id="ts_project" no_lang="1" options="All projects" search="false"/>
|
2006-09-12 17:21:23 +02:00
|
|
|
</row>
|
|
|
|
<row disabled="!@pm_integration=full">
|
2014-07-09 00:06:04 +02:00
|
|
|
<nextmatch-entryheader id="pm_id" no_lang="1" blur="All projects" only_app="projectmanager"/>
|
2006-09-12 17:21:23 +02:00
|
|
|
</row>
|
2009-09-26 13:17:19 +02:00
|
|
|
<row>
|
2014-01-31 17:52:07 +01:00
|
|
|
<nextmatch-customfilter id="linked" options="link-entry"/>
|
2009-09-26 13:17:19 +02:00
|
|
|
</row>
|
2006-09-12 17:21:23 +02:00
|
|
|
<row>
|
|
|
|
<nextmatch-sortheader label="Title" id="ts_title"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
2007-07-10 09:34:30 +02:00
|
|
|
<nextmatch-sortheader label="Category" id="cat_id"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
<vbox>
|
|
|
|
<nextmatch-sortheader label="Duration" id="ts_duration"/>
|
2011-05-06 15:31:33 +02:00
|
|
|
<date-duration id="duration" readonly="true" options=",h,,,1"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</vbox>
|
2014-07-09 00:06:04 +02:00
|
|
|
<vbox>
|
2007-07-10 09:34:30 +02:00
|
|
|
<nextmatch-sortheader label="Quantity" id="ts_quantity"/>
|
|
|
|
<textbox type="float" id="quantity" readonly="true" precision="3"/>
|
|
|
|
</vbox>
|
2005-12-19 05:23:14 +01:00
|
|
|
<nextmatch-sortheader label="Price" id="ts_unitprice"/>
|
|
|
|
<vbox>
|
|
|
|
<nextmatch-sortheader label="Total" id="ts_total"/>
|
2006-09-12 12:37:13 +02:00
|
|
|
<textbox type="float" id="price" readonly="true" precision="2"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</vbox>
|
2011-05-06 15:31:33 +02:00
|
|
|
<nextmatch-filterheader id="ts_owner" no_lang="1" options="User" class="$cont[ownerClass]"/>
|
2013-09-20 11:34:49 +02:00
|
|
|
<nextmatch-filterheader id="ts_status" options="Status"/>
|
2009-03-23 16:23:45 +01:00
|
|
|
<nextmatch-customfields id="customfields"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</row>
|
2013-11-21 01:21:16 +01:00
|
|
|
<row class="$row_cont[cat_id] $row_cont[class]">
|
2014-07-30 16:17:38 +02:00
|
|
|
<description id="${row}[ts_id]"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
<date-time id="${row}[ts_start]" readonly="true" options=",8"/>
|
2014-07-09 00:06:04 +02:00
|
|
|
<vbox>
|
2005-12-19 05:23:14 +01:00
|
|
|
<link id="${row}[ts_link]" no_lang="1"/>
|
2014-06-04 21:29:35 +02:00
|
|
|
<description id="${row}[ts_title]" no_lang="1" class="ts_title $row_cont[titleClass]"/>
|
|
|
|
<description id="${row}[ts_description]" class="ts_description" no_lang="1"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</vbox>
|
2006-09-12 12:37:13 +02:00
|
|
|
<menulist class="noWrap">
|
2011-05-06 15:31:33 +02:00
|
|
|
<menupopup type="select-cat" id="${row}[cat_id]" readonly="true"/>
|
2006-09-12 12:37:13 +02:00
|
|
|
</menulist>
|
2006-03-27 00:11:58 +02:00
|
|
|
<date-duration id="${row}[ts_duration]" readonly="true" options=",h,,,1"/>
|
2011-05-06 15:31:33 +02:00
|
|
|
<textbox type="float" id="${row}[ts_quantity]" no_lang="1" readonly="true" precision="3"/>
|
|
|
|
<description id="${row}[ts_unitprice]" no_lang="1"/>
|
|
|
|
<textbox type="float" id="${row}[ts_total]" no_lang="1" readonly="true" precision="2"/>
|
2006-09-12 12:37:13 +02:00
|
|
|
<menulist class="$cont[ownerClass]">
|
2005-12-19 05:23:14 +01:00
|
|
|
<menupopup type="select-account" id="${row}[ts_owner]" readonly="true"/>
|
|
|
|
</menulist>
|
2009-03-23 10:53:03 +01:00
|
|
|
<menulist>
|
|
|
|
<menupopup id="${row}[ts_status]" readonly="true"/>
|
|
|
|
</menulist>
|
2008-10-15 18:37:23 +02:00
|
|
|
<customfields-list id="$row" readonly="true"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
2011-04-16 23:45:13 +02:00
|
|
|
<template id="timesheet.index" template="" lang="" group="0" version="1.9.001">
|
2014-03-12 11:12:29 +01:00
|
|
|
<nextmatch id="nm" options="timesheet.index.rows" header_left="timesheet.index.dates"/>
|
2005-12-19 05:23:14 +01:00
|
|
|
</template>
|
|
|
|
</overlay>
|