Version 8.4.1Beta,Tarea #3958
This commit is contained in:
parent
575bfd06be
commit
da7121aa50
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetDropDown">
|
||||
<runningDeviceTargetSelectedWithDropDown>
|
||||
<Target>
|
||||
<type value="RUNNING_DEVICE_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="SERIAL_NUMBER" />
|
||||
<value value="21114523025303" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</runningDeviceTargetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2022-05-27T04:55:50.268970300Z" />
|
||||
</component>
|
||||
</project>
|
|
@ -16,20 +16,20 @@ class ApiSalixUtils {
|
|||
val salixRetrofit = Retrofit.Builder().baseUrl(getBaseUrlLocal(context = context)).addConverterFactory(
|
||||
GsonConverterFactory.create()
|
||||
).build()
|
||||
d("VERDNATURA::","El server Salix es "+getBaseUrlLocal(context = context))
|
||||
//d("VERDNATURA::","El server Salix es "+getBaseUrlLocal(context = context))
|
||||
return salixRetrofit.create(SalixService::class.java)
|
||||
}
|
||||
|
||||
fun getBaseUrlLocal(context: Context): String {
|
||||
var url = this.getDefaults("base_urlSalix", context)
|
||||
if (url.isNullOrEmpty()) {
|
||||
ApiUtils.setDefaults("base_urlSalix", ApiSalixUtils.BASE_URL, context)
|
||||
ApiUtils.setDefaults("base_urlSalix", BASE_URL, context)
|
||||
} else {
|
||||
if (!url.contains("http")) {
|
||||
url = "https://" + url
|
||||
}
|
||||
}
|
||||
return if (url.isNullOrEmpty()) ApiSalixUtils.BASE_URL else url
|
||||
return if (url.isNullOrEmpty()) BASE_URL else url
|
||||
}
|
||||
|
||||
fun getDefaults(key: String?, context: Context?): String? {
|
||||
|
|
|
@ -4,6 +4,7 @@ import android.view.LayoutInflater
|
|||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import es.verdnatura.R
|
||||
import es.verdnatura.databinding.ItemProposalRowBinding
|
||||
import es.verdnatura.presentation.common.OnItemProposalClickListener
|
||||
import es.verdnatura.presentation.common.OnPasillerosItemClickListener
|
||||
|
@ -50,21 +51,21 @@ class ItemProposalAdapter(
|
|||
itemFk.setOnClickListener {
|
||||
onPasillerosItemClickListener.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Consultar artículo"
|
||||
title = res.getString(R.string.itemSearch)
|
||||
), item.itemFk
|
||||
)
|
||||
}
|
||||
itemUp.setOnClickListener {
|
||||
onPasillerosItemClickListener.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Buscar item"
|
||||
title = res.getString(R.string.titleItemSearch)
|
||||
), item.itemFk
|
||||
)
|
||||
}
|
||||
itemDown.setOnClickListener {
|
||||
onPasillerosItemClickListener.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Buscar item"
|
||||
title = res.getString(R.string.titleItemSearch)
|
||||
), item.itemFk
|
||||
)
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@ import es.verdnatura.databinding.FragmentItemCardBinding
|
|||
import es.verdnatura.domain.toast
|
||||
import es.verdnatura.presentation.base.BaseFragment
|
||||
import es.verdnatura.presentation.common.*
|
||||
import es.verdnatura.presentation.common.ToolBarAdapterTooltip.*
|
||||
import es.verdnatura.presentation.view.component.CustomDialog
|
||||
import es.verdnatura.presentation.view.component.CustomDialogInput
|
||||
import es.verdnatura.presentation.view.component.CustomDialogList
|
||||
import es.verdnatura.presentation.view.component.CustomDialogTwoButtons
|
||||
|
@ -28,9 +26,7 @@ import es.verdnatura.presentation.view.feature.articulo.model.ItemCardRowVO
|
|||
import es.verdnatura.presentation.view.feature.articulo.model.ItemCardVO
|
||||
import es.verdnatura.presentation.view.feature.articulo.model.ItemPackingType
|
||||
import es.verdnatura.presentation.view.feature.imageview.activity.ImageViewActivity
|
||||
import es.verdnatura.presentation.view.feature.main.activity.MainActivity
|
||||
import es.verdnatura.presentation.view.feature.pasillero.model.PasillerosItemVO
|
||||
import timber.log.Timber.d
|
||||
|
||||
class ItemCardFragment(
|
||||
var itemFk: String = ""
|
||||
|
@ -89,7 +85,7 @@ class ItemCardFragment(
|
|||
|
||||
private fun setToolBar() {
|
||||
|
||||
binding.mainToolbar.toolbarIcons.visibility=View.VISIBLE
|
||||
binding.mainToolbar.toolbarIcons.visibility = View.VISIBLE
|
||||
|
||||
|
||||
val listIcons: ArrayList<ImageView> = ArrayList()
|
||||
|
@ -118,10 +114,10 @@ class ItemCardFragment(
|
|||
}
|
||||
iconHistory.drawable -> {
|
||||
if (itemFk.isNullOrEmpty()) {
|
||||
"Escanea un item".toast(requireActivity())
|
||||
getString(R.string.scanItem).toast(requireActivity())
|
||||
} else {
|
||||
ma.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(title = "Historico"),
|
||||
PasillerosItemVO(title = getString(R.string.titleHistorical)),
|
||||
itemInfoG!!.id
|
||||
)
|
||||
|
||||
|
@ -183,11 +179,11 @@ class ItemCardFragment(
|
|||
binding.splashProgress.visibility = View.VISIBLE
|
||||
|
||||
|
||||
var working_in_test=false //sergio:No posar a true fins que Salix puje versió 8.3
|
||||
var working_in_test = false //sergio:No posar a true fins que Salix puje versió 8.3
|
||||
|
||||
if (working_in_test){
|
||||
if (working_in_test) {
|
||||
viewModel.getItemPackingTypeSalix(getData(TOKEN))
|
||||
}else {
|
||||
} else {
|
||||
viewModel.getItemPackingType(getData(USER), getData(PASSWORD))
|
||||
}
|
||||
}
|
||||
|
@ -200,7 +196,7 @@ class ItemCardFragment(
|
|||
binding.itemcardLayout.visibility = GONE
|
||||
binding.splashProgressTwo.visibility = GONE
|
||||
binding.mainToolbar.toolbarTitle.text = getString(R.string.itemCard)
|
||||
ma.messageWithSound(it.errorMessage,true,false)
|
||||
ma.messageWithSound(it.errorMessage, true, false)
|
||||
|
||||
} else {
|
||||
if (it.id != "0") {
|
||||
|
@ -209,8 +205,13 @@ class ItemCardFragment(
|
|||
} else {
|
||||
binding.splashProgressTwo.visibility = GONE
|
||||
binding.itemcardLayout.visibility = View.GONE
|
||||
binding.mainToolbar.toolbarTitle.text =getString(R.string.itemCard)
|
||||
ma.messageWithSound("No hemos podido encontrar el articulo. Revisa el sector.",true,false,getString(R.string.noResults))
|
||||
binding.mainToolbar.toolbarTitle.text = getString(R.string.itemCard)
|
||||
ma.messageWithSound(
|
||||
getString(R.string.itemNotFound),
|
||||
true,
|
||||
false,
|
||||
getString(R.string.noResults)
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
|
@ -226,7 +227,7 @@ class ItemCardFragment(
|
|||
response.observe(viewLifecycleOwner, Observer {
|
||||
binding.splashProgress.visibility = View.GONE
|
||||
if (it.isError) {
|
||||
ma.messageWithSound(it.errorMessage,true,false)
|
||||
ma.messageWithSound(it.errorMessage, true, false)
|
||||
} else {
|
||||
getItemCard(itemFk)
|
||||
}
|
||||
|
@ -270,7 +271,13 @@ class ItemCardFragment(
|
|||
isEditable = false
|
||||
)
|
||||
)*/
|
||||
listItemsRow.add(ItemCardRowVO(title = getString(R.string.total),value = itemInfo.visible,isEditable = false))
|
||||
listItemsRow.add(
|
||||
ItemCardRowVO(
|
||||
title = getString(R.string.total),
|
||||
value = itemInfo.visible,
|
||||
isEditable = false
|
||||
)
|
||||
)
|
||||
|
||||
listItemsRow.add(
|
||||
ItemCardRowVO(
|
||||
|
@ -288,7 +295,13 @@ class ItemCardFragment(
|
|||
isEditable = false
|
||||
)
|
||||
)*/
|
||||
listItemsRow.add(ItemCardRowVO(title = getString(R.string.Ubicado),value = itemInfo.vVisibleItemShelving,isEditable = false))
|
||||
listItemsRow.add(
|
||||
ItemCardRowVO(
|
||||
title = getString(R.string.Ubicado),
|
||||
value = itemInfo.vVisibleItemShelving,
|
||||
isEditable = false
|
||||
)
|
||||
)
|
||||
|
||||
//sergio itemcard por item_getInfo
|
||||
/* listItemsRow.add(
|
||||
|
@ -299,13 +312,20 @@ class ItemCardFragment(
|
|||
action = "itemStockUpdate"
|
||||
)
|
||||
)*/
|
||||
listItemsRow.add(ItemCardRowVO(title = getString(R.string.SINUBICAR),value = itemInfo.unlocated,isEditable = false, action = "itemStockUpdate"))
|
||||
listItemsRow.add(
|
||||
ItemCardRowVO(
|
||||
title = getString(R.string.SINUBICAR),
|
||||
value = itemInfo.unlocated,
|
||||
isEditable = false,
|
||||
action = "itemStockUpdate"
|
||||
)
|
||||
)
|
||||
|
||||
//EDITABLES
|
||||
|
||||
listItemsRow.add(
|
||||
ItemCardRowVO(
|
||||
title = "Artículos similares",
|
||||
title = getString(R.string.titleSimilarItems),
|
||||
isEditable = true,
|
||||
action = "itemProposal"
|
||||
)
|
||||
|
@ -398,7 +418,7 @@ class ItemCardFragment(
|
|||
|
||||
ma.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Buscar artículos similares"
|
||||
title = getString(R.string.titleSearchSimilarItems)
|
||||
), itemFk
|
||||
)
|
||||
|
||||
|
@ -408,7 +428,7 @@ class ItemCardFragment(
|
|||
} else {
|
||||
if (item.action != "toBarcode" && item.action != "buscarItem" && item.action != "itemStockUpdateAdd" && item.action != "itemStockUpdateRemove") {
|
||||
customDialogInput.setTitle(item.title!!)
|
||||
.setDescription("Valor actual: " + item.value!!)
|
||||
.setDescription(getString(R.string.currentVAlue) + item.value!!)
|
||||
.setOkButton(getString(R.string.save)) {
|
||||
ma.hideKeyboard(customDialogInput.getEditText())
|
||||
editItemCardRow(item, customDialogInput.getValue())
|
||||
|
@ -437,12 +457,12 @@ class ItemCardFragment(
|
|||
} else if (item.action == "buscarItem") {
|
||||
ma.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Buscar item"
|
||||
title = getString(R.string.titleItemSearch)
|
||||
), itemFk
|
||||
)
|
||||
} else if (item.action == "itemStockUpdateAdd") {
|
||||
customDialogInput.setTitle(item.title!!)
|
||||
.setDescription("Indica la cantidad a dar de alta")
|
||||
.setDescription(getString(R.string.quantityToRegister))
|
||||
.setOkButton(getString(R.string.save)) {
|
||||
ma.hideKeyboard(customDialogInput.getEditText())
|
||||
editItemCardRow(item, customDialogInput.getValue())
|
||||
|
@ -467,7 +487,7 @@ class ItemCardFragment(
|
|||
}
|
||||
} else if (item.action == "itemStockUpdateRemove") {
|
||||
customDialogInput.setTitle(item.title!!)
|
||||
.setDescription("Indica la cantidad a dar de baja ")
|
||||
.setDescription(getString(R.string.quantityToUnregister))
|
||||
.setOkButton(getString(R.string.save)) {
|
||||
ma.hideKeyboard(customDialogInput.getEditText())
|
||||
editItemCardRow(item, customDialogInput.getValue())
|
||||
|
@ -554,7 +574,7 @@ class ItemCardFragment(
|
|||
|
||||
|
||||
}
|
||||
if (item.action != "itemStockUpdate" && item.action != "itemStockUpdateRemove" && item.action !="itemStockUpdateAdd")
|
||||
if (item.action != "itemStockUpdate" && item.action != "itemStockUpdateRemove" && item.action != "itemStockUpdateAdd")
|
||||
// changeOfflineValue(item,value, listBarcodes)
|
||||
showProgress()
|
||||
}
|
||||
|
@ -622,7 +642,8 @@ class ItemCardFragment(
|
|||
|
||||
if (itemB.action == "itemStockUpdateRemove") {
|
||||
customDialogTwo.setTitle(itemB.title!!)
|
||||
.setDescription("Indica la causa de eliminar stock:").setOkButton("Falta") {
|
||||
.setDescription(getString(R.string.deleteStock))
|
||||
.setOkButton(getString(R.string.fault)) {
|
||||
viewModel.itemTrash(
|
||||
itemFk = itemFk,
|
||||
warehouseFk = warehouseFk,
|
||||
|
@ -636,7 +657,7 @@ class ItemCardFragment(
|
|||
showProgress()
|
||||
customDialogTwo.dismiss()
|
||||
|
||||
}.setOkButtonTwo("Basura") {
|
||||
}.setOkButtonTwo(getString(R.string.trash)) {
|
||||
viewModel.itemTrash(
|
||||
itemFk = itemFk,
|
||||
warehouseFk = warehouseFk,
|
||||
|
@ -669,7 +690,7 @@ class ItemCardFragment(
|
|||
}
|
||||
} catch (e: Exception) {
|
||||
// binding.itemcardLayout.visibility = View.GONE
|
||||
ma.messageWithSound("El elemento introducido no es un número",true,true)
|
||||
ma.messageWithSound(getString(R.string.errorNotNumber), true, true)
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -728,16 +749,14 @@ class ItemCardFragment(
|
|||
|
||||
// var working_in_test=false //sergio:Revisar como borrar directamente en Salix o crear proc en back para borrar.
|
||||
|
||||
if (delete=="0") {
|
||||
if (delete == "0") {
|
||||
viewModel.barcodesEditSalix(
|
||||
token=getData(TOKEN),
|
||||
token = getData(TOKEN),
|
||||
itemFk = itemInfoG!!.id,
|
||||
barCodeValue = code,
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
else{
|
||||
} else {
|
||||
viewModel.barcodesEdit(
|
||||
itemFk = itemInfoG!!.id,
|
||||
user = user,
|
||||
|
|
|
@ -308,7 +308,7 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
|
|||
)
|
||||
} else {
|
||||
_response.value =
|
||||
ResponseItemVO(isError = false, response = "Actualizado grouping")
|
||||
ResponseItemVO(isError = false, response = response.message())
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ class ItemCardViewModel(context: Context) : BaseViewModel() {
|
|||
)
|
||||
} else {
|
||||
_response.value =
|
||||
ResponseItemVO(isError = false, response = "Actualizado packing")
|
||||
ResponseItemVO(isError = false, response = response.message())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -91,7 +91,7 @@ class BufferFragment(
|
|||
if (it.isError) {
|
||||
|
||||
ma.messageWithSound(
|
||||
it.errorMessage,true,isPlayed = true)
|
||||
getString(R.string.errorOperation)+ it.errorMessage,it.isError,isPlayed = true)
|
||||
|
||||
} else {
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ class BufferFragmentViewModel(context: Context) : BaseViewModel() {
|
|||
//_bufferresponse.value = false
|
||||
_itembuffertype.value = ResponseItemVO(
|
||||
isError = true,
|
||||
errorMessage = getMessageFromAllResponse(nameofFunction(this),"Error al realizar la operación"))
|
||||
errorMessage = getMessageFromAllResponse(nameofFunction(this),response.message()))
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -142,8 +142,8 @@ class BufferLoadFragment(
|
|||
private fun getTextScaned(TagScaned: Int): String {
|
||||
|
||||
return when (TagScaned) {
|
||||
1 -> "Expedición:"
|
||||
2 -> "Buffer:"
|
||||
1 -> getString(R.string.expedition)
|
||||
2 -> getString(R.string.buffer)
|
||||
else -> { ""}
|
||||
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ class BufferLoadFragment(
|
|||
|
||||
private fun showExpeditionOrBufferScan() {
|
||||
|
||||
customDialogList.setTitle("Escanea etiqueta de la expedición.")
|
||||
customDialogList.setTitle(getString(R.string.scanLabelExpedition))
|
||||
.setOkButton(getString(R.string.close)) {
|
||||
|
||||
ma.hideKeyboard(customDialogList.getEditText())
|
||||
|
|
|
@ -354,7 +354,7 @@ class SaleAdapter(
|
|||
itemView.background.colorFilter =
|
||||
BlendModeColorFilter(0xFF4c2882.toInt(), BlendMode.SRC_ATOP)
|
||||
// BlendModeColorFilter(Color.YELLOW, BlendMode.SRC_ATOP)
|
||||
Log.d("VERDNATURA::", "EL COLOR ES " + color)
|
||||
//Log.d("VERDNATURA::", "EL COLOR ES " + color)
|
||||
} else {
|
||||
itemView.background.setColorFilter(0xFF4c2882.toInt(), PorterDuff.Mode.SRC_ATOP)
|
||||
}
|
||||
|
|
|
@ -232,7 +232,7 @@ class CollectionFragment(
|
|||
iconPhone.drawable -> getExtensionFromUser()
|
||||
iconParking.drawable->pasillerosItemClickListener?.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Parking"
|
||||
title = getString(R.string.Parking)
|
||||
), ""
|
||||
)
|
||||
}
|
||||
|
@ -272,7 +272,7 @@ class CollectionFragment(
|
|||
private fun showUser() {
|
||||
|
||||
ma.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(title = "Control de usuario de vehículo"),
|
||||
PasillerosItemVO(title = getString(R.string.userVehicleControl)),
|
||||
workerFkFromTicket
|
||||
)
|
||||
|
||||
|
@ -432,7 +432,7 @@ class CollectionFragment(
|
|||
responseItem_updatePackingShelve.observe(viewLifecycleOwner, Observer {
|
||||
binding.splashProgress.visibility = GONE
|
||||
ma.messageWithSound(
|
||||
if (it.isError) it.errorMessage else "Packing guardado",
|
||||
if (it.isError) it.errorMessage else getString(R.string.packingSave),
|
||||
it.isError, !it.isError
|
||||
)
|
||||
if (!it.isError) {
|
||||
|
@ -453,7 +453,7 @@ class CollectionFragment(
|
|||
|
||||
ma.messageWithSound(it.errorMessage, true, true)
|
||||
} else {
|
||||
ma.messageWithSound("Previa recogida", false, true)
|
||||
ma.messageWithSound(getString(R.string.previousCollected), false, true)
|
||||
binding.splashProgress.visibility = VISIBLE
|
||||
viewModel.collectionTicketGet(
|
||||
getData(USER),
|
||||
|
@ -480,7 +480,7 @@ class CollectionFragment(
|
|||
if (binding.splashProgress != null) binding.splashProgress.visibility = View.GONE
|
||||
// if (!goBack) {
|
||||
if (it.isError) {
|
||||
customDialog.setTitle("Disponibilidad").setDescription(it.errorMessage)
|
||||
customDialog.setTitle(getString(R.string.disponibility)).setDescription(it.errorMessage)
|
||||
.setKoButton(getString(R.string.close)) {
|
||||
scanRequest()
|
||||
customDialog.dismiss()
|
||||
|
@ -1214,7 +1214,8 @@ class CollectionFragment(
|
|||
|
||||
private fun setListPosition(position: Int, isFromBack: Boolean) {
|
||||
storedPosition = position
|
||||
if (type == SACADOR || (type == CONTROLADOR && (getData(SECTORDESCRIP).uppercase() == "ALGEMESI V"))) {
|
||||
if (type == SACADOR || (type == CONTROLADOR && (getData(SECTORDESCRIP).uppercase() == getString(
|
||||
R.string.sectorALGEMESI)))) {
|
||||
if (binding.fragmentSacadorCollections != null) {
|
||||
binding.fragmentSacadorCollections.addViewObserver {
|
||||
lm!!.scrollToPositionWithOffset(position, 0)
|
||||
|
@ -1249,9 +1250,9 @@ class CollectionFragment(
|
|||
private fun unMarkLine(position: Int, newType: String) {
|
||||
state = 0
|
||||
if (sales[position].isPrepared == "1") {
|
||||
customDialog.setTitle("Desmarcar linea")
|
||||
.setDescription("Vas a desmarcar la linea: " + sales[position].itemFk + " ¿Estás seguro?")
|
||||
.setOkButton("Desmarcar") {
|
||||
customDialog.setTitle(getString(R.string.unmarkLine))
|
||||
.setDescription(getString(R.string.goUnmark) + sales[position].itemFk + getString(R.string.sure))
|
||||
.setOkButton(getString(R.string.unmark)) {
|
||||
sales[position].isPrepared = "0"
|
||||
sales[position].pickedQuantity = "0"
|
||||
saleAdapter!!.notifyDataSetChanged()
|
||||
|
@ -1340,7 +1341,8 @@ class CollectionFragment(
|
|||
}
|
||||
try {
|
||||
// Log.i("VERDNATURA:","Pulso COGER-1")
|
||||
customDialogList.setTitle("$shelving($item) $total de $longName").setOkButton("Coger") {
|
||||
customDialogList.setTitle("$shelving($item) $total de $longName").setOkButton(getString(
|
||||
R.string.take)) {
|
||||
if (customDialogList.getValueTwo().isNotEmpty()) {
|
||||
if (isNumber(customDialogList.getValue()) && isNumber(total) && customDialogList.getValue()
|
||||
.toInt() > total.toInt()
|
||||
|
@ -1868,7 +1870,7 @@ class CollectionFragment(
|
|||
private fun ticketCollection_setUsedShelves() {
|
||||
|
||||
|
||||
if (type.equals("CHECKER") && (isMarking && getData(SECTORDESCRIP).uppercase() != "ALGEMESI V")
|
||||
if (type.equals("CHECKER") && (isMarking && getData(SECTORDESCRIP).uppercase() != getString(R.string.sectorALGEMESI))
|
||||
) {
|
||||
|
||||
|
||||
|
@ -2493,7 +2495,7 @@ class CollectionFragment(
|
|||
vSaleFk = mistakeSale?.saleFk!!,
|
||||
vUserFk = mistakeSale?.workerFk!!,
|
||||
vTypeFk = it.id)
|
||||
"Causa del error registrado".toast(requireContext())
|
||||
getString(R.string.errorRegistered).toast(requireContext())
|
||||
customDialogList.dismiss()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ class CollectionShowTicketFragment(
|
|||
(getString(R.string.Imprimiendo) + getData(PRINTERNAME)).toast(requireContext())
|
||||
}else{
|
||||
|
||||
ma.messageWithSound("Falta seleccionar impresora",isError = true,true,"Error al imprimir",false)
|
||||
ma.messageWithSound(getString(R.string.printerFault),isError = true,true,getString(R.string.error),false)
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -252,7 +252,7 @@ class CollectionShowTicketFragment(
|
|||
|
||||
private fun printObservations(observations: String) {
|
||||
if (observations.trim().isNotEmpty()) {
|
||||
customDialog.setTitle("Observaciones").setDescription(observations)
|
||||
customDialog.setTitle(getString(R.string.observations)).setDescription(observations)
|
||||
.setOkButton(getString(R.string.accept)) {
|
||||
customDialog.hide()
|
||||
customDialog.dismiss()
|
||||
|
|
|
@ -4,7 +4,8 @@ import android.content.Context
|
|||
import android.graphics.drawable.Drawable
|
||||
import android.os.Build
|
||||
import android.util.TypedValue
|
||||
import android.view.View.*
|
||||
import android.view.View.GONE
|
||||
import android.view.View.VISIBLE
|
||||
import android.view.inputmethod.EditorInfo
|
||||
import android.widget.ImageView
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
|
@ -19,9 +20,6 @@ import es.verdnatura.presentation.view.component.CustomDialogThreeButtons
|
|||
import es.verdnatura.presentation.view.feature.historicovehiculo.fragment.HistoricoVehiculoFragment
|
||||
import es.verdnatura.presentation.view.feature.pasillero.model.PasillerosItemVO
|
||||
import es.verdnatura.presentation.view.feature.sacador.fragment.SacadorFragment
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.*
|
||||
import kotlin.collections.ArrayList
|
||||
|
||||
class ControlVehiculoFragment(
|
||||
var tagName: String = ""
|
||||
|
@ -63,7 +61,7 @@ class ControlVehiculoFragment(
|
|||
|
||||
if (tagName.equals(HistoricoVehiculoFragment.TAG)) {
|
||||
setToolBar("HISTORY")
|
||||
showScanner("Escanea matrícula para ver histórico", "HISTORY")
|
||||
showScanner(getString(R.string.scanShelvingHistorical), "HISTORY")
|
||||
} else {
|
||||
|
||||
checkControlTimeVehicle()
|
||||
|
@ -76,7 +74,6 @@ class ControlVehiculoFragment(
|
|||
}
|
||||
|
||||
|
||||
|
||||
override fun onPause() {
|
||||
goBack = true
|
||||
super.onPause()
|
||||
|
@ -98,19 +95,19 @@ class ControlVehiculoFragment(
|
|||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
|
||||
iconHistory.tooltipText=getTooltip(R.drawable.ic_history_black_24dp)
|
||||
iconVehicleIn.tooltipText=getTooltip(R.drawable.car)
|
||||
iconVehicleOut.tooltipText=getTooltip(R.drawable.car_off)
|
||||
iconHistory.tooltipText = getTooltip(R.drawable.ic_history_black_24dp)
|
||||
iconVehicleIn.tooltipText = getTooltip(R.drawable.car)
|
||||
iconVehicleOut.tooltipText = getTooltip(R.drawable.car_off)
|
||||
|
||||
}
|
||||
|
||||
when (direction){
|
||||
"OUT"-> {
|
||||
when (direction) {
|
||||
"OUT" -> {
|
||||
listIcons.remove(iconVehicleIn)
|
||||
listIcons.add(iconVehicleOut)
|
||||
listIcons.add(iconHistory)
|
||||
}
|
||||
"IN"->{
|
||||
"IN" -> {
|
||||
listIcons.remove(iconVehicleOut)
|
||||
listIcons.add(iconVehicleIn)
|
||||
listIcons.add(iconHistory)
|
||||
|
@ -118,13 +115,20 @@ class ControlVehiculoFragment(
|
|||
}
|
||||
|
||||
|
||||
binding.mainToolbar.toolbarIcons.adapter = ToolBarAdapterTooltip(listIcons, object : OnOptionsSelectedListener {
|
||||
binding.mainToolbar.toolbarIcons.adapter =
|
||||
ToolBarAdapterTooltip(listIcons, object : OnOptionsSelectedListener {
|
||||
override fun onOptionsItemSelected(item: Drawable) {
|
||||
|
||||
when (item){
|
||||
iconHistory.drawable-> showScanner("Escanea matrícula para ver histórico", "HISTORY")
|
||||
iconVehicleIn.drawable-> showScanner("Escanea matrícula del vehículo", "IN")
|
||||
iconVehicleOut.drawable-> showScanner("Escanea matrícula para dejar vehículo", "OUT")
|
||||
when (item) {
|
||||
iconHistory.drawable -> showScanner(
|
||||
getString(R.string.scanShelvingHistorical),
|
||||
"HISTORY"
|
||||
)
|
||||
iconVehicleIn.drawable -> showScanner(getString(R.string.scanPlate), "IN")
|
||||
iconVehicleOut.drawable -> showScanner(
|
||||
getString(R.string.scanPlateTakeoff),
|
||||
"OUT"
|
||||
)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -177,13 +181,10 @@ class ControlVehiculoFragment(
|
|||
private fun checkControlTimeVehicle() {
|
||||
|
||||
if (!goBack) {
|
||||
// d("la fecha es "+getData("DATENOVEHICLE"))
|
||||
//if (!IsNoVehicleDataToday()){
|
||||
|
||||
binding.splashProgress.visibility = VISIBLE
|
||||
viewModel.workerMachinery_isRegistered(getData(USER),getData(PASSWORD))
|
||||
/*}else{
|
||||
ma.openFragmentPickers()
|
||||
}*/
|
||||
viewModel.workerMachinery_isRegistered(getData(USER), getData(PASSWORD))
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -196,10 +197,10 @@ class ControlVehiculoFragment(
|
|||
)
|
||||
} else if (direction.equals("IN")) {
|
||||
binding.splashProgress.visibility = VISIBLE
|
||||
viewModel.machineWorker_add(getData(USER),getData(PASSWORD), plateNumber,"machineWorker_add")
|
||||
viewModel.machineWorker_add(getData(USER), getData(PASSWORD), plateNumber)
|
||||
|
||||
} else if (direction.equals("OUT")) {
|
||||
viewModel.machineWorker_update(getData(USER),getData(PASSWORD), plateNumber,"machineWorker_update")
|
||||
viewModel.machineWorker_update(getData(USER), getData(PASSWORD), plateNumber)
|
||||
|
||||
} else if (direction.equals("")) {
|
||||
ma.openFragmentPickers(true)
|
||||
|
@ -253,12 +254,12 @@ class ControlVehiculoFragment(
|
|||
|
||||
customDialogThreeButtons.setCustomDialogValue(GONE)
|
||||
|
||||
customDialogThreeButtons.setDescription("¿Qué desea hacer con el vehículo de matrícula $plate")
|
||||
customDialogThreeButtons.setDescription(getString(R.string.doVehiclePlate) + plate + "?")
|
||||
.setValue(plate)
|
||||
if (isWorkedTimed.equals("UNREGISTERED")) {
|
||||
customDialogThreeButtons.setOkButtonTwo("COGER") {
|
||||
if (customDialogThreeButtons.getValue().trim().isEmpty()) {
|
||||
"Vuelva a escanear".toast(requireContext())
|
||||
getString(R.string.returnScan).toast(requireContext())
|
||||
} else {
|
||||
binding.splashProgress.visibility = VISIBLE
|
||||
customDialogThreeButtons.dismiss()
|
||||
|
@ -269,7 +270,7 @@ class ControlVehiculoFragment(
|
|||
|
||||
customDialogThreeButtons.setOkButtonThree("DEJAR") {
|
||||
if (customDialogThreeButtons.getValue().trim().isEmpty()) {
|
||||
"Vuelva a escanear".toast(requireContext())
|
||||
getString(R.string.returnScan).toast(requireContext())
|
||||
} else {
|
||||
binding.splashProgress.visibility = VISIBLE
|
||||
customDialogThreeButtons.dismiss()
|
||||
|
@ -278,7 +279,7 @@ class ControlVehiculoFragment(
|
|||
}
|
||||
}.setOkButtonFour("HISTÓRICO") {
|
||||
if (customDialogThreeButtons.getValue().trim().isEmpty()) {
|
||||
"Vuelva a escanear".toast(requireContext())
|
||||
getString(R.string.returnScan).toast(requireContext())
|
||||
} else {
|
||||
customDialogThreeButtons.dismiss()
|
||||
insertControlTimeVehicle(customDialogThreeButtons.getValue(), "HISTORY")
|
||||
|
@ -295,12 +296,13 @@ class ControlVehiculoFragment(
|
|||
|
||||
customDialogThreeButtons.setCustomDialogValue(GONE)
|
||||
|
||||
customDialogThreeButtons.setDescription("¿Qué desea hacer con el vehículo de matrícula $plate")
|
||||
customDialogThreeButtons.setDescription(getString(R.string.doVehiclePlate) + plate + "?")
|
||||
|
||||
.setValue(plate)
|
||||
|
||||
.setOkButtonFour("HISTÓRICO") {
|
||||
if (customDialogThreeButtons.getValue().trim().isEmpty()) {
|
||||
"Vuelva a escanear".toast(requireContext())
|
||||
getString(R.string.returnScan).toast(requireContext())
|
||||
} else {
|
||||
customDialogThreeButtons.dismiss()
|
||||
insertControlTimeVehicle(customDialogThreeButtons.getValue(), "HISTORY")
|
||||
|
@ -320,7 +322,7 @@ class ControlVehiculoFragment(
|
|||
responseinsert.observe(viewLifecycleOwner, {
|
||||
|
||||
if (it.isError) {
|
||||
ma.messageWithSound(it.errorMessage,true,false)
|
||||
ma.messageWithSound(it.errorMessage, true, false)
|
||||
/*customDialog.setTitle(getString(R.string.error)).setDescription(it.errorMessage)
|
||||
.setOkButton(getString(R.string.close)) {
|
||||
customDialog.dismiss()
|
||||
|
@ -357,7 +359,7 @@ class ControlVehiculoFragment(
|
|||
binding.splashProgress.visibility = GONE
|
||||
// Log.i("VERDNATURA:","${it.response}")
|
||||
if (it.isError) {
|
||||
ma.messageWithSound(it.errorMessage,true,false)
|
||||
ma.messageWithSound(it.errorMessage, true, false)
|
||||
/*customDialog.setTitle(getString(R.string.error)).setDescription(it.errorMessage)
|
||||
.setOkButton(getString(R.string.close)) {
|
||||
customDialog.dismiss()
|
||||
|
@ -391,7 +393,8 @@ class ControlVehiculoFragment(
|
|||
ma.openFragmentPickers(true)
|
||||
|
||||
}.show()*/
|
||||
customDialogInput.setTitle(getString(R.string.vehiclecontrol)).setDescription("Escanea la matrícula del vehículo o elige sin vehículo")
|
||||
customDialogInput.setTitle(getString(R.string.vehiclecontrol))
|
||||
.setDescription("Escanea la matrícula del vehículo o elige sin vehículo")
|
||||
.setOkButton("Coger vehículo") {
|
||||
if (customDialogInput.getValue().isNotEmpty()) {
|
||||
// "$description ${customDialogInput.getValue()} OK".toast(requireContext())
|
||||
|
@ -423,11 +426,6 @@ class ControlVehiculoFragment(
|
|||
|
||||
}
|
||||
|
||||
private fun IsNoVehicleDataToday(): Boolean {
|
||||
|
||||
return (getData(DATENOVEHICLE)==SimpleDateFormat("yyyy-MM-dd",Locale.getDefault()).format(Date()))
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ class ControlVehiculoViewModel(context: Context) : BaseViewModel() {
|
|||
fun machineWorker_add(
|
||||
usuario: String,
|
||||
password: String,
|
||||
PlateNumber: String,callFunction:String
|
||||
PlateNumber: String
|
||||
) {
|
||||
getVehicleControlTimeUserCase.machineWorker_add(usuario, password, PlateNumber)
|
||||
.enqueue(object : Callback<Boolean> {
|
||||
|
@ -65,7 +65,7 @@ class ControlVehiculoViewModel(context: Context) : BaseViewModel() {
|
|||
fun machineWorker_update(
|
||||
usuario: String,
|
||||
password: String,
|
||||
PlateNumber: String,callFunction:String
|
||||
PlateNumber: String
|
||||
) {
|
||||
getVehicleControlTimeUserCase.machineWorker_update(usuario, password, PlateNumber)
|
||||
.enqueue(object : Callback<Boolean> {
|
||||
|
|
|
@ -140,8 +140,8 @@ class FaltasFragment :
|
|||
adapter = FaltasAdapter(listInvetory, object : OnFaltasNichoClickListener {
|
||||
override fun onFaltasNichoClickListener(item: ItemFaltasVO) {
|
||||
customDialogInput.setTitle(item.itemFk + "\n" + item.longName + " " + item.size)
|
||||
.setDescription("Cantidad real(" + item.nicho + ")")
|
||||
.setOkButton("Tirar") {
|
||||
.setDescription(getString(R.string.quantityReal) + item.nicho + ")")
|
||||
.setOkButton(getString(R.string.pull)) {
|
||||
viewModel.itemStockUpdate(
|
||||
item.itemFk,
|
||||
getData(WAREHOUSEFK),
|
||||
|
|
|
@ -3,13 +3,11 @@ package es.verdnatura.presentation.view.feature.faltas.fragment
|
|||
import android.content.Context
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import androidx.lifecycle.Transformations
|
||||
import es.verdnatura.domain.GetInventaryUserCase
|
||||
import es.verdnatura.domain.GetItemCardUserCase
|
||||
import es.verdnatura.presentation.base.BaseViewModel
|
||||
import es.verdnatura.presentation.base.getMessageFromAllResponse
|
||||
import es.verdnatura.presentation.base.nameofFunction
|
||||
import es.verdnatura.presentation.common.Event
|
||||
import es.verdnatura.presentation.common.ResponseItemVO
|
||||
import es.verdnatura.presentation.view.feature.faltas.model.ItemFaltasListVO
|
||||
import es.verdnatura.presentation.view.feature.faltas.model.ItemFaltasVO
|
||||
|
@ -33,15 +31,20 @@ class FaltasViewModel(context: Context) : BaseViewModel() {
|
|||
get() = _response
|
||||
|
||||
|
||||
val loadFaltasList = Transformations.map(_faltasList) { Event(it) }
|
||||
//val loadFaltasList = Transformations.map(_faltasList) { Event(it) }
|
||||
|
||||
|
||||
fun getFaltas(user:String,password:String,warehouseFk:String){
|
||||
getInventaryUserCase.faultsReview(user,password,warehouseFk).enqueue(object :
|
||||
fun getFaltas(user: String, password: String, warehouseFk: String) {
|
||||
getInventaryUserCase.faultsReview(user, password, warehouseFk).enqueue(object :
|
||||
Callback<List<ItemFaltasVO>> {
|
||||
override fun onFailure(call: Call<List<ItemFaltasVO>>, t: Throwable) {
|
||||
val listError:ArrayList<ItemFaltasVO> = ArrayList()
|
||||
listError.add(ItemFaltasVO(isError = true,errorMessage ="Error en la llamada faultsReview."+ t.message!!))
|
||||
val listError: ArrayList<ItemFaltasVO> = ArrayList()
|
||||
listError.add(
|
||||
ItemFaltasVO(
|
||||
isError = true,
|
||||
errorMessage = getMessageFromAllResponse(nameofFunction(this), t.message!!)
|
||||
)
|
||||
)
|
||||
_faltasList.value = ItemFaltasListVO(listError)
|
||||
}
|
||||
|
||||
|
@ -49,11 +52,19 @@ class FaltasViewModel(context: Context) : BaseViewModel() {
|
|||
call: Call<List<ItemFaltasVO>>,
|
||||
response: Response<List<ItemFaltasVO>>
|
||||
) {
|
||||
if (response.body() != null){
|
||||
if (response.body() != null) {
|
||||
_faltasList.value = response.body()?.let { ItemFaltasListVO(it) }
|
||||
}else{
|
||||
val listError:ArrayList<ItemFaltasVO> = ArrayList()
|
||||
listError.add(ItemFaltasVO(isError = true,errorMessage = "Error en la llamada faultsReview"))
|
||||
} else {
|
||||
val listError: ArrayList<ItemFaltasVO> = ArrayList()
|
||||
listError.add(
|
||||
ItemFaltasVO(
|
||||
isError = true,
|
||||
errorMessage = getMessageFromAllResponse(
|
||||
nameofFunction(this),
|
||||
response.message()
|
||||
)
|
||||
)
|
||||
)
|
||||
_faltasList.value = ItemFaltasListVO(listError)
|
||||
}
|
||||
}
|
||||
|
@ -61,18 +72,36 @@ class FaltasViewModel(context: Context) : BaseViewModel() {
|
|||
})
|
||||
}
|
||||
|
||||
fun itemStockUpdate(itemFk:String,warehouseFk:String,user:String,password:String,newValue:String,isTrash:String){
|
||||
getItemCardUserCase.itemStockUpdate(user,password,itemFk,warehouseFk,newValue,isTrash).enqueue(object :
|
||||
fun itemStockUpdate(
|
||||
itemFk: String,
|
||||
warehouseFk: String,
|
||||
user: String,
|
||||
password: String,
|
||||
newValue: String,
|
||||
isTrash: String
|
||||
) {
|
||||
getItemCardUserCase.itemStockUpdate(user, password, itemFk, warehouseFk, newValue, isTrash)
|
||||
.enqueue(object :
|
||||
Callback<Any> {
|
||||
override fun onFailure(call: Call<Any>, t: Throwable) {
|
||||
_response.value = ResponseItemVO(isError = true,errorMessage = getMessageFromAllResponse(nameofFunction(this),t.message!!))
|
||||
_response.value = ResponseItemVO(
|
||||
isError = true,
|
||||
errorMessage = getMessageFromAllResponse(nameofFunction(this), t.message!!)
|
||||
)
|
||||
}
|
||||
|
||||
override fun onResponse(call: Call<Any>, response: Response<Any>) {
|
||||
if (response.isSuccessful()){
|
||||
_response.value = ResponseItemVO(isError = true,errorMessage = getMessageFromAllResponse(nameofFunction(this),response.message()))
|
||||
}else{
|
||||
_response.value = ResponseItemVO(isError = false,response = response.message())
|
||||
if (response.isSuccessful()) {
|
||||
_response.value = ResponseItemVO(
|
||||
isError = true,
|
||||
errorMessage = getMessageFromAllResponse(
|
||||
nameofFunction(this),
|
||||
response.message()
|
||||
)
|
||||
)
|
||||
} else {
|
||||
_response.value =
|
||||
ResponseItemVO(isError = false, response = response.message())
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -80,17 +109,34 @@ class FaltasViewModel(context: Context) : BaseViewModel() {
|
|||
})
|
||||
}
|
||||
|
||||
fun faultsReview_isChecked(user:String,password:String,itemFk:String,warehouseFk:String){
|
||||
getInventaryUserCase.faultsReview_isChecked(user,password,itemFk,warehouseFk).enqueue(object :
|
||||
fun faultsReview_isChecked(
|
||||
user: String,
|
||||
password: String,
|
||||
itemFk: String,
|
||||
warehouseFk: String
|
||||
) {
|
||||
getInventaryUserCase.faultsReview_isChecked(user, password, itemFk, warehouseFk)
|
||||
.enqueue(object :
|
||||
Callback<Any> {
|
||||
override fun onFailure(call: Call<Any>, t: Throwable) {
|
||||
_response.value = ResponseItemVO(isError = true,errorMessage = getMessageFromAllResponse(nameofFunction(this),t.message!!))
|
||||
_response.value = ResponseItemVO(
|
||||
isError = true,
|
||||
errorMessage = getMessageFromAllResponse(nameofFunction(this), t.message!!)
|
||||
)
|
||||
}
|
||||
|
||||
override fun onResponse(call: Call<Any>, response: Response<Any>) {
|
||||
if (!response.isSuccessful){
|
||||
_response.value = ResponseItemVO(isError = true,errorMessage = getMessageFromAllResponse(nameofFunction(this),response.message()))
|
||||
}else{
|
||||
_response.value = ResponseItemVO(isError = false,response = response.message())
|
||||
if (!response.isSuccessful) {
|
||||
_response.value = ResponseItemVO(
|
||||
isError = true,
|
||||
errorMessage = getMessageFromAllResponse(
|
||||
nameofFunction(this),
|
||||
response.message()
|
||||
)
|
||||
)
|
||||
} else {
|
||||
_response.value =
|
||||
ResponseItemVO(isError = false, response = response.message())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package es.verdnatura.presentation.view.feature.historicoarticulo.fragment
|
||||
|
||||
import android.graphics.Color.*
|
||||
import android.graphics.drawable.Drawable
|
||||
import android.os.Build
|
||||
import android.view.View
|
||||
|
@ -16,12 +15,9 @@ import es.verdnatura.domain.notNull
|
|||
import es.verdnatura.presentation.base.BaseFragment
|
||||
import es.verdnatura.presentation.common.OnOptionsSelectedListener
|
||||
import es.verdnatura.presentation.common.ToolBarAdapterTooltip
|
||||
import es.verdnatura.presentation.view.component.CustomDialog
|
||||
import es.verdnatura.presentation.view.component.CustomDialogInput
|
||||
import es.verdnatura.presentation.view.feature.historicoarticulo.adapter.HistoricoAdapter
|
||||
import es.verdnatura.presentation.view.feature.historicoarticulo.model.ItemHistoricoListVO
|
||||
import es.verdnatura.presentation.view.feature.historicoarticulo.model.ItemHistoricoVO
|
||||
import es.verdnatura.presentation.view.feature.main.activity.MainActivity
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.*
|
||||
|
||||
|
@ -32,6 +28,7 @@ class HistoricoArticuloFragment(
|
|||
HistoricoArticuloViewModel::class
|
||||
) {
|
||||
private var adapter: HistoricoAdapter? = null
|
||||
|
||||
// private lateinit var customDialogInput: CustomDialogInput
|
||||
// private lateinit var customDialog: CustomDialog
|
||||
private var listHistoric: ArrayList<ItemHistoricoVO> = ArrayList()
|
||||
|
@ -80,16 +77,18 @@ class HistoricoArticuloFragment(
|
|||
listIcons.add(iconReload)
|
||||
|
||||
|
||||
binding.mainToolbar.toolbarIcons.adapter = ToolBarAdapterTooltip(listIcons, object : OnOptionsSelectedListener {
|
||||
binding.mainToolbar.toolbarIcons.adapter =
|
||||
ToolBarAdapterTooltip(listIcons, object : OnOptionsSelectedListener {
|
||||
|
||||
override fun onOptionsItemSelected(item: Drawable) {
|
||||
|
||||
when (item){
|
||||
iconReload.drawable->viewModelwithFilter("all")
|
||||
iconGargabe.drawable->{
|
||||
when (item) {
|
||||
iconReload.drawable -> viewModelwithFilter("all")
|
||||
iconGargabe.drawable -> {
|
||||
viewModelwithFilter("contenedor")
|
||||
item.setTint(getColor(context!!, verdnatura_pumpkin_orange))}
|
||||
iconFault.drawable->viewModelwithFilter("falta")
|
||||
item.setTint(getColor(context!!, verdnatura_pumpkin_orange))
|
||||
}
|
||||
iconFault.drawable -> viewModelwithFilter("falta")
|
||||
}
|
||||
|
||||
for (it in listIcons) {
|
||||
|
|
|
@ -212,8 +212,8 @@ class InventaryFragment : BaseFragment<FragmentInventaryBinding,InventaryViewMod
|
|||
override fun onInvetoryNichoClickListener(item: ItemInventaryVO) {
|
||||
|
||||
//sergio: cambiado customdialogInput pòr customdialog 6.1.4
|
||||
customDialog.setTitle(item.itemFk+"\n"+item.longName+" "+item.size).setDescription("Cantidad real("+item.nicho+")").setOkButton("Tirar"){
|
||||
//customDialogInput.setTitle(item.itemFk+"\n"+item.longName+" "+item.size).setDescription("Cantidad real("+item.nicho+")").setOkButton("Tirar"){
|
||||
customDialog.setTitle(item.itemFk+"\n"+item.longName+" "+item.size).setDescription(getString(R.string.quantityReal)+item.nicho+")").setOkButton(getString(R.string.pull)){
|
||||
//customDialogInput.setTitle(item.itemFk+"\n"+item.longName+" "+item.size).setDescription("Cantidad real("+item.nicho+")").setOkButton(getString(R.string.pull)){
|
||||
viewModel.itemTrash(item.itemFk,getData(WAREHOUSEFK),getData(USER),getData(PASSWORD),item.nicho,"0")
|
||||
//viewModel.itemStockUpdate(item.itemFk,warehouseFk,user,password,"0","0")
|
||||
// viewModel.itemStockUpdate(item.itemFk,warehouseFk,user,password,customDialogInput.getValue(),"0")
|
||||
|
|
|
@ -29,7 +29,7 @@ import es.verdnatura.presentation.view.feature.sacador.model.CollectionVO
|
|||
holder.bind(items[position])
|
||||
holder.binding.root.setOnClickListener {
|
||||
onCollectionSelected.onCollectionSelected(items[position],PREITEMPICKER)
|
||||
Log.d("VERDNATURA::","2-Click item ${items[position].collectionFk}+PREITEMPICKER")
|
||||
// Log.d("VERDNATURA::","2-Click item ${items[position].collectionFk}+PREITEMPICKER")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ class EndSacadorFragment(
|
|||
setToolBar()
|
||||
setEvents()
|
||||
|
||||
Log.d("VERDNATURA","La col "+collection.collectionFk+ " y el type "+type)
|
||||
//Log.d("VERDNATURA","La col "+collection.collectionFk+ " y el type "+type)
|
||||
|
||||
searchSaleCollection()
|
||||
super.init()
|
||||
|
@ -136,7 +136,7 @@ class EndSacadorFragment(
|
|||
//es parking
|
||||
pasillerosItemClickListener?.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Parking"
|
||||
title = getString(R.string.Parking)
|
||||
), ""
|
||||
)
|
||||
// parkingTicket(binding.scanInput.text.toString())
|
||||
|
@ -695,7 +695,7 @@ class EndSacadorFragment(
|
|||
var index = 0
|
||||
var isBreak = false
|
||||
var isOk = false
|
||||
Log.d("VERDNATURA::", "Entramos a buscar")
|
||||
|
||||
for (saleVO in sales) {
|
||||
Log.d("VERDNATURA::", "El item buscado es " + saleVO.itemFk)
|
||||
if (saleVO.quantity != saleVO.picked) {
|
||||
|
@ -880,7 +880,7 @@ class EndSacadorFragment(
|
|||
listPlacementSupply.add(BarcodeVO(code = it.proposal))
|
||||
}
|
||||
|
||||
customDialogList.setTitle("$shelving($item) $total del $longName").setOkButton("Coger") {
|
||||
customDialogList.setTitle("$shelving($item) $total del $longName").setOkButton(getString( R.string.take)) {
|
||||
|
||||
|
||||
if (customDialogList.getValueTwo().isNotEmpty()) {
|
||||
|
|
|
@ -127,7 +127,7 @@ class PreSacadorFragment :
|
|||
//es parking
|
||||
pasillerosItemClickListener?.onPasillerosItemClickListener(
|
||||
PasillerosItemVO(
|
||||
title = "Parking"
|
||||
title = getString(R.string.Parking)
|
||||
), "")
|
||||
// parkingTicket(binding.scanInput.text.toString())
|
||||
} else {
|
||||
|
@ -523,7 +523,7 @@ class PreSacadorFragment :
|
|||
var index = 0
|
||||
var isBreak = false
|
||||
var isOk = false
|
||||
d("VERDNATURA::", "Entramos a buscar")
|
||||
//Timber.tag("VERDNATURA::").d("Entramos a buscar")
|
||||
for (saleVO in sales) {
|
||||
d("VERDNATURA::", "El item buscado es " + saleVO.itemFk)
|
||||
if (saleVO.quantity != saleVO.picked) {
|
||||
|
@ -688,7 +688,7 @@ class PreSacadorFragment :
|
|||
listPlacementSupply.add(BarcodeVO(code = it.proposal))
|
||||
}
|
||||
|
||||
customDialogList.setTitle("$shelving($item) $total del $longName").setOkButton("Coger") {
|
||||
customDialogList.setTitle("$shelving($item) $total del $longName").setOkButton(getString( R.string.take)) {
|
||||
|
||||
|
||||
if (customDialogList.getValueTwo().isNotEmpty()) {
|
||||
|
|
|
@ -379,7 +379,7 @@ class ReposicionFragment : BaseFragment<ReposicionFragmentBinding, ReposicionVie
|
|||
listPlacementSupply.add(BarcodeVO(code = it.proposal))
|
||||
}
|
||||
|
||||
customDialogList.setTitle("$shelving($item) $total de $longName").setOkButton("Coger") {
|
||||
customDialogList.setTitle("$shelving($item) $total de $longName").setOkButton(getString( R.string.take)) {
|
||||
if (customDialogList.getValueTwo().isNotEmpty()) {
|
||||
if (checkItemScan(customDialogList.getValueTwo())) {
|
||||
onQuantityOfShelvingSelected(itemShelvingFk)
|
||||
|
|
|
@ -27,7 +27,7 @@ class CollectionAdapter (
|
|||
holder.bind(items[position])
|
||||
holder.binding.root.setOnClickListener {
|
||||
onCollectionSelected.onCollectionSelected(items[position],SACADOR)
|
||||
Log.d("VERDNATURA::","2-Click item ${items[position].collectionFk}")
|
||||
//Log.d("VERDNATURA::","2-Click item ${items[position].collectionFk}")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -41,9 +41,10 @@ class UbicadorAdapter (
|
|||
binding.apply {
|
||||
this.item = item
|
||||
multiText.text = item.stickers+"x"+item.packing
|
||||
imgItem.loadUrl("https://verdnatura.es/vn-image-data/catalog/200x200/"+item.item);
|
||||
imgItem.loadUrl("https://verdnatura.es/vn-image-data/catalog/200x200/"+item.item)
|
||||
imgItem.setOnClickListener {
|
||||
onPasillerosItemClickListener.onPasillerosItemClickListener(PasillerosItemVO(title = "Consultar artículo"),item.item)
|
||||
onPasillerosItemClickListener.onPasillerosItemClickListener(PasillerosItemVO(title = res.getString(
|
||||
R.string.itemSearch)),item.item)
|
||||
}
|
||||
|
||||
layerVisible.setOnClickListener {
|
||||
|
|
|
@ -198,7 +198,7 @@ class UbicadorFragment(
|
|||
)
|
||||
parking = customDialogInput.getValue()
|
||||
binding.mainToolbar.toolbarTitle.text =
|
||||
shelvingFk.uppercase() + " P: " + parking + " E: " + etiquetas
|
||||
shelvingFk.uppercase() + getString(R.string.pUppercase) + parking + getString(R.string.label) + etiquetas
|
||||
if (mpok != null) mpok!!.start()
|
||||
customDialogInput.dismiss()
|
||||
}.setKoButton(getString(R.string.cancel)) {
|
||||
|
@ -220,7 +220,7 @@ class UbicadorFragment(
|
|||
parking = customDialogInput.getValue()
|
||||
if (binding.mainToolbar.toolbarTitle != null && shelvingFk != null && parking != null && etiquetas != null) {
|
||||
binding.mainToolbar.toolbarTitle.text =
|
||||
shelvingFk.uppercase() + " P: " + parking + " E: " + etiquetas
|
||||
shelvingFk.uppercase() + getString(R.string.pUppercase) + parking + getString(R.string.label) + etiquetas
|
||||
} else {
|
||||
binding.mainToolbar.toolbarTitle.text = ""
|
||||
}
|
||||
|
@ -245,7 +245,7 @@ class UbicadorFragment(
|
|||
)
|
||||
shelvingFk = customDialogInput.getValue()
|
||||
binding.mainToolbar.toolbarTitle.text =
|
||||
shelvingFk.uppercase() + " P: " + parking + " E: " + etiquetas
|
||||
shelvingFk.uppercase() + getString(R.string.pUppercase) + parking + getString(R.string.label) + etiquetas
|
||||
if (mpok != null) mpok!!.start()
|
||||
customDialogInput.dismiss()
|
||||
}.setKoButton(getString(R.string.cancel)) {
|
||||
|
@ -265,7 +265,7 @@ class UbicadorFragment(
|
|||
)
|
||||
shelvingFk = customDialogInput.getValue()
|
||||
binding.mainToolbar.toolbarTitle.text =
|
||||
shelvingFk.uppercase() + " P: " + parking + " E: " + etiquetas
|
||||
shelvingFk.uppercase() + getString(R.string.pUppercase) + parking + getString(R.string.label) + etiquetas
|
||||
if (mpok != null) mpok!!.start()
|
||||
customDialogInput.dismiss()
|
||||
return@setOnEditorActionListener true
|
||||
|
@ -276,8 +276,8 @@ class UbicadorFragment(
|
|||
}
|
||||
|
||||
binding.deleteImg.setOnClickListener {
|
||||
customDialog.setTitle("Vaciar carro")
|
||||
.setDescription("Esta operación no se puede rectificar.").setOkButton("Vaciar") {
|
||||
customDialog.setTitle(getString(R.string.empty))
|
||||
.setDescription(getString(R.string.operationNoReturn)).setOkButton(getString(R.string.empty)) {
|
||||
viewModel.clearShelvingList(
|
||||
getData(USER),
|
||||
getData(PASSWORD), shelvingFk
|
||||
|
@ -330,7 +330,7 @@ class UbicadorFragment(
|
|||
}
|
||||
etiquetas = contEtiquetas.toString()
|
||||
binding.mainToolbar.toolbarTitle.text =
|
||||
shelvingFk.uppercase() + " P: " + parking + " E: " + etiquetas
|
||||
shelvingFk.uppercase() + getString(R.string.pUppercase) + parking + getString(R.string.label) + etiquetas
|
||||
if (it.list.size > 0)
|
||||
binding.editPrioridad.setText(it.list[0].priority)
|
||||
binding.splashProgress.visibility = View.GONE
|
||||
|
@ -390,19 +390,10 @@ class UbicadorFragment(
|
|||
|
||||
ma.messageWithSound(
|
||||
if (it.isError) it.errorMessage else {
|
||||
it.response
|
||||
getString(R.string.priorityChanged)
|
||||
}, it.isError, true
|
||||
)
|
||||
|
||||
/* if (it.isError) {
|
||||
mperror!!.start()
|
||||
customDialog.setTitle(getString(R.string.error)).setDescription(it.errorMessage)
|
||||
.setOkButton(getString(R.string.close)) {
|
||||
customDialog.dismiss()
|
||||
}.show()
|
||||
} else {
|
||||
(it.response).toast(requireContext())
|
||||
}*/
|
||||
})
|
||||
|
||||
responseMake.observe(viewLifecycleOwner, Observer {
|
||||
|
@ -672,10 +663,10 @@ class UbicadorFragment(
|
|||
|
||||
private fun showMoreOptions(item: ItemUbicadorVO) {
|
||||
customDialogTwoButtons.setTitle(item.item).setDescription(getString(R.string.selectAction))
|
||||
.setOkButton("Transferir") {
|
||||
customDialogInput.setTitle("Nueva matrícula")
|
||||
.setDescription("Introduce el destino para item: " + item.item).setValue("")
|
||||
.setOkButton("Transferir") {
|
||||
.setOkButton(getString(R.string.transfer)) {
|
||||
customDialogInput.setTitle(getString(R.string.shelvingNew))
|
||||
.setDescription(getString(R.string.selectDestiny) + item.item).setValue("")
|
||||
.setOkButton(getString(R.string.transfer)) {
|
||||
if (customDialogInput.getValue().isNotEmpty()) {
|
||||
viewModel.itemShelvingTransfer(
|
||||
getData(USER),
|
||||
|
@ -687,7 +678,9 @@ class UbicadorFragment(
|
|||
adapter!!.notifyDataSetChanged()
|
||||
customDialogInput.dismiss()
|
||||
} else {
|
||||
"Carro incorrecto".toast(requireContext())
|
||||
getString(R.string.wagonIncorrect).toast(requireContext())
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -714,7 +707,7 @@ class UbicadorFragment(
|
|||
customDialogTwoButtons.dismiss()
|
||||
}.setOkButtonTwo(getString(R.string.delete)) {
|
||||
customDialog.setTitle(getString(R.string.confirm))
|
||||
.setDescription("Confirmas eliminar el artículo: " + item.item + "?")
|
||||
.setDescription(getString(R.string.itemDeleteConfirm) + item.item + "?")
|
||||
.setOkButton(getString(R.string.delete)) {
|
||||
listItems.remove(item)
|
||||
adapter!!.notifyDataSetChanged()
|
||||
|
|
|
@ -115,7 +115,7 @@ class UbicadorViewModel(context: Context) : BaseViewModel() {
|
|||
)
|
||||
} else {
|
||||
_responsepriority.value =
|
||||
ResponseItemVO(isError = false, response = "Prioridad modificada")
|
||||
ResponseItemVO(isError = false, response = response.message())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -226,7 +226,7 @@ class WorkermistakeFragment( var entryPoint: String = ""
|
|||
vUserFk = workerMistakeName!!.id,
|
||||
vTypeFk = it.code
|
||||
)
|
||||
// "Causa del error registrado".toast(requireContext())
|
||||
// getString(R.string.errorRegistered).toast(requireContext())
|
||||
customDialogList.dismiss()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
android:lines="1"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/verdnatura_white"
|
||||
android:textColorHint="@android:color/darker_gray"
|
||||
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
android:id="@+id/button15"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Transferir"
|
||||
android:text="@string/transfer"
|
||||
android:background="@drawable/btn_orange"
|
||||
android:layout_marginTop="20dp"
|
||||
android:textColor="@color/verdnatura_white"
|
||||
|
|
|
@ -42,9 +42,7 @@
|
|||
<string name="cantidad">cantidad</string>
|
||||
<string name="carrodeorigen">carro de origen</string>
|
||||
<string name="Carrodestino">Carro destino</string>
|
||||
<string name="Transferir">Transferir</string>
|
||||
<string name="Sinsector">Sin sector</string>
|
||||
|
||||
<string name="Close">Cerrar</string>
|
||||
<string name="Noexistessectores">No existes sectores.</string>
|
||||
<string name="Seleccionaunsector">Selecciona un sector</string>
|
||||
|
@ -191,7 +189,7 @@
|
|||
<string name="deletedLabel">Carro/etiqueta borrada</string>
|
||||
<string name="end">Finalizar</string>
|
||||
<string name="undone">Deshacer</string>
|
||||
<string name="labels">\"Etiquetas: \"</string>
|
||||
<string name="labels">Etiquetas: </string>
|
||||
<string name="nameApp">warehouse</string>
|
||||
<string name="scanSmarttagOrShelving">Escanea etiqueta/s electrónica/s o matrícula/s</string>
|
||||
<string name="scanHighLabel">Escanea etiqueta superior</string>
|
||||
|
@ -203,7 +201,7 @@
|
|||
<string name="allowParking">Permite aparcar ticket/carro</string>
|
||||
<string name="allowTakeoffVehicle">Permite dejar el vehículo</string>
|
||||
<string name="newCollection">Genera colección para sacar</string>
|
||||
<string name="showFilter">\"Ver filtro \"</string>
|
||||
<string name="showFilter">Ver filtro </string>
|
||||
<string name="showFaults">Ver movimientos de Faltas</string>
|
||||
<string name="showTrash">Ver movimientos de Basura</string>
|
||||
<string name="filterFlower">Filtra por tipo de flor</string>
|
||||
|
@ -221,7 +219,7 @@
|
|||
<string name="changePriority">Cambia la prioridad de los items del carro. Cuanto más alta antes cogerán los sacadores.</string>
|
||||
<string name="allowAutomaticAddItem">Permite añadir items al carro de manera continuada. No uno a uno</string>
|
||||
<string name="newItem">Nuevo Item</string>
|
||||
<string name="editItem">\"Editar item \"</string>
|
||||
<string name="editItem">Editar item </string>
|
||||
<string name="fillFields">Rellena campos obligatorios</string>
|
||||
<string name="mandatoryPacking">Packing obligatorio</string>
|
||||
<string name="selectAction">Selecciona una acción</string>
|
||||
|
@ -231,9 +229,55 @@
|
|||
<string name="accept">Aceptar</string>
|
||||
<string name="selectPrinter">Tiene que seleccionar impresora.</string>
|
||||
<string name="newTruck">Nuevo Camión</string>
|
||||
<string name="psScan">\"PScan: \"</string>
|
||||
<string name="psScan">PScan: </string>
|
||||
<string name="savedShelves">Baldas guardadas</string>
|
||||
<string name="operation">\"Operación \"</string>
|
||||
<string name="operation">Operación </string>
|
||||
<string name="closeOdrder">¿Estás seguro de cerrar el pedido?</string>
|
||||
<string name="confirm">Confirmar</string>
|
||||
<string name="scanItem">Escanea un item</string>
|
||||
<string name="itemNotFound">No hemos podido encontrar el articulo. Revisa el sector.</string>
|
||||
<string name="errorOperation">Error al realizar la operación</string>
|
||||
<string name="scanLabelExpedition">Escanea etiqueta de la expedición.</string>
|
||||
<string name="buffer">Buffer:</string>
|
||||
<string name="packingSave">Packing guardado</string>
|
||||
<string name="previousCollected">Previa recogida</string>
|
||||
<string name="disponibility">Disponibilidad</string>
|
||||
<string name="unmarkLine">Desmarcar línea</string>
|
||||
<string name="goUnmark">Vas a desmarcar la línea: </string>
|
||||
<string name="sure"> ¿Estás seguro?\</string>
|
||||
<string name="unmark">Desmarcar</string>
|
||||
<string name="sectorALGEMESI">ALGEMESI V</string>
|
||||
<string name="take">Coger</string>
|
||||
<string name="errorRegistered">Causa del error registrado</string>
|
||||
<string name="printerFault">Falta seleccionar impresora</string>
|
||||
<string name="observations">Observaciones</string>
|
||||
<string name="scanShelvingHistorical">Escanea matrícula para ver histórico</string>
|
||||
<string name="scanPlate">Escanea matrícula del vehículo</string>
|
||||
<string name="scanPlateTakeoff">Escanea matrícula para dejar vehículo</string>
|
||||
<string name="returnScan">Vuelva a escanear</string>
|
||||
<string name="doVehiclePlate">¿Qué desea hacer con el vehículo de matrícula</string>
|
||||
<string name="priorityChanged">Prioridad modificada</string>
|
||||
<string name="itemDeleteConfirm">Confirmas eliminar el artículo: </string>
|
||||
<string name="wagonIncorrect">Carro incorrecto</string>
|
||||
<string name="transfer">Transferir</string>
|
||||
<string name="shelvingNew">Nueva matrícula</string>
|
||||
<string name="selectDestiny">Introduce el destino para item: </string>
|
||||
<string name="empty">Vaciar carro</string>
|
||||
<string name="operationNoReturn">Esta operación no se puede rectificar.</string>
|
||||
<string name="label"> E: </string>
|
||||
<string name="pUppercase"> P: </string>
|
||||
<string name="itemSearch">Consultar artículo</string>
|
||||
<string name="quantityReal">Cantidad real(</string>
|
||||
<string name="pull">Tirar</string>
|
||||
<string name="titleItemSearch">Buscar item</string>
|
||||
<string name="titleHistorical">Historico</string>
|
||||
<string name="titleSimilarItems">Artículos similares</string>
|
||||
<string name="currentVAlue">Valor actual: </string>
|
||||
<string name="titleSearchSimilarItems">Buscar artículos similares</string>
|
||||
<string name="deleteStock">Indica la causa de eliminar stock:</string>
|
||||
<string name="quantityToRegister">Indica la cantidad a dar de alta</string>
|
||||
<string name="quantityToUnregister">\"Indica la cantidad a dar de baja \"</string>
|
||||
<string name="fault">Falta</string>
|
||||
<string name="trash">Basura</string>
|
||||
<string name="errorNotNumber">El elemento introducido no es un número</string>
|
||||
</resources>
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
<string name="cantidad">quantity</string>
|
||||
<string name="carrodeorigen">origin car</string>
|
||||
<string name="Carrodestino">Destination car</string>
|
||||
<string name="Transferir">To transfer</string>
|
||||
<string name="Sinsector">Without sector</string>
|
||||
<string name="Close">Close</string>
|
||||
<string name="Noexistessectores">There are no sectors.</string>
|
||||
|
@ -189,7 +188,7 @@
|
|||
<string name="deletedLabel">Carro/etiqueta borrada</string>
|
||||
<string name="end">Finalizar</string>
|
||||
<string name="undone">Deshacer</string>
|
||||
<string name="labels">\"Etiquetas: \"</string>
|
||||
<string name="labels">Etiquetas: </string>
|
||||
<string name="nameApp">warehouse</string>
|
||||
<string name="scanSmarttagOrShelving">Escanea etiqueta/s electrónica/s o matrícula/s</string>
|
||||
<string name="scanHighLabel">Escanea etiqueta superior</string>
|
||||
|
@ -219,7 +218,7 @@
|
|||
<string name="changePriority">Cambia la prioridad de los items del carro. Cuanto más alta antes cogerán los sacadores.</string>
|
||||
<string name="allowAutomaticAddItem">Permite añadir items al carro de manera continuada. No uno a uno</string>
|
||||
<string name="newItem">Nuevo Item</string>
|
||||
<string name="editItem">\"Editar item \"</string>
|
||||
<string name="editItem">Editar item </string>
|
||||
<string name="fillFields">Rellena campos obligatorios</string>
|
||||
<string name="mandatoryPacking">Packing obligatorio</string>
|
||||
<string name="selectAction">Selecciona una acción</string>
|
||||
|
@ -229,10 +228,56 @@
|
|||
<string name="accept">Aceptar</string>
|
||||
<string name="selectPrinter">Tiene que seleccionar impresora.</string>
|
||||
<string name="newTruck">Nuevo Camión</string>
|
||||
<string name="psScan">\"PScan: \"</string>
|
||||
<string name="psScan">PScan: </string>
|
||||
<string name="savedShelves">Baldas guardadas</string>
|
||||
<string name="operation">\"Operación \"</string>
|
||||
<string name="operation">Operación </string>
|
||||
<string name="closeOdrder">¿Estás seguro de cerrar el pedido?</string>
|
||||
<string name="confirm">Confirmar</string>
|
||||
<string name="scanItem">Escanea un item</string>
|
||||
<string name="itemNotFound">No hemos podido encontrar el articulo. Revisa el sector.</string>
|
||||
<string name="errorOperation">Error al realizar la operación</string>
|
||||
<string name="scanLabelExpedition">Escanea etiqueta de la expedición.</string>
|
||||
<string name="buffer">Buffer:</string>
|
||||
<string name="packingSave">Packing guardado</string>
|
||||
<string name="previousCollected">Previa recogida</string>
|
||||
<string name="disponibility">availability</string>
|
||||
<string name="unmarkLine">Desmarcar linea</string>
|
||||
<string name="goUnmark">Vas a desmarcar la linea: </string>
|
||||
<string name="sure">¿Estás seguro?</string>
|
||||
<string name="unmark">Desmarcar</string>
|
||||
<string name="sectorALGEMESI">ALGEMESI V</string>
|
||||
<string name="take">Coger</string>
|
||||
<string name="errorRegistered">Causa del error registrado</string>
|
||||
<string name="printerFault">Falta seleccionar impresora</string>
|
||||
<string name="observations">Observaciones</string>
|
||||
<string name="scanShelvingHistorical">Escanea matrícula para ver histórico</string>
|
||||
<string name="scanPlate">Escanea matrícula del vehículo</string>
|
||||
<string name="scanPlateTakeoff">Escanea matrícula para dejar vehículo</string>
|
||||
<string name="returnScan">Vuelva a escanear</string>
|
||||
<string name="doVehiclePlate">¿Qué desea hacer con el vehículo de matrícula</string>
|
||||
<string name="priorityChanged">Prioridad modificada</string>
|
||||
<string name="itemDeleteConfirm">Confirmas eliminar el artículo: </string>
|
||||
<string name="wagonIncorrect">Carro incorrecto</string>
|
||||
<string name="transfer">Transferir</string>
|
||||
<string name="shelvingNew">Nueva matrícula</string>
|
||||
<string name="selectDestiny">Introduce el destino para item: </string>
|
||||
<string name="empty">Vaciar carro</string>
|
||||
<string name="operationNoReturn">Esta operación no se puede rectificar.</string>
|
||||
<string name="label"> L: </string>
|
||||
<string name="pUppercase"> P: </string>
|
||||
<string name="itemSearch">Consultar artículo</string>
|
||||
<string name="quantityReal">Cantidad real(</string>
|
||||
<string name="pull">Tirar</string>
|
||||
<string name="titleItemSearch">Buscar item</string>
|
||||
<string name="titleHistorical">Historico</string>
|
||||
<string name="titleSimilarItems">Artículos similares</string>
|
||||
<string name="currentVAlue">\"Valor actual: \"</string>
|
||||
<string name="titleSearchSimilarItems">Buscar artículos similares</string>
|
||||
<string name="deleteStock">Indica la causa de eliminar stock:</string>
|
||||
<string name="quantityToRegister">Indica la cantidad a dar de alta</string>
|
||||
<string name="quantityToUnregister">\"Indica la cantidad a dar de baja \"</string>
|
||||
<string name="fault">Falta</string>
|
||||
<string name="trash">Basura</string>
|
||||
<string name="errorNotNumber">El elemento introducido no es un número</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue