deliveryStatsInitialState.js 381 Bytes
'use strict';

import {List, Record} from 'immutable';
import {getLastDay} from '../../utils/dateTool';

let InitialState = Record({
	error: null,
  	isFetching: false,
	currentPage: 0,
	pageCount: 1,
	startDay: getLastDay(),
	endDay: getLastDay(),
	isShowDatePickerIOS: false,
	isStartDate: true,
	sum: '0',
	totalAmount: '0',
	jsonData: List(),
});

export default InitialState;