3namespace Sale\Handlers\Delivery\Additional\RusPost\Reliability;
6use Bitrix\Sale\Internals\EO_Reliability_Collection;
18 public function filterByHashes(
array $hashes)
28 foreach ($this as $reliability)
31 if(in_array($reliability->getHash(), $hashes))
45 public function saveItems()
47 $storedCollection = static::$dataClass::query()
48 ->addFilter(
'HASH', $this->getHashList())
53 foreach ($storedCollection as $stored)
55 if($item = $this->getByPrimary($stored->getHash()))
57 $stored->setReliability($item->getReliability());
58 $this->removeByPrimary($item->getHash());
73 if($exist = $this->getByPrimary($item->getHash()))
75 $this->removeByPrimary($item->getHash());
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)