1 | <?xml version="1.0"?> |
---|
2 | <!-- $Id: pricelist.list.xet 20891 2006-03-28 11:48:29Z ralfbecker $ --> |
---|
3 | <overlay> |
---|
4 | <template id="projectmanager.pricelist.list.rows" template="" lang="" group="0" version="0.5.001"> |
---|
5 | <grid width="100%"> |
---|
6 | <columns> |
---|
7 | <column/> |
---|
8 | <column disabled="@standard_only"/> |
---|
9 | <column disabled="@standard_only"/> |
---|
10 | <column/> |
---|
11 | <column/> |
---|
12 | <column/> |
---|
13 | </columns> |
---|
14 | <rows> |
---|
15 | <row class="th"> |
---|
16 | <nextmatch-sortheader label="Title" id="pl_title"/> |
---|
17 | <vbox> |
---|
18 | <nextmatch-filterheader id="pm_id" options="Project" no_lang="1"/> |
---|
19 | <nextmatch-sortheader id="pl_customertitle" label="Customer title"/> |
---|
20 | </vbox> |
---|
21 | <nextmatch-filterheader options="Availible" id="pl_billable"/> |
---|
22 | <vbox> |
---|
23 | <nextmatch-sortheader label="Price / Unit" id="pl_price"/> |
---|
24 | <nextmatch-sortheader id="pl_validsince" label="Valid since"/> |
---|
25 | </vbox> |
---|
26 | <vbox> |
---|
27 | <nextmatch-sortheader label="Last modified" id="pl_modified"/> |
---|
28 | <nextmatch-sortheader id="pl_modifier" label="Modified by"/> |
---|
29 | </vbox> |
---|
30 | <description value="Actions" class="noPrint"/> |
---|
31 | </row> |
---|
32 | <row class="row"> |
---|
33 | <textbox id="${row}[pl_title]" no_lang="1" readonly="true"/> |
---|
34 | <vbox> |
---|
35 | <menulist> |
---|
36 | <menupopup id="${row}[pm_id]" no_lang="1" readonly="true"/> |
---|
37 | </menulist> |
---|
38 | <description id="${row}[pl_customertitle]" no_lang="1"/> |
---|
39 | </vbox> |
---|
40 | <menulist> |
---|
41 | <menupopup id="${row}[pl_billable]" readonly="true" options="No"/> |
---|
42 | </menulist> |
---|
43 | <vbox> |
---|
44 | <textbox type="float" max="2" id="${row}[pl_price]" readonly="true" label="%s / $row_cont[pl_unit]" no_lang="1"/> |
---|
45 | <date id="${row}[pl_validsince]" readonly="true"/> |
---|
46 | </vbox> |
---|
47 | <vbox> |
---|
48 | <date-time id="${row}[pl_modified]" readonly="true"/> |
---|
49 | <menulist> |
---|
50 | <menupopup type="select-account" id="${row}[pl_modifier]" readonly="true"/> |
---|
51 | </menulist> |
---|
52 | </vbox> |
---|
53 | <hbox class="noPrint"> |
---|
54 | <button image="view" label="View" id="view[$row_cont[pl_id]]" statustext="View this price" onclick="window.open(egw::link('/index.php','menuaction=projectmanager.uipricelist.view&pl_id=$row_cont[pl_id]'),'_blank','dependent=yes,width=600,height=450,scrollbars=yes,status=yes'); return false;"/> |
---|
55 | <button image="edit" label="Edit" id="edit[$row_cont[pl_id]]" statustext="Edit this price" onclick="window.open(egw::link('/index.php','menuaction=projectmanager.uipricelist.edit&pl_id=$row_cont[pl_id]'),'_blank','dependent=yes,width=600,height=450,scrollbars=yes,status=yes'); return false;"/> |
---|
56 | <button id="delete[$row_cont[pm_id]:$row_cont[pl_id]]" image="delete" label="Delete" statustext="Delete this price" onclick="return confirm('Delete this price');"/> |
---|
57 | </hbox> |
---|
58 | </row> |
---|
59 | </rows> |
---|
60 | </grid> |
---|
61 | </template> |
---|
62 | <template id="projectmanager.pricelist.list" template="" lang="" group="0" version="0.5.001"> |
---|
63 | <grid width="100%"> |
---|
64 | <columns> |
---|
65 | <column/> |
---|
66 | </columns> |
---|
67 | <rows> |
---|
68 | <row disabled="!@msg"> |
---|
69 | <description span="all" class="redItalic" align="center" id="msg" no_lang="1"/> |
---|
70 | </row> |
---|
71 | <row> |
---|
72 | <nextmatch options="projectmanager.pricelist.list.rows" id="nm"/> |
---|
73 | </row> |
---|
74 | <row class="noPrint"> |
---|
75 | <button label="Add" id="add" onclick="window.open(egw::link('/index.php','menuaction=projectmanager.uipricelist.edit'),'_blank','dependent=yes,width=600,height=450,scrollbars=yes,status=yes'); return false;"/> |
---|
76 | </row> |
---|
77 | </rows> |
---|
78 | </grid> |
---|
79 | </template> |
---|
80 | </overlay> |
---|