def getHeader(department): header = Header("finanicials") header.division = "department" header.divisionname = department.name header.divisionid = department.id return header
def getHeader(department): header = Header("finanicials"); header.division = "department" header.divisionname = department.name header.divisionid = department.id return header
def getHeader(office): header = Header("finanicials") header.division = "office" if office is not None: header.divisionname = office.name header.divisionid = office.id return header
def getHeader(client): header = Header("finanicials"); header.division = "office" if client is not None: header.divisionname = client.office.name header.divisionid = client.office.id header.subdivision = "clients" header.subdivisionid = client.id header.subdivisionname = client.name return header
def getHeader(client): header = Header("finanicials") header.division = "office" if client is not None: header.divisionname = client.office.name header.divisionid = client.office.id header.subdivision = "clients" header.subdivisionid = client.id header.subdivisionname = client.name return header