ENVIAR XML PARA O ESCRITÓRIO
@if(isset($xml)&& count($xml) > 0)
Total de NFe: {{count($xml)}}
# |
Cliente |
Valor |
Data |
@foreach($xml as $x)
{{$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')}} |
@endforeach
@endif
@if(isset($xmlNfce) && count($xmlNfce) > 0)
Total de NFCe: {{count($xmlNfce)}}
# |
Cliente |
Valor |
Data |
@foreach($xmlNfce as $x)
{{$x->id}} |
@if($x->cliente)
{{$x->cliente->razao_social}} |
@else
-- |
@endif
{{number_format($x->valor_total, 2, ',', '.')}} |
{{ \Carbon\Carbon::parse($x->data_registro)->format('d/m/Y H:i:s')}} |
@endforeach
@endif
@if(isset($xmlCte) && count($xmlCte) > 0)
Total de CTe: {{count($xmlCte)}}
# |
Cliente |
Valor |
Data |
@foreach($xmlCte as $c)
{{$c->id}} |
@if($c->cliente)
{{$c->cliente->razao_social}} |
@else
-- |
@endif
{{number_format($c->valor_total, 2, ',', '.')}} |
{{ \Carbon\Carbon::parse($c->data_registro)->format('d/m/Y H:i:s')}} |
@endforeach
@endif
@if(isset($xmlMdfe) && count($xmlMdfe) > 0)
Total de CTe: {{count($xmlMdfe)}}
# |
Cliente |
Valor |
Data |
@foreach($xmlMdfe as $c)
{{$c->id}} |
@if($c->cliente)
{{$c->cliente->razao_social}} |
@else
-- |
@endif
{{number_format($c->valor_total, 2, ',', '.')}} |
{{ \Carbon\Carbon::parse($c->data_registro)->format('d/m/Y H:i:s')}} |
@endforeach
@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