Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 13bd180a

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID 13bd180a51ef7b21e8336dbbc256191fcbcfd2a2
  • Vorgänger 9dfede04
  • Nachfolger 8ab352d0

Neues kivitendo Design Aenderungen in templates/webpages/do/..

Unterschiede anzeigen:

templates/webpages/do/form_footer.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %][%- USE L -%][%- USE P -%]
3
 [%- IF delivered %]
4
 [%- SET RO = ' readonly' %]
5
 [%- END %]
6

  
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
[% USE L %]
5
[% USE P %]
6

  
7
[% IF show_weight %]
8
<table class="tbl-horizontal">
9
  <tbody>
7 10
    <tr>
8
     <td>
9
      <table>
10
       <tr valign="bottom">
11
        <th align="left">[% 'Notes' | $T8 %]</th>
12
        <th align="left">[% 'Internal Notes' | $T8 %]</th>
13
       </tr>
11
      <th>[% 'Total weight' | $T8 %]</th>
12
      <td>[% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %]</td>
13
    </tr>
14
  </tbody>
15
</table>
16
[% END %]
14 17

  
15
       <tr valign="top">
16
        <td>
17
         [% IF delivered %]
18
          [% L.hidden_tag("notes", notes) %]
19
         <div style="width: 350px; height: 150px; border: 1px solid black">[% P.restricted_html(notes) %]</div>
20
         [% ELSE %]
21
          [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
22
         [% END %]
23
        </td>
24
        <td><textarea name="intnotes" rows="[% LxERP.numtextrows(intnotes, 35, 8, 2) %]" cols="35" wrap="soft"[% RO %]>[% HTML.escape(intnotes) %]</textarea></td>
25
       </tr>
18
</div>
26 19

  
27
       <tr>
28
         <th align="right">[% 'Delivery Terms' | $T8 %]</th>
29
         <td>[% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description') %]</td>
30
       </tr>
31
      </table>
32 20

  
33
     </td>
34
    </tr>
35
[%- IF show_weight %]
36
  <tr>
37
    <td>
38
      <table width="100%">
39
        <tr valign="bottom">
40
          <td align="right">
41
            <table>
42
            <tr>
43
              <th  align="left">[% 'Total weight' | $T8 %]</th>
44
              <td align="right">
45
                [% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %]
46
              </td>
47
            </tr>
48
            </table>
49
          </td>
50
        </tr>
51
      </table>
52
    </td>
53
  </tr>
54
[%- END %]
55
   </table>
56
  </p>
57 21

  
58
 </div>
59 22
[% PROCESS 'webdav/_list.html' %]
60 23
 <div id="ui-tabs-1">
61
  [%- LxERP.t8("Loading...") %]
24
  [% LxERP.t8("Loading...") %]
62 25
 </div>
63 26
</div>
64 27

  
65
  <input type="hidden" id="rowcount" name="rowcount" value="[% HTML.escape(rowcount) %]">
66
  <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
28
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
29
<input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
67 30

  
68
 [%- IF !delivered %]
31
[% IF !delivered %]
69 32
  <div id="shipto_inputs" class="hidden">
70
   [%- PROCESS 'common/_ship_to_dialog.html' vc_obj=VC_OBJ %]
33
    [% PROCESS 'common/_ship_to_dialog.html' vc_obj=VC_OBJ %]
71 34
  </div>
72
 [%- END %]
35
[% END %]
73 36

  
74
  <div id="email_inputs" class="hidden"></div>
37
<div id="email_inputs" class="hidden"></div>
38

  
39
<div id="print_options" class="hidden">
40
  [% PRINT_OPTIONS %]
41
</div>
42
</form>
75 43

  
76
  <div id="print_options" class="hidden">
77
   [% PRINT_OPTIONS %]
78
  </div>
79
 </form>
80 44
<script type='text/javascript'>
81 45
 $(kivi.SalesPurchase.init_on_submit_checks);
82 46
</script>
83 47

  
84
[%- IF !delivered %]
85
 <div id="shipto_dialog" class="hidden"></div>
86
[%- END %]
48
[% IF !delivered %]
49
  <div id="shipto_dialog" class="hidden"></div>
50
[% END %]
51

  
87 52
<div id="print_dialog" class="hidden">
88
 [%- PROCESS 'common/_print_dialog.html' %]
53
  [% PROCESS 'common/_print_dialog.html' %]
89 54
</div>

Auch abrufbar als: Unified diff