order.order_print.php file
Posted: 03 Jan 2009, 15:04
Is this correct to show the tab?
142 till 179
Micha
142 till 179
Code: Select all
</table>
</form>
<?php
$tab->endTab();
$tab->startTab( $VM_LANG->_('PHPSHOP_ORDER_HISTORY'), "order_history_page" );
?>
<table class="adminlist">
<tr >
<th><?php echo $VM_LANG->_('PHPSHOP_ORDER_HISTORY_DATE_ADDED') ?></th>
<th><?php echo $VM_LANG->_('PHPSHOP_ORDER_HISTORY_CUSTOMER_NOTIFIED') ?></th>
<th><?php echo $VM_LANG->_('PHPSHOP_ORDER_LIST_STATUS') ?></th>
<th><?php echo $VM_LANG->_('PHPSHOP_COMMENT') ?></th>
</tr>
<?php
foreach( $order_events as $order_event ) {
echo "<tr>";
echo "<td>".$order_event->date_added."</td>\n";
echo "<td align=\"center\"><img alt=\"" . $VM_LANG->_('VM_ORDER_STATUS_ICON_ALT') ."\" src=\"$mosConfig_live_site/administrator/images/";
echo $order_event->customer_notified == 1 ? 'tick.png' : 'publish_x.png';
echo "\" border=\"0\" align=\"absmiddle\" /></td>\n";
echo "<td>".$order_event->order_status_code."</td>\n";
echo "<td>".$order_event->comments."</td>\n";
echo "</tr>\n";
}
?>
</table>
<?php
$tab->endTab();
// Delivery
$tab->startTab( $VM_LANG->_('VM_DELIVERY_TAB_LBL'), "delivery_pane" );
require_once(CLASSPATH.'ps_order_delivery.php');
$tab->endTab();
$tab->endPane();
?>
</td>
</tr>
</table>