| @@ 2573-2590 (lines=18) @@ | ||
| 2570 | * |
|
| 2571 | * @return string |
|
| 2572 | */ |
|
| 2573 | protected function zLocalEntrega() |
|
| 2574 | { |
|
| 2575 | $locEntX = $this->dest->getElementsByTagName('locEnt'); |
|
| 2576 | if ($locEntX->length > 0) { |
|
| 2577 | $locEnt = $locEntX->item(0); |
|
| 2578 | $output = "Entrega: " . $output = $this->zFormatCNPJCPF($locEnt); |
|
| 2579 | $output .= $this->pSimpleGetValue($locEnt, "CPF") . " "; |
|
| 2580 | $output .= $this->pSimpleGetValue($locEnt, "xNome") . " "; |
|
| 2581 | $output .= $this->pSimpleGetValue($locEnt, "xLgr") . " "; |
|
| 2582 | $output .= $this->pSimpleGetValue($locEnt, "nro ") . " "; |
|
| 2583 | $output .= $this->pSimpleGetValue($locEnt, "xCpl") . " "; |
|
| 2584 | $output .= $this->pSimpleGetValue($locEnt, "xBairro") . " "; |
|
| 2585 | $output .= $this->pSimpleGetValue($locEnt, "xMun") . " "; |
|
| 2586 | $output .= $this->pSimpleGetValue($locEnt, "UF") . " "; |
|
| 2587 | return $output; |
|
| 2588 | } |
|
| 2589 | return ""; |
|
| 2590 | } //fim zLocalEntrega |
|
| 2591 | ||
| 2592 | /** |
|
| 2593 | * zModalRod |
|
| @@ 2548-2565 (lines=18) @@ | ||
| 2545 | * |
|
| 2546 | * @return string |
|
| 2547 | */ |
|
| 2548 | protected function zLocalEntrega() |
|
| 2549 | { |
|
| 2550 | $locEntX = $this->dest->getElementsByTagName('locEnt'); |
|
| 2551 | if ($locEntX->length > 0) { |
|
| 2552 | $locEnt = $locEntX->item(0); |
|
| 2553 | $output = "Entrega: " . $output = $this->zFormatCNPJCPF($locEnt); |
|
| 2554 | $output .= $this->pSimpleGetValue($locEnt, "CPF") . " "; |
|
| 2555 | $output .= $this->pSimpleGetValue($locEnt, "xNome") . " "; |
|
| 2556 | $output .= $this->pSimpleGetValue($locEnt, "xLgr") . " "; |
|
| 2557 | $output .= $this->pSimpleGetValue($locEnt, "nro ") . " "; |
|
| 2558 | $output .= $this->pSimpleGetValue($locEnt, "xCpl") . " "; |
|
| 2559 | $output .= $this->pSimpleGetValue($locEnt, "xBairro") . " "; |
|
| 2560 | $output .= $this->pSimpleGetValue($locEnt, "xMun") . " "; |
|
| 2561 | $output .= $this->pSimpleGetValue($locEnt, "UF") . " "; |
|
| 2562 | return $output; |
|
| 2563 | } |
|
| 2564 | return ""; |
|
| 2565 | } //fim zLocalEntrega |
|
| 2566 | ||
| 2567 | /** |
|
| 2568 | * zModalRod |
|