예제 #1
0
def entity_income(request, level, slug, format):
    c = get_context(request)
    entity = Entity.objects.get(level=level, slug=slug)
    return entities_show(
        request, c, entity,
        _generator('ingresos-%s-%s' % (level, slug), format,
                   write_entity_income_breakdown))
예제 #2
0
def entity_fexpenses(request, level, slug, format):
    c = get_context(request)
    entity = Entity.objects.get(level=level, slug=slug)
    return entities_show(
        request, c, entity,
        _generator('gastosf-%s-%s' % (level, slug), format,
                   write_entity_functional_breakdown))
예제 #3
0
def entity_income(request, level, slug, format):
    c = get_context(request)
    entity = Entity.objects.get(level=level, slug=slug)
    return entities_show(request, c, entity, _generator('ingresos-%s-%s' % (level, slug), format, write_entity_income_breakdown))
예제 #4
0
def entity_fexpenses(request, level, slug, format):
    c = get_context(request)
    entity = Entity.objects.get(level=level, slug=slug)
    return entities_show(request, c, entity, _generator('gastosf-%s-%s' % (level, slug), format, write_entity_functional_breakdown))
예제 #5
0
def entity_functional(request, level, slug, format):
    c = get_context(request)
    entity = Entity.objects.get(level=level, slug=slug, language=c['LANGUAGE_CODE'])
    return entities_show(request, c, entity, _generator('gastosf-%s-%s' % (level, slug), format, write_entity_functional_breakdown))