@@ -114,7 +114,7 @@ |
||
| 114 | 114 | $this->objXmlWriter->setIndent(true); |
| 115 | 115 | $this->objXmlWriter->setIndentString(str_repeat(' ', 4)); |
| 116 | 116 | $this->objXmlWriter->startDocument('1.0', 'UTF-8'); |
| 117 | - $arrayVersion = $this->establishCurrentVersion($this->arrayUniformResourceLocator['Versions']); |
|
| 117 | + $arrayVersion = $this->establishCurrentVersion($this->arrayUniformResourceLocator['Versions']); |
|
| 118 | 118 | $this->setDocumentHeader($arrayDocumentData['DocumentTagName']); |
| 119 | 119 | $this->setDocumentHeaderVersions($arrayVersion); |
| 120 | 120 | // TODO: add logic for each section |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | 'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'], |
| 50 | 50 | 'DocumentTagName' => $arrayDocument['DocumentTagName'], |
| 51 | 51 | ]); |
| 52 | - $intLineNo = 0; |
|
| 52 | + $intLineNo = 0; |
|
| 53 | 53 | foreach ($objFile->children('cac', true) as $child) { |
| 54 | 54 | $strCurrentTag = $child->getName(); |
| 55 | 55 | switch ($strCurrentTag) { |
@@ -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 | } |