From 7fed50eb73a85b35cd10e8e54adbd62fc90a67ce Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 23 Apr 2023 16:12:18 -0400 Subject: [PATCH] Updated all Export CSV to Modals with export disclaimer --- client_asset_export_modal.php | 24 ++++++++++++ client_assets.php | 5 ++- client_certificate_export_modal.php | 24 ++++++++++++ client_certificates.php | 3 +- client_contact_export_modal.php | 24 ++++++++++++ client_contacts.php | 3 +- client_domain_export_modal.php | 24 ++++++++++++ client_domains.php | 3 +- client_invoice_export_modal.php | 24 ++++++++++++ client_invoices.php | 3 +- client_location_export_modal.php | 24 ++++++++++++ client_locations.php | 3 +- client_login_export_modal.php | 24 ++++++++++++ client_logins.php | 3 +- client_network_export_modal.php | 24 ++++++++++++ client_networks.php | 3 +- client_payment_export_modal.php | 24 ++++++++++++ client_payments.php | 3 +- client_quote_export_modal.php | 24 ++++++++++++ client_quotes.php | 3 +- client_recurring_export_modal.php | 24 ++++++++++++ client_recurring_invoices.php | 3 +- client_software.php | 3 +- client_software_export_modal.php | 24 ++++++++++++ client_ticket_export_modal.php | 24 ++++++++++++ client_tickets.php | 3 +- client_trip_export_modal.php | 24 ++++++++++++ client_trips.php | 4 +- client_vendor_export_modal.php | 24 ++++++++++++ client_vendors.php | 4 +- post.php | 60 ++++++++++++++--------------- 31 files changed, 421 insertions(+), 48 deletions(-) create mode 100644 client_asset_export_modal.php create mode 100644 client_certificate_export_modal.php create mode 100644 client_contact_export_modal.php create mode 100644 client_domain_export_modal.php create mode 100644 client_invoice_export_modal.php create mode 100644 client_location_export_modal.php create mode 100644 client_login_export_modal.php create mode 100644 client_network_export_modal.php create mode 100644 client_payment_export_modal.php create mode 100644 client_quote_export_modal.php create mode 100644 client_recurring_export_modal.php create mode 100644 client_software_export_modal.php create mode 100644 client_ticket_export_modal.php create mode 100644 client_trip_export_modal.php create mode 100644 client_vendor_export_modal.php diff --git a/client_asset_export_modal.php b/client_asset_export_modal.php new file mode 100644 index 00000000..a3188264 --- /dev/null +++ b/client_asset_export_modal.php @@ -0,0 +1,24 @@ + diff --git a/client_assets.php b/client_assets.php index 394f818a..78ccef72 100644 --- a/client_assets.php +++ b/client_assets.php @@ -121,8 +121,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export - + +
@@ -356,4 +356,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + + diff --git a/client_certificates.php b/client_certificates.php index 53f39589..99404fc2 100644 --- a/client_certificates.php +++ b/client_certificates.php @@ -40,7 +40,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -143,6 +143,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); diff --git a/client_contact_export_modal.php b/client_contact_export_modal.php new file mode 100644 index 00000000..0db7440f --- /dev/null +++ b/client_contact_export_modal.php @@ -0,0 +1,24 @@ + diff --git a/client_contacts.php b/client_contacts.php index e3d57f58..0d27e266 100644 --- a/client_contacts.php +++ b/client_contacts.php @@ -52,7 +52,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -223,4 +223,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); require_once("client_contact_add_modal.php"); require_once("client_contact_invite_modal.php"); require_once("client_contact_import_modal.php"); +require_once("client_contact_export_modal.php"); require_once("footer.php"); diff --git a/client_domain_export_modal.php b/client_domain_export_modal.php new file mode 100644 index 00000000..db81e426 --- /dev/null +++ b/client_domain_export_modal.php @@ -0,0 +1,24 @@ + diff --git a/client_domains.php b/client_domains.php index 125c3538..7d917bd8 100644 --- a/client_domains.php +++ b/client_domains.php @@ -41,7 +41,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -121,4 +121,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + +
diff --git a/client_invoices.php b/client_invoices.php index a942d834..44af1a15 100644 --- a/client_invoices.php +++ b/client_invoices.php @@ -45,7 +45,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -167,4 +167,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + + diff --git a/client_locations.php b/client_locations.php index 7795a270..bd386e65 100644 --- a/client_locations.php +++ b/client_locations.php @@ -45,7 +45,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -145,4 +145,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); require_once("client_location_add_modal.php"); require_once("client_location_import_modal.php"); +require_once("client_location_export_modal.php"); require_once("footer.php"); diff --git a/client_login_export_modal.php b/client_login_export_modal.php new file mode 100644 index 00000000..8f04d9eb --- /dev/null +++ b/client_login_export_modal.php @@ -0,0 +1,24 @@ + diff --git a/client_logins.php b/client_logins.php index 891dde73..90fab3ca 100644 --- a/client_logins.php +++ b/client_logins.php @@ -44,7 +44,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -174,4 +174,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); require_once("client_login_add_modal.php"); require_once("share_modal.php"); require_once("client_login_import_modal.php"); +require_once("client_login_export_modal.php"); require_once("footer.php"); diff --git a/client_network_export_modal.php b/client_network_export_modal.php new file mode 100644 index 00000000..02b6dc65 --- /dev/null +++ b/client_network_export_modal.php @@ -0,0 +1,24 @@ + diff --git a/client_networks.php b/client_networks.php index 615b3ef3..782387f3 100644 --- a/client_networks.php +++ b/client_networks.php @@ -45,7 +45,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -139,6 +139,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); require_once("client_network_edit_modal.php"); require_once("client_network_add_modal.php"); +require_once("client_network_export_modal.php"); ?> diff --git a/client_payment_export_modal.php b/client_payment_export_modal.php new file mode 100644 index 00000000..bc24a470 --- /dev/null +++ b/client_payment_export_modal.php @@ -0,0 +1,24 @@ + diff --git a/client_payments.php b/client_payments.php index 131ddb7b..5e3eab62 100644 --- a/client_payments.php +++ b/client_payments.php @@ -43,7 +43,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -110,4 +110,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + + diff --git a/client_quotes.php b/client_quotes.php index c13e13fb..5fa4263a 100644 --- a/client_quotes.php +++ b/client_quotes.php @@ -45,7 +45,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -158,4 +158,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + + diff --git a/client_recurring_invoices.php b/client_recurring_invoices.php index fbc46d0e..45650a8d 100644 --- a/client_recurring_invoices.php +++ b/client_recurring_invoices.php @@ -44,7 +44,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -142,4 +142,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -200,4 +200,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + + diff --git a/client_ticket_export_modal.php b/client_ticket_export_modal.php new file mode 100644 index 00000000..6d764ef0 --- /dev/null +++ b/client_ticket_export_modal.php @@ -0,0 +1,24 @@ + diff --git a/client_tickets.php b/client_tickets.php index eee2140a..91356d37 100644 --- a/client_tickets.php +++ b/client_tickets.php @@ -51,7 +51,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export +
@@ -190,4 +190,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + + diff --git a/client_trips.php b/client_trips.php index e0a8c854..f09e21a4 100644 --- a/client_trips.php +++ b/client_trips.php @@ -45,8 +45,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export - Import +
@@ -142,4 +141,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); + + diff --git a/client_vendors.php b/client_vendors.php index c498f48b..502214c8 100644 --- a/client_vendors.php +++ b/client_vendors.php @@ -53,8 +53,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Export - Import +
@@ -166,4 +165,5 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));