редактирование и удаление сопоставлений

список накладных с позициями
This commit is contained in:
2025-12-29 10:46:05 +03:00
parent c2d382cb6a
commit 310a64e3ba
30 changed files with 1250 additions and 8173 deletions

View File

@@ -81,6 +81,7 @@ func (r *pgRepository) GetAllMatches(serverID uuid.UUID) ([]ocr.ProductMatch, er
err := r.db.
Preload("Product").
Preload("Product.MainUnit").
Preload("Product.Containers").
Preload("Container").
Where("rms_server_id = ?", serverID).
Order("updated_at DESC").