Skip to content

Commit

Permalink
Merge branch 'feature/AC-778' into 'master'
Browse files Browse the repository at this point in the history
set invoice link if set

See merge request amocrm/amocrm-api-php!39
  • Loading branch information
Nikita committed Mar 18, 2024
2 parents bc4223d + 0818b53 commit 010247c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AmoCRM/EntitiesServices/CatalogElements.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ protected function processModelAction(BaseApiModel $apiModel, array $entity): vo
if (isset($entity['catalog_id'])) {
$apiModel->setCatalogId($entity['catalog_id']);
}

if (isset($entity['invoice_link'])) {
$apiModel->setInvoiceLink($entity['invoice_link']);
}
}


Expand Down

0 comments on commit 010247c

Please sign in to comment.