diff --git a/src/components/article/ArticleStockAdjustDialog.jsx b/src/components/article/ArticleStockAdjustDialog.jsx
index 5dafd76..5c8e12a 100644
--- a/src/components/article/ArticleStockAdjustDialog.jsx
+++ b/src/components/article/ArticleStockAdjustDialog.jsx
@@ -42,14 +42,6 @@ import {
SURFACE_RAISED,
} from '../../colors';
-const REASON_PRESETS = [
- 'Inventurdifferenz',
- 'Korrektur',
- 'Bruch / Beschädigung',
- 'Schwund',
- 'Eigenbedarf / Test',
-];
-
export default class ArticleStockAdjustDialog extends PureComponent {
constructor(props) {
super(props);
@@ -255,7 +247,7 @@ export default class ArticleStockAdjustDialog extends PureComponent {
}
// Reload article in automat cache
- void artikelAutomat.actions.reloadArticle(article.sku).catch(() => {});
+ void artikelAutomat.actions.reloadArticle(article.sku).catch(() => { });
if (updatedArticle) {
onArticleUpdated?.(updatedArticle);
@@ -379,11 +371,6 @@ export default class ArticleStockAdjustDialog extends PureComponent {
Bestand verfolgen
-
- {trackStock
- ? 'Lagerbestand wird für diesen Artikel geführt und bei Buchungen aktualisiert.'
- : 'Keine Bestandsführung. Artikel hat unbegrenzte Verfügbarkeit.'}
-
- Menge zu-/abbuchen (+ / -)
+ Zu-/abbuchen (+ / -)
- Neuen Zählbestand setzen
+ Bestand setzen
@@ -491,7 +478,6 @@ export default class ArticleStockAdjustDialog extends PureComponent {
value={diffValue}
onChange={this.handleDiffChange}
disabled={submitting || !trackStock}
- placeholder="z.B. +5 oder -2"
slotProps={{
input: {
startAdornment: (
@@ -505,28 +491,15 @@ export default class ArticleStockAdjustDialog extends PureComponent {
),
},
}}
- helperText={
- valid
- ? `Neuer Bestand: ${formatStock(newStock)}${unit ? ` ${unit}` : ''}`
- : 'Geben Sie einen positiven oder negativen Wert ein'
- }
/>
) : (
0 ? `+${formatStock(amount)}` : formatStock(amount)}${unit ? ` ${unit}` : ''}`
- : 'Geben Sie den neu gezählten Bestand ein'
- }
/>
)}
@@ -564,26 +537,11 @@ export default class ArticleStockAdjustDialog extends PureComponent {
-
- {REASON_PRESETS.map((preset) => (
- this.setState({ reason: preset })}
- sx={{ fontSize: '0.75rem' }}
- />
- ))}
-
)}