refs #6183
This commit is contained in:
parent
ecbea7fa6c
commit
9947d32036
|
@ -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 = ""
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue