Screens
PR · Gift stock
Brands claim what they sent; PR counts what arrived. Status tiles, the claims table and warehouse details.
Brands claim what they sent; PR counts what arrived. Status tiles, the claims table and warehouse details. Composed in PrScreens.tsx from BRICKS exports only, in the pr theme, with the PR Portal v3 mock's numbers.
Gift stock
Status tiles, the shipments table with its toolbar, and the warehouse details; "Record gifts for a brand" opens RecordGiftsDialog.
Pinned to TRNDR preset
Code
import { useLanguage } from '@ergasti/bricks';
import { GiftStockScreen } from '../../../packages/bricks/src/gallery/screens/PrScreens';
function GiftStock() { return <GiftStockScreen language={useLanguage()} />; }How it is built
- The frame is
PrPortalFrame(0.7.0), as on every framed PR page: the v3 nav with counts, the Open decisions card, the PR person row with sign-out,HeaderSearch, the bell and the raspberry "+ New". Record gifts for a brand in itstoolsopensRecordGiftsDialog(brands,warehouse). KpiGridof fourTile size="stat"for the shipment states (expected, to count, problems, confirmed).ListToolbarwith search, statuschips, sort and the scopeSegmentedinactions;DataTablewithgiftShipmentColumns(language). The table has no active sort until a header is clicked (sort={null}at first).WarehouseDetailsCardwith its ink Save.