mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
139 lines
6.0 KiB
XML
139 lines
6.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
|
|
<!-- $Id: edit.xet 52376 2015-04-01 20:03:04Z nathangray $ -->
|
|
<overlay>
|
|
<template id="timesheet.view.general" template="" lang="" group="0" version="1.7.002">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width = "120"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<et2-description value="Project" for="ts_project"></et2-description>
|
|
<et2-hbox disabled="@pm_integration=none">
|
|
<et2-link-entry id="pm_id" onchange="app.timesheet.pm_id_changed" onlyApp="projectmanager" placeholder="None"></et2-link-entry>
|
|
</et2-hbox>
|
|
<et2-hbox disabled="@pm_integration=full" span="all">
|
|
<et2-textbox id="ts_project" maxlength="80" placeholder="@ts_project_blur"></et2-textbox>
|
|
</et2-hbox>
|
|
</row>
|
|
<row disabled="@ts_viewtype">
|
|
<et2-description value="Unitprice" for="ts_unitprice"></et2-description>
|
|
<et2-hbox disabled="@pm_integration=none" >
|
|
<et2-number id="ts_unitprice" span="all" width="30%"></et2-number>
|
|
<projectmanager-pricelist id="pl_id" width="70%" 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"/>
|
|
</et2-hbox>
|
|
</row>
|
|
<row class="row" disabled="!@ts_viewtype">
|
|
<et2-description value="comment"></et2-description>
|
|
<et2-textarea id="ts_description_short" rows="5" cols="50"></et2-textarea>
|
|
</row>
|
|
<row class="row" disabled="@ts_viewtype">
|
|
<et2-description value="Quantity" for="ts_quantity"></et2-description>
|
|
<et2-number statustext="empty if identical to duration" id="ts_quantity" precision="3" placeholder="@ts_quantity_blur"></et2-number>
|
|
</row>
|
|
<row class="row" disabled="@ts_viewtype">
|
|
<et2-description value="Category" for="cat_id"></et2-description>
|
|
<et2-select-cat span="all" id="cat_id" application="timesheet" emptyLabel="None"></et2-select-cat>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="timesheet.view.notes" template="" lang="" group="0" version="1.5.001">
|
|
<et2-textarea id="ts_description" rows="9" cols="70" height="250" resizeRatio="0"></et2-textarea>
|
|
</template>
|
|
<template id="timesheet.view.customfields" template="" lang="" group="0" version="1.5.001">
|
|
<customfields sub-type="@info_type" />
|
|
</template>
|
|
<template id="timesheet.view.ownership" template="" lang="" group="0" version="16.1.00">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width = "120"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<et2-description value="User" for="ts_owner"></et2-description>
|
|
<et2-select id="ts_owner" noLang="1"></et2-select>
|
|
</row>
|
|
<row>
|
|
<et2-description></et2-description>
|
|
<et2-date-time id="ts_created" readonly="true" align="left"></et2-date-time>
|
|
</row>
|
|
<row disabled="!@ts_modified">
|
|
<et2-description value="Last modified"></et2-description>
|
|
<et2-select-account id="ts_modifier" readonly="true"></et2-select-account>
|
|
</row>
|
|
<row>
|
|
<et2-description></et2-description>
|
|
<et2-date-time id="ts_modified" readonly="true" align="left"></et2-date-time>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
<template id="timesheet.view" template="" lang="" group="0" version="1.9.002">
|
|
<grid border="1" width="100%">
|
|
<columns>
|
|
<column width = "120"/>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row disabled="@hidebuttons" class="dialogHeadbar" >
|
|
<et2-hbox span="all" width="100%">
|
|
<et2-button statustext="Saves this entry and add a new one" id="button[save_new]" image="save_new"></et2-button>
|
|
<et2-button statustext="Applies the changes made" id="button[apply]" image="apply"></et2-button>
|
|
<et2-button statustext="Delete this entry" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete')" image="delete"></et2-button>
|
|
<et2-number id="ts_id" readonly="true" class="entry_id" precision="0"></et2-number>
|
|
</et2-hbox>
|
|
</row>
|
|
<row disabled="!@showsearchbuttons" class="dialogHeadbar">
|
|
<et2-hbox span="all" width="100%">
|
|
<et2-button label="Search" id="button[search]" image="search"></et2-button>
|
|
<et2-button label="Cancel" id="button[cancelsearch]" image="cancel"></et2-button>
|
|
</et2-hbox>
|
|
</row>
|
|
<row disabled="@ts_viewtype">
|
|
<et2-description value="Title"></et2-description>
|
|
<et2-textbox id="ts_title" maxlength="255" class="et2_required" tabindex="1" placeholder="@ts_title_blur"></et2-textbox>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Date"></et2-description>
|
|
<et2-date id="ts_start" required="1" ></et2-date>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Starttime"></et2-description>
|
|
<et2-date-timeonly id="start_time" dataFormat="H:i"></et2-date-timeonly>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Duration" for="ts_duration"></et2-description>
|
|
<et2-date-duration id="ts_duration" ></et2-date-duration>
|
|
</row>
|
|
<row>
|
|
<et2-description value="or endtime" class="et2_noWrap"></et2-description>
|
|
<et2-date-timeonly id="end_time" dataFormat="H:i"></et2-date-timeonly>
|
|
</row>
|
|
<row>
|
|
<et2-description value="Status"></et2-description>
|
|
<et2-select statustext="select a status of the timesheet" id="ts_status" emptyLabel="please select"></et2-select>
|
|
</row>
|
|
<row>
|
|
<et2-vbox span="all" width="100%">
|
|
<et2-details id="notes" summary="Description">
|
|
<template id="timesheet.view.notes"/>
|
|
</et2-details>
|
|
<et2-details id="general" summary="Details">
|
|
<template id="timesheet.view.general"/>
|
|
</et2-details>
|
|
<et2-details id="customfields" summary="Custom Fields">
|
|
<template id="timesheet.view.customfields"/>
|
|
</et2-details>
|
|
<et2-details id="ownership" summary="Ownership">
|
|
<template id="timesheet.view.ownership"/>
|
|
</et2-details>
|
|
</et2-vbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</template>
|
|
</overlay> |