@extends('layouts.app') @section('content')
| # | Descargas | Ambiente | DIAN | Fecha | Número | Cliente | Tipo de Documento | Impuesto | Subtotal | Total |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
XML
PDF
@if($row->cufe) @endif |
{{ $row->ambient_id === 2 ? 'Habilitación' : 'Producción' }} | {{ $row->state_document_id === 1 ? 'Si' : 'No' }} | {{ $row->date_issue }} | {{ $row->prefix }}{{ $row->number }} |
@inject('typeDocuments', 'App\TypeDocumentIdentification')
@php
$doc_id = $row->client->type_document_identification_id;
$document_type = $typeDocuments->where('id', $doc_id)->first();
@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) }} |