@@ -450,10 +450,8 @@ func xlsxSumSumMonths(xlsx *excelize.File, sheet string, row int, starts, ends t
450450 scol += 3
451451 }
452452
453- style , _ = xlsx .NewStyle (mergeStyles (defaultStyle (), fontBold (), customNumberFormat ()))
453+ style , _ = xlsx .NewStyle (mergeStyles (defaultStyle (), fontBold (), customNumberFormat (), thickBorder ( "top" ) ))
454454 _ = xlsx .SetCellStyle (sheet , cell ('B' , row ), cell (ecol , row ), style )
455- style , _ = xlsx .NewStyle (mergeStyles (defaultStyle (), fontBoldItalic (), customNumberFormat ()))
456- _ = xlsx .SetCellStyle (sheet , cell (ecol , row ), cell (ecol , row ), style )
457455
458456 // half year sums
459457
@@ -465,10 +463,8 @@ func xlsxSumSumMonths(xlsx *excelize.File, sheet string, row int, starts, ends t
465463 scol += 6
466464 }
467465
468- style , _ = xlsx .NewStyle (mergeStyles (defaultStyle (), fontBold (), customNumberFormat (), thickBorder ("bottom" )))
466+ style , _ = xlsx .NewStyle (mergeStyles (defaultStyle (), fontBold (), customNumberFormat (), thickBorder ("top" , " bottom" )))
469467 _ = xlsx .SetCellStyle (sheet , cell ('B' , row ), cell (ecol , row ), style )
470- style , _ = xlsx .NewStyle (mergeStyles (defaultStyle (), fontBoldItalic (), customNumberFormat (), thickBorder ("bottom" )))
471- _ = xlsx .SetCellStyle (sheet , cell (ecol , row ), cell (ecol , row ), style )
472468
473469 // eget kapital
474470
0 commit comments