refs #6861 feat:reservas previa

This commit is contained in:
Sergio De la torre 2024-04-23 08:05:19 +02:00
parent 4636968674
commit 57ee6f3570
1 changed files with 16 additions and 4 deletions

View File

@ -313,7 +313,7 @@ class PasilleroViewModel(context: Context) : BaseViewModel(context) {
}
fun inititializeDefaultDataInit(pasillero: PasillerosItemVO? = null) {
val userId = (contextApp as MobileApplication).userId
if (pasillero != null) {
_pasillerositem.add(pasillero)
} else {
@ -349,7 +349,7 @@ class PasilleroViewModel(context: Context) : BaseViewModel(context) {
)
)
//val working_in_testMenu = false
val userId = (contextApp as MobileApplication).userId
if (userId == 19591 || userId == 822) {
_pasillerositem.add(
PasillerosItemVO(
@ -362,8 +362,7 @@ class PasilleroViewModel(context: Context) : BaseViewModel(context) {
)
)
)
val workingInTest = false
if (workingInTest) {
if (userId == 19591){
_pasillerositem.add(
PasillerosItemVO(
7,
@ -522,6 +521,19 @@ class PasilleroViewModel(context: Context) : BaseViewModel(context) {
)
)
)
val userId = (contextApp as MobileApplication).userId
if (userId == 19591 || userId == 18404){
_pasillerositem.add(
PasillerosItemVO(
7,
R.drawable.ic_previous_presacador,
contextApp.getString(R.string.titlePrePickerTest),
R.string.titlePrePickerTest,
contextApp.getString(
R.string.titlePickerDescrip
)
)
)}
_pasillerositem.add(
PasillerosItemVO(
7,