@@ 787-828 (lines=42) @@ | ||
784 | if (!empty($this->std->conta)) { |
|
785 | foreach ($this->std->conta as $c) { |
|
786 | $Conta = $this->dom->createElement("Conta"); |
|
787 | if (!empty($c->medjudic)) { |
|
788 | foreach ($c->medjudic as $j) { |
|
789 | $MedJudic = $this->dom->createElement("MedJudic"); |
|
790 | $this->dom->addChild( |
|
791 | $MedJudic, |
|
792 | "NumProcJud", |
|
793 | $j->numprocjud, |
|
794 | true |
|
795 | ); |
|
796 | $this->dom->addChild( |
|
797 | $MedJudic, |
|
798 | "Vara", |
|
799 | $j->vara, |
|
800 | true |
|
801 | ); |
|
802 | $this->dom->addChild( |
|
803 | $MedJudic, |
|
804 | "SecJud", |
|
805 | $j->secjud, |
|
806 | true |
|
807 | ); |
|
808 | $this->dom->addChild( |
|
809 | $MedJudic, |
|
810 | "SubSecJud", |
|
811 | $j->subsecjud, |
|
812 | true |
|
813 | ); |
|
814 | $this->dom->addChild( |
|
815 | $MedJudic, |
|
816 | "dtConcessao", |
|
817 | $j->dtconcessao, |
|
818 | true |
|
819 | ); |
|
820 | $this->dom->addChild( |
|
821 | $MedJudic, |
|
822 | "dtCassacao", |
|
823 | !empty($j->dtcassacao) ? $j->dtcassacao : null, |
|
824 | false |
|
825 | ); |
|
826 | $Conta->appendChild($MedJudic); |
|
827 | } |
|
828 | } |
|
829 | ||
830 | if (!empty($c->infoconta)) { |
|
831 | $ic = $c->infoconta; |
@@ 807-848 (lines=42) @@ | ||
804 | if (!empty($this->std->conta)) { |
|
805 | foreach ($this->std->conta as $c) { |
|
806 | $Conta = $this->dom->createElement("Conta"); |
|
807 | if (!empty($c->medjudic)) { |
|
808 | foreach ($c->medjudic as $j) { |
|
809 | $MedJudic = $this->dom->createElement("MedJudic"); |
|
810 | $this->dom->addChild( |
|
811 | $MedJudic, |
|
812 | "NumProcJud", |
|
813 | $j->numprocjud, |
|
814 | true |
|
815 | ); |
|
816 | $this->dom->addChild( |
|
817 | $MedJudic, |
|
818 | "Vara", |
|
819 | $j->vara, |
|
820 | true |
|
821 | ); |
|
822 | $this->dom->addChild( |
|
823 | $MedJudic, |
|
824 | "SecJud", |
|
825 | $j->secjud, |
|
826 | true |
|
827 | ); |
|
828 | $this->dom->addChild( |
|
829 | $MedJudic, |
|
830 | "SubSecJud", |
|
831 | $j->subsecjud, |
|
832 | true |
|
833 | ); |
|
834 | $this->dom->addChild( |
|
835 | $MedJudic, |
|
836 | "dtConcessao", |
|
837 | $j->dtconcessao, |
|
838 | true |
|
839 | ); |
|
840 | $this->dom->addChild( |
|
841 | $MedJudic, |
|
842 | "dtCassacao", |
|
843 | !empty($j->dtcassacao) ? $j->dtcassacao : null, |
|
844 | false |
|
845 | ); |
|
846 | $Conta->appendChild($MedJudic); |
|
847 | } |
|
848 | } |
|
849 | ||
850 | if (!empty($c->infoconta)) { |
|
851 | $ic = $c->infoconta; |