From 9f9310e1fff11328f77e91823c1becffe1f02604 Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 18 Oct 2026 20:54:08 +0200 Subject: [PATCH] u --- src/components/CompanySetupDialog.jsx | 2 +- .../article/ArticleImageSearchDialog.jsx | 2 +- .../article/ArticleSupplierDialog.jsx | 2 +- .../manifest/ArticleSearchDialog.jsx | 2 +- .../manifest/BookDeliveryDialog.jsx | 6 ++-- src/components/manifest/ManifestFormLine.jsx | 8 +++--- .../manifest/OrderShipmentDialog.jsx | 2 +- .../manifest/ShipmentDetailDialog.jsx | 2 +- src/components/manifest/manifestConfig.js | 28 +++++++++---------- src/routes/artikel.jsx | 2 +- src/routes/lieferung/neu.jsx | 6 ++-- 11 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/components/CompanySetupDialog.jsx b/src/components/CompanySetupDialog.jsx index 94ad4a9..077dbd0 100644 --- a/src/components/CompanySetupDialog.jsx +++ b/src/components/CompanySetupDialog.jsx @@ -47,7 +47,7 @@ import { import { backendErrorFrom, isBackendFailure } from '../utils/backendError'; const NUMBER_SCHEMES = [ - { type: 'sku', label: 'Artikel-SKU', icon: Inventory2Icon }, + { type: 'sku', label: 'Artikelnummer (ArtNr)', icon: Inventory2Icon }, { type: 'entity', label: 'Kundennummer', icon: PeopleIcon }, { type: 'delivery', label: 'Lieferschein', icon: LocalShippingIcon }, { type: 'adjustment', label: 'Bestandskorrektur', icon: TuneIcon }, diff --git a/src/components/article/ArticleImageSearchDialog.jsx b/src/components/article/ArticleImageSearchDialog.jsx index 9c96e78..f176c8f 100644 --- a/src/components/article/ArticleImageSearchDialog.jsx +++ b/src/components/article/ArticleImageSearchDialog.jsx @@ -280,7 +280,7 @@ export default class ArticleImageSearchDialog extends PureComponent { suggestions.push({ label: `${brandName} ${articleName}`, value: `${brandName} ${articleName}` }); } if (sku && sku !== query && sku !== articleName) { - suggestions.push({ label: `SKU: ${sku}`, value: sku }); + suggestions.push({ label: `ArtNr: ${sku}`, value: sku }); } if (firstEan && firstEan !== query) { suggestions.push({ label: `EAN: ${firstEan}`, value: firstEan }); diff --git a/src/components/article/ArticleSupplierDialog.jsx b/src/components/article/ArticleSupplierDialog.jsx index 216b024..12a66c2 100644 --- a/src/components/article/ArticleSupplierDialog.jsx +++ b/src/components/article/ArticleSupplierDialog.jsx @@ -147,7 +147,7 @@ export default class ArticleSupplierDialog extends PureComponent { )} this.setState({ sku: e.target.value })} placeholder="z. B. LF-09412" diff --git a/src/components/manifest/ArticleSearchDialog.jsx b/src/components/manifest/ArticleSearchDialog.jsx index 8774ccb..bee3308 100644 --- a/src/components/manifest/ArticleSearchDialog.jsx +++ b/src/components/manifest/ArticleSearchDialog.jsx @@ -130,7 +130,7 @@ export default class ArticleSearchDialog extends PureComponent { {line ? ( <> - {isDelivery ? 'Lieferanten-SKU' : 'SKU'}: {rawSku || '–'} + {isDelivery ? 'Lieferanten-ArtNr' : 'ArtNr'}: {rawSku || '–'} {line?.name ? ` · ${line.name}` : ''} ) : isDelivery ? ( diff --git a/src/components/manifest/BookDeliveryDialog.jsx b/src/components/manifest/BookDeliveryDialog.jsx index 5143eb3..0a3df24 100644 --- a/src/components/manifest/BookDeliveryDialog.jsx +++ b/src/components/manifest/BookDeliveryDialog.jsx @@ -505,8 +505,8 @@ export default class BookDeliveryDialog extends PureComponent { Pos. - Lieferanten-SKU - Eigene SKU + Lieferanten-ArtNr + Eigene ArtNr EAN Artikel Bestand @@ -780,7 +780,7 @@ export default class BookDeliveryDialog extends PureComponent { {prefillLine && ( Vorausgewählt zum Verbuchen: Position{' '} - {prefillLine.sku ? `SKU ${prefillLine.sku}` : prefillLine.name} ({amountsToBook[prefillLine.id] || 0} Stk.). Andere Positionen stehen auf 0. + {prefillLine.sku ? `ArtNr ${prefillLine.sku}` : prefillLine.name} ({amountsToBook[prefillLine.id] || 0} Stk.). Andere Positionen stehen auf 0. )} {this.renderLinesTable()} diff --git a/src/components/manifest/ManifestFormLine.jsx b/src/components/manifest/ManifestFormLine.jsx index 3828b57..caf8704 100644 --- a/src/components/manifest/ManifestFormLine.jsx +++ b/src/components/manifest/ManifestFormLine.jsx @@ -793,7 +793,7 @@ class ManifestFormLine extends PureComponent { )} - Kein Artikel für SKU „{rawSku}“ gefunden. + Kein Artikel für ArtNr „{rawSku}“ gefunden. ); @@ -981,7 +981,7 @@ class ManifestFormLine extends PureComponent { {/* Supplier SKU if distinct */} {supplierArticle.sku && supplierArticle.sku !== rawSku && supplierArticle.sku !== article.sku && ( - (Lief.-SKU: {supplierArticle.sku}) + (Lief.-ArtNr: {supplierArticle.sku}) )} @@ -1093,8 +1093,8 @@ class ManifestFormLine extends PureComponent { {this.props.kind === 'delivery' - ? `Kein Lieferanten-Artikel für SKU „${rawSku}“ gefunden.` - : `Kein Artikel für SKU „${rawSku}“ gefunden.`} + ? `Kein Lieferanten-Artikel für ArtNr „${rawSku}“ gefunden.` + : `Kein Artikel für ArtNr „${rawSku}“ gefunden.`} ); diff --git a/src/components/manifest/OrderShipmentDialog.jsx b/src/components/manifest/OrderShipmentDialog.jsx index bf09064..cd9889c 100644 --- a/src/components/manifest/OrderShipmentDialog.jsx +++ b/src/components/manifest/OrderShipmentDialog.jsx @@ -359,7 +359,7 @@ export default class OrderShipmentDialog extends PureComponent { onChange={() => this.handleToggleAll(openItems)} /> - SKU + ArtNr Artikel Bestellt Geliefert diff --git a/src/components/manifest/ShipmentDetailDialog.jsx b/src/components/manifest/ShipmentDetailDialog.jsx index 25f7815..a046e70 100644 --- a/src/components/manifest/ShipmentDetailDialog.jsx +++ b/src/components/manifest/ShipmentDetailDialog.jsx @@ -347,7 +347,7 @@ export default class ShipmentDetailDialog extends PureComponent { - SKU + ArtNr Bezeichnung Menge diff --git a/src/components/manifest/manifestConfig.js b/src/components/manifest/manifestConfig.js index 2c0338d..f85d549 100644 --- a/src/components/manifest/manifestConfig.js +++ b/src/components/manifest/manifestConfig.js @@ -224,7 +224,7 @@ export function buildLines(lines, { requireAtLeastOne }) { const missing = []; if (!sku && !name) { - missing.push('Artikel (SKU oder Name)'); + missing.push('Artikel (ArtNr oder Name)'); } if (amount == null) { missing.push(rawAmount != null ? 'gültige Menge' : 'Menge'); @@ -556,35 +556,35 @@ export async function buildManifestBody( export const LINE_COLUMNS = [ { id: 'pos', label: 'Pos', width: 44, align: 'center' }, { id: 'amount', label: 'Amount', width: 80, align: 'right', type: 'number' }, - { id: 'sku', label: 'SKU', width: 130, align: 'left', type: 'text' }, + { id: 'sku', label: 'ArtNr', width: 130, align: 'left', type: 'text' }, { id: 'name', label: 'Name', width: 200, align: 'left', type: 'text' }, - { id: 'tax', label: 'Tax', width: 70, align: 'right', type: 'number' }, - { id: 'rebate', label: 'Rebate', width: 75, align: 'right', type: 'number' }, - { id: 'net', label: 'Net', width: 95, align: 'right', type: 'number' }, - { id: 'gross', label: 'Gross', width: 95, align: 'right', type: 'number' }, + { id: 'tax', label: 'MwSt', width: 70, align: 'right', type: 'number' }, + { id: 'rebate', label: 'Rabatt', width: 75, align: 'right', type: 'number' }, + { id: 'net', label: 'Netto', width: 95, align: 'right', type: 'number' }, + { id: 'gross', label: 'Brutto', width: 95, align: 'right', type: 'number' }, ]; export const QUOTE_LINE_COLUMNS = LINE_COLUMNS; export const ORDER_LINE_COLUMNS = [ { id: 'pos', label: 'Pos', width: 44, align: 'center' }, - { id: 'sku', label: 'SKU', width: 130, align: 'left', type: 'text' }, + { id: 'sku', label: 'ArtNr', width: 130, align: 'left', type: 'text' }, { id: 'name', label: 'Name', width: 200, align: 'left', type: 'text' }, { id: 'amount', label: 'Amount', width: 80, align: 'right', type: 'number' }, - { id: 'tax', label: 'Tax', width: 70, align: 'right', type: 'number' }, - { id: 'rebate', label: 'Rebate', width: 75, align: 'right', type: 'number' }, - { id: 'net', label: 'Net', width: 95, align: 'right', type: 'number' }, - { id: 'gross', label: 'Gross', width: 95, align: 'right', type: 'number' }, + { id: 'tax', label: 'MwSt', width: 70, align: 'right', type: 'number' }, + { id: 'rebate', label: 'Rabatt', width: 75, align: 'right', type: 'number' }, + { id: 'net', label: 'Netto', width: 95, align: 'right', type: 'number' }, + { id: 'gross', label: 'Brutto', width: 95, align: 'right', type: 'number' }, ]; export const DELIVERY_LINE_COLUMNS = [ { id: 'pos', label: 'Pos', width: 44, align: 'center' }, - { id: 'sku', label: 'SKU', width: 130, align: 'left', type: 'text' }, + { id: 'sku', label: 'ArtNr', width: 130, align: 'left', type: 'text' }, { id: 'name', label: 'Name', width: 220, align: 'left', type: 'text' }, { id: 'amount', label: 'Amount', width: 88, align: 'right', type: 'number' }, { id: 'pu', label: 'PU', width: 80, align: 'right', type: 'number' }, - { id: 'taxrate', label: 'Tax', width: 80, align: 'right', type: 'number' }, - { id: 'netprice', label: 'Net', width: 104, align: 'right', type: 'number' }, + { id: 'taxrate', label: 'MwSt', width: 80, align: 'right', type: 'number' }, + { id: 'netprice', label: 'Netto', width: 104, align: 'right', type: 'number' }, ]; /** @typedef {'delivery'|'quote'|'order'} ManifestKind */ diff --git a/src/routes/artikel.jsx b/src/routes/artikel.jsx index 4ccae97..9076f6f 100644 --- a/src/routes/artikel.jsx +++ b/src/routes/artikel.jsx @@ -635,7 +635,7 @@ class ArtikelSearchPage extends Component { sx={{ maxWidth: 520, flexGrow: 1 }} autoFocus autoComplete="off" - placeholder="(EAN, SKU, Name)" + placeholder="(EAN, ArtNr, Name)" value={input} onChange={this.handleInputChange} slotProps={{ diff --git a/src/routes/lieferung/neu.jsx b/src/routes/lieferung/neu.jsx index cac3024..6673d9f 100644 --- a/src/routes/lieferung/neu.jsx +++ b/src/routes/lieferung/neu.jsx @@ -528,7 +528,7 @@ class LieferungNeuPage extends PureComponent { const internalSku = article?.sku; if (!internalSku) { - const msg = 'Artikel hat keine SKU.'; + const msg = 'Artikel hat keine ArtNr.'; enqueueSnackbar(msg, { variant: 'error' }); throw new Error(msg); } @@ -1517,8 +1517,8 @@ class LieferungNeuPage extends PureComponent { Zeitpunkt - Lieferanten SKU - Eigene SKU + Lieferanten-ArtNr + Eigene ArtNr Name Menge geliefert Lager