This commit is contained in:
Sergio De la torre 2023-10-10 10:00:03 +02:00
parent ecbea7fa6c
commit 9947d32036
4 changed files with 6 additions and 3 deletions

View File

@ -6,6 +6,7 @@ package es.verdnatura.presentation.view.feature.diadeventa.model
var longName:String = "", var longName:String = "",
var dated:String = "", var dated:String = "",
var amount:String = "", var amount:String = "",
var visible:String ="",
var stock:String = "", var stock:String = "",
var isError:Boolean = false, var isError:Boolean = false,
var errorMessage:String = "" var errorMessage:String = ""

View File

@ -79,7 +79,9 @@ class InventaryViewModel(val context: Context) : BaseViewModel(context) {
//sergio para obtener comprador //sergio para obtener comprador
fun itemShelvingBuyerGet() { fun itemShelvingBuyerGet() {
silex.itemShelvingBuyerGet().enqueue(object : //Tarea 6141
// salix.getCollectionSalix()
salix.getBuyers().enqueue(object :
SilexCallback<List<BuyerVO>>(context) { SilexCallback<List<BuyerVO>>(context) {
override fun onError(t: Throwable) { override fun onError(t: Throwable) {
val listError: ArrayList<BuyerVO> = ArrayList() val listError: ArrayList<BuyerVO> = ArrayList()

View File

@ -79,7 +79,7 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Cantidad" android:text="Ubicado"
android:textSize="@dimen/body2" android:textSize="@dimen/body2"
android:textColor="@color/verdnatura_white" android:textColor="@color/verdnatura_white"
android:layout_weight="1" android:layout_weight="1"

View File

@ -55,7 +55,7 @@
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@{item.amount}" android:text="@{item.visible}"
android:textSize="@dimen/body2" android:textSize="@dimen/body2"
android:textColor="@color/verdnatura_white" android:textColor="@color/verdnatura_white"
android:layout_weight="1" android:layout_weight="1"