Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0c147889

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

  • ID 0c1478896a1c740fafc561db5a525a2815e65752
  • Vorgänger 7fbadb1d
  • Nachfolger 3c93463b

design40: Kunden-/Lieferanten-Details: Zusätzliche Rechnungsadressen

Unterschiede anzeigen:

templates/design40_webpages/common/show_vc_details.html
1 1
[% USE T8 %]
2 2
[% USE HTML %]
3
[% USE LxERP %]
3 4

  
4 5
<h1>
5 6
[% IF is_customer %][% 'Customer details' | $T8 %]
......
13 14
        <caption>[% 'Jump to' | $T8 %]</caption>
14 15
        <tbody>
15 16
          <tr><td colspan="2"><a href="#billing">[% 'Billing Address' | $T8 %]</a></td></tr>
17
          [% FOREACH additional_billing_addresses = ADDITIONAL_BILLING_ADDRESSES %]
18
            <tr>
19
              <td><a href="#additional_billing_address[% loop.count %]">[% 'Additional Billing Address' | $T8 %]</a></td>
20
              <td><a href="#additional_billing_address[% loop.count %]">&quot;[% HTML.escape(additional_billing_addresses.name) %]&quot;</a></td>
21
            </tr>
22
          [% END %]
16 23
          [% FOREACH shipto = SHIPTO %]
17 24
            <tr>
18
              <td class="cell"><a href="#shipping[% loop.count %]"> [% 'Shipping Address' | $T8 %]</a></td>
25
              <td><a href="#shipping[% loop.count %]"> [% 'Shipping Address' | $T8 %]</a></td>
19 26
              <td><a href="#shipping[% loop.count %]">&quot;[% HTML.escape(shipto.shiptoname) %]&quot;</a></td>
20 27
            </tr>
21 28
          [% END %]
......
33 40

  
34 41
<div class="wrapper">
35 42

  
36
[% INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
43
[% INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]
37 44

  
38 45
<table class="tbl-horizontal checkered">
39 46
  <caption><a name="billing">[% 'Billing Address' | $T8 %]</a></caption>
......
166 173
</div><!-- /.wrapper -->
167 174

  
168 175

  
176
[% FOREACH row = ADDITIONAL_BILLING_ADDRESSES %]
177
<div class="wrapper">
178

  
179
[% INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]
180

  
181
<table class="tbl-horizontal checkered">
182
  <caption><a id="additional_billing_address[% loop.count %]">[% 'Additional Billing Address' | $T8 %] &quot;[% HTML.escape(row.name) %]&quot;</a></caption>
183
  <tbody>
184
    <tr>
185
      <th>[% 'Default Billing Address' | $T8 %]</th>
186
      <td>[% row.default_address ? LxERP.t8('yes') : LxERP.t8('no') %]</td>
187
   </tr>
188
   <tr>
189
     <th>[% 'Name' | $T8 %]</th>
190
     <td>[% HTML.escape(row.name) %]</td>
191
   </tr>
192
   <tr>
193
     <th>[% 'Department' | $T8 %]</th>
194
     <td>
195
       [% HTML.escape(row.department_1) %]
196
       [% IF row.department_2 %]
197
         [% IF row.department_1 %]; [% END %]
198
         [% HTML.escape(row.department_2) %]
199
       [% END %]
200
     </td>
201
   </tr>
202
   <tr>
203
     <th>[% 'Street' | $T8 %]</th>
204
     <td>[% HTML.escape(row.street) %]</td>
205
   </tr>
206
    <tr>
207
      <th>[% 'Zip, City' | $T8 %]</th>
208
      <td>[% HTML.escape(row.zipcode) %] [% HTML.escape(row.city) %]</td>
209
    </tr>
210
   <tr>
211
     <th>[% 'Country' | $T8 %]</th>
212
     <td>[% HTML.escape(row.country) %]</td>
213
   </tr>
214
    <tr>
215
      <th>[% 'GLN' | $T8 %]</th>
216
      <td>[% HTML.escape(row.gln) %]</td>
217
    </tr>
218
    <tr>
219
      <th>[% 'Contact' | $T8 %]</th>
220
      <td>[% HTML.escape(row.contact) %]</td>
221
    </tr>
222
    <tr>
223
      <th>[% 'Phone' | $T8 %]</th>
224
      <td>[% HTML.escape(row.phone) %]</td>
225
    </tr>
226
    <tr>
227
      <th>[% 'Fax' | $T8 %]</th>
228
      <td>[% HTML.escape(row.fax) %]</td>
229
    </tr>
230
    <tr>
231
      <th>[% 'E-mail' | $T8 %]</th>
232
      <td>[% HTML.escape(row.email) %]</td>
233
    </tr>
234
  </tbody>
235
</table>
236

  
237
</div><!-- /.wrapper -->
238
[% END %]
239

  
169 240

  
170 241
[% FOREACH row = SHIPTO %]
171 242
<div class="wrapper">
172 243

  
173
[% INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
244
[% INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]
174 245

  
175 246
<table class="tbl-horizontal checkered">
176 247
  <caption><a id="shipping[% loop.count %]">[% 'Shipping Address' | $T8 %] &quot;[% HTML.escape(row.shiptoname) %]&quot;</a></caption>
......
228 299
[% END %]
229 300

  
230 301

  
231

  
232

  
233

  
234 302
[% FOREACH row = CONTACTS %]
235 303
<div class="wrapper">
236 304

  
237
[% INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO %]
305
[% INCLUDE jump_block CONTACTS = CONTACTS, SHIPTO = SHIPTO, ADDITIONAL_BILLING_ADDRESSES = ADDITIONAL_BILLING_ADDRESSES %]
238 306

  
239 307
<table class="tbl-horizontal checkered">
240 308
  <caption><a id="contact[% loop.count %]">[% 'Contact Person' | $T8 %] &quot;[% HTML.escape(row.cp_name) %]&quot;</a></caption>
......
312 380

  
313 381
</div><!-- /.wrapper -->
314 382
[% END %]
315

  
316

  

Auch abrufbar als: Unified diff