Beispiel #1
0
            ?>
											<td class="productQuantity center" >
												<?php 
            echo $product->product_quantity_refunded;
            if (count($product->refund_history)) {
                ?>
												<span class="tooltip">
													<span class="tooltip_label tooltip_button">+</span>
													<span class="tooltip_content">
														<span class="title"><?php 
                echo ucfirst(JText::_('COM_JEPROSHOP_REFOUND_HISTORY_LABEL'));
                ?>
</span>
														<?php 
                foreach ($product->refund_history as $refund) {
                    echo JeproshopTools::dateFormat($refund->date_add) . ' - ' . JeproshopTools::displayPrice($refund->amount_tax_incl) . '<br />';
                }
                ?>
													</span>
												</span>
												<?php 
            }
            ?>
											</td>
											<?php 
        }
        if ($this->order->hasBeenDelivered() || $this->order->hasProductReturned()) {
            ?>
											<td class="product_quantity center">
												<?php 
            echo $product->product_quantity_return;
Beispiel #2
0
echo JText::_('COM_JEPROSHOP_ORDER_INFORMATION_LABEL');
?>
</div>
                    <div class="panel-content well" >
                        <?php 
if (isset($this->order->order_id)) {
    ?>
                        <h2><a href="<?php 
    echo JRoute::_('index.php?option=com_jeproshop&view=order&task=view&order_id=' . $this->order->order_id . '&' . JeproshopTools::getOrderFormToken() . '=1');
    ?>
" > <?php 
    echo JText::_('COM_JEPROSHOP_ORDER_LABEL') . ' N° ' . $this->order->order_id;
    ?>
</a></h2>
                        <?php 
    echo JText::_('COM_JEPROSHOP_MADE_ON_LABEL') . ' ' . JeproshopTools::dateFormat($this->order->date_add);
} else {
    ?>
                            <h2><?php 
    echo JText::_('COM_JEPROSHOP_NO_ORDER_WAS_CREATED_FROM_THIS_CART_LABEL');
    ?>
</h2>
                            <?php 
    if ($this->customer->customer_id) {
        ?>
                                <a class="btn btn-default" href="<?php 
        echo JRoute::_('index.php?option=com_jeproshop&view=order&task=create&cart_id=' . (int) $this->cart->cart_id . '&' . JeproshopTools::getOrderFormToken() . '=1');
        ?>
" >
                                    <i class="icon-shopping-cart"></i> <?php 
        echo JText::_('COM_JEPROSHOP_CREATE_A_NEW_ORDER_FROM_THIS_CART_LABEL');
Beispiel #3
0
                <?php 
    }
    ?>
                <div id="jform_availability_date" <?php 
    if ($this->product->quantity > 0 || !$this->product->available_for_order || $this->catalog_mode || !isset($this->product->available_date) || $this->product->available_date < date('%Y-%m-%d')) {
        ?>
 style="display: none;"<?php 
    }
    ?>
 class="control-group" >
                    <div id="jform_availability_date_label" class="control-label" ><label><?php 
    echo JText::_('COM_JEPROSHOP_AVAILABILITY_DATE_LABEL');
    ?>
</label></div>
                    <div id="jform_availability_date_value" class="controls" ><?php 
    echo JeproshopTools::dateFormat($this->product->available_date, false);
    ?>
</div>
                </div>
                <!-- Out of stock hook -->
                <div id="jform_out_of_stock_fields" <?php 
    if ($this->product->quantity > 0) {
        ?>
 style="display: none;" <?php 
    }
    ?>
 >{$HOOK_PRODUCT_OOS} </div>
                <?php 
    if (isset($this->extra_right) && $this->extra_right) {
        echo $this->extra_right;
    }
Beispiel #4
0
    echo ucfirst(JText::_('COM_JEPROSHOP_NAME_LABEL'));
    ?>
</span></th>
					<th><span class="title_box"><?php 
    echo ucfirst(JText::_('COM_JEPROSHOP_QUANTITY_LABEL'));
    ?>
</span></th>
				</tr>
			</thead>
			<tbody>
				<?php 
    foreach ($this->products as $key => $product) {
        ?>
				<tr onclick="document.location = '?tab=AdminOrders&amp;id_order={$product['id_order']|intval}&amp;vieworder&amp;token={getAdminToken tab='AdminOrders'}'">
					<td><?php 
        JeproshopTools::dateFormat($product->date_add, false);
        ?>
</td>
					<td>
						<a href="?tab=AdminOrders&amp;id_order={$product['id_order']}&amp;vieworder&amp;token={getAdminToken tab='AdminOrders'}">
							<?php 
        echo $product->product_name;
        ?>
						</a>
					</td>
					<td><?php 
        echo $product->product_quantity;
        ?>
</td>
				</tr>
				<?php