Stock pickup photos were dropped: the Collect window ignored the photo for a pickup, and the PO header's Invoice button didn't show for stock orders (stock_purchase_items has no file field). - Photos for a stock order go on the stock purchase (stock_purchases.additional_attachments, multi-file after WFDASH's `npm run pb:migrate:stock-photos`), always added with `field+`. - Invoice button works on stock orders (pages counted from the stock purchase's invoice_ files); the Collect window uploads a pickup's photo there too, and warns if it didn't upload. - poDocs: one PhotoTarget (order line or stock purchase) behind invoicePhotoTarget / uploadInvoicePage / uploadStockPickupPhoto. Run the WFDASH stock-photos migration before deploying this. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| login | ||
| map | ||
| settings | ||
| .DS_Store | ||
| globals.css | ||
| layout.tsx | ||
| page.tsx | ||