Dateien nach "frontend/src/tools" hochladen
This commit is contained in:
@@ -37,7 +37,7 @@ function BestellungDetail({ id, toast, onBack }) {
|
|||||||
const [archiv, setArchiv] = useState([]);
|
const [archiv, setArchiv] = useState([]);
|
||||||
const [showPicker, setShowPicker] = useState(false);
|
const [showPicker, setShowPicker] = useState(false);
|
||||||
const [pickerSearch,setPickerSearch]= useState('');
|
const [pickerSearch,setPickerSearch]= useState('');
|
||||||
const [editMode, setEditMode] = useState(!id);
|
const [editMode, setEditMode] = useState(false);
|
||||||
const [form, setForm] = useState({ name:'', bemerkung:'', custom_price:'', status:'warteliste' });
|
const [form, setForm] = useState({ name:'', bemerkung:'', custom_price:'', status:'warteliste' });
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -175,7 +175,7 @@ function BestellungDetail({ id, toast, onBack }) {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Formular */}
|
{/* Formular */}
|
||||||
{(editMode || !id) && !order?.bezahlt && (
|
{(!id || editMode) && !order?.bezahlt && (
|
||||||
<div style={{...S.card,marginBottom:12}}>
|
<div style={{...S.card,marginBottom:12}}>
|
||||||
<div style={{marginBottom:10}}>
|
<div style={{marginBottom:10}}>
|
||||||
<label style={{...S.head,display:'block',marginBottom:4}}>NAME / PERSON</label>
|
<label style={{...S.head,display:'block',marginBottom:4}}>NAME / PERSON</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user