{#if itemSearchIt.hasResults()}

{#icons/storageTypeBulk / } Bulk Items

{#printouts/storageBlockInventorySheet/itemTables/itemTable auth=auth db=db options=options itemSearchIt=itemSearchIt storageBlock=storageBlock} {#tableHeaderCells} {#printouts/storageBlockInventorySheet/itemTables/itemStdHeaderPre options=options /} {#printouts/storageBlockInventorySheet/itemTables/stored/storedHeaders storageType='BULK' options=options /} {#printouts/storageBlockInventorySheet/itemTables/itemStdHeaderPost options=options /} {/tableHeaderCells} {#tableBodyRows} {#for curResult in itemSearchIt} {#let startIndex=curResult.get("pagingCalculations").get("pageResultIndexStart").asInt()} {#for curItem in curResult.get("results")} {#let blockStats = curItem.get("stats").get("storageBlockStats").get(storageBlock.get("id").asText())} {#printouts/storageBlockInventorySheet/itemTables/itemStdRowPre options=options item=curItem resultNo=(curItem_index + startIndex) /} {#let stored=cdi:PrintoutDataUtilService.getSingleStoredInBlockPage(auth, db, curItem.get("id").asText(), storageBlock.get("id").asText())} {#printouts/storageBlockInventorySheet/itemTables/stored/storedData storageType='BULK' stored=stored options=options /} {/let} {#printouts/storageBlockInventorySheet/itemTables/itemStdRowPost options=options item=curItem /} {/let} {/for} {/for} {/tableBodyRows} {/printouts/storageBlockInventorySheet/itemTables/itemTable} {/if}