Skip to content

Commit

Permalink
Add 'adGroup' to AddressBook header
Browse files Browse the repository at this point in the history
Allow AddressBook header to enlist  'adGroup' element. This is allowed in XSD https://www.stormware.cz/xml/schema/version_2/addressbook.xsd
  • Loading branch information
andrewvaca authored and segy committed Sep 6, 2022
1 parent 28294c3 commit c9927b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pohoda/Addressbook/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Header extends Agenda
protected $_refElements = ['centre', 'activity', 'contract', 'number'];

/** @var string[] */
protected $_elements = ['identity', 'region', 'phone', 'mobil', 'fax', 'email', 'web', 'ICQ', 'Skype', 'GPS', 'credit', 'priceIDS', 'maturity', 'paymentType', 'agreement', 'number', 'ost1', 'ost2', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'markRecord', 'message', 'note', 'intNote', 'centre', 'activity', 'contract'];
protected $_elements = ['identity', 'region', 'phone', 'mobil', 'fax', 'email', 'web', 'ICQ', 'Skype', 'GPS', 'credit', 'priceIDS', 'maturity', 'paymentType', 'agreement', 'number', 'ost1', 'ost2', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'markRecord', 'message', 'note', 'intNote', 'centre', 'activity', 'contract', 'adGroup'];

/**
* {@inheritdoc}
Expand Down

0 comments on commit c9927b9

Please sign in to comment.