From 7a561a8c2e68fc9f8e55daa1387859787f6e521e Mon Sep 17 00:00:00 2001 From: wrongecho Date: Thu, 14 Nov 2024 11:51:39 +0000 Subject: [PATCH] Import CSV - Check file uploaded Check the file was uploaded when importing a CSV. Can probably convert this into a function at a later date. --- client_asset_import_modal.php | 2 +- client_contact_import_modal.php | 2 +- client_import_modal.php | 3 +-- client_location_import_modal.php | 2 +- client_login_import_modal.php | 2 +- post/user/asset.php | 10 ++++++++++ post/user/client.php | 13 ++++++++++--- post/user/contact.php | 10 +++++++++- post/user/credential.php | 10 +++++++++- post/user/location.php | 10 +++++++++- 10 files changed, 52 insertions(+), 12 deletions(-) diff --git a/client_asset_import_modal.php b/client_asset_import_modal.php index 583bf3464..cc10bd7b4 100644 --- a/client_asset_import_modal.php +++ b/client_asset_import_modal.php @@ -14,7 +14,7 @@

Format csv file with headings & data:
Name, Description, Type, Make, Model, Serial, OS, Assigned To, Location


- +

Download sample csv template
diff --git a/client_contact_import_modal.php b/client_contact_import_modal.php index a7c02bfd6..bc567b601 100644 --- a/client_contact_import_modal.php +++ b/client_contact_import_modal.php @@ -13,7 +13,7 @@

Format csv file with headings & data:
Name, Title, Department, Email, Phone, Extension, Mobile, Location


- +

Download: sample csv template
diff --git a/client_import_modal.php b/client_import_modal.php index eb447ebed..e6d9eacd4 100644 --- a/client_import_modal.php +++ b/client_import_modal.php @@ -8,12 +8,11 @@
-