diff --git a/README.md b/README.md index 170aebf6..c539e8ab 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,13 @@ * EasyMDE forked from SimpleMDE * parsedown +### API Calls +* Caller ID lookup (Returns a Name) - /api.php?api_key=[API_KEY]&cid=[PHONE_NUMBER] +* XML Phonebook Download - /api.php?api_key=[API_KEY]&phonebook +* Client Email (Returns Client Name - Email Address) - /api.php?api_key=[API_KEY]&client_emails +* Account Balance for Client (Returns Account Balance) - /api.php?api_key=[API_KEY]&client_id=[CLIENT_ID] +NOTE: [API_KEY] - is auto generated when a company is created and shows up in General Settings. + ### Future Todo * MeshCentral Integation to assign devices and easily access remote desktop within the app * HestiaCP Integration for intergrating domains and webclients diff --git a/post.php b/post.php index 6c4d6d1d..2cecfc85 100644 --- a/post.php +++ b/post.php @@ -135,8 +135,6 @@ if(isset($_GET['delete_company'])){ mysqli_query($mysqli,"DELETE FROM settings WHERE company_id = $company_id"); - mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Company Deleted', log_description = '$company_id', log_created_at = NOW()"); - //logging mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Company', log_action = 'Deleted', log_description = '$name', log_created_at = NOW()"); diff --git a/ticket.php b/ticket.php index bbca06b5..e6a24d09 100644 --- a/ticket.php +++ b/ticket.php @@ -1,11 +1,18 @@ +

Nothing to see here

Go Back"; + + include("footer.php"); + }else{ $row = mysqli_fetch_array($sql); $client_id = $row['client_id']; @@ -46,7 +53,7 @@ if(isset($_GET['ticket_id'])){ ?> - +