shop-old/themes/admin/templates/admin_order_print.tpl
2026-04-20 01:03:43 +02:00

290 lines
12 KiB
Smarty

<!DOCTYPE html>
<html lang="de">
<head>
<title>Bestellungsdruck</title>
<meta charset="utf-8" />
<meta http-equiv="cache-control" content="no-cache"/>
<link rel="stylesheet" type="text/css" media="screen,print" href="{$THEME_DIR}/media/css/main_layout.css?version=1" />
<link rel="stylesheet" type="text/css" media="screen,print" href="{$THEME_DIR}/media/css/widget.css?version=1" />
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/sidebar.css?version=1" />
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/tables.css?version=1" />
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/forms.css?version=1" />
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/new_forms.css?version=1" >
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/rsTabs.css?version=1" />
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/statistics.css?version=1" />
<link rel="stylesheet" type="text/css" href="./media/css/redmond/jquery-ui-1.8.8.custom.css" />
<link rel="stylesheet" type="text/css" href="./media/css/common_styles.css?version=1" />
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/order_table.css?version=1" />
<link rel="stylesheet" type="text/css" href="{$THEME_DIR}/media/css/easyway_shop_forms.css?version=1" />
</head>
<body onLoad="window.print();">
<br /><br />
<div id="bodycontainer">
<!-- Content -->
<div id="contentContainer">
<h2>Bestellung {$mod}</h2>
<form id="admin_order_editor_form" class="edit">
<div id="adminLeftFloater">
<div title="Stammdaten" id="base">
<div class="edit_title">Artikelliste</div>
{$order_list}
<div class="edit_endline" style="margin-top:10px;" ></div>
<div class="edit_title">Rechnungsadresse</div>
<div>
<!-- block one -->
<div class="edit_element_1_5">
<label>Anrede</label>
<select name="billingAddress[honorific]">
<option value="0" {if $order->billing_honorific == '0'}selected="selected"{/if} >Herr</option>
<option value="1" {if $order->billing_honorific == '1'}selected="selected"{/if} >Frau</option>
</select>
</div>
<div class="edit_element_2_5">
<label>Vorname</label><input type="text" name="billingAddress[firstname]" value="{$order->billing_firstname}" />
</div>
<div class="edit_element_2_5">
<label>Nachname</label><input type="text" name="billingAddress[surname]" value="{$order->billing_surname}" />
</div>
<!-- end block one -->
<!-- block two -->
<div class="edit_element_3_5">
<label>Strasse</label><input type="text" name="billingAddress[street]" value="{$order->billing_street}" />
</div>
<div class="edit_element_2_5">
<label>Haus-Nr.</label><input type="text" name="billingAddress[house_number]" value="{$order->billing_house_number}" />
</div>
<!-- end block two -->
<!-- block three -->
<div class="edit_element_1_5">
<label>PLZ</label><input type="text" name="billingAddress[zip_code]" value="{$order->billing_zip_code}" />
</div>
<div class="edit_element_2_5">
<label>Ort</label><input type="text" name="billingAddress[city]" value="{$order->billing_city}" />
</div>
<div class="edit_element_2_5">
<label>Land</label>
<select id="billingAddresscountry" name="billingAddress[country]">
{foreach from=$countries item=country}
<option value="{$country->id}" {if $country->id == $order->billing_country}selected="selected"{/if}>{$country->name}</option>
{/foreach}
</select>
</div>
<!-- end block three -->
</div>
<div class="edit_endline"></div>
<div class="edit_title">Versandadresse</div>
<div>
<!-- block one -->
<div class="edit_element_1_5">
<label>Anrede</label>
<select name="shippingAddress[honorific]">
<option value="0" {if $order->shipping_honorific == '0'}selected="selected"{/if} >Herr</option>
<option value="1" {if $order->shipping_honorific == '1'}selected="selected"{/if} >Frau</option>
<option value="2" {if $order->shipping_honorific == '2'}selected="selected"{/if} >Firma</option>
</select>
</div>
<div class="edit_element_2_5">
<label>Vorname</label><input type="text" name="shippingAddress[firstname]" value="{$order->shipping_firstname}"/>
</div>
<div class="edit_element_2_5">
<label>Nachname</label><input type="text" name="shippingAddress[surname]" value="{$order->shipping_surname}"/>
</div>
<!-- end block one -->
<!-- block two -->
<div class="edit_element_3_5">
<label>Strasse</label><input type="text" name="shippingAddress[street]" value="{$order->shipping_street}"/>
</div>
<div class="edit_element_2_5">
<label>Haus-Nr.</label><input type="text" name="shippingAddress[house_number]" value="{$order->shipping_house_number}"/>
</div>
<!-- end block two -->
<!-- block three -->
<div class="edit_element_1_5">
<label>PLZ</label><input type="text" name="shippingAddress[zip_code]" value="{$order->shipping_zip_code}"/>
</div>
<div class="edit_element_2_5">
<label>Ort</label><input type="text" name="shippingAddress[city]" value="{$order->shipping_city}"/>
</div>
<div class="edit_element_2_5">
<label>Land</label>
<select id="shippingAddressCountry" name="shippingAddress[country]">
{foreach from=$countries item=country}
<option value="{$country->id}" {if $country->id == $order->shipping_country}selected="selected"{/if}>{$country->name}</option>
{/foreach}
</select>
</div>
<!-- end block three -->
</div>
<div class="edit_endline"></div>
</div>
</div> <!-- end adminLeftFloater -->
<div id="adminRightFloater">
<div title="Info">
<div class="info_block">
<div class="edit_title">Bestellung</div>
<label>Bestellnummer</label>
<input style="width:300px;" type="input" readonly="readonly" value="{$order->order_number}{if $order->order_revision}-{$order->order_revision}{/if}{if $order->order_addendum} {$order->order_addendum}{/if}" />
<label>Bestellstatus</label>
<select style="width:300px;" id="order_status_list" name="orderOptions[order_status]">
{foreach from=$order_status_list item=status}
<option value="{$status->id}" {if $status->id == $order->order_status}selected="selected"{/if}>{$status->name}</option>
{/foreach}
</select>
<label>Bestelldatum</label>
<input style="width:300px;" type="text" id="order_date" name="dateOptions[order_date]" value="{$order->order_date}" />
</div>
<div class="info_block">
<div class="edit_title">Kunde</div>
<input type="hidden" id="customer_id" name="customer[customer_id]" value="{$order->customer_id}"/>
<input type="hidden" id="customer_group_id" name="group_id" value="{$order->group_id}" />
<label>Kundennummer</label>
<input style="width:300px;" type="text" id="customer_number" name="customer[customer_number]" value="{$order->customer_number}" readonly="readonly" style="color:#003580;"/>
<label>Kunden Name</label>
<input style="width:300px;" type="text" id="customer_name" name="customer[customer_name]" value="{$order->customer_name}" readonly="readonly" style="color:#003580;"/>
<label>Kunden Gruppe</label>
<input type="hidden" id="customer_group_shows_taxes" value="{$order->group_show_tax}" />
<input style="width:300px;" type="text" id="customer_group_name" value="{$order->group_name}" readonly="readonly" style="color:#003580;"/>
</div>
<div class="info_block">
<div class="edit_title">Rechnung</div>
<label>Rechnungsdatum</label>
<input style="width:300px;" type="text" id="billing_date" name="dateOptions[billing_date]" value="{$order->billing_date}" />
<label>Rechnungsnummer</label>
<input style="width:300px;" type="text" name="orderOptions[invoice_number]" value="{$order->invoice_number}" />
<label>Rechnungs Nachricht</label>
<textarea style="width:300px;" rows="5" name="orderNotice[invoice_info]" style="width:100%;">{$order->invoice_info}</textarea>
</div>
<div class="info_block">
<div class="edit_title">Lieferschein</div>
<a href="./index.php?admin_modul=admin_order_actions&action=get_order_delivery_note_pdf&order_id={$order->id}" style="font-weight:bold;">Lieferschein PDF</a>
<label>Lieferant</label>
<select style="width:300px;" id="deliverer_list" name="orderOptions[delivery_method]">
{if $deliverers}
{foreach $deliverers as $deliverer}
<option value="{$deliverer->id}" {if $deliverer->id == $order->shipping_method}selected="selected"{/if}>{$deliverer->name}</option>
{/foreach}
{else}
<option>Versandadressen abhängig</option>
{/if}
</select>
<label>Lieferschein Nachricht</label>
<textarea style="width:300px;" rows="5" name="orderNotice[delivery_note_info]" style="width:100%;">{$order->delivery_note_info}</textarea>
<label>Tracking-Code</label>
<input style="width:300px;" type=text" name="orderOptions[trackingcode]" value="{$order->trackingcode}" />
</div>
<div class="info_block">
<div class="edit_title">Zahlung</div>
<label>Zahlungsart</label>
<select style="width:300px;" id="payment_method_list" name="orderOptions[payment_method]">
{if $payment_method_list}
{foreach from=$payment_method_list item=method}
<option value="{$method.id}" {if $method.id == $order->payment_method}selected="selected"{/if}>{$method.name}</option>
{/foreach}
{else}
<option>Versandadressen abh&auml;ngig</option>
{/if}
</select>
<label>Zahlungsstatus</label>
<select style="width:300px;" id="billing_status_list" name="orderOptions[payment_status]">
{foreach from=$billing_status_list item=status}
<option value="{$status->id}" {if $status->id == $order->payment_status}selected="selected"{/if}>{$status->name}</option>
{/foreach}
</select>
<label>Zahlungsdatum</label>
<input style="width:300px;" type="text" id="payment_date" name="dateOptions[payment_date]" value="{$order->payment_date}" />
</div>
<div class="info_block">
<div class="edit_title">Storno</div>
<label>Stornodatum</label>
<input style="width:300px;" type="text" id="cancellation_date" name="cancellationData[cancellation_date]" value="{$order->cancellation_date}" />
<label>Stornostatus</label>
<select style="width:300px;" name="cancellationData[cancellation_status]">
<option value="0">-</option>
<option value="1" {if $order->cancellation_status == '1'}selected="selected"{/if}>offen</option>
<option value="2" {if $order->cancellation_status == '2'}selected="selected"{/if}>akzeptiert</option>
<option value="3" {if $order->cancellation_status == '3'}selected="selected"{/if}>abgelehnt</option>
</select>
<label>Stornogr&uuml;nde</label>
<select style="width:300px;" name="cancellationData[cancellation_reason_id]">
<option>-</option>
<optgroup label="Kunden Stornierung">
{foreach $cancellation_reasons as $reason}
{if $reason->type == '0'}
<option value="{$reason->id}" {if $reason->id == $order->cancellation_reason_id}selected="selected"{/if}>{$reason->name}</option>
{/if}
{/foreach}
</optgroup>
<optgroup label="Shop Stornierung">
{foreach $cancellation_reasons as $reason}
{if $reason->type == '1'}
<option value="{$reason->id}" {if $reason->id == $order->cancellation_reason_id}selected="selected"{/if}>{$reason->name}</option>
{/if}
{/foreach}
</optgroup>
</select>
<label>Stornierungs Nachricht</label>
<textarea style="width:300px;" rows="5" name="cancellationData[cancellation_info]" style="width:100%;">{$order->cancellation_info}</textarea>
</div>
</div>
</div>
</form>
</div><!-- End Content -->
</div>
</body>
</html>