Ordermanager/views/smarty/admin/email/html/d3ordermanager_info_html.tpl

46 lines
2.2 KiB
Smarty

[{block name="d3ordermanager_infomail_main"}]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="de">
<head>
<title>[{oxmultilang ident="D3_ORDERMANAGER_MAIL_ORDERSUBJECT"}]</title>
<meta http-equiv="Content-Type" content="text/html; charset=[{$oEmailView->getCharset()}]">
</head>
<body bgcolor="#FFFFFF" link="#355222" alink="#355222" vlink="#355222" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px;">
[{oxmultilang ident="D3_ORDERMANAGER_MAIL_OMJFROM"}] [{$smarty.now|date_format:"%d.%m.%Y %H:%I"}]
[{strip}]
[{foreach from=$aNotes item="aManagerJobs" key="sOrderId"}]
[{block name="d3ordermanager_infomail_order"}]
[{assign var="oItem" value=$oEmailView->d3getOrderManagerOrder($sOrderId)}]
[{if $oItem->getId()}]
[{oxmultilang ident="D3_ORDERMANAGER_MAIL_ORDER"}] [{$oItem->getFieldData('oxordernr')}] [{oxmultilang ident="D3_ORDERMANAGER_MAIL_ORDERFROM"}] [{$oItem->getFieldData('oxorderdate')}] ([{$oItem->getFieldData('oxbilllname')}], [{$oItem->getFieldData('oxbillfname')}]):<br>
[{else}]
[{oxmultilang ident="D3_ORDERMANAGER_MAIL_GENERAL"}]:<br>
[{/if}]
<ul>
[{block name="d3ordermanager_infomail_manager"}]
[{foreach from=$aManagerJobs item="aJobActions" key="sManagerId"}]
[{assign var="oManager" value=$oEmailView->d3getOrderManager($sManagerId)}]
<li>
[{$oManager->getFieldData('oxtitle')}]
<ul>
[{block name="d3ordermanager_infomail_job"}]
[{foreach from=$aJobActions item="sJobText"}]
<li>
[{$sJobText}]
</li>
[{/foreach}]
[{/block}]
</ul>
</li>
[{/foreach}]
[{/block}]
</ul>
[{/block}]
[{/foreach}]
[{/strip}]
</body>
</html>
[{/block}]