partial issue of job card

This commit is contained in:
gowthaman 2024-06-25 10:38:59 +05:30
parent 17d5422c43
commit 062365ed51
3 changed files with 7 additions and 4 deletions

View File

@ -244,13 +244,15 @@ fun searchOutgoingInventory(
): List<OutgoingInventory> {
val q = database.find(OutgoingInventory::class.java)
.where()
.ilike("mdn", "%" + outgoingInventoryFilters.mdnLike + "%")
.ilike("purpose", "%" + outgoingInventoryFilters.purposeLike + "%")
// .ilike("mdn", "%" + outgoingInventoryFilters.mdnLike + "%")
// .ilike("purpose", "%" + outgoingInventoryFilters.purposeLike + "%")
// .ilike("person", "%" + outgoingInventoryFilters.personLike + "%")
//.ilike("vehicle", "%" + outgoingInventoryFilters.vehicleLike + "%")
if (outgoingInventoryFilters.outMode != OutMode.ALL) {
q.eq("outMode", outgoingInventoryFilters.outMode)
}
applyPlantFilter(q, commonFilters.plant)
applyFromToHelper(q, commonFilters.from, commonFilters.to, "date")
applySortHelper(q, commonFilters.sortBy, commonFilters.sortAsc)

View File

@ -27,7 +27,8 @@ data class POProducts(
val totalValue: Double = 0.0,
val description: String = "",
val uom: String = "",
val poId: Long? = null
val poId: Long? = null,
val isAvailable: Boolean? = false
)

View File

@ -21,7 +21,7 @@
</appender>
<!-- 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"/>
<!-- Transaction Commit and Rollback events -->