export const locInlineFields = [
  { field: 'city', placeholder: 'Ville', prefix: null },
  { field: 'postal_code', placeholder: 'Code postal', prefix: ', ' },
  { field: 'location_name', placeholder: 'Nom du lieu', prefix: ' — ' },
  { field: 'contact_name', placeholder: 'Contact', prefix: ' \u00b7 Contact: ' },
  { field: 'contact_phone', placeholder: 'Téléphone', prefix: ' ' },
]

export const equipTypeOptions = ['ONT', 'Routeur', 'Modem', 'Décodeur TV', 'VoIP', 'Switch', 'AP', 'Amplificateur', 'Splitter', 'Autre']

export const equipStatusOptions = ['Actif', 'En inventaire', 'Défectueux', 'Retourné', 'Perdu']

export const equipScanTypeMap = { ont: 'ONT', onu: 'ONT', router: 'Router', modem: 'Modem', decoder: 'Décodeur', switch: 'Switch' }

export const phoneLabelMap = { cell_phone: 'Cell', tel_home: 'Maison', tel_office: 'Bureau' }

export const defaultSectionsOpen = { locations: true, tickets: true, invoices: false, payments: false, voip: false, paymentMethods: false, arrangements: false, quotations: false, serviceContracts: false, notes: false }

export const defaultNewEquip = () => ({
  equipment_type: 'ONT', serial_number: '', brand: '', model: '', mac_address: '', ip_address: '', status: 'Actif',
})
