service/inventory_report_forms.go
@@ -300,7 +300,9 @@ func getColumnAlphabet(index int) string { const alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" if index <= 26 { return string(alphabet[index]) return string(alphabet[index-1]) } return getColumnAlphabet((index)/26) + getColumnAlphabet((index)%26+1) quotient := (index - 1) / 26 remainder := (index - 1) % 26 return getColumnAlphabet(quotient) + getColumnAlphabet(remainder+1) }