paginator->getPages()->totalItemCount) { ?> paginator as $item) { ?>
paginator->getPages()->totalItemCount; ?> _('custom fields found.'); ?> paginator->getPages()->totalItemCount) { ?> _('Showing results'); ?> paginator->getPages()->firstItemNumber; ?> _('to'); ?> paginator->getPages()->lastItemNumber; ?>
_('Custom Field Preview'); ?> _('Order ID'); ?> _('Active'); ?> _('Options'); ?>
partial('partials/form-element.phtml', array( 'element' => $this->formElement($item, 'custom_field_' . $item['id']), )); ?>
_('Product Attribute'); ?> _('Required'); ?> _('Searchable'); ?>
_('Categories:'); ?> getTable()->select() ->where('id IN (?)', \Ppb\Utility::unserialize($item['category_ids'])); $multiOptions = $categoriesService->getMultiOptions($select); echo implode('; ', $multiOptions); } else { echo $this->_('All Categories'); } ?>
formElement('text', 'order_id') ->setAttributes(array('class' => 'form-control')) ->setMultiple() ->setValue($item['order_id']) ->render(); ?> formElement('hidden', 'id') ->setMultiple() ->setValue($item['id']) ->render(); ?> formElement('checkbox', 'active') ->setValue($item['active']) ->setMultiOptions(array(1 => null)) ->setBrackets('[' . $checkboxCounter . ']') ->setMultiple() ->render(); ?>
formElement('submit', 'submit', $this->_('Update')) ->setAttributes(array('class' => 'btn btn-primary btn-lg')) ->render(); ?>
pagination($this->paginator, 'sliding', 'partials/pagination.phtml'); ?>