@extends('layouts.app') @section('titulo', 'Transferencias') @section('contenido')
| CÓDIGO | FECHA | ORIGEN | DESTINO | USUARIO | PRODUCTOS | UNIDADES | ESTADO | ACCIONES |
|---|---|---|---|---|---|---|---|---|
| {{ $transferencia->codigo }} | {{ optional($transferencia->fecha_transferencia)->format('d/m/Y H:i') }} |
{{ $transferencia->almacenOrigen?->nombre ?? '—' }}
{{ $transferencia->almacenOrigen?->local?->nombre ?? '' }}
|
{{ $transferencia->almacenDestino?->nombre ?? '—' }}
{{ $transferencia->almacenDestino?->local?->nombre ?? '' }}
|
{{ $transferencia->usuario?->name ?? '—' }} | {{ $transferencia->detalles_count ?? 0 }} | {{ $transferencia->detalles_sum_cantidad ?? 0 }} | @if($transferencia->estado === 'completada') Completada @elseif($transferencia->estado === 'pendiente') Pendiente @else {{ ucfirst($transferencia->estado) }} @endif | |
| No hay transferencias registradas. | ||||||||