export const fieldConfig = {
  // Dictionary
  // H - Hidden
  // E - Enabled
  // R - Readonly
  // Fields                                  Action
  // Field name                              View, New, Review, Reassign

  'btn.review': ['E', 'H', 'H'],

  companyName: ['R', 'E', 'R'],
  legalForm: ['R', 'E', 'R'],
  establishedDate: ['R', 'E', 'R'],
  employees: ['R', 'E', 'R'],
  capital: ['R', 'E', 'R'],
  type: ['R', 'E', 'R'],
  'address.street': ['R', 'E', 'R'],
  'address.city': ['R', 'E', 'R'],
  'address.state': ['R', 'E', 'R'],
  'address.zip': ['R', 'E', 'R'],
  website: ['R', 'E', 'R'],
  phone: ['R', 'E', 'R'],
  email: ['R', 'E', 'R'],

  'btn.sh.new': ['H', 'E', 'H'],
  'btn.sh.clone': ['H', 'E', 'H'],
  'btn.sh.delete': ['H', 'E', 'H'],
  'shareholders.firstName': ['R', 'E', 'R'],
  'shareholders.lastName': ['R', 'E', 'R'],
  'shareholders.shares': ['R', 'E', 'R'],
  'shareholders.percentage': ['R', 'E', 'R'],
  'shareholders.email': ['R', 'E', 'R'],
  'shareholders.phone': ['R', 'E', 'R'],

  vatNumber: ['R', 'R', 'E'],
  remark: ['R', 'R', 'E'],
};

export const actionConfig = {
  view: 0,
  new: 1,
  review: 2,
};
