Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a8cccc0a

Von Moritz Bunkus vor fast 17 Jahren hinzugefügt

  • ID a8cccc0a8878dcb2a76f0e444248739f6a529321
  • Vorgänger 31359f3e
  • Nachfolger 734e61e8

HTML-Attribute anständig quoten. Kosmetik.

Unterschiede anzeigen:

templates/webpages/oe/orders_footer_de.html
2 2
[%- USE LxERP %]
3 3
  <tr>
4 4
    <td>
5
      <table width=100%>
6
	<tr valign=bottom>
7
	  <td>
8
	    <table>
9
	      <tr>
10
		<th align=left>Bemerkungen</th>
11
		<th align=left>interne Bemerkungen</th>
12
	      </tr>
13
	      <tr valign=top>
14
		<td>[% notes %]</td>
5
      <table width="100%">
6
        <tr valign="bottom">
7
          <td>
8
            <table>
9
              <tr>
10
                <th align="left">Bemerkungen</th>
11
                <th align="left">interne Bemerkungen</th>
12
              </tr>
13
              <tr valign="top">
14
                <td>[% notes %]</td>
15 15
                <td>[% intnotes %]</td>
16
	      </tr>
16
              </tr>
17 17
              <tr>
18 18
                <th align="right">Zahlungskonditionen</th>
19 19
                <td>
20
                      [%- INCLUDE 'generic/multibox.html' 
21
                           name       = 'payment_id', 
22
                           style      = 'width: 250px', 
23
                           DATA       = ALL_PAYMENTS, 
24
                           id_key     = 'id', 
20
                      [%- INCLUDE 'generic/multibox.html'
21
                           name       = 'payment_id',
22
                           style      = 'width: 250px',
23
                           DATA       = ALL_PAYMENTS,
24
                           id_key     = 'id',
25 25
                           label_key  = 'description',
26 26
                           show_empty = 1 -%]
27 27
                </td>
28
	    </tr>
28
            </tr>
29 29
      [%- IF id && num_follow_ups %]
30 30
      <tr>
31 31
       <td colspan="2">[% LxERP.format_string('Es gibt #1 Wiedervorlage(n), von denen #2 f&auml;llig ist/sind.', num_follow_ups, num_due_follow_ups) %]</td>
32 32
      </tr>
33 33
      [%- END %]
34 34
      </table>
35
	  </td>
35
          </td>
36 36
[%- IF is_sales %]
37 37
          <td>
38 38
            <table>
39 39

  
40 40
            <tr>
41
              <th  align=left>Ertrag</th>
41
              <th  align="left">Ertrag</th>
42 42
              <td align="right">[% LxERP.format_amount(marge_total, 2) %]</td>
43 43
            </tr>
44 44
            <tr>
45
              <th  align=left>Ertrag prozentual</th>
45
              <th  align="left">Ertrag prozentual</th>
46 46
              <td align="right">[% LxERP.format_amount(marge_percent, 2) %]</td>
47 47
              <td>%</td>
48 48
            </tr>
49 49

  
50
            <input type=hidden name="marge_total" value="[% marge_total %]">
51
            <input type=hidden name="marge_percent" value="[% marge_percent %]">
50
            <input type="hidden" name="marge_total" value="[% HTML.escape(marge_total) %]">
51
            <input type="hidden" name="marge_percent" value="[% HTML.escape(marge_percent) %]">
52 52
            </table>
53 53
          </td>
54 54
[%- END %]
55
	  <td align=right>
55
          <td align="right">
56 56
[%- IF taxaccounts %]
57
            <input name=taxincluded class=checkbox type=checkbox value=1 [% IF taxincluded %]checked[% END %]><b>Steuer im Preis inbegriffen</b><br><br>
57
            <input name="taxincluded" class="checkbox" type="checkbox" value="1"[% IF taxincluded %] checked[% END %]><b>Steuer im Preis inbegriffen</b><br><br>
58 58
[%- END %]
59
	    <table>
60
	      [% subtotal %]
61
	      [% tax %]
62
	      <tr>
63
		<th align=right>Summe</th>
64
		<td align=right>[% LxERP.format_amount(invtotal, 2) %]</td>
65
	      </tr>
66
	    </table>
67
	  </td>
68
	</tr>
59
            <table>
60
              [% subtotal %]
61
              [% tax %]
62
              <tr>
63
                <th align="right">Summe</th>
64
                <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
65
              </tr>
66
            </table>
67
          </td>
68
        </tr>
69 69
      </table>
70 70
    </td>
71 71
  </tr>
72
<input type=hidden name=oldinvtotal value="[% HTML.escape(oldinvtotal) %]">
73
<input type=hidden name=oldtotalpaid value="[% HTML.escape(totalpaid) %]">
72
  <input type="hidden" name="oldinvtotal" value="[% HTML.escape(oldinvtotal) %]">
73
  <input type="hidden" name="oldtotalpaid" value="[% HTML.escape(totalpaid) %]">
74 74
  <tr>
75
    <td><hr size=3 noshade></td>
75
    <td><hr size="3" noshade></td>
76 76
  </tr>
77 77

  
78 78
[%- IF webdav %]
79 79
  <tr>
80
    <th class=listtop align=left>Dokumente im Webdav-Repository</th>
80
    <th class="listtop" align="left">Dokumente im Webdav-Repository</th>
81 81
  </tr>
82
    <table width=100%>
82
  <tr>
83
   <td>
84
    <table width="100%">
83 85
     <tr>
84
      <td align=left width=30%><b>Dateiname</b></td>
85
      <td align=left width=70%><b>Webdavlink</b></td>
86
      <td align="left" width="30%"><b>Dateiname</b></td>
87
      <td align="left" width="70%"><b>Webdavlink</b></td>
86 88
     </tr>
87
 [%- FOREACH file = WEBDAV %] 
89
 [%- FOREACH file="WEBDAV" %]
88 90
      <tr>
89
        <td align="left">[% file.name %]</td>
90
        <td align="left"><a href="[% file.link %]">[% file.type %]</a></td>
91
        <td align="left">[% HTML.escape(file.name) %]</td>
92
        <td align="left"><a href="[% file.link %]">[% HTML.escape(file.type) %]</a></td>
91 93
      </tr>
92 94
 [%- END %]
93 95
    </table>
96
   </td>
94 97
  </tr>
95 98
  <tr>
96
    <td><hr size=3 noshade></td>
99
    <td><hr size="3" noshade></td>
97 100
  </tr>
98 101
[%- END %]
99 102

  
......
105 108
</table>
106 109

  
107 110
[% label_edit %]<br>
108
<input class=submit type=submit name=action id=update_button value="Erneuern">
109
<input class=submit type=submit name=action value="Lieferadresse">
110
<input class=submit type=submit name=action value="Drucken">
111
<input class=submit type=submit name=action value="eMail">
112
<input class=submit type=submit name=action value="Speichern">
113
<input class=submit type=submit name=action value="Speichern und schlie?en">
111
<input class="submit" type="submit" name="action" id="update_button" value="Erneuern">
112
<input class="submit" type="submit" name="action" value="Lieferadresse">
113
<input class="submit" type="submit" name="action" value="Drucken">
114
<input class="submit" type="submit" name="action" value="eMail">
115
<input class="submit" type="submit" name="action" value="Speichern">
116
<input class="submit" type="submit" name="action" value="Speichern und schlie?en">
114 117

  
115 118
[%- IF id %]
116 119
  <input type="button" class="submit" onclick="follow_up_window()" value="Wiedervorlage">
117 120
  <input type="button" class="submit" onclick="set_history_window([% HTML.escape(id) %])" name="history" id="history" value="Historie">
118 121

  
119 122
  <br>[% label_workflow %]<br>
120
  <input class=submit type=submit name=action value="als neu speichern">
121
  <input class=submit type=submit name=action value="L?schen">
123
  <input class="submit" type="submit" name="action" value="als neu speichern">
124
  <input class="submit" type="submit" name="action" value="L?schen">
122 125

  
123 126
  [%- IF is_sales_quo %]
124
    <input class=submit type=submit name=action value="Kundenauftrag">
127
    <input class="submit" type="submit" name="action" value="Kundenauftrag">
125 128
  [%- END %]
126 129

  
127 130
  [%- IF is_req_quo %]
128
    <input class=submit type=submit name=action value="Lieferantenauftrag">
131
    <input class="submit" type="submit" name="action" value="Lieferantenauftrag">
129 132
  [%- END %]
130 133

  
131 134
  [%- IF is_sales_ord || is_pur_ord %]
132 135
    <input class="submit" type="submit" name="action" value="Lieferschein">
133 136
  [%- END %]
134 137

  
135
  <input class=submit type=submit name=action value="Rechnung">
138
  <input class="submit" type="submit" name="action" value="Rechnung">
136 139

  
137 140
  <br>[% heading %] als neue Vorlage verwenden f&uuml;r<br>
138 141
  [%- IF is_sales_ord %]
139
    <input class=submit type=submit name=action value="Lieferantenauftrag">
140
    <input class=submit type=submit name=action value="Angebot">
142
    <input class="submit" type="submit" name="action" value="Lieferantenauftrag">
143
    <input class="submit" type="submit" name="action" value="Angebot">
141 144
  [%- ELSE %]
142 145
   [%- IF is_pur_ord %]
143
    <input class=submit type=submit name=action value="Kundenauftrag">
144
    <input class=submit type=submit name=action value="Anfrage">
146
    <input class="submit" type="submit" name="action" value="Kundenauftrag">
147
    <input class="submit" type="submit" name="action" value="Anfrage">
145 148
   [%- ELSE %]
146
    <input class=submit type=submit name=action value="Auftrag">
149
    <input class="submit" type="submit" name="action" value="Auftrag">
147 150
   [%- END %]
148 151
  [%- END %]
149 152
[%- END %]
150 153

  
151
<input type=hidden name=saved_xyznumber value="[% HTML.escape(saved_xyznumber) %]">
152
<input type=hidden name=rowcount value="[% HTML.escape(rowcount) %]">
153
<input type=hidden name=callback value="[% callback %]">
154
<input type="hidden" name="saved_xyznumber" value="[% HTML.escape(saved_xyznumber) %]">
155
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
156
<input type="hidden" name="callback" value="[% callback %]">
154 157

  
155 158
</form>
156 159

  
templates/webpages/oe/orders_footer_master.html
2 2
[%- USE LxERP %]
3 3
  <tr>
4 4
    <td>
5
      <table width=100%>
6
	<tr valign=bottom>
7
	  <td>
8
	    <table>
9
	      <tr>
10
		<th align=left><translate>Notes</translate></th>
11
		<th align=left><translate>Internal Notes</translate></th>
12
	      </tr>
13
	      <tr valign=top>
14
		<td>[% notes %]</td>
5
      <table width="100%">
6
        <tr valign="bottom">
7
          <td>
8
            <table>
9
              <tr>
10
                <th align="left"><translate>Notes</translate></th>
11
                <th align="left"><translate>Internal Notes</translate></th>
12
              </tr>
13
              <tr valign="top">
14
                <td>[% notes %]</td>
15 15
                <td>[% intnotes %]</td>
16
	      </tr>
16
              </tr>
17 17
              <tr>
18 18
                <th align="right"><translate>Payment Terms</translate></th>
19 19
                <td>
20
                      [%- INCLUDE 'generic/multibox.html' 
21
                           name       = 'payment_id', 
22
                           style      = 'width: 250px', 
23
                           DATA       = ALL_PAYMENTS, 
24
                           id_key     = 'id', 
20
                      [%- INCLUDE 'generic/multibox.html'
21
                           name       = 'payment_id',
22
                           style      = 'width: 250px',
23
                           DATA       = ALL_PAYMENTS,
24
                           id_key     = 'id',
25 25
                           label_key  = 'description',
26 26
                           show_empty = 1 -%]
27 27
                </td>
28
	    </tr>
28
            </tr>
29 29
      [%- IF id && num_follow_ups %]
30 30
      <tr>
31 31
       <td colspan="2">[% LxERP.format_string('<translate>There are #1 unfinished follow-ups of which #2 are due.</translate>', num_follow_ups, num_due_follow_ups) %]</td>
32 32
      </tr>
33 33
      [%- END %]
34 34
      </table>
35
	  </td>
35
          </td>
36 36
[%- IF is_sales %]
37 37
          <td>
38 38
            <table>
39 39

  
40 40
            <tr>
41
              <th  align=left><translate>Ertrag</translate></th>
41
              <th  align="left"><translate>Ertrag</translate></th>
42 42
              <td align="right">[% LxERP.format_amount(marge_total, 2) %]</td>
43 43
            </tr>
44 44
            <tr>
45
              <th  align=left><translate>Ertrag prozentual</translate></th>
45
              <th  align="left"><translate>Ertrag prozentual</translate></th>
46 46
              <td align="right">[% LxERP.format_amount(marge_percent, 2) %]</td>
47 47
              <td>%</td>
48 48
            </tr>
49 49

  
50
            <input type=hidden name="marge_total" value="[% marge_total %]">
51
            <input type=hidden name="marge_percent" value="[% marge_percent %]">
50
            <input type="hidden" name="marge_total" value="[% HTML.escape(marge_total) %]">
51
            <input type="hidden" name="marge_percent" value="[% HTML.escape(marge_percent) %]">
52 52
            </table>
53 53
          </td>
54 54
[%- END %]
55
	  <td align=right>
55
          <td align="right">
56 56
[%- IF taxaccounts %]
57
            <input name=taxincluded class=checkbox type=checkbox value=1 [% IF taxincluded %]checked[% END %]><b><translate>Tax Included</translate></b><br><br>
57
            <input name="taxincluded" class="checkbox" type="checkbox" value="1"[% IF taxincluded %] checked[% END %]><b><translate>Tax Included</translate></b><br><br>
58 58
[%- END %]
59
	    <table>
60
	      [% subtotal %]
61
	      [% tax %]
62
	      <tr>
63
		<th align=right><translate>Total</translate></th>
64
		<td align=right>[% LxERP.format_amount(invtotal, 2) %]</td>
65
	      </tr>
66
	    </table>
67
	  </td>
68
	</tr>
59
            <table>
60
              [% subtotal %]
61
              [% tax %]
62
              <tr>
63
                <th align="right"><translate>Total</translate></th>
64
                <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
65
              </tr>
66
            </table>
67
          </td>
68
        </tr>
69 69
      </table>
70 70
    </td>
71 71
  </tr>
72
<input type=hidden name=oldinvtotal value="[% HTML.escape(oldinvtotal) %]">
73
<input type=hidden name=oldtotalpaid value="[% HTML.escape(totalpaid) %]">
72
  <input type="hidden" name="oldinvtotal" value="[% HTML.escape(oldinvtotal) %]">
73
  <input type="hidden" name="oldtotalpaid" value="[% HTML.escape(totalpaid) %]">
74 74
  <tr>
75
    <td><hr size=3 noshade></td>
75
    <td><hr size="3" noshade></td>
76 76
  </tr>
77 77

  
78 78
[%- IF webdav %]
79 79
  <tr>
80
    <th class=listtop align=left>Dokumente im Webdav-Repository</th>
80
    <th class="listtop" align="left">Dokumente im Webdav-Repository</th>
81 81
  </tr>
82
    <table width=100%>
82
  <tr>
83
   <td>
84
    <table width="100%">
83 85
     <tr>
84
      <td align=left width=30%><b>Dateiname</b></td>
85
      <td align=left width=70%><b>Webdavlink</b></td>
86
      <td align="left" width="30%"><b>Dateiname</b></td>
87
      <td align="left" width="70%"><b>Webdavlink</b></td>
86 88
     </tr>
87
 [%- FOREACH file = WEBDAV %] 
89
 [%- FOREACH file="WEBDAV" %]
88 90
      <tr>
89
        <td align="left">[% file.name %]</td>
90
        <td align="left"><a href="[% file.link %]">[% file.type %]</a></td>
91
        <td align="left">[% HTML.escape(file.name) %]</td>
92
        <td align="left"><a href="[% file.link %]">[% HTML.escape(file.type) %]</a></td>
91 93
      </tr>
92 94
 [%- END %]
93 95
    </table>
96
   </td>
94 97
  </tr>
95 98
  <tr>
96
    <td><hr size=3 noshade></td>
99
    <td><hr size="3" noshade></td>
97 100
  </tr>
98 101
[%- END %]
99 102

  
......
105 108
</table>
106 109

  
107 110
[% label_edit %]<br>
108
<input class=submit type=submit name=action id=update_button value="<translate>Update</translate>">
109
<input class=submit type=submit name=action value="<translate>Ship to</translate>">
110
<input class=submit type=submit name=action value="<translate>Print</translate>">
111
<input class=submit type=submit name=action value="<translate>E-mail</translate>">
112
<input class=submit type=submit name=action value="<translate>Save</translate>">
113
<input class=submit type=submit name=action value="<translate>Save and Close</translate>">
111
<input class="submit" type="submit" name="action" id="update_button" value="<translate>Update</translate>">
112
<input class="submit" type="submit" name="action" value="<translate>Ship to</translate>">
113
<input class="submit" type="submit" name="action" value="<translate>Print</translate>">
114
<input class="submit" type="submit" name="action" value="<translate>E-mail</translate>">
115
<input class="submit" type="submit" name="action" value="<translate>Save</translate>">
116
<input class="submit" type="submit" name="action" value="<translate>Save and Close</translate>">
114 117

  
115 118
[%- IF id %]
116 119
  <input type="button" class="submit" onclick="follow_up_window()" value="<translate>Follow-Up</translate>">
117 120
  <input type="button" class="submit" onclick="set_history_window([% HTML.escape(id) %])" name="history" id="history" value="<translate>history</translate>">
118 121

  
119 122
  <br>[% label_workflow %]<br>
120
  <input class=submit type=submit name=action value="<translate>Save as new</translate>">
121
  <input class=submit type=submit name=action value="<translate>Delete</translate>">
123
  <input class="submit" type="submit" name="action" value="<translate>Save as new</translate>">
124
  <input class="submit" type="submit" name="action" value="<translate>Delete</translate>">
122 125

  
123 126
  [%- IF is_sales_quo %]
124
    <input class=submit type=submit name=action value="<translate>Sales Order</translate>">
127
    <input class="submit" type="submit" name="action" value="<translate>Sales Order</translate>">
125 128
  [%- END %]
126 129

  
127 130
  [%- IF is_req_quo %]
128
    <input class=submit type=submit name=action value="<translate>Purchase Order</translate>">
131
    <input class="submit" type="submit" name="action" value="<translate>Purchase Order</translate>">
129 132
  [%- END %]
130 133

  
131 134
  [%- IF is_sales_ord || is_pur_ord %]
132 135
    <input class="submit" type="submit" name="action" value="<translate>Delivery Order</translate>">
133 136
  [%- END %]
134 137

  
135
  <input class=submit type=submit name=action value="<translate>Invoice</translate>">
138
  <input class="submit" type="submit" name="action" value="<translate>Invoice</translate>">
136 139

  
137 140
  <br>[% heading %] als neue Vorlage verwenden f&uuml;r<br>
138 141
  [%- IF is_sales_ord %]
139
    <input class=submit type=submit name=action value="<translate>Purchase Order</translate>">
140
    <input class=submit type=submit name=action value="<translate>Quotation</translate>">
142
    <input class="submit" type="submit" name="action" value="<translate>Purchase Order</translate>">
143
    <input class="submit" type="submit" name="action" value="<translate>Quotation</translate>">
141 144
  [%- ELSE %]
142 145
   [%- IF is_pur_ord %]
143
    <input class=submit type=submit name=action value="<translate>Sales Order</translate>">
144
    <input class=submit type=submit name=action value="<translate>Request for Quotation</translate>">
146
    <input class="submit" type="submit" name="action" value="<translate>Sales Order</translate>">
147
    <input class="submit" type="submit" name="action" value="<translate>Request for Quotation</translate>">
145 148
   [%- ELSE %]
146
    <input class=submit type=submit name=action value="<translate>Order</translate>">
149
    <input class="submit" type="submit" name="action" value="<translate>Order</translate>">
147 150
   [%- END %]
148 151
  [%- END %]
149 152
[%- END %]
150 153

  
151
<input type=hidden name=saved_xyznumber value="[% HTML.escape(saved_xyznumber) %]">
152
<input type=hidden name=rowcount value="[% HTML.escape(rowcount) %]">
153
<input type=hidden name=callback value="[% callback %]">
154
<input type="hidden" name="saved_xyznumber" value="[% HTML.escape(saved_xyznumber) %]">
155
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
156
<input type="hidden" name="callback" value="[% callback %]">
154 157

  
155 158
</form>
156 159

  
templates/webpages/oe/orders_header_de.html
2 2
[%- USE LxERP %]
3 3
<body onLoad="[% onload %]">
4 4

  
5
  <form method=post name=oe action="[% script %]">
5
  <form method="post" name="oe" action="[% script %]">
6 6

  
7 7
    <script type="text/javascript" src="js/common.js"></script>
8 8
    <script type="text/javascript" src="js/delivery_customer_selection.js"></script>
......
12 12
    <script type="text/javascript" src="js/follow_up.js"></script>
13 13

  
14 14
[%- FOREACH row = HIDDENS %]
15
   <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" > 
15
   <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" >
16 16
[%- END %]
17 17

  
18 18
    <input type="hidden" name="follow_up_trans_id_1" value="[% HTML.escape(id) %]">
......
20 20
    <input type="hidden" name="follow_up_trans_info_1" value="[% HTML.escape(follow_up_trans_info) %]">
21 21
    <input type="hidden" name="follow_up_rowcount" value="1">
22 22

  
23
    <table width=100%>
24
      <tr class=listtop>
25
        <th class=listtop>[% HTML.escape(title) %]</th>
26
      </tr>
23
    <div class="listtop">[% title %]</div>
24

  
25
    <table width="100%">
27 26
      <tr height="5"></tr>
28 27
      <tr>
29 28
        <td>
30 29
          <table width="100%">
31
            <tr valign=top>
32
              <td width=50%>
33
                <table width=100%>
30
            <tr valign="top">
31
              <td width="50%">
32
                <table width="100%">
34 33
                  <tr>
35 34
                    <th align="right">[% IF vc == 'customer' %]Kunde[% ELSE %]Lieferant[% END %]</th>
36 35
                    <td>
37
                      [%- INCLUDE 'generic/multibox.html' 
36
                      [%- INCLUDE 'generic/multibox.html'
38 37
                           name       = vc,
39
                           style      = 'width: 250px', 
38
                           style      = 'width: 250px',
40 39
                           DATA       = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS,
41 40
                           id_sub     = 'vc_keys',
42 41
                           label_key  = 'name',
43 42
                           select     = vc_select,
44 43
                           limit      = vclimit,
45 44
                           onChange   = "document.getElementById('update_button').click();" -%]
46
                      <input type="button" value="D" onclick="show_vc_details('[% vc %]')">
45
                      <input type="button" value="D" onclick="show_vc_details('[% HTML.escape(vc) %]')">
47 46
                    </td>
48 47
                  </tr>
49 48
[%- IF ALL_CONTACTS.size %]
50 49
                  <tr>
51 50
                    <th align="right">Ansprechpartner</th>
52 51
                    <td>
53
                      [%- INCLUDE 'generic/multibox.html' 
54
                           name       = 'cp_id', 
55
                           style      = 'width: 250px', 
56
                           DATA       = ALL_CONTACTS, 
57
                           id_key     = 'cp_id', 
52
                      [%- INCLUDE 'generic/multibox.html'
53
                           name       = 'cp_id',
54
                           style      = 'width: 250px',
55
                           DATA       = ALL_CONTACTS,
56
                           id_key     = 'cp_id',
58 57
                           label_sub  = 'contact_labels',
59 58
                           show_empty = 1 -%]
60 59
                    </td>
61 60
                  </tr>
62 61
[%- END %]
63
[%- IF ALL_SHIPTO %] 
62
[%- IF ALL_SHIPTO.size %]
64 63
                  <tr>
65 64
                    <th align="right">Lieferadresse</th>
66 65
                    <td>
67
                      [%- INCLUDE 'generic/multibox.html' 
68
                           name       = 'shipto_id', 
69
                           style      = 'width: 250px', 
70
                           DATA       = ALL_SHIPTO, 
71
                           id_key     = 'shipto_id', 
66
                      [%- INCLUDE 'generic/multibox.html'
67
                           name       = 'shipto_id',
68
                           style      = 'width: 250px',
69
                           DATA       = ALL_SHIPTO,
70
                           id_key     = 'shipto_id',
72 71
                           label_sub  = 'shipto_labels',
73 72
                           show_empty = 1,
74 73
                           onChange   = "document.getElementById('update_button').click();" -%]
......
99 98
                  <tr>
100 99
                    <th align="right">Steuersatz</th>
101 100
                    <td>
102
                      [%- INCLUDE 'generic/multibox.html' 
103
                           name       = 'taxzone_id', 
104
                           style      = 'width: 250px', 
105
                           DATA       = ALL_TAXZONES, 
106
                           id_key     = 'id', 
101
                      [%- INCLUDE 'generic/multibox.html'
102
                           name       = 'taxzone_id',
103
                           style      = 'width: 250px',
104
                           DATA       = ALL_TAXZONES,
105
                           id_key     = 'id',
107 106
                           label_key  = 'description' -%]
108 107
                    </td>
109 108
                  </tr>
110 109
[%- IF selectdepartment %]
111 110
                  <tr>
112 111
                    <th align="right" nowrap>Abteilung</th>
113
                    <td colspan=3><select name=department style="width: 250px">[% selectdepartment %]</select>
114
                    <input type=hidden name=selectdepartment value="[% HTML.escape(selectdepartment) %]">
112
                    <td colspan="3"><select name="department" style="width: 250px">[% selectdepartment %]</select>
113
                    <input type="hidden" name="selectdepartment" value="[% HTML.escape(selectdepartment) %]">
115 114
                    </td>
116 115
                  </tr>
117 116
[%- END %]
......
124 123
[%- END %]
125 124
[%- IF show_exchangerate %]
126 125
                  <tr>
127
                    <th align=right>Wechselkurs</th>
126
                    <th align="right">Wechselkurs</th>
128 127
                    <td>
129 128
                     [%- IF forex %]
130 129
                      [% LxERP.format_amount(exchangerate, 0) %]
131 130
                     [%- ELSE %]
132
                      <input name=exchangerate size=10 value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
131
                      <input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
133 132
                     [%- END %]
134 133
                    </td>
135 134
                  </tr>
136 135
[%- END %]
137 136
[%- IF is_sales %]
138 137
                  <tr>
139
                    <th align=right>Motiv</th>
140
                    <td style="font-weight:bold" colspan=3><input name=motiv size=35 value="[% HTML.escape(motiv) %]"></td>
138
                    <th align="right">Motiv</th>
139
                    <td style="font-weight:bold" colspan="3"><input name="motiv" size="35" value="[% HTML.escape(motiv) %]"></td>
141 140
                  </tr>
142 141
[%- END %]
143 142
                  <tr>
144
                    <th align=right>Versandort</th>
145
                    <td colspan=3><input name=shippingpoint size=35 value="[% HTML.escape(shippingpoint) %]"></td>
143
                    <th align="right">Versandort</th>
144
                    <td colspan="3"><input name="shippingpoint" size="35" value="[% HTML.escape(shippingpoint) %]"></td>
146 145
                  </tr>
147 146
                  <tr>
148
                    <th align=right>Transportmittel</th>
149
                    <td colspan=3><input name=shipvia size=35 value="[% HTML.escape(shipvia) %]"></td>
147
                    <th align="right">Transportmittel</th>
148
                    <td colspan="3"><input name="shipvia" size="35" value="[% HTML.escape(shipvia) %]"></td>
150 149
                  </tr>
151 150
                  <tr>
152 151
                    <th align="right">Vorgangsbezeichnung</th>
......
154 153
                  </tr>
155 154
[%- IF show_delivery_customer %]
156 155
                  <tr>
157
                    <td colspan=4>
156
                    <td colspan="4">
158 157
                      <table>
159 158
                        <tr>
160
                          <td colspan=2>
159
                          <td colspan="2">
161 160
                          <button type="button" onclick="delivery_customer_selection_window('delivery_customer_string','delivery_customer_id')">Endkunde w?hlen:</button>
162 161
                        </td>
163
                          <td colspan=2><input type=hidden name=delivery_customer_id value="[% HTML.escape(delivery_customer_id) %]">
164
                          <input size=45 id=delivery_customer_string name=delivery_customer_string value="[% HTML.escape(delivery_customer_string) %]"></td>
162
                          <td colspan="2"><input type="hidden" name="delivery_customer_id" value="[% HTML.escape(delivery_customer_id) %]">
163
                          <input size="45" id="delivery_customer_string" name="delivery_customer_string" value="[% HTML.escape(delivery_customer_string) %]"></td>
165 164
                        </tr>
166 165
                        <tr>
167
                          <td colspan=2>
166
                          <td colspan="2">
168 167
                            <button type="button" onclick="vendor_selection_window('delivery_vendor_string','delivery_vendor_id')">H?ndler w?hlen</button>
169 168
                          </td>
170
                          <td colspan=2><input type=hidden name=delivery_vendor_id value="[% HTML.escape(delivery_vendor_id) %]">
171
                          <input size=45 id=vendor_string name=delivery_vendor_string value="[% HTML.escape(delivery_vendor_string) %]"></td>
169
                          <td colspan="2"><input type="hidden" name="delivery_vendor_id" value="[% HTML.escape(delivery_vendor_id) %]">
170
                          <input size="45" id="vendor_string" name="delivery_vendor_string" value="[% HTML.escape(delivery_vendor_string) %]"></td>
172 171
                        </tr>
173 172
                      </table>
174 173
                    </td>
175
                  </tr> 
174
                  </tr>
176 175
[%- END %]
177 176
                </table>
178 177
              </td>
179
              <td align=right>
178
              <td align="right">
180 179
                <table>
181 180
              [% openclosed %]
182 181
                  <tr>
183 182
                    <th align="right">Bearbeiter</th>
184 183
                    <td>
185
                      [%- INCLUDE 'generic/multibox.html' 
186
                           name       = 'employee_id', 
187
                           DATA       = ALL_EMPLOYEES, 
188
                           id_key     = 'id', 
184
                      [%- INCLUDE 'generic/multibox.html'
185
                           name       = 'employee_id',
186
                           DATA       = ALL_EMPLOYEES,
187
                           id_key     = 'id',
189 188
                           label_sub  = 'sales_employee_labels' -%]
190 189
                    </td>
191 190
                  </tr>
......
193 192
                  <tr>
194 193
                    <th align="right">Verk?ufer/in</th>
195 194
                    <td>
196
                      [%- INCLUDE 'generic/multibox.html' 
197
                           name       = 'salesman_id', 
198
                           default    = salesman_id ? salesman_id : employee_id, 
199
                           DATA       = ALL_SALESMEN, 
200
                           id_key     = 'id', 
195
                      [%- INCLUDE 'generic/multibox.html'
196
                           name       = 'salesman_id',
197
                           default    = salesman_id ? salesman_id : employee_id,
198
                           DATA       = ALL_SALESMEN,
199
                           id_key     = 'id',
201 200
                           label_sub  = 'sales_employee_labels' -%]
202 201
                    </td>
203 202
                  </tr>
204 203
[%- END %]
205 204
[%- IF is_order %]
206 205
                  <tr>
207
                    <th width=70% align=right nowrap>Auftragsnummer</th>
208
                    <td><input name=ordnumber size=11 value="[% HTML.escape(ordnumber) %]"></td>
206
                    <th width="70%" align="right" nowrap>Auftragsnummer</th>
207
                    <td><input name="ordnumber" size="11" value="[% HTML.escape(ordnumber) %]"></td>
209 208
                  </tr>
210 209
[%- END %]
211 210
                  <tr>
212
                    <th width=70% align=right nowrap>[% IF is_req_quo %]Anfragenummer[% ELSE %]Angebotsnummer[% END %]</th>
213
                    <td><input name=quonumber size=11 value="[% HTML.escape(quonumber) %]"></td>
211
                    <th width="70%" align="right" nowrap>[% IF is_req_quo %]Anfragenummer[% ELSE %]Angebotsnummer[% END %]</th>
212
                    <td><input name="quonumber" size="11" value="[% HTML.escape(quonumber) %]"></td>
214 213
                  </tr>
215 214
[%- IF is_order %]
216 215
                  <tr>
217
                    <th width=70% align=right nowrap>Bestellnummer des Kunden</th>
218
                    <td><input name=cusordnumber size=11 value="[% HTML.escape(cusordnumber) %]"></td>
216
                    <th width="70%" align="right" nowrap>Bestellnummer des Kunden</th>
217
                    <td><input name="cusordnumber" size="11" value="[% HTML.escape(cusordnumber) %]"></td>
219 218
                  </tr>
220 219
[%- END %]
221 220
                  <tr>
222
                    <th align=right nowrap>
221
                    <th align="right" nowrap>
223 222
                     [%- IF is_order %]
224 223
                      Auftragsdatum
225 224
                     [%- ELSE %]
......
229 228
                    [% button1 %]
230 229
                  </tr>
231 230
                  <tr>
232
                    <th align=right nowrap>
231
                    <th align="right" nowrap>
233 232
                     [%- IF is_sales_quo %]
234 233
                      g?ltig bis
235 234
                     [%- ELSE %]
......
241 240
                  <tr>
242 241
                    <th width="70%" align="right" nowrap>Projektnummer</th>
243 242
                    <td>
244
                      [%- INCLUDE 'generic/multibox.html' 
245
                           name       = 'globalproject_id', 
246
                           DATA       = ALL_PROJECTS, 
247
                           id_key     = 'id', 
243
                      [%- INCLUDE 'generic/multibox.html'
244
                           name       = 'globalproject_id',
245
                           DATA       = ALL_PROJECTS,
246
                           id_key     = 'id',
248 247
                           label_key  = 'projectnumber',
249 248
                           show_empty = 1,
250 249
                           onChange   = "document.getElementById('update_button').click();" -%]
templates/webpages/oe/orders_header_master.html
2 2
[%- USE LxERP %]
3 3
<body onLoad="[% onload %]">
4 4

  
5
  <form method=post name=oe action="[% script %]">
5
  <form method="post" name="oe" action="[% script %]">
6 6

  
7 7
    <script type="text/javascript" src="js/common.js"></script>
8 8
    <script type="text/javascript" src="js/delivery_customer_selection.js"></script>
......
12 12
    <script type="text/javascript" src="js/follow_up.js"></script>
13 13

  
14 14
[%- FOREACH row = HIDDENS %]
15
   <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" > 
15
   <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" >
16 16
[%- END %]
17 17

  
18 18
    <input type="hidden" name="follow_up_trans_id_1" value="[% HTML.escape(id) %]">
......
20 20
    <input type="hidden" name="follow_up_trans_info_1" value="[% HTML.escape(follow_up_trans_info) %]">
21 21
    <input type="hidden" name="follow_up_rowcount" value="1">
22 22

  
23
    <table width=100%>
24
      <tr class=listtop>
25
        <th class=listtop>[% HTML.escape(title) %]</th>
26
      </tr>
23
    <div class="listtop">[% title %]</div>
24

  
25
    <table width="100%">
27 26
      <tr height="5"></tr>
28 27
      <tr>
29 28
        <td>
30 29
          <table width="100%">
31
            <tr valign=top>
32
              <td width=50%>
33
                <table width=100%>
30
            <tr valign="top">
31
              <td width="50%">
32
                <table width="100%">
34 33
                  <tr>
35 34
                    <th align="right">[% IF vc == 'customer' %]<translate>Customer</translate>[% ELSE %]<translate>Vendor</translate>[% END %]</th>
36 35
                    <td>
37
                      [%- INCLUDE 'generic/multibox.html' 
36
                      [%- INCLUDE 'generic/multibox.html'
38 37
                           name       = vc,
39
                           style      = 'width: 250px', 
38
                           style      = 'width: 250px',
40 39
                           DATA       = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS,
41 40
                           id_sub     = 'vc_keys',
42 41
                           label_key  = 'name',
43 42
                           select     = vc_select,
44 43
                           limit      = vclimit,
45 44
                           onChange   = "document.getElementById('update_button').click();" -%]
46
                      <input type="button" value="D" onclick="show_vc_details('[% vc %]')">
45
                      <input type="button" value="D" onclick="show_vc_details('[% HTML.escape(vc) %]')">
47 46
                    </td>
48 47
                  </tr>
49 48
[%- IF ALL_CONTACTS.size %]
50 49
                  <tr>
51 50
                    <th align="right"><translate>Contact Person</translate></th>
52 51
                    <td>
53
                      [%- INCLUDE 'generic/multibox.html' 
54
                           name       = 'cp_id', 
55
                           style      = 'width: 250px', 
56
                           DATA       = ALL_CONTACTS, 
57
                           id_key     = 'cp_id', 
52
                      [%- INCLUDE 'generic/multibox.html'
53
                           name       = 'cp_id',
54
                           style      = 'width: 250px',
55
                           DATA       = ALL_CONTACTS,
56
                           id_key     = 'cp_id',
58 57
                           label_sub  = 'contact_labels',
59 58
                           show_empty = 1 -%]
60 59
                    </td>
61 60
                  </tr>
62 61
[%- END %]
63
[%- IF ALL_SHIPTO %] 
62
[%- IF ALL_SHIPTO.size %]
64 63
                  <tr>
65 64
                    <th align="right"><translate>Shipping Address</translate></th>
66 65
                    <td>
67
                      [%- INCLUDE 'generic/multibox.html' 
68
                           name       = 'shipto_id', 
69
                           style      = 'width: 250px', 
70
                           DATA       = ALL_SHIPTO, 
71
                           id_key     = 'shipto_id', 
66
                      [%- INCLUDE 'generic/multibox.html'
67
                           name       = 'shipto_id',
68
                           style      = 'width: 250px',
69
                           DATA       = ALL_SHIPTO,
70
                           id_key     = 'shipto_id',
72 71
                           label_sub  = 'shipto_labels',
73 72
                           show_empty = 1,
74 73
                           onChange   = "document.getElementById('update_button').click();" -%]
......
99 98
                  <tr>
100 99
                    <th align="right"><translate>Steuersatz</translate></th>
101 100
                    <td>
102
                      [%- INCLUDE 'generic/multibox.html' 
103
                           name       = 'taxzone_id', 
104
                           style      = 'width: 250px', 
105
                           DATA       = ALL_TAXZONES, 
106
                           id_key     = 'id', 
101
                      [%- INCLUDE 'generic/multibox.html'
102
                           name       = 'taxzone_id',
103
                           style      = 'width: 250px',
104
                           DATA       = ALL_TAXZONES,
105
                           id_key     = 'id',
107 106
                           label_key  = 'description' -%]
108 107
                    </td>
109 108
                  </tr>
110 109
[%- IF selectdepartment %]
111 110
                  <tr>
112 111
                    <th align="right" nowrap><translate>Department</translate></th>
113
                    <td colspan=3><select name=department style="width: 250px">[% selectdepartment %]</select>
114
                    <input type=hidden name=selectdepartment value="[% HTML.escape(selectdepartment) %]">
112
                    <td colspan="3"><select name="department" style="width: 250px">[% selectdepartment %]</select>
113
                    <input type="hidden" name="selectdepartment" value="[% HTML.escape(selectdepartment) %]">
115 114
                    </td>
116 115
                  </tr>
117 116
[%- END %]
......
124 123
[%- END %]
125 124
[%- IF show_exchangerate %]
126 125
                  <tr>
127
                    <th align=right><translate>Exchangerate</translate></th>
126
                    <th align="right"><translate>Exchangerate</translate></th>
128 127
                    <td>
129 128
                     [%- IF forex %]
130 129
                      [% LxERP.format_amount(exchangerate, 0) %]
131 130
                     [%- ELSE %]
132
                      <input name=exchangerate size=10 value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
131
                      <input name="exchangerate" size="10" value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
133 132
                     [%- END %]
134 133
                    </td>
135 134
                  </tr>
136 135
[%- END %]
137 136
[%- IF is_sales %]
138 137
                  <tr>
139
                    <th align=right><translate>Motiv</translate></th>
140
                    <td style="font-weight:bold" colspan=3><input name=motiv size=35 value="[% HTML.escape(motiv) %]"></td>
138
                    <th align="right"><translate>Motiv</translate></th>
139
                    <td style="font-weight:bold" colspan="3"><input name="motiv" size="35" value="[% HTML.escape(motiv) %]"></td>
141 140
                  </tr>
142 141
[%- END %]
143 142
                  <tr>
144
                    <th align=right><translate>Shipping Point</translate></th>
145
                    <td colspan=3><input name=shippingpoint size=35 value="[% HTML.escape(shippingpoint) %]"></td>
143
                    <th align="right"><translate>Shipping Point</translate></th>
144
                    <td colspan="3"><input name="shippingpoint" size="35" value="[% HTML.escape(shippingpoint) %]"></td>
146 145
                  </tr>
147 146
                  <tr>
148
                    <th align=right><translate>Ship via</translate></th>
149
                    <td colspan=3><input name=shipvia size=35 value="[% HTML.escape(shipvia) %]"></td>
147
                    <th align="right"><translate>Ship via</translate></th>
148
                    <td colspan="3"><input name="shipvia" size="35" value="[% HTML.escape(shipvia) %]"></td>
150 149
                  </tr>
151 150
                  <tr>
152 151
                    <th align="right"><translate>Transaction description</translate></th>
......
154 153
                  </tr>
155 154
[%- IF show_delivery_customer %]
156 155
                  <tr>
157
                    <td colspan=4>
156
                    <td colspan="4">
158 157
                      <table>
159 158
                        <tr>
160
                          <td colspan=2>
159
                          <td colspan="2">
161 160
                          <button type="button" onclick="delivery_customer_selection_window('delivery_customer_string','delivery_customer_id')"><translate>Choose Customer</translate></button>
162 161
                        </td>
163
                          <td colspan=2><input type=hidden name=delivery_customer_id value="[% HTML.escape(delivery_customer_id) %]">
164
                          <input size=45 id=delivery_customer_string name=delivery_customer_string value="[% HTML.escape(delivery_customer_string) %]"></td>
162
                          <td colspan="2"><input type="hidden" name="delivery_customer_id" value="[% HTML.escape(delivery_customer_id) %]">
163
                          <input size="45" id="delivery_customer_string" name="delivery_customer_string" value="[% HTML.escape(delivery_customer_string) %]"></td>
165 164
                        </tr>
166 165
                        <tr>
167
                          <td colspan=2>
166
                          <td colspan="2">
168 167
                            <button type="button" onclick="vendor_selection_window('delivery_vendor_string','delivery_vendor_id')"><translate>Choose Vendor</translate></button>
169 168
                          </td>
170
                          <td colspan=2><input type=hidden name=delivery_vendor_id value="[% HTML.escape(delivery_vendor_id) %]">
171
                          <input size=45 id=vendor_string name=delivery_vendor_string value="[% HTML.escape(delivery_vendor_string) %]"></td>
169
                          <td colspan="2"><input type="hidden" name="delivery_vendor_id" value="[% HTML.escape(delivery_vendor_id) %]">
170
                          <input size="45" id="vendor_string" name="delivery_vendor_string" value="[% HTML.escape(delivery_vendor_string) %]"></td>
172 171
                        </tr>
173 172
                      </table>
174 173
                    </td>
175
                  </tr> 
174
                  </tr>
176 175
[%- END %]
177 176
                </table>
178 177
              </td>
179
              <td align=right>
178
              <td align="right">
180 179
                <table>
181 180
              [% openclosed %]
182 181
                  <tr>
183 182
                    <th align="right"><translate>Employee</translate></th>
184 183
                    <td>
185
                      [%- INCLUDE 'generic/multibox.html' 
186
                           name       = 'employee_id', 
187
                           DATA       = ALL_EMPLOYEES, 
188
                           id_key     = 'id', 
184
                      [%- INCLUDE 'generic/multibox.html'
185
                           name       = 'employee_id',
186
                           DATA       = ALL_EMPLOYEES,
187
                           id_key     = 'id',
189 188
                           label_sub  = 'sales_employee_labels' -%]
190 189
                    </td>
191 190
                  </tr>
......
193 192
                  <tr>
194 193
                    <th align="right"><translate>Salesman</translate></th>
195 194
                    <td>
196
                      [%- INCLUDE 'generic/multibox.html' 
197
                           name       = 'salesman_id', 
198
                           default    = salesman_id ? salesman_id : employee_id, 
199
                           DATA       = ALL_SALESMEN, 
200
                           id_key     = 'id', 
195
                      [%- INCLUDE 'generic/multibox.html'
196
                           name       = 'salesman_id',
197
                           default    = salesman_id ? salesman_id : employee_id,
198
                           DATA       = ALL_SALESMEN,
199
                           id_key     = 'id',
201 200
                           label_sub  = 'sales_employee_labels' -%]
202 201
                    </td>
203 202
                  </tr>
204 203
[%- END %]
205 204
[%- IF is_order %]
206 205
                  <tr>
207
                    <th width=70% align=right nowrap><translate>Order Number</translate></th>
208
                    <td><input name=ordnumber size=11 value="[% HTML.escape(ordnumber) %]"></td>
206
                    <th width="70%" align="right" nowrap><translate>Order Number</translate></th>
207
                    <td><input name="ordnumber" size="11" value="[% HTML.escape(ordnumber) %]"></td>
209 208
                  </tr>
210 209
[%- END %]
211 210
                  <tr>
212
                    <th width=70% align=right nowrap>[% IF is_req_quo %]<translate>RFQ Number</translate>[% ELSE %]<translate>Quotation Number</translate>[% END %]</th>
213
                    <td><input name=quonumber size=11 value="[% HTML.escape(quonumber) %]"></td>
211
                    <th width="70%" align="right" nowrap>[% IF is_req_quo %]<translate>RFQ Number</translate>[% ELSE %]<translate>Quotation Number</translate>[% END %]</th>
212
                    <td><input name="quonumber" size="11" value="[% HTML.escape(quonumber) %]"></td>
214 213
                  </tr>
215 214
[%- IF is_order %]
216 215
                  <tr>
217
                    <th width=70% align=right nowrap><translate>Customer Order Number</translate></th>
218
                    <td><input name=cusordnumber size=11 value="[% HTML.escape(cusordnumber) %]"></td>
216
                    <th width="70%" align="right" nowrap><translate>Customer Order Number</translate></th>
217
                    <td><input name="cusordnumber" size="11" value="[% HTML.escape(cusordnumber) %]"></td>
219 218
                  </tr>
220 219
[%- END %]
221 220
                  <tr>
222
                    <th align=right nowrap>
221
                    <th align="right" nowrap>
223 222
                     [%- IF is_order %]
224 223
                      <translate>Order Date</translate>
225 224
                     [%- ELSE %]
......
229 228
                    [% button1 %]
230 229
                  </tr>
231 230
                  <tr>
232
                    <th align=right nowrap>
231
                    <th align="right" nowrap>
233 232
                     [%- IF is_sales_quo %]
234 233
                      <translate>Valid until</translate>
235 234
                     [%- ELSE %]
......
241 240
                  <tr>
242 241
                    <th width="70%" align="right" nowrap><translate>Project Number</translate></th>
243 242
                    <td>
244
                      [%- INCLUDE 'generic/multibox.html' 
245
                           name       = 'globalproject_id', 
246
                           DATA       = ALL_PROJECTS, 
247
                           id_key     = 'id', 
243
                      [%- INCLUDE 'generic/multibox.html'
244
                           name       = 'globalproject_id',
245
                           DATA       = ALL_PROJECTS,
246
                           id_key     = 'id',
248 247
                           label_key  = 'projectnumber',
249 248
                           show_empty = 1,
250 249
                           onChange   = "document.getElementById('update_button').click();" -%]

Auch abrufbar als: Unified diff