4 |
4 |
[%- USE LxERP %]
|
5 |
5 |
[%- USE P %]
|
6 |
6 |
|
7 |
|
<div id="phone-notes">
|
|
7 |
<div id="phone-notes" class="wrapper">
|
8 |
8 |
[% IF ( SELF.order.phone_notes && SELF.order.phone_notes.size ) %]
|
9 |
|
<table>
|
|
9 |
<table class="tbl-list">
|
|
10 |
<thead>
|
10 |
11 |
<tr>
|
11 |
12 |
<th class="listheading">[% 'Subject' | $T8 %]</th>
|
12 |
13 |
<th class="listheading">[% 'Created on' | $T8 %]</th>
|
13 |
14 |
<th class="listheading">[% 'Created by' | $T8 %]</th>
|
14 |
15 |
</tr>
|
15 |
|
|
|
16 |
</thead>
|
|
17 |
<tbody>
|
16 |
18 |
[%- FOREACH row = SELF.order.phone_notes %]
|
17 |
19 |
<tr class="listrow">
|
18 |
20 |
<td>[% P.link_tag('#', row.subject, onclick="kivi.Order.load_phone_note(" _ HTML.url(row.id) _ ", '" _ HTML.escape(row.subject) _ "', '" _ row.body _ "')") %]</td>
|
... | ... | |
20 |
22 |
<td>[% row.employee.safe_name | html %]</td>
|
21 |
23 |
</tr>
|
22 |
24 |
[% END %]
|
|
25 |
</tbody>
|
23 |
26 |
</table>
|
24 |
27 |
[% END %]
|
25 |
28 |
|
26 |
|
<h2 id='phone_note_edit_text'>[% 'Add note' | $T8 %]</h2>
|
27 |
|
|
28 |
29 |
[% L.hidden_tag('phone_note.id') %]
|
29 |
30 |
|
30 |
|
<table>
|
31 |
|
<tr>
|
32 |
|
<td valign="right">[% 'Subject' | $T8 %]</td>
|
33 |
|
<td>[% L.input_tag('phone_note.subject', '', size = 50) %]</td>
|
34 |
|
</tr>
|
35 |
|
<tr>
|
36 |
|
<td valign="right" align="top">[% 'Body' | $T8 %]</td>
|
37 |
|
<td align="top">[% L.textarea_tag('phone_note.body', '', wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]</td>
|
38 |
|
</tr>
|
|
31 |
<table tbl-horizontal>
|
|
32 |
<caption id='phone_note_edit_text'>[% 'Add note' | $T8 %]</caption>
|
|
33 |
<colgroup><col class="wi-verysmall"><col class="wi-wider"></colgroup>
|
|
34 |
<tbody>
|
|
35 |
<tr>
|
|
36 |
<th valign="right">[% 'Subject' | $T8 %]</th>
|
|
37 |
<td>[% L.input_tag('phone_note.subject', '', class="wi-wider") %]</td>
|
|
38 |
</tr>
|
|
39 |
<tr>
|
|
40 |
<th valign="right" align="top">[% 'Body' | $T8 %]</th>
|
|
41 |
<td align="top">[% L.textarea_tag('phone_note.body', '', wrap="soft", style="height: 350px", class="texteditor wi-wider") %]</td>
|
|
42 |
</tr>
|
|
43 |
</tbody>
|
39 |
44 |
</table>
|
40 |
45 |
|
41 |
46 |
<p>
|
Design 4.0: Auftrags-Controller: Telefonnotizen: Anpassungen