Skip to Content
BBRICKSv0.7.4
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 its tools opens RecordGiftsDialog (brands, warehouse).
  • KpiGrid of four Tile size="stat" for the shipment states (expected, to count, problems, confirmed).
  • ListToolbar with search, status chips, sort and the scope Segmented in actions; DataTable with giftShipmentColumns(language). The table has no active sort until a header is clicked (sort={null} at first).
  • WarehouseDetailsCard with its ink Save.