Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a2cfe3e7

Von Tamino Steinert vor 10 Monaten hinzugefügt

  • ID a2cfe3e75dd420a0ee7c7a5e7a4e8223a8951ceb
  • Vorgänger 6e00af5b

Füge Reiter Dokumente bei Debitorenbuchungen hinzu

Unterschiede anzeigen:

js/kivi.AR.js
21 21
    return false;
22 22
  };
23 23
});
24

  
25
$(function() {
26
  console.log(kivi.File.doc_tab_init('ar_tabs', 'ui-tabs-docs', $('#id').val(), 'invoice'));
27
});
templates/design40_webpages/ar/form_header.html
35 35

  
36 36
[% IF saved_message %]<p class="message message_info">[% saved_message | html  %]</p>[% END %]
37 37

  
38
<div class="tabwidget">
38
<div id="ar_tabs" class="tabwidget">
39 39

  
40 40
<ul>
41 41
  <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
......
44 44
  [% END %]
45 45
  [% IF id %]
46 46
    [% IF INSTANCE_CONF.get_doc_storage %]
47
      <li><a href="#ui-tabs-docs">[% 'Documents' | $T8 %]</a></li>
47 48
      <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=invoice&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li>
48 49
    [% END %]
49 50
    [% IF AUTH.assert('record_links', 1) %]
......
53 54
  [% END %]
54 55
</ul>
55 56

  
57
[% IF id AND INSTANCE_CONF.get_doc_storage %]
58
  <div id="ui-tabs-docs"></div>
59
[% END %]
56 60

  
57 61
<div id="ui-tabs-basic-data">
58 62

  
templates/webpages/ar/form_header.html
34 34

  
35 35
[%- IF saved_message %]<p>[% saved_message | html  %]</p>[% END %]
36 36

  
37
<div class="tabwidget">
37
<div id="ar_tabs" class="tabwidget">
38 38
 <ul>
39 39
  <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
40 40
  [% IF email_attachment_id || workflow_email_attachment_id %]
......
42 42
  [% END %]
43 43
[%- IF id %]
44 44
  [%- IF INSTANCE_CONF.get_doc_storage %]
45
  <li><a href="#ui-tabs-docs">[% 'Documents' | $T8 %]</a></li>
45 46
  <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=invoice&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li>
46 47
  [%- END %]
47 48
  [% IF AUTH.assert('record_links', 1) %]
......
51 52
[%- END %]
52 53
 </ul>
53 54

  
55
[% IF id AND INSTANCE_CONF.get_doc_storage %]
56
  <div id="ui-tabs-docs"></div>
57
[% END %]
58

  
54 59
<div id="ui-tabs-basic-data">
55 60
<table width=100%>
56 61
  <tr valign=top>

Auch abrufbar als: Unified diff