import moment from 'moment';

export const emptyAccount = {
    accountId: -1,
    username: '',
    firstname: '',
    lastname: '',
    fullName: '',
    balance: 0.0,
};

export const emptyBonus = {
    bonusId: -1,
    enabled: false,
    iconurl: '',
    title: '',
    description: '',
    bonusFactor: 1.0,
    startDate: moment(),
    endDate: moment(),
};

import moment from 'moment';

export const emptyAccount = {
    accountId: -1,
    username: '',
    firstname: '',
    lastname: '',
    fullName: '',
    balance: 0.0,
};

export const emptyBonus = {
    bonusId: -1,
    enabled: true,
    iconurl: '',
    title: '',
    description: '',
    bonusFactor: 1.0,
    startDate: moment(),
    endDate: moment(),
};

Change the enabled checkbox for new bonuses to be default on
Change the enabled checkbox for new bonuses to be default on
