diff --git a/cntmanage/flightslot/actions/exportweek.py b/cntmanage/flightslot/actions/exportweek.py index e14f8f6..5930e13 100644 --- a/cntmanage/flightslot/actions/exportweek.py +++ b/cntmanage/flightslot/actions/exportweek.py @@ -179,6 +179,8 @@ def export_selected(request: HttpRequest, queryset: QuerySet[WeekPreference]) -> start_column=max(merge_col_start,1), end_column=max(c-1,1)) # end merge to previous column prev_cell_val = cell_content + if c >= note_index - 1: # Do not merge beyond notes + break # Incement row counter row_offset += 1