get('db'); $query = $db->getQuery(true) ->select('COUNT(*)') ->from('#__osmembership_plugins') ->where('published = 1') ->where('name NOT LIKE "os_offline%"'); $db->setQuery($query); $hasOnlinePaymentPlugin = $db->loadResult() > 0; $makePaymentItemid = OSMembershipHelperRoute::getViewRoute('payment', $this->Itemid); $cols = 5; $bootstrapHelper = OSMembershipHelperBootstrap::getInstance(); $centerClass = $bootstrapHelper->getClassMapping('center'); $hiddenPhoneClass = $bootstrapHelper->getClassMapping('hidden-phone'); ?> config->activate_invoice_feature) { $cols++ ; ?> items) ; $i < $n ; $i++) { $row = $this->items[$i]; $k = 1 - $k; $link = Route::_('index.php?option=com_osmembership&view=subscription&id=' . $row->id . '&Itemid=' . $this->Itemid); $symbol = $row->currency_symbol ?: $row->currency; ?> config->activate_invoice_feature) { ?> total > $pagination->limit)) { ?>
plan_title; ?> created_date, $this->config->date_format); ?> from_date, $this->config->date_format); ?> lifetime_membership || $row->to_date == '2099-12-31 23:59:59') { echo Text::_('OSM_LIFETIME'); } else { echo HTMLHelper::_('date', $row->to_date, $this->config->date_format); } ?> gross_amount, $this->config, $symbol)?> published) { case 0 : echo Text::_('OSM_PENDING'); if ($this->config->enable_subscription_payment && $row->gross_amount > 0 && $hasOnlinePaymentPlugin) { ?>
invoice_number) { ?> config); ?>