Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f0957ae4e | ||
|
|
65db9b37ea |
No files matched your search
+1
-1
Submodule bible updated: 472c8a6918...34b457d654.
@@ -289,6 +289,13 @@ func (s *QuoteService) CalculatePriceLevels(req *PriceLevelsRequest) (*PriceLeve
|
|||||||
result.ResolvedPricelistIDs[sourceKey] = latest.ID
|
result.ResolvedPricelistIDs[sourceKey] = latest.ID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if st.id == 0 && s.localDB != nil {
|
||||||
|
localPL, err := s.localDB.GetLatestLocalPricelistBySource(sourceKey)
|
||||||
|
if err == nil && localPL != nil {
|
||||||
|
st.id = localPL.ServerID
|
||||||
|
result.ResolvedPricelistIDs[sourceKey] = localPL.ServerID
|
||||||
|
}
|
||||||
|
}
|
||||||
if st.id == 0 {
|
if st.id == 0 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user