Conjunto e214583 en seiven
- Fecha y hora:
- 08/08/2017 14:17:35 (hace 7 años)
- Branches:
- master
- Children:
- c58882c
- Parents:
- c079de3
- Ficheros:
-
- 2 editados
Leyenda
- No modificado
- Añadido
- Eliminado
-
economico/models.py
rc079de3 re214583 157 157 aux1=lolo+tmp 158 158 aux=aux+1 159 fields.append([ {'tag': str(_(str(aux1))) }, {'tag': str(_(str(a)))}])159 fields.append([ {'tag': str(_(str(aux1))),'cabecera': True}, {'tag': str(_(str(a))),'cabecera': True}]) 160 160 161 161 else: … … 187 187 for q in range(0,11): 188 188 if lst1[q] == 'Caracas': 189 fields.append([ {'tag': str(_(str(aux1))),'combine_row':11 }, {'tag': str(_(str(a))), 'combine_row1':11},{'tag': str(_(str(lst1[q])))}])189 fields.append([ {'tag': str(_(str(aux1))),'combine_row':11 ,'cabecera': True}, {'tag': str(_(str(a))), 'combine_row1':11,'cabecera': True},{'tag': str(_(str(lst1[q]))),'cabecera': True}]) 190 190 else: 191 fields.append([{'tag':''},{'tag':''},{'tag': str(_(str(lst1[q]))) }])191 fields.append([{'tag':''},{'tag':''},{'tag': str(_(str(lst1[q]))),'cabecera': True}]) 192 192 193 193 -
gestion_informacion/ajax.py
rc079de3 re214583 87 87 font_bold = xlwt.easyxf(style) 88 88 sheet.write(i, index_col, cabecera['tag'], font_bold) 89 sheet.set_shrink()90 89 91 90 if 'cabecera' in cabecera: 92 sheet.col(i).width = int ( 333* (len(cabecera['tag']) + 1))91 sheet.col(i).width = int (250 * (len(cabecera['tag']) + 1)) 93 92 94 93 if 'combine' in cabecera and cabecera['combine'] > 0: 95 94 sheet.merge(i, i, index_col, (index_col + (cabecera['combine']-1)), font_bold) 96 index_col = cabecera['combine'] + index_col 95 index_col = cabecera['combine'] + index_col-1 97 96 98 97 if 'dominio'in cabecera:
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.