
| Path : /home/gujo45me/public_html/anmar/resources/views/nota/ |
| Disable Functions : exec,passthru,shell_exec,system System : Linux server-604606.appsiete.com 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 [ Home ][ Zone-h ][ Jumping ][ Symlink ][ Mass Depes ][ Command ] |
| Current File : /home/gujo45me/public_html/anmar/resources/views/nota/listar_credito.blade.php |
@extends('layout.main')
@section('content')
<div class="sixteen wide tablet sixteen wide computer column ">
<div class="ui segment">
<h4 class="ui dividing header teal centered">NOTAS DE CREDITO EMITIDAS</h4>
<div class="ui equal width grid">
<div class="row">
<div class="column export_files" style="text-align: right">
<select class="ui small input dropdown" name="estado_envio">
<option value="">Seleccione</option>
<option value="TODOS">TODOS</option>
<option value="0">ACEPTADOS</option>
<option value="1">RECHAZADOS</option>
<option value="2">NO ENVIADOS</option>
<option value="3">PENDIENTES</option>
<option value="4">REGISTRADOS</option>
</select>
</div>
</div>
</div>
<table class="ui celled striped table">
<thead>
<tr>
<th class="head_table">N°</th>
<th class="head_table">N° Nota</th>
<th class="head_table">Cliente</th>
<th class="head_table">Fecha Emision</th>
<th class="head_table">Fecha de Envio</th>
<th class="head_table">N° Anulado</th>
<th class="head_table">Estado</th>
<th class="head_table">Acciones</th>
</tr>
</thead>
<tbody>
<?php /**/ $i = $data->firstItem() /**/ ?>
@foreach ($data as $nota)
<tr data-table="{{ $nota->id_nota }}">
<td>{{ $i }}</td>
<td>{{ $nota->nombre_nota }}</td>
<td>{{ $nota->venta->cliente->nombre }}</td>
<td>{{ $nota->fecha_emision }}</td>
<td>{{ $nota->updated_at }}</td>
<td>{{ $nota->venta->nombre_comprobante }}</td>
<td>
@if($nota->estado_envio == "ACEPTADO")
<div class="ui green label">{{ $nota->estado_envio }}</div>
@elseif ($nota->estado_envio == "RECHAZADO")
<div class="ui yellow label">{{ $nota->estado_envio }}</div>
@elseif ($nota->estado_envio == "NO ENVIADO")
<div class="ui red label">{{ $nota->estado_envio }}</div>
@elseif ($nota->estado_envio == "PENDIENTE")
<div class="ui purple label">PENDIENTE</div>
@elseif ($nota->estado_envio == "REGISTRADO")
<div class="ui orange label">REGISTRADO</div>
@endif
</td>
<td>
<a class="ui mini vertical animated blue button" title="Ver informacion detallada" href="{{ url('nota/detalles/'.$nota->id_nota) }}">
<div class="hidden content">Detalles</div>
<div class="visible content"><i class="search icon"></i></div>
</a>
</td>
</tr>
<?php /**/ $i++ /**/ ?>
@endforeach
</tbody>
<tfoot>
<tr>
<th colspan="8">
@include('layout.includes.pagination')
</th>
</tr>
</tfoot>
</table>
</div>
</div>
@stop
@section('scripts')
<script src="{{ asset('js/nota/listar_credito.js') }}"></script>
@stop