update: filtro por precios personalizados
This commit is contained in:
@@ -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
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user