Skip to content

Commit

Permalink
wrong paymentType
Browse files Browse the repository at this point in the history
  • Loading branch information
segy committed Nov 14, 2023
1 parent 811e668 commit 690c883
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Pohoda/Addressbook/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Header extends Agenda
use AddParameterTrait;

/** @var string[] */
protected $_refElements = ['centre', 'activity', 'contract', 'number', 'accountingReceivedInvoice', 'accountingIssuedInvoice', 'classificationVATReceivedInvoice', 'classificationVATIssuedInvoice', 'classificationKVDPHReceivedInvoice', 'classificationKVDPHIssuedInvoice', 'accountForInvoicing', 'foreignCurrency'];
protected $_refElements = ['paymentType', 'centre', 'activity', 'contract', 'number', 'accountingReceivedInvoice', 'accountingIssuedInvoice', 'classificationVATReceivedInvoice', 'classificationVATIssuedInvoice', 'classificationKVDPHReceivedInvoice', 'classificationKVDPHIssuedInvoice', 'accountForInvoicing', 'foreignCurrency'];

/** @var string[] */
protected $_elements = ['identity', 'region', 'phone', 'mobil', 'fax', 'email', 'web', 'ICQ', 'Skype', 'GPS', 'credit', 'priceIDS', 'maturity', 'maturityCommitments', 'paymentType', 'agreement', 'number', 'ost1', 'ost2', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6', 'markRecord', 'message', 'note', 'intNote', 'accountingReceivedInvoice', 'accountingIssuedInvoice', 'classificationVATReceivedInvoice', 'classificationVATIssuedInvoice', 'classificationKVDPHReceivedInvoice', 'classificationKVDPHIssuedInvoice', 'accountForInvoicing', 'foreignCurrency', 'centre', 'activity', 'contract', 'adGroup'];
Expand Down Expand Up @@ -71,7 +71,6 @@ protected function _configureOptions(OptionsResolver $resolver)
$resolver->setNormalizer('credit', $resolver->getNormalizer('float'));
$resolver->setNormalizer('priceIDS', $resolver->getNormalizer('string10'));
$resolver->setNormalizer('maturity', $resolver->getNormalizer('int'));
$resolver->setAllowedValues('paymentType', ['draft', 'cash', 'postal', 'delivery', 'creditcard', 'advance', 'encashment', 'cheque', 'compensation']);
$resolver->setNormalizer('agreement', $resolver->getNormalizer('string12'));
$resolver->setNormalizer('ost1', $resolver->getNormalizer('string8'));
$resolver->setNormalizer('ost2', $resolver->getNormalizer('string8'));
Expand Down

0 comments on commit 690c883

Please sign in to comment.