$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)); ?> <form id="adminForm" method="post" name="adminForm" action="index.php"> <div id="contentpane"> <table cellspacing="0" cellpadding="3" bordercolor="#cccccc" border="1" width="100%" style="border-collapse: collapse;" class="adminlist"> <caption class="componentheading"><?php echo JText::_("GURU_MYORDERS_ORDER_NUMBER"); echo $order["id"]; ?> : <?php echo $order["status"]; ?>
$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(); if ($currencypos == 0) { $discount = JText::_($character) . " 0.00"; } else { $discount = "0.00 " . JText::_($character); } $price = 0; if ($promocodeid != "0") { $courses_list_promo = guruAdminModelguruOrder::getCoursesPromo($promocodeid); } $courses_array = explode("|", $courses_list_promo["0"]); $courses_array = array_values(array_filter($courses_array)); ?> <form id="adminForm" method="post" name="adminForm" action="index.php"> <div id="contentpane"> <table cellspacing="0" cellpadding="3" bordercolor="#cccccc" border="1" width="100%" style="border-collapse: collapse;" class="adminlist"> <caption class="componentheading"><?php echo JText::_("GURU_MYORDERS_ORDER_NUMBER"); echo $order["id"]; ?> : <?php echo $order["status"]; ?>