Fix für Bug 1336 Fallunterscheidung für show_vc_details in Bezug auf Kunde oder Liefe...
authorJan Büren <jan@lx-office-hosting.de>
Fri, 5 Mar 2010 07:51:09 +0000 (08:51 +0100)
committerJan Büren <jan@lx-office-hosting.de>
Fri, 5 Mar 2010 07:51:09 +0000 (08:51 +0100)
templates/webpages/common/show_vc_details_de.html
templates/webpages/common/show_vc_details_master.html

index 2e2e545..df0dd98 100644 (file)
 
  <table>
   <tr>
+  [% IF is_customer %]
    <td align="right">Kundennummer</td>
    <td>[% HTML.escape(customernumber) %]</td>
+  [% ELSE %]
+   <td align="right">Lieferantennummer</td>
+   <td>[% HTML.escape(vendornumber) %]</td>
+  [% END %]
   </tr>
 
   <tr>
index d172ecb..54b00b4 100644 (file)
 
  <table>
   <tr>
+  [% IF is_customer %]
    <td align="right"><translate>Customer Number</translate></td>
    <td>[% HTML.escape(customernumber) %]</td>
+  [% ELSE %]
+   <td align="right"><translate>Vendor Number</translate></td>
+   <td>[% HTML.escape(vendornumber) %]</td>
+  [% END %]
   </tr>
 
   <tr>