Ejemplo n.º 1
0
def getHeader(department):

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

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

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

    return header
Ejemplo 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
Ejemplo 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
Ejemplo 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