<div class="apollo_info"> <?php $cart = $this->cart; $count = 0; foreach ($cart->getAll() as $cartItem) { $item = $cartItem->getItem(); echo EnmasseHelper::displayCurrency($item->price * $cartItem->getCount()); } ?> </div> </div> </div> <div class="bottom"> <div class="text"><?php echo JText::_('SHOP_CARD_TOTAL_ITEM'); ?> : <?php echo $cart->getTotalItem(); ?> </div> <div class="text"><?php echo JText::_('SHOP_CARD_TOTAL_PRICE'); ?> : <?php echo EnmasseHelper::displayCurrency($cart->getTotalPrice()); ?> </div> </div> </div>
<dt><?php echo JText::_('DEAL_DISCOUNT'); ?> </dt> <dd><?php echo empty($deal->origin_price) ? 100 : 100 - intval($deal->price / $deal->origin_price * 100); ?> %</dd> </dl> <dl class="save"> <dt><?php echo JText::_('DEAL_SAVE'); ?> </dt> <dd><?php echo EnmasseHelper::displayCurrency($deal->origin_price - $deal->price); ?> </dd> </dl> </div> <div id="for_a_friend"> <a class="icon_gift" href="index.php?option=com_enmasse&controller=shopping&task=addToCart&dealId=<?php echo $deal->id . "&buy4friend=1&slug_name=" . $deal->slug_name; ?> "><?php echo JText::_('BUY_IT_FOR_FRIEND'); ?> </a> </div> <div id="remaining_time"> <div class="countdown">
$text = JText::_('BUY_DEAL_SOLD_OUT'); } else { $text = JText::_('Buy'); $link = 'index.php?option=com_enmasse&controller=shopping&task=addToCart&dealId=' . $oDeal->id . '&slug_name=' . $oDeal->slug_name; } ?> <div class="row"> <h4 class="comment_deal_name"><?php echo $oDeal->name; ?> </h4> </div> <div align="center" class="row "> <span style="float:left"> <?php echo EnmasseHelper::displayCurrency($oDeal->price); ?> </span> <?php if (!empty($link)) { ?> <a style="float:right" href="<?php echo empty($link) ? '#' : $link; ?> "><?php echo $text; ?> </a> <?php } else {
foreach ($cart->getAll() as $cartItem) { $item = $cartItem->getItem(); echo $item->name; } ?> </div> </div> <div class="bottom"> <div class="text"> <?php echo JTEXT::_('SHOP_CARD_TOTAL_ITEM') . ' : ' . $this->cart->getTotalItem(); ?> </div> <div class="text"> <?php echo JTEXT::_('SHOP_CARD_TOTAL_PRICE') . ' : ' . EnmasseHelper::displayCurrency($cartItem->getCount() * $item->price * $item->prepay_percent / 100 - $this->cart->getPoint()); ?> </div> </div> </div> <div class="paygty-desc-table"> <table id="instruction_table"> <thead> <tr id="instruction_table_header"> <td colspan="2" align="center"><?php echo JTEXT::_('CASH_PAY_INFO'); ?> </td> </tr> </thead> <tr>
<td valign="top"><?php echo JText::_('ORDER_PAID_AMOUNT'); ?> </td> <td><?php echo EnmasseHelper::displayCurrency($this->oOrder->paid_amount); ?> </td> </tr> <tr> <td valign="top"><?php echo JText::_('ORDER_REMAIN_AMOUNT'); ?> </td> <td><?php echo EnmasseHelper::displayCurrency($this->oOrder->total_buyer_paid - $this->oOrder->paid_amount); ?> </td> </tr> <tr> <td valign="top"><?php echo JText::_('ORDER_DELIVERY'); ?> </td> <td><?php echo EnmasseHelper::displayJson($this->oOrder->delivery_detail); ?> </td> </tr> <tr> <td valign="top"><?php
</strong> : <?php echo EnmasseHelper::displayCurrency($orderRow->total_buyer_paid); ?> <br /> <strong><?php echo JText::_('ORDER_PAID_AMOUNT'); ?> </strong> : <?php echo EnmasseHelper::displayCurrency($orderRow->paid_amount); ?> <br /> <strong><?php echo JText::_('ORDER_REMAIN_AMOUNT'); ?> </strong> : <?php echo EnmasseHelper::displayCurrency($orderRow->total_buyer_paid - $orderRow->paid_amount); ?> <br /> <strong><?php echo JText::_('ORDER_DATE'); ?> </strong> : <?php echo JHTML::_('date', $orderRow->created_at, JText::_('DATE_FORMAT_LC1')); ?> <br /> <strong><?php echo JText::_('ORDER_DELIVERY'); ?> </strong> : <?php echo EnmasseHelper::displayJson($orderRow->delivery_detail); ?>
?> </td> <td><?php echo $arReceiver->email; ?> </td> <td><?php echo $row->order_description; ?> </td> <td><?php echo DatetimeWrapper::getDisplayDatetime($row->created_at); ?> </td> <td><?php echo EnmasseHelper::displayCurrency($row->unit_price); ?> </td> <td><?php echo '# ' . $row->coupon_serial; ?> </td> <td><?php echo JText::_('COUPON_' . strtoupper($row->coupon_status)); ?> </td> <td><?php echo JText::_('MERCHANT_SETTLEMENT_' . strtoupper($row->coupon_settlement_status)); ?> </td>
<div class="mod_SummarizedCart_information"><?php echo $cart->getTotalItem(); ?> </div> <input type="button" class="button" value="<?php echo JText::_('VIEW_CART_BUTTON'); ?> " onclick="window.location.href='<?php echo JRoute::_('index.php?option=com_enmasse&controller=shopping&task=checkout'); ?> '"></input> </div> <div class="right_cl"> <div class="mod_SummarizedCart_title"><?php echo JTEXT::_('CART_TOTAL_PRICE'); ?> </div> <div class="mod_SummarizedCart_information"><?php echo EnmasseHelper::displayCurrency($cart->getAmountToPay()); ?> </div> <input type="button" class="button" value="<?php echo JText::_('CHECK_OUT_BUTTON'); ?> " onclick="window.location.href='<?php echo JRoute::_('index.php?option=com_enmasse&controller=shopping&task=checkout'); ?> '"></input> </div> </div> </div>
alert("Invalid point"); return false; } return true; } </script> <h1><?php echo JText::_('REFUND_FOR') . " "; ?> "<?php echo $dealName; ?> ":</h1> <form action="index.php" name="refundForm" method="post" onsubmit="return validateForm()"> <p><?php echo JText::_('YOU_PAID') . " \"" . $dealName . "\" " . JText::_('WITH') . " " . EnmasseHelper::displayCurrency($totalPrice - $pointPaid) . " " . JText::_('AND') . " " . $pointPaid . " " . JText::_('POINTS') . "."; ?> " </p> <?php if ($maxPoint == $pointPaid) { ?> <p><?php echo JText::_('REFUND_ALL_POINT_MESSAGE'); ?> <br/> <input type="hidden" name="point" value="<?php echo $pointPaid; ?> "/><input type="submit" name="submit" value="<?php echo JText::_('REFUND');
</strong>: <?php echo $orderRow->orderItem->description; ?> <br /> <strong> <?php echo JText::_('ORDER_QTY'); ?> </strong>: <?php echo $orderRow->orderItem->qty; ?> <br /> <strong> <?php echo JText::_('ORDER_TOTAL'); ?> </strong>: <?php echo EnmasseHelper::displayCurrency($orderRow->total_buyer_paid); ?> <br /> <strong> <?php echo JText::_('ORDER_DELIVERY'); ?> </strong>: <?php $deliveryObj = json_decode($orderRow->delivery_detail); echo $deliveryObj->name . " (" . $deliveryObj->email . ")"; ?> <br /> <strong> <?php echo JText::_('ORDER_STATUS'); ?> </strong>: <?php echo JTEXT::_('ORDER_' . strtoupper($orderRow->status));
</h4> <label class="checkout-label"><?php echo JText::_('SHOP_CARD_PARTIAL_PAYMENT'); ?> :</label><span class="currency"><?php echo EnmasseHelper::displayCurrency($this->cart->getTotalItem() * $item_price * $item->prepay_percent / 100); ?> </span> <br /> <label class="checkout-label"><?php echo JText::_('SHOP_CARD_FINAL_PAYMENT'); ?> :</label><span class="currency"><?php echo EnmasseHelper::displayCurrency($this->cart->getTotalItem() * $item_price * (100 - $item->prepay_percent) / 100); ?> </span> <br /> <label class="checkout-label"><?php echo JText::_('SHOP_CARD_TOTAL'); ?> :</label><span class="currency"><?php echo EnmasseHelper::displayCurrency($this->cart->getTotalItem() * $item_price); ?> </span> <br /> </div> </div> <?php } ?> </div> </div>