/**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name')]));
     $collection->add(new Column(['id' => 'identifier', 'caption' => $this->trans('layout_box.label.identifier')]));
     $collection->add(new Column(['id' => 'boxType', 'caption' => $this->trans('layout_box.label.type')]));
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name')]));
     $collection->add(new Column(['id' => 'hierarchy', 'caption' => $this->trans('common.label.hierarchy'), 'appearance' => new Appearance(['width' => 90]), 'editable' => true]));
     $collection->add(new Column(['id' => 'publish', 'caption' => $this->trans('common.label.publish'), 'appearance' => new Appearance(['width' => 90]), 'selectable' => true, 'filter' => new Filter(['type' => Filter::FILTER_SELECT, 'options' => [0 => 'No', 1 => 'Yes']])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name'), 'appearance' => new Appearance(['width' => 340])]));
     $collection->add(new Column(['id' => 'groupName', 'caption' => $this->trans('common.label.group'), 'filter' => new Filter(['type' => Filter::FILTER_SELECT, 'options' => $this->getOrderStatusGroups()]), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'createdAt', 'caption' => $this->trans('common.label.created_at'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('dictionary.label.id'), 'sorting' => new Sorting(['default_order' => ColumnInterface::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'identifier', 'caption' => $this->trans('dictionary.label.identifier')]));
     $collection->add(new Column(['id' => 'translation', 'caption' => $this->trans('dictionary.label.translation')]));
     $collection->add(new Column(['id' => 'locale', 'caption' => $this->trans('dictionary.label.locale')]));
 }
Beispiel #5
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('package.id.label'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('package.label.name'), 'appearance' => new Appearance(['width' => 190])]));
     $collection->add(new Column(['id' => 'fullName', 'caption' => $this->trans('package.label.full_name'), 'appearance' => new Appearance(['width' => 190])]));
     $collection->add(new Column(['id' => 'vendor', 'caption' => $this->trans('package.label.vendor'), 'appearance' => new Appearance(['width' => 90, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'localVersion', 'caption' => $this->trans('package.label.local_version'), 'appearance' => new Appearance(['width' => 90])]));
     $collection->add(new Column(['id' => 'remoteVersion', 'caption' => $this->trans('package.label.remote_version'), 'appearance' => new Appearance(['width' => 90, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'createdAt', 'caption' => $this->trans('package.label.created_at'), 'appearance' => new Appearance(['width' => 90, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'updatedAt', 'caption' => $this->trans('package.label.updated_at'), 'appearance' => new Appearance(['width' => 90, 'align' => Appearance::ALIGN_CENTER])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('order.label.id'), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'client', 'caption' => $this->trans('order.label.client'), 'filter' => new Filter(['type' => Filter::FILTER_INPUT]), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_LEFT])]));
     $collection->add(new Column(['id' => 'productTotal', 'caption' => $this->trans('order.label.product_total'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'shippingTotal', 'caption' => $this->trans('order.label.shipping_total'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'orderTotal', 'caption' => $this->trans('order.label.order_total'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'currency', 'caption' => $this->trans('order.label.currency'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'visible' => false, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'currentStatus', 'caption' => $this->trans('order.label.current_status'), 'filter' => new Filter(['type' => Filter::FILTER_INPUT]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'createdAt', 'caption' => $this->trans('order.label.created_at'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
 }
Beispiel #7
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name'), 'appearance' => new Appearance(['width' => 200])]));
     $collection->add(new Column(['id' => 'sku', 'editable' => true, 'caption' => $this->trans('common.label.sku')]));
     $collection->add(new Column(['id' => 'category', 'caption' => $this->trans('common.label.categories')]));
     $collection->add(new Column(['id' => 'grossAmount', 'caption' => $this->trans('common.label.gross_price'), 'editable' => true, 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'stock', 'caption' => $this->trans('common.label.stock'), 'editable' => true, 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'weight', 'caption' => $this->trans('common.label.dimension.weight'), 'editable' => true, 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name')]));
     $collection->add(new Column(['id' => 'code', 'caption' => $this->trans('common.label.code')]));
     $collection->add(new Column(['id' => 'discount', 'caption' => $this->trans('common.label.discount')]));
     $collection->add(new Column(['id' => 'createdAt', 'caption' => $this->trans('common.label.created_at')]));
     $collection->add(new Column(['id' => 'validFrom', 'caption' => $this->trans('common.label.valid_from')]));
     $collection->add(new Column(['id' => 'validTo', 'caption' => $this->trans('common.label.valid_to')]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('review.label.id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'nick', 'caption' => $this->trans('review.label.nick'), 'appearance' => new Appearance(['width' => 70, 'align' => Appearance::ALIGN_CENTER]), 'filter' => new Filter(['type' => Filter::FILTER_INPUT])]));
     $collection->add(new Column(['id' => 'createdAt', 'caption' => $this->trans('review.label.created_at'), 'appearance' => new Appearance(['width' => 70, 'align' => Appearance::ALIGN_CENTER]), 'filter' => new Filter(['type' => Filter::FILTER_INPUT])]));
     $collection->add(new Column(['id' => 'product', 'caption' => $this->trans('review.label.product'), 'appearance' => new Appearance(['width' => 70]), 'filter' => new Filter(['type' => Filter::FILTER_INPUT])]));
     $collection->add(new Column(['id' => 'rating', 'caption' => $this->trans('review.label.rating'), 'appearance' => new Appearance(['width' => 70, 'align' => Appearance::ALIGN_CENTER]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'rating_level', 'caption' => $this->trans('review.label.rating_level'), 'appearance' => new Appearance(['width' => 70, 'align' => Appearance::ALIGN_CENTER]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'rating_recommendation', 'caption' => $this->trans('review.label.rating_recommendation'), 'appearance' => new Appearance(['width' => 70, 'align' => Appearance::ALIGN_CENTER]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
 }
Beispiel #10
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'firstName', 'caption' => $this->trans('common.label.first_name'), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_LEFT])]));
     $collection->add(new Column(['id' => 'lastName', 'caption' => $this->trans('common.label.last_name'), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_LEFT])]));
     $collection->add(new Column(['id' => 'email', 'caption' => $this->trans('common.label.email'), 'appearance' => new Appearance(['width' => 60, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'phone', 'caption' => $this->trans('common.label.phone'), 'appearance' => new Appearance(['width' => 80, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'groupName', 'caption' => $this->trans('common.label.client_group'), 'filter' => new Filter(['type' => Filter::FILTER_SELECT, 'options' => $this->get('client_group.dataset.admin')->getResult('select')]), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'createdAt', 'caption' => $this->trans('common.label.created_at'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
 }
Beispiel #11
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_ASC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name'), 'appearance' => new Appearance(['width' => 100, 'align' => Appearance::ALIGN_LEFT])]));
     $collection->add(new Column(['id' => 'url', 'caption' => $this->trans('common.label.url'), 'appearance' => new Appearance(['width' => 180, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'company', 'caption' => $this->trans('shop.label.company'), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'theme', 'caption' => $this->trans('shop.label.theme'), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'country', 'caption' => $this->trans('shop.label.default_country'), 'appearance' => new Appearance(['width' => 60, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'currency', 'caption' => $this->trans('shop.label.default_currency'), 'appearance' => new Appearance(['width' => 60, 'align' => Appearance::ALIGN_CENTER])]));
 }
Beispiel #12
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'preview', 'caption' => $this->trans('common.label.preview'), 'appearance' => new Appearance(['width' => 30, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name')]));
     $collection->add(new Column(['id' => 'mime', 'caption' => $this->trans('common.label.mime')]));
     $collection->add(new Column(['id' => 'extension', 'caption' => $this->trans('common.label.extension')]));
     $collection->add(new Column(['id' => 'size', 'caption' => $this->trans('common.label.size')]));
 }
Beispiel #13
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('user.label.id'), 'sorting' => new Sorting(['default_order' => ColumnInterface::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'username', 'caption' => $this->trans('user.label.username')]));
     $collection->add(new Column(['id' => 'email', 'caption' => $this->trans('user.label.email')]));
     $collection->add(new Column(['id' => 'first_name', 'caption' => $this->trans('user.label.first_name')]));
     $collection->add(new Column(['id' => 'last_name', 'caption' => $this->trans('user.label.last_name')]));
     $collection->add(new Column(['id' => 'enabled', 'caption' => $this->trans('user.label.enabled')]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name'), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_LEFT])]));
     $collection->add(new Column(['id' => 'groups', 'caption' => $this->trans('attribute.label.groups'), 'filter' => new Filter(['type' => Filter::FILTER_INPUT]), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_CENTER])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name')]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => ColumnInterface::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name'), 'appearance' => new Appearance(['width' => 290])]));
     $collection->add(new Column(['id' => 'totalClients', 'caption' => $this->trans('client_group.label.total_clients'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 90])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('Id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('Name'), 'appearance' => new Appearance(['width' => 70]), 'filter' => new Filter(['type' => Filter::FILTER_INPUT])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => ColumnInterface::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'code', 'caption' => $this->trans('common.label.code')]));
     $collection->add(new Column(['id' => 'currency', 'caption' => $this->trans('common.label.currency'), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_CENTER])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('common.label.id'), 'sorting' => new Sorting(['default_order' => Sorting::SORT_DIR_DESC]), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('common.label.name'), 'appearance' => new Appearance(['width' => 90])]));
     $collection->add(new Column(['id' => 'calculator', 'caption' => $this->trans('shipping_method.label.calculator'), 'appearance' => new Appearance(['width' => 120, 'align' => Appearance::ALIGN_CENTER])]));
 }