echo PayplansHelperFormat::planTime(PayplansHelperPlan::convertIntoTimeArray($pInstance->getRawExpiration())); ?> </option> <?php foreach ($time_price['price'] as $key => $value) { ?> <option value="<?php echo $value . '_' . $time_price['time'][$key]; ?> "> <?php $amount = $value; echo $this->_render('partial_amount', compact('currency', 'amount'), 'default') . ' '; echo $pInstance->isRecurring() !== false ? XiText::_('COM_PAYPLANS_PLAN_PRICE_TIME_SEPERATOR') : XiText::_('COM_PAYPLANS_PLAN_PRICE_TIME_SEPERATOR_FOR'); echo PayplansHelperFormat::planTime(PayplansHelperPlan::convertIntoTimeArray($time_price['time'][$key])); ?> </option> <?php } ?> </select> </div> </div> <script> (function($){ $(document).ready(function (){ var plan_id = <?php echo $plan->plan_id; ?> ;
<td class="col-sm-1"><input type="radio" name="pp-pricing-select-<?php echo $plan_id; ?> " slab="<?php echo $slab_id; ?> " childslab="<?php echo $i; ?> " units="<?php echo $units; ?> "></td> <td class="col-sm-3 text-left"><?php echo PayplansHelperFormat::planTime(PayplansHelperPlan::convertIntoTimeArray($times[$i])); ?> </td> <td class="col-sm-2 text-left"> <?php $amount = $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 $actualprices[$i] = isset($actualprices[$i]) ? $actualprices[$i] : 0; $actual = $amount = $units * $actualprices[$i];