- Introduced a new `handleQtyChange` function to manage per-row quantity updates for both customer and stock items, ensuring correct data submission to the appropriate endpoints. - Enhanced the `dedupeAttachments` function to handle additional document sources, including parent purchase orders, and skip empty filenames to prevent 404 errors. - Updated the `ItemsTable` and `PoCard` components to support quantity editing, allowing users to modify collected quantities directly in the UI. - Added tests to validate the new quantity handling logic and attachment deduplication, ensuring robust functionality across various scenarios.
10 lines
No EOL
314 B
YAML
10 lines
No EOL
314 B
YAML
- generic [active] [ref=e1]:
|
|
- region "Notifications alt+T"
|
|
- button "Open Next.js Dev Tools" [ref=e12] [cursor=pointer]:
|
|
- generic [ref=e21]:
|
|
- text: Rendering
|
|
- generic [ref=e22]:
|
|
- generic [ref=e23]: .
|
|
- generic [ref=e24]: .
|
|
- generic [ref=e25]: .
|
|
- alert [ref=e11] |