Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision da8ea67e

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID da8ea67e10a6c5183d2b973fdf8c1423053e8979
  • Vorgänger 1d42407b
  • Nachfolger 394f67b5

Neues kivitendo Design Aenderungen in templates/webpages/f*

Dateien in file/* financial_controlling_report/* financial_overview/*
fu/*

Unterschiede anzeigen:

templates/webpages/file/import_dialog.html
1
[%- USE L -%][%- USE LxERP -%][%- USE JavaScript -%]
1
[% USE L %]
2
[% USE LxERP %]
3
[% USE JavaScript %]
2 4

  
3 5
<form method="post" id="file_import_form" action="controller.pl">
4
 <table>
6

  
7
<table class="tbl-list">
5 8
  <thead>
6
   <tr>
7
    <th class="listheading" width="3%">[% L.checkbox_tag(source.chk_action _ '_checkall') %]</th>
8
    <th class="listheading" width="11%">[% source.chkall_title %]</th>
9
     <th>[% LxERP.t8("Attached Filename") %]</th>
10
   </tr>
9
    <tr>
10
      <th>[% L.checkbox_tag(source.chk_action _ '_checkall') %]</th>
11
      <th>[% source.chkall_title %]</th>
12
      <th>[% LxERP.t8("Attached Filename") %]</th>
13
    </tr>
11 14
  </thead>
12 15
  <tbody>
13
   [%- FOREACH file = source.files %]
14
   <tr class="listrow[% loop.count % 2 %]">
15
   <td>[%- L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
16
   <td></td>
17
   <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
18
   </tr>
19
   [%- END %]
16
    [% FOREACH file = source.files %]
17
      <tr class="listrow[% loop.count % 2 %]">
18
        <td>[% L.checkbox_tag(source.chk_action _ '[]', 'value'=file.name, 'class'=source.chk_action) %]</td>
19
        <td></td>
20
        <td><span id="[% "filename_" _ file.name %]">[% file.filename %]</span></td>
21
     </tr>
22
   [% END %]
20 23
  </tbody>
21
 </table>
24
</table>
22 25

  
23
 <p>
24
   [%- L.button_tag("kivi.File.importaction(" _ SELF.object_id _ ",'" _ SELF.object_type _ "','" _ SELF.file_type _ "','" _ source.name _ "','" _ source.path _ "','"_ source.chk_action _ "');", LxERP.t8('Continue'), id => "import_cont_btn") %]</td>
25
   [%- L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel')  , class => "submit") %]</td></tr>
26
 </p>
26
<div class="buttons">
27
  [% L.button_tag("kivi.File.importaction(" _ SELF.object_id _ ",'" _ SELF.object_type _ "','" _ SELF.file_type _ "','" _ source.name _ "','" _ source.path _ "','"_ source.chk_action _ "');", LxERP.t8('Continue'), id => "import_cont_btn") %]</td>
28
  [% L.button_tag("kivi.File.importclose();" , LxERP.t8('Cancel')  , class => "submit") %]</td></tr>
29
</div>
27 30

  
28 31
</form>
29 32

  
templates/webpages/file/list.html
1
[%- USE LxERP -%][% USE L %][% USE HTML %]
2
[%- IF ! json %]
3
<div id="[% file_type %]_list_[% object_type %]">
4
[%- END %]
5
<div class="listtop">[% title %]</div>
1
[% USE LxERP %]
2
[% USE L %]
3
[% USE HTML %]
6 4

  
7
<div style="padding-bottom: 15px">
8
[%- SET can_rename = 0 %]
9
[%- FOREACH source = SOURCES %]
10
 <table style="width: 100%" >
5
<!-- PENDENT: Ueberpruefen, Tabelle und Buttons -->
6
[% IF ! json %]
7
  <div id="[% file_type %]_list_[% object_type %]">
8
[% END %]
9

  
10
<div class="wrapper">
11
<h2>[% title %]</h2>
12

  
13
[% SET can_rename = 0 %]
14
[% FOREACH source = SOURCES %]
15

  
16
<table class="tbl-list">
17
  <caption>[% source.title %]</caption>
11 18
  <thead>
12
   <tr><th class="listheading" colspan="6">[% source.title %]</th></tr>
13
   <tr>
14
  [%- SET checkname = source.chk_action %]
15
  [%- IF is_global %]
16
  [%- SET checkname = object_type _ '_' _ source.chk_action %]
17
  [%- END %]
18
  [%- IF edit_attachments %]
19
 <script type="text/javascript">
20
  <!--
21
$(function() {
22
  $('#[% checkname %]_checkall').checkall('INPUT[name="[% checkname %][]"]');
23
});
24
 -->
25
</script>
26
    <th class="listheading" width="3%">[% L.checkbox_tag(checkname _ '_checkall') %]</th>
27
    <th class="listheading" width="7%">[% source.chkall_title %]</th>
28
  [%- END %]
29
    <th class="listheading" width="15%"><b>[%  LxERP.t8('Date') %]</b></th>
30
    <th class="listheading" width="20%"><b>[%  source.file_title %]</b></th>
31
  [%- IF file_type == 'image' %]
32
    <th class="listheading" width="15%"><b>[%  LxERP.t8('Title') %]</b></th>
33
    <th class="listheading" width="10%">
34
    <b>[%  LxERP.t8('ImagePreview') %]</b>
35
    </th>
36
    <th class="listheading" width="30%"><b>[%  LxERP.t8('Description') %]</b></th>
37
  [%- ELSE %]
38
    <th class="listheading" width="40%"></th>
39
  [%- END %]
19
    <tr>
20
      [% SET checkname = source.chk_action %]
21
      [% IF is_global %]
22
        [% SET checkname = object_type _ '_' _ source.chk_action %]
23
      [% END %]
24
      [% IF edit_attachments %]
25
        <th>
26
          <script type="text/javascript"><!--
27
            $(function() { $('#[% checkname %]_checkall').checkall('INPUT[name="[% checkname %][]"]'); });
28
          --></script>
29
          [% L.checkbox_tag(checkname _ '_checkall') %]
30
        </th>
31
        <th>[% source.chkall_title %]</th>
32
      [% END %]
33
      <th>[%  LxERP.t8('Date') %]</th>
34
      <th>[%  source.file_title %]</th>
35
      [% IF file_type == 'image' %]
36
        <th>[%  LxERP.t8('Title') %]</th>
37
        <th>[%  LxERP.t8('ImagePreview') %]</th>
38
        <th>[%  LxERP.t8('Description') %]</th>
39
      [% ELSE %]
40
        <th></th>
41
      [% END %]
40 42
   </tr>
41 43
  </thead>
42

  
43 44
  <tbody>
44
  [%- FOREACH file = source.files %]
45
   <tr class="listrow[% loop.count % 2 %]">
46
    [%- IF edit_attachments %]
47
    <td>[%- L.checkbox_tag(checkname _ '[]', 'value'=file.id _ '_' _ file.version, 'class'=checkname) %]</td>
48
    <td></td>
49
    [%- END %]
50
    <td>[% file.mtime_as_timestamp_s %][% L.hidden_tag("version[]", file.version) %]</td>
51
    <td><a href="controller.pl?action=File/download&id=[% file.id %][%- IF file.version %]&version=[%- file.version %][%- END %]">
52
        <span id="[% "filename_" _ file.id %][%- IF file.version %]_[% file.version %][%- END %]">[% file.file_name %]</span></a></td>
53
    [%- IF file_type == 'image' %]
54
    <td>[% file.title %]</td>
55
    <td>
56
      <img src="controller.pl?action=File/download&id=[% file.id %][%- IF file.version %]&version=[%- file.version %][%- END %]" alt="[% file.title %]" width="64px">
57
    </td>
58
    <td>[% file.description %]</td>
59
    [%- ELSE %]
60
    <td></td>
61
    [%- END %]
62
   </tr>
63
  [%- END %]
45
    [% FOREACH file = source.files %]
46
      <tr>
47
        [% IF edit_attachments %]
48
          <td>[% L.checkbox_tag(checkname _ '[]', 'value'=file.id _ '_' _ file.version, 'class'=checkname) %]</td>
49
          <td></td>
50
        [% END %]
51
        <td>[% file.mtime_as_timestamp_s %][% L.hidden_tag("version[]", file.version) %]</td>
52
        <td>
53
          <a href="controller.pl?action=File/download&id=[% file.id %][% IF file.version %]&version=[% file.version %][% END %]">
54
          <span id="[% "filename_" _ file.id %][% IF file.version %]_[% file.version %][% END %]">[% file.file_name %]</span></a>
55
        </td>
56
        [% IF file_type == 'image' %]
57
          <td>[% file.title %]</td>
58
          <td><img src="controller.pl?action=File/download&id=[% file.id %][% IF file.version %]&version=[% file.version %][% END %]" alt="[% file.title %]"></td>
59
          <td>[% file.description %]</td>
60
        [% ELSE %]
61
          <td></td>
62
        [% END %]
63
      </tr>
64
    [% END %]
64 65
  </tbody>
65
 </table
66
  <div>
67
  [%- IF edit_attachments %]
68
    [%- IF source.can_import %]
66
</table>
67

  
68
<div class="buttons">
69
  [% IF edit_attachments %]
70
    [% IF source.can_import %]
69 71
      [% L.button_tag("kivi.File.unimport(" _ object_id _ ",'" _ object_type _ "','" _ file_type _ "','" _ checkname _ "');",source.chk_title) %]
70
    [%- ELSE %]
71
      [%- IF source.can_delete %]
72
    [% ELSE %]
73
      [% IF source.can_delete %]
72 74
        [% L.button_tag("kivi.File.delete("   _ object_id _ ",'" _ object_type _ "','" _ file_type _ "','" _ checkname _ "'," _ is_global _ ");",  source.chk_title) %]
73
      [%- END %]
74
    [%- END %]
75
  [%- END %]
76
  [%- IF source.can_rename %]
77
    [%- can_rename = 1 %]
75
      [% END %]
76
    [% END %]
77
  [% END %]
78
  [% IF source.can_rename %]
79
    [% can_rename = 1 %]
78 80
    [% L.button_tag("kivi.File.rename(" _ object_id _ ",'" _ object_type _ "','" _ file_type _ "','" _ checkname _ "'," _ is_global _ ");",  source.rename_title ) %]
79
  [%- END %]
80
  [%- IF source.can_upload %]
81
  [% END %]
82
  [% IF source.can_upload %]
81 83
    [% L.button_tag("kivi.File.upload(" _ object_id _ ",'" _ object_type _ "','" _ file_type _ "','" _ source.upload_title _ "'," _ is_global _ ");", source.upload_title ) %]
82
  [%- END %]
83
  [%- IF source.can_import %]
84
  [% END %]
85
  [% IF source.can_import %]
84 86
    [% L.button_tag("kivi.File.import("   _ object_id _ ",'" _ object_type _ "','" _ file_type _ "','" _ source.name _ "','" _ source.path _"');",  source.import_title ) %]
85
  [%- END %]
86
  </div>
87
[%- END %]
88
  <div></div><div>
89
[% L.button_tag("kivi.File.update(" _ object_id _ ",'" _ object_type _ "','" _ file_type _ "'," _ is_global _ ");", LxERP.t8('Update')) %]
90
  </div>
91
</div>
92
[%- IF ! json %]
87
  [% END %]
88
</div><!-- /.buttons -->
89

  
90
[% END #FOREACH SOURCES %]
91

  
92
<div class="buttons">
93
  [% L.button_tag("kivi.File.update(" _ object_id _ ",'" _ object_type _ "','" _ file_type _ "'," _ is_global _ ");", LxERP.t8('Update')) %]
93 94
</div>
94
[%- UNLESS is_global %]
95
[%- IF can_rename %]
96
[% INCLUDE 'file/rename_dialog.html' -%]
97
[%- END %]
98
[%- END %]
99
[%- END %]
95

  
96
</div><!-- /.wrapper -->
97

  
98

  
99
[% IF ! json %]
100
  </div>
101
  [% UNLESS is_global %]
102
    [% IF can_rename %]
103
      [% INCLUDE 'file/rename_dialog.html' %]
104
    [% END %]
105
  [% END %]
106
[% END %]
templates/webpages/file/rename_dialog.html
1
[%- USE LxERP -%][%- USE L -%]
2
<div class="loading" id="rename_dialog_[% file_type %]" style="display:none" >
3
 <div style="padding-bottom: 15px">
4
  <div>
5
    <table>
6
  <tr><td colspan="2" id="rename_extra_text_[% file_type %]"></td></tr>
7
  <tr><td colspan="2">[%- LxERP.t8("Please modify filename") %]:</td></tr>
8
  <tr><td colspan="2"><input size='40'  name="newfilename" id="newfilename_id_[% file_type %]" value=""></td></tr>
9
  <tr><td><input type="hidden"          name="next_ids"    id="next_ids_id_[% file_type %]"    value="">
10
          <input type="hidden"          name="sessionfile" id="sessionfile_id_[% file_type %]" value="">
11
          <input type="hidden"          name="rename_id"   id="rename_id_id_[% file_type %]"   value="">
12
          <input type="hidden"          name="is_global"   id="is_global_id_[% file_type %]"   value="">
13
          [% L.button_tag("return kivi.File.renameaction('" _ file_type _ "');", LxERP.t8('Continue'), id => "rename_cont_btn") %]</td>
14
      <td>[% L.button_tag("return kivi.File.renameclose('" _ file_type _"');" , LxERP.t8('Cancel')  , class => "submit") %]</td></tr>
15
 </table>
16
  </div>
17
 </div>
18
</div>
1
[% USE LxERP %]
2
[% USE L %]
3

  
4
<div class="loading" id="rename_dialog_[% file_type %]" style="display:none">
5
<div class="wrapper">
6

  
7
<table class="tbl-plain test">
8
  <tbody>
9
    <tr>
10
      <td id="rename_extra_text_[% file_type %]"></td>
11
    </tr>
12
    <tr>
13
      <td>
14
        <span class="label above">[% LxERP.t8("Please modify filename") %]:</span>
15
        <input class="wi-lightwide" name="newfilename" id="newfilename_id_[% file_type %]" value="">
16
      </td>
17
    </tr>
18
    <tr>
19
      <td> 
20
        <input type="hidden" name="next_ids" id="next_ids_id_[% file_type %]" value="">
21
        <input type="hidden" name="sessionfile" id="sessionfile_id_[% file_type %]" value="">
22
        <input type="hidden" name="rename_id" id="rename_id_id_[% file_type %]" value="">
23
        <input type="hidden" name="is_global" id="is_global_id_[% file_type %]" value="">
24
        [% L.button_tag("return kivi.File.renameaction('" _ file_type _ "');", LxERP.t8('Continue'), id => "rename_cont_btn", class="button") %] 
25
        [% L.button_tag("return kivi.File.renameclose('" _ file_type _"');" , LxERP.t8('Cancel') , class => "submit button neutral") %]
26
      </td>
27
    </tr>
28
  </tbody>
29
</table>
30
  
31
</div><!-- /.wrapper -->
32
</div><!-- /.loading /Rename Dialog -->
33

  
34

  
35

  
templates/webpages/file/upload_dialog.html
1
[%- USE L -%][%- USE LxERP -%][%- USE JavaScript -%]
1
[% USE L %]
2
[% USE LxERP %]
3
[% USE JavaScript %]
2 4

  
3 5
<form method="post" id="upload_form" enctype="multipart/form-data" action="controller.pl">
4
  [% SET multiple = 'true' %]
5
  [% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %]
6
 <table>
7
  <tr>
8
   <td>[%- LxERP.t8("Filename") %]:</td><td>
9
   <input type="file" name="uploadfiles[]" multiple="[% multiple %]" id="upload_files" size="45" accept="[% SELF.accept_types %]" onchange="kivi.File.allow_upload_submit();"></td>
10
  </tr>
11
  [% IF SELF.object_type == 'shop_image' %]
6
[% SET multiple = 'true' %]
7
[% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %]
8

  
9

  
10
<table class="tbl-horizontal">
11
  <tbody>
12 12
    <tr>
13
      <td>[% LxERP.t8("Title") %]</td>
13
      <th>[% LxERP.t8("Filename") %]:</th>
14
      <td><input type="file" name="uploadfiles[]" multiple="[% multiple %]" id="upload_files" size="45" accept="[% SELF.accept_types %]" onchange="kivi.File.allow_upload_submit();"></td>
15
    </tr>
16
    [% IF SELF.object_type == 'shop_image' %]
17
    <tr>
18
      <th>[% LxERP.t8("Title") %]</th>
14 19
      <td>[% L.input_tag("title",'') %]</td>
15 20
    </tr>
16 21
    <tr>
17
      <td>[% LxERP.t8("Description") %]</td>
22
      <th>[% LxERP.t8("Description") %]</th>
18 23
      <td>[% L.input_tag("description",'') %]</td>
19 24
    </tr>
20
  [% END %]
21
 </table>
22

  
23
 <p>
24
  <input value="[%- LxERP.t8("Upload file") %]" id="upload_selected_button"
25
         onclick="kivi.File.upload_selected_files([% SELF.object_id %],'[% SELF.object_type %]','[% SELF.file_type %]',[% SELF.maxsize %],[% SELF.is_global %]);"
26
         type="button" disabled >
27
  <a href="#" onclick="kivi.File.reset_upload_form();">[%- LxERP.t8("Reset") %]</a>
28
  <a href="#" onclick="$('#files_upload').dialog('close');">[% LxERP.t8("Cancel") %]</a>
29
 </p>
25
    [% END %]
26
  </tbody>
27
</table>
30 28

  
31
 <hr>
29
<div class="buttons">
30
<input value="[% LxERP.t8("Upload file") %]" id="upload_selected_button" onclick="kivi.File.upload_selected_files([% SELF.object_id %],'[% SELF.object_type %]','[% SELF.file_type %]',[% SELF.maxsize %],[% SELF.is_global %]);" type="button" disabled >
31
<a href="#" onclick="kivi.File.reset_upload_form();" class="button neutral">[% LxERP.t8("Reset") %]</a>
32
<a href="#" onclick="$('#files_upload').dialog('close');" class="button neutral">[% LxERP.t8("Cancel") %]</a>
33
</div>
32 34

  
33
 <div id="upload_result"><p>&nbsp;</p></div>
35
<div id="upload_result"><p></p></div>
34 36

  
35 37
</form>
templates/webpages/financial_controlling_report/_filter.html
1
[%- USE T8 %]
2
[%- USE L %]
3
[%- USE LxERP %]
4
[%- USE HTML %]
5
[%- SET style='width: 400px' %]
6
<form action='controller.pl' method='post' id='filter_form'>
7
<div class='filter_toggle'>
8
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
9
  [% SELF.filter_summary %]
10
</div>
11
<div class='filter_toggle' style='display:none'>
12
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
13
 <table id='filter_table'>
14
  <tr>
15
   <th align="right">[% 'Customer' | $T8 %]</th>
16
   <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, style=style) %]</td>
17
  </tr>
18
  <tr>
19
   <th align="right">[% 'Customer Number' | $T8 %]</th>
20
   <td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike, style=style) %]</td>
21
  </tr>
22
  <tr>
23
   <th align="right">[% 'Order Number' | $T8 %]</th>
24
   <td>[% L.input_tag('filter.ordnumber:substr::ilike', filter.ordnumber_substr__ilike, style=style) %]</td>
25
  </tr>
26
  <tr>
27
   <th align="right">[% 'Project Number' | $T8 %]</th>
28
   <td>[% L.input_tag('filter.globalproject.projectnumber:substr::ilike', filter.globalproject.projectnumber_substr__ilike, style=style) %]</td>
29
  </tr>
30
  <tr>
31
   <th align="right">[% 'Project Type' | $T8 %]</th>
32
   <td>[% L.select_tag('filter.globalproject.project_type_id', SELF.project_types, default=filter.globalproject.project_type_id, title_key='description', with_empty=1, style=style) %]</td>
33
  </tr>
34
  <tr>
35
   <th align="right">[% LxERP.t8('Transaction description') %]</th>
36
   <td>[% L.input_tag('filter.transaction_description:substr::ilike', filter.transaction_description_substr__ilike, style=style) %]</td>
37
  </tr>
38
  <tr>
39
   <th align="right">[% 'Order Date' | $T8 %] [% 'From Date' | $T8 %]</th>
40
   <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, cal_align = 'BR') %]</td>
41
  </tr>
42
  <tr>
43
   <th align="right">[% 'Order Date' | $T8 %] [% 'To Date' | $T8 %]</th>
44
   <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, cal_align = 'BR') %]</td>
45
  </tr>
46
 </table>
1
[% USE T8 %]
2
[% USE L %]
3
[% USE LxERP %]
4
[% USE HTML %]
47 5

  
48
[% L.hidden_tag('sort_by', FORM.sort_by) %]
49
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
50
[% L.hidden_tag('page', FORM.page) %]
51
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
52
</div>
6
<form action="controller.pl" method="post" id="filter_form">
7
<div class="wrapper">
53 8

  
9
[% BLOCK filter_toggle_panel %]
10
<table id="filter_table" class="tbl-horizontal">
11
  <tbody>
12
    <tr>
13
      <th>[% 'Customer' | $T8 %]</th>
14
      <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, class='wi-normal') %]</td>
15
    </tr>
16
    <tr>
17
      <th>[% 'Customer Number' | $T8 %]</th>
18
      <td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike, class='wi-normal') %]</td>
19
    </tr>
20
    <tr>
21
      <th>[% 'Order Number' | $T8 %]</th>
22
      <td>[% L.input_tag('filter.ordnumber:substr::ilike', filter.ordnumber_substr__ilike, class='wi-normal') %]</td>
23
    </tr>
24
    <tr>
25
      <th>[% 'Project Number' | $T8 %]</th>
26
      <td>[% L.input_tag('filter.globalproject.projectnumber:substr::ilike', filter.globalproject.projectnumber_substr__ilike, class='wi-normal') %]</td>
27
    </tr>
28
    <tr>
29
      <th>[% 'Project Type' | $T8 %]</th>
30
      <td>[% L.select_tag('filter.globalproject.project_type_id', SELF.project_types, default=filter.globalproject.project_type_id, title_key='description', with_empty=1, class='wi-normal') %]</td>
31
    </tr>
32
    <tr>
33
      <th>[% LxERP.t8('Transaction description') %]</th>
34
      <td>[% L.input_tag('filter.transaction_description:substr::ilike', filter.transaction_description_substr__ilike, class='wi-normal') %]</td>
35
    </tr>
36
    <tr>
37
      <th>[% 'Order Date' | $T8 %] [% 'From Date' | $T8 %]</th>
38
      <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, cal_align = 'BR', class='wi-small') %]</td>
39
    </tr>
40
    <tr>
41
      <th>[% 'Order Date' | $T8 %] [% 'To Date' | $T8 %]</th>
42
      <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, cal_align = 'BR', class='wi-small') %]</td>
43
    </tr>
44
  </tbody>
45
</table>
46

  
47
<div class="buttons">
48
  [% L.hidden_tag('sort_by', FORM.sort_by) %]
49
  [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
50
  [% L.hidden_tag('page', FORM.page) %]
51
  [% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
52
</div><!-- ./buttons -->
53
[% END # /BLOCK filter_toggle_panel %]
54

  
55
[% INCLUDE 'common/toggle_panel.html' %]
56

  
57
</div><!-- /.wrapper -->
54 58
</form>
templates/webpages/financial_controlling_report/report_bottom.html
1 1
[% USE L %]
2
[%- L.paginate_controls(models=models) %]
2
<div class="buttons">
3
  [% L.paginate_controls(models=models) %]
4
</div>
templates/webpages/financial_controlling_report/report_top.html
1
[%- USE L %]
2
[%- PROCESS 'financial_controlling_report/_filter.html' filter=SELF.models.filtered.laundered %]
3
 <hr>
1
[% USE L %]
2
[% PROCESS 'financial_controlling_report/_filter.html' filter=SELF.models.filtered.laundered %]
3

  
templates/webpages/financial_overview/report_top.html
1
[%- USE L %][% USE LxERP %]
1
[% USE L %]
2
[% USE LxERP %]
3

  
2 4
<form method="post" id="form" action="controller.pl">
3
 [% L.hidden_tag('action', 'FinancialOverview/list') %]
4
 <a href="[% SELF.url_for(action='list', year=(SELF.year - 1), subtotals_per_quarter=SELF.subtotals_per_quarter, salesman_id=SELF.salesman_id) %]">&laquo; [%- LxERP.t8("Prior year") %]: [% SELF.year - 1 %]</a>
5
 |
6 5

  
7
 [% LxERP.t8("Current year") %]:
8
 [% L.select_tag('year', YEARS_TO_LIST, default=SELF.year, onchange='$("#form").submit();') %]
6
<div class="select-item control-panel">
7
  [% L.hidden_tag('action', 'FinancialOverview/list') %]
8
  <div class="floating-boxes">
9
    <div class="floating-box">
10
      <a href="[% SELF.url_for(action='list', year=(SELF.year - 1), subtotals_per_quarter=SELF.subtotals_per_quarter, salesman_id=SELF.salesman_id) %]" class="button neutral" style="float: left;">&laquo; [% LxERP.t8("Prior year") %]: [% SELF.year - 1 %]</a> &nbsp;
11
    </div>
12
    <div class="floating-box">
13
      <span class="label">[% LxERP.t8("Current year") %]</span>
14
      [% L.select_tag('year', YEARS_TO_LIST, default=SELF.year, onchange='$("#form").submit();', class='wi-verysmall') %] &nbsp; &nbsp;
15
    </div>
16
    [% IF SELF.year < (SELF.current_year + 5) %]
17
    <div class="floating-box">
18
      <a href="[% SELF.url_for(action='list', year=(SELF.year + 1), subtotals_per_quarter=SELF.subtotals_per_quarter, salesman_id=SELF.salesman_id) %]" class="button neutral" style="float:left;">[% LxERP.t8("Following year") %]: [% SELF.year + 1 %] &raquo;</a>
19
    </div>
20
    [% END %]
21
  </div><!-- /.floating-boxes -->
22
  <div class="floating-boxes">
23
    <div class="floating-box">
24
      [% L.checkbox_tag('subtotals_per_quarter', checked=SELF.subtotals_per_quarter, label=LxERP.t8('Subtotals per quarter'), onchange='$("#form").submit();') %]
25
    </div>
26
    <div class="floating-box">
27
      <span class="label">[% LxERP.t8("Salesperson") %]</span> [% L.select_tag('salesman_id', SELF.employees, with_empty=1, title_key='name', onchange='$("#form").submit();', default=SELF.salesman_id) %]
28
    </div>
29
  </div>
9 30

  
10
 [% IF SELF.year < (SELF.current_year + 5) %]
11
  |
12
  <a href="[% SELF.url_for(action='list', year=(SELF.year + 1), subtotals_per_quarter=SELF.subtotals_per_quarter, salesman_id=SELF.salesman_id) %]">[%- LxERP.t8("Following year") %]: [% SELF.year + 1 %] &raquo;</a>
13
 [% END %]
14
 <br>
15 31

  
16
 [% L.checkbox_tag('subtotals_per_quarter', checked=SELF.subtotals_per_quarter, label=LxERP.t8('Subtotals per quarter'), onchange='$("#form").submit();') %]
17
 <br>
32
</div><!-- /.select-item -->
18 33

  
19
 [% LxERP.t8("Salesperson") %]:
20
 [% L.select_tag('salesman_id', SELF.employees, with_empty=1, title_key='name', onchange='$("#form").submit();', default=SELF.salesman_id) %]</p>
21 34
</form>
22
<hr>
templates/webpages/fu/add_edit.html
1
[%- USE T8 %]
2
[%- USE L %]
3
[%- USE HTML %]
1
[% USE T8 %]
2
[% USE L %]
3
[% USE HTML %]
4 4
<h1>[% title %]</h1>
5 5

  
6
 <script type="text/javascript">
7
   $(function(){ document.Form.subject.focus(); });
8
 </script>
6
<script type="text/javascript">
7
  $(function(){ document.Form.subject.focus(); });
8
</script>
9 9

  
10
 <form action="fu.pl" method="post" name="Form" id="form">
10
<div class="wrapper">
11
<form action="fu.pl" method="post" name="Form" id="form">
11 12

  
12
  [%- IF SAVED_MESSAGE %]
13
[% IF SAVED_MESSAGE %]
13 14
  <p>[% SAVED_MESSAGE %]</p>
14
  [%- END %]
15
[% END %]
15 16

  
16
  <input type="hidden" name="id" value="[% HTML.escape(id) %]">
17
  <input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
18
  <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
19
  <input type="hidden" name="POPUP_MODE" value="[% HTML.escape(POPUP_MODE) %]">
17
<input type="hidden" name="id" value="[% HTML.escape(id) %]">
18
<input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
19
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
20
<input type="hidden" name="POPUP_MODE" value="[% HTML.escape(POPUP_MODE) %]">
20 21

  
21
  <p>
22
   <table>
23
    <tr>
24
     <td valign="top">[% 'Follow-Up for user' | $T8 %]</td>
25
     <td valign="top">
26
      <select name="created_for_user">
27
       [%- FOREACH row = EMPLOYEES %]
28
       <option value="[% HTML.escape(row.id) %]"[% IF created_for_user == row.id %] selected[% END %]>
29
        [%- IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
30
       </option>
31
       [%- END %]
22

  
23
<table class="tbl-horizontal">
24
<tbody>
25
  <tr>
26
    <th>[% 'Follow-Up for user' | $T8 %]</th>
27
    <td>
28
      <select name="created_for_user" class="wi-wider">
29
        [% FOREACH row = EMPLOYEES %]
30
          <option value="[% HTML.escape(row.id) %]"[% IF created_for_user== row.id %] selected[% END %]>
31
            [% IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]
32
          </option>
33
        [% END %]
32 34
      </select>
33
     </td>
34
    </tr>
35
    </td>
36
  </tr>
37
  <tr>
38
    <th>[% 'Follow-Up Date' | $T8 %]</th>
39
    <td>[% L.date_tag('follow_up_date', follow_up_date) %]</td>
40
  </tr>
41
  <tr>
42
    <th>[% 'Subject' | $T8 %]</th>
43
    <td><input type="text" name="subject" value="[% HTML.escape(subject) %]" class="wi-wider"></td>
44
  </tr>
45
  <tr>
46
    <th>[% 'Body' | $T8 %]</th>
47
    <td><textarea class="wi-wider" rows="10" name="body">[% HTML.escape(body) %]</textarea>
48
    </td>
49
  </tr>
50
</tbody>
51
</table>
35 52

  
36
    <tr>
37
     <td valign="right">[% 'Follow-Up Date' | $T8 %]</td>
38
     <td>
39
       [% L.date_tag('follow_up_date', follow_up_date) %]
40
    </tr>
41 53

  
42
    <tr>
43
     <td valign="right">[% 'Subject' | $T8 %]</td>
44
     <td><input name="subject" value="[% HTML.escape(subject) %]" size="50"></td>
45
    </tr>
46 54

  
55
[% IF POPUP_MODE %]
56
<div class="buttons">
57
  <input type="hidden" name="action" value="dispatcher">
58
  <input type="submit" name="action_save" value="[% 'Save' | $T8 %]">
59
  [% IF id %]
60
    <input type="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
61
    <input type="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
62
  [% END %]
63
  <input type="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
64
</div>
65

  
66
[% IF FOLLOW_UPS.size %]
67

  
68
<h2>[% 'Existing pending follow-ups for this item' | $T8 %]</h2>
69

  
70
<table class="tbl-list">
71
  <thead>
47 72
    <tr>
48
     <td valign="right" align="top">[% 'Body' | $T8 %]</td>
49
     <td align="top"><textarea cols="50" rows="10" name="body">[% HTML.escape(body) %]</textarea></td>
50
    </tr>
51
   </table>
52
  </p>
53

  
54
 [%- IF POPUP_MODE %]
55
  <p>
56
   <input type="hidden" name="action" value="dispatcher">
57
   <input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
58
   [%- IF id %]
59
   <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
60
   <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
61
   [%- END %]
62
   <input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
63
  </p>
64

  
65
  [%- IF FOLLOW_UPS.size %]
66
  <hr height="3" noshade>
67

  
68
  <h2>[% 'Existing pending follow-ups for this item' | $T8 %]</h2>
69

  
70
  <p>
71
   <table>
72
    <tr>
73
     <th class="listheading">[% 'Follow-Up Date' | $T8 %]</th>
74
     <th class="listheading">[% 'Subject' | $T8 %]</th>
75
     <th class="listheading">[% 'Created by' | $T8 %]</th>
76
     <th class="listheading">[% 'Follow-up for' | $T8 %]</th>
73
      <th>[% 'Follow-Up Date' | $T8 %]</th>
74
      <th>[% 'Subject' | $T8 %]</th>
75
      <th>[% 'Created by' | $T8 %]</th>
76
      <th>[% 'Follow-up for' | $T8 %]</th>
77 77
    </tr>
78

  
79
    [%- FOREACH row = FOLLOW_UPS %]
78
  </thead>
79
  <tbody>
80
    [% FOREACH row = FOLLOW_UPS %]
80 81
    <tr class="listrow[% loop.count % 2 %]">
81
     <td valign="top">[% HTML.escape(row.follow_up_date) %]</td>
82
     <td valign="top"><a href="fu.pl?action=edit&id=[% HTML.escape(row.id) %][% IF POPUP_MODE %]&POPUP_MODE=1[% END %]">[% HTML.escape(row.subject) %]</a></td>
83
     <td valign="top">[% HTML.escape(row.created_by_name) %]</td>
84
     <td valign="top">[% HTML.escape(row.created_for_user_name) %]</td>
82
      <td>[% HTML.escape(row.follow_up_date) %]</td>
83
      <td><a href="fu.pl?action=edit&id=[% HTML.escape(row.id) %][% IF POPUP_MODE %]&POPUP_MODE=1[% END %]">[% HTML.escape(row.subject) %]</a></td>
84
      <td>[% HTML.escape(row.created_by_name) %]</td>
85
      <td>[% HTML.escape(row.created_for_user_name) %]</td>
85 86
    </tr>
86
    [%- END %]
87
   </table>
88
  </p>
89
  [%- END %]
90
  [%- END %]
87
    [% END %]
88
  </tbody>
89
</table>
90

  
91
[% END %]
92
[% END %]
91 93

  
92
  [%- FOREACH row = LINKS %]
94
[% FOREACH row = LINKS %]
93 95
  <input type="hidden" name="trans_id_[% loop.count %]"   value="[% HTML.escape(row.trans_id) %]">
94 96
  <input type="hidden" name="trans_type_[% loop.count %]" value="[% HTML.escape(row.trans_type) %]">
95 97
  <input type="hidden" name="trans_info_[% loop.count %]" value="[% HTML.escape(row.trans_info) %]">
96
  [%- END %]
98
[% END %]
99

  
100
<input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">
97 101

  
98
  <input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">
99
 </form>
102
</form>
103
</div><!-- /.wrapper -->
templates/webpages/fu/edit_access_rights.html
1
[%- USE T8 %]
1
[% USE T8 %]
2 2
[% USE HTML %]
3

  
3 4
<h1>[% title %]</h1>
4 5

  
6
<div class="wrapper">
7

  
8
  [% IF SAVED_MESSAGE %]
9
  <p class="message">[% SAVED_MESSAGE %]</p>
10
  [% END %]
11

  
12
  <p>[% 'Allow the following users access to my follow-ups:' | $T8 %]</p>
13

  
14
  <form action="fu.pl" method="post" name="Form" id="form">
15

  
16
    <table class="tbl-list width-moderate">
17
      <thead>
18
        <tr>
19
          <th>[% 'User' | $T8 %]</th>
20
          <th>[% 'Allow access' | $T8 %]</th>
21
        </tr>
22
      </thead>
23
      <tbody>
24
        [% FOREACH row = EMPLOYEES %]
25
        [% UNLESS row.login == login %]
26
        <tr>
27
          <td>
28
            <input type="hidden" name="employee_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
29
            [% IF row.name %]
30
              [% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])
31
            [% ELSE %]
32
              [% HTML.escape(row.login) %]
33
            [% END %]
34
          </td>
35
          <td class="horizontal">
36
            <input type="radio" id="access_[% HTML.escape(row.id) %]_yes" name="access_[% HTML.escape(row.id) %]" value="1"[% IF row.access %] checked[% END %]>
37
            <label for="access_[% HTML.escape(row.id) %]_yes">[% 'Yes' | $T8 %]</label> &nbsp;
38
            <input type="radio" id="access_[% HTML.escape(row.id) %]_no" name="access_[% HTML.escape(row.id) %]" value=""[% UNLESS row.access %] checked[% END %]>
39
            <label for="access_[% HTML.escape(row.id) %]_no">[% 'No' | $T8 %]</label>
40
          </td>
41
        </tr>
42
        [% END %]
43
        [% END %]
44
      </tbody>
45
    </table>
46

  
47
    <input type="hidden" name="rowcount" value="[% EMPLOYEES.size %]">
48
  </form>
49

  
50
</div>
5 51

  
6
 [%- IF SAVED_MESSAGE %]
7
 <p>[% SAVED_MESSAGE %]</p>
8
 [%- END %]
9

  
10
 <p>[% 'Allow the following users access to my follow-ups:' | $T8 %]</p>
11

  
12
 <form action="fu.pl" method="post" name="Form" id="form">
13
  <p>
14
   <table>
15
    <tr>
16
     <td class="listheading">[% 'User' | $T8 %]</td>
17
     <td class="listheading">[% 'Allow access' | $T8 %]</td>
18
    </tr>
19

  
20
    [%- FOREACH row = EMPLOYEES %]
21
    [%- UNLESS row.login == login %]
22
    <input type="hidden" name="employee_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
23

  
24
    <tr class="listrow[% loop.count % 2 %]">
25
     <td>[% IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]</td>
26
     <td>
27
      <input type="radio" id="access_[% HTML.escape(row.id) %]_yes" name="access_[% HTML.escape(row.id) %]" value="1"[% IF row.access %] checked[% END %]>
28
      <label for="access_[% HTML.escape(row.id) %]_yes">[% 'Yes' | $T8 %]</label>
29
      <input type="radio" id="access_[% HTML.escape(row.id) %]_no" name="access_[% HTML.escape(row.id) %]" value=""[% UNLESS row.access %] checked[% END %]>
30
      <label for="access_[% HTML.escape(row.id) %]_no">[% 'No' | $T8 %]</label>
31
     </td>
32
    </tr>
33
    [%- END %]
34
    [%- END %]
35
   </table>
36
  </p>
37

  
38
  <input type="hidden" name="rowcount" value="[% EMPLOYEES.size %]">
39
 </form>
templates/webpages/fu/report_bottom.html
1
[%- USE T8 %]
1
[% USE T8 %]
2 2
[% USE HTML%]
3
 <input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
4
 [%- FOREACH item = HIDDEN %]
5
 <input type="hidden" name="[% HTML.escape(item.key) %]" value="[% HTML.escape(item.value) %]">
6
 [%- END %]
3

  
4
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
5
[% FOREACH item = HIDDEN %]
6
  <input type="hidden" name="[% HTML.escape(item.key) %]" value="[% HTML.escape(item.value) %]">
7
[% END %]
7 8
</form>
templates/webpages/fu/report_for_todo_list.html
1
[%- USE T8 %]
1
[% USE T8 %]
2 2
[% USE HTML %]
3
<h1>[% 'Unfinished follow-ups' | $T8 %]</h1>
4 3

  
5
<form action="fu.pl" method="post" name="TODOFollowUpsForm">
6
 <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
7
 <input type="hidden" name="rowcount" value="[% FOLLOW_UPS.size %]">
4
<div class="wrapper center">
8 5

  
9
  <table width="100%">
10
   <tr>
11
    <td class="listheading">&nbsp;</td>
12
    <td class="listheading">[% 'Follow-Up Date' | $T8 %]</td>
13
    <td class="listheading">[% 'Created on' | $T8 %]</td>
14
    <td class="listheading">[% 'Subject' | $T8 %]</td>
15
    <td class="listheading">[% 'Reference' | $T8 %]</td>
16
    <td class="listheading">[% 'Created by' | $T8 %]</td>
17
   </tr>
6
  <form action="fu.pl" method="post" name="TODOFollowUpsForm">
7
    <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
8
    <input type="hidden" name="rowcount" value="[% FOLLOW_UPS.size %]">
9

  
10
    <table class="tbl-list width-moderate">
11
      <caption>[% 'Unfinished follow-ups' | $T8 %]</caption>
12
      <thead>
13
        <tr>
14
          <th>&nbsp;</th>
15
          <th>[% 'Follow-Up Date' | $T8 %]</th>
16
          <th>[% 'Created on' | $T8 %]</th>
17
          <th>[% 'Subject' | $T8 %]</th>
18
          <th>[% 'Reference' | $T8 %]</th>
19
          <th>[% 'Created by' | $T8 %]</th>
20
        </tr>
21
      </thead>
22
      <tbody>
23
        [% FOREACH row = FOLLOW_UPS %] 
24
        <tr>
25
          <td> 
26
          <input type="hidden" name="follow_up_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
27
          <input type="checkbox" name="selected_[% loop.count %]" value="1">
28
          </td>
29
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.follow_up_date) %]</a></td>
30
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.created_on) %]</a></td>
31
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.subject) %]</a></td>
32
          <td>[% IF row.reference_link %]<a href="[% row.reference_link | html %]" class="alternative">[% END %][% HTML.escape(row.reference) %][% IF row.reference_link %]</a>[% END %]</td>
33
          <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.created_by_name) %]</a></td>
34
        </tr>
35
        [% END %] 
36
      </tbody>
37
    </table>
38

  
39
    <div class="buttons">
40
      <input type="hidden" name="action" value="dispatcher">
41
      <input type="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
42
      <input type="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
43
    </div>
44

  
45
  </form>
46
</div>
18 47

  
19
   [%- FOREACH row = FOLLOW_UPS %]
20
   <tr class="listrow[% loop.count % 2 %]">
21
    <td>
22
     <input type="hidden" name="follow_up_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
23
     <input type="checkbox" name="selected_[% loop.count %]" value="1">
24
    </td>
25
    <td>[% HTML.escape(row.follow_up_date) %]</td>
26
    <td>[% HTML.escape(row.created_on) %]</td>
27
    <td><a href="[% edit_url | html %][% HTML.escape(row.id) %]">[% HTML.escape(row.subject) %]</a></td>
28
    <td>[% IF row.reference_link %]<a href="[% row.reference_link | html %]">[% END %][% HTML.escape(row.reference) %][% IF row.reference_link %]</a>[% END %]</td>
29
    <td>[% HTML.escape(row.created_by_name) %]</td>
30
   </tr>
31
   [%- END %]
32
  </table>
33 48

  
34
 <p>
35
  <input type="hidden" name="action" value="dispatcher">
36
  <input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
37
  <input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
38
 </p>
39
</form>
templates/webpages/fu/report_top.html
1
[%- IF SAVED_MESSAGE %]
2
  <p>[% SAVED_MESSAGE %]</p>
3
[%- END %]
1
[% IF SAVED_MESSAGE %]
2
  <p class="message">[% SAVED_MESSAGE %]</p>
3
[% END %]
4 4

  
5
[%- IF OPTIONS.size %]
6
<p>
7
 [%- FOREACH option = OPTIONS %]
8
 [%- option %][% UNLESS loop.last %]<br>[% END %]
9
 [%- END %]
10
</p>
11
[%- END %]
5
[% IF OPTIONS.size %]
6
  <p>
7
  [% FOREACH option = OPTIONS %]
8
    [% option %][% UNLESS loop.last %]<br>[% END %]
9
  [% END %]
10
  </p>
11
[% END %]
12 12

  
13 13
<form action="fu.pl" method="post" name="Form" id="form">
templates/webpages/fu/search.html
1
[%- USE T8 %]
2
[%- USE L %]
1
[% USE T8 %]
2
[% USE L %]
3 3
[% USE HTML %]
4
<h1>[% title %]</h1>
5

  
6
 <script type="text/javascript">
7
   $(function(){ document.Form.subject.focus(); });
8
 </script>
9

  
10
 <form action="fu.pl" method="post" name="Form" id="form">
11
  <p>
12
   <table>
13
    <tr>
14
     <td align="right">[% 'Created for' | $T8 %]</td>
15
     <td>
16
      <select name="created_for">
17
       <option></option>
18
       [%- FOREACH row = EMPLOYEES %]
19
       <option value="[% HTML.escape(row.id) %]">
20
        [%- IF row.name %]
21
        [%- HTML.escape(row.name) %] ([% HTML.escape(row.login) %])
22
        [%- ELSE %]
23
        [%- HTML.escape(row.login) %]
24
        [%- END %]
25
       </option>
26
       [%- END %]
27
      </select>
28
     </td>
29
    </tr>
30

  
31
    <tr>
32
     <td align="right">[% 'Subject' | $T8 %]</td>
33
     <td><input name="subject" size="20"></td>
34
    </tr>
35

  
36
    <tr>
37
     <td align="right">[% 'Body' | $T8 %]</td>
38
     <td><input name="body" size="20"></td>
39
    </tr>
40

  
41
    <tr>
42
     <td align="right">[% 'Reference' | $T8 %]</td>
43
     <td><input name="reference" size="20"></td>
44
    </tr>
45 4

  
46
    <tr>
47
     <td align="right">[% 'Follow-Up Date' | $T8 %]</td>
48
     <td>
49
      [% 'From' | $T8 %]
50
      [% L.date_tag('follow_up_date_from') %]
51
      [% 'To (time)' | $T8 %]
52
      [% L.date_tag('follow_up_date_to') %]
53
     </td>
54
    </tr>
55

  
56
    <tr>
57
     <td align="right">[% 'Created on' | $T8 %]</td>
58
     <td>
59
      [% 'From' | $T8 %]
60
      [% L.date_tag('itime_from') %]
61
      [% 'To (time)' | $T8 %]
62
      [% L.date_tag('itime_to') %]
63
     </td>
64
    </tr>
5
<h1>[% title %]</h1>
65 6

  
66
    <tr>
67
     <td align="right">[% 'Include in Report' | $T8 %]</td>
68
     <td>
7
<script type="text/javascript">
8
  $(function(){ document.Form.subject.focus(); });
9
</script>
69 10

  
70
      <table>
71
       <tr>
72
        <td>
73
         <input type="checkbox" name="due_only" id="due_only" value="1" checked>
74
         <label for="due_only">[% 'Only due follow-ups' | $T8 %]</label>
75
        </td>
11
<form action="fu.pl" method="post" name="Form" id="form">
76 12

  
13
<div class="wrapper">
14
  <table class="tbl-horizontal">
15
    <tbody>
16
      <tr>
17
        <th>[% 'Created for' | $T8 %]</th>
77 18
        <td>
78
         <input type="checkbox" name="all_users" id="all_users" value="1" checked>
79
         <label for="all_users">[% 'Other users\' follow-ups' | $T8 %]</label>
19
          <select name="created_for" class="wi-wider">
20
            <option></option>
21
            [% FOREACH row = EMPLOYEES %]
22
            <option value="[% HTML.escape(row.id) %]">
23
              [% IF row.name %]
24
                [% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])
25
              [% ELSE %]
26
                [% HTML.escape(row.login) %]
27
              [% END %]
28
            </option>
29
            [% END %]
30
          </select>
80 31
        </td>
81
       </tr>
82

  
83
       <tr>
32
      </tr>
33
      <tr>
34
        <th>[% 'Subject' | $T8 %]</th>
35
        <td><input type="text" name="subject" class="wi-wider"></td>
36
      </tr>
37
      <tr>
38
        <th>[% 'Body' | $T8 %]</th>
39
        <td><input type="text" name="body" class="wi-wider"></td>
40
      </tr>
41
      <tr>
42
        <th>[% 'Reference' | $T8 %]</th>
43
        <td><input type="text" name="reference" class="wi-wider"></td>
44
      </tr>
45
      <tr>
46
        <th>[% 'Follow-Up Date' | $T8 %]</th>
84 47
        <td>
85
         <input type="checkbox" name="not_done" id="not_done" value="1" checked>
86
         <label for="not_done">[% 'Not done yet' | $T8 %]</label>
48
          [% 'From'      | $T8 %] [% L.date_tag('follow_up_date_from') %]
49
          [% 'To (time)' | $T8 %] [% L.date_tag('follow_up_date_to'  ) %]
87 50
        </td>
88

  
51
      </tr>
52
      <tr>
53
        <th>[% 'Created on' | $T8 %]</th>
89 54
        <td>
90
         <input type="checkbox" name="done" id="done" value="1">
91
         <label for="done">[% 'Done' | $T8 %]</label>
55
          [% 'From'      | $T8 %] [% L.date_tag('itime_from') %]
56
          [% 'To (time)' | $T8 %] [% L.date_tag('itime_to'  ) %]
92 57
        </td>
93
       </tr>
94
      </table>
58
      </tr>
59
    </tbody>
60
  </table>
61
</div>
95 62

  
96
     </td>
97
    </tr>
63
<div class="form-addition control-panel">
64
  <h3>[% 'Include in Report' | $T8 %]</h3>
65
  <div class="list">
66
    <input type="checkbox" name="due_only" id="due_only" value="1" checked>   <label for="due_only">[% 'Only due follow-ups' | $T8 %]</label> <br>
67
    <input type="checkbox" name="all_users" id="all_users" value="1" checked> <label for="all_users">[% 'Other users\' follow-ups' | $T8 %]</label>  <br>
68
    <input type="checkbox" name="not_done" id="not_done" value="1" checked>   <label for="not_done">[% 'Not done yet' | $T8 %]</label>  <br>
69
    <input type="checkbox" name="done" id="done" value="1">                   <label for="done">[% 'Done' | $T8 %]</label>
70
  </div>
71
</div>
98 72

  
99
   </table>
100
  </p>
101
 </form>
73
</form>

Auch abrufbar als: Unified diff