mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-25 07:45:44 +00:00
fix perhitunga sapronak
This commit is contained in:
@@ -371,7 +371,9 @@ func buildSapronakDetails(
|
||||
addRows(result.Incoming, incomingRows, "Pembelian", true)
|
||||
addRows(result.Usage, usageRows, "Pemakaian", false)
|
||||
addRows(result.AdjIncoming, adjIncomingRows, "Adjustment Masuk", true)
|
||||
addRows(result.AdjOutgoing, adjOutgoingRows, "Adjustment Keluar", false)
|
||||
// Outgoing adjustment rows here are sourced from stock allocation
|
||||
// consume flow (adjustment_stocks.usage_qty), so treat them as usage.
|
||||
addRows(result.AdjOutgoing, adjOutgoingRows, "Pemakaian", false)
|
||||
addRows(result.TransferIn, transferInRows, "Mutasi Masuk", true)
|
||||
addRows(result.TransferOut, transferOutRows, "Mutasi Keluar", false)
|
||||
addRows(result.SalesOut, salesOutRows, "Penjualan", false)
|
||||
|
||||
Reference in New Issue
Block a user