X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Forder%2Ftabs%2Fphone_notes.html;fp=templates%2Fwebpages%2Forder%2Ftabs%2Fphone_notes.html;h=b1d2117524bcb30cc35499ed7cca10f750b8e8b7;hp=0000000000000000000000000000000000000000;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84 diff --git a/templates/webpages/order/tabs/phone_notes.html b/templates/webpages/order/tabs/phone_notes.html new file mode 100644 index 000000000..b1d211752 --- /dev/null +++ b/templates/webpages/order/tabs/phone_notes.html @@ -0,0 +1,47 @@ +[%- USE T8 %] +[%- USE HTML %] +[%- USE L %] +[%- USE LxERP %] +[%- USE P %] + +
+ [% IF ( SELF.order.phone_notes && SELF.order.phone_notes.size ) %] + + + + + + + + [%- FOREACH row = SELF.order.phone_notes %] + + + + + + [% END %] +
[% 'Subject' | $T8 %][% 'Created on' | $T8 %][% 'Created by' | $T8 %]
[% P.link_tag('#', row.subject, onclick="kivi.Order.load_phone_note(" _ HTML.url(row.id) _ ", '" _ HTML.escape(row.subject) _ "', '" _ HTML.escape(row.body) _ "')") %][% row.itime.to_kivitendo | html %][% row.employee.safe_name | html %]
+ [% END %] + +

[% 'Add note' | $T8 %]

+ + [% L.hidden_tag('phone_note.id') %] + + + + + + + + + + +
[% 'Subject' | $T8 %][% L.input_tag('phone_note.subject', '', size = 50) %]
[% 'Body' | $T8 %][% L.textarea_tag('phone_note.body', '', cols = 50 rows = 10) %]
+ +

+ [% P.button_tag("kivi.Order.save_phone_note()", LxERP.t8('Save')) %] + [% P.button_tag("kivi.Order.delete_phone_note()", LxERP.t8('Delete'), id = 'phone_note_delete_button', style='display:none') %] + [% P.button_tag("kivi.Order.cancel_phone_note()", LxERP.t8('Cancel')) %] +

+ +