Files
kupshop/admin/printCenter/printCenter.orderShopkeeper.php
2025-08-02 16:30:27 +02:00

24 lines
609 B
PHP

<?php
// ##############################################################
if (!empty($TYPE) && !empty($ID_ITEM)) {
?>
<style type="text/css" media="print">
@page {
margin: 2.5cm;
}
</style>
<?php
$smarty = createSmarty(true, true);
$smarty->assign(['cfg' => $GLOBALS['cfg'], 'dbcfg' => $GLOBALS['dbcfg'], 'ctrl' => $GLOBALS['ctrl']]);
$order = new Order();
$order->createFromDB($ID_ITEM, true, true, true);
$smarty->assign('order', $order);
echo $smarty->fetch('email/orderShopkeeper.tpl');
}
// ################################################
?>