Version 9.3 Modificadas llamas #4696. Añadido posibilidad de revisar items. Añadido color rojo Salix. Borrados comentarios

This commit is contained in:
Sergio De la torre 2022-11-07 12:10:04 +01:00
parent 480cee44bd
commit e0ffa0f0ec
29 changed files with 278 additions and 325 deletions

View File

@ -82,14 +82,37 @@
</select> </select>
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="fa688d1c-dbee-4864-9e33-4d84ef9afca8" name="Default Changelist" comment="Ticket_closure"> <list default="true" id="fa688d1c-dbee-4864-9e33-4d84ef9afca8" name="Default Changelist" comment="Modificado control ubicación">
<change afterPath="$PROJECT_DIR$/app/release/vn-pickingBeta.apk" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/app/build.gradle" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/app/build.gradle" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/release/output-metadata.json" beforeDir="false" afterPath="$PROJECT_DIR$/app/release/output-metadata.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/GetItemCardUserCase.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/GetItemCardUserCase.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragment.kt" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/GetPaletizadoresUserCase.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/GetPaletizadoresUserCase.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/GetSacadorControladorUserCase.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/GetSacadorControladorUserCase.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/VerdnaturaService.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/domain/VerdnaturaService.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/base/BaseFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/base/BaseFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/common/itemScanned.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/common/itemScanned.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardViewModel.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardViewModel.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/buffer/fragment/BufferFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/buffer/fragment/BufferFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/buffer/fragment/BufferFragmentViewModel.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/buffer/fragment/BufferFragmentViewModel.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/inventario/fragment/InventaryFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/inventario/fragment/InventaryFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/inventario/fragment/InventaryViewModel.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/inventario/fragment/InventaryViewModel.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/inventario/model/ItemInventaryVO.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/inventario/model/ItemInventaryVO.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/main/activity/MainActivity.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/main/activity/MainActivity.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/packaging/fragment/PackagingSummaryFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/packaging/fragment/PackagingSummaryFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/paletizador/fragment/CmrExpeditionPalletFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/paletizador/fragment/CmrExpeditionPalletFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/paletizador/fragment/CmrExpeditionPalletViewModel.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/paletizador/fragment/CmrExpeditionPalletViewModel.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/pasillero/fragment/PasilleroViewModel.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/pasillero/fragment/PasilleroViewModel.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/presacador/fragment/EndSacadorFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/presacador/fragment/EndSacadorFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/presacador/fragment/PreSacadorFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/presacador/fragment/PreSacadorFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/reposicion/fragment/ReposicionFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/reposicion/fragment/ReposicionFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/adapter/UbicadorAdapter.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/AutomaticAddItemFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/AutomaticAddItemFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragment.kt" afterDir="false" /> <change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragment.kt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/res/layout/item_inventary_row.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/layout/item_inventary_row.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/res/values-es/strings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/values-es/strings.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/res/values/colors.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/values/colors.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/src/main/res/values/strings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/values/strings.xml" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -100,7 +123,7 @@
<component name="CodeInsightWorkspaceSettings"> <component name="CodeInsightWorkspaceSettings">
<option name="optimizeImportsOnTheFly" value="true" /> <option name="optimizeImportsOnTheFly" value="true" />
</component> </component>
<component name="ExecutionTargetManager" SELECTED_TARGET="device_and_snapshot_combo_box_target[C:\Users\sergiodt\.android\avd\Pixel_3a_API_30_x86.avd]" /> <component name="ExecutionTargetManager" SELECTED_TARGET="device_and_snapshot_combo_box_target[21114523025303]" />
<component name="ExportToHTMLSettings"> <component name="ExportToHTMLSettings">
<option name="OPEN_IN_BROWSER" value="true" /> <option name="OPEN_IN_BROWSER" value="true" />
<option name="OUTPUT_DIRECTORY" value="C:\Program Files\Android\Android Studio\inspections" /> <option name="OUTPUT_DIRECTORY" value="C:\Program Files\Android\Android Studio\inspections" />
@ -407,13 +430,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1618825571576</updated> <updated>1618825571576</updated>
</task> </task>
<task id="LOCAL-00044" summary="Añadida funcionalidad de recuperar/guardar sector. Refactor Login. Cambiado icono que cerraba app en móviles viejos. Se añade campo prioridad. Pantalla de allo trabajador.">
<created>1644911413401</created>
<option name="number" value="00044" />
<option name="presentableId" value="LOCAL-00044" />
<option name="project" value="LOCAL" />
<updated>1644911413401</updated>
</task>
<task id="LOCAL-00045" summary="Añadido funcionalidad nueva de PreSacador y solucionado tema de la referencia en ItemCard. Cambiado forma de coger vehículo y arreglado volver atrás en controaldor"> <task id="LOCAL-00045" summary="Añadido funcionalidad nueva de PreSacador y solucionado tema de la referencia en ItemCard. Cambiado forma de coger vehículo y arreglado volver atrás en controaldor">
<created>1646409278855</created> <created>1646409278855</created>
<option name="number" value="00045" /> <option name="number" value="00045" />
@ -750,7 +766,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1667385476141</updated> <updated>1667385476141</updated>
</task> </task>
<option name="localTasksCounter" value="93" /> <task id="LOCAL-00093" summary="Modificado control ubicación">
<created>1667541612505</created>
<option name="number" value="00093" />
<option name="presentableId" value="LOCAL-00093" />
<option name="project" value="LOCAL" />
<updated>1667541612505</updated>
</task>
<option name="localTasksCounter" value="94" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.History.Properties"> <component name="Vcs.Log.History.Properties">
@ -792,7 +815,7 @@
<entry key="branch"> <entry key="branch">
<value> <value>
<list> <list>
<option value="test" /> <option value="master" />
</list> </list>
</value> </value>
</entry> </entry>
@ -852,7 +875,6 @@
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" /> <option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
<MESSAGE value="Version 8.6.1Beta, añadido ticketColor más grande, quitados colores items y permutado quantity por cel2. Quitados warnings" />
<MESSAGE value="Version 8.6.1Beta tareas #3601 refactor ivnentario.Tarea #3959(warnings deprecated,typedate,neverused)" /> <MESSAGE value="Version 8.6.1Beta tareas #3601 refactor ivnentario.Tarea #3959(warnings deprecated,typedate,neverused)" />
<MESSAGE value="Version 8.7 Reubicación, sector = SACADOR V, controlador no puede hacer parking si no están revisados todos los tickets," /> <MESSAGE value="Version 8.7 Reubicación, sector = SACADOR V, controlador no puede hacer parking si no están revisados todos los tickets," />
<MESSAGE value="Version 8.8Beta precio coste artículo, modificar tallos, mensajes error para items sin buyFk y ticket eliminado o viejo" /> <MESSAGE value="Version 8.8Beta precio coste artículo, modificar tallos, mensajes error para items sin buyFk y ticket eliminado o viejo" />
@ -877,7 +899,8 @@
<MESSAGE value="Version 9.2.1 en producción. Borrada Voz y Ajustes impresora" /> <MESSAGE value="Version 9.2.1 en producción. Borrada Voz y Ajustes impresora" />
<MESSAGE value="Version 9.2 Error encajado y en ver Ticket aparece ver la colección" /> <MESSAGE value="Version 9.2 Error encajado y en ver Ticket aparece ver la colección" />
<MESSAGE value="Version 9.4Beta Cmr, Control ubicación, volver atrás de Controlador, botón llamadas, volver pantalla anterior parking," /> <MESSAGE value="Version 9.4Beta Cmr, Control ubicación, volver atrás de Controlador, botón llamadas, volver pantalla anterior parking," />
<option name="LAST_COMMIT_MESSAGE" value="Version 9.4Beta Cmr, Control ubicación, volver atrás de Controlador, botón llamadas, volver pantalla anterior parking," /> <MESSAGE value="Modificado control ubicación" />
<option name="LAST_COMMIT_MESSAGE" value="Modificado control ubicación" />
</component> </component>
<component name="XDebuggerManager"> <component name="XDebuggerManager">
<breakpoint-manager> <breakpoint-manager>

View File

@ -14,7 +14,8 @@ android {
minSdkVersion 21 //21 minSdkVersion 21 //21
targetSdkVersion 30 targetSdkVersion 30
versionCode 141 versionCode 141
versionName = "9.4.1Beta" versionName = "9.3"
//versionName = "9.4.1Beta" 141
//versionName = "9.4Beta" versionCode 140 //versionName = "9.4Beta" versionCode 140
//versionName = 9.2 //versionName = 9.2
//versionName = "9.3.2Beta" versionCode 139 //versionName = "9.3.2Beta" versionCode 139

View File

@ -8,7 +8,6 @@ import es.verdnatura.presentation.view.feature.articulo.model.ItemPackingType
import es.verdnatura.presentation.view.feature.articulo.model.ItemProposal import es.verdnatura.presentation.view.feature.articulo.model.ItemProposal
import es.verdnatura.presentation.view.feature.historicoarticulo.model.ItemHistoricoVO import es.verdnatura.presentation.view.feature.historicoarticulo.model.ItemHistoricoVO
import retrofit2.Call import retrofit2.Call
import java.security.AuthProvider
class GetItemCardUserCase(context: Context) : RestClient(context) { class GetItemCardUserCase(context: Context) : RestClient(context) {
@ -16,9 +15,9 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
usuario: String, usuario: String,
password: String, password: String,
itemFk: String, itemFk: String,
warehouseFk: String warehouseFk: Int
): Call<ItemCardVO> { ): Call<ItemCardVO> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<Any> = ArrayList()
params.add(itemFk) params.add(itemFk)
params.add(warehouseFk) params.add(warehouseFk)
return restClient!!.getItemCard( return restClient!!.getItemCard(
@ -67,7 +66,7 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
) )
} }
fun getItemPackingTypeSalix(token:String): Call<List<ItemPackingType>> { fun getItemPackingTypeSalix(token: String): Call<List<ItemPackingType>> {
return salixClient!!.get_ItemPackingType( return salixClient!!.get_ItemPackingType(
content_type = "application/json", content_type = "application/json",
authorization = token authorization = token
@ -104,12 +103,12 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
fun itemTrash( fun itemTrash(
usuario: String, usuario: String,
password: String, password: String,
itemFk: String, itemFk: Int,
warehouseFk: String, warehouseFk: Int,
newVisible: String, newVisible: Int,
isTrash: String isTrash: Boolean
): Call<Any> { ): Call<Any> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<Any> = ArrayList()
params.add(itemFk) params.add(itemFk)
params.add(warehouseFk) params.add(warehouseFk)
params.add(newVisible) params.add(newVisible)
@ -124,35 +123,35 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
) )
} }
/* fun itemPlacementSave( /* fun itemPlacementSave(
usuario: String, usuario: String,
password: String, password: String,
itemFk: String, itemFk: String,
warehouseFk: String, warehouseFk: String,
value: String value: String
): Call<String> { ): Call<String> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<String> = ArrayList()
params.add(itemFk) params.add(itemFk)
params.add(warehouseFk) params.add(warehouseFk)
params.add(value) params.add(value)
return restClient!!.itemPlacementSave( return restClient!!.itemPlacementSave(
"json", "json",
"1", "1",
usuario, usuario,
password, password,
"application/json", "application/json",
params = params params = params
) )
}*/ }*/
fun updateGrouping( fun updateGrouping(
usuario: String, usuario: String,
password: String, password: String,
itemFk: String, itemFk: Int,
value: String, value: Int,
warehouseFk: String warehouseFk: Int
): Call<Any> { ): Call<Any> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<Int> = ArrayList()
params.add(itemFk) params.add(itemFk)
params.add(value) params.add(value)
params.add(warehouseFk) params.add(warehouseFk)
@ -169,11 +168,11 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
fun updatePacking( fun updatePacking(
usuario: String, usuario: String,
password: String, password: String,
itemFk: String, itemFk: Int,
value: String, value: Int,
warehouseFk: String warehouseFk: Int
): Call<Any> { ): Call<Any> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<Any> = ArrayList()
params.add(itemFk) params.add(itemFk)
params.add(value) params.add(value)
params.add(warehouseFk) params.add(warehouseFk)
@ -207,26 +206,27 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
}*/ }*/
fun updatePackingTypeSalix( fun updatePackingTypeSalix(
token:String, token: String,
itemFk: String, itemFk: String,
ItemPackingType: String ItemPackingType: String
): Call<Any> { ): Call<Any> {
val params=itemPackingTypeSalix(ItemPackingType) val params = itemPackingTypeSalix(ItemPackingType)
return salixClient!!.update_ItemPackingType( return salixClient!!.update_ItemPackingType(
content_type ="application/json", content_type = "application/json",
authorization = token, authorization = token,
itemFk = itemFk, itemFk = itemFk,
params = params params = params
) )
} }
fun item_saveStems( fun item_saveStems(
usuario: String, usuario: String,
password: String, password: String,
itemFk: String, itemFk: Int,
value: String value: Int
): Call<Any> { ): Call<Any> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<Int> = ArrayList()
params.add(itemFk) params.add(itemFk)
params.add(value) params.add(value)
return restClient!!.item_saveStems( return restClient!!.item_saveStems(
@ -242,10 +242,10 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
fun item_saveReference( fun item_saveReference(
usuario: String, usuario: String,
password: String, password: String,
itemFk: String, itemFk: Int,
value: String value: Int
): Call<Unit> { ): Call<Unit> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<Int> = ArrayList()
params.add(itemFk) params.add(itemFk)
params.add(value) params.add(value)
return restClient!!.item_saveReference( return restClient!!.item_saveReference(
@ -255,7 +255,7 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
password, password,
"application/json", "application/json",
params = params params = params
) )
} }
@ -282,16 +282,16 @@ class GetItemCardUserCase(context: Context) : RestClient(context) {
fun barcodes_editSalix( fun barcodes_editSalix(
token:String, token: String,
itemFk: String, itemFk: String,
value: String, value: String,
): Call<Any> { ): Call<Any> {
return salixClient!!.barcodes_edit( return salixClient!!.barcodes_edit(
content_type = "application/json", content_type = "application/json",
authorization=token, authorization = token,
itemBarCodeSalix(itemFk,value) itemBarCodeSalix(itemFk, value)
) )
} }

View File

@ -11,10 +11,10 @@ class GetPaletizadoresUserCase(context: Context) : RestClient(context) {
fun buffer_setTypeByName( fun buffer_setTypeByName(
usuario: String, usuario: String,
password: String, password: String,
vBufferFk: String, vBufferFk: Int,
vType: String vType: String
): Call<Boolean> { ): Call<Boolean> {
val params: ArrayList<String> = ArrayList() val params: ArrayList<Any> = ArrayList()
params.add(vBufferFk) params.add(vBufferFk)
params.add(vType) params.add(vType)
return restClient!!.buffer_setTypeByName( return restClient!!.buffer_setTypeByName(
@ -45,10 +45,10 @@ class GetPaletizadoresUserCase(context: Context) : RestClient(context) {
fun cmrExpeditionPallet_add( fun cmrExpeditionPallet_add(
usuario: String, usuario: String,
password: String, password: String,
vExpeditionPallet: String?, vExpeditionPallet: Int,
vCmrId: String? vCmrId: Int
): Call<Void> { ): Call<Void> {
val params: ArrayList<String?> = ArrayList() val params: ArrayList<Int> = ArrayList()
params.add(vExpeditionPallet) params.add(vExpeditionPallet)
params.add(vCmrId) params.add(vCmrId)

View File

@ -68,38 +68,6 @@ class GetSacadorControladorUserCase(context: Context) : RestClient(context) {
} }
/* fun sip_getExtensionSalix(
token:String,
WorkerId: String
): Call<Any> {
val params: ArrayList<String> = ArrayList()
params.add(WorkerId)
return salixClient!!.sip_getExtension(
content_type = "application/json",
authorization = token,
idWorker=WorkerId
)
}
fun sip_getExtension(
usuario: String,
password: String,
WorkerId: String
): Call<String> {
val params: ArrayList<String> = ArrayList()
params.add(WorkerId)
return restClient!!.sip_getExtension(
"json",
"1",
usuario,
password,
"application/json",
params
)
}
*/
fun ticket_checkFullyControlled( fun ticket_checkFullyControlled(
usuario: String, usuario: String,
password: String, password: String,

View File

@ -807,7 +807,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String> @Body params: List<Any>
): ):
Call<ItemCardVO> Call<ItemCardVO>
@ -851,7 +851,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String> @Body params: List<Any>
): ):
Call<Any> Call<Any>
@ -873,7 +873,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String> @Body params: List<Int>
): ):
Call<Any> Call<Any>
@ -884,7 +884,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String> @Body params: List<Any>
): ):
Call<Any> Call<Any>
@ -906,7 +906,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String> @Body params: List<Int>
): ):
Call<Any> Call<Any>
@ -917,7 +917,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String> @Body params: List<Int>
): ):
Call<Unit> Call<Unit>
@ -1262,7 +1262,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String> @Body params: List<Any>
): ):
Call<Boolean> Call<Boolean>
@ -1299,7 +1299,7 @@ interface VerdnaturaService {
@Header("user") user: String, @Header("user") user: String,
@Header("pass") pass: String, @Header("pass") pass: String,
@Header("Content-Type") content_type: String, @Header("Content-Type") content_type: String,
@Body params: List<String?> @Body params: List<Int>
): ):
Call<Void> Call<Void>

View File

@ -3,6 +3,6 @@ package es.verdnatura.presentation.common
import org.json.JSONObject import org.json.JSONObject
data class itemScanned(var scanned: JSONObject) { data class itemScanned(var scanned: JSONObject) {
var table: String? = scanned.get("table").toString() var table: String = scanned.get("table").toString()
var id: String? = scanned.get("id").toString() var id: Int = scanned.get("id").toString().toInt()
} }

View File

@ -37,7 +37,7 @@ class ItemCardFragment(
private var titleImage: String = "" private var titleImage: String = ""
private var user = "" private var user = ""
private var password = "" private var password = ""
private var warehouseFk = "" private var warehouseFk:Int? = null
private var adapter: ItemCardAdapter? = null private var adapter: ItemCardAdapter? = null
private var barcodeAdapter: BarcodeAdapter? = null private var barcodeAdapter: BarcodeAdapter? = null
private var listItemsRow: ArrayList<ItemCardRowVO> = ArrayList() private var listItemsRow: ArrayList<ItemCardRowVO> = ArrayList()
@ -51,7 +51,6 @@ class ItemCardFragment(
fun newInstance(entryPoint: String) = ItemCardFragment(entryPoint) fun newInstance(entryPoint: String) = ItemCardFragment(entryPoint)
} }
// private lateinit var customDialog: CustomDialog
private lateinit var customDialogInput: CustomDialogInput private lateinit var customDialogInput: CustomDialogInput
private lateinit var customDialogList: CustomDialogList private lateinit var customDialogList: CustomDialogList
private lateinit var customDialogTwo: CustomDialogTwoButtons private lateinit var customDialogTwo: CustomDialogTwoButtons
@ -185,12 +184,12 @@ class ItemCardFragment(
user = getData(USER) user = getData(USER)
password = getData(PASSWORD) password = getData(PASSWORD)
warehouseFk = getData(WAREHOUSEFK) warehouseFk = getData(WAREHOUSEFK).toInt()
this.itemFk = itemFk this.itemFk = itemFk.toString()
binding.splashProgressTwo.visibility = View.VISIBLE binding.splashProgressTwo.visibility = View.VISIBLE
viewModel.getItemCard(itemFk, warehouseFk, user, password) viewModel.getItemCard(itemFk, warehouseFk!!, user, password)
binding.splashProgress.visibility = View.VISIBLE binding.splashProgress.visibility = View.VISIBLE
@ -456,7 +455,7 @@ class ItemCardFragment(
.setDescription(getString(R.string.currentVAlue) + if(item.value.isNullOrEmpty()) "" else{item.value}) .setDescription(getString(R.string.currentVAlue) + if(item.value.isNullOrEmpty()) "" else{item.value})
.setOkButton(getString(R.string.save)) { .setOkButton(getString(R.string.save)) {
ma.hideKeyboard(customDialogInput.getEditText()) ma.hideKeyboard(customDialogInput.getEditText())
editItemCardRow(item, customDialogInput.getValue()) editItemCardRow(item, customDialogInput.getValue().toInt())
customDialogInput.dismiss() customDialogInput.dismiss()
}.setKoButton(getString(R.string.cancel)) { }.setKoButton(getString(R.string.cancel)) {
@ -469,7 +468,7 @@ class ItemCardFragment(
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) { if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) {
if (!customDialogInput.getValue().isNullOrEmpty()) if (!customDialogInput.getValue().isNullOrEmpty())
editItemCardRow(item, customDialogInput.getValue()) editItemCardRow(item, customDialogInput.getValue().toInt())
customDialogInput.setValue("") customDialogInput.setValue("")
customDialogInput.dismiss() customDialogInput.dismiss()
ma.hideKeyboard(customDialogInput.getEditText()) ma.hideKeyboard(customDialogInput.getEditText())
@ -491,7 +490,7 @@ class ItemCardFragment(
.setDescription(getString(R.string.quantityToRegister)) .setDescription(getString(R.string.quantityToRegister))
.setOkButton(getString(R.string.save)) { .setOkButton(getString(R.string.save)) {
ma.hideKeyboard(customDialogInput.getEditText()) ma.hideKeyboard(customDialogInput.getEditText())
editItemCardRow(item, customDialogInput.getValue()) editItemCardRow(item, customDialogInput.getValue().toInt())
customDialogInput.dismiss() customDialogInput.dismiss()
}.setKoButton(getString(R.string.cancel)) { }.setKoButton(getString(R.string.cancel)) {
@ -503,7 +502,7 @@ class ItemCardFragment(
.setOnEditorActionListener { _, actionId, _ -> .setOnEditorActionListener { _, actionId, _ ->
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) { if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) {
if (!customDialogInput.getValue().isNullOrEmpty()) if (!customDialogInput.getValue().isNullOrEmpty())
editItemCardRow(item, customDialogInput.getValue()) editItemCardRow(item, customDialogInput.getValue().toInt())
customDialogInput.setValue("") customDialogInput.setValue("")
customDialogInput.dismiss() customDialogInput.dismiss()
ma.hideKeyboard(customDialogInput.getEditText()) ma.hideKeyboard(customDialogInput.getEditText())
@ -516,7 +515,7 @@ class ItemCardFragment(
.setDescription(getString(R.string.quantityToUnregister)) .setDescription(getString(R.string.quantityToUnregister))
.setOkButton(getString(R.string.save)) { .setOkButton(getString(R.string.save)) {
ma.hideKeyboard(customDialogInput.getEditText()) ma.hideKeyboard(customDialogInput.getEditText())
editItemCardRow(item, customDialogInput.getValue()) editItemCardRow(item, customDialogInput.getValue().toInt())
customDialogInput.dismiss() customDialogInput.dismiss()
}.setKoButton(getString(R.string.cancel)) { }.setKoButton(getString(R.string.cancel)) {
@ -528,7 +527,7 @@ class ItemCardFragment(
.setOnEditorActionListener { _, actionId, _ -> .setOnEditorActionListener { _, actionId, _ ->
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) { if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) {
if (!customDialogInput.getValue().isNullOrEmpty()) if (!customDialogInput.getValue().isNullOrEmpty())
editItemCardRow(item, customDialogInput.getValue()) editItemCardRow(item, customDialogInput.getValue().toInt())
customDialogInput.setValue("") customDialogInput.setValue("")
customDialogInput.dismiss() customDialogInput.dismiss()
ma.hideKeyboard(customDialogInput.getEditText()) ma.hideKeyboard(customDialogInput.getEditText())
@ -554,7 +553,7 @@ class ItemCardFragment(
binding.splashProgressTwo.visibility = GONE binding.splashProgressTwo.visibility = GONE
} }
private fun editItemCardRow(item: ItemCardRowVO, value: String) { private fun editItemCardRow(item: ItemCardRowVO, value: Int) {
when (item.action) { when (item.action) {
// cau:sergio itemTrash x itemStock Update . No se utiliza esta funicón // cau:sergio itemTrash x itemStock Update . No se utiliza esta funicón
@ -570,27 +569,27 @@ class ItemCardFragment(
"itemPlacementSave" "itemPlacementSave"
)*/ )*/
"updateGrouping" -> viewModel.updateGrouping( "updateGrouping" -> viewModel.updateGrouping(
itemFk = itemFk, itemFk = itemFk.toInt(),
user = user, user = user,
password = password, password = password,
value = value, value = value,
warehouseFk = warehouseFk warehouseFk = warehouseFk!!
) )
"updatePacking" -> viewModel.updatePacking( "updatePacking" -> viewModel.updatePacking(
itemFk = itemFk, itemFk = itemFk.toInt(),
user = user, user = user,
password = password, password = password,
value = value, value = value,
warehouseFk = warehouseFk warehouseFk = warehouseFk!!
) )
"itemSaveStem" -> viewModel.item_saveStems( "itemSaveStem" -> viewModel.item_saveStems(
itemFk = itemFk, itemFk = itemFk.toInt(),
user = user, user = user,
password = password, password = password,
value = value value = value
) )
"item_saveReference" -> viewModel.item_saveReference( "item_saveReference" -> viewModel.item_saveReference(
itemFk = itemFk, itemFk = itemFk.toInt(),
user = user, user = user,
password = password, password = password,
value = value value = value
@ -609,58 +608,7 @@ class ItemCardFragment(
binding.splashProgress.visibility = View.VISIBLE binding.splashProgress.visibility = View.VISIBLE
} }
/* private fun changeOfflineValue(item:ItemCardRowVO,newValue:String, barcodes:List<BarcodeVO>){ private fun prepareItemStockUpdate2(itemB: ItemCardRowVO, value: Int) {
binding.splashProgress.visibility = View.VISIBLE
//sergio: esta parte ya estaba comentada
/*var i = 0
var position = 0
listItemsRow.forEach {
if (it.title == item.title) {
position = i
}
i = i.plus(1)
}
if (listItemsRow.get(position).title != "BARCODE") listItemsRow.get(position).value = newValue
else listItemsRow.get(position).barcodes = barcodes
adapter?.notifyDataSetChanged()*/
}*/
/* private fun prepareItemStockUpdate(itemB:ItemCardRowVO,value:String){
//sergio: cau: no se llama a esta función itemTrash itemStockUpdate
try{
if (itemB.value!!.toInt() > value.toInt()) {
customDialogTwo.setTitle(itemB.title!!).setDescription("Indica la causa de eliminar stock:").setOkButton("Falta"){
viewModel.itemStockUpdate(itemFk = itemFk,warehouseFk = warehouseFk,user = user,password = password,newValue = value,isTrash = "0")
changeOfflineValue(itemB,value, listBarcodes)
customDialogTwo.dismiss()
}.setOkButtonTwo("Basura"){
viewModel.itemStockUpdate(itemFk = itemFk,warehouseFk = warehouseFk,user = user,password = password,newValue = value,isTrash = "1")
changeOfflineValue(itemB,value, listBarcodes)
customDialogTwo.dismiss()
}.setKoButton(getString(R.string.cancel)){
customDialogTwo.dismiss()
}.show()
}else{
changeOfflineValue(itemB,value, listBarcodes)
viewModel.itemStockUpdate(itemFk = itemFk,warehouseFk = warehouseFk,user = user,password = password,newValue = value,isTrash = "0")
}
}catch (e:Exception){
binding.itemcardLayout.visibility = View.GONE
customDialog.setTitle(getString(R.string.error)).setDescription("El elemento introducido no es un número").setKoButton(getString(R.string.cancel)){
customDialog.dismiss()
}.show()
}
}*/
private fun prepareItemStockUpdate2(itemB: ItemCardRowVO, value: String) {
try { try {
value.toInt() value.toInt()
@ -669,12 +617,12 @@ class ItemCardFragment(
.setDescription(getString(R.string.deleteStock)) .setDescription(getString(R.string.deleteStock))
.setOkButton(getString(R.string.fault)) { .setOkButton(getString(R.string.fault)) {
viewModel.itemTrash( viewModel.itemTrash(
itemFk = itemFk, itemFk = itemFk.toInt(),
warehouseFk = warehouseFk, warehouseFk = warehouseFk!!,
user = user, user = user,
password = password, password = password,
newValue = value, newValue = value,
isTrash = "0" isTrash = false
) )
//changeOfflineValue(itemB,value, listBarcodes) //changeOfflineValue(itemB,value, listBarcodes)
@ -683,12 +631,12 @@ class ItemCardFragment(
}.setOkButtonTwo(getString(R.string.trash)) { }.setOkButtonTwo(getString(R.string.trash)) {
viewModel.itemTrash( viewModel.itemTrash(
itemFk = itemFk, itemFk = itemFk.toInt(),
warehouseFk = warehouseFk, warehouseFk = warehouseFk!!,
user = user, user = user,
password = password, password = password,
newValue = value, newValue = value,
isTrash = "1" isTrash = true
) )
//changeOfflineValue(itemB,value, listBarcodes) //changeOfflineValue(itemB,value, listBarcodes)
@ -703,12 +651,12 @@ class ItemCardFragment(
//changeOfflineValue(itemB,value, listBarcodes) //changeOfflineValue(itemB,value, listBarcodes)
showProgress() showProgress()
viewModel.itemTrash( viewModel.itemTrash(
itemFk = itemFk, itemFk = itemFk.toInt(),
warehouseFk = warehouseFk, warehouseFk = warehouseFk!!,
user = user, user = user,
password = password, password = password,
newValue = (value.toInt() * -1).toString(), newValue = (value * -1),
isTrash = "0" isTrash = false
) )
} }
@ -749,6 +697,8 @@ class ItemCardFragment(
barcodeAdapter = BarcodeAdapter(listBarcodes, object : OnBarcodeRowClickListener { barcodeAdapter = BarcodeAdapter(listBarcodes, object : OnBarcodeRowClickListener {
override fun onBarcodeRowClickListener(item: BarcodeVO) { override fun onBarcodeRowClickListener(item: BarcodeVO) {
updateBarcode(item.code!!, "1", itemB) updateBarcode(item.code!!, "1", itemB)
customDialogList.setValue("")
customDialogList.dismiss()
} }
}) })
customDialogList.getRecyclerView().adapter = barcodeAdapter customDialogList.getRecyclerView().adapter = barcodeAdapter
@ -767,20 +717,6 @@ class ItemCardFragment(
i += 1 i += 1
} }
listBarcodes.removeAt(posDelete) listBarcodes.removeAt(posDelete)
} else {
listBarcodes.add(BarcodeVO(code))
}
// var working_in_test=false //sergio:Revisar como borrar directamente en Salix o crear proc en back para borrar.
if (delete == "0") {
viewModel.barcodesEditSalix(
token = getData(TOKEN),
itemFk = itemInfoG!!.id,
barCodeValue = code,
)
} else {
viewModel.barcodesEdit( viewModel.barcodesEdit(
itemFk = itemInfoG!!.id, itemFk = itemInfoG!!.id,
user = user, user = user,
@ -788,7 +724,17 @@ class ItemCardFragment(
value = code, value = code,
delete = delete, delete = delete,
) )
} else {
listBarcodes.add(BarcodeVO(code))
viewModel.barcodesEditSalix(
token = getData(TOKEN),
itemFk = itemInfoG!!.id,
barCodeValue = code)
} }
// var working_in_test=false //sergio:Revisar como borrar directamente en Salix o crear proc en back para borrar.
barcodeAdapter!!.notifyDataSetChanged() barcodeAdapter!!.notifyDataSetChanged()
showProgress() showProgress()

View File

@ -38,7 +38,7 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
fun getItemCard( fun getItemCard(
itemFk: String, itemFk: String,
warehouseFk: String, warehouseFk: Int,
user: String, user: String,
password: String password: String
@ -212,12 +212,12 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
fun itemTrash( fun itemTrash(
itemFk: String, itemFk: Int,
warehouseFk: String, warehouseFk: Int,
user: String, user: String,
password: String, password: String,
newValue: String, newValue: Int,
isTrash: String isTrash: Boolean
) { ) {
getItemCardUserCase.itemTrash(user, password, itemFk, warehouseFk, newValue, isTrash) getItemCardUserCase.itemTrash(user, password, itemFk, warehouseFk, newValue, isTrash)
.enqueue(object : Callback<Any> { .enqueue(object : Callback<Any> {
@ -249,11 +249,11 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
fun updateGrouping( fun updateGrouping(
itemFk: String, itemFk: Int,
user: String, user: String,
password: String, password: String,
value: String, value: Int,
warehouseFk: String warehouseFk: Int
) { ) {
getItemCardUserCase.updateGrouping(user, password, itemFk, value, warehouseFk) getItemCardUserCase.updateGrouping(user, password, itemFk, value, warehouseFk)
@ -285,11 +285,11 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
} }
fun updatePacking( fun updatePacking(
itemFk: String, itemFk: Int,
user: String, user: String,
password: String, password: String,
value: String, value: Int,
warehouseFk: String warehouseFk: Int
) { ) {
getItemCardUserCase.updatePacking(user, password, itemFk, value, warehouseFk) getItemCardUserCase.updatePacking(user, password, itemFk, value, warehouseFk)
@ -351,10 +351,10 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
} }
fun item_saveStems( fun item_saveStems(
itemFk: String, itemFk: Int,
user: String, user: String,
password: String, password: String,
value: String value: Int
) { ) {
getItemCardUserCase.item_saveStems(user, password, itemFk, value) getItemCardUserCase.item_saveStems(user, password, itemFk, value)
@ -386,10 +386,10 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
} }
fun item_saveReference( fun item_saveReference(
itemFk: String, itemFk: Int,
user: String, user: String,
password: String, password: String,
value: String value: Int
) { ) {
getItemCardUserCase.item_saveReference(user, password, itemFk, value) getItemCardUserCase.item_saveReference(user, password, itemFk, value)
@ -439,7 +439,7 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
override fun onResponse(call: Call<Any>, response: Response<Any>) { override fun onResponse(call: Call<Any>, response: Response<Any>) {
if (response.isSuccessful) { if (response.isSuccessful) {
_response.value = ResponseItemVO( _response.value = ResponseItemVO(
isError = true, isError = false,
errorMessage = getMessageFromAllResponse( errorMessage = getMessageFromAllResponse(
nameofFunction(this), nameofFunction(this),
response.message() response.message()

View File

@ -1,6 +1,5 @@
package es.verdnatura.presentation.view.feature.buffer.fragment package es.verdnatura.presentation.view.feature.buffer.fragment
import android.os.Bundle
import android.view.View import android.view.View
import android.view.inputmethod.EditorInfo import android.view.inputmethod.EditorInfo
import androidx.lifecycle.Observer import androidx.lifecycle.Observer
@ -12,8 +11,6 @@ class BufferFragment(
var entryPoint: String = "" var entryPoint: String = ""
) : BaseFragment<FragmentBufferBinding, BufferFragmentViewModel>(BufferFragmentViewModel::class) { ) : BaseFragment<FragmentBufferBinding, BufferFragmentViewModel>(BufferFragmentViewModel::class) {
private var password = ""
//private var goBack: Boolean = false
override fun getLayoutId(): Int = R.layout.fragment_buffer override fun getLayoutId(): Int = R.layout.fragment_buffer
companion object { companion object {
@ -22,7 +19,7 @@ class BufferFragment(
override fun init() { override fun init() {
binding.splashProgress.visibility = View.GONE binding.splashProgress.visibility = View.GONE
setToolbar() setToolbar()
setEvents() setEvents()
@ -30,16 +27,9 @@ class BufferFragment(
} }
private fun setToolbar() { private fun setToolbar() {
binding.mainToolbar.toolbarTitle.text = entryPoint binding.mainToolbar.toolbarTitle.text = entryPoint
} }
override fun onCreate(savedInstanceState: Bundle?) {
password = getData(PASSWORD)
super.onCreate(savedInstanceState)
}
private fun setEvents() { private fun setEvents() {
binding.mainToolbar.backButton.setOnClickListener { binding.mainToolbar.backButton.setOnClickListener {
@ -47,34 +37,31 @@ class BufferFragment(
} }
binding.scanInput.requestFocus() binding.scanInput.requestFocus()
binding.scanInput.setOnEditorActionListener { _, actionId, _ -> binding.scanInput.setOnEditorActionListener { _, actionId, _ ->
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) { if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0) {
// goBack = false if (!binding.scanInput.text.isNullOrEmpty()) {
if (! binding.scanInput.text.isNullOrEmpty()) {
binding.splashProgress.visibility = View.VISIBLE binding.splashProgress.visibility = View.VISIBLE
when (entryPoint) {
when (entryPoint){ getString(R.string.titleBufferEmpty) -> entryPoint = "UNLOADING"
getString(R.string.titleBufferFill) -> entryPoint = "LOADING"
getString(R.string.titleBufferEmpty)->entryPoint="UNLOADING" getString(R.string.titleBufferAccumulate) -> entryPoint = "ACCUMULATION"
getString(R.string.titleBufferFill)-> entryPoint="LOADING" getString(R.string.titleBufferOff) -> entryPoint = "DISABLED"
getString(R.string.titleBufferAccumulate)->entryPoint="ACCUMULATION" getString(R.string.titleBufferStrapping) -> entryPoint = "STRAPPING"
getString(R.string.titleBufferOff)->entryPoint="DISABLED"
getString(R.string.titleBufferStrapping)->entryPoint="STRAPPING"
} }
viewModel.buffer_setTypeByName( viewModel.buffer_setTypeByName(
getData(USER), getData(USER),
getData(PASSWORD), getData(PASSWORD),
binding.scanInput.text.toString(), binding.scanInput.text.toString().toInt(),
entryPoint entryPoint
)
)
} }
binding.scanInput.setText("") binding.scanInput.setText("")
ma.hideKeyboard( binding.scanInput) ma.hideKeyboard(binding.scanInput)
return@setOnEditorActionListener true return@setOnEditorActionListener true
} }
false false
@ -89,11 +76,18 @@ class BufferFragment(
if (it.isError) { if (it.isError) {
ma.messageWithSound( ma.messageWithSound(
getString(R.string.errorOperation)+ it.errorMessage,it.isError,isPlayed = true) getString(R.string.errorOperation) + it.errorMessage,
it.isError,
isPlayed = true
)
} else { } else {
ma.messageWithSound(entryPoint.lowercase() + getString (R.string.operationSuccess),false,isPlayed = true) ma.messageWithSound(
entryPoint.lowercase() + "." + getString(R.string.operationSuccess),
false,
isPlayed = true
)
binding.mainToolbar.backButton.performClick() binding.mainToolbar.backButton.performClick()
} }

View File

@ -32,7 +32,7 @@ class BufferFragmentViewModel(context: Context) : BaseViewModel() {
fun buffer_setTypeByName(user: String, password: String, vBufferFk: String, vType: String){ fun buffer_setTypeByName(user: String, password: String, vBufferFk: Int, vType: String){
GetPaletizadoresUserCase.buffer_setTypeByName(user, password, vBufferFk, vType) GetPaletizadoresUserCase.buffer_setTypeByName(user, password, vBufferFk, vType)
.enqueue(object : Callback<Boolean> { .enqueue(object : Callback<Boolean> {
override fun onFailure(call: Call<Boolean>, t: Throwable) { override fun onFailure(call: Call<Boolean>, t: Throwable) {

View File

@ -211,7 +211,7 @@ class InventaryFragment :
listInvetory = ArrayList() listInvetory = ArrayList()
listInvetoryAux = ArrayList() listInvetoryAux = ArrayList()
it.list.forEach { it.list.forEach {
if (it.nicho != "0") { if (it.nicho != 0) {
listInvetory.add(it) listInvetory.add(it)
listInvetoryAux.add(it) listInvetoryAux.add(it)
} }
@ -225,12 +225,12 @@ class InventaryFragment :
.setOkButton(getString(R.string.pull)) { .setOkButton(getString(R.string.pull)) {
binding.splashProgress.visibility = View.VISIBLE binding.splashProgress.visibility = View.VISIBLE
viewModel.itemTrash( viewModel.itemTrash(
item.itemFk, item.itemFk.toInt(),
getData(WAREHOUSEFK), getData(WAREHOUSEFK).toInt(),
getData(USER), getData(USER),
getData(PASSWORD), getData(PASSWORD),
item.nicho, item.nicho,
"0" false
) )
itemClicked = item itemClicked = item
customDialog.dismiss() customDialog.dismiss()

View File

@ -174,12 +174,12 @@ class InventaryViewModel(context: Context) : BaseViewModel() {
//sergio: se modifica por CAU a itemTrash //sergio: se modifica por CAU a itemTrash
fun itemTrash( fun itemTrash(
itemFk: String, itemFk: Int,
warehouseFk: String, warehouseFk: Int,
user: String, user: String,
password: String, password: String,
newValue: String, newValue: Int,
isTrash: String isTrash: Boolean
) { ) {

View File

@ -7,7 +7,7 @@ class ItemInventaryVO(
var producer: String = "", var producer: String = "",
var downstairs: String = "", var downstairs: String = "",
var upstairs: String = "", var upstairs: String = "",
var nicho: String = "", var nicho: Int = 0,
var isError: Boolean = false, var isError: Boolean = false,
var errorMessage: String = "" var errorMessage: String = ""
) )

View File

@ -319,9 +319,6 @@ class MainActivity : BaseActivity<ActivityMainBinding>(), OnPasillerosItemClickL
override fun onPasillerosItemClickListener(item: PasillerosItemVO, entryPoint: String) { override fun onPasillerosItemClickListener(item: PasillerosItemVO, entryPoint: String) {
/* d("VERDNATURA::","El title es "+item.title)
d("VERDNATURA::","El titleTOsHOW es "+item.titleToShow)
d("VERDNATURA::","El entryPoint es "+entryPoint)*/
when (item.title) { when (item.title) {
getString(R.string.titleSmarttagPickerAssociate) -> { getString(R.string.titleSmarttagPickerAssociate) -> {
@ -445,7 +442,11 @@ class MainActivity : BaseActivity<ActivityMainBinding>(), OnPasillerosItemClickL
addFragmentOnTop(UbicadorFragment.newInstance(entryPoint)) addFragmentOnTop(UbicadorFragment.newInstance(entryPoint))
} }
getString(R.string.titleAuto) -> { getString(R.string.titleAuto) -> {
addFragmentOnTop(AutomaticAddItemFragment.newInstance(entryPoint)) addFragmentOnTop(AutomaticAddItemFragment.newInstance(entryPoint,item.title))
}
getString(R.string.titlechecker) -> {
addFragmentOnTop(AutomaticAddItemFragment.newInstance(entryPoint,item.title))
} }
getString(R.string.titleQuality) -> { getString(R.string.titleQuality) -> {

View File

@ -61,7 +61,6 @@ class PackagingSummaryFragment(
override fun init() { override fun init() {
binding.splashProgress.visibility = View.VISIBLE
binding.totalImages.text = getData("ENTRYNUMBERIMAGES") binding.totalImages.text = getData("ENTRYNUMBERIMAGES")
binding.observations.text=getData("ENTRYOBSERVATIONS") binding.observations.text=getData("ENTRYOBSERVATIONS")
@ -82,7 +81,7 @@ class PackagingSummaryFragment(
customDialogInput = CustomDialogInput(requireContext()) customDialogInput = CustomDialogInput(requireContext())
customDialog = CustomDialog(requireContext()) customDialog = CustomDialog(requireContext())
ma.hideBottomNavigation(View.GONE) ma.hideBottomNavigation(View.GONE)
binding.splashProgress.visibility = View.VISIBLE binding.splashProgress.visibility = View.GONE
setToolBar() setToolBar()
setEvents() setEvents()
super.init() super.init()

View File

@ -40,15 +40,15 @@ class CmrExpeditionPalletFragment(
binding.mainToolbar.toolbarTitle.text = title binding.mainToolbar.toolbarTitle.text = title
} }
private fun cmrExpeditionPallet_add(vExpeditionPallet: String?, vCmrId: String?) { private fun cmrExpeditionPallet_add(vExpeditionPallet: Int?, vCmrId: Int?) {
customDialogList.dismiss() customDialogList.dismiss()
binding.splashProgress.visibility = View.VISIBLE binding.splashProgress.visibility = View.VISIBLE
viewModel.cmrExpeditionPallet_add( viewModel.cmrExpeditionPallet_add(
getData(USER), getData(USER),
getData(PASSWORD), getData(PASSWORD),
vExpeditionPallet, vExpeditionPallet!!,
vCmrId vCmrId!!
) )
} }
@ -98,9 +98,9 @@ class CmrExpeditionPalletFragment(
customDialogList.setHint(true) customDialogList.setHint(true)
customDialogList.setValue("") customDialogList.setValue("")
customDialogList.setValueTwo("") customDialogList.setValueTwo("")
customDialogList.setInfoTex("Código QR o PALLET") customDialogList.setInfoTex(getString(R.string.codeQrORPallet))
customDialogList.setInfoTextTwo("Código QR o CMR") customDialogList.setInfoTextTwo(getString(R.string.codeQrOrCMR))
customDialogList.setTitle("Escanea los valores : ") customDialogList.setTitle(getString(R.string.scanValues))
customDialogList.setHint(false) customDialogList.setHint(false)
customDialogList.setOkButton(getString(R.string.end)) { customDialogList.setOkButton(getString(R.string.end)) {
@ -130,7 +130,7 @@ class CmrExpeditionPalletFragment(
} else { } else {
// action = false // action = false
customDialogList.setValue(dataScanned!!.id!!) customDialogList.setValue(dataScanned!!.id.toString())
customDialogList.setHint(true) customDialogList.setHint(true)
if (dataScanned!!.table == "cmr") { if (dataScanned!!.table == "cmr") {
customDialogList.setInfoTextTwo(getString(R.string.scanLabelPallet)) customDialogList.setInfoTextTwo(getString(R.string.scanLabelPallet))
@ -156,8 +156,8 @@ class CmrExpeditionPalletFragment(
dataScannedTwo = itemScan(customDialogList.getValueTwo()) dataScannedTwo = itemScan(customDialogList.getValueTwo())
if (dataScannedTwo == null) { if (dataScannedTwo == null) {
cmrExpeditionPallet_add( cmrExpeditionPallet_add(
customDialogList.getValue(), customDialogList.getValue().toInt(),
customDialogList.getValueTwo() customDialogList.getValueTwo().toInt()
) )
/* var messageLabel = "" /* var messageLabel = ""
@ -196,7 +196,7 @@ class CmrExpeditionPalletFragment(
) )
customDialogList.setValueTwo("") customDialogList.setValueTwo("")
} else { } else {
customDialogList.setValueTwo(dataScanned!!.id!!) customDialogList.setValueTwo(dataScanned!!.id.toString())
cmrExpeditionPallet_add( cmrExpeditionPallet_add(
if (dataScannedTwo!!.table == "cmr") { if (dataScannedTwo!!.table == "cmr") {
dataScanned!!.id dataScanned!!.id
@ -212,8 +212,8 @@ class CmrExpeditionPalletFragment(
} }
} else { } else {
cmrExpeditionPallet_add( cmrExpeditionPallet_add(
customDialogList.getValue(), customDialogList.getValue().toInt(),
dataScannedTwo!!.id dataScannedTwo!!.id
) )
} }

View File

@ -23,7 +23,7 @@ import retrofit2.Response
get() = _responsescan get() = _responsescan
fun cmrExpeditionPallet_add(usuario: String, password: String, vExpeditionPallet: String?,vCmrId:String?) { fun cmrExpeditionPallet_add(usuario: String, password: String, vExpeditionPallet: Int,vCmrId:Int) {
GetPaletizadoresUserCase.cmrExpeditionPallet_add(usuario, password, vExpeditionPallet, vCmrId) GetPaletizadoresUserCase.cmrExpeditionPallet_add(usuario, password, vExpeditionPallet, vCmrId)
.enqueue(object : Callback<Void> { .enqueue(object : Callback<Void> {
override fun onFailure(call: Call<Void>, t: Throwable) { override fun onFailure(call: Call<Void>, t: Throwable) {

View File

@ -500,7 +500,7 @@ class PasilleroViewModel(context: Context) : BaseViewModel() {
//#tarea4021 //#tarea4021
/* _pasillerositem.add( /* _pasillerositem.add(
PasillerosItemVO( PasillerosItemVO(
6, 6,
R.drawable.ic_packaging, R.drawable.ic_packaging,

View File

@ -411,7 +411,6 @@ class EndSacadorFragment(
onQuantityOfShelvingSelected(itemShelvingFkStored) onQuantityOfShelvingSelected(itemShelvingFkStored)
} else { } else {
customDialogList.setValueTwo("") customDialogList.setValueTwo("")
//showErrorMessage("El resultado del procedimiento barcodeToItem de la etiqueta escaneada es: " +it.response)
showErrorMessage(getString(R.string.lineNotExist)) showErrorMessage(getString(R.string.lineNotExist))
if (mperror != null) { if (mperror != null) {
mperror?.start() mperror?.start()

View File

@ -263,7 +263,6 @@ class PreSacadorFragment :
onQuantityOfShelvingSelected(itemShelvingFkStored) onQuantityOfShelvingSelected(itemShelvingFkStored)
} else { } else {
customDialogList.setValueTwo("") customDialogList.setValueTwo("")
//showErrorMessage("El resultado del procedimiento barcodeToItem de la etiqueta escaneada es: " +it.response)
showErrorMessage(getString(R.string.lineNotExists)) showErrorMessage(getString(R.string.lineNotExists))
if (mperror != null) { if (mperror != null) {
mperror?.start() mperror?.start()

View File

@ -206,7 +206,6 @@ class ReposicionFragment : BaseFragment<ReposicionFragmentBinding, ReposicionVie
onQuantityOfShelvingSelected(itemShelvingFkStored) onQuantityOfShelvingSelected(itemShelvingFkStored)
} else { } else {
customDialogList.setValueTwo("") customDialogList.setValueTwo("")
// showErrorMessage("El resultado del procedimiento barcodeToItem de la etiqueta escaneada es: " +it.response)
showErrorMessage(getString(R.string.lineNotExist)) showErrorMessage(getString(R.string.lineNotExist))
mperror?.start() mperror?.start()
} }

View File

@ -105,8 +105,10 @@ class UbicadorAdapter(
} }
if (item.isNew) { if (item.isNew) {
itemRowLayout.setBackgroundColor( itemRowLayout.setBackgroundColor(
RED ContextCompat.getColor(
) visibleText.context,
R.color.verdnatura_red_salix
))
} }
} }

View File

@ -1,5 +1,6 @@
package es.verdnatura.presentation.view.feature.ubicador.fragment package es.verdnatura.presentation.view.feature.ubicador.fragment
import android.util.Log.d
import android.view.View import android.view.View
import android.view.inputmethod.EditorInfo import android.view.inputmethod.EditorInfo
import androidx.lifecycle.Observer import androidx.lifecycle.Observer
@ -8,26 +9,25 @@ import es.verdnatura.R
import es.verdnatura.databinding.FragmentAutomaticAddItemBinding import es.verdnatura.databinding.FragmentAutomaticAddItemBinding
import es.verdnatura.presentation.base.BaseFragment import es.verdnatura.presentation.base.BaseFragment
import es.verdnatura.presentation.common.OnAutomaticItemClickListener import es.verdnatura.presentation.common.OnAutomaticItemClickListener
import es.verdnatura.presentation.view.component.CustomDialog
import es.verdnatura.presentation.view.component.CustomDialogInput
import es.verdnatura.presentation.view.component.CustomDialogUbicador
import es.verdnatura.presentation.view.feature.main.activity.MainActivity
import es.verdnatura.presentation.view.feature.ubicador.adapter.AutomaticAdapter import es.verdnatura.presentation.view.feature.ubicador.adapter.AutomaticAdapter
import es.verdnatura.presentation.view.feature.ubicador.model.ItemEscanerVO import es.verdnatura.presentation.view.feature.ubicador.model.ItemEscanerVO
@Suppress("UNUSED_ANONYMOUS_PARAMETER") @Suppress("UNUSED_ANONYMOUS_PARAMETER")
class AutomaticAddItemFragment( class AutomaticAddItemFragment(
var shelvingFk : String = "" var shelvingFk: String = "",
) : BaseFragment<FragmentAutomaticAddItemBinding,AutomaticAddItemViewModel>(AutomaticAddItemViewModel::class) { var titleAction: String ?= null
) : BaseFragment<FragmentAutomaticAddItemBinding, AutomaticAddItemViewModel>(
AutomaticAddItemViewModel::class
) {
private var adapter : AutomaticAdapter? = null private var adapter: AutomaticAdapter? = null
private var listItems:ArrayList<ItemEscanerVO> = ArrayList() private var listItems: ArrayList<ItemEscanerVO> = ArrayList()
private var deep:Int = 1 private var deep: Int = 1
private var contador = 0 private var contador = 0
companion object { companion object {
fun newInstance(entryPoint:String) = AutomaticAddItemFragment(entryPoint) fun newInstance(entryPoint: String,titleAction:String)= AutomaticAddItemFragment(entryPoint,titleAction)
} }
override fun getLayoutId(): Int = R.layout.fragment_automatic_add_item override fun getLayoutId(): Int = R.layout.fragment_automatic_add_item
@ -35,27 +35,30 @@ class AutomaticAddItemFragment(
override fun init() { override fun init() {
ma.hideBottomNavigation(View.GONE) ma.hideBottomNavigation(View.GONE)
binding.mainToolbar.toolbarTitle.text = "itemShelvingMake"
binding.mainToolbar.toolbarTitle.text = titleAction
setEvents() setEvents()
setViews() setViews()
setToolBar() setToolBar()
super.init() super.init()
} }
private fun setToolBar(){ private fun setToolBar() {
binding.mainToolbar.toolbarSubtitle.visibility = View.VISIBLE binding.mainToolbar.toolbarSubtitle.visibility = View.VISIBLE
} }
private fun setSubtitle(){ private fun setSubtitle() {
binding.mainToolbar.toolbarSubtitle.text = getString(R.string.labels)+contador binding.mainToolbar.toolbarSubtitle.text = getString(R.string.labels) + contador
} }
private fun setViews(){ private fun setViews() {
adapter = AutomaticAdapter(listItems,object: OnAutomaticItemClickListener{ adapter = AutomaticAdapter(listItems, object : OnAutomaticItemClickListener {
override fun onAutomaticItemClickListener(position: Int) { override fun onAutomaticItemClickListener(position: Int) {
contador -= 1 contador -= 1
setSubtitle() setSubtitle()
if (listItems.size > position){ if (listItems.size > position) {
listItems.removeAt(position) listItems.removeAt(position)
} }
@ -63,17 +66,18 @@ class AutomaticAddItemFragment(
} }
}) })
binding.itemsRecyclerview.adapter = adapter binding.itemsRecyclerview.adapter = adapter
binding.itemsRecyclerview.layoutManager = LinearLayoutManager(requireContext(), LinearLayoutManager.VERTICAL, false) binding.itemsRecyclerview.layoutManager =
LinearLayoutManager(requireContext(), LinearLayoutManager.VERTICAL, false)
} }
private fun setEvents(){ private fun setEvents() {
binding.editMatricula.requestFocus() binding.editMatricula.requestFocus()
binding.editMatricula.setOnEditorActionListener { v, actionId, event -> binding.editMatricula.setOnEditorActionListener { v, actionId, event ->
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5) { if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5) {
if (!binding.editMatricula.text.toString().isNullOrEmpty()){ if (!binding.editMatricula.text.toString().isNullOrEmpty()) {
contador += 1 contador += 1
setSubtitle() setSubtitle()
listItems.add(0,ItemEscanerVO(binding.editMatricula.text.toString())) listItems.add(0, ItemEscanerVO(binding.editMatricula.text.toString()))
adapter!!.notifyDataSetChanged() adapter!!.notifyDataSetChanged()
} }
binding.editMatricula.setText("") binding.editMatricula.setText("")
@ -85,13 +89,21 @@ class AutomaticAddItemFragment(
} }
binding.buttonFinalizar.setOnClickListener { binding.buttonFinalizar.setOnClickListener {
val listString:ArrayList<String> = ArrayList() val listString: ArrayList<String> = ArrayList()
listItems.forEach { listItems.forEach {
listString.add(it.item) listString.add(it.item)
} }
listItems = ArrayList() listItems = ArrayList()
binding.splashProgress.visibility = View.VISIBLE binding.splashProgress.visibility = View.VISIBLE
viewModel.itemShelvingMake_multi( getData(USER),getData(PASSWORD),shelvingFk,listString,getData(WAREHOUSEFK))
viewModel.itemShelvingMake_multi(
getData(USER),
getData(PASSWORD),
shelvingFk,
listString,
getData(WAREHOUSEFK)
)
} }
binding.mainToolbar.backButton.setOnClickListener { binding.mainToolbar.backButton.setOnClickListener {
@ -100,12 +112,12 @@ class AutomaticAddItemFragment(
} }
override fun observeViewModel() { override fun observeViewModel() {
with(viewModel){ with(viewModel) {
response.observe(viewLifecycleOwner, Observer { response.observe(viewLifecycleOwner, Observer {
binding.splashProgress.visibility = View.GONE binding.splashProgress.visibility = View.GONE
if (it.isError){ if (it.isError) {
ma.messageWithSound(it.errorMessage,true,false) ma.messageWithSound(it.errorMessage, true, false)
}else{ } else {
requireActivity().onBackPressed() requireActivity().onBackPressed()
} }
}) })

View File

@ -222,6 +222,8 @@ class UbicadorFragment(
binding.automaticImg.setOnClickListener { binding.automaticImg.setOnClickListener {
if (!shelvingFk.isNullOrEmpty()) if (!shelvingFk.isNullOrEmpty())
//Tarea #4696 Para llamar a Revisar items poner R.string.titleChecker
ma.onPasillerosItemClickListener( ma.onPasillerosItemClickListener(
PasillerosItemVO(title = getString(R.string.titleAuto)), PasillerosItemVO(title = getString(R.string.titleAuto)),
entryPoint = shelvingFk entryPoint = shelvingFk

View File

@ -139,12 +139,11 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
tool:text="0" /> tool:text="0" />
<TextView <TextView
android:id="@+id/item_nicho" android:id="@+id/item_nicho"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@{item.nicho}" android:text="@{Integer.toString(item.nicho)}"
android:textSize="@dimen/h6" android:textSize="@dimen/h6"
android:textStyle="bold" android:textStyle="bold"
android:textColor="@color/verdnatura_red" android:textColor="@color/verdnatura_red"

View File

@ -347,7 +347,8 @@
<string name="titleInventory">Inventario</string> <string name="titleInventory">Inventario</string>
<string name="titleFaults">Faltas</string> <string name="titleFaults">Faltas</string>
<string name="titleShelvingParking">Shelving Parking</string> <string name="titleShelvingParking">Shelving Parking</string>
<string name="titleAuto">Automatic</string> <string name="titleAuto">Añadir ítems</string>
<string name="titlechecker">Revisar ítems</string>
<string name="titleQuality">Calidad</string> <string name="titleQuality">Calidad</string>
<string name="titlePickers">Sacadores</string> <string name="titlePickers">Sacadores</string>
<string name="titleWebViewer">Visor web</string> <string name="titleWebViewer">Visor web</string>
@ -519,5 +520,8 @@
<string name="urgentWarning">Aviso urgente</string> <string name="urgentWarning">Aviso urgente</string>
<string name="aware">ENTERADO</string> <string name="aware">ENTERADO</string>
<string name="scanPreviousTicket">Escanea ticket de previa</string> <string name="scanPreviousTicket">Escanea ticket de previa</string>
<string name="codeQrORPallet">Código QR o PALLET</string>
<string name="codeQrOrCMR">Código QR o CMR</string>
<string name="scanValues">Escanea los valores:</string>
</resources> </resources>

View File

@ -27,6 +27,7 @@
<color name="verdnatura_light_teal">#b8ecd6</color> <color name="verdnatura_light_teal">#b8ecd6</color>
<color name="verdnatura_white">#ffffff</color> <color name="verdnatura_white">#ffffff</color>
<color name="verdnatura_black_8_alpha_6">#991A1A1A</color> <color name="verdnatura_black_8_alpha_6">#991A1A1A</color>
<color name="verdnatura_red_salix">#FB5252</color>
<color name="verdnatura_background_item_picker">#4d4d4d</color> <color name="verdnatura_background_item_picker">#4d4d4d</color>

View File

@ -381,7 +381,7 @@
<string name="titleItemConsult">Consult item</string> <string name="titleItemConsult">Consult item</string>
<string name="titleUbicator">Ubicator</string> <string name="titleUbicator">Ubicator</string>
<string name="titleReUbicator">Reubication</string> <string name="titleReUbicator">Reubication</string>
<string name="titleAuto">Automatic</string> <string name="titleAuto">Add Automatically items to shelving</string>
<string name="titleQuality">Quality</string> <string name="titleQuality">Quality</string>
<string name="titleWebViewer">Web viewer</string> <string name="titleWebViewer">Web viewer</string>
<string name="titlePreControl">Pre Control</string> <string name="titlePreControl">Pre Control</string>
@ -517,6 +517,10 @@
<string name="urgentWarning">Aviso urgente</string> <string name="urgentWarning">Aviso urgente</string>
<string name="aware">AWARE</string> <string name="aware">AWARE</string>
<string name="scanPreviousTicket">Scan previous ticket</string> <string name="scanPreviousTicket">Scan previous ticket</string>
<string name="codeQrORPallet">Code QR or PALLET</string>
<string name="codeQrOrCMR">Code QR or CMR</string>
<string name="scanValues">Scan values : </string>
<string name="titlechecker">Check items</string>
</resources> </resources>