Guest User

Untitled

a guest
Mar 17th, 2017
2,299
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <style>
  2. html, body, p, td, span, b, th {
  3. font-size: 9px !important;
  4. }
  5. br {
  6. line-height: 0 !important;
  7. }
  8.  
  9. </style>
  10. <div style="height: 100%; position: relative; width: 100%; margin: auto;">
  11. <p style="text-align: center; margin-bottom: 30px;">
  12. <img src="https://cdn.shopify.com/s/files/1/1500/7320/files/image1.png?4829905138565621237" width="150">
  13. </p>
  14. <h3>Rechnung / Invoice</h3>
  15. <div width="33%" style="width: 33%; float: left; padding-bottom: 40px;">
  16. <p style="margin: 0; font-weight: bold;" >Rechnungsanschrift / </p><p style="margin: 0; font-weight: bold;" >Billing Address</p>
  17. <p></p>
  18.     <p style="margin: 0;" >
  19.     {{ billing_address.name }}</p>
  20.         {% if billing_address.company %}<p style="margin: 0;" >
  21.           {{ billing_address.company }}</p>
  22.         {% endif %}
  23.         <p style="margin: 0;" >{{ billing_address.street }}</p>
  24.         <p style="margin: 0;" >{{ billing_address.city }}</p>
  25.         <p style="margin: 0;" >{{ billing_address.zip | upcase }}</p>
  26.        <p style="margin: 0;" > {{ billing_address.country }}</p>
  27.    
  28.  
  29.   </div>
  30.   <div width="33%" style="width: 33%; float: left; padding-bottom: 40px;">
  31.   <p style="font-weight: bold; margin: 0;">Lieferanschrift /</p><p style="font-weight: bold; margin: 0;"> Shipping Address</p>
  32.   <p></p>
  33.    <p style="margin: 0;" >
  34.     {{ shipping_address.name }}</p>
  35.         {% if shipping_address.company %} <p style="margin: 0;" >
  36.           {{ shipping_address.company }}</p>
  37.         {% endif %}
  38.          <p style="margin: 0;" >{{ shipping_address.street }}</p>
  39.         <p style="margin: 0;" > {{ shipping_address.city }}
  40.         {{ shipping_address.province_code }}
  41.         {{ shipping_address.zip | upcase }}</p>
  42.         <p style="margin: 0;" > {{ shipping_address.country }}</p>
  43.    
  44.  
  45.  
  46.   </div>
  47.  
  48. <div width="33%" style="width: 33%; float: left; padding-bottom: 40px;">
  49. <p style="font-weight: bold; margin: 0;">Adresse für Retouren /</p> <p style="font-weight: bold; margin: 0;">Address for Returns</p>
  50.     <span>
  51.     <p></p>
  52.       <p style="margin: 0;">{{ shop_name }} Clothing</p>
  53.   <p style="margin: 0;">Baumstr 33</p>
  54.   <p style="margin: 0;">47198 Duisburg</p>
  55.   <p style="margin: 0;">{{ shop.country | upcase }}
  56.   </p>
  57.   </div>
  58.  
  59.   <table class="table-tabular" style="border: 0; margin-top: 20px; margin-bottom: 20px;">
  60.   <thead style="border-bottom: 1px solid black;">
  61.   <tr>
  62.   <th>Bestellnummer / Order Number</th>
  63.   <th>Rechnungsnummer / Invoice-No.</th>
  64.   <th>Rechnungsdatum / Invoice Date</th>
  65.   </tr>
  66.   </thead>
  67.   <tbody style="border: 0;">
  68.   <tr>
  69.   <td>{{ order_number }}</td>
  70.   <td>{{ order_number }}</td>
  71.   <td>{{ created_at | date: "%d.%m.%y"}}</td>
  72.   </tr>
  73.   </tbody>
  74.   </table>
  75.  
  76.  
  77. <table class="table-tabular" style="margin: 0 0 0em 0; border: 0;">
  78.   <thead>
  79.     <tr>
  80.     <th>Artikelnummer / SKU</th>
  81.       <th>Artikel / Item</th>
  82.       <th>Menge / Quantity</th>
  83.       <th style="text-align: right;">Betrag / Subtotal</th>
  84.     </tr>
  85.   </thead>
  86.   <tbody>
  87.     {% for line_item in line_items %}
  88.       <tr>
  89.         <td>{{ line_item.sku }}</td>
  90.         <td>{{ line_item.title }}</td>
  91.          <td>{{ line_item.quantity }} x</td>
  92.        
  93.      
  94.        
  95.         <td style="text-align: right;">{{ line_item.price | money }}</td>
  96.       </tr>
  97.     {% endfor %}
  98.     <tr>
  99.     <td></td>
  100.     <td>Versand / Shipping </td>
  101.     <td></td>
  102.     <td style="text-align: right;">{{shipping_price | money }}</td>
  103.     </tr>
  104.     {% for discount in discounts %}
  105.     <tr>
  106.     <td></td>
  107.     <td>Rabatt / Discount </td>
  108.     <td></td>
  109.     <td style="text-align: right;">{{discount.savings | money }}</td>
  110.     {%endfor%}
  111.     </tr>
  112.     <tr>
  113.       </tbody>
  114. </table>
  115. <table class="table-tabular" style="border: 0; margin-bottom: 40px;">
  116. <tbody>
  117.     {%if billing_address.country_code == 'BE' or 'DEU' or 'FR' or 'BG' or 'DK' or 'EE' or 'FI' or 'GR' or 'IE' or 'IT' or 'HR' or 'LV' or 'LT' or 'LU' or 'MT' or 'NL' or 'AT' or 'PL' or 'px' or 'RO' or 'SE' or 'SI' or 'SK' or 'ES' or 'HU' or 'CZ' or 'GB' or 'CY'%}
  118.     <td colspan="1" style="text-align: right; border: 0">Betrag netto / Total excl. VAT: <b>{{ total_price | divided_by: 1.19 | money }}</b></td>
  119.     {% else %}
  120.     <td colspan="1" style="text-align: right; border: 0">zzgl. MwSt. / Incl. VAT (0%): <b>{{ total_tax | money }}</b></td>
  121.     {%endif%}
  122.     <td colspan="1" style="text-align: right; border: 0">zzgl. MwSt. / Incl. VAT (19%): <b>{{ total_tax | money }}</b></td>
  123.    
  124.     <td colspan="1" style="text-align: right; border: 0">Summe / Invoice Total: <b>{{ total_price | money }}</b></td></tr>
  125.    
  126.   </tbody>
  127. </table>
  128.  
  129. <p><b>Zahlungsmethode / Payment Method</b>:
  130.  
  131. {% for transaction in transactions %}
  132.  
  133.    
  134.     {{ transaction.gateway | payment_method }}
  135.    
  136.    {%break%}
  137.  
  138. {%endfor%}
  139.  
  140.  
  141. </p>
  142.  
  143. {% for transaction in transactions %}
  144.  
  145.  
  146.     {% if transaction.gateway contains "Vorkasse" %}
  147.     <p>
  148.     Bitte überweisen Sie den offenen Betrag auf folgendes Bankkonto:<br>
  149.    
  150.     Kontoinhaber: <br>
  151.    
  152.     IBAN: <br>
  153.    
  154.     BIC:<br>
  155.    
  156.     Verwendungszweck: Ihre Bestellnummer <br>
  157.    
  158.     Sobald Ihre Zahlung bei uns eingegangen ist, werden wir Ihre Bestellung schnellstmöglich bearbeiten.<br>
  159.     --------------------------------<br>
  160.     Please transfer the amount to the following account:<br>
  161.    
  162.    
  163.     account owner: <br>
  164.    
  165.     IBAN:<br>
  166.    
  167.     BIC: <br>
  168.    
  169.     usage: your order number <br>
  170.    
  171.    
  172.     As soon as your payment has arrived, we will proceed your order as fast as possible .
  173.     </p>
  174.    
  175.  
  176.  
  177.  
  178. {%endif%}
  179. {%break%}
  180. {%endfor%}
  181.  
  182.  
  183. <p>Lieferdatum ist gleich Rechnungsdatum. /  Date of delivery is the date of the invoice.</p>
  184.  
  185. <p>Vielen Dank für deinen Einkauf bei {{ shop_name }} / Thanks for your purchase at {{ shop_name }}!</p>
  186.  
  187. <p style="margin-top: 100px; font-size: 8px !important; text-align: center; width: 100%;">{{ shop_name }},
  188.   {{ shop.address }},
  189.   {{ shop.zip | upcase }} {{ shop.city }},
  190.   {{ shop.country | upcase }}<br>
  191.   Geschäftsführer:  , HRB 1, UST-Ident.Nr.<br>
  192.   IBAN:  BIC:
  193.   </p>
  194.  
  195.   </div>
RAW Paste Data