Skip to content

Commit 010247c

Browse files
author
Nikita
committed
Merge branch 'feature/AC-778' into 'master'
set invoice link if set See merge request amocrm/amocrm-api-php!39
2 parents bc4223d + 0818b53 commit 010247c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/AmoCRM/EntitiesServices/CatalogElements.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ protected function processModelAction(BaseApiModel $apiModel, array $entity): vo
154154
if (isset($entity['catalog_id'])) {
155155
$apiModel->setCatalogId($entity['catalog_id']);
156156
}
157+
158+
if (isset($entity['invoice_link'])) {
159+
$apiModel->setInvoiceLink($entity['invoice_link']);
160+
}
157161
}
158162

159163

0 commit comments

Comments
 (0)