- 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
329 B
YAML
10 lines
No EOL
329 B
YAML
- generic [active] [ref=f5e1]:
|
|
- region "Notifications alt+T"
|
|
- button "Open Next.js Dev Tools" [ref=f5e7] [cursor=pointer]:
|
|
- generic [ref=f5e10]:
|
|
- text: Rendering
|
|
- generic [ref=f5e11]:
|
|
- generic [ref=f5e12]: .
|
|
- generic [ref=f5e13]: .
|
|
- generic [ref=f5e14]: .
|
|
- alert [ref=f5e15] |