@extends('layouts.app') @section('title', 'Reporte de Movimientos de Inventario') @section('content')
Movimientos registrados en el sistema
{{ $printData['company_info']['address'] ?? 'Dirección de la empresa' }}
Tel: {{ $printData['company_info']['phone'] ?? 'Teléfono' }} | Email: {{ $printData['company_info']['email'] ?? 'email@empresa.com' }}
Fecha de Generación: {{ now()->format('d/m/Y H:i:s') }}
Generado por: {{ Auth::user()->name }}
Total de Registros: {{ $data->count() }}
Papel: {{ $printConfig->paper_size_formatted }}
Orientación: {{ $printConfig->orientation_formatted }}
Fuente: {{ $printConfig->font_config['family'] ?? 'Arial' }} {{ $printConfig->font_config['size'] ?? 12 }}pt
| ID | Fecha | Producto | Tipo | Desde | Hacia | Cantidad | Estado | Usuario |
|---|---|---|---|---|---|---|---|---|
| {{ $movement->id }} | {{ $movement->created_at->format('d/m/Y H:i') }} |
{{ $movement->product->name ?? 'N/A' }}
{{ $movement->product->code ?? 'Sin código' }} |
{{ $movement->movement_type_formatted }} |
@if($movement->fromWarehouse)
{{ $movement->fromWarehouse->name }}
@if($movement->fromLocation)
{{ $movement->fromLocation->name }} @endif @else N/A @endif |
@if($movement->toWarehouse)
{{ $movement->toWarehouse->name }}
@if($movement->toLocation)
{{ $movement->toLocation->name }} @endif @else N/A @endif |
{{ number_format($movement->quantity, 2) }}
{{ $movement->product->unit ?? 'unidad' }} |
{!! $movement->status_badge !!} | {{ $movement->createdBy->name ?? 'N/A' }} |
|
No hay movimientos registrados |
||||||||