Exemplo n.º 1
0
 /**
  * {@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')]));
 }
Exemplo n.º 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']])]));
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('order_status.id.label'), 'appearance' => new Appearance(['width' => 90, 'visible' => false]), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('order_status.name.label'), 'appearance' => new Appearance(['width' => 340])]));
     $collection->add(new Column(['id' => 'groupName', 'caption' => $this->trans('order_status.group.label'), '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('order_status.created_at.label'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
 }
Exemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('layout_box.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('layout_box.name.label')]));
     $collection->add(new Column(['id' => 'identifier', 'caption' => $this->trans('layout_box.identifier.label')]));
     $collection->add(new Column(['id' => 'boxType', 'caption' => $this->trans('layout_box.type.label')]));
 }
Exemplo n.º 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])]));
 }
Exemplo n.º 6
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('product.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('product.label.name'), 'appearance' => new Appearance(['width' => 200])]));
     $collection->add(new Column(['id' => 'sku', 'editable' => true, 'caption' => $this->trans('product.label.sku')]));
     $collection->add(new Column(['id' => 'category', 'caption' => $this->trans('product.label.categories')]));
     $collection->add(new Column(['id' => 'grossAmount', 'caption' => $this->trans('product.label.gross_amount'), 'editable' => true, 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'stock', 'caption' => $this->trans('product.label.stock'), 'editable' => true, 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
     $collection->add(new Column(['id' => 'weight', 'caption' => $this->trans('product.label.weight'), 'editable' => true, 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN])]));
 }
Exemplo n.º 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' => '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('admin.client.label.last_name'), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_LEFT])]));
     $collection->add(new Column(['id' => 'email', 'caption' => $this->trans('admin.client.label.email'), 'appearance' => new Appearance(['width' => 60, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'phone', 'caption' => $this->trans('admin.client.label.phone'), 'appearance' => new Appearance(['width' => 80, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'groupName', 'caption' => $this->trans('admin.client.label.client_group'), 'filter' => new Filter(['type' => Filter::FILTER_SELECT, 'options' => $this->get('client_group.collection')->getSelect()]), 'appearance' => new Appearance(['width' => 140, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'createdAt', 'caption' => $this->trans('admin.client.label.created_at'), 'filter' => new Filter(['type' => Filter::FILTER_BETWEEN]), 'appearance' => new Appearance(['width' => 40, 'align' => Appearance::ALIGN_CENTER])]));
 }
Exemplo n.º 8
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' => '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')]));
 }
Exemplo n.º 9
0
 /**
  * {@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' => '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])]));
 }
Exemplo n.º 10
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')]));
 }
Exemplo n.º 11
0
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('media.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('media.preview'), 'appearance' => new Appearance(['width' => 30, 'align' => Appearance::ALIGN_CENTER])]));
     $collection->add(new Column(['id' => 'name', 'caption' => $this->trans('media.name')]));
     $collection->add(new Column(['id' => 'mime', 'caption' => $this->trans('media.mime')]));
     $collection->add(new Column(['id' => 'extension', 'caption' => $this->trans('media.extension')]));
     $collection->add(new Column(['id' => 'size', 'caption' => $this->trans('media.size')]));
 }
Exemplo n.º 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_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')]));
     $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])]));
 }
 /**
  * {@inheritdoc}
  */
 public function configureColumns(ColumnCollection $collection)
 {
     $collection->add(new Column(['id' => 'id', 'caption' => $this->trans('order_status_group.id.label'), '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('order_status_group.name.label')]));
 }
Exemplo n.º 14
0
 /**
  * {@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])]));
 }
Exemplo n.º 15
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')]));
 }
Exemplo n.º 16
0
 /**
  * {@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])]));
 }
Exemplo n.º 17
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'), '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])]));
 }
Exemplo n.º 18
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' => 'processor', 'caption' => $this->trans('payment_method.label.processor')]));
 }