Retail Orders — filter bar, fetch modal, pagination, status pills #13
Open
opened 2026-06-29 08:36:07 +00:00 by rob
·
1 comment
Labels
Clear labels
Amazon SP-API
bug
Doing
eBay API
FBA Restock
FBA Restock
FBA Restock
fulfillment
Planning
Planning
Planning
Planning
Planning
prod
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
shipstation
shipstation
No Label
Doing
Milestone
No items
No Milestone
Projects
Clear projects
No project
eStack Sprint Board
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rob/estack-laminas#13
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Retail Orders — filter bar, fetch modal, pagination, status pills
Several improvements to the Retail Orders list page.
No shared files changed — all changes in the orders phtml and controller.
Files
orders-delivery.zip
orders-preview-v4.htmlorders-index.phtmlmodule/.../view/retail/orders/index.phtml1. Fetch Orders button + modal
Add a Fetch Orders button to the page header, left of "Create Order":
Clicking it opens a confirmation modal (
es-modal-overlay). The modal:bi-cloud-downloadicon$this->activeChannels, shown with green check iconsNo date range in the modal. It fetches all available unimported orders.
Controller variable needed:
2. Filter bar — two rows
Row 1
flex: 0 1 300px(wider than before, still shrinks on narrow viewports)type="date"inputs with labelsRow 2
Date shortcut JS:
From/To inputs need
id="dateFrom"andid="dateTo".3. Pagination
Top of table card
Count left + prev/next chevrons right — no rows per page here:
Bottom pagination bar
Rows per page options: 50 / 100 / 300 (default 100).
Controller: pass
$this->perPage(int, default 100),$this->perPageOptions([50, 100, 300]).4. Status pills — two fixes
4a. Stock Hold
Change pill text from
Stock-hold→Stock Hold.Class
es-pill-holdingunchanged.In the view, wherever status is rendered:
4b. MCF Processing — new pill
Replace the old plain text
Mcf-processingstatus with a styled pill.Add to
_components.scss:In the view:
Note: an MCF order's shipment column shows
MCFas the type label.The status column shows either
MCF ProcessingorComplete— not both.5. Filter form — date range
The From/To date inputs are part of the GET filter form alongside the existing
channel and status selects. Add
startDateandendDateto the controller'sfilter handling — same pattern as channel/status filters.
Pass back to view for input repopulation: