@bjsdistribution/dms-client-return 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,7 +84,7 @@ declare function useEventNotesData(): [any, (args_0: any) => void];
84
84
  declare function useSelectedProductId(): [number | undefined, (args_0: number | ((prev: number | undefined) => number | undefined) | undefined) => void];
85
85
  export declare function useReturnAfterOrderData(): [any[], (args_0: any[] | ((prev: any[]) => any[])) => void];
86
86
  declare function useClientData(): [ClientData[], (args_0: ClientData[] | ((prev: ClientData[]) => ClientData[])) => void];
87
- export { useAtom, useOrderDetails, useCustomerDetails, useProductDetails, useDepotDetails, useStatusDetails, useDepotOptions, usePrevOrderDetails, useEscData, useDeleteProdsID, useCreateOrderProducts, useRecieveOrderProducts, useUpdateOrderProducts, useOrderProductsResources, useOrderProductsToolbox, useOrderProductSystemLogs, useEventNotesData, useSelectedProductId, useSelectedProductActionTabKey, useClientData };
87
+ export { useAtom, useOrderDetails, useCustomerDetails, useProductDetails, useDepotDetails, useStatusDetails, useDepotOptions, usePrevOrderDetails, useEscData, useDeleteProdsID, useCreateOrderProducts, useRecieveOrderProducts, useUpdateOrderProducts, useOrderProductsResources, useOrderProductsToolbox, useOrderProductSystemLogs, useEventNotesData, useSelectedProductId, useSelectedProductActionTabKey, useClientData, };
88
88
  export declare const UseNotesLoading: () => [boolean, (args_0: boolean | ((prev: boolean) => boolean)) => void];
89
89
  export declare function usegetNotes(): [any, (args_0: any) => void];
90
90
  export declare function usemoduleIds(): [{
@@ -805,6 +805,12 @@ var SeteauditLogToggle = function SeteauditLogToggle() {
805
805
  // Popup state Manage
806
806
  var initialState = null;
807
807
  var popupReducer = function popupReducer(state, action) {
808
+ if (action.type === 'create-return') {
809
+ state = 'create-return';
810
+ return {
811
+ state: state
812
+ };
813
+ }
808
814
  if (action.type === 'bulkUpdate') {
809
815
  state = 'bulkUpdate';
810
816
  return {