echo XiText::_('COM_PAYPLANS_DASHBOARD_ACTION_LOGOUT'); ?> </a> </div> </div> <?php } ?> <?php if (empty($subscription_records)) { ?> <?php $message = XiText::_('COM_PAYPLANS_DASHBOARD_ORDER_WIDGET_USER_NOT_LOGIN'); if (XiFactory::getUser()->id) { $message = XiText::_('COM_PAYPLANS_DASHBOARD_ORDER_WIDGET_NO_SUBSCRIPTIONS'); } ?> <div class="well text-center"> <h3><?php echo $message; ?> </h3> <p> <a href="<?php echo XiRoute::_('index.php?option=com_payplans&view=plan&task=subscribe'); ?> " class="btn btn-default btn-primary"> <?php echo XiText::_('COM_PAYPLANS_DASHBOARD_ORDER_WIDGET_ACTION_SUBSCRIBE_PLAN');
</td> <td class="text-right pp-payment-header-price payable first-amount"> <?php $amount = $total; ?> <?php echo $this->loadTemplate('partial_amount', compact('currency', 'amount')); ?> </td> </tr> </table> <div class="pp-gap-top10 pp-gap-bottom05"> <?php if (XiFactory::getConfig()->enableDiscount) { ?> <?php echo $this->loadTemplate('discount'); ?> <?php } ?> <?php $position = 'payplans_order_confirm_payment'; ?> <?php echo $this->loadTemplate('partial_position', compact('plugin_result', 'position')); ?> </div>
<?php /** * @copyright Copyright (C) 2009 - 2015 Ready Bytes Software Labs Pvt. Ltd. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @package PayPlans * @subpackage Frontend * @contact support+payplans@readybytes.in * website http://www.readybytes.net * Technical Support : Forum - http://www.readybytes.net/payplans/forum.html */ if (defined('_JEXEC') === false) { die; } ?> <?php //common css //PayplansHtml::stylesheet(PAYPLANS_PATH_MEDIA.'/css/payplans.css'); if (XiFactory::getConfig()->rtl_support) { PayplansHtml::stylesheet(PAYPLANS_PATH_MEDIA . '/css/rtl.css'); } // template specific css PayplansHtml::stylesheet(dirname(__FILE__) . '/_media/css/site.css'); PayplansHtml::script(dirname(__FILE__) . '/_media/js/xi.core.js'); PayplansHtml::script(dirname(__FILE__) . '/_media/js/site.js');
</strong> </span> </td> </tr> </tbody> </table> <!-- Notes Section --> <?php if (!empty(XiFactory::getConfig()->note)) { ?> <hr> <div class="alert alert-warning"> <p><?php echo XiFactory::getConfig()->note; ?> </p> </div> <?php } ?> </div> <div class='clearfix'> <?php echo $this->loadTemplate('invoice_action'); ?> </div>
<?php $actualprices[$i] = isset($actualprices[$i]) ? $actualprices[$i] : 0; $actual = $amount = $units * $actualprices[$i]; $currency = PayplansHelperFormat::currency(XiFactory::getCurrency(XiFactory::getConfig()->currency, array(), 'symbol')); echo $this->_render('partial_amount', compact('currency', 'amount'), 'default'); ?> </td> <td class="col-sm-2 text-left"> <?php $discounted = $amount = $units * $prices[$i]; $currency = PayplansHelperFormat::currency(XiFactory::getCurrency(XiFactory::getConfig()->currency, array(), 'symbol')); echo $this->_render('partial_amount', compact('currency', 'amount'), 'default'); ?> </td> <td class="col-sm-2 text-left"> <?php $amount = $actual - $discounted; $currency = PayplansHelperFormat::currency(XiFactory::getCurrency(XiFactory::getConfig()->currency, array(), 'symbol')); echo $this->_render('partial_amount', compact('currency', 'amount'), 'default'); ?> </td> </tr> <?php } ?> </table> </div>
<?php echo XiText::_('COM_PAYPLANS_UPGRADES_DETAILS_NEW_REGULAR_PAYMENT'); ?> </div> <div class="col-sm-6"> <?php $amount = $new_invoice->getPrice(); echo $this->_render('partial_amount', compact('currency', 'amount'), 'default'); ?> </div> </div> </div> </div> <?php if (XiFactory::getApplication()->isAdmin()) { ?> <div class="clearfix"> <script type="text/javascript"> payplans.jQuery(document).ready(function($){ payplans.apps.upgrade.hideInfoButtons(); }); </script> <div> <div class="upgrade-info" id="upgrade-info-free"> <?php echo XiText::_('COM_PAYPLANS_UPGRADES_FROM_BACKEND_FREE_UPGARDE_DETAILS'); ?> </div> <div class="upgrade-info" id="upgrade-info-offline"> <?php