src/schema/form/physicaladdress.js

Summary

Maintainability
A
0 mins
Test Coverage
import { general } from './general'
import { branch } from './branch'
import { location } from './location'
import { telephone } from './telephone'

export const physicaladdress = (data = {}) => {
  return general('physicaladdress', {
    HasDifferentAddress: branch(data.HasDifferentAddress),
    Address: location(data.Address),
    Telephone: telephone(data.Telephone)
  })
}