Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9684230e

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 9684230e49fedf374dce6768a87aef4ac0aa75e4
  • Vorgänger 394f67b5
  • Nachfolger 0d009fe6

Neues kivitendo Design Aenderungen in templates/webpages/gl/..

Unterschiede anzeigen:

templates/webpages/gl/form_footer.html
1
[%- USE HTML %]
2
[%- USE LxERP %]
3
[%- USE T8 %]
4
[%- USE L %]
5
      <tr class=listtotal>
6
      <th colspan="3" align=right class=listtotal> [% LxERP.format_amount(totaldebit, 2) | html %]</th>
7
      <th align=right class=listtotal> [% LxERP.format_amount(totalcredit, 2) | html %]</th>
8
      <td colspan=6></td>
9
      </tr>
10
    </table>
11
    </td>
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE T8 %]
4
[% USE L %]
5
  </tbody>
6
  <tfoot>
7
    <tr>
8
      <th></th>
9
      <th></th>
10
      <th class="numeric"> [% LxERP.format_amount(totaldebit, 2) | html %]</th>
11
      <th class="numeric"> [% LxERP.format_amount(totalcredit, 2) | html %]</th>
12
      <td colspan="2"></td>
13
      [% IF show_details %]<td colspan="3"></td>[% END %]
12 14
    </tr>
13
  </table>
14
  </td>
15
  </tr>
15
  </tfoot>
16 16
</table>
17
</div>
17
</div><!-- /.wrapper / see form_header.html -->
18
</div><!-- /#ui-tabs-basic-data -->
19

  
18 20
[% PROCESS 'webdav/_list.html' %]
19
</div>
21
<!-- /#ui-tabs-webdav -->
20 22

  
21
<hr size="3" noshade>
22 23
<input name=callback type=hidden value="[% callback %]">
23 24
<input name=bt_id    type=hidden value="[% bt_id %]">
24 25
<input name=bt_chart_id type=hidden value="[% bt_chart_id %]">
25 26

  
26
[%- IF id && follow_ups.size %]
27
[% IF id && follow_ups.size %]
27 28
  <p>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size , follow_ups_due) %]</p>
28
[%- END %]
29
[% END %]
30

  
31
</div><!-- /#ir_tabs.tabwidget -->
32

  
29 33
</form>
30 34

  
31
<script type="text/javascript">
32
 <!--
35
<script type="text/javascript"><!--
33 36
$(document).ready(function() {
34
  [%- SET row=0 %]
35
  [%- WHILE row < rowcount %]
36
   [%- SET row=row + 1 %]
37
  [% SET row=0 %]
38
  [% WHILE row < rowcount %]
39
   [% SET row=row + 1 %]
37 40
   $('#accno_id_[% row %]').on('set_item:ChartPicker', function(e, item) {
38 41
     kivi.GL.show_chart_balance(this);
39 42
     kivi.GL.update_taxes(this);
40 43
   });
41
  [%- END %]
44
  [% END %]
42 45
});
43
-->
44
</script>
46
--></script>
templates/webpages/gl/form_header-TEST.html
1
[%- USE HTML %]
2
[%- USE LxERP %]
3
[%- USE T8 %]
4
[%- USE L %]
5
<h1>[% title | html %]</h1>
6

  
7
[%- INCLUDE 'common/flash.html' %]
8

  
9
<script type="text/javascript">
10
  <!--
11
  function copy_debit_to_credit() {
12
    var txt = document.getElementsByName('debit_1')[0].value;
13
    document.getElementsByName('credit_2')[0].value = txt;
14
  };
15
  //-->
16
</script>
17
<script type="text/javascript" src="js/show_form_details.js"></script>
18
<script type="text/javascript" src="js/follow_up.js"></script>
19
<script type="text/javascript" src="js/kivi.Draft.js"></script>
20

  
21
<form method="post" name="gl" action="gl.pl" id="form">
22

  
23
[% FOREACH name IN [ 'id', 'closedto', 'locked', 'storno', 'storno_id', 'previous_id', 'previous_gldate' ] %]
24
  [% L.hidden_tag(name, $name) %]
25
[%- END %]
26

  
27
<input type="hidden" name="title" value="[% hide_title | html %]">
28
<input type="hidden" name="follow_up_trans_id_1" value="[% id | html %]">
29
<input type="hidden" name="follow_up_trans_type_1" value="gl_transaction">
30
<input type="hidden" name="follow_up_trans_info_1" value="[% id | html %]">
31
<input type="hidden" name="follow_up_rowcount" value="1">
32

  
33
<div id="ir_tabs" class="tabwidget">
34

  
35
<ul>
36
  <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
37
  [%- IF INSTANCE_CONF.get_webdav %]
38
    <li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li>
39
  [%- END %]
40
  [%- IF id %]
41
  [%- IF INSTANCE_CONF.get_doc_storage %]
42
    <li><a href="controller.pl?action=File/list&file_type=document&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Documents' | $T8 %]</a></li>
43
    <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li>
44
  [%- END %]
45
[%- END %]
46
</ul>
47

  
48

  
49
<div id="ui-tabs-basic-data">
50

  
51
<div class="message message_hint">
52
  [% 'Previous transnumber text' | $T8 %] <b>[% previous_id  %]</b> [% 'Previous transdate text' | $T8 %] [% previous_gldate %]
53
</div>
54

  
55
[% IF saved_message %]
56
  <div class="message message_hint">
57
    [% saved_message | html %]
58
  </div>
59
[% END %]
60

  
61

  
62

  
63

  
64
<table class="tbl-horizontal test">
65
  <tbody>
66
    <tr>
67
      <th>[% 'Reference' | $T8 %]</th>
68
      <td>[% L.input_tag('reference', reference, size="20", readonly="readonly") %]</td>
69
    </tr>
70
    <tr>
71
      <th>[% 'Transdate' | $T8 %]</th>
72
      <td>[% L.date_tag('transdate', transdate, readonly="readonly") %]</td>
73
    </tr>
74
    [%- IF id %]
75
    <tr>
76
      <th>[% 'ID' | $T8 %]</th>
77
      <td>[% L.input_tag('id', id, size="20", readonly="readonly") %]</td>
78
    </tr>
79
    <tr>
80
      <th>[% 'Gldate' | $T8 %]</th>
81
      <td>[% L.date_tag('gldate', gldate, readonly="1") %]</td>
82
    </tr>
83
    [%- END %]
84
    [%- IF ALL_DEPARTMENTS %]
85
    <tr>
86
      <th>[% 'Department' | $T8 %]</th>
87
      <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]</td>
88
    </tr>
89
    [%- END %]
90
    <tr>
91
      <th>[% 'Description' | $T8 %]</th>
92
      <td>[% L.areainput_tag('description', description, cols="50", readonly="readonly") %]</td>
93
    </tr>
94
    <tr>
95
      <th>[% 'VAT incl.' | $T8 %]</th>
96
      <td>[% L.checkbox_tag('taxincluded', checked="taxincluded") %]</td>
97
    </tr>
98
    [%- IF id %]
99
    <tr>
100
      <th>[% 'Employee' | $T8 %]</th>
101
      <td>[% L.input_tag('employee', employee, size="20", readonly="readonly") %]</td>
102
    </tr>
103
    [%- END %]
104
    <tr>
105
      <th>[% 'Special Transaction Type' | $T8 %]</th>
106
      <td>
107
        [% L.checkbox_tag('ob_transaction' checked="ob"_transaction) %] [% 'OB Transaction' | $T8 %]<br>
108
        [% L.checkbox_tag('cb_transaction' checked="cb"_transaction) %] [% 'CB Transaction' | $T8 %]
109
      </td>
110
    </tr>
111
    <tr>
112
      <th></th>
113
      <td></td>
114
    </tr>
115
  </tbody>
116
</table>
117

  
118

  
119

  
120
<div class="buttons positions">
121
  [% L.checkbox_tag('show_details', checked="show_details", onclick='show_form_details();', style='display:none;') %]
122
  [% 'Show details' | $T8 %]
123
</div>
124

  
125
<table class="tbl-list test">
126
  <thead>
127
    <tr>
128
      <th>[% 'Account' | $T8 %]</th>
129
      <th>[% 'Chart balance' | $T8 %]</th>
130
      <th>[% 'Debit' | $T8 %]</th>
131
      <th>[% 'Credit' | $T8 %]</th>
132
      <th>[% 'Tax' | $T8 %]</th>
133
      <th>[% 'Taxkey' | $T8 %]</th>
134
      [%- IF show_details %]
135
      <th>[% 'Source' | $T8 %]</th>
136
      <th>[% 'Memo' | $T8 %]</th>
137
      <th>[% 'Project Number' | $T8 %]</th>
138
      [%- END %]
139
    </tr>
140
  </thead>
141

  
142

  
143

  
templates/webpages/gl/form_header.html
1
[%- USE HTML %]
2
[%- USE LxERP %]
3
[%- USE T8 %]
4
[%- USE L %]
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE T8 %]
4
[% USE L %]
5 5
<h1>[% title | html %]</h1>
6 6

  
7
[%- INCLUDE 'common/flash.html' %]
8

  
9
<script type="text/javascript">
10
  <!--
7
<script type="text/javascript"><!--
11 8
  function copy_debit_to_credit() {
12 9
    var txt = document.getElementsByName('debit_1')[0].value;
13 10
    document.getElementsByName('credit_2')[0].value = txt;
14 11
  };
15
  //-->
16
  </script>
17
  <script type="text/javascript" src="js/show_form_details.js"></script>
12
  //--></script>
13
<script type="text/javascript" src="js/show_form_details.js"></script>
18 14
<script type="text/javascript" src="js/follow_up.js"></script>
19 15
<script type="text/javascript" src="js/kivi.Draft.js"></script>
20 16

  
21 17
<form method="post" name="gl" action="gl.pl" id="form">
22 18

  
23 19
[% FOREACH name IN [ 'id', 'closedto', 'locked', 'storno', 'storno_id', 'previous_id', 'previous_gldate' ] %]
24
[% L.hidden_tag(name, $name) %]
25
[%- END %]
20
  [% L.hidden_tag(name, $name) %]
21
[% END %]
26 22

  
27 23
<input type=hidden name=title value="[% hide_title | html %]">
28 24

  
......
32 28
<input type="hidden" name="follow_up_rowcount" value="1">
33 29

  
34 30
<div id="ir_tabs" class="tabwidget">
35
 <ul>
31

  
32
<ul>
36 33
  <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
37
[%- IF INSTANCE_CONF.get_webdav %]
38
  <li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li>
39
[%- END %]
40
[%- IF id %]
41
[%- IF INSTANCE_CONF.get_doc_storage %]
42
  <li><a href="controller.pl?action=File/list&file_type=document&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Documents' | $T8 %]</a></li>
43
  <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li>
44
[%- END %]
45
[%- END %]
46
 </ul>
47
 <div id="ui-tabs-basic-data">
48

  
49
<table width=100%>
50
[%- IF saved_message %]
51
  <tr>
52
    <td>[% saved_message | html %]</th>
53
  </tr>
54
[%- END %]
55

  
56
  <tr height="5"></tr>
57
  <tr>
58
    <td>
59
      <table width=100%>
60
        <tr>
61
          <td colspan="6" align="left">[% 'Previous transnumber text' | $T8 %] [% previous_id  %] . [% 'Previous transdate text' | $T8 %] [% previous_gldate %]</td>
62
        </tr>
63
        <tr>
64
          <th align=right>[% 'Reference' | $T8 %]</th>
65
          <td>[% L.input_tag('reference', reference,  size=20, readonly=readonly) %]</td>
66
          <td align=left>
67
            <table>
68
              <tr>
69
                <th align=right width=50% nowrap>[% 'Transdate' | $T8 %]</th>
70
                <td>[% L.date_tag('transdate', transdate, readonly=readonly) %]</td>
71
              </tr>
72
            </table>
73
          </td>
74
        </tr>
75
[%- IF id %]
76
        <tr>
77
          <th align=right>[% 'ID' | $T8 %]</th>
78
          <td>[% L.input_tag('id', id,  size=20, readonly=readonly) %]</td>
79
          <td align=left>
80
          <table>
81
              <tr>
82
                <th align=right width=50%>[% 'Gldate' | $T8 %]</th>
83
                <td align=left>[% L.date_tag('gldate', gldate, readonly=1) %]</td>
84
              </tr>
85
            </table>
86
          </td>
87
        </tr>
88
[%- END %]
89

  
90
[%- IF ALL_DEPARTMENTS %]
91
        <tr>
92
          <th align=right nowrap>[% 'Department' | $T8 %]</th>
93
          <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]</td>
94
        </tr>
95
[%- END %]
96

  
97
        <tr>
98
          <th align=right width=1%>[% 'Description' | $T8 %]</th>
99
          <td width=1%>[% L.areainput_tag('description', description, cols=50, readonly=readonly) %]</td>
100
          <td>
101
            <table>
102
              <tr>
103
                <th align=left>[% 'MwSt. inkl.' | $T8 %]</th>
104
                <td>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td>
105
              </tr>
106
            </table>
107
         </td>
108
[%- IF id %]
109
          <td align=left>
110
            <table width=100%>
111
              <tr>
112
                <th align=right width=50%>[% 'Mitarbeiter' | $T8 %]</th>
113
                <td align=left>[% L.input_tag('employee', employee, size=20, readonly=readonly) %]</td>
114
              </tr>
115
            </table>
116
          </td>
117
[%- END %]
118
        </tr>
119

  
120
      <tr>
121
       <td colspan=4>
122
        <table>
123
         <tr>
124
          <td>[% 'OB Transaction' | $T8 %] [% L.checkbox_tag('ob_transaction' checked=ob_transaction) %]</td>
125
          <td>[% 'CB Transaction' | $T8 %] [% L.checkbox_tag('cb_transaction' checked=cb_transaction) %]</td>
126
         </tr>
127
        </table>
128
       </td>
129
      </tr>
130
      <tr>
131
       <td width="1%" align="right" nowrap>[% 'Show details' | $T8 %]</td>
132
       <td width="1%">[% L.checkbox_tag('show_details', checked=show_details, onclick='show_form_details();') %]</td>
133
      </tr>
134

  
135
      <tr>
136
      <td colspan=4>
137
          <table width=100%>
138
           <tr class=listheading>
139
          <th class=listheading style="width:15%">[% 'Account' | $T8 %]</th>
140
          <th class=listheading style="width:10%">[% 'Chart balance' | $T8 %]</th>
141
          <th class=listheading style="width:10%">[% 'Debit' | $T8 %]</th>
142
          <th class=listheading style="width:10%">[% 'Credit' | $T8 %]</th>
143
          <th class=listheading style="width:10%">[% 'Tax' | $T8 %]</th>
144
          <th class=listheading style="width:5%">[% 'Taxkey' | $T8 %]</th>
145

  
146
[%- IF show_details %]
147
          <th class=listheading style="width:20%">[% 'Source' | $T8 %]</th>
148
          <th class=listheading style="width:20%">[% 'Memo' | $T8 %]</th>
149
          <th class=listheading style="width:20%">[% 'Project Number' | $T8 %]</th>
150
[%- END %]
151

  
152
        </tr>
34
  [% IF INSTANCE_CONF.get_webdav %]
35
    <li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li>
36
  [% END %]
37
  [% IF id %]
38
    [% IF INSTANCE_CONF.get_doc_storage %]
39
      <li><a href="controller.pl?action=File/list&file_type=document&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Documents' | $T8 %]</a></li>
40
      <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li>
41
    [% END %]
42
  [% END %]
43
</ul>
44

  
45
<div id="ui-tabs-basic-data">
46
[% INCLUDE 'common/flash.html' %][% # PENDENT: SOLL DAS AUCH IN DEN ANDEREN TABS STEHEN? WIRD SCHWIERIG ZUM CSS-PLAZIEREN %]
47

  
48
<div class="wrapper">
49

  
50
[% IF saved_message %]
51
  <div class="message">[% saved_message | html %]</div>
52
[% END %]
53

  
54
[% IF previous_id %]
55
  <div class="message message_hint">
56
    [% 'Previous transnumber text' | $T8 %] <b>[% previous_id %]</b> [% 'Previous transdate text' | $T8 %] <b>[% previous_gldate %] </b>
57
  </div>
58
[% END %]
59

  
60
</div><!-- /.wrapper -->
61

  
62
<div class="wrapper">
63

  
64
<table class="tbl-horizontal">
65
  <tbody>
66
    <tr>
67
      <th>[% 'Reference' | $T8 %]</th>
68
      <td>[% L.input_tag('reference', reference, class='wi-wide', readonly=readonly) %]</td>
69
    </tr>
70
    <tr>
71
      <th>[% 'Transdate' | $T8 %]</th>
72
      <td>[% L.date_tag('transdate', transdate, readonly=readonly) %]</td>
73
    </tr>
74
    [% IF id %]
75
    <tr>
76
      <th>[% 'ID' | $T8 %]</th>
77
      <td>[% L.input_tag('id', id, class="wi-small", readonly=readonly) %]</td>
78
    </tr>
79
    <tr>
80
      <th>[% 'Gldate' | $T8 %]</th>
81
      <td>[% L.date_tag('gldate', gldate, readonly=1) %]</td>
82
    </tr>
83
    [% END %]
84
    [% IF ALL_DEPARTMENTS %]
85
    <tr>
86
      <th>[% 'Department' | $T8 %]</th>
87
      <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, default=department_id, title_key='description', with_empty=1, class='wi-wide') %]</td>
88
    </tr>
89
    [% END %]
90
    <tr>
91
      <th>[% 'Description' | $T8 %]</th>
92
      <td class="wi-wide">[% L.areainput_tag('description', description, readonly=readonly, cols=10, class='wi-wide') %]</td>
93
    </tr>
94
    <tr>
95
      <th><label for="taxincluded">[% 'MwSt. inkl.' | $T8 %]</label></th>
96
      <td>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td>
97
    </tr>
98
    [% IF id %]
99
    <tr>
100
      <th>[% 'Mitarbeiter' | $T8 %]</th>
101
      <td>[% L.input_tag('employee', employee, class='wi-normal', readonly=readonly, class='wi-wide') %]</td>
102
    </tr>
103
    [% END %]
104
  </tbody>
105
</table>
106

  
107
<table class="tbl-horizontal">
108
  <tbody>
109
    <tr>
110
      <th>
111
        <span class="label above">[% 'Optional Transaction Type' | $T8 %]</span>
112
        <label for="ob_transaction">[% L.checkbox_tag('ob_transaction' checked=ob_transaction) %] [% 'CB Transaction' | $T8 %]</label> <br>
113
        <label for="cb_transaction">[% L.checkbox_tag('cb_transaction' checked=cb_transaction) %] [% 'OB Transaction' | $T8 %]</label>
114
      </th>
115
    </tr>
116
  </tbody>
117
</table>
118

  
119
</div><!-- /.wrapper -->
120
<div class="wrapper">
121

  
122
<div class="buttons positions">
123
  <label class="button neutral" for="show_details">[% IF show_details %][% 'Hide details' | $T8 %][% ELSE %][% 'Show details' | $T8 %][% END %]</label>
124
  [% L.checkbox_tag('show_details', checked=show_details, onclick='show_form_details();', style='display:none') %]
125
</div>
126

  
127
<table class="tbl-list wi-moderate">
128
  <caption>[% 'Transaction' | $T8 %]</caption>
129
  <thead>
130
    <tr>
131
      <th>[% 'Account' | $T8 %]</th>
132
      <th class="right">[% 'Chart balance' | $T8 %]</th>
133
      <th class="right">[% 'Debit' | $T8 %]</th>
134
      <th class="right">[% 'Credit' | $T8 %]</th>
135
      <th class="right">[% 'Tax' | $T8 %]</th>
136
      <th>[% 'Taxkey' | $T8 %]</th>
137
      [% IF show_details %]
138
        <th>[% 'Source' | $T8 %]</th>
139
        <th>[% 'Memo' | $T8 %]</th>
140
        <th>[% 'Project Number' | $T8 %]</th>
141
      [% END %]
142
    </tr>
143
  </thead>
144
  <tbody>
templates/webpages/gl/generate_report_bottom.html
1 1
[% USE HTML %]
2 2
<form method="post" id="create_new_form" action="gl.pl">
3
 <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
3
  <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
4 4
</form>
templates/webpages/gl/search.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE LxERP %]
4
[%- USE L %]
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
[% USE L %]
5 5
<h1>[% 'Journal' | $T8 %]</h1>
6 6

  
7
<form method=post id="form" action=gl.pl>
7
<form method="post" id="form" action="gl.pl">
8 8

  
9
<input type=hidden name=sort value=datesort>
9
<input type="hidden" name="sort" value="datesort">
10 10

  
11
<table width=100%>
12
  <tr>
13
    <td>
14
      <table>
15
        <tr>
16
          <th align=right>[% 'Reference / Invoice Number' | $T8 %]</th>
17
          <td><input name="reference" size="20" class="initial_focus"></td>
18
          <th align=right>[% 'Source' | $T8 %]</th>
19
          <td><input name=source size=20></td>
20
        </tr>
21
        [%- IF ALL_DEPARTMENTS %]
22
        <tr>
23
          <th align=right nowrap>[% 'Department' | $T8 %]</th>
24
          <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
25
        </tr>
26
        [%- END %]
27
        <tr>
28
          <th align=right>[% 'Description' | $T8 %]</th>
29
          <td><input name=description size=40></td>
30
          <th align=right>[% 'Account Number' | $T8 %]</th>
31
          <td><input name=accno size=20></td>
32
        </tr>
33
        <tr>
34
          <th align=right>[% 'Notes' | $T8 %]</th>
35
          <td colspan=3><input name=notes size=40></td>
36
        </tr>
37
        <tr>
38
          <th align=right>[% 'Project Number' | $T8 %]</th>
39
          <td colspan=3>[% L.select_tag('project_id', ALL_PROJECTS, title_key = 'projectnumber', with_empty = 1) %]</td>
40
        </tr>
41
 <tr>
42
    <th align=right>[% 'Employee' | $T8 %]</th>
43
    <td colspan=3>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
44
  </tr>
45
  <tr>
46
    <th align=right>[% 'Filter date by' | $T8 %]</th>
47
    <td colspan=3>
48
    <input name=datesort class=radio type=radio value=transdate checked> [% 'Transdate' | $T8 %]
49
    <input name=datesort class=radio type=radio value=gldate> [% 'Gldate' | $T8 %]
50
  </td>
51
  </tr>
52
  <tr>
53
    <th align=right>[% 'From' | $T8 %]</th>
54
          <td>[% L.date_tag('datefrom') %]</td>
55
          <th align=right>[% 'To (time)' | $T8 %]</th>
56
          <td>[% L.date_tag('dateto') %]</td>
57
        </tr>
58
        <tr>
59
          <th align=right>[% 'Include in Report' | $T8 %]</th>
60
          <td colspan=3>
61
            <table>
62
              <tr>
63
                <td>
64
                  <input name="category" class=radio type=radio value=X checked> [% 'All' | $T8 %]
65
                  <input name="category" class=radio type=radio value=A> [% 'Asset' | $T8 %]
66
                  <input name="category" class=radio type=radio value=L> [% 'Liability' | $T8 %]
67
                  <input name="category" class=radio type=radio value=I> [% 'Revenue' | $T8 %]
68
                  <input name="category" class=radio type=radio value=E> [% 'Expense' | $T8 %]
69
                </td>
70
              </tr>
71
              <tr>
72
                <table>
73
                  <tr>
74
                    <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
75
                    <td>[% 'ID' | $T8 %]</td>
76
                    <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
77
                    <td>[% 'Transdate' | $T8 %]</td>
78
                    <td align=right><input name="l_gldate" class=checkbox type=checkbox value=Y checked></td>
79
                    <td>[% 'Gldate' | $T8 %]</td>
80
                    <td align=right><input name="l_reference" class=checkbox type=checkbox value=Y checked></td>
81
                    <td>[% 'Reference' | $T8 %]</td>
82
                    <td align=right><input name="l_description" class=checkbox type=checkbox value=Y checked></td>
83
                    <td>[% 'Description' | $T8 %]</td>
84
                    <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
85
                    <td>[% 'Notes' | $T8 %]</td>
86
                  </tr>
87
                  <tr>
88
                    <td align=right><input name="l_debit" class=checkbox type=checkbox value=Y checked></td>
89
                    <td>[% 'Debit' | $T8 %]</td>
90
                    <td align=right><input name="l_credit" class=checkbox type=checkbox value=Y checked></td>
91
                    <td>[% 'Credit' | $T8 %]</td>
92
                    <td align=right><input name="l_source" class=checkbox type=checkbox value=Y checked></td>
93
                    <td>[% 'Source' | $T8 %]</td>
94
                    <td align=right><input name="l_accno" class=checkbox type=checkbox value=Y checked></td>
95
                    <td>[% 'Account' | $T8 %]</td>
96
                  </tr>
97
                  <tr>
98
                    <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
99
                    <td>[% 'Subtotal' | $T8 %]</td>
100
                    <td align=right><input name="l_projectnumbers" class=checkbox type=checkbox value=Y></td>
101
                    <td>[% 'Project Number' | $T8 %]</td>
102
                    <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
103
                    <td>[% 'Employee' | $T8 %]</td>
104
                  </tr>
105
                </table>
106
              </tr>
107
            </table>
108
        </tr>
109
      </table>
110
    </td>
111
  </tr>
11
<div class="wrapper">
12

  
13
<table class="tbl-horizontal">
14
  <tbody>
15
    <tr>
16
      <th>[% 'Reference / Invoice Number' | $T8 %]</th>
17
      <td><input name="reference" class="wi-normal initial_focus" type="text"></td>
18
    </tr>
19
    <tr>
20
      <th>[% 'Source' | $T8 %]</th>
21
      <td><input name="source" class="wi-normal" type="text"></td>
22
    </tr>
23
    [% IF ALL_DEPARTMENTS %]
24
    <tr>
25
      <th>[% 'Department' | $T8 %]</th>
26
      <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key='description', with_empty=1, class='wi-normal') %]</td>
27
    </tr>
28
    [% END %]
29
    <tr>
30
      <th>[% 'Description' | $T8 %]</th>
31
      <td><input name="description" class="wi-normal" type="text"></td>
32
    </tr>
33
    <tr>
34
      <th>[% 'Account Number' | $T8 %]</th>
35
      <td><input name="accno" class="wi-normal" type="text"></td>
36
    </tr>
37
    <tr>
38
      <th>[% 'Notes' | $T8 %]</th>
39
      <td><input name="notes" class="wi-normal" type="text"></td>
40
    </tr>
41
    <tr>
42
      <th>[% 'Project Number' | $T8 %]</th>
43
      <td>[% L.select_tag('project_id', ALL_PROJECTS, title_key='projectnumber', with_empty=1, class='wi-normal') %]</td>
44
    </tr>
45
    <tr>
46
      <th>[% 'Employee' | $T8 %]</th>
47
      <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class='wi-normal') %]</td>
48
    </tr>
49
    <tr>
50
      <th>[% 'Filter date by' | $T8 %]</th>
51
      <td>
52
        <input name="datesort" type="radio" value="transdate" checked> [% 'Transdate' | $T8 %] <br>
53
        <input name="datesort" type="radio" value="gldate"> [%            'Gldate'    | $T8 %]</td>
54
    </tr>
55
    <tr>
56
      <th>[% 'From' | $T8 %]</th>
57
      <td>[% L.date_tag('datefrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('dateto') %]</td>
58
    </tr>
59
  </tbody>
112 60
</table>
61

  
62
</div><!-- /.wrapper -->
63

  
64
<div class="wrapper form-addition control-panel">
65
  <h3>[% 'Include in Report' | $T8 %]</h3>
66
  <div class="list col">
67
    <h4 class="caption">[% 'Scope' | $T8 %]</h4>
68
    <div>
69
      <input name="category" type="radio" value="X" checked> [% 'All' | $T8 %]
70
    </div>
71
    <div>
72
      <input name="category" type="radio" value="A"> [% 'Asset' | $T8 %]
73
    </div>
74
    <div>
75
      <input name="category" type="radio" value="L"> [% 'Liability' | $T8 %]
76
    </div>
77
    <div>
78
      <input name="category" type="radio" value="I"> [% 'Revenue' | $T8 %]
79
    </div>
80
    <div>
81
      <input name="category" type="radio" value="E"> [% 'Expense' | $T8 %]
82
    </div>
83
  </div>
84
  <div class="list col">
85
    <h4>[% 'Transaction Details' | $T8 %]</h4>
86
    <div>
87
      <input name="l_transdate" type="checkbox" value="Y" checked> [% 'Transdate' | $T8 %]
88
    </div>
89
    <div>
90
      <input name="l_gldate" type="checkbox" value="Y" checked> [% 'Gldate' | $T8 %]
91
    </div>
92
    <div>
93
      <input name="l_id" type="checkbox" value="Y"> [% 'ID' | $T8 %]
94
    </div>
95
    <div>
96
      <input name="l_reference" type="checkbox" value="Y" checked> [% 'Reference' | $T8 %]
97
    </div>
98
    <div>
99
      <input name="l_source" type="checkbox" value="Y" checked> [% 'Source' | $T8 %]
100
    </div>
101
    <div>
102
      <input name="l_description" type="checkbox" value="Y" checked> [% 'Description' | $T8 %]
103
    </div>
104
    <div>
105
      <input name="l_notes" type="checkbox" value="Y"> [% 'Notes' | $T8 %]
106
    </div>
107
  </div>
108
  <div class="list col">
109
    <h4>[% 'Accounts' | $T8 %] & [% 'Sum' | $T8 %]</h4>
110
    <div>
111
      <input name="l_debit" type="checkbox" value="Y" checked> [% 'Debit' | $T8 %]
112
    </div>
113
    <div>
114
      <input name="l_credit" type="checkbox" value="Y" checked> [% 'Credit' | $T8 %]
115
    </div>
116
    <div>
117
      <input name="l_accno" type="checkbox" value="Y" checked> [% 'Account' | $T8 %]
118
    </div>
119
    <div>
120
      <input name="l_subtotal" type="checkbox" value="Y"> [% 'Subtotal' | $T8 %]
121
    </div>
122
  </div>
123
  <div class="list col">
124
    <h4>[% 'Divers' | $T8 %]</h4>
125
    <div>
126
      <input name="l_projectnumbers" type="checkbox" value="Y"> [% 'Project Number' | $T8 %]
127
    </div>
128
    <div>
129
      <input name="l_employee" type="checkbox" value="Y"> [% 'Employee' | $T8 %]
130
    </div>
131
  </div>
132
</div>
133
<!-- /.wrapper.form-addition -->
134

  
135

  
113 136
</form>
templates/webpages/gl/update_tax_accounts.html
1
[% USE L %][%- USE LxERP -%]
1
[% USE L %]
2
[% USE LxERP %]
2 3
[% FOR row = TAX_ACCOUNTS %]
3
<option value='[% row.id %]--[% row.rate %]'[% IF row.is_default %] selected[% END %]>[% row.taxdescription %] [% LxERP.round_amount(row.rate * 100) %] %</option>
4
  <option value='[% row.id %]--[% row.rate %]'[% IF row.is_default %] selected[% END %]>[% row.taxdescription %] [% LxERP.round_amount(row.rate * 100) %] %</option>
4 5
[% END %]
templates/webpages/gl/yearend_bottom.html
1
[%- USE L %]
2
[%- USE LxERP %]
3
    [%- L.hidden_tag("cb_date",SELF.cb_date.to_kivitendo) %]
4
    [%- L.hidden_tag("cb_startdate",SELF.cb_startdate.to_kivitendo) %]
5
    [%- L.hidden_tag("cb_reference",SELF.cb_reference) %]
6
    [%- L.hidden_tag("cb_description",SELF.cb_description) %]
7
    [%- L.hidden_tag("ob_date",SELF.ob_date.to_kivitendo) %]
8
    [%- L.hidden_tag("ob_reference",SELF.ob_reference) %]
9
    [%- L.hidden_tag("ob_description",SELF.ob_description) %]
10
    [%- L.hidden_tag("cbob_chart",SELF.cbob_chart) %]
11
    [%- L.hidden_tag("rowcount",SELF.row_count) %]
1
[% USE L %]
2
[% USE LxERP %]
3

  
4
[% L.hidden_tag("cb_date",SELF.cb_date.to_kivitendo) %]
5
[% L.hidden_tag("cb_startdate",SELF.cb_startdate.to_kivitendo) %]
6
[% L.hidden_tag("cb_reference",SELF.cb_reference) %]
7
[% L.hidden_tag("cb_description",SELF.cb_description) %]
8
[% L.hidden_tag("ob_date",SELF.ob_date.to_kivitendo) %]
9
[% L.hidden_tag("ob_reference",SELF.ob_reference) %]
10
[% L.hidden_tag("ob_description",SELF.ob_description) %]
11
[% L.hidden_tag("cbob_chart",SELF.cbob_chart) %]
12
[% L.hidden_tag("rowcount",SELF.row_count) %]
13

  
12 14
</form>
templates/webpages/gl/yearend_filter.html
1
[%- USE HTML %]
2
[%- USE T8 %]
3
[%- USE L %]
4
[%- USE LxERP %]
1
[% USE HTML %]
2
[% USE T8 %]
3
[% USE L %]
4
[% USE LxERP %]
5 5

  
6 6
<h1>[% title | html %]</h1>
7 7

  
8
[%- INCLUDE 'common/flash.html' %]
9

  
10 8
<form id='filter_form'>
11 9

  
12
<table>
13
  <tr>
14
    <td width="20px"></td>
15
    <td align="left" colspan="5">[% 'Attention: Here will be generated a lot of CB/OB transactions.' | $T8 %]</td>
16
  </tr>
17
  <tr>
18
    <td><p></p></td>
19
  </tr>
20
  <tr>
21
    <th></th>
22
    <th width="400px" colspan="2" align="center">[% 'CB Transactions' | $T8 %]</th>
23
    <th width="400px"colspan="2" align="center">[% 'OB Transactions' | $T8 %]</th>
24
    <th>&nbsp;</th>
25
  </tr>
26
  <tr>
27
    <td></td>
28
    <td align="right">[% 'Date' | $T8 %]</td>
29
    <td>[% L.date_tag('cb_date', SELF.cb_date) %]</td>
30
    <td align="right">[% 'Date' | $T8 %]</td>
31
    <td>[% L.date_tag('ob_date', SELF.ob_date) %]</td>
32
    <td></td>
33
  </tr>
34
  <tr>
35
    <td></td>
36
    <td align="right">[% 'Reference' | $T8 %]</td>
37
    <td>[% L.input_tag('cb_reference', SELF.cb_reference) %]</td>
38
    <td align="right">[% 'Reference' | $T8 %]</td>
39
    <td>[% L.input_tag('ob_reference', SELF.ob_reference) %]</td>
40
    <td></td>
41
  </tr>
42
  <tr>
43
    <td></td>
44
    <td align="right">[% 'Description' | $T8 %]</td>
45
    <td>[% L.input_tag('cb_description', SELF.cb_description) %]</td>
46
    <td align="right">[% 'Description' | $T8 %]</td>
47
    <td>[% L.input_tag('ob_description', SELF.ob_description) %]</td>
48
    <td></td>
49
  </tr>
50
  <tr>
51
    <td><p></p></td>
52
  </tr>
53
  <tr>
54
    <th colspan="2"></th>
55
    <th align=right>[% 'close chart' | $T8 %]</th>
56
    <td colspan="3">[% L.select_tag('cbob_chart', SELF.charts9000, title_sub=\make_title_of_chart, default=SELF.cbob_chart, style="width: 400px") %]</td>
57
  </tr>
10
<div class="wrapper">
11
  <p class="message message_hint">[% 'Attention: Here will be generated a lot of CB/OB transactions.' | $T8 %]</p>
12
</div>
13

  
14
<div class="wrapper">
15

  
16
[% INCLUDE 'common/flash.html' %]
17

  
18
<table class="tbl-horizontal">
19
  <thead>
20
    <tr>
21
      <th>&nbsp;</th>
22
      <th>[% 'CB Transactions' | $T8 %]</th>
23
      <th>[% 'OB Transactions' | $T8 %]</th>
24
    </tr>
25
  </thead>
26
  <tbody>
27
    <tr>
28
      <th>[% 'Date' | $T8 %]</th>
29
      <td>[% L.date_tag('cb_date', SELF.cb_date) %]</td>
30
      <td>[% L.date_tag('ob_date', SELF.ob_date) %]</td>
31
    </tr>
32
    <tr>
33
      <th>[% 'Reference' | $T8 %]</th>
34
      <td>[% L.input_tag('cb_reference', SELF.cb_reference) %]</td>
35
      <td>[% L.input_tag('ob_reference', SELF.ob_reference) %]</td>
36
    </tr>
37
    <tr>
38
      <th>[% 'Description' | $T8 %]</th>
39
      <td>[% L.input_tag('cb_description', SELF.cb_description) %]</td>
40
      <td>[% L.input_tag('ob_description', SELF.ob_description) %]</td>
41
    </tr>
42
    <tr>
43
      <th>[% 'close chart' | $T8 %]</th>
44
      <td colspan="2">[% L.select_tag('cbob_chart', SELF.charts9000, title_sub=\make_title_of_chart, default=SELF.cbob_chart, style="width: 400px") %]</td>
45
    </tr>
46
  </tbody>
58 47
</table>
48
</div>
49

  
59 50
</form>
templates/webpages/gl/yearend_top.html
1
[%- USE LxERP %]
1
[% USE LxERP %]
2

  
2 3
<form method="post" action="controller.pl" id="form">
3
<table>
4
  <tr>
5
    <td width="20px"></td>
6
    <td colspan="6" align="left">
7
      [%- LxERP.t8('Select charts for which the CB/OB transactions want to be posted.') %]<br>
8
      [%- LxERP.t8('There will be two transactions done:') %]<br>
9
     - [%- LxERP.t8('One SB-transaction') %] ( [% SELF.cb_date.to_kivitendo %], [% SELF.cb_reference %], [% SELF.cb_description %], [% SELF.cbob_chartaccno %] )<br>
10
     - [%- LxERP.t8('One OB-transaction') %] ( [% SELF.ob_date.to_kivitendo %], [% SELF.ob_reference %], [% SELF.ob_description %], [% SELF.cbob_chartaccno %] )<br>
11
      [%- LxERP.t8('No revert available.') %]
12
    </td>
13
  </tr>
14
  <tr>
15
    <td><p></p></td>
16
  </tr>
17
  <tr>
18
    <th></th>
19
    <th align="right">[% LxERP.t8('close chart') %]</th>
20
    <td>[% SELF.cbob_chartaccno %]</td>
21
  </tr>
22
</table>
4

  
5
<div class="wrapper">
6
  <p>[% LxERP.t8('Select charts for which the CB/OB transactions want to be posted.') %]<br>
7
     [% LxERP.t8('There will be two transactions done:') %]</p>
8
    <ul>
9
      <li>[% LxERP.t8('One SB-transaction') %] ( [% SELF.cb_date.to_kivitendo %], [% SELF.cb_reference %], [% SELF.cb_description %], [% SELF.cbob_chartaccno %] )</li>
10
      <li>[% LxERP.t8('One OB-transaction') %] ( [% SELF.ob_date.to_kivitendo %], [% SELF.ob_reference %], [% SELF.ob_description %], [% SELF.cbob_chartaccno %] )</li>
11
    </ul>
12
   <p>[% LxERP.t8('No revert available.') %]</p>
13
   <p>[% LxERP.t8('close chart') %]: <b>[% SELF.cbob_chartaccno %]</b></p>
14
</div>
15

  

Auch abrufbar als: Unified diff