Problem
The backend can generate QR codes for assets (BE-22), but the frontend has no component to display or download them. Physical asset tags cannot be printed without this.
Proposed Solution
Create frontend/opsce/features/assets/AssetQRCode.tsx. Fetch the QR code from GET /api/assets/:id/qr?format=base64 and display it. Provide a download button and a print button.
Acceptance Criteria
Problem
The backend can generate QR codes for assets (BE-22), but the frontend has no component to display or download them. Physical asset tags cannot be printed without this.
Proposed Solution
Create
frontend/opsce/features/assets/AssetQRCode.tsx. Fetch the QR code fromGET /api/assets/:id/qr?format=base64and display it. Provide a download button and a print button.Acceptance Criteria
sizeprop (default 200px)