update: filtro por precios personalizados

This commit is contained in:
Felipe
2025-01-02 15:24:13 -05:00
parent 5275bfced7
commit 33859c8777
3 changed files with 46 additions and 5 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ class ShowTop extends Component
$notificacion = new Notificacion();
$notificacion->remitente_id = Auth::user()->id;
// $notificacion->destinatario_id = 410;
// $notificacion->destinatario_id = 410;`
$notificacion->destinatario_id = $vendedor->id;
$notificacion->titulo = 'Felicidades ' . $vendedor->name ?? '' . ' 🎊';
$notificacion->descripcion = 'Quedaste ' . $rangos[$index] . ' en el #Top10MejoresDistribuidores del mes de ' . date('M', strtotime('last month'));
@@ -98,7 +98,7 @@ class ShowTop extends Component
PremioEntregado::create([
'user_id' => Auth::user()->id,
'fecha' => $year,
'fecha' => $month . '-' . $year,
'entregado' => 1
]);