<div style="font-family:arial; font-size:12px;">
            {include file="string:{config name=emailheaderhtml}"}
            <br/><br/>
            <p>Hallo {$billingaddress.salutation|salutation} {$billingaddress.lastname},<br/>
                <br/>
                vielen Dank für Ihre Anfrage bei {config name=shopName} am {$sOrderDay} um {$sOrderTime}.<br/>
                <br/>
                <strong>Informationen zu Ihrer Anfrage:</strong></p><br/>
            <table width="80%" border="0" style="font-family:Arial, Helvetica, sans-serif; font-size:12px;">
                <tr>
                    <td bgcolor="#F7F7F2" style="border-bottom:1px solid #cccccc;"><strong>Pos.</strong></td>
                    <td bgcolor="#F7F7F2" style="border-bottom:1px solid #cccccc;"><strong>Artikel</strong></td>
                    <td bgcolor="#F7F7F2" style="border-bottom:1px solid #cccccc;">Bezeichnung</td>
                    <td bgcolor="#F7F7F2" style="border-bottom:1px solid #cccccc;"><strong>Menge</strong></td>
                </tr>

                {foreach item=details key=position from=$sOrderDetails}
                <tr>
                    <td style="border-bottom:1px solid #cccccc;">{$position+1|fill:4} </td>
                    <td style="border-bottom:1px solid #cccccc;">{if $details.image.src.0 && $details.modus == 0}<img style="height: 57px;" height="57" src="{$details.image.src.0}" alt="{$details.articlename}" />{else} {/if}</td>
                    <td style="border-bottom:1px solid #cccccc;">
                      {$details.articlename|wordwrap:80|indent:4}<br>
                      Artikel-Nr: {$details.ordernumber|fill:20}
                    </td>
                    <td style="border-bottom:1px solid #cccccc;">{$details.quantity|fill:6}</td>
                </tr>
                {/foreach}

            </table>
        
            <p>
                <strong>Ihre Kontaktadresse:</strong><br/>
                {$billingaddress.company}<br/>
                {if $billingaddress.department}{$billingaddress.department}<br/>{/if}
                {$billingaddress.firstname} {$billingaddress.lastname}<br/>
                {if $billingaddress.customernumber}{$billingaddress.customernumber}{/if}<br/>
                {$billingaddress.email}<br/>
                {$billingaddress.phone}<br/>
                <br/>
                <br/>
                Für Rückfragen stehen wir Ihnen jederzeit gerne zur Verfügung.<br/>
                {include file="string:{config name=emailfooterhtml}"}
            </p>
        </div>