{#modal id='addEditItem' size='xl' title='Item add/edit' submitDismiss=false} {#footerButtons} {/footerButtons}
{#if config:['quarkus.rest-client.externalItemSearch.url'] != " "}
{/if}
{#if config:['quarkus.rest-client.externalItemSearch.url'] != " "}
Search for items:
{!
!} {!!} {!!} {!
Specify none to use "any".
!} {!
!}
{#inputs/barcodeInput id='addEditProductSearchTermInput' name='q' type='text' searchSubmit=true required=true /}
Scan in or enter a search term.
# Name / Service / Source / Method {#icons/images /} {#icons/pricing /} {#icons/link /} {#icons/identifiers /} {#icons/view /}
foo
{/if}
For details on each type of storage, see {#icons/help /} Help
This cannot be changed after item creation.
This cannot be changed to an incompatible unit after item creation.
For details on the units and what are available, see {#icons/help /} Help
{#inputs/categoryInput id="addEditItemCategoriesInput" allCategorySearchResults=allCategorySearchResults multi=true /}

{#icons/storageBlocks /} Associated Storage:

{#inputs/identifiers/associatedIdentifierInput id="addEditItemIdentifiersInput" name="newIdentifier" forObject='ITEM'/}
{#inputs/identifiers/associatedIdGeneratorInput forObject="STORED" id=(id + "-item") /}

How many time units before expiration dates to warn of imminent expiration. 0 for no warning.
* = Depending on server settings, you might not get an accurate warning with a short warning period.
The lowest amount to be stored before being marked as low on stock. Leave blank for no threshold.

{#inputs/pricing/pricingInput id='addEditItemPricingInput' /}
These prices are automatically counted for all stored items. To override, set the price in the individual stored.
This label format is used when stored items aren't supplied with their own.

Stored Label Formatting:

You can specify any label format you like to stored items, and include from a selection of different dynamic inclusions. Leave blank for default label format.

This is used mostly in stored search results. The goal is to help differentiate between stored items in that search. An example would be for an item that is a particular shirt print design, you could differentiate between shirt sizes.

Examples:
  • \{id} {#icons/arrowRight /} 69685a30ed9db4170b717e10 (the id of the stored item)
  • \{amt} - \{id} {#icons/arrowRight /} 1 units - 69685a30ed9db4170b717e10
  • Size: \{att;size} {#icons/arrowRight /} Size: L (for a stored item with a size attribute of L)
  • Expires: \{exp;LLL/yyyy} {#icons/arrowRight /} Expires: Jul/2024 (for a stored item with an expiration date in July 2024)
Format placeholders:
  • Id: \{id;number of digits, startting from the end (optional)} - The ID of the stored object. Parameter to specify the number of characters to actually display. Defaults to full Id.
  • Amount: \{amt} - Use the stored amount. Defaults to "1 units" for unique stored.
  • Condition: \{cnd} - Use the condition as a percentage.
  • Expiration: \{exp;datetime format} - Writes out the expiration for this stored. Format should match standard Java datetime syntax. Default format is MM/dd/yyyy
  • Identifier: \{ident;name of identifier} - Use an identifier value.
  • Price: \{price;name of calculated price} - Use a price value. Does not include price label.
  • Attribute: \{att;key for attribute} - Use an attribute value.
{!
!} {!TODO:: 460 !} {!!} {!
!} {!
!} {!!} {!!} {!
!} {!Check this to specify items you have, but aren't stored in any particular location. To specify items stored somewhere, hit the "Add Associated Storage" below.!} {!
!} {!
!} {!
!} {!
!} {!
!} {!
!} {!
!} {!
!} {!
Stored
!} {!
!} {!
!} {!!} {!
!} {!
!} {!!} {!
!} {!
!} {!
!}
{#inputs/assocLink/assocLinkInput id='addEditItemLinksInput' /}
{#search/image/imageSelectFormInput /} {#fileAttachment/fileAttachmentSelectFormInput /} {#inputs/keywordInput /} {#inputs/attInput /}
{/modal}