feat: refs#6802 DeparmentbySalesPerson

This commit is contained in:
Sergio De la torre 2025-03-24 11:53:14 +01:00
parent 36f8a43f34
commit 54a679f0ce
1 changed files with 5 additions and 5 deletions

View File

@ -15,6 +15,7 @@ class CollectionTicket(
var tickets: MutableList<Ticket> = mutableListOf(),
var isError: Boolean = false,
var errorMessage: String = "",
val sectorFk: Int? = null
)
data class Ticket(
@ -22,7 +23,6 @@ data class Ticket(
var level: String?,
var rgb: String?,
val agencyName: String,
val salesPersonFk: Int,
val observations: String?,
val warehouseFk: Int,
val sales: MutableList<Sale> = mutableListOf()
@ -71,7 +71,8 @@ data class Sale(
var currentItemShelving: Int = 0,
var stateCode: String? = "",
var ticketOrder: Int? = null,
val username: String? = null
val username: String? = null,
val sectorFk: Int? = null
)
@ -113,7 +114,6 @@ class TicketSalix(
var level: String? = "",
var rgb: String?,
var agencyName: String = "",
var salesPersonFk: String = "",
var sales: List<SaleVO> = listOf(),
@SerializedName(
value = "observations",
@ -171,7 +171,8 @@ class SaleVO(
var sectorFk: Int? = null,
var packingChecked: Int = 1,
var isAdvanced: Int? = 0,
var parkingCode: String? = ""
var parkingCode: String? = "",
var pickedOrder: String? = null
)
@ -180,7 +181,6 @@ class TicketVO(
var level: String? = "",
var rgb: String?,
var agencyName: String = "",
var salesPersonFk: String = "",
var sales: List<SaleVO> = listOf(),
@SerializedName(
value = "observations",