{!{@tech.ebp.oqm.baseStation.service.mongo.search.SearchResult searchResult}!} {!{@tech.ebp.oqm.baseStation.service.mongo.search.PagingCalculations pagingCalculations}!} {!{@java.util.Map allowedUnitsMap}!} {#include webui/mainWebPageTemplate navbar="full" showTitle=true title='Storage' page='storage'} {! Accepts: - showSearch: bool, to have the search form expanded already - numStorageBlocks: int, the number of storage blocks in the system - allowedUnitsMap- Map > the map of allowed units !} {#styleSheets} {/styleSheets} {#pageStyle} #storageBlockViewCarousel{ max-width:400px; } {/pageStyle} {#pageContent}

{#search/storage/searchForm id='mainPageSearch' rootPrefix=rootPrefix} {/search/storage/searchForm}
{#search/storage/searchResults searchResults=searchResults actionType='full' searchFormId='mainPageSearch' rootPrefix=rootPrefix} {/search/storage/searchResults}

{!{#inputs/units/unitOptionsHidden allowedUnitsMap=allowedUnitsMap}!} {!{/inputs/units/unitOptionsHidden}!} {/pageContent} {#modals} {#modal id='addEdit' size='lg' title='Add/Edit Storage Block'}
Optional. A more recognizable name to call this storage block.
Optional. Where this storage block is generally located.
{#inputs/storageBlock/storageBlockSelectInput id=id blockIdName='addEditParentInput' help="Optional. The storage block this block is to be located within." /}
{#inputs/categoryInput id="addEditCategoriesInput" allCategorySearchResults=allCategorySearchResults multi=true} {/inputs/categoryInput}
The categories of item this storage block holds. {#links/itemCategory}{/links/itemCategory}
{#search/image/imageSelectFormInput /} {! TODO:: do capacities: [FR]: Enable managing storage block capacities in UI #230 !} {!{#inputs/capacityInput}!} {!{/inputs/capacityInput}!} {#inputs/keywordInput} {/inputs/keywordInput} {#inputs/attInput} {/inputs/attInput}

Bulk insert will make a copies of the block described above using the settings below.
Example Labels:

{#footerButtons} {/footerButtons} {/modal} {#search/storage/searchSelectModal otherModalId="addEditModal" rootPrefix=rootPrefix /} {#search/image/imageSearchSelectModal otherModalId="addEditModal" rootPrefix=rootPrefix /} {#modal id='storageBlockInventorySheetPrintout' title='Inventory Sheet Printout' otherModalId="storageBlockViewModal" submitForm="storageBlockInventorySheetPrintoutForm" submitDismiss=false} {#titleIcon}{#icons/print}{/icons/print}{/titleIcon}
Options
{/modal} {#modal id='storageBlockView' size='xl' title='Storage Block View'} {#titleIcon}{#icons/storageBlock}{/icons/storageBlock}{/titleIcon}
{#carousel id='storageBlockViewCarousel' carouselCss='col'}{/carousel}
Id:

{#copyTextButton /}

Location in storage:
Children:
Location:

Description:

Capacities:
{#icons/categories}{/icons/categories} Stored Item Categories:

{#objView/objKeywordsView id='viewKeywordsSection' classes='col' /} {#objView/objAttsView id='viewAttsSection' classes='col' /}

{#icons/items /} Items Stored:

{! TODO:: once we know how we want to do this !} {!{#itemStored/transaction/buttons/transactionDropdown dropdownClasses="btn-sm me-1" buttonText=false checkinButton=false /}!}
{!TODO:: functionality here!}

{#search/item/itemSearchForm id='itemsInBlockSearchForm' rootPrefix=rootPrefix allCategorySearchResults=allCategorySearchResults /}
{#objView/history/objHistoryView containerId='storageBlockHistory' objectUrl=(rootPrefix + '/api/passthrough/inventory/storage-block/') accordion=true /}
{/modal} {#search/item/itemSearchSelectModal rootPrefix=rootPrefix allCategorySearchResults=allCategorySearchResults /} {#CodeScannerModal /} {/modals} {#scripts} {/scripts} {#pageScript} {/pageScript} {/include}