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