27122023
This commit is contained in:
Submodule nearlexpressbuild updated: 3d035da528...5a4660f08d
@@ -155,10 +155,16 @@ const Login = () => {
|
||||
localStorage.setItem("appuserid", res.data.details.userid);
|
||||
localStorage.setItem("roleid", res.data.details.roleid);
|
||||
localStorage.setItem("tenantid", res.data.details.tenantid);
|
||||
localStorage.setItem("applocationid", res.data.details.applocationid);
|
||||
|
||||
|
||||
navigate('/orders');
|
||||
setSubmitting(false)
|
||||
}else{
|
||||
opentoast('Login Error')
|
||||
setLoading(false)
|
||||
setSubmitting(false)
|
||||
|
||||
}
|
||||
}).catch((err) => {
|
||||
console.log(err);
|
||||
|
||||
@@ -589,7 +589,7 @@ const Createorder = () => {
|
||||
<DatePicker
|
||||
|
||||
// label='Date'
|
||||
|
||||
format="DD-MM-YYYY"
|
||||
onChange={(e) => {
|
||||
let dateres11 = dayjs().diff(dayjs(`${dayjs(e).format('YYYY-MM-DD')}`), 'd');
|
||||
console.log('dateres11')
|
||||
|
||||
Reference in New Issue
Block a user