/**
 * mSupply Mobile
 * Sustainable Solutions (NZ) Ltd. 2020
 */

export const FRIDGE_ACTIONS = {
  SELECT: 'FridgeActions/select',
};

const select = fridge => ({ type: FRIDGE_ACTIONS.SELECT, payload: { fridge } });

export const FridgeActions = {
  select,
};

@@ -130,85 +130,371 @@
 t',%0A
-%7D;%0A%0Aconst select = fridge =%3E (%7B type: FRIDGE_ACTIONS.SELECT, payload: %7B fridg
+  CHANGE_TO_DATE: 'FridgeActions/changeToDate',%0A  CHANGE_FROM_DATE: 'FridgeActions/changeFromDate',%0A%7D;%0A%0Aconst select = fridge =%3E (%7B type: FRIDGE_ACTIONS.SELECT, payload: %7B fridge %7D %7D);%0Aconst changeToDate = date =%3E (%7B type: FRIDGE_ACTIONS.CHANGE_TO_DATE, payload: %7B date %7D %7D);%0Aconst changeFromDate = date =%3E (%7B type: FRIDGE_ACTIONS.CHANGE_FROM_DATE, payload: %7B dat
 e %7D 
@@ -539,11 +539,45 @@
 select,%0A
+  changeToDate,%0A  changeFromDate,%0A
 %7D;%0A

Add date setting actions