Client and asset imports read a file by its headings: new functions/import.php reads an import's CSV by heading in any order with any column left out, comma or semicolon separated, without the old 1000 character line limit, and reads files from the old templates by position when no heading matches; clients now take everything their export has plus Lead, Tax Rate by name, Tax Exempt with certificate and expiry, Tags and Notes, keep a phone's country code, and no longer get an empty location or contact; assets now take everything their export has plus Status, Primary IP or DHCP, Primary MAC, Network, Links, Vendor, Order Reference, Install Date, Warranty Expire and Tags, with Assigned To, Location, Vendor and Network found by name and Assigned To by email; rows with no name are skipped, and the import says what it could not use; templates and the import windows list the columns from the same definition; 26.11.9 changelog entries

This commit is contained in:
johnnyq
2026-11-16 13:25:56 -05:00
parent a4f2cf0a60
commit fd360b35b9
7 changed files with 518 additions and 415 deletions

View File

@@ -51,6 +51,7 @@ require_once __DIR__ . '/functions/ai_document.php';
require_once __DIR__ . '/functions/ai_client.php';
require_once __DIR__ . '/functions/ai_billing.php';
require_once __DIR__ . '/functions/export.php';
require_once __DIR__ . '/functions/import.php';
require_once __DIR__ . '/functions/calendar.php';
require_once __DIR__ . '/functions/backup.php';
require_once __DIR__ . '/functions/search.php';