98 lines
4.7 KiB
PHP
98 lines
4.7 KiB
PHP
@extends('layouts.app', ['title' => 'Tributações Padrão'])
|
|
@section('content')
|
|
|
|
<div class="mt-3">
|
|
<div class="row">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="col-md-12">
|
|
|
|
<a href="{{ route('padrao-tributacao-produto-super.create') }}" class="btn btn-success">
|
|
<i class="ri-add-circle-fill"></i>
|
|
Novo Padrão
|
|
</a>
|
|
|
|
</div>
|
|
<hr class="mt-3">
|
|
|
|
<div class="col-md-12 mt-3 table-responsive">
|
|
<div class="table-responsive-sm">
|
|
<table class="table table-striped table-centered mb-0">
|
|
<thead class="table-dark">
|
|
<tr>
|
|
|
|
<th>Descrição</th>
|
|
<th>Padrão</th>
|
|
<th>Status</th>
|
|
<th>NCM</th>
|
|
<th>%ICMS</th>
|
|
<th>%PIS</th>
|
|
<th>%COFINS</th>
|
|
<th>%IPI</th>
|
|
<th>CST/CSOSN</th>
|
|
<th>CST PIS</th>
|
|
<th>CST COFINS</th>
|
|
<th>CST IPI</th>
|
|
<th width="12%">Ações</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@forelse($data as $item)
|
|
<tr>
|
|
|
|
<td width="300">{{ $item->descricao }}</td>
|
|
<td>
|
|
@if($item->padrao)
|
|
<i class="ri-checkbox-circle-fill text-success"></i>
|
|
@else
|
|
<i class="ri-close-circle-fill text-danger"></i>
|
|
@endif
|
|
</td>
|
|
<td>
|
|
@if($item->status)
|
|
<i class="ri-checkbox-circle-fill text-success"></i>
|
|
@else
|
|
<i class="ri-close-circle-fill text-danger"></i>
|
|
@endif
|
|
</td>
|
|
<td>{{ $item->ncm }}</td>
|
|
<td>{{ $item->perc_icms }}</td>
|
|
<td>{{ $item->perc_pis }}</td>
|
|
<td>{{ $item->perc_cofins }}</td>
|
|
<td>{{ $item->perc_ipi }}</td>
|
|
<td>{{ $item->cst_csosn }}</td>
|
|
<td>{{ $item->cst_pis }}</td>
|
|
<td>{{ $item->cst_cofins }}</td>
|
|
<td>{{ $item->cst_ipi }}</td>
|
|
<td>
|
|
<form action="{{ route('padrao-tributacao-produto-super.destroy', $item->id) }}" method="post" id="form-{{$item->id}}">
|
|
@method('delete')
|
|
<a class="btn btn-warning btn-sm" href="{{ route('padrao-tributacao-produto-super.edit', [$item->id]) }}">
|
|
<i class="ri-pencil-fill"></i>
|
|
</a>
|
|
@csrf
|
|
<button type="button" class="btn btn-delete btn-sm btn-danger">
|
|
<i class="ri-delete-bin-line"></i>
|
|
</button>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
@empty
|
|
<tr>
|
|
<td colspan="13" class="text-center">Nada encontrado</td>
|
|
</tr>
|
|
@endforelse
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
|
|
</div>
|
|
</div>
|
|
{!! $data->appends(request()->all())->links() !!}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|