Revision af08a0a8
Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
1338 | 1338 |
->replaceWith('#phone-notes', $tab_as_html) |
1339 | 1339 |
->html('#num_phone_notes', (scalar @{$self->order->phone_notes}) ? ' (' . scalar @{$self->order->phone_notes} . ')' : '') |
1340 | 1340 |
->flash('info', $is_new ? t8('Phone note has been created.') : t8('Phone note has been updated.')) |
1341 |
->reinit_widgets |
|
1341 | 1342 |
->render; |
1342 | 1343 |
} |
1343 | 1344 |
|
... | ... | |
1357 | 1358 |
->replaceWith('#phone-notes', $tab_as_html) |
1358 | 1359 |
->html('#num_phone_notes', (scalar @{$self->order->phone_notes}) ? ' (' . scalar @{$self->order->phone_notes} . ')' : '') |
1359 | 1360 |
->flash('info', t8('Phone note has been deleted.')) |
1361 |
->reinit_widgets |
|
1360 | 1362 |
->render; |
1361 | 1363 |
} |
1362 | 1364 |
|
templates/webpages/order/tabs/phone_notes.html | ||
---|---|---|
15 | 15 |
|
16 | 16 |
[%- FOREACH row = SELF.order.phone_notes %] |
17 | 17 |
<tr class="listrow"> |
18 |
<td>[% P.link_tag('#', row.subject, onclick="kivi.Order.load_phone_note(" _ HTML.url(row.id) _ ", '" _ HTML.escape(row.subject) _ "', '" _ HTML.escape(row.body) _ "')") %]</td>
|
|
18 |
<td>[% P.link_tag('#', row.subject, onclick="kivi.Order.load_phone_note(" _ HTML.url(row.id) _ ", '" _ HTML.escape(row.subject) _ "', '" _ row.body _ "')") %]</td>
|
|
19 | 19 |
<td>[% row.itime.to_kivitendo | html %]</td> |
20 | 20 |
<td>[% row.employee.safe_name | html %]</td> |
21 | 21 |
</tr> |
... | ... | |
34 | 34 |
</tr> |
35 | 35 |
<tr> |
36 | 36 |
<td valign="right" align="top">[% 'Body' | $T8 %]</td> |
37 |
<td align="top">[% L.textarea_tag('phone_note.body', '', cols = 50 rows = 10) %]</td>
|
|
37 |
<td align="top">[% L.textarea_tag('phone_note.body', '', wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]</td>
|
|
38 | 38 |
</tr> |
39 | 39 |
</table> |
40 | 40 |
|
Auch abrufbar als: Unified diff
Telefonnotizen in HTML: anzeigen/laden/speichern