pdfdokumente/Application/views/tpl/admin/orderoverview_pdfform.tpl
2020-06-29 10:52:29 +02:00

44 lines
2.3 KiB
Smarty

[{if $edit && $oView->canExport()}]
<br>
<form name="myedit2" id="myedit2" action="[{$oViewConf->getSelfLink()}]" method="post" target="expPDF">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="cl" value="order_overview">
<input type="hidden" name="fnc" value="createPDF">
<input type="hidden" name="oxid" value="[{$oxid}]">
<table style="border-spacing: 0;border-collapse: collapse;padding: 5px;border : 1px #A9A9A9 solid; width:220px">
<tr>
<td rowspan="3">
<img src="[{$oViewConf->getImageUrl()}]/pdf_icon.gif" width="41" height="38" alt="" border="0" hspace="0" vspace="0" align="absmiddle">
</td>
<td valign="top" class="edittext" align="right">
[{oxmultilang ident="ORDER_OVERVIEW_PDF_TYPE"}]:&nbsp;
<select name="pdftype" class="editinput" style="width:80px;">
[{block name="d3_pdfdocuments_order_overview_pdfTypeOptions"}]
[{assign var="generatorList" value=$oView->d3getGeneratorList()}]
[{foreach from=$generatorList->getList() item="generator"}]
<option value="[{$generator->getRequestId()}]">[{oxmultilang ident=$generator->getTitleIdent()}]</option>
[{/foreach}]
[{/block}]
</select>
</td>
</tr>
<tr>
<td align="right" class="edittext">
[{oxmultilang ident="GENERAL_LANGUAGE"}]
<select name="pdflanguage" class="saveinnewlanginput" style="width:80px;">
[{foreach from=$alangs key=lang item=slang}]
<option value="[{$lang}]" [{if $lang == "0"}]SELECTED[{/if}]>[{$slang}]</option>
[{/foreach}]
</select>
</td>
</tr>
<tr>
<td align="right" class="edittext"><br/>
<input type="submit" class="edittext" name="save" value="[{oxmultilang ident="ORDER_OVERVIEW_PDF"}]">
<iframe name="expPDF" width="0" height="0" border="0" style="display:none;"></iframe>
</td>
</tr>
</table>
</form>
[{/if}]