last day (42 days later) » 

6:14 AM
0
Q: drag and drop box showing stop sign

user022yufjbI want to be able to drag and drop the draggable box to any other date and it should remove that previous one. For example if I move drag box from 5th march to 6th march it should remove from 5th march and update to 6th march my problem is when I drag and drop this box it shows a stop sign and I ...

 
I couldnt create the same error, can you share the companyData code like how the data is stored in companyData ( Even 2 months data is enough ). It will help in recreating the error.
 
@SinghJatin I have a company table in my database that has two fields name and abn for example name could be food pty ltd and abn could be 12616822
is it possible to create a chat here as I can't write a lot in comments @SinghJatin
@SinghJatin if you can answer this please and I will post another question for data later stackoverflow.com/questions/78190432/…
 
min 100 reputation is required for creating chat rooms. So, if you can create chatroom for this problem we can clarify details there. For now I will look at other problem.
See my other answer. There when you are changing one months data other months data are not affected. For removing the hardcoded data problem, I still need more info. Try creating a chatRoom in stackoverflow or email me singhjatinjs03@gmail.com
 
6:51 AM
@user022yufjb for this question https://stackoverflow.com/questions/78190432/cannot-drag-boxes-in-calendar-weekly-column

I created a orderData like this
let orderData = {
order: [
{
Id: 138,
CustomerID: 162,
OrderOf: 1,
OrderDate: "2023-08-08T00:00:00.000Z",
purchaseOrderNumber: null,
},
{
Id: 139,
CustomerID: 158,
OrderOf: 1,
OrderDate: "2023-08-10T00:00:00.000Z",
purchaseOrderNumber: null, },
],
};

But i am getting this error :
Cannot read properties of undefined (reading 'substring')

in this part of code
if I comment this part of code then i am not getting the boxes in t2 for 25 and 27
and in the console log part you shared for orderData what is this ... data after purchaseOrderNumber can you share that

{order: Array(26), loading: false, error: null}error: nullloading: falseorder: Array(26)0: {Id: 138, CustomerID: 162, OrderOf: 1, OrderDate: '2023-08-08T00:00:00.000Z', purchaseOrderNumber: null, …}
is it possible to upload it in github?
is it possible to upload entire code in github?
also can you share the css code
 
 
15 hours later…
10:30 PM
Hi
I can explain it better when you are online here
but I am more focused on the weekly calender part now instead of monthly one i asked
And for orderData I am only getting requiredDateAndTime for now
I can just share all my code instead rather uploading on github
I will try to upload it here in an hour all my css code and other code
 
 
1 hour later…
11:45 PM
can you ping me here once you are online then I can post my code here and explain so you can ask any questions if needed:)
@SinghJatin
but this is css code RunSheetPDF.css .centered-text {
  text-align: center;
  font-weight: 700;
}

.title {
  text-align: left;
  font-weight: bold;
  font-size: 30px;
  text-transform: uppercase;
  font-style: bold;
}

.table-container {
  width: 1000px;
  background: white;
  font-family: "Times New Roman";
}

.table {
  width: 90%;
  border-collapse: collapse;
}

.top-header th {
  text-align: left;
  border: none;
}

.table-body td {
  text-align: left;
  border: none;
}

.paper {
  padding: 20px;
 

  last day (42 days later) »