botones de color
This commit is contained in:
@@ -296,6 +296,11 @@ class ShowConfiguracion extends Component
|
||||
'onDismissed' => '',
|
||||
'cancelButtonText' => 'Salir',
|
||||
'confirmButtonText' => 'Si',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -251,6 +251,10 @@ class ShowPlanes extends Component
|
||||
'showConfirmButton' => true,
|
||||
'onConfirmed' => 'siRenovar',
|
||||
'confirmButtonText' => 'Si, liberar cuenta',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
]
|
||||
]);
|
||||
} else {
|
||||
$cuenta_renovar = Cuentas::find($this->id_cuentaVer);
|
||||
|
||||
@@ -345,6 +345,11 @@ class ShowPromociones extends Component
|
||||
// 'cancelButtonText' => 'No, abandonar.',
|
||||
'denyButtonText' => 'No, abandonar.',
|
||||
'confirmButtonText' => 'Sí, comprar.',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
} else {
|
||||
@@ -645,6 +650,11 @@ class ShowPromociones extends Component
|
||||
'onDismissed' => '',
|
||||
'cancelButtonText' => 'Salir',
|
||||
'confirmButtonText' => 'Si',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -62,6 +62,11 @@ class ShowRoles extends Component
|
||||
'onDismissed' => '',
|
||||
'cancelButtonText' => 'Salir',
|
||||
'confirmButtonText' => 'Si',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -237,6 +237,11 @@ class ShowServicio extends Component
|
||||
'onDismissed' => '',
|
||||
'cancelButtonText' => 'Salir',
|
||||
'confirmButtonText' => 'Si',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,8 @@ class ShowTop extends Component
|
||||
}])
|
||||
->withCount(['historiales_venta' => function ($query) use ($month, $currentYear) {
|
||||
$query->whereMonth('fecha_inicio', $month)
|
||||
->whereYear('fecha_inicio', $currentYear);
|
||||
->whereYear('fecha_inicio', $currentYear)
|
||||
->where('estado', 'activo');
|
||||
}])
|
||||
->orderBy('historiales_venta_count', 'desc')
|
||||
->limit(10)
|
||||
@@ -66,7 +67,8 @@ class ShowTop extends Component
|
||||
}])
|
||||
->withCount(['historiales_venta' => function ($query) use ($month, $currentYear) {
|
||||
$query->whereMonth('fecha_inicio', $month)
|
||||
->whereYear('fecha_inicio', $currentYear);
|
||||
->whereYear('fecha_inicio', $currentYear)
|
||||
->where('estado', 'activo');
|
||||
}])
|
||||
->orderBy('historiales_venta_count', 'desc')
|
||||
->limit(10)
|
||||
|
||||
@@ -508,6 +508,11 @@ class ShowUsuarios extends Component
|
||||
'onDismissed' => '',
|
||||
'cancelButtonText' => 'Salir',
|
||||
'confirmButtonText' => 'Si',
|
||||
'customClass' => [
|
||||
'confirmButton' => 'bg-green-500',
|
||||
'denyButton' => 'bg-red-500',
|
||||
'cancelButton' => 'bg-gray-500',
|
||||
]
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user