\n\t\t\t@if (isAdapterConnected) {\n\t\t\t\t
\n\t\t\t\t\t{{\n\t\t\t\t\t\t'ORDERS.ORDEROVERVIEW.CANCEL.REMOVE_FROM_STORERX'\n\t\t\t\t\t\t\t| translate: { n: stockItemsNo }\n\t\t\t\t\t}}\n\t\t\t\t
\n\t\t\t}\n\t\t\t
\n\t\t
\n\t`,\n\tstyles: [],\n\tstandalone: true,\n\timports: [OrderStoredPacksShortListComponent, TranslateModule],\n})\nexport class StorerxDialogComponent implements OnInit {\n\t@Input() isAdapterConnected: boolean;\n\t@Input() stockInputs: StockInputDto[] = [];\n\tstockItemsNo: number = 0;\n\n\tconstructor(private dialogService: OrderDialogService) {}\n\n\tpublic ngOnInit(): void {\n\t\tthis.stockItemsNo = this.dialogService.get_stockinputs_count(\n\t\t\tthis.stockInputs,\n\t\t);\n\t}\n}\n","import { AsyncPipe } from '@angular/common';\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { RouterLink } from '@angular/router';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { IconsComponent } from 'src/app/core/components/icons/icons.component';\nimport { OutputLocation } from 'src/app/swagger';\nimport { RowaDropdownsModule } from '../../../../../../libs/ui/src/lib/dropdowns/dropdowns.module';\nimport { ImportedIconsComponent } from '../../../../core/components/imported-icons/imported-icons.component';\n\n@Component({\n\tselector: 'app-vmax-dialog',\n\ttemplate: `\n\t\t@if (isAdapterConnected && storedQ > 0) {\n\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t@if (isDemoOrder) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t'ORDERS.ORDEROVERVIEW.DISPENSE.DEMO_ORDER'\n\t\t\t\t\t\t\t\t\t| translate\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t@if (!isRecurrentOrder) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t'ORDERS.ORDEROVERVIEW.DISPENSE.ALL_PACKAGES_WILL_BE_DISPENSED_FROM_THE_ROBOT'\n\t\t\t\t\t\t\t\t\t| translate\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t\t'ORDERS.ORDEROVERVIEW.CANCEL.PACKAGES_UNRESERVED'\n\t\t\t\t\t\t\t\t\t| translate\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t}\n\t\t\n\t\t\t
\n\t\t\t\t{{ 'ORDERS.ORDEROVERVIEW.CANCEL.LABELS.IN_VMAX' | translate }}\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{{ 'ORDERS.ORDEROVERVIEW.PACKAGES.LABEL' | translate }}\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{{\n\t\t\t\t\t\tstoredQ > 0\n\t\t\t\t\t\t\t? storedQ +\n\t\t\t\t\t\t\t\t' ' +\n\t\t\t\t\t\t\t\t('ORDERS.ORDEROVERVIEW.PACKAGES.STORED'\n\t\t\t\t\t\t\t\t\t| translate)\n\t\t\t\t\t\t\t: ''\n\t\t\t\t\t}}\n\t\t\t\t\t@if (storedQ > 0) {\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t\t{{\n\t\t\t\t\t\tdispensedQ > 0\n\t\t\t\t\t\t\t? dispensedQ +\n\t\t\t\t\t\t\t\t' ' +\n\t\t\t\t\t\t\t\t('ORDERS.ORDEROVERVIEW.PACKAGES.DISPENSED'\n\t\t\t\t\t\t\t\t\t| translate)\n\t\t\t\t\t\t\t: ''\n\t\t\t\t\t}}\n\t\t\t\t
\n\t\t\t
\n\t\t\t@if (!isRecurrentOrder) {\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t'ORDERS.ORDEROVERVIEW.DISPENSE.OUTPUT_DESTINATION'\n\t\t\t\t\t\t\t\t| translate\n\t\t\t\t\t\t}}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{{ !selected ? '' : selected.name }}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{ option.name }}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t}\n\t\t\t@if (outputLocations?.length === 0) {\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{{\n\t\t\t\t\t\t\t'ORDERS.ORDEROVERVIEW.DISPENSE.NO_OUTPUT_DESTINATIONS'\n\t\t\t\t\t\t\t\t| translate\n\t\t\t\t\t\t}}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t}\n\t\t
\n\t`,\n\tstyles: [],\n\tstandalone: true,\n\timports: [\n\t\tImportedIconsComponent,\n\t\tRowaDropdownsModule,\n\t\tFormsModule,\n\t\tAsyncPipe,\n\t\tTranslateModule,\n\t\tIconsComponent,\n\t\tRouterLink,\n\t],\n})\nexport class VmaxDialogComponent {\n\t@Input() isAdapterConnected: boolean;\n\t@Input() orderNumber: string = '';\n\t@Input() isRecurrentOrder: boolean = false;\n\t@Input() storedQ: number = 0;\n\t@Input() dispensedQ: number;\n\t@Input() selectedOutputLocation: OutputLocation;\n\t@Input() outputLocations: OutputLocation[];\n\t@Output() selectedOutputLocationChange = new EventEmitter