Skip to content

Commit

Permalink
set invoice link if set
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoiseenko committed Mar 18, 2024
1 parent bc4223d commit 0818b53
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 0818b53

Please sign in to comment.