order.order_print.php file

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
Micha
Phoca Member
Phoca Member
Posts: 26
Joined: 17 Oct 2008, 02:43
Location: Netherlands

order.order_print.php file

Post by Micha »

Is this correct to show the tab?

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>
Micha
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: order.order_print.php file

Post by Jan »

Hi, yes it should be, just try it and see if the tab is displayed ... don't forget to add the language strings, without strings the tab will be empty...

Jan
If you find Phoca extensions useful, please support the project
Post Reply