@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | 'TaxTotal' => $this->getTaxTotal($arrayParams['CAC']->TaxTotal), |
| 50 | 50 | ], |
| 51 | 51 | ]; |
| 52 | - $intLineNo = 0; |
|
| 52 | + $intLineNo = 0; |
|
| 53 | 53 | if (isset($arrayParams['CAC']->PaymentMeans)) { |
| 54 | 54 | foreach ($arrayParams['CAC']->PaymentMeans as $child) { |
| 55 | 55 | $intLineNo++; |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | ->CreditNoteTypeCode->__toString(); |
| 97 | 97 | break; |
| 98 | 98 | case 'Invoice': |
| 99 | - $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
| 99 | + $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents |
|
| 100 | 100 | ->InvoiceTypeCode->__toString(); |
| 101 | 101 | break; |
| 102 | 102 | } |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | ]; |
| 126 | 126 | break; |
| 127 | 127 | case 'SellersItemIdentification': |
| 128 | - $arrayOutput[$strName]['ID'] = $value->children('cbc', true)->ID->__toString(); |
|
| 128 | + $arrayOutput[$strName]['ID'] = $value->children('cbc', true)->ID->__toString(); |
|
| 129 | 129 | break; |
| 130 | 130 | } |
| 131 | 131 | } |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
| 60 | 60 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
| 61 | 61 | ]); |
| 62 | - $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 62 | + $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']); |
|
| 63 | 63 | return $arrayDocument; |
| 64 | 64 | } |
| 65 | 65 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | private function setHeaderCommonAggregateComponentsCompanies(array $arrayParameters): void { |
| 76 | - $key = $arrayParameters['tag']; |
|
| 76 | + $key = $arrayParameters['tag']; |
|
| 77 | 77 | $this->setElementComment($key); |
| 78 | 78 | $this->objXmlWriter->startElement('cac:' . $key); |
| 79 | 79 | $this->objXmlWriter->startElement('cac:Party'); |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | $this->objXmlWriter->startDocument('1.0', 'UTF-8'); |
| 160 | 160 | // if no DocumentNameSpaces seen take Default ones from local configuration |
| 161 | 161 | $this->getSettingsFromFileIntoMemory($bolComments); |
| 162 | - $arrayDefaults = $this->getDefaultsIntoDataSet($arrayData); |
|
| 162 | + $arrayDefaults = $this->getDefaultsIntoDataSet($arrayData); |
|
| 163 | 163 | if ($arrayDefaults !== []) { |
| 164 | 164 | $arrayData = array_merge($arrayData, $arrayDefaults['Root']); |
| 165 | 165 | if (!array_key_exists('CustomizationID', $arrayData['Header']['CommonBasicComponents-2'])) { |