Der Ertrag ist kein Prozentwert. Zahlen rechtsbündig anordnen.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 14 Nov 2007 08:43:09 +0000 (08:43 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 14 Nov 2007 08:43:09 +0000 (08:43 +0000)
templates/webpages/oe/orders_footer_de.html
templates/webpages/oe/orders_footer_master.html

index 68112fb..c6d2808 100644 (file)
            </tr>
       </table>
          </td>
+[%- IF is_sales %]
           <td>
             <table>
 
-[%- IF is_sales %]
             <tr>
               <th  align=left>Ertrag</th>
-              <td>[% LxERP.format_amount(marge_total, 2) %] %</td>
+              <td align="right">[% LxERP.format_amount(marge_total, 2) %]</td>
             </tr>
             <tr>
               <th  align=left>Ertrag prozentual</th>
-              <td>[% LxERP.format_amount(marge_percent, 2) %] %</td>
+              <td align="right">[% LxERP.format_amount(marge_percent, 2) %]</td>
+              <td>%</td>
             </tr>
-[%- END %]
 
             <input type=hidden name="marge_total" value="[% marge_total %]">
             <input type=hidden name="marge_percent" value="[% marge_percent %]">
             </table>
           </td>
+[%- END %]
          <td align=right>
 [%- IF taxaccounts %]
             <input name=taxincluded class=checkbox type=checkbox value=1 [% IF taxincluded %]checked[% END %]><b>Steuer im Preis inbegriffen</b><br><br>
index 23b2cf2..64d0b0b 100644 (file)
            </tr>
       </table>
          </td>
+[%- IF is_sales %]
           <td>
             <table>
 
-[%- IF is_sales %]
             <tr>
               <th  align=left><translate>Ertrag</translate></th>
-              <td>[% LxERP.format_amount(marge_total, 2) %] %</td>
+              <td align="right">[% LxERP.format_amount(marge_total, 2) %]</td>
             </tr>
             <tr>
               <th  align=left><translate>Ertrag prozentual</translate></th>
-              <td>[% LxERP.format_amount(marge_percent, 2) %] %</td>
+              <td align="right">[% LxERP.format_amount(marge_percent, 2) %]</td>
+              <td>%</td>
             </tr>
-[%- END %]
 
             <input type=hidden name="marge_total" value="[% marge_total %]">
             <input type=hidden name="marge_percent" value="[% marge_percent %]">
             </table>
           </td>
+[%- END %]
          <td align=right>
 [%- IF taxaccounts %]
             <input name=taxincluded class=checkbox type=checkbox value=1 [% IF taxincluded %]checked[% END %]><b><translate>Tax Included</translate></b><br><br>