09012024
This commit is contained in:
@@ -950,7 +950,8 @@ const Createorder1 = () => {
|
|||||||
arr = [{
|
arr = [{
|
||||||
"orderheaderid": 0,
|
"orderheaderid": 0,
|
||||||
"tenantid": parseInt(localStorage.getItem('tenantid')),
|
"tenantid": parseInt(localStorage.getItem('tenantid')),
|
||||||
"locationid": tenant.locationid,
|
// "locationid": tenant.locationid,
|
||||||
|
"locationid":(clientinfo.tenantlocationid)?clientinfo.tenantlocationid:tenantinfo.tenantlocationid,
|
||||||
"moduleid": tenant.moduleid,
|
"moduleid": tenant.moduleid,
|
||||||
"configid": 7,
|
"configid": 7,
|
||||||
"orderid": "",
|
"orderid": "",
|
||||||
@@ -1190,9 +1191,9 @@ const Createorder1 = () => {
|
|||||||
direction={'row'}
|
direction={'row'}
|
||||||
sx={{ p: 1, ml: 1, mt: 1 }} justifyContent="space-between" alignItems="center" width="100%">
|
sx={{ p: 1, ml: 1, mt: 1 }} justifyContent="space-between" alignItems="center" width="100%">
|
||||||
<Typography variant="h3">Create Order</Typography>
|
<Typography variant="h3">Create Order</Typography>
|
||||||
<Button variant="outlined" onClick={() => {
|
{/* <Button variant="outlined" onClick={() => {
|
||||||
setOpen4(true)
|
setOpen4(true)
|
||||||
}} color="success" startIcon={<PlusOutlined />} >Create Customer</Button>
|
}} color="success" startIcon={<PlusOutlined />} >Create Customer</Button> */}
|
||||||
</Stack>
|
</Stack>
|
||||||
</Grid>
|
</Grid>
|
||||||
</CardActions>
|
</CardActions>
|
||||||
@@ -1256,6 +1257,15 @@ const Createorder1 = () => {
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
disabled={(tenant.tenantid) ? false : true}
|
disabled={(tenant.tenantid) ? false : true}
|
||||||
|
noOptionsText={
|
||||||
|
// <Button>ok</Button>
|
||||||
|
<Stack direction={'row'} justifyContent={'space-between'} alignItems={'center'}>
|
||||||
|
<Typography>No options</Typography>
|
||||||
|
<Button variant="outlined" onClick={() => {
|
||||||
|
setOpen4(true)
|
||||||
|
}} color="success" startIcon={<PlusOutlined />} >Create Customer</Button>
|
||||||
|
</Stack>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} >
|
<Grid item xs={12} >
|
||||||
@@ -1304,7 +1314,15 @@ const Createorder1 = () => {
|
|||||||
|
|
||||||
console.log(val)
|
console.log(val)
|
||||||
}}
|
}}
|
||||||
|
noOptionsText={
|
||||||
|
// <Button>ok</Button>
|
||||||
|
<Stack direction={'row'} justifyContent={'space-between'} alignItems={'center'}>
|
||||||
|
<Typography>No options</Typography>
|
||||||
|
<Button variant="outlined" onClick={() => {
|
||||||
|
setOpen4(true)
|
||||||
|
}} color="success" startIcon={<PlusOutlined />} >Create Customer</Button>
|
||||||
|
</Stack>
|
||||||
|
}
|
||||||
// disabled={(tenant.tenantid) ? false : true}
|
// disabled={(tenant.tenantid) ? false : true}
|
||||||
/>
|
/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Reference in New Issue
Block a user