Compare commits

..
1 Commits
Author SHA1 Message Date
Ruslan Bakiev 273990899f Fix offer.lines - read productUuid directly from offer
Build Docker Image / build (push) Successful in 4m16s
2026-01-16 10:35:13 +07:00
@@ -228,9 +228,8 @@ try {
// Find product in offers
for (const offer of offers) {
const line = offer.lines?.find((l: any) => l?.productUuid === productId.value)
if (line) {
product.value = { uuid: line.productUuid, name: line.productName }
if (offer.productUuid === productId.value && offer.productName) {
product.value = { uuid: offer.productUuid, name: offer.productName }
if (offer.locationUuid && offer.locationName) {
sourceLocation.value = { uuid: offer.locationUuid, name: offer.locationName }
}