Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e00a5ba6

Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt

  • ID e00a5ba6cca6be462ea6dc062d28617f8e928bf2
  • Vorgänger 22349baa
  • Nachfolger 3a56d384

Design 4.0: Auftrags-Controller: Telefonnotizen: Anpassungen

Unterschiede anzeigen:

templates/design40_webpages/order/form.html
37 37
  [% IF SELF.order.id %]
38 38
    <li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Order&object_id=[% HTML.url(SELF.order.id) %]">[% 'Linked Records' | $T8 %]</a></li>
39 39
  [% END %]
40
  [% IF SELF.order.id %]
41
    <li><a href="#ui-tabs-phone-notes">[% 'Phone Notes' | $T8 %]<span id="num_phone_notes">[%- num_phone_notes ? ' (' _ num_phone_notes _ ')' : '' -%]</span></a></li>
42
  [% END %]
40 43
</ul>
41 44

  
42 45
[% PROCESS "order/tabs/basic_data.html" %]
......
44 47
<div id="ui-tabs-1">
45 48
  [% LxERP.t8("Loading...") %]
46 49
</div>
47

  
50
[% IF SELF.order.id %]
51
  <div id="ui-tabs-phone-notes">
52
    [% PROCESS "order/tabs/phone_notes.html" %]
53
  </div>
54
[% END %]
48 55
<div id="shipto_inputs" class="hidden">
49 56
  [%- PROCESS 'common/_ship_to_dialog.html'
50 57
    vc_obj=SELF.order.customervendor
templates/design40_webpages/order/tabs/phone_notes.html
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>

Auch abrufbar als: Unified diff