mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 361: #1085 Add CREATE_SHIPPINGNOTE as Indicator for creating a note
#1085 Add CREATE_SHIPPINGNOTE as Indicator for creating a note
This commit is contained in:
@@ -31,6 +31,7 @@ export enum actionCommands {
|
||||
}
|
||||
|
||||
export enum additionalCommands {
|
||||
'CREATE_SHIPPINGNOTE' = 'CREATE_SHIPPINGNOTE',
|
||||
'PRINT_SHIPPINGNOTE' = 'PRINT_SHIPPINGNOTE',
|
||||
'PRINT_COMPARTMENTLABEL' = 'PRINT_COMPARTMENTLABEL',
|
||||
'FETCHED_PARTIAL' = 'FETCHED_PARTIAL',
|
||||
|
||||
@@ -52,7 +52,7 @@ export class ShelfActionHandlerService {
|
||||
public shouldCreateShippingNote(
|
||||
action: KeyValueDTOOfStringAndString
|
||||
): boolean {
|
||||
return action.key.includes('SHIPPINGNOTE');
|
||||
return action.key.includes(additionalCommands.CREATE_SHIPPINGNOTE);
|
||||
}
|
||||
|
||||
public shouldDetermineSupplier(
|
||||
|
||||
Reference in New Issue
Block a user