5 [% # L.dump( SELF.reclamation.items_sorted ) %]
7 [% IF FORM.workflow_email_journal_id %]
8 [% SET FORM.title = LxERP.t8("Email Journal Workflow") _ " - " _ FORM.title %]
10 <h1>[% FORM.title %] <span id='nr_in_title'>[%- SELF.reclamation.record_number -%]</span></h1>
12 <div id="print_options" style="display:none">
13 <form method="post" action="controller.pl" id="print_options_form">
14 [% SELF.print_options %]
16 [% L.button_tag('kivi.Reclamation.print()', LxERP.t8('Print')) %]
17 <a href="#" onclick="$('#print_options').dialog('close');">[% LxERP.t8("Cancel") %]</a>
21 <div id="shipto_dialog" class="hidden"></div>
23 <form method="post" action="controller.pl" id="reclamation_form">
24 [% L.hidden_tag('callback', FORM.callback) %]
25 [% L.hidden_tag('type', FORM.type) %]
26 [% L.hidden_tag('id', SELF.reclamation.id) %]
27 [% L.hidden_tag('converted_from_record_type_ref', SELF.reclamation.converted_from_record_type_ref) %]
28 [% L.hidden_tag('converted_from_record_id', SELF.reclamation.converted_from_record_id) %]
29 [% L.hidden_tag('email_journal_id', FORM.email_journal_id) %]
30 [% L.hidden_tag('email_attachment_id', FORM.email_attachment_id) %]
31 [% L.hidden_tag('workflow_email_journal_id', FORM.workflow_email_journal_id) %]
32 [% L.hidden_tag('workflow_email_attachment_id', FORM.workflow_email_attachment_id) %]
33 [% L.hidden_tag('workflow_email_callback', FORM.workflow_email_callback) %]
35 [% IF !SELF.reclamation.id %]
36 [% L.hidden_tag('form_validity_token', FORM.form_validity_token) %]
39 [%- INCLUDE 'common/flash.html' %]
41 <div class="tabwidget" id="reclamation_tabs">
43 <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
44 [% IF FORM.email_attachment_id || FORM.workflow_email_attachment_id %]
45 <li><a href="controller.pl?action=EmailJournal/attachment_preview&attachment_id=[% HTML.url(FORM.email_attachment_id || FORM.workflow_email_attachment_id) %]">[% 'Email Attachment Preview' | $T8 %]</a></li>
47 [%- IF INSTANCE_CONF.get_webdav %]
48 <li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li>
50 [%- IF SELF.reclamation.id AND INSTANCE_CONF.get_doc_storage %]
51 <li><a href="controller.pl?action=File/list&file_type=document&object_type=[% HTML.escape(FORM.type) %]&object_id=[% HTML.url(SELF.reclamation.id) %]">[% 'Documents' | $T8 %]</a></li>
52 <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=[% HTML.escape(FORM.type) %]&object_id=[% HTML.url(SELF.reclamation.id) %]">[% 'Attachments' | $T8 %]</a></li>
54 [%- IF SELF.reclamation.id %]
55 <li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Reclamation&object_id=[% SELF.reclamation.id %]">[% 'Linked Records' | $T8 %]</a></li>
59 [% PROCESS "reclamation/tabs/basic_data.html" %]
60 [% PROCESS 'webdav/_list.html' %]
62 [%- LxERP.t8("Loading...") %]
65 <div id="shipto_inputs" class="hidden">
66 [%- PROCESS 'common/_ship_to_dialog.html'
67 cv_obj=SELF.reclamation.customervendor
68 cs_obj=SELF.reclamation.custom_shipto
69 cvars=SELF.reclamation.custom_shipto.cvars_by_config
70 id_selector='#reclamation_shipto_id' %]