@if (! app()->environment('testing')) @vite(['resources/css/app.css', 'resources/js/app.js']) @endif
@include('modulos.estoque.partials.sidebar', ['active' => 'posicao-rastro'])
Posicao Por Rastro
Tabela Sankhya AD_VHSALDORASTRO
Sincronismo online

Consulta de saldo por rastro

Filtre por controle e parceiro cliente para localizar rastreabilidade e posicao de estoque.

@if ($erroConsulta)
{{ $erroConsulta }}
@endif

@if ($registros->total() > 0) Exibindo {{ $registros->firstItem() }} a {{ $registros->lastItem() }} de {{ $registros->total() }} registros. @else Nenhum registro para exibir. @endif

@if ($registros->hasPages())
@if ($registros->onFirstPage()) Anterior @else Anterior @endif Pagina {{ $registros->currentPage() }} de {{ $registros->lastPage() }} @if ($registros->hasMorePages()) Proxima @else Proxima @endif
@endif
Linha destacada: controle usado Linha vermelha: controle usado em nota Usado Controle com status de uso ativo Em nota Controle vinculado a numero de nota
@forelse ($registros as $item) @php $statusUsado = mb_strtoupper(trim((string) ($item->USADO ?? ''))); $controleUsado = in_array($statusUsado, ['S', 'SIM'], true); $usadoEmNota = filled($item->USADO_NUNOTA ?? null); @endphp $controleUsado, 'erp-row-used-note' => $controleUsado && $usadoEmNota, ])> @empty @endforelse
Local origem Poder Par rem Par uso Obs Cliente Regiao Codprod Referencia Lote Descrprod Grupo Grupo pai Dt val Controle Obs duplic Usado Paciente Usado nunota Usado codparc Usado usuario Usado top Remesa nota Remessa data Armazem Dias venc Codparc Perfil principal Marca
{{ $item->LOCAL_ORIGEM ?? '-' }} {{ $item->PODER ?? '-' }} {{ $item->PAR_REM ?? '-' }} {{ $item->PAR_USO ?? '-' }} {{ $item->OBS ?? '-' }} {{ $item->CLIENTE ?? '-' }} {{ $item->REGIAO ?? '-' }} {{ $item->CODPROD ?? '-' }} {{ $item->REFERENCIA ?? '-' }} {{ $item->LOTE ?? '-' }} {{ $item->DESCRPROD ?? '-' }} {{ $item->GRUPO ?? '-' }} {{ $item->GRUPO_PAI ?? '-' }} {{ $item->DT_VAL ?? '-' }}
{{ $item->CONTROLE ?? '-' }} @if ($controleUsado) Usado @endif @if ($usadoEmNota) Em nota @endif
{{ $item->OBS_DUPLIC ?? '-' }} @if ($controleUsado) SIM @else {{ $item->USADO ?? '-' }} @endif {{ $item->PACIENTE ?? '-' }} {{ $item->USADO_NUNOTA ?? '-' }} {{ $item->USADO_CODPARC ?? '-' }} {{ $item->USADO_USUARIO ?? '-' }} {{ $item->USADO_TOP ?? '-' }} {{ $item->REMESA_NOTA ?? '-' }} {{ $item->REMESSA_DATA ?? '-' }} {{ $item->ARMAZEM ?? '-' }} {{ $item->DIAS_VENC ?? '-' }} {{ $item->CODPARC ?? '-' }} {{ $item->PERFIL_PRINCIPAL ?? '-' }} {{ $item->MARCA ?? '-' }}
Nenhum registro encontrado para os filtros informados.
@include('modulos.estoque.partials.menu-toggle-script')