/** * @see data.js NOTIFICATION_TYPE */ export const getInOutType = (code) => { if(code == '1') return 'in' else if(code == '3') return 'out' return null } export const getNotificationType = (code) => { if(code == '0') return 'grain' else if(code == '1') return 'cookingOil' return null }