| Current Path : /home/digilove/www/components/com_virtuemart/views/invoice/tmpl/ |
| Current File : /home/digilove/www/components/com_virtuemart/views/invoice/tmpl/mail_html_vendor.php |
<?php
/**
*
* Layout for the shopping cart, look in mailshopper for more details
*
* @package VirtueMart
* @subpackage Order
* @author Max Milbers, Valerie Isaksen
*
* @link https://virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
?>
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="html-email" style="border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: 12px; margin: 0 auto;">
<tr>
<td>
<?php
// echo vmText::_('COM_VIRTUEMART_CART_MAIL_VENDOR_TITLE').$this->vendor->vendor_name.'<br/>';
$lang = vmLanguage::getLanguage();
if($lang->hasKey('COM_VIRTUEMART_MAIL_VENDOR_CONTENT_'.$this->orderDetails['details']['BT']->order_status)){
echo vmText::sprintf('COM_VIRTUEMART_MAIL_VENDOR_CONTENT_'.$this->orderDetails['details']['BT']->order_status,$this->vendor->vendor_store_name,$this->shopperName,$this->currency->priceDisplay($this->orderDetails['details']['BT']->order_total),$this->orderDetails['details']['BT']->order_number, $this->orderDetails['details']['BT']->order_status_name);
} else {
echo vmText::sprintf('COM_VIRTUEMART_MAIL_VENDOR_CONTENT',$this->vendor->vendor_store_name,$this->shopperName,$this->currency->priceDisplay($this->orderDetails['details']['BT']->order_total),$this->orderDetails['details']['BT']->order_number, $this->orderDetails['details']['BT']->order_status_name);
}
if(!empty($this->orderDetails['details']['BT']->customer_note)){
echo '<br /><br />'.vmText::sprintf('COM_VIRTUEMART_CART_MAIL_VENDOR_SHOPPER_QUESTION',$this->orderDetails['details']['BT']->customer_note).'<br />';
}
?>
</td></tr><tr><td style="padding: 5px;"></td></tr></table>