Revision 3fc38171
Von Andreas Rudin vor etwa 6 Jahren hinzugefügt
templates/webpages/letter/edit.html | ||
---|---|---|
32 | 32 |
<div class="wrapper"> |
33 | 33 |
|
34 | 34 |
<table class="tbl-horizontal col"> |
35 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
|
|
35 |
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup> |
|
36 | 36 |
<tbody> |
37 |
[% IF SELF.is_sales %]
|
|
37 |
[% IF SELF.is_sales %] |
|
38 | 38 |
<tr> |
39 | 39 |
<th>[% 'Customer' | $T8 %]</th> |
40 |
<td>[% P.customer_vendor.picker('letter.customer_id', letter.customer_id, type='customer', class='wi-wide') %]</td>
|
|
40 |
<td class="wi-wider">[% P.customer_vendor.picker('letter.customer_id', letter.customer_id, type='customer', class='wi-wider') %]</td>
|
|
41 | 41 |
</tr> |
42 |
[% ELSE %]
|
|
42 |
[% ELSE %] |
|
43 | 43 |
<tr> |
44 | 44 |
<th>[% 'Vendor' | $T8 %]</th> |
45 |
<td>[% P.customer_vendor.picker('letter.vendor_id', letter.vendor_id, type='vendor', class='wi-wide') %]</td>
|
|
45 |
<td class="wi-wider">[% P.customer_vendor.picker('letter.vendor_id', letter.vendor_id, type='vendor', class='wi-wider') %]</td>
|
|
46 | 46 |
</tr> |
47 |
[% END %]
|
|
47 |
[% END %] |
|
48 | 48 |
<tr> |
49 | 49 |
<th>[% 'Contact Person' | $T8 %]</th> |
50 |
<td>[% L.select_tag('letter.cp_id', letter.customer_vendor_id ? letter.customer_vendor.contacts : [], value_key='cp_id', title_key='full_name', default=letter.cp_id, class='wi-wide') %]</td>
|
|
50 |
<td class="wi-wider">[% L.select_tag('letter.cp_id', letter.customer_vendor_id ? letter.customer_vendor.contacts : [], value_key='cp_id', title_key='full_name', default=letter.cp_id, class='wi-wider') %]</td>
|
|
51 | 51 |
</tr> |
52 | 52 |
</tbody> |
53 | 53 |
</table> |
... | ... | |
85 | 85 |
|
86 | 86 |
<div class="wrapper"> |
87 | 87 |
|
88 |
<table class="tbl-horizontal"> |
|
89 |
<colgroup> <col class="wi-small"><col class="wi-wider"> </colgroup> |
|
90 |
<tbody> |
|
91 |
<tr> |
|
92 |
<th>[% 'Date' | $T8 %]</th> |
|
93 |
<td>[% L.date_tag('letter.date_as_date', letter.date_as_date, readonly=readonly) %]</td> |
|
94 |
</tr> |
|
95 |
<tr> |
|
96 |
<th>[% 'Subject' | $T8 %]</th> |
|
97 |
<td><textarea name='letter.subject' rows=1 class="wi-wider">[% letter.subject | html %]</textarea> |
|
98 |
</td> |
|
99 |
</tr> |
|
100 |
<tr> |
|
101 |
<th>[% 'Greeting' | $T8 %]</th> |
|
102 |
<td> <input type="text" name='letter.greeting' value="[% letter.greeting | html %]" class="wi-wider"> |
|
103 |
</td> |
|
104 |
</tr> |
|
105 |
<tr> |
|
106 |
<th>[% 'Body' | $T8 %]</th> |
|
107 |
<td>[% L.textarea_tag('letter.body_as_restricted_html', letter.body_as_restricted_html, rows=20, class="texteditor wi-wider") %]</td> |
|
108 |
</tr> |
|
109 |
<tr> |
|
110 |
<th>[% 'Internal Notes' | $T8 %]</th> |
|
111 |
<td><textarea name='letter.intnotes' rows=4 class="wi-wider">[% letter.intnotes | html %]</textarea> |
|
112 |
</td> |
|
113 |
</tr> |
|
114 |
</tbody> |
|
115 |
</table> |
|
116 |
|
|
117 |
<div id="email_inputs" class="hidden"></div> |
|
118 |
<div id="print_options" class="hidden">[% print_options %]</div> |
|
88 |
<table class="tbl-horizontal"> |
|
89 |
<colgroup> <col class="wi-small"><col class="wi-wider"> </colgroup> |
|
90 |
<tbody> |
|
91 |
<tr> |
|
92 |
<th>[% 'Date' | $T8 %]</th> |
|
93 |
<td>[% L.date_tag('letter.date_as_date', letter.date_as_date, readonly=readonly, class='wi-date') %]</td> |
|
94 |
</tr> |
|
95 |
<tr> |
|
96 |
<th>[% 'Subject' | $T8 %]</th> |
|
97 |
<td><textarea name='letter.subject' rows="1" class="wi-wider">[% letter.subject | html %]</textarea></td> |
|
98 |
</tr> |
|
99 |
<tr> |
|
100 |
<th>[% 'Greeting' | $T8 %]</th> |
|
101 |
<td><input type="text" name='letter.greeting' value="[% letter.greeting | html %]" class="wi-wider"> </td> |
|
102 |
</tr> |
|
103 |
<tr> |
|
104 |
<th>[% 'Body' | $T8 %]</th> |
|
105 |
<td class="wi-wider">[% L.textarea_tag('letter.body_as_restricted_html', letter.body_as_restricted_html, rows=20, class='texteditor wi-wider') %]</td> |
|
106 |
</tr> |
|
107 |
<tr> |
|
108 |
<th>[% 'Internal Notes' | $T8 %]</th> |
|
109 |
<td><textarea name='letter.intnotes' rows="4" class="wi-wider">[% letter.intnotes | html %]</textarea></td> |
|
110 |
</tr> |
|
111 |
</tbody> |
|
112 |
</table> |
|
113 |
|
|
114 |
<div id="email_inputs" class="hidden"></div> |
|
115 |
<div id="print_options" class="hidden">[% print_options %]</div> |
|
119 | 116 |
|
120 | 117 |
</div><!-- /.wrapper --> |
121 | 118 |
|
... | ... | |
123 | 120 |
|
124 | 121 |
[% PROCESS 'webdav/_list.html' %] |
125 | 122 |
<div id="ui-tabs-1"> |
123 |
<div class="wrapper"> |
|
126 | 124 |
[% LxERP.t8("Loading...") %] |
125 |
</div> |
|
127 | 126 |
</div> |
128 | 127 |
|
129 | 128 |
</div><!-- /.tabwidget --> |
Auch abrufbar als: Unified diff
HP Aenderungen bis Oktober 2018