def render_night_guard_office_women_to_table(self):
     fields = self._field_range('night_guard_office_women_beds', 'night_guard_office_women_bathroom_wc')
     table_fields = [fields]
     col_names = ['Camas', 'Baños', 'Duchas', 'WC']
     row_names = ['N°']
     
     return render_fields_as_table(table_fields, col_names, row_names, 'table_quantities')
 def render_bathrooms_to_table(self):
     fields = self._field_range('common_bathrooms', 'women_bathroom')
     table_fields = [fields]
     col_names = ['Comunes', 'Hombres', 'Mujeres']
     row_names = ['Baños']
     
     return render_fields_as_table(table_fields, col_names, row_names, 'table_quantities')
Ejemplo n.º 3
0
    def render_electric_generator_questions_to_table(self):
        fields = self._field_range('electricgenerator_fixed_in_car_quantity', 'fk_electricgenerator_fixed_in_barracks_potency')
        table_fields = split_list(fields, 3)
        column_labels = ['N°', 'Potencia']
        row_labels = ['Fijos en Carros', 'Portátiles', 'Fijos en Cuartel']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
 def render_building_construction_to_table(self):
     fields = self._field_range('building_initial_construction_year', 'building_extension_construction_legal')
     table_fields = split_list(fields, 2)
     col_labels = ['Año construcción', 'Regularizado']
     row_labels = ['Inicial', 'Ampliación (si hay)']
     
     return render_fields_as_table(table_fields, col_labels, row_labels, 'table_quantities')
 def render_total_volunteers_to_table(self):
     fields = self._field_range('volunteer_total_men_quantity', 'volunteer_total_women_quantity')
     table_fields = [fields]
     
     column_labels = [field.label for field in fields]
     row_labels = ['Cantidad']
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')        
Ejemplo n.º 6
0
 def render_instructors_to_table(self):
     fields = self._field_range('cuerpo_procedure_instructors', 'anb_specialty_instructors')
     table_fields = split_list(fields, 2)
     
     column_labels = ['Área procedimientos', 'Área salud', 'Áreas de especialidad']
     row_labels = ['Cursos del Cuerpo', 'Cursos de la Academia']
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
 def render_hardware_to_table(self):
     fields = self._field_range('computers_quantity', 'printers_quantity')
     table_fields = [fields]
     
     column_labels = [field.label for field in fields]
     row_labels = ['Cantidad']
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
 def render_volunteers_age_range_to_table(self):
     fields = self._field_range('volunteer_age_between_18_25_men_quantity', 'volunteer_age_60_or_more_women_quantity')
     table_fields = split_list(fields, 9)
     
     row_labels = [row_field[0].label for row_field in table_fields]
     col_labels = ['Hombres', 'Mujeres']
     
     return render_fields_as_table(table_fields, col_labels, row_labels, 'table_quantities')    
 def render_built_area_to_table(self):
     fields = self._field_range('built_area_surface_m2', 'built_area_total_m2')
     table_fields = [fields]
     
     column_labels = [field.label for field in fields]
     row_labels = ['Metros']
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
Ejemplo n.º 10
0
 def render_hardware_to_table(self):
     fields = self._field_range('computers_quantity', 'printers_quantity')
     table_fields = [fields]
     
     column_labels = [field.label for field in fields]
     row_labels = ['Cantidad']
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
    def render_telephone_lines_to_table(self):
        fields = self._field_range('telephonelines_enable_quantity', 'telephonelines_input_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Nº']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
Ejemplo n.º 12
0
    def render_hardware_to_table(self):
        fields = self._field_range("computers_quantity", "printers_quantity")
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ["Cantidad"]

        return render_fields_as_table(table_fields, column_labels, row_labels, "table_quantities")
    def render_role_shift_to_table(self):
        fields = self._field_range('tomorrow_roleshift_quantity', 'night_roleshift_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Rol de turnos']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
    def render_bathrooms_to_table(self):
        fields = self._field_range('common_bathrooms', 'women_bathroom')
        table_fields = [fields]
        col_names = ['Comunes', 'Hombres', 'Mujeres']
        row_names = ['Baños']

        return render_fields_as_table(table_fields, col_names, row_names,
                                      'table_quantities')
Ejemplo n.º 15
0
    def render_hosepipe_minor_equipment_to_table(self):
        fields = self._field_range('hosepipe_38mm_quantity', 'hosepipe_forest_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Nº']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
Ejemplo n.º 16
0
    def render_python_minor_equipment_to_table(self):
        fields = self._field_range('python_50adjustable_quantity', 'python_70tube_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Nº']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
Ejemplo n.º 17
0
    def render_era_equipment_to_table(self):
        fields = self._field_range('scott_after_2004_quantity', 'mSA_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Nº']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
Ejemplo n.º 18
0
    def render_uniforms_regulated_to_table(self):
        fields = self._field_range('jackets_quantity', 'fireman_shoes_volunteer_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Nº']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
Ejemplo n.º 19
0
    def render_base_radio_equipment_to_table(self):
        fields = self._field_range('base_radio_equipment_quantity', 'base_radio_equipment_power')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities_2')
    def render_building_construction_to_table(self):
        fields = self._field_range('building_initial_construction_year',
                                   'building_extension_construction_legal')
        table_fields = split_list(fields, 2)
        col_labels = ['Año construcción', 'Regularizado']
        row_labels = ['Inicial', 'Ampliación (si hay)']

        return render_fields_as_table(table_fields, col_labels, row_labels,
                                      'table_quantities')
    def render_night_guard_office_women_to_table(self):
        fields = self._field_range('night_guard_office_women_beds',
                                   'night_guard_office_women_bathroom_wc')
        table_fields = [fields]
        col_names = ['Camas', 'Baños', 'Duchas', 'WC']
        row_names = ['N°']

        return render_fields_as_table(table_fields, col_names, row_names,
                                      'table_quantities')
    def render_portable_radio_to_table(self):
        fields = self._field_range('portable_quantity1', 'portable_power3')
        table_fields = split_list(fields, 3)

        first_row_fields = table_fields[0]

        column_labels = [field.label for field in first_row_fields]
        row_labels = ['Portátil 1', 'Portátil 2', 'Portátil 3']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
    def render_fixed_antennas_to_table(self):
        fields = self._field_range('fixed_antenna_quantity1', 'fixed_antenna_height2')
        table_fields = split_list(fields, 2)

        first_row_fields = table_fields[0]

        column_labels = [field.label for field in first_row_fields]
        row_labels = ['Antena 1', 'Antena 2']

        return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
    def render_role_shift_to_table(self):
        fields = self._field_range('tomorrow_roleshift_quantity',
                                   'night_roleshift_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Rol de turnos']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
 def render_formation_to_table(self):
     fields = self._field_range('volunteer_lt_than_3_years_cuerpo_course_quantity', 'volunteer_gt_than_3_years_academia_course_quantity')
     table_fields = split_list(fields, 2)
     
     first_row_fields = table_fields[0]
     
     column_labels = [field.label for field in first_row_fields]
     row_labels = ['Cursos del Cuerpo', 'Cursos de la academia']
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
 def render_detailed_volunteers_to_table(self):
     fields = self._field_range('volunteer_active_men_quantity', 'volunteer_honorary_women_quantity')
     table_fields = split_list(fields, 2)
     
     first_row_fields = table_fields[0]
     
     column_labels = [field.label for field in first_row_fields]
     row_labels = ['Activos', 'Honorarios']
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')
Ejemplo n.º 27
0
    def render_total_volunteers_to_table(self):
        fields = self._field_range('volunteer_total_men_quantity',
                                   'volunteer_total_women_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Cantidad']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
    def render_telephone_lines_to_table(self):
        fields = self._field_range('telephonelines_enable_quantity',
                                   'telephonelines_input_quantity')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Nº']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
Ejemplo n.º 29
0
    def render_volunteers_age_range_to_table(self):
        fields = self._field_range('volunteer_age_between_18_25_men_quantity',
                                   'volunteer_age_60_or_more_women_quantity')
        table_fields = split_list(fields, 9)

        row_labels = [row_field[0].label for row_field in table_fields]
        col_labels = ['Hombres', 'Mujeres']

        return render_fields_as_table(table_fields, col_labels, row_labels,
                                      'table_quantities')
    def render_built_area_to_table(self):
        fields = self._field_range('built_area_surface_m2',
                                   'built_area_total_m2')
        table_fields = [fields]

        column_labels = [field.label for field in fields]
        row_labels = ['Metros']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
    def render_portable_radio_to_table(self):
        fields = self._field_range('portable_quantity1', 'portable_power3')
        table_fields = split_list(fields, 3)

        first_row_fields = table_fields[0]

        column_labels = [field.label for field in first_row_fields]
        row_labels = ['Portátil 1', 'Portátil 2', 'Portátil 3']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
Ejemplo n.º 32
0
    def render_instructors_to_table(self):
        fields = self._field_range('cuerpo_procedure_instructors',
                                   'anb_specialty_instructors')
        table_fields = split_list(fields, 2)

        column_labels = [
            'Área procedimientos', 'Área salud', 'Áreas de especialidad'
        ]
        row_labels = ['Cursos del Cuerpo', 'Cursos de la Academia']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
    def render_fixed_antennas_to_table(self):
        fields = self._field_range('fixed_antenna_quantity1',
                                   'fixed_antenna_height2')
        table_fields = split_list(fields, 2)

        first_row_fields = table_fields[0]

        column_labels = [field.label for field in first_row_fields]
        row_labels = ['Antena 1', 'Antena 2']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
Ejemplo n.º 34
0
    def render_detailed_volunteers_to_table(self):
        fields = self._field_range('volunteer_active_men_quantity',
                                   'volunteer_honorary_women_quantity')
        table_fields = split_list(fields, 2)

        first_row_fields = table_fields[0]

        column_labels = [field.label for field in first_row_fields]
        row_labels = ['Activos', 'Honorarios']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
Ejemplo n.º 35
0
    def render_formation_to_table(self):
        fields = self._field_range(
            'volunteer_lt_than_3_years_cuerpo_course_quantity',
            'volunteer_gt_than_3_years_academia_course_quantity')
        table_fields = split_list(fields, 2)

        first_row_fields = table_fields[0]

        column_labels = [field.label for field in first_row_fields]
        row_labels = ['Cursos del Cuerpo', 'Cursos de la academia']

        return render_fields_as_table(table_fields, column_labels, row_labels,
                                      'table_quantities')
Ejemplo n.º 36
0
    def render_personnel_to_table(self):
        fields = self._field_range("personnel_guard", "personnel_junior")
        table_fields = split_list(fields, 9)

        row_labels = [
            "Cuarteleros(as) cuidadores",
            "Cuarteleros(as) conductores",
            "Secretarios(as)",
            "Contadores",
            "Operadores Central de Alarmas",
            "Administrativos",
            "Mecánicos de planta",
            "Personal de Aseo",
            "Servicios generales/Junior",
        ]
        column_labels = ["N°"]
        # for loop_fields in table_fields
        #     row_labels = [loop_fields[0].label]

        return render_fields_as_table(table_fields, column_labels, row_labels, "table_quantities")
Ejemplo n.º 37
0
 def render_personnel_to_table(self):
     fields = self._field_range('personnel_guard', 'personnel_junior')
     table_fields = split_list(fields, 9)
     
     row_labels = [
         'Cuarteleros(as) cuidadores', 
         'Cuarteleros(as) conductores', 
         'Secretarios(as)', 
         'Contadores', 
         'Operadores Central de Alarmas', 
         'Administrativos', 
         'Mecánicos de planta', 
         'Personal de Aseo', 
         'Servicios generales/Junior'
     ]
     column_labels = ['N°']
     # for loop_fields in table_fields
     #     row_labels = [loop_fields[0].label]
     
     return render_fields_as_table(table_fields, column_labels, row_labels, 'table_quantities')