# author iJoomla # copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://www.ijoomla.com # Technical Support: Forum - http://www.ijoomla.com/forum/index/ -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die('Restricted access'); $order = $this->order["0"]; $promocodeid = $order["promocodeid"]; $discount_details = array(); $config = guruAdminModelguruOrder::getConfig(); $currency = $config->currency; $currencypos = $config->currencypos; $character = "GURU_CURRENCY_" . $currency; $subplans = guruAdminModelguruOrder::getPlanExpiration(); $total_final = ""; $totall_discount = 0; if ($currencypos == 0) { $discount = JText::_($character) . " 0.00"; } else { $discount = "0.00 " . JText::_($character); } $price = 0; $courses_list_promo = array("0"); if ($promocodeid != "0") { $model_order = new guruAdminModelguruOrder(); $courses_list_promo = $model_order->getCoursesPromo($promocodeid); } $courses_array = explode("|", $courses_list_promo["0"]); $courses_array = array_values(array_filter($courses_array));