Esempio n. 1
0
def getHeader(department):

    header = Header("finanicials")
    header.division = "department"
    header.divisionname = department.name
    header.divisionid = department.id

    return header
Esempio n. 2
0
def getHeader(department):

    header = Header("finanicials");
    header.division = "department"
    header.divisionname = department.name
    header.divisionid = department.id

    return header
Esempio n. 3
0
def getHeader(office):
    header = Header("finanicials")
    header.division = "office"

    if office is not None:
        header.divisionname = office.name
        header.divisionid = office.id

    return header
Esempio n. 4
0
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
Esempio n. 5
0
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