@extends('layouts.app') @section('content')
# | Acciones | Descargas | Ambiente | DIAN | Fecha | Número | Cliente | Tipo de Documento | Impuesto | Subtotal | Total |
---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }} |
@if($row->response_dian)
@endif @if($row->cufe) @endif @if(!$row->state_document_id) @endif |
XML PDF | {{ $row->ambient_id === 2 ? 'Habilitación' : 'Producción' }} | {{ $row->state_document_id ? 'Si' : 'No' }} | {{ $row->date_issue }} | {{ $row->prefix }}{{ $row->number }} |
@inject('typeDocuments', 'App\TypeDocumentIdentification')
@php
$doc_id = $row->client->type_document_identification_id ?? null;
$document_type = $typeDocuments->where('id', $doc_id)->first() ?? null;
// dd($document_type);
@endphp
{{ $row->client->name }} {{ $document_type->name ?? "" }} {{ $row->client->identification_number }}-{{ $row->client->dv ?? ""}} |
{{ $row->type_document->name }} | {{ round($row->total_tax, 2) }} | {{ round($row->subtotal, 2) }} | {{ round($row->total, 2) }} |