diff --git a/client-app/source b/client-app/source new file mode 100644 index 00000000..e69de29b diff --git a/client-app/src/Components/DonatedItemsList.js b/client-app/src/Components/DonatedItemsList.js index d59050d2..be07050a 100644 --- a/client-app/src/Components/DonatedItemsList.js +++ b/client-app/src/Components/DonatedItemsList.js @@ -212,6 +212,7 @@ function DonatedItemsList() { Program Status Barcode + {assignProgramClicked && Select} @@ -224,6 +225,7 @@ function DonatedItemsList() { {item.date} {item.program} {item.status} +
handleBarcodeClick(item.id)}>
@@ -231,6 +233,15 @@ function DonatedItemsList() {
+ {assignProgramClicked && ( + + handleCheckboxChange(item.id)} + /> + + )} ))} diff --git a/client-app/src/Components/DonorForm.js b/client-app/src/Components/DonorForm.js index 0d4549c3..1e20122f 100644 --- a/client-app/src/Components/DonorForm.js +++ b/client-app/src/Components/DonorForm.js @@ -283,7 +283,8 @@ const DonorForm = () => { type="button" className="bg-blue-500 hover:bg-blue-700 text-white font-semibold py-2 px-4 rounded-full button-margin" style={{ backgroundColor: 'blue' }} - onClick={() => setFormData({ ...formData, email_opt_in: '' })}> + //onClick={() => setFormData({ ...formData, email_opt_in: '' })} + > Refresh