public function getOriginDocumentType($typDokl)
    {
        if (empty($this->docTypes)) {
            $this->docTypes = $this->getDocumentTypes();
        }
        $documentType = \FlexiPeeHP\FlexiBeeRO::uncode($typDokl);
        return array_key_exists($documentType, $this->docTypes) ? $this->docTypes[$documentType]
                : 'typDokladu.neznamy';
    }
public function getOriginDocumentType($typDokl)
    {
        if (empty($this->docTypes)) {
            $this->docTypes = $this->getDocumentTypes();
        }
        $documentType = \FlexiPeeHP\FlexiBeeRO::uncode($typDokl);
        return array_key_exists($documentType, $this->docTypes) ? $this->docTypes[$documentType]
                : 'typDokladu.neznamy';
    }
public function getOriginDocumentType ( $ typDokl ) { if ( empty ( $ this -> docTypes ) ) { $ this -> docTypes = $ this -> getDocumentTypes ( ) ; } $ documentType = \ FlexiPeeHP \ FlexiBeeRO :: uncode ( $ typDokl ) ; return array_key_exists ( $ documentType , $ this -> docTypes ) ? $ this -> docTypes [ $ documentType ] : 'typDokladu.neznamy' ; }
Return Document original type

@param string $typDokl

@return string typDokladu.faktura|typDokladu.dobropis|
typDokladu.zalohFaktura|typDokladu.zdd|
typDokladu.dodList|typDokladu.proforma|
typBanUctu.kc|typBanUctu.mena
Return Document original type