@extends('default.layout') @section('content')

ENVIAR XML PARA O ESCRITÓRIO


@if(isset($xml)&& count($xml) > 0)
Total de NFe: {{count($xml)}}
@foreach($xml as $x) @endforeach
# Cliente Valor Data
{{$x->id}} {{$x->cliente->razao_social}} {{number_format($x->valor_total, 2, ',', '.')}} {{ \Carbon\Carbon::parse($x->data_registro)->format('d/m/Y H:i:s')}}

@endif @if(isset($xmlNfce) && count($xmlNfce) > 0)
Total de NFCe: {{count($xmlNfce)}}
@foreach($xmlNfce as $x) @if($x->cliente) @else @endif @endforeach
# Cliente Valor Data
{{$x->id}}{{$x->cliente->razao_social}}--{{number_format($x->valor_total, 2, ',', '.')}} {{ \Carbon\Carbon::parse($x->data_registro)->format('d/m/Y H:i:s')}}

@endif @if(isset($xmlCte) && count($xmlCte) > 0)
Total de CTe: {{count($xmlCte)}}
@foreach($xmlCte as $c) @if($c->cliente) @else @endif @endforeach
# Cliente Valor Data
{{$c->id}}{{$c->cliente->razao_social}}--{{number_format($c->valor_total, 2, ',', '.')}} {{ \Carbon\Carbon::parse($c->data_registro)->format('d/m/Y H:i:s')}}

@endif @if(isset($xmlMdfe) && count($xmlMdfe) > 0)
Total de CTe: {{count($xmlMdfe)}}
@foreach($xmlMdfe as $c) @if($c->cliente) @else @endif @endforeach
# Cliente Valor Data
{{$c->id}}{{$c->cliente->razao_social}}--{{number_format($c->valor_total, 2, ',', '.')}} {{ \Carbon\Carbon::parse($c->data_registro)->format('d/m/Y H:i:s')}}

@endif @if(isset($xml) && isset($xmlNfce) && isset($xmlCte) && isset($xmlMdfe) && count($xml) == 0 && count($xmlNfce) == 0 && count($xmlCte) == 0 && count($xmlMdfe) == 0)

Nenhum arquivo encontrado

@endif
@endsection