invoice_type=='full'){ $fieldsClass = hikashop_get('class.field'); $fields = $fieldsClass->getFields('backend',$this->order,'order'); if(!empty($fields)){ ?> trigger('onAfterOrderProductsListingDisplay', array(&$this->order, 'order_back_invoice')); ?>

invoice_type=='full'){ echo JText::_('INVOICE'); }else{ echo JText::_('SHIPPING_INVOICE'); } ?>



store_address;?>


invoice_type=='full' && !empty($this->element->billing_address)){?>
setLayout('address_template'); $html = $this->loadTemplate(); foreach($this->element->fields as $field){ $fieldname = $field->field_namekey; if(!empty($this->element->billing_address->$fieldname)) $html=str_replace('{'.$fieldname.'}',$this->fieldsClass->show($field,$this->element->billing_address->$fieldname),$html); } echo str_replace("\n","
\n",str_replace("\n\n","\n",preg_replace('#{(?:(?!}).)*}#i','',$html))); ?>
element->order_shipping_id) && !empty($this->element->shipping_address)){ ?>
element->override_shipping_address)) { $this->setLayout('address_template'); $html = $this->loadTemplate(); foreach($this->element->fields as $field){ $fieldname = $field->field_namekey; if(!empty($this->element->shipping_address->$fieldname)) $html=str_replace('{'.$fieldname.'}',$this->fieldsClass->show($field,$this->element->shipping_address->$fieldname),$html); } echo str_replace("\n","
\n",str_replace("\n\n","\n",preg_replace('#{(?:(?!}).)*}#i','',$html))); } else { echo $this->element->override_shipping_address; } ?>

element->order_created,'%d %B %Y ');?>
element->order_invoice_number)) { echo JText::_('INVOICE').': '.$this->element->order_invoice_number; } else { echo JText::_('INVOICE').': '.@$this->element->order_number; } ?>


config->get('show_code')) { $colspan++; ?> invoice_type=='full'){?> invoice_type=='full'){?> config->get('group_options',0); foreach($this->order->products as $product){ if($group && $product->order_product_option_parent_id) continue; ?> config->get('show_code')) { ?> invoice_type=='full'){?> invoice_type=='full'){?> invoice_type=='full'){?> order->order_subtotal-$this->order->order_subtotal_no_vat+$this->order->order_shipping_tax-$this->order->order_discount_tax; if($taxes != 0){ if($this->config->get('detailed_tax_display') && !empty($this->order->order_tax_info)){ foreach($this->order->order_tax_info as $tax){ ?> order->order_discount_price != 0){ ?> order->additional)) { $exclude_additionnal = explode(',', $this->config->get('order_additional_hide', '')); foreach($this->order->additional as $additional) { if(in_array($additional->order_product_name, $exclude_additionnal)) continue; ?> order->order_shipping_price!=0 || ($this->config->get('price_with_tax') && $this->order->order_shipping_tax!=0)) { ?> order->order_payment_price!=0){ ?>
order_product_name;?>

order->products as $j => $optionElement){ if($optionElement->order_product_option_parent_id != $product->order_product_id) continue; if($optionElement->order_product_price>0){ $display_item_price = true; } } if($display_item_price){ if($this->config->get('price_with_tax')){ echo ' '.$this->currencyHelper->format($product->order_product_price+$product->order_product_tax,$this->order->order_currency_id); }else{ echo ' '.$this->currencyHelper->format($product->order_product_price,$this->order->order_currency_id); } } } if(hikashop_level(2) && !empty($this->fields['item'])){ foreach($this->fields['item'] as $field){ $namekey = $field->field_namekey; if(empty($product->$namekey) && !strlen($product->$namekey)){ continue; } echo '

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

'; } } if($group){ foreach($this->order->products as $j => $optionElement){ if($optionElement->order_product_option_parent_id != $product->order_product_id) continue; $product->order_product_price +=$optionElement->order_product_price; $product->order_product_tax +=$optionElement->order_product_tax; $product->order_product_total_price+=$optionElement->order_product_total_price; $product->order_product_total_price_no_vat+=$optionElement->order_product_total_price_no_vat; ?>

order_product_name; if($optionElement->order_product_price>0){ if($this->config->get('price_with_tax')){ echo ' ( + '.$this->currencyHelper->format($optionElement->order_product_price+$optionElement->order_product_tax,$this->order->order_currency_id).' )'; }else{ echo ' ( + '.$this->currencyHelper->format($optionElement->order_product_price,$this->order->order_currency_id).' )'; } } ?>

order_product_code; ?>

config->get('price_with_tax')){ echo $this->currencyHelper->format($product->order_product_price+$product->order_product_tax,$this->order->order_currency_id); }else{ echo $this->currencyHelper->format($product->order_product_price,$this->order->order_currency_id); } ?> order_product_quantity;?> config->get('price_with_tax')){ echo $this->currencyHelper->format($product->order_product_total_price,$this->order->order_currency_id); }else{ echo $this->currencyHelper->format($product->order_product_total_price_no_vat,$this->order->order_currency_id); } ?>
config->get('price_with_tax')){ echo $this->currencyHelper->format($this->order->order_subtotal,$this->order->order_currency_id); }else{ echo $this->currencyHelper->format($this->order->order_subtotal_no_vat,$this->order->order_currency_id); } ?>
currencyHelper->format($tax->tax_amount,$this->order->order_currency_id); ?>
currencyHelper->format($taxes,$this->order->order_currency_id); ?>
config->get('price_with_tax')){ echo $this->currencyHelper->format($this->order->order_discount_price*-1.0,$this->order->order_currency_id); }else{ echo $this->currencyHelper->format(($this->order->order_discount_price-@$this->order->order_discount_tax)*-1.0,$this->order->order_currency_id); } ?>
order_product_price)) { $additional->order_product_price = (float)$additional->order_product_price; } if(!empty($additional->order_product_price) || empty($additional->order_product_options)) { echo $this->currencyHelper->format($additional->order_product_price, $this->order->order_currency_id); } else { echo $additional->order_product_options; } ?>
config->get('price_with_tax')){ echo $this->currencyHelper->format($this->order->order_shipping_price,$this->order->order_currency_id); }else{ echo $this->currencyHelper->format($this->order->order_shipping_price-@$this->order->order_shipping_tax,$this->order->order_currency_id); } ?>
currencyHelper->format($this->order->order_payment_price,$this->order->order_currency_id); ?>
currencyHelper->format($this->order->order_full_price,$this->order->order_currency_id); ?>
$oneExtraField) { ?>
fieldsClass->getFieldName($oneExtraField);?> fieldsClass->show($oneExtraField,@$this->order->$fieldName); ?>
shipping)){ echo JText::_('HIKASHOP_SHIPPING_METHOD').' : '.$this->shipping->getName($this->order->order_shipping_method,$this->order->order_shipping_id).'
'; }?> payment)){ echo JText::_('HIKASHOP_PAYMENT_METHOD').' : '.$this->payment->getName($this->order->order_payment_method,$this->order->order_payment_id); }?>