cust.customerid === customer.customerid)} // Set the checked state of the checkbox based on whether the customer is in `dropCust`
+ onChange={(event) => handleCheckboxChange(event, customer)}
+ />
+ }
+ label={
+
+
+ {`${customer.firstname} (${customer.contactno})`}
+
+
+
+ {customer.address}
+
+
+ }
+ />
+