refs #6861 feat:reservas previa
This commit is contained in:
parent
4636968674
commit
57ee6f3570
|
@ -313,7 +313,7 @@ class PasilleroViewModel(context: Context) : BaseViewModel(context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun inititializeDefaultDataInit(pasillero: PasillerosItemVO? = null) {
|
fun inititializeDefaultDataInit(pasillero: PasillerosItemVO? = null) {
|
||||||
|
val userId = (contextApp as MobileApplication).userId
|
||||||
if (pasillero != null) {
|
if (pasillero != null) {
|
||||||
_pasillerositem.add(pasillero)
|
_pasillerositem.add(pasillero)
|
||||||
} else {
|
} else {
|
||||||
|
@ -349,7 +349,7 @@ class PasilleroViewModel(context: Context) : BaseViewModel(context) {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
//val working_in_testMenu = false
|
//val working_in_testMenu = false
|
||||||
val userId = (contextApp as MobileApplication).userId
|
|
||||||
if (userId == 19591 || userId == 822) {
|
if (userId == 19591 || userId == 822) {
|
||||||
_pasillerositem.add(
|
_pasillerositem.add(
|
||||||
PasillerosItemVO(
|
PasillerosItemVO(
|
||||||
|
@ -362,8 +362,7 @@ class PasilleroViewModel(context: Context) : BaseViewModel(context) {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
val workingInTest = false
|
if (userId == 19591){
|
||||||
if (workingInTest) {
|
|
||||||
_pasillerositem.add(
|
_pasillerositem.add(
|
||||||
PasillerosItemVO(
|
PasillerosItemVO(
|
||||||
7,
|
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(
|
_pasillerositem.add(
|
||||||
PasillerosItemVO(
|
PasillerosItemVO(
|
||||||
7,
|
7,
|
||||||
|
|
Loading…
Reference in New Issue