<?php /* Smarty version Smarty-3.1.8, created on 2022-04-21 15:34:36
         compiled from "/home/agmc/beta/application/core/views/manage/standard/OrderView.tpl" */ ?>
<?php /*%%SmartyHeaderCode:12551653985e4e536ce82124-36732031%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '39e450556966dd7916405b1a9a7d11041b2da7eb' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/OrderView.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '12551653985e4e536ce82124-36732031',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e4e536d155d78_31933906',
  'variables' => 
  array (
    'language' => 0,
    'view_javascript' => 0,
    'view_styles' => 0,
    'user' => 0,
    'history' => 0,
    'resProductOrderDetails' => 0,
    'masterOrderID' => 0,
    'view_root_path' => 0,
    'resOrderDetails' => 0,
    'brandName' => 0,
    'unserializedExtraData' => 0,
    'fullname' => 0,
    'date_format' => 0,
    'getDynOrderStatusByKey' => 0,
    'unserializesingle' => 0,
    'linkedOrderID' => 0,
    'linkedOrderNumber' => 0,
    'resShowroom' => 0,
    'prevElement' => 0,
    'product' => 0,
    'settingsTaxApplicable' => 0,
    'unserialize' => 0,
    'productShowPrivilege' => 0,
    'combination' => 0,
    'customOptionValues' => 0,
    'customOption' => 0,
    'key' => 0,
    'taxDescription' => 0,
    'applied_promotions' => 0,
    'promo' => 0,
    'dynamicOrdersStatus' => 0,
    'rmaReasonStyle' => 0,
    'resReasons' => 0,
    'resAction' => 0,
    'rmaActionStyle' => 0,
    'previousURl' => 0,
    'resRefundDetails' => 0,
    'time_format' => 0,
    'common_js' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e4e536d155d78_31933906')) {function content_5e4e536d155d78_31933906($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/home/agmc/beta/library/template/plugins/modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderDetails'];?>
</title>
<?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/orderEdit.page.js"></script>
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/jqueryui.plugin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/product-details.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/colorbox.css" />
<link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/print.css" media="print" />
</head><body>
<div class="outer_container"> <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
  <!--End:Header Container--> 
  <!--***********************************************************************END HEADER CONTAINER******************************************************-->
  <div class="content_container">
    <div class="content_wrapper">
       
    <div class="top-bt">
      <div class="product-basic-info"> <?php if ((($tmp = @$_smarty_tpl->tpl_vars['user']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
        <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"user/show/id/".($_smarty_tpl->tpl_vars['user']->value)."/",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblBack']),'class'=>"back-link fixing_right top-space"),$_smarty_tpl);?>

        <?php }else{ ?>
        <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_smarty_tpl->tpl_vars['history']->value,'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblBack']),'class'=>"back-link fixing_right top-space"),$_smarty_tpl);?>

        <?php }?>

        </div>
        <?php $_smarty_tpl->tpl_vars["unserializesingle"] = new Smarty_variable(unserialize($_smarty_tpl->tpl_vars['resProductOrderDetails']->value[0]['extra']), null, 0);?>	
		<div id="common_message"></div>
                <div id="common_message_rma"></div>
        <div class="content-tab-block">
            <input type="hidden" name="orderIDHid" id="orderIDHid" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['masterOrderID']->value)===null||$tmp==='' ? '' : $tmp);?>
">
          <div class="content-block clearfix">  <h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderDetails'];?>

                  
                  <?php if ($_smarty_tpl->tpl_vars['masterOrderID']->value>0){?>
                      <?php if ($_smarty_tpl->tpl_vars['resProductOrderDetails']->value[0]['orderStatus']!='Error'){?>
                      <a target="_blank" href="<?php echo $_smarty_tpl->tpl_vars['view_root_path']->value;?>
/public/uploads/invoice/<?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['orderFileName'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['view_root_path']->value;?>
/public/default/manage/standard/images/print-icon.png" width="24" height="24" alt="print" class="print"/></a>
                      <?php }?>
              <?php }?>
          </h2>
            <!--order_details :: Starts-->
            <div class="product-info-details">
              <div class="order_details clearfix padding-b-15">
                <div class="pane02 width-31per fixing_left">
                  <ul class="listing-03">
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderID'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['orderNumber'];?>
</span> </li>
                     <?php if ((($tmp = @$_smarty_tpl->tpl_vars['brandName']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
					<li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['brandName']->value;?>
</span> </li>
                    
                    <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderSource']=='flipkart'){?>
					<li class="clearfix"> <span class="col-frst">Flipkart Ordr ID</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['orderId'];?>
</span> </li>
                    <li class="clearfix"> <span class="col-frst">Flipkart Ordr ItemID</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['orderItemId'];?>
</span> </li>
                    <?php }?> <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblUserName'];?>
</span> <span class="col-septr">:</span> <span class="col-lst">
                    
                                <?php $_smarty_tpl->tpl_vars["fullname"] = new Smarty_variable($_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['resOrderDetails']->value['billingFirstName']), null, 0);?>
                                <?php $_smarty_tpl->tpl_vars["fullname"] = new Smarty_variable((($_smarty_tpl->tpl_vars['resOrderDetails']->value['subtitle']).('')).($_smarty_tpl->tpl_vars['fullname']->value), null, 0);?>
                                <?php echo $_smarty_tpl->tpl_vars['fullname']->value;?>

                            
              </span> </li>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEmailID'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><a href="mailto:<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['resOrderDetails']->value['customer_email']);?>
"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['resOrderDetails']->value['customer_email']);?>
</a></span> </li>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPhone'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['resOrderDetails']->value['billingPhone']);?>
</span> </li>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderedAt'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderCreatedDate'],$_smarty_tpl->tpl_vars['date_format']->value);?>
</span> </li>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderStatus'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['getDynOrderStatusByKey']->value[$_smarty_tpl->tpl_vars['resOrderDetails']->value['dynamicOrderStatus']];?>
</span> </li>
                     <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['manifestNumber']){?>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblManifestNumber'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['manifestNumber'];?>
</span> </li>
                    <?php }?>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPaymentStatus'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['paymentStatus'];?>
</span> </li>
                    <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaymentMethodName']){?>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPaymentMethod'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaymentMethodName'];?>
</span> </li>
                    <?php }?>
                    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['unserializesingle']->value['vsbID'])===null||$tmp==='' ? '' : $tmp)!=''){?>
                    <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblVSBID'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializesingle']->value['vsbID'];?>
</span> </li>
                    <?php }?>
					<?php $_smarty_tpl->tpl_vars["linkedOrderID"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['unserializedExtraData']->value['linkedOrder']['orderID'])===null||$tmp==='' ? '' : $tmp), null, 0);?>
					<?php $_smarty_tpl->tpl_vars["linkedOrderNumber"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['unserializedExtraData']->value['linkedOrder']['orderNumber'])===null||$tmp==='' ? '' : $tmp), null, 0);?>
					<?php if ($_smarty_tpl->tpl_vars['linkedOrderID']->value>0){?>
						<li class="clearfix"> <span class="col-frst">Link to the Previous Order </span> <span class="col-septr">:</span> <span class="col-lst">
						<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/order/show/id/".($_smarty_tpl->tpl_vars['linkedOrderID']->value)."/",'history'=>"yes",'caption'=>$_smarty_tpl->tpl_vars['linkedOrderNumber']->value,'title'=>$_smarty_tpl->tpl_vars['linkedOrderNumber']->value),$_smarty_tpl);?>

						</span> </li>
					<?php }?>
					
                  </ul>
                </div>
                <!--End:Order Details-->
                <div class="details">
                  <div class="pane">
                    <h3 class="padding-b-8"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblShowroom'];?>
</h3>
                    <address>
						
                                                <?php echo $_smarty_tpl->tpl_vars['resShowroom']->value['name'];?>
<br/>
                                    <?php echo nl2br($_smarty_tpl->tpl_vars['resShowroom']->value['address']);?>
<br/>
                                    <?php echo $_smarty_tpl->tpl_vars['resShowroom']->value['phone'];?>
<br/>
                                    		<a href="mailto:<?php echo $_smarty_tpl->tpl_vars['resShowroom']->value['email'];?>
"><?php echo $_smarty_tpl->tpl_vars['resShowroom']->value['email'];?>
</a> <?php if ($_smarty_tpl->tpl_vars['resShowroom']->value['phone']){?> <br />
						<span> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblPhone'];?>
:</span><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['resShowroom']->value['phone'], ENT_QUOTES, 'UTF-8', true);?>
 <?php }?>
                    </address>
                  </div>
                  <!--End:BILLING information--> 
                 
                </div>
              </div>
              <div class="clear"></div>
              <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formOrder",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>
 
              <div class="products_ordered clearfix padding-b-15">
                <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductsOrdered'];?>
 </span></h3>
                <div class="grid_table00">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0"   >
                    <tr>
                      <th  width="10%"  align="left" valign="middle">  <?php echo $_smarty_tpl->tpl_vars['language']->value['lblSKU'];?>
</th>
                      <th align="left" valign="middle" width="30%" ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductTitle'];?>
</th>
                      <th align="left" valign="middle" width="5%" >
                          <?php echo $_smarty_tpl->tpl_vars['language']->value['lblPrice'];?>

                        </th>
                     
                      
                    </tr>
				<?php $_smarty_tpl->tpl_vars["prevElement"] = new Smarty_variable('', null, 0);?>
				 <?php $_smarty_tpl->tpl_vars["flag"] = new Smarty_variable(0, null, 0);?>
                                 <?php $_smarty_tpl->tpl_vars["taxDescription"] = new Smarty_variable('', null, 0);?>
                    <?php  $_smarty_tpl->tpl_vars["product"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["product"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resProductOrderDetails']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["product"]->key => $_smarty_tpl->tpl_vars["product"]->value){
$_smarty_tpl->tpl_vars["product"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["product"]->key;
?>
						<?php if ($_smarty_tpl->tpl_vars['prevElement']->value!=''&&$_smarty_tpl->tpl_vars['prevElement']->value!=(($tmp = @$_smarty_tpl->tpl_vars['product']->value['shipmentStatus'])===null||$tmp==='' ? '' : $tmp)){?>
							<?php $_smarty_tpl->tpl_vars["flag"] = new Smarty_variable(1, null, 0);?>
						<?php }?>
                                                
					<?php $_smarty_tpl->tpl_vars["prevElement"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['product']->value['shipmentStatus'])===null||$tmp==='' ? '' : $tmp), null, 0);?>		
					<?php $_smarty_tpl->tpl_vars["unserialize"] = new Smarty_variable(unserialize($_smarty_tpl->tpl_vars['product']->value['extra']), null, 0);?>	
                                        <?php if ($_smarty_tpl->tpl_vars['settingsTaxApplicable']->value=='Yes'&&$_smarty_tpl->tpl_vars['unserialize']->value['orderItemTaxDescription']!=''){?> 		
                                                <?php $_smarty_tpl->tpl_vars["taxDescription"] = new Smarty_variable(($_smarty_tpl->tpl_vars['unserialize']->value['orderItemTaxDescription']), null, 0);?>
                                        <?php }?>
                    <tr >
                      <td align="left" valign="top">
					 <?php echo $_smarty_tpl->tpl_vars['product']->value['optionSKU'];?>
</td>
                      
					  <td align="left" valign="top">
					  <?php if ($_smarty_tpl->tpl_vars['productShowPrivilege']->value){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"product/show/id/".($_smarty_tpl->tpl_vars['product']->value['productID'])."/",'caption'=>(($tmp = @$_smarty_tpl->tpl_vars['unserialize']->value['itemDetails']['admin']['productTitle'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

						
					  <?php }else{ ?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['unserialize']->value['itemDetails']['admin']['productTitle'])===null||$tmp==='' ? '' : $tmp);?>
<?php }?>
                                          <?php if ($_smarty_tpl->tpl_vars['product']->value['sellAsBatch']=='Yes'){?>
                                                <small><br/><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSetOf'];?>
 <?php echo $_smarty_tpl->tpl_vars['product']->value['qtyPerBatch'];?>
 <?php echo $_smarty_tpl->tpl_vars['product']->value['batchType'];?>
<br/></small>
                                            <?php }?>
                        <?php if ((($tmp = @$_smarty_tpl->tpl_vars['product']->value['orderGiveAsGift'])===null||$tmp==='' ? '' : $tmp)=='Yes'){?> &nbsp;(Gift)<?php }?> <br />
						<?php if ((($tmp = @$_smarty_tpl->tpl_vars['unserialize']->value['itemDetails']['admin']['productTitle'])===null||$tmp==='' ? '' : $tmp)!=(($tmp = @$_smarty_tpl->tpl_vars['unserialize']->value['itemDetails']['admin']['productOptionName'])===null||$tmp==='' ? '' : $tmp)){?>
							(option : <?php echo (($tmp = @$_smarty_tpl->tpl_vars['unserialize']->value['itemDetails']['admin']['productOptionName'])===null||$tmp==='' ? '' : $tmp);?>
)<br/>
						<?php }?>
						
                        
                        <?php if ((($tmp = @count($_smarty_tpl->tpl_vars['unserialize']->value['combinationValues']['customOption']))===null||$tmp==='' ? 0 : $tmp)>0){?>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td colspan="2"><strong><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCombination'];?>
</strong></td>
                          </tr>
                          <tr>
                            <td width="30%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSKU'];?>
 </td>
                            <td><?php echo $_smarty_tpl->tpl_vars['unserialize']->value['combinationValues']['cimbinationSKU'];?>
</td>
                          </tr>
                          <?php  $_smarty_tpl->tpl_vars["combination"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["combination"]->_loop = false;
 $_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['unserialize']->value['combinationValues']['customOption']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["combination"]->key => $_smarty_tpl->tpl_vars["combination"]->value){
$_smarty_tpl->tpl_vars["combination"]->_loop = true;
 $_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["combination"]->key;
?>
                          <tr>
                            <td>
								<?php if ((($tmp = @$_smarty_tpl->tpl_vars['combination']->value['admin']['customOptionName'])===null||$tmp==='' ? '' : $tmp)!=''){?>
									<?php echo $_smarty_tpl->tpl_vars['combination']->value['admin']['customOptionName'];?>

								<?php }else{ ?>
									<?php echo (($tmp = @$_smarty_tpl->tpl_vars['combination']->value['customOptionName'])===null||$tmp==='' ? '' : $tmp);?>

								<?php }?>
							</td>
                            <td>
								<?php if ((($tmp = @$_smarty_tpl->tpl_vars['combination']->value['admin']['variantValue'])===null||$tmp==='' ? '' : $tmp)!=''){?>
									<?php echo $_smarty_tpl->tpl_vars['combination']->value['admin']['variantValue'];?>

								<?php }else{ ?>
									<?php echo (($tmp = @$_smarty_tpl->tpl_vars['combination']->value['variantValue'])===null||$tmp==='' ? '' : $tmp);?>

								<?php }?>
							</td>
                          </tr>
                          <?php } ?>
                        </table>
                        <?php }?>
                        
                        <?php if (count($_smarty_tpl->tpl_vars['unserialize']->value['customOptionValues'])>0){?>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td colspan="2"><strong><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOption'];?>
</strong></td>
                          </tr>
                          <?php  $_smarty_tpl->tpl_vars["customOptionValues"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["customOptionValues"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['unserialize']->value['customOptionValues']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["customOptionValues"]->key => $_smarty_tpl->tpl_vars["customOptionValues"]->value){
$_smarty_tpl->tpl_vars["customOptionValues"]->_loop = true;
?>
                          <tr>
                            <td width="30%"><?php echo (($tmp = @$_smarty_tpl->tpl_vars['customOptionValues']->value[0]['customOptionName'])===null||$tmp==='' ? '' : $tmp);?>
 </td>
                            <?php  $_smarty_tpl->tpl_vars["customOption"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["customOption"]->_loop = false;
 $_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['customOptionValues']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["customOption"]->key => $_smarty_tpl->tpl_vars["customOption"]->value){
$_smarty_tpl->tpl_vars["customOption"]->_loop = true;
 $_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["customOption"]->key;
?>
							
                            <td> 
								<?php if ($_smarty_tpl->tpl_vars['customOption']->value['inputType']=='file'){?>
									<?php if ((($tmp = @$_smarty_tpl->tpl_vars['combination']->value['admin']['customOptionName'])===null||$tmp==='' ? '' : $tmp)!=''){?>
									  <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/order/getFile/id/".($_smarty_tpl->tpl_vars['customOption']->value['variantValue'])."/",'caption'=>(($tmp = @$_smarty_tpl->tpl_vars['customOption']->value['admin']['variantValue'])===null||$tmp==='' ? '' : $tmp),'title'=>(($tmp = @$_smarty_tpl->tpl_vars['customOption']->value['admin']['customOptionName'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

								  <?php }else{ ?>
									<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/order/getFile/id/".($_smarty_tpl->tpl_vars['customOption']->value['variantValue'])."/",'caption'=>(($tmp = @$_smarty_tpl->tpl_vars['customOption']->value['variantValue'])===null||$tmp==='' ? '' : $tmp),'title'=>(($tmp = @$_smarty_tpl->tpl_vars['customOption']->value['customOptionName'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>


								  <?php }?>
                              <?php if ($_smarty_tpl->tpl_vars['key']->value>0){?>,<?php }?>
                              <?php }else{ ?>
								
								<?php if ((($tmp = @$_smarty_tpl->tpl_vars['customOption']->value['admin']['variantValue'])===null||$tmp==='' ? '' : $tmp)!=''){?>
									<?php echo (($tmp = @$_smarty_tpl->tpl_vars['customOption']->value['admin']['variantValue'])===null||$tmp==='' ? '' : $tmp);?>

								<?php }else{ ?>
									<?php echo (($tmp = @$_smarty_tpl->tpl_vars['customOption']->value['variantValue'])===null||$tmp==='' ? '' : $tmp);?>

								<?php }?>
									<?php if ($_smarty_tpl->tpl_vars['key']->value>0){?>,<?php }?>
                              <?php }?> </td>
                            <?php } ?> </tr>
                          <?php } ?>
                        </table>
                        <?php }?> 
						
						
						</td>
                      <td align="left" valign="top">
                          <?php echo (($tmp = @(($tmp = @(($tmp = @$_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['product']->value['orderItemPrice'],'',$_smarty_tpl->tpl_vars['product']->value['purchasedCurrency']))===null||$tmp==='' ? 0 : $tmp))===null||$tmp==='' ? $_smarty_tpl->tpl_vars['product']->value['purchasedCurrency'] : $tmp))===null||$tmp==='' ? 0 : $tmp);?>

						  
						  
						
                        </td>
                     
                      
                      
                    </tr>
                    <?php } ?>
                  </table>
                </div>
                <div class="clearfix">
                  <table width="47%" align="right">
                    <tr>
                      <td align="right"><div class="order_amount pane02 grand-total">
                          <ul class="listing-03">
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSubtotal'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo (($tmp = @(($tmp = @(($tmp = @$_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderSubtotal'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']))===null||$tmp==='' ? 0 : $tmp))===null||$tmp==='' ? $_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'] : $tmp))===null||$tmp==='' ? 0 : $tmp);?>
</span> </li>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['shippingAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblShippingAmount'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['shippingAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderOtherServiceCharge']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblServiceCharge'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderOtherServiceCharge'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderConvenientFee']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblConvenientFee'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderConvenientFee'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoDiscountAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDiscount'];?>
 </span><span class="col-septr">:</span> <span class="col-lst">-<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoDiscountAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
 <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoCode']){?>(<?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoCode'];?>
)<?php }?></span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderUserCreditAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCreditAmount'];?>
</span><span class="col-septr">:</span> <span class="col-lst">-<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderUserCreditAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php }?>
							 <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['redeemDiscountAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblRedeemAmount'];?>
</span> <span class="col-septr">:</span> <span class="col-lst">-<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['redeemDiscountAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderTaxAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTaxAmount'];?>
 <?php if ((($tmp = @$_smarty_tpl->tpl_vars['taxDescription']->value)===null||$tmp==='' ? '' : $tmp)!=''){?> - <?php echo $_smarty_tpl->tpl_vars['taxDescription']->value;?>
<?php }?></span><span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderTaxAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php }?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTotal'];?>
</span><span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderTotalAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaidAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderPaidAmount'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaidAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
</span> </li>
                            <?php }?>
                          </ul>
                        </div></td>
                    </tr>
                  </table>                        
                     <?php if (count($_smarty_tpl->tpl_vars['applied_promotions']->value)>0){?>
            <div  class=" pane02 fixing_left width-47per">
				<ul class="coupon-items discount-info">
					<li class="caret-info"> <span class="caret-outer"></span> <span class="caret-inner"></span></li>
					<li>
						<div id="applied_promotions">
							<strong class="block strong"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAppliedPromotions'];?>
</strong>
							<ul>
								<?php  $_smarty_tpl->tpl_vars["promo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["promo"]->_loop = false;
 $_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['applied_promotions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["promo"]->key => $_smarty_tpl->tpl_vars["promo"]->value){
$_smarty_tpl->tpl_vars["promo"]->_loop = true;
 $_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["promo"]->key;
?>
									<li class="promo-item">
										<?php echo $_smarty_tpl->tpl_vars['promo']->value['ruleName'];?>
 - 
										<?php if ($_smarty_tpl->tpl_vars['promo']->value['apply']=='by_percentage'&&$_smarty_tpl->tpl_vars['promo']->value['discountAmount']>0){?>
											<span><?php echo sprintf("%.2f",$_smarty_tpl->tpl_vars['promo']->value['discountAmount']);?>
 % Off on </span>
										<?php }?>
										<?php if ($_smarty_tpl->tpl_vars['promo']->value['apply']=='by_fixed'&&$_smarty_tpl->tpl_vars['promo']->value['discountAmount']>0){?>
											<span><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['promo']->value['discountAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
 Off on </span>
										<?php }?>
										<?php if ($_smarty_tpl->tpl_vars['promo']->value['apply']=='cart_fixed'&&$_smarty_tpl->tpl_vars['promo']->value['discountAmount']>0){?>
											<span><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['promo']->value['discountAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
 Off</span>
										<?php }?>
										<?php if ((($tmp = @$_smarty_tpl->tpl_vars['promo']->value['couponCode'])===null||$tmp==='' ? '' : $tmp)!=''){?>
											<span> (CODE - <?php echo $_smarty_tpl->tpl_vars['promo']->value['couponCode'];?>
) </span>
										<?php }?>
										<?php if ((($tmp = @$_smarty_tpl->tpl_vars['promo']->value['discount'])===null||$tmp==='' ? 0 : $tmp)>0){?>
											[<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['promo']->value['discount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
]
										<?php }?>
										<?php if ($_smarty_tpl->tpl_vars['promo']->value['freeShipping']=='yes'&&$_smarty_tpl->tpl_vars['resOrderDetails']->value['shippingAmount']>0){?>
											<span> 
												<?php echo $_smarty_tpl->tpl_vars['language']->value['lblShippingCostWillBe'];?>

												(<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['resOrderDetails']->value['shippingAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
)
											</span>
										<?php }?>
										
										<?php if ($_smarty_tpl->tpl_vars['promo']->value['giftCoupon']>0){?>
											<span> <strong>
												<?php echo $_smarty_tpl->tpl_vars['language']->value['lblFreeGiftCouponWorth'];?>

												(<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price'][0][0]->getFormattedCurrency($_smarty_tpl->tpl_vars['promo']->value['giftCoupon'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']);?>
)
											</strong> </span>
										<?php }?>
										
									</li>
								<?php } ?>
							</ul>
							<!--applied_promotions--></div>
					</li>
				</ul>
				</div>
				<?php }?>
                                  <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency']!=$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID']){?>
                                      <div class="clearfix"></div>
                                     Amount shown in purchased currency
                              <table width="47%" align="right">
                    <tr>
                      <td align="right"><div class="order_amount pane02 grand-total">
                          <ul class="listing-03">
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSubtotal'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderSubtotal'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['shippingAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblShippingAmount'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['shippingAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderOtherServiceCharge']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblServiceCharge'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderOtherServiceCharge'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderConvenientFee']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblConvenientFee'];?>
 </span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderConvenientFee'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoDiscountAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDiscount'];?>
 </span><span class="col-septr">:</span> <span class="col-lst">-<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoDiscountAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
 <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoCode']){?>(<?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPromoCode'];?>
)<?php }?></span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderUserCreditAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCreditAmount'];?>
</span><span class="col-septr">:</span> <span class="col-lst">-<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderUserCreditAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                            <?php }?>
							 <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['redeemDiscountAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblRedeemAmount'];?>
</span> <span class="col-septr">:</span> <span class="col-lst">-<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['redeemDiscountAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                            <?php }?>
                            <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderTaxAmount']>0){?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTaxAmount'];?>
 <?php if ((($tmp = @$_smarty_tpl->tpl_vars['taxDescription']->value)===null||$tmp==='' ? '' : $tmp)!=''){?> - <?php echo $_smarty_tpl->tpl_vars['taxDescription']->value;?>
<?php }?></span><span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderTaxAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                            <?php }?>
                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblTotal'];?>
</span><span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_order'][0][0]->getFormattedCurrencyOrder($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderTotalAmount'],'',$_smarty_tpl->tpl_vars['resOrderDetails']->value['purchasedCurrency'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyID'],$_smarty_tpl->tpl_vars['resOrderDetails']->value['userCurrencyExcRate']);?>
</span> </li>
                          </ul>
                        </div></td>
                    </tr>
                  </table>
                          <?php }?>
                </div>
              </div>
            </div>
            <!--End:Table Listing--> 
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"paymentSettingsGroupID",'value'=>$_smarty_tpl->tpl_vars['resOrderDetails']->value['paymentSettingsGroupID']),$_smarty_tpl);?>

            <br><br>
            <div class="manage_order_status padding-b-15 clearfix">
			<div id="common_message_error"></div>
              <div class="width-47per fixing_left manage-order">
                <h3 ><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblManageOrderStatus'];?>
</span></h3>
              <div class="pane02 ">
                <ul class="listing-03">
                  <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPaymentMethod'];?>
</span> <span class="col-septr">:</span>
                    <div class="col-lst"><strong>
                                    <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaymentMethodName']=='Account Credit'){?>
                                        <?php if (($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderUserCreditAmount']>0)){?>Account Credit<?php }?>                                       
                                    <?php }elseif(($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaymentMethodName']!='Account Credit')&&($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderUserCreditAmount']>0)){?> <?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaymentMethodName'];?>
 / Gift Card <?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['orderPaymentMethodName'];?>
 <?php }?>
                            </strong> </div>
                  </li>
                         
                   
                  <li class="clearfix"> <span class="col-frst">
                    <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderStatus'];?>
</span> <span class="col-septr">:</span>
                    <div class="col-lst"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"dynamicOrderStatus",'caption'=>"->Do not change",'options'=>$_smarty_tpl->tpl_vars['dynamicOrdersStatus']->value,'class'=>"width-auto fixing_right select-box",'style'=>"width:100% !important",'value'=>$_smarty_tpl->tpl_vars['resOrderDetails']->value['dynamicOrderStatus']),$_smarty_tpl);?>
                   
                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"currOrderStatus",'value'=>$_smarty_tpl->tpl_vars['resOrderDetails']->value['orderStatus']),$_smarty_tpl);?>
 </div>
                  </li>
                  <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resOrderDetails']->value['reasonID'])===null||$tmp==='' ? 0 : $tmp)>0){?>
                      <?php $_smarty_tpl->tpl_vars["rmaReasonStyle"] = new Smarty_variable('', null, 0);?>
                  <?php }else{ ?>
                      <?php $_smarty_tpl->tpl_vars["rmaReasonStyle"] = new Smarty_variable("hide", null, 0);?>
                  <?php }?>
                  <li class="clearfix orderReason <?php echo $_smarty_tpl->tpl_vars['rmaReasonStyle']->value;?>
"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblReason'];?>
</span> <span class="col-septr">:</span>
                    <div class="col-lst"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"rmaReason",'options'=>$_smarty_tpl->tpl_vars['resReasons']->value,'class'=>"width-auto select-box",'style'=>"width:100% !important"),$_smarty_tpl);?>

                  </li>
                  
                  <?php if (count($_smarty_tpl->tpl_vars['resAction']->value)>0){?>
                    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resOrderDetails']->value['actionID'])===null||$tmp==='' ? 0 : $tmp)>0){?>
                      <?php $_smarty_tpl->tpl_vars["rmaActionStyle"] = new Smarty_variable('', null, 0);?>
                    <?php }else{ ?>
                      <?php $_smarty_tpl->tpl_vars["rmaActionStyle"] = new Smarty_variable("hide", null, 0);?>
                    <?php }?>
                    <li class="clearfix orderReason <?php echo $_smarty_tpl->tpl_vars['rmaActionStyle']->value;?>
"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAction'];?>
</span> <span class="col-septr">:</span>
                      <div class="col-lst"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"rmaAction",'options'=>$_smarty_tpl->tpl_vars['resAction']->value,'class'=>"width-auto select-box",'style'=>"width:100% !important"),$_smarty_tpl);?>

                    </li>
                  <?php }else{ ?>
                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"rmaAction",'value'=>"10"),$_smarty_tpl);?>

                  <?php }?>
                  
                  
                  <li class="clearfix">
                    <div class="col-frst">&nbsp;</div>
                    <div class="col-septr">&nbsp;</div>
                    <div class="col-lst">
                      <div class="submit-block"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"previousURl",'value'=>$_smarty_tpl->tpl_vars['previousURl']->value),$_smarty_tpl);?>

                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitOrder",'class'=>"button03 curve-3",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblUpdateStatus'])),$_smarty_tpl);?>

                        <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>

                        <input name="text3" type="reset"  value="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblListAll'];?>
" class="action-link2 button-link" />
                      </div>
                    </div>
                    <!--End:right-->
                    <div class="clear"></div>
                  </li>
				  
				 
				  
				<?php if (count($_smarty_tpl->tpl_vars['resRefundDetails']->value)>0){?>
					
				<li class="clearfix "> 
					<span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderRefundDetails'];?>
</span>
					<div class="col-lst">
							<div class="payment_response"> 
								<strong><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderRefundResponse'];?>
</strong>
								<div class="padding-t-8 payment-responcediv">
									<?php echo html_entity_decode($_smarty_tpl->tpl_vars['resRefundDetails']->value['refundResponse']);?>

								</div>
								<strong><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDate'];?>
</strong>
								<div class="padding-t-8 payment-responcediv">
									<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['resRefundDetails']->value['completedDate'],$_smarty_tpl->tpl_vars['date_format']->value);?>
 
									<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['resRefundDetails']->value['completedDate'],$_smarty_tpl->tpl_vars['time_format']->value);?>

								</div>
							</div>
					</div>
				</li>
				<?php }?>
				
				
				
                </ul>
              </div>
			  </div>
                                    <?php if ($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderSource']=='amazon'){?>
                    <div class="width-47per fixing_right">
                    <h3 ><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAmazonOrderDet'];?>
</span></h3>
                      <div  class=" pane02" >
                                    <ul class="listing-03">
                                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderID'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['order']['AmazonOrderId'];?>
</span> </li>
                                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderitemID'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['mPlaceOrderID'];?>
</span> </li>
                                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderStatus'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['mPlaceOrderStatus'];?>
</span> </li>
                                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEsku'];?>
</span> <span class="col-septr">:</span> <span class="col-lst">
                                                    <?php if (is_array($_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['items'][0])){?>
                                                    <?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['items'][0]['SellerSKU'];?>

                                                    <?php }else{ ?>
                                                        <?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['items']['SellerSKU'];?>

                                                        <?php }?>
                                                    </span> </li>
                                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderDate'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['order']['PurchaseDate'];?>
</span> </li>
                                            <li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLastUpdateAt'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['order']['LastUpdateDate'];?>
</span> </li>							
                                    </ul>
                            </div> 
                    </div>
                    <?php }elseif($_smarty_tpl->tpl_vars['resOrderDetails']->value['orderSource']=='flipkart'){?>
				<div class="width-47per fixing_right">
				<h3 ><span>Flipkart Order Details</span></h3>
				  <div  class=" pane02" >
						<ul class="listing-03">
							<li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderID'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['orderId'];?>
</span> </li>
							<li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderitemID'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['orderItemId'];?>
</span> </li>
							<li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderStatus'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['resOrderDetails']->value['mPlaceOrderStatus'];?>
</span> </li>
							<li class="clearfix"> <span class="col-frst">ListingId</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['listingId'];?>
</span> </li>
							<li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEsku'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['sku'];?>
</span> </li>
							<li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblOrderDate'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['orderDate'];?>
</span> </li>
							<li class="clearfix"> <span class="col-frst"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLastUpdateAt'];?>
</span> <span class="col-septr">:</span> <span class="col-lst"><?php echo $_smarty_tpl->tpl_vars['unserializedExtraData']->value['MarketPlaceDetails']['admin']['updatedAt'];?>
</span> </li>							
						</ul>
					</div> 
				</div>
				<?php }else{ ?>
			  
                                <?php }?>
            </div>
			
			
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
 </div>        
	</div> 
     
    </div>
  </div>
  <!--End:Content Container--> 
  <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 </div>
<!--End:Outer Container--> 
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
<!--End:Outer Container--> 
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('section'=>"rma",'id'=>"common_message_rma"),$_smarty_tpl);?>

</div>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/validate.plugin.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/tab.plugin.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/table.plugin.js"></script> 
<script type="text/javascript"  src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.colorbox.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery-ui-timepicker-addon.js"></script>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formCertificates"),$_smarty_tpl);?>
 
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formChangeShippingStatus"),$_smarty_tpl);?>
 
<script type="text/javascript">
var msgConfirmDelete="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgConfirmDelete'];?>
";
var lblSelectItems	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectItems'];?>
";
var lblNoDataDefault = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblNoDataDefault'];?>
";
var msgShipMismatch = "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgShipMismatch'];?>
";
var msgDeliveredStatus = "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgDeliveredStatus'];?>
";
var msgPendingStatus = "<?php echo $_smarty_tpl->tpl_vars['language']->value['msgPendingStatus'];?>
";

$(document).ready(function(){
	$('#downloadLabel').click(function(){			
			setTimeout(function(){ window.location = window.location.href; }, 7000);
	})
        $("#createInvoiceLink,#InvoiceLink").colorbox({iframe:true, width:"90%", height:"90%"});
        $("#createReturn").colorbox({iframe:true, width:"80%", height:"90%"});
});	

</script>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->rootpath_script(array(),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->basepath_script(array(),$_smarty_tpl);?>

</body>
</html>
<?php }} ?>