
* Update schema and biuld types for sale per variant * Create variant search module and generate types for it * Add listing component for sale view * Create dialog for variant assignment * Expand sale page with vairnats * Add new sale fixtures * Add transaltions for variants on sale view * Update snapshot * Refactor sales dialogs and tables, move styles and ittl to local files * Rework search dialog. Create item/subitem selectable table for variants, update spapshot * Adjust table columns width * Standardize the tables * Unify messages * Drop whole variant object in favor of just ids, simplify filtring functions * Update snapshots Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
18 lines
477 B
TypeScript
18 lines
477 B
TypeScript
import { defineMessages } from "react-intl";
|
|
|
|
export const messages = defineMessages({
|
|
assignVariantDialogHeader: {
|
|
defaultMessage: "Assign Product",
|
|
description: "dialog header"
|
|
},
|
|
assignProductDialogButton: {
|
|
defaultMessage: "Assign",
|
|
description: "button"
|
|
},
|
|
assignProductDialogContent: {
|
|
defaultMessage: "Search Products"
|
|
},
|
|
assignProductDialogSearch: {
|
|
defaultMessage: "Search by product name, attribute, product type etc..."
|
|
}
|
|
});
|