u
This commit is contained in:
@@ -9,6 +9,12 @@ import customergroupAutomat from '../../automats/customergroupAutomat';
|
||||
import deliveryAutomat from '../../automats/deliveryAutomat';
|
||||
import quoteAutomat from '../../automats/quoteAutomat';
|
||||
import orderAutomat from '../../automats/orderAutomat';
|
||||
import {
|
||||
GREEN_PANEL,
|
||||
ORANGE_PANEL,
|
||||
PURPLE_PANEL,
|
||||
YELLOW_PANEL,
|
||||
} from '../../colors';
|
||||
|
||||
/** Groups that are not sales customers (filter client-side). */
|
||||
export const EXCLUDED_CUSTOMER_GROUP_NAMES = new Set(['Lieferanten', 'POS']);
|
||||
@@ -559,9 +565,9 @@ export function manifestConfig(kind) {
|
||||
getPathLabel: 'GET /api/delivery/:id',
|
||||
postPathLabel: 'POST /api/delivery',
|
||||
patchPathLabel: 'PATCH /api/delivery/:id',
|
||||
listColor: '#fed7aa',
|
||||
headerColor: '#fed7aa',
|
||||
linesColor: '#bbf7d0',
|
||||
listColor: ORANGE_PANEL,
|
||||
headerColor: ORANGE_PANEL,
|
||||
linesColor: GREEN_PANEL,
|
||||
requirePartyBeforeLines: false,
|
||||
listAutomat: deliveryAutomat,
|
||||
partiesByIdFromList: (parties) =>
|
||||
@@ -595,9 +601,9 @@ export function manifestConfig(kind) {
|
||||
getPathLabel: 'GET /api/quote/:id',
|
||||
postPathLabel: 'POST /api/quote',
|
||||
patchPathLabel: 'PATCH /api/quote/:id',
|
||||
listColor: '#fde68a',
|
||||
headerColor: '#fde68a',
|
||||
linesColor: '#bbf7d0',
|
||||
listColor: YELLOW_PANEL,
|
||||
headerColor: YELLOW_PANEL,
|
||||
linesColor: GREEN_PANEL,
|
||||
requirePartyBeforeLines: false,
|
||||
listAutomat: quoteAutomat,
|
||||
partiesByIdFromList: (parties) =>
|
||||
@@ -628,9 +634,9 @@ export function manifestConfig(kind) {
|
||||
getPathLabel: 'GET /api/order/:id',
|
||||
postPathLabel: 'POST /api/order',
|
||||
patchPathLabel: 'PATCH /api/order/:id',
|
||||
listColor: '#c4b5fd',
|
||||
headerColor: '#c4b5fd',
|
||||
linesColor: '#bbf7d0',
|
||||
listColor: PURPLE_PANEL,
|
||||
headerColor: PURPLE_PANEL,
|
||||
linesColor: GREEN_PANEL,
|
||||
requirePartyBeforeLines: false,
|
||||
listAutomat: orderAutomat,
|
||||
partiesByIdFromList: (parties) =>
|
||||
|
||||
Reference in New Issue
Block a user