<?php /* Smarty version Smarty-3.1.15, created on 2015-05-18 00:10:38
         compiled from "/home/hushdogcafe/public_html/cube/skins/foundation/templates/print.receipt.php" */ ?>
<?php /*%%SmartyHeaderCode:10579259325558bd7e2b67c8-28819636%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '59e294243b15d68a686a2b74eff2735141945c12' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/print.receipt.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10579259325558bd7e2b67c8-28819636',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'TEXT_DIRECTION' => 0,
    'HTML_LANG' => 0,
    'PAGE_TITLE' => 0,
    'STORE_URL' => 0,
    'SKIN_FOLDER' => 0,
    'LIST_ORDERS' => 0,
    'STORE_LOGO' => 0,
    'CONFIG' => 0,
    'STORE' => 0,
    'LANG' => 0,
    'order' => 0,
    'item' => 0,
    'option' => 0,
    'TAXES' => 0,
    'tax' => 0,
    'DISCOUNT' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_5558bd7e492d39_64923257',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5558bd7e492d39_64923257')) {function content_5558bd7e492d39_64923257($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/home/hushdogcafe/public_html/cube/includes/lib/smarty/plugins/modifier.replace.php';
?>
<!DOCTYPE html>
<html class="no-js" xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $_smarty_tpl->tpl_vars['TEXT_DIRECTION']->value;?>
" lang="<?php echo $_smarty_tpl->tpl_vars['HTML_LANG']->value;?>
">
   <head>
      <title><?php echo $_smarty_tpl->tpl_vars['PAGE_TITLE']->value;?>
</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
/css/cubecart.print.css">
      <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
/css/cubecart.helpers.css">
      <link rel="stylesheet" href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_FOLDER']->value;?>
/css/cubecart.common.css">
      <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
   </head>
   <body onload="window.print();">
      <?php  $_smarty_tpl->tpl_vars['order'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['order']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['LIST_ORDERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['order']->key => $_smarty_tpl->tpl_vars['order']->value) {
$_smarty_tpl->tpl_vars['order']->_loop = true;
?>
      <div class="row">
         <div class="small-6 columns">
            <img src="<?php echo $_smarty_tpl->tpl_vars['STORE_LOGO']->value;?>
" alt="">
         </div>
         <div class="small-6 columns text-right">
            <strong><?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['store_name'];?>
</strong><br>
            <?php echo nl2br($_smarty_tpl->tpl_vars['STORE']->value['address']);?>
<br>
            <?php echo $_smarty_tpl->tpl_vars['STORE']->value['county'];?>
<br>
            <?php echo $_smarty_tpl->tpl_vars['STORE']->value['postcode'];?>
<br>
            <?php echo $_smarty_tpl->tpl_vars['STORE']->value['country'];?>
<br>
            <div class="thickpad-top">
            <?php if (!empty($_smarty_tpl->tpl_vars['CONFIG']->value['tax_number'])) {?><?php echo $_smarty_tpl->tpl_vars['LANG']->value['settings']['tax_vat_number'];?>
: <?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['tax_number'];?>
<br><?php }?>
            <?php echo $_smarty_tpl->tpl_vars['CONFIG']->value['email_address'];?>

            </div>
         </div>
      </div>
      <div class="row">
         <div class="small-6 columns thickmarg-topbottom">
            <?php if (!empty($_smarty_tpl->tpl_vars['order']->value['company_name'])) {?><strong><?php echo $_smarty_tpl->tpl_vars['order']->value['company_name'];?>
</strong><br><?php }?>
            <?php echo $_smarty_tpl->tpl_vars['order']->value['title'];?>
 <?php echo $_smarty_tpl->tpl_vars['order']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['order']->value['last_name'];?>
<br>
            <?php echo $_smarty_tpl->tpl_vars['order']->value['line1'];?>
 <br>
            <?php if (!empty($_smarty_tpl->tpl_vars['order']->value['line2'])) {?><?php echo $_smarty_tpl->tpl_vars['order']->value['line2'];?>
<br><?php }?>
            <?php echo $_smarty_tpl->tpl_vars['order']->value['town'];?>
<br>
            <?php echo $_smarty_tpl->tpl_vars['order']->value['state'];?>
<br>
            <?php echo $_smarty_tpl->tpl_vars['order']->value['postcode'];?>
<br>
            <?php echo $_smarty_tpl->tpl_vars['order']->value['country'];?>

            <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['order']->value['vat_number'];?>
<?php $_tmp1=ob_get_clean();?><?php if (!empty($_tmp1)) {?><br><?php echo $_smarty_tpl->tpl_vars['LANG']->value['settings']['tax_vat_number'];?>
: <?php echo $_smarty_tpl->tpl_vars['order']->value['vat_number'];?>
<?php }?>
         </div>
         <div class="small-6 columns text-right thickmarg-topbottom">
            <strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['invoice'];?>
: <?php echo $_smarty_tpl->tpl_vars['order']->value['cart_order_id'];?>
<br>	
            <?php echo $_smarty_tpl->tpl_vars['order']->value['order_date'];?>
<br></strong>
            <div class="order_status order_status_<?php echo $_smarty_tpl->tpl_vars['order']->value['status'];?>
 marg-top"><?php echo $_smarty_tpl->tpl_vars['order']->value['order_status'];?>
</div>
            <h1><?php echo $_smarty_tpl->tpl_vars['order']->value['total'];?>
</h1>
         </div>
      </div>
      <div class="row">
         <div class="large-12 columns">
            <table class="expand">
               <thead>
                  <tr>
                     <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['product'];?>
</th>
                     <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['price_each'];?>
</th>
                     <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['quantity'];?>
</th>
                     <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['price'];?>
</th>
                  </tr>
               </thead>
               <tbody>
                  <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['order']->value['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
                  <tr>
                     <td>
                        <?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
<?php if (!empty($_smarty_tpl->tpl_vars['item']->value['product_code'])) {?> (<?php echo $_smarty_tpl->tpl_vars['item']->value['product_code'];?>
)<?php }?>
                        <?php if (!empty($_smarty_tpl->tpl_vars['item']->value['options'])) {?>
                        <p><?php  $_smarty_tpl->tpl_vars['option'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['option']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['item']->value['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['option']->key => $_smarty_tpl->tpl_vars['option']->value) {
$_smarty_tpl->tpl_vars['option']->_loop = true;
?><?php echo $_smarty_tpl->tpl_vars['option']->value;?>
<br><?php } ?></p>
                        <?php }?>
                     </td>
                     <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['item']->value['price'];?>
</td>
                     <td class="text-center"><?php echo $_smarty_tpl->tpl_vars['item']->value['quantity'];?>
</td>
                     <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['item']->value['price_total'];?>
</td>
                  </tr>
               </tbody>
               <?php } ?>
               <tfoot>
                  <tr>
                     <td colspan="2"></td>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['total_sub'];?>
</td>
                     <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['order']->value['subtotal'];?>
</td>
                  </tr>
                  <tr>
                     <td colspan="2"></td>
                     <td><?php if (!empty($_smarty_tpl->tpl_vars['order']->value['ship_method'])) {?><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['order']->value['ship_method'],'_',' ');?>
<?php if (!empty($_smarty_tpl->tpl_vars['order']->value['ship_product'])) {?> (<?php echo $_smarty_tpl->tpl_vars['order']->value['ship_product'];?>
)<?php }?><?php } else { ?><?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['shipping'];?>
<?php }?></td>
                     <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['order']->value['shipping'];?>
</td>
                  </tr>
                  <?php  $_smarty_tpl->tpl_vars['tax'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['TAXES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tax']->key => $_smarty_tpl->tpl_vars['tax']->value) {
$_smarty_tpl->tpl_vars['tax']->_loop = true;
?>
                  <tr>
                     <td colspan="2"></td>
                     <td><?php echo $_smarty_tpl->tpl_vars['tax']->value['name'];?>
</td>
                     <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['tax']->value['value'];?>
</td>
                  </tr>
                  <?php } ?>
                  <?php if ($_smarty_tpl->tpl_vars['DISCOUNT']->value) {?>
                  <tr>
                     <td colspan="2"></td>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['total_discount'];?>
</td>
                     <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['order']->value['discount'];?>
</td>
                  </tr>
                  <?php }?>
                  <tr>
                     <td colspan="2"></td>
                     <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['total_grand'];?>
</td>
                     <td class="text-right"><?php echo $_smarty_tpl->tpl_vars['order']->value['total'];?>
</td>
                  </tr>
               </tfoot>
            </table>
         </div>
      </div>
      <?php if (!empty($_smarty_tpl->tpl_vars['order']->value['customer_comments'])) {?>
      <div class="row">
         <div class="small-12 columns"><h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['comments'];?>
</h3> &quot;<?php echo $_smarty_tpl->tpl_vars['order']->value['customer_comments'];?>
&quot;</div>
      </div>
      <?php }?>
      <div class="row text-center">
         <div class="small-12 columns"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['orders']['title_thanks'];?>
</div>
      </div>
      <footer>
         <div class="row">
            <div class="small-12 columns text-center">
               <hr>
               <small><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['return_address'];?>
: <?php echo $_smarty_tpl->tpl_vars['STORE']->value['address'];?>
, <?php echo $_smarty_tpl->tpl_vars['STORE']->value['county'];?>
, <?php echo $_smarty_tpl->tpl_vars['STORE']->value['postcode'];?>
 <?php echo $_smarty_tpl->tpl_vars['STORE']->value['country'];?>
</small>
            </div>
         </div>
      </footer>
      <?php } ?>
   </body>
</html><?php }} ?>
