partial issue of job card
This commit is contained in:
parent
17d5422c43
commit
062365ed51
@ -244,13 +244,15 @@ fun searchOutgoingInventory(
|
|||||||
): List<OutgoingInventory> {
|
): List<OutgoingInventory> {
|
||||||
val q = database.find(OutgoingInventory::class.java)
|
val q = database.find(OutgoingInventory::class.java)
|
||||||
.where()
|
.where()
|
||||||
.ilike("mdn", "%" + outgoingInventoryFilters.mdnLike + "%")
|
// .ilike("mdn", "%" + outgoingInventoryFilters.mdnLike + "%")
|
||||||
.ilike("purpose", "%" + outgoingInventoryFilters.purposeLike + "%")
|
// .ilike("purpose", "%" + outgoingInventoryFilters.purposeLike + "%")
|
||||||
// .ilike("person", "%" + outgoingInventoryFilters.personLike + "%")
|
// .ilike("person", "%" + outgoingInventoryFilters.personLike + "%")
|
||||||
//.ilike("vehicle", "%" + outgoingInventoryFilters.vehicleLike + "%")
|
//.ilike("vehicle", "%" + outgoingInventoryFilters.vehicleLike + "%")
|
||||||
if (outgoingInventoryFilters.outMode != OutMode.ALL) {
|
if (outgoingInventoryFilters.outMode != OutMode.ALL) {
|
||||||
q.eq("outMode", outgoingInventoryFilters.outMode)
|
q.eq("outMode", outgoingInventoryFilters.outMode)
|
||||||
}
|
}
|
||||||
|
applyPlantFilter(q, commonFilters.plant)
|
||||||
|
|
||||||
applyFromToHelper(q, commonFilters.from, commonFilters.to, "date")
|
applyFromToHelper(q, commonFilters.from, commonFilters.to, "date")
|
||||||
applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc)
|
applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc)
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,8 @@ data class POProducts(
|
|||||||
val totalValue: Double = 0.0,
|
val totalValue: Double = 0.0,
|
||||||
val description: String = "",
|
val description: String = "",
|
||||||
val uom: String = "",
|
val uom: String = "",
|
||||||
val poId: Long? = null
|
val poId: Long? = null,
|
||||||
|
val isAvailable: Boolean? = false
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<!-- SQL and bind values -->
|
<!-- SQL and bind values -->
|
||||||
<logger name="io.ebean.SQL" level="WARN"/>
|
<logger name="io.ebean.SQL" level="DEBUG"/>
|
||||||
<logger name="org.apache.http.client.protocol.ResponseProcessCookies" level="ERROR"/>
|
<logger name="org.apache.http.client.protocol.ResponseProcessCookies" level="ERROR"/>
|
||||||
|
|
||||||
<!-- Transaction Commit and Rollback events -->
|
<!-- Transaction Commit and Rollback events -->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user