address_title;$name = @$data->customer->name;?>

order_url; $mail_status = $data->mail_status; $customer = $data->customer; $order_status = $data->order_status; $class = hikashop_get('class.order'); $data = $class->get($data->order_id); $url = $data->order_number; $data->order_url = $order_url; $data->order_status = $order_status; $data->mail_status = $mail_status; $config =& hikashop_config(); if($config->get('simplified_registration',0)!=2){ $url = ''. $url.''; } echo JText::sprintf('ORDER_STATUS_CHANGED_TO',$url,$data->mail_status); $data->cart = $class->loadFullOrder($data->order_id,true,false); $data->cart->coupon = null; $price = null; $tax = $data->cart->order_subtotal - $data->cart->order_subtotal_no_vat + $data->order_discount_tax + $data->order_shipping_tax; $price->price_value = $data->order_full_price-$tax; $price->price_value_with_tax = $data->order_full_price; $data->cart->full_total = null; $data->cart->full_total->prices = array($price); $data->cart->coupon->discount_value =& $data->order_discount_price; $app=&JFactory::getApplication(); if($app->isAdmin()){ $view = 'order'; }else{ $view = 'address'; } ?>


getFields('frontcomp',$null,'item'); } foreach($data->cart->products as $item){ ?> order_discount_price,0,5)){ echo ''; } if(bccomp($data->order_shipping_price,0,5)){ echo ''; } if($data->cart->full_total->prices[0]->price_value!=$data->cart->full_total->prices[0]->price_value_with_tax){ if($config->get('detailed_tax_display') && !empty($data->cart->order_tax_info)){ foreach($data->cart->order_tax_info as $tax){ echo ''; } }else{ echo ''; } $text=JText::sprintf('TOTAL_WITH_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id)); }else{ $text=JText::_('HIKASHOP_FINAL_TOTAL'). ' : '.$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id); } echo ''; ?>

order_product_name; ?>

field_namekey; if(empty($item->$namekey)) continue; echo '

'.$fieldsClass->getFieldName($field).': '.$fieldsClass->show($field,$item->$namekey).'

'; } } $statusDownload = explode(',',$config->get('order_status_for_download','confirmed,shipped')); if(!empty($item->files) && in_array($data->order_status,$statusDownload)){ global $Itemid; $url_itemid = ''; if(!empty($Itemid)){ $url_itemid='&Itemid='.$Itemid; } echo '

'; foreach($item->files as $file){ $fileName = empty($file->file_name) ? $file->file_path : $file->file_name; echo ''.$fileName.'
'; } echo '

'; } ?>
format($item->order_product_price+$item->order_product_tax,$data->order_currency_id); ?> order_product_quantity; ?> format($item->order_product_total_price,$data->order_currency_id); ?>
'.JText::_('HIKASHOP_COUPON').' : '.$currencyHelper->format($data->order_discount_price*-1,$data->order_currency_id).'
'.JText::_('HIKASHOP_SHIPPING_METHOD').' : '.$currencyHelper->format($data->order_shipping_price,$data->order_currency_id).'
'.$tax->tax_namekey. ' : '.$currencyHelper->format($tax->tax_amount,$data->order_currency_id).'
'.JText::sprintf('TOTAL_WITHOUT_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value,$data->order_currency_id)).'
'.$text.'
cart->billing_address)){ $billing = $template; foreach($data->cart->fields as $field){ $fieldname = $field->field_namekey; $billing=str_replace('{'.$fieldname.'}',$fieldsClass->show($field,$data->cart->billing_address->$fieldname),$billing); } echo ''; } if(!empty($data->order_shipping_id) && !empty($data->cart->shipping_address)){ $shipping = $template; foreach($data->cart->fields as $field){ $fieldname = $field->field_namekey; $shipping=str_replace('{'.$fieldname.'}',$fieldsClass->show($field,$data->cart->shipping_address->$fieldname),$shipping); } echo ''; }?>
'.JText::_('HIKASHOP_BILLING_ADDRESS').'
'; echo str_replace(array("\r\n","\r","\n"),'
',preg_replace('#{(?:(?!}).)*}#i','',$billing)).'
'.JText::_('HIKASHOP_SHIPPING_ADDRESS').'
'; echo str_replace(array("\r\n","\r","\n"),'
',preg_replace('#{(?:(?!}).)*}#i','',$shipping)).'
getFields('frontcomp',$data,'order',''); foreach($fields as $fieldName => $oneExtraField) { echo "
".$fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField,$data->$fieldName); } ?>


from_name);?>
customer = $customer;?>