Add editable article prices with gross input and staffel tiers.
Wire PUT /prices, de-DE formatting, tax/staffel pills, and keep the category list cache in sync after photo/price updates.
This commit is contained in:
@@ -194,8 +194,17 @@ class EditablePanelTileBase extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { onSave, theme, wide = 1, sx, minHeight = 120, tileKey, renderDisplay, renderEdit } =
|
||||
this.props;
|
||||
const {
|
||||
onSave,
|
||||
theme,
|
||||
wide = 1,
|
||||
sx,
|
||||
minHeight = 120,
|
||||
tileKey,
|
||||
renderDisplay,
|
||||
renderEdit,
|
||||
contentAlignItems = 'center',
|
||||
} = this.props;
|
||||
const { editing, draft, error } = this.state;
|
||||
const savedValue = this.getSavedValue();
|
||||
const pending = this.isDirty();
|
||||
@@ -222,7 +231,7 @@ class EditablePanelTileBase extends Component {
|
||||
minWidth: 0,
|
||||
pr: actionPadding,
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
alignItems: contentAlignItems,
|
||||
}}
|
||||
onKeyDown={editing ? this.handleEditKeyDown : undefined}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user