/* eslint-disable import/prefer-default-export */
/**
 * mSupply Mobile
 * Sustainable Solutions (NZ) Ltd. 2019
 */

const HOURS_PER_DAY = 24;
const MINUTES_PER_HOUR = 60;
const SECONDS_PER_MINUTE = 60;
const MILLISECONDS_PER_SECOND = 1000;

export const MILLISECONDS_PER_MINUTE = MILLISECONDS_PER_SECOND * SECONDS_PER_MINUTE;
export const MILLISECONDS_PER_HOUR = MILLISECONDS_PER_MINUTE * MINUTES_PER_HOUR;
export const MILLISECONDS_PER_DAY = MILLISECONDS_PER_HOUR * HOURS_PER_DAY;

export const NUMBER_SEQUENCE_KEYS = {
  CUSTOMER_INVOICE_NUMBER: 'customer_invoice_serial_number',
  INVENTORY_ADJUSTMENT_SERIAL_NUMBER: 'inventory_adjustment_serial_number',
  REQUISITION_SERIAL_NUMBER: 'requisition_serial_number',
  REQUISITION_REQUESTER_REFERENCE: 'requisition_requester_reference',
  STOCKTAKE_SERIAL_NUMBER: 'stocktake_serial_number',
  SUPPLIER_INVOICE_NUMBER: 'supplier_invoice_serial_number',
};

/* eslint-disable import/prefer-default-export */
/**
 * mSupply Mobile
 * Sustainable Solutions (NZ) Ltd. 2019
 */

const HOURS_PER_DAY = 24;
const MINUTES_PER_HOUR = 60;
const SECONDS_PER_MINUTE = 60;
const MILLISECONDS_PER_SECOND = 1000;

export const MILLISECONDS_PER_MINUTE = MILLISECONDS_PER_SECOND * SECONDS_PER_MINUTE;
export const MILLISECONDS_PER_HOUR = MILLISECONDS_PER_MINUTE * MINUTES_PER_HOUR;
export const MILLISECONDS_PER_DAY = MILLISECONDS_PER_HOUR * HOURS_PER_DAY;

export const NUMBER_SEQUENCE_KEYS = {
  CUSTOMER_INVOICE_NUMBER: 'customer_invoice_serial_number',
  INVENTORY_ADJUSTMENT_SERIAL_NUMBER: 'inventory_adjustment_serial_number',
  REQUISITION_SERIAL_NUMBER: 'requisition_serial_number',
  REQUISITION_REQUESTER_REFERENCE: 'requisition_requester_reference',
  STOCKTAKE_SERIAL_NUMBER: 'stocktake_serial_number',
  SUPPLIER_INVOICE_NUMBER: 'supplier_invoice_serial_number',
  PATIENT_CODE: 'patient_code',
};

Add patient code number sequence
Add patient code number sequence
