update global subvendedor

This commit is contained in:
Juan Felipe Duarte
2025-08-22 10:09:23 -07:00
parent 4042fab30b
commit a5aafd738d
10 changed files with 179 additions and 139 deletions
+2
View File
@@ -2,6 +2,7 @@
namespace App\Http\Livewire;
use App\Models\Configuracione;
use App\Models\Promociones;
use App\Models\Role;
use App\Models\Servicio;
@@ -62,6 +63,7 @@ class ShowTarifas extends Component
'roles' => Role::where('subvendedor_id', auth()->user()->id)->get(),
'promo' => Promociones::where('visible', 'true')->get(),
'servicios' => Servicio::where('estado', 'activo')->get(),
'config' => Configuracione::with('usuario')->orderby('id', 'desc')->first(),
]);
}