@php $user = Auth::user(); $config = \App\Models\Config::where('empresa_id', $user->empresa_id) ->where('category', 'facturacion') ->where('field', 'productosServicios') ->first(); $productosServicios = $config ? $config->value : 0; @endphp