image_address_path)) { ?> 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)) { ?> '; } ?> triggerEvent('onAfterOrderProductsListingDisplay', array(&$this->order, 'order_back_invoice')); $html = ob_get_clean(); if(!empty($html)) { echo ''; } ?>

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)) { $addressClass = hikashop_get('class.address'); echo $addressClass->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'; $shipping_invoice = ''; } $weight = bccomp(sprintf('%F',$this->order->order_weight), 0, 3); $unit_weight = false; if($weight && $this->config->get('show_'.$shipping_invoice.'invoice_unit_weight',0)) $unit_weight = true; $total_weight = false; if($weight && $this->config->get('show_'.$shipping_invoice.'invoice_total_weight',0)) $total_weight = true; $order_weight = false; if($weight && $this->config->get('show_'.$shipping_invoice.'invoice_weight',0)) $order_weight = true; 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++; ?> ' . JText::_('PRODUCT_WEIGHT') . ''; } if($this->invoice_type=='full') { ?> ' . JText::_('TOTAL_WEIGHT') . ''; } if($this->invoice_type=='full') { ?> config->get('group_options', 0); $imageHelper = hikashop_get('helper.image'); $width = (int)$this->config->get('cart_thumbnail_x', 50); $height = (int)$this->config->get('cart_thumbnail_y', 50); $image_options = array( 'default' => true, 'forcesize' => $this->config->get('image_force_size', true), 'scale' => $this->config->get('image_scale_mode','inside') ); 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]; ?> ' . rtrim(rtrim($product->order_product_weight,'0'),',.').' '.JText::_($product->order_product_weight_unit) . ''; } if($this->invoice_type=='full'){ ?> ' . rtrim(rtrim($product->order_product_weight*$product->order_product_quantity,'0'),',.').' '.JText::_($product->order_product_weight_unit) . ''; } ?> 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); ?>
images) ? @$product->images[0]->file_path : ''); $img = $imageHelper->getThumbnail($image_path, array('width' => $width, 'height' => $height), $image_options); if($img->success) { echo ''.$this->escape(@$product->images[0]->file_name).''; } ?> 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)) { $itemFields = $this->fieldsClass->getFields($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_weight += $optionElement->order_product_weight; $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).' )'; } } ?>

extraData)) echo '

' . (is_string($product->extraData) ? $product->extraData : implode('
', $product->extraData)) . '

'; ?>

'.$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).'

'; } if($order_weight) { echo '

'.JText::_('HIKASHOP_TOTAL_ORDER_WEIGHT') . ' : ' . rtrim(rtrim($this->order->order_weight,'0'),',.').' '.JText::_($this->order->order_weight_unit).'

'; } ?>
$oneExtraField) { ?>
fieldsClass->getFieldName($oneExtraField); ?> fieldsClass->show($oneExtraField,@$this->order->$fieldName); ?>

'.JText::_('HIKASHOP_TOTAL_ORDER_WEIGHT') . ' : ' . rtrim(rtrim($this->order->order_weight,'0'),',.').' '.JText::_($this->order->order_weight_unit).'

'.$html.'