Skip to content

Commit

Permalink
Update Cord.php
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbj authored Feb 19, 2024
1 parent 3871e6a commit 9ba542d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Cord.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ public function addContact(array $contactDetails): self
'MenuPath' => $document['MenuItem']['MenuPath'] ?? '',
'IsClientSpecific' => $document['MenuItem']['IsClientSpecific'] ?? 'false',
'IsSystemDefined' => $document['MenuItem']['IsSystemDefined'] ?? 'false',
//'FilterList' => $document['MenuItem']['FilterList'] ?? '',
'FilterList' => Str::random(6),
'FilterList' => $document['MenuItem']['FilterList'] ?? '',
] : null,
'FilterShipmentMode' => $document['FilterShipmentMode'] ?? 'ALL',
'FilterDirection' => $document['FilterDirection'] ?? 'ALL',
Expand All @@ -258,9 +257,9 @@ public function addContact(array $contactDetails): self
'Mobile' => $contactDetails['mobilePhone'] ?? '',
'HomeWork' => $contactDetails['homePhone'] ?? '',
'AttachmentType' => $contactDetails['attachmentType'] ?? 'PDF',
'OrgDocumentCollection' => [
/*'OrgDocumentCollection' => [
'OrgDocument' => count($documents) === 1 ? $documents[0] : $documents,
],
], */
];

return $this;
Expand Down

0 comments on commit 9ba542d

Please sign in to comment.