" size="10" maxlength="250" /> </td> </tr> <tr> <td class="key hasTip" title="<?php echo JText::_('COM_CITRUSCART_COUPON_CURRENCY') . '::' . JText::_('COM_CITRUSCART_COUPON_CURRENCY_TIP'); ?> " style="width: 125px; text-align: right;"> <?php echo JText::_('COM_CITRUSCART_CURRENCY'); ?> : </td> <td> <?php echo CitruscartSelect::currency($row['currency_id'], 'currency_id'); ?> </td> </tr> <tr> <td style="width: 125px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_VALUE_TYPE'); ?> : </td> <td> <?php echo CitruscartSelect::btbooleanlist('coupon_value_type', '', $row['coupon_value_type'], 'COM_CITRUSCART_PERCENTAGE', 'COM_CITRUSCART_FLAT_RATE'); ?> </td>
echo JText::_('COM_CITRUSCART_GENERAL_INFORMATION'); ?> </th> </tr> </thead> <tbody> <tr> <th style="width: 100px;" class="key"> <?php echo JText::_('COM_CITRUSCART_ORDER_CURRENCY'); ?> : </th> <td> <?php echo CitruscartSelect::currency($row->order_currency_id, 'order_currency_id', '', 'order_currency_id', false); ?> </td> </tr> <tr> <th style="width: 100px;" class="key"> <?php echo JText::_('COM_CITRUSCART_CUSTOMER_INFORMATION'); ?> : </th> <td> <?php echo $row->userinfo->name . ' [ ' . $row->user_id . ' ]'; ?> <br/>
echo $this->row->get('date_format', '%a, %d %b %Y, %I:%M%p'); ?> " type="text" size="40" /> </td> <td><?php echo JText::_('COM_CITRUSCART_CONFIG_SET_DATE_FORMAT'); ?> </td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_SELECT_DEFAULT_CURRENCY_FOR_DB_VALUES'); ?> </th> <td><?php echo CitruscartSelect::currency($this->row->get('default_currencyid', '1'), 'default_currencyid'); ?> </td> <td><?php echo JText::_('COM_CITRUSCART_CONFIG_DEFAULT_CURRENCY'); ?> </td> </tr> <tr> <th style="width: 25%;"><?php echo JText::_('COM_CITRUSCART_AUTO_UPDATE_EXCHANGE_RATES'); ?> </th> <td><?php echo CitruscartSelect::btbooleanlist('currency_exchange_autoupdate', 'class="inputbox"', $this->row->get('currency_exchange_autoupdate', '1')); ?>
# Websites: http://citruscart.com # Technical Support: Forum - http://citruscart.com/forum/index.html -------------------------------------------------------------------------*/ /** ensure this file is being included by a parent file */ defined('_JEXEC') or die('Restricted access'); Citruscart::load('CitruscartHelperBase', 'helpers._base'); Citruscart::load('CitruscartSelect', 'library.select'); JTable::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_citruscart/tables'); $helper = CitruscartHelperBase::getInstance(); $url = JRoute::_('index.php?option=com_citruscart&view=currency&task=set&return=' . base64_encode(JURI::getInstance()->__toString()), false); // Check the currently selected currency $selected = CitruscartHelperBase::getSessionVariable('currency_id', Citruscart::getInstance()->get('default_currencyid', 1)); ?> <div id="mod_citruscart_currency"> <form action="<?php echo $url; ?> " method="post" name="currencySwitch"> <?php // echo JText::_('COM_CITRUSCART_SELECT_CURRENCY').': '; ?> <?php $attribs = array('onChange' => 'document.currencySwitch.submit(); '); ?> <?php echo CitruscartSelect::currency($selected, 'currency_id', $attribs); ?> </form> </div>