mirror of
https://github.com/itflow-org/itflow
synced 2026-03-15 18:24:50 +00:00
Log when client pack is exported to PDF
This commit is contained in:
@@ -583,6 +583,9 @@ if (isset($_POST['export_client_pdf'])) {
|
|||||||
$export_trips = intval($_POST['export_trips']);
|
$export_trips = intval($_POST['export_trips']);
|
||||||
$export_logs = intval($_POST['export_logs']);
|
$export_logs = intval($_POST['export_logs']);
|
||||||
|
|
||||||
|
//Logging
|
||||||
|
mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Client', log_action = 'Export', log_description = '$session_name exported client data to a PDF file', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_client_id = $client_id, log_user_id = $session_user_id");
|
||||||
|
|
||||||
|
|
||||||
//get records from database
|
//get records from database
|
||||||
$sql = mysqli_query($mysqli,"SELECT * FROM clients
|
$sql = mysqli_query($mysqli,"SELECT * FROM clients
|
||||||
|
|||||||
Reference in New Issue
Block a user