mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-10-29 08:04:46 +00:00
Add files via upload
This commit is contained in:
1 parent
3c41a8378c
commit
066a95c71d
1 file changed
+5
-1
@@ -256,7 +256,11 @@ func parseTable(f *excelize.File, sheetName, startCol, endCol string, tableNum i
|
|||||||
Table: tableNum,
|
Table: tableNum,
|
||||||
}
|
}
|
||||||
contacts = append(contacts, *currentContact)
|
contacts = append(contacts, *currentContact)
|
||||||
} else if currentContact != nil {
|
} else if currentContact != nil && !strings.HasPrefix(row[nameCol], "Aktualizace dne") {
|
||||||
|
// Skip general contacts that don't have names
|
||||||
|
if strings.Contains(row[nameCol], "převzetí hovoru") || strings.Contains(row[nameCol], "hlavní vchod") || strings.Contains(row[nameCol], "brána") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
// This is additional data for the current contact
|
// This is additional data for the current contact
|
||||||
newContact := *currentContact
|
newContact := *currentContact
|
||||||
if position != "" {
|
if position != "" {
|
||||||
|
|||||||
Reference in new issue
Block a user