Presenters
Table of Contents
Namespaces
- Traits
Classes
- ComplaintPresenter
- Complaint administration (`/admin/eshop/complaint`): grid (colored by `status.class`), edit
form (order picker prefill, items multiplier, multi-upload of attachments) and the `status`
action (detail plus status form).
- ComplaintSolutionPresenter
- Complaint solution administration (`/admin/eshop/complaint-solution`): a purely descriptive
multilingual dictionary (own solution, new goods, goods repair, refund), modeled on
`ProductTagPresenter` without `attributeClass`. In picker mode it also serves as a selection
modal (`ComplaintFormTrait`, chosen and preferred solution).
- ComplaintStatusPresenter
- Complaint status administration (`/admin/eshop/complaint-status`): a dictionary of nodes of a
simple state graph. Plain CRUD over flags and the e-mail template; it holds no transition
logic ({@see \App\UI\Api\Eshop\Models\Managers\ComplaintTransitionManager}).
- FeedPresenter
- XML feed administration (`/admin/eshop/feed`): a flat CRUD grid (only the `parameters`
sub-collection is a tree). The whole edit form lives in the {@see FeedEdit} component; the
presenter only resolves existence and hosts the grid.
- GiftPresenter
- Gift administration (`/admin/eshop/gift`): plain CRUD. A gift has two links to sets:
`productSet` (the gift is a sellable set, single picker) and `offerSets` (many-to-many: the
sets a gift is offered with, multi picker in the multiplier). Cart value thresholds are per
currency ({@see \App\UI\Admin\Eshop\Models\Entities\GiftPrice}).
- OrderPresenter
- Order administration: grid, detail (action `status`, links to the Invoicer invoice and Store
reservations/issues), edit form (`OrderFormTrait`, AJAX recalculation through
`api/eshop/order/build`) and the status form (`OrderStatusChangeFormTrait`).
- OrderStatusPresenter
- Order status administration (`/admin/eshop/order-status`): a dictionary of nodes of the state
graph. Plain CRUD over flags and the e-mail template; it holds no transition logic (that is
the Api `OrderTransitionManager`).
- ParameterGroupPresenter
- Eshop parameter group administration (`/admin/eshop/parameter-group`): a thin leaf over the
shared {@see AbstractParameterGroupPresenter}, which holds the whole behavior.
- ParameterPresenter
- Eshop parameter administration (`/admin/eshop/parameter`): a thin leaf over the shared
{@see AbstractParameterPresenter}, which holds the behavior (level-1 grid with a flat
drag-and-drop mode, add/edit form, options, display rules).
- PaymentMethodPresenter
- Payment method administration (`/admin/eshop/payment-method`): grid plus editing of the base
fields ({@see PaymentMethodFormTrait}).
- ProducerPresenter
- Producer (brand) administration (`/admin/eshop/producer`): a language-neutral dictionary (only
`name`). In picker mode it also serves as a selection modal (producer choice in a product).
- ProductCategoryPresenter
- Eshop category administration (`/admin/eshop/product-category`): tree list (drag-and-drop
sorting) plus add/edit. In picker mode it also serves as a selection modal (category choice
in a product).
- ProductImportPresenter
- Product import history (`/admin/eshop-import-produktu/*`): `show` (history DataGrid), `add`
(upload plus job settings, {@see ProductImportAddFormTrait}), `edit` (detail plus the dry-run
validation report, {@see ProductImportEditTrait} and {@see ProductImportSettingsFormTrait}),
`del` (built-in grid signal) and `status`/`statistics`.
- ProductPresenter
- Product card administration (`/admin/eshop/product`): a pivot form.
- ProductSetFeePresenter
- Fee administration (`/admin/eshop/product-set-fee`): named items with their own price
time series per currency ({@see ProductSetFeeFormTrait}).
- ProductSetFeeTypePresenter
- Fee type administration (`/admin/eshop/product-set-fee-type`): a purely multilingual
code list (name and description) without own untranslated fields. Used by
{@see ProductSetFeePresenter} (fee type select); in
picker mode it also serves as a selection modal.
- ProductSetLinkPresenter
- Product set link administration (`/admin/eshop/product-set-link`): a multilingual pair of
name (optional label) and value (required URL or value) with an optional type
({@see \App\UI\Admin\Eshop\Models\Entities\ProductSetLinkType}, a small flat code list,
so a plain select instead of a picker, see
{@see ProductSetLinkFormTrait}). Assignment to
a product set (M:N) belongs to the product pivot form; this presenter manages only the links.
- ProductSetLinkTypePresenter
- Code list of product set link types (`/admin/eshop/product-set-link-type`), such as manual
or video: a content-less pivot with a multilingual name and no description (see
{@see ProductSetLinkType}). Modeled on {@see \App\UI\Admin\Blog\Presenters\TagPresenter}
without the description. In the edit form of
{@see \App\UI\Admin\Eshop\Presenters\Traits\Forms\ProductSetLinkFormTrait} this manager is the
source of the link type select axes.
- ProductSetPresenter
- Product set administration (`/admin/eshop/product-set`): the main sellable entity of the
catalog. One variant is a plain product (`type_id = 1`), several variants form a set
(`type_id = 2`).
- ProductStatePresenter
- Product state administration (`/admin/eshop/product-state`): list, add and edit.
- ProductTagPresenter
- Product tag administration (`/admin/eshop/product-tag`): a multilingual code list (name and
description) with an untranslated `attributeClass` (badge CSS class, see
{@see ProductTagFormTrait}).
- ProductTypePresenter
- Product type administration (`/admin/eshop/product-type`): list, add and edit. A product
type is a purely multilingual entity (translated name and description). In picker mode it
also serves as a selection modal.
- SettingPresenter
- E-shop settings (`/admin/eshop/setting`): key-value rows in `cms_system_settings` (module
{@see self::MODULE} = 4) through the shared
{@see \App\UI\Admin\System\Models\Managers\SettingManager}. It is not a Doctrine CRUD entity
but a fixed set of fields (catalog and order switches, invoicing priority).
- ShipperPresenter
- Shipper administration (`/admin/eshop/shipper`): grid and edit including the dispatch
notice template per language. Tariffs are a "Tariffs" tab of the shipper edit: a list of
tariffs plus a modal edit via {@see ShipperTariffEdit} (same pattern as the "Variants" tab of
`ProductPresenter`). The standalone {@see ShipperTariffPresenter} stays as a cross-shipper
overview grid, but edit and add redirect from it here.
- ShipperRegionPresenter
- Shipper region administration (`/admin/eshop/shipper-region`): a simple code list (3 rows)
referenced by {@see ShipperTariffPresenter}. In picker mode
it also serves as a selection modal.
- ShipperTariffPresenter
- Shipper tariff overview (`/admin/eshop/shipper-tariff`): a read-only cross-shipper grid
(a tool for lookup and audit across shippers). Editing and creating a tariff happens in the
"Tariffs" tab of the shipper edit ({@see ShipperPresenter},
{@see \App\UI\Admin\Eshop\Components\ShipperTariffEditComponent\ShipperTariffEdit}), so
`actionEdit()` and `actionAdd()` render no form of their own but redirect to
`:Admin:Eshop:Shipper:edit` with an anchor to the tab.
- StatisticsPresenter
- Statistics dashboard (`:Admin:Eshop:Statistics:show`). The presenter is a pure container
of 8 instances of the shared {@see StatisticsChartControl} (a `Multiplier` over a per-key
config, like `PickerHostTrait`); it has no entity manager and no `save()`.
- VoucherPresenter
- Voucher administration (`/admin/eshop/voucher`): plain CRUD of code, validity, limits and
per-currency thresholds.