@extends('layouts.app') @section('title', 'Ajustes de Precios') @section('content')

Ajustes de Precios

Gestión de ajustes de precios de productos

Total Ajustes
{{ $adjustments->total() }}
Ajustes Aplicados
{{ $adjustments->where('status', 'applied')->count() }}
Pendientes
{{ $adjustments->where('status', 'pending')->count() }}
Este Mes
{{ $adjustments->where('created_at', '>=', now()->startOfMonth())->count() }}
Historial de Ajustes de Precios
@if($adjustments->count() > 0)
@foreach($adjustments as $adjustment) @endforeach
Código Descripción Tipo Valor Productos Usuario Fecha Estado Acciones
{{ $adjustment->adjustment_code }}
{{ $adjustment->description }}
{{ $adjustment->adjustment_type_formatted }} {{ $adjustment->adjustment_direction === 'increase' ? '+' : '-' }}{{ $adjustment->adjustment_value_formatted }} {{ $adjustment->total_products }}
{{ substr($adjustment->user_name, 0, 1) }}
{{ $adjustment->user_name }}
{{ $adjustment->user_email }}
{{ $adjustment->adjustment_date_formatted }}
{{ $adjustment->adjustment_date->diffForHumans() }}
{{ $adjustment->status_formatted }}
{{ $adjustments->links() }}
@else
No hay ajustes de precios registrados

Crea tu primer ajuste de precios para comenzar

Crear Primer Ajuste
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush