invoice_type=='full'){ $fieldsClass = hikashop_get('class.field'); $fields = $fieldsClass->getFields('display:invoice=1',$this->order,'order'); if(!empty($fields)){ ?> getFields('display:back_shipping_invoice=1',$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'); } ?>



element->order_invoice_created)) { echo JText::_('DATE').': '.hikashop_getDate($this->element->order_invoice_created,'%d %B %Y'); }else{ echo JText::_('DATE').': '.hikashop_getDate($this->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; } ?>

store_address;?>



invoice_type=='full' && !empty($this->element->billing_address)){?>
displayAddress($this->element->fields,$this->element->billing_address,'order'); ?>
element->order_shipping_id) && !empty($this->element->shipping_address)){ ?>
element->override_shipping_address)) { $class = hikashop_get('class.address'); echo $class->displayAddress($this->element->fields,$this->element->shipping_address,'order'); } else { echo $this->element->override_shipping_address; } ?>

config->get('show_code')) { $colspan++; ?> invoice_type=='full'){ $type = 'display:back_invoice=1'; } if(hikashop_level(1)){ $productFields = $this->fieldsClass->getFields($type,$null,'product'); if(!empty($productFields)) { $usefulFields = array(); foreach($productFields as $field){ $fieldname = $field->field_namekey; foreach($this->products as $product){ if(!empty($product->$fieldname)){ $usefulFields[] = $field; break; } } } $productFields = $usefulFields; if(!empty($productFields)) { foreach($productFields as $field){ $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')) { echo ''; } if(hikashop_level(1)){ if(!empty($productFields)) { foreach($productFields as $field){ $namekey = $field->field_namekey; $productData = @$this->products[$product->product_id]; ?> invoice_type=='full'){?> invoice_type=='full'){?> invoice_type=='full'){?> currencyHelper->round($this->order->order_subtotal - $this->order->order_subtotal_no_vat + $this->order->order_shipping_tax + $this->order->order_payment_tax - $this->order->order_discount_tax,$this->currencyHelper->getRounding($this->order->order_currency_id,true)); if($this->order->order_discount_price != 0){ ?> order->order_shipping_price!=0 || ($this->config->get('price_with_tax') && $this->order->order_shipping_tax!=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_payment_price != 0 || ($this->config->get('price_with_tax') && $this->order->order_payment_tax != 0)){ ?> config->get('detailed_tax_display') && !empty($this->order->order_tax_info)){ foreach($this->order->order_tax_info as $tax){ ?>
fieldsClass->getFieldName($field);?>
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); } } } $item_type = 'display:field_item_shipping_invoice=1'; if($this->invoice_type=='full'){ $item_type = 'display:field_item_invoice=1'; } if(hikashop_level(2)){ $itemFields = $this->fieldsClass->getFields($item_type,$product,'item'); if(!empty($itemFields)) { foreach($itemFields as $field){ $namekey = $field->field_namekey; if(empty($product->$namekey) && (!isset($product->$namekey) || !strlen($product->$namekey))){ continue; } echo '

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

'; } } } echo '

'; 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).' )'; } } ?>

'.$product->order_product_code.'

$namekey)) echo '

'.$this->fieldsClass->show($field,$productData->$namekey).'

'; ?>
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); } ?>
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); } ?>
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); } ?>
order_product_price)) { if($this->config->get('price_with_tax') && !empty($additional->order_product_tax)) $additional->order_product_price = (float)$additional->order_product_price + (float)$additional->order_product_tax; else $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_payment_price, $this->order->order_currency_id); } else { echo $this->currencyHelper->format($this->order->order_payment_price - @$this->order->order_payment_tax, $this->order->order_currency_id); } ?>
currencyHelper->format($tax->tax_amount,$this->order->order_currency_id); ?>
currencyHelper->format($taxes,$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').' : '; if(is_string($this->order->order_shipping_method)) echo $this->shipping->getName($this->order->order_shipping_method, $this->order->order_shipping_id); else echo implode(', ', $this->order->order_shipping_method); echo '
'; }?> payment)){ echo JText::_('HIKASHOP_PAYMENT_METHOD').' : '.$this->payment->getName($this->order->order_payment_method,$this->order->order_payment_id); }?>
$oneExtraField) { ?>
fieldsClass->getFieldName($oneExtraField);?> fieldsClass->show($oneExtraField,@$this->order->$fieldName); ?>