mirror of
https://github.com/itflow-org/itflow
synced 2026-03-02 20:04:53 +00:00
Added Created By toticket details
This commit is contained in:
22
README.md
22
README.md
@@ -6,16 +6,16 @@
|
|||||||
* Locations
|
* Locations
|
||||||
* Vendors
|
* Vendors
|
||||||
* Assets
|
* Assets
|
||||||
* Licenses
|
* Application Licenses
|
||||||
* Logins
|
* Logins Password Manager
|
||||||
* Domains
|
* Domains
|
||||||
* Apps
|
* Apps
|
||||||
* Networks
|
* Networks
|
||||||
* Files
|
* Files
|
||||||
* Documentation
|
* Documentation
|
||||||
* Invoicing
|
* Invoicing
|
||||||
* Email Past Due Reminders
|
* Automatically Emails Past Due Invoices to clients
|
||||||
* Auto Email Receipts upon payments
|
* Auto Email Receipts upon receiving payments
|
||||||
* Recurring Invoices
|
* Recurring Invoices
|
||||||
* Quotes / Estimates
|
* Quotes / Estimates
|
||||||
* Automated customer approval
|
* Automated customer approval
|
||||||
@@ -38,15 +38,21 @@
|
|||||||
* Schedule Jobs
|
* Schedule Jobs
|
||||||
* Overview of Invoices Domains
|
* Overview of Invoices Domains
|
||||||
* Schedule Events
|
* Schedule Events
|
||||||
|
* Automatic Email Reminders of upcomming calendar events to customers
|
||||||
* Dashboard
|
* Dashboard
|
||||||
* Gives a clear overview of your business
|
* Gives a clear overview of your business financials using graphs and such
|
||||||
|
|
||||||
* API
|
* API
|
||||||
* XML Phonebook download for VOIP Phones
|
* XML Phonebook download for VOIP Phones
|
||||||
* FreePBX Integrated called ID (When call comes in it queries the Database and displays the company name on your caller ID)
|
* FreePBX Integrated called ID (When call comes in it queries the Database and displays the company name on your caller ID as well as alerts you in the CRM)
|
||||||
* Pull Email Lists
|
* Pull Email Lists
|
||||||
* Check account Balances using FreePBX IVR
|
* Check account Balances using FreePBX IVR
|
||||||
|
|
||||||
|
* Multi-Tenant - One Instance Multiple Companies and Users
|
||||||
|
* Audit Logging - Logs actions of users on the system
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Installation Instructions
|
### Installation Instructions
|
||||||
|
|
||||||
* Clone this repo
|
* Clone this repo
|
||||||
@@ -82,10 +88,10 @@
|
|||||||
* XML Phonebook Download - /api.php?api_key=[API_KEY]&phonebook
|
* 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
|
* 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]
|
* 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.
|
NOTE: [API_KEY] - is auto generated when a company is created and shows up in General Settings, this can also be changed manually.
|
||||||
|
|
||||||
### Future Todo
|
### Future Todo
|
||||||
* MeshCentral Integation to assign devices and easily access remote desktop within the app
|
* MeshCentral Integation to assign devices to assets and easily access remote desktop within the app, as well as pull vital information such as Operating System,
|
||||||
* HestiaCP Integration for intergrating domains and webclients
|
* HestiaCP Integration for intergrating domains and webclients
|
||||||
* CalDAV to integrate with 3rd party calendars
|
* CalDAV to integrate with 3rd party calendars
|
||||||
* CardDAV to integrate with 3rd party Address books
|
* CardDAV to integrate with 3rd party Address books
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ $sql_categories = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_
|
|||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-striped table-sm">
|
<table class="table table-striped">
|
||||||
<thead class="text-dark">
|
<thead class="text-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Category</th>
|
<th>Category</th>
|
||||||
@@ -83,7 +83,7 @@ $sql_categories = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_
|
|||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($payment_amount_for_month,2); ?></td>
|
<td class="text-right">$<?php echo number_format($payment_amount_for_month,2); ?></td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ $sql_categories = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($total_payment_for_all_months,2); ?></td>
|
<td class="text-right">$<?php echo number_format($total_payment_for_all_months,2); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@@ -122,14 +122,14 @@ $sql_categories = mysqli_query($mysqli,"SELECT * FROM categories WHERE category_
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($payment_total_amount_for_month,2); ?></th>
|
<th class="text-right">$<?php echo number_format($payment_total_amount_for_month,2); ?></th>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($total_payment_for_all_months,2); ?></th>
|
<th class="text-right">$<?php echo number_format($total_payment_for_all_months,2); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($payment_amount_for_quarter_one,2); ?></td>
|
<td class="text-right">$<?php echo number_format($payment_amount_for_quarter_one,2); ?></td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($payment_amount_for_quarter_two,2); ?></td>
|
<td class="text-right">$<?php echo number_format($payment_amount_for_quarter_two,2); ?></td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($payment_amount_for_quarter_three,2); ?></td>
|
<td class="text-right">$<?php echo number_format($payment_amount_for_quarter_three,2); ?></td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -143,9 +143,9 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($payment_amount_for_quarter_four,2); ?></td>
|
<td class="text-right">$<?php echo number_format($payment_amount_for_quarter_four,2); ?></td>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($total_payments_for_all_four_quarters,2); ?></td>
|
<td class="text-right">$<?php echo number_format($total_payments_for_all_four_quarters,2); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@@ -180,7 +180,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($payment_total_amount_for_quarter_one,2); ?></th>
|
<th class="text-right">$<?php echo number_format($payment_total_amount_for_quarter_one,2); ?></th>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($payment_total_amount_for_quarter_two,2); ?></th>
|
<th class="text-right">$<?php echo number_format($payment_total_amount_for_quarter_two,2); ?></th>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -220,7 +220,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($payment_total_amount_for_quarter_three,2); ?></th>
|
<th class="text-right">$<?php echo number_format($payment_total_amount_for_quarter_three,2); ?></th>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -242,9 +242,9 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($payment_total_amount_for_quarter_four,2); ?></th>
|
<th class="text-right">$<?php echo number_format($payment_total_amount_for_quarter_four,2); ?></th>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($total_payments_for_all_four_quarters,2); ?></th>
|
<th class="text-right">$<?php echo number_format($total_payments_for_all_four_quarters,2); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
@@ -270,7 +270,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($expense_amount_for_quarter_one,2); ?></td>
|
<td class="text-right">$<?php echo number_format($expense_amount_for_quarter_one,2); ?></td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -282,7 +282,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($expense_amount_for_quarter_two,2); ?></td>
|
<td class="text-right">$<?php echo number_format($expense_amount_for_quarter_two,2); ?></td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -294,7 +294,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($expense_amount_for_quarter_three,2); ?></td>
|
<td class="text-right">$<?php echo number_format($expense_amount_for_quarter_three,2); ?></td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -308,9 +308,9 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($expense_amount_for_quarter_four,2); ?></td>
|
<td class="text-right">$<?php echo number_format($expense_amount_for_quarter_four,2); ?></td>
|
||||||
|
|
||||||
<td class="text-right text-monospace">$<?php echo number_format($total_expenses_for_all_four_quarters,2); ?></td>
|
<td class="text-right">$<?php echo number_format($total_expenses_for_all_four_quarters,2); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@@ -337,7 +337,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($expense_total_amount_for_quarter_one,2); ?></th>
|
<th class="text-right">$<?php echo number_format($expense_total_amount_for_quarter_one,2); ?></th>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -349,7 +349,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($expense_total_amount_for_quarter_two,2); ?></th>
|
<th class="text-right">$<?php echo number_format($expense_total_amount_for_quarter_two,2); ?></th>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -361,7 +361,7 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($expense_total_amount_for_quarter_three,2); ?></th>
|
<th class="text-right">$<?php echo number_format($expense_total_amount_for_quarter_three,2); ?></th>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -375,9 +375,9 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($expense_total_amount_for_quarter_four,2); ?></th>
|
<th class="text-right">$<?php echo number_format($expense_total_amount_for_quarter_four,2); ?></th>
|
||||||
|
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($total_expenses_for_all_four_quarters,2); ?></th>
|
<th class="text-right">$<?php echo number_format($total_expenses_for_all_four_quarters,2); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<?php
|
<?php
|
||||||
@@ -389,11 +389,11 @@ $sql_categories_expense = mysqli_query($mysqli,"SELECT * FROM categories WHERE c
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<th>Net Profit</th>
|
<th>Net Profit</th>
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($net_profit_quarter_one,2); ?></th>
|
<th class="text-right">$<?php echo number_format($net_profit_quarter_one,2); ?></th>
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($net_profit_quarter_two,2); ?></th>
|
<th class="text-right">$<?php echo number_format($net_profit_quarter_two,2); ?></th>
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($net_profit_quarter_three,2); ?></th>
|
<th class="text-right">$<?php echo number_format($net_profit_quarter_three,2); ?></th>
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($net_profit_quarter_four,2); ?></th>
|
<th class="text-right">$<?php echo number_format($net_profit_quarter_four,2); ?></th>
|
||||||
<th class="text-right text-monospace">$<?php echo number_format($net_profit_year,2); ?></th>
|
<th class="text-right">$<?php echo number_format($net_profit_year,2); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
if(isset($_GET['ticket_id'])){
|
if(isset($_GET['ticket_id'])){
|
||||||
$ticket_id = intval($_GET['ticket_id']);
|
$ticket_id = intval($_GET['ticket_id']);
|
||||||
|
|
||||||
$sql = mysqli_query($mysqli,"SELECT * FROM tickets, clients WHERE tickets.client_id = clients.client_id AND ticket_id = $ticket_id AND tickets.company_id = $session_company_id");
|
$sql = mysqli_query($mysqli,"SELECT * FROM tickets, clients, users WHERE tickets.client_id = clients.client_id AND tickets.ticket_created_by = users.user_id AND ticket_id = $ticket_id AND tickets.company_id = $session_company_id");
|
||||||
|
|
||||||
if(mysqli_num_rows($sql) == 0){
|
if(mysqli_num_rows($sql) == 0){
|
||||||
echo "<center><h1 class='text-secondary mt-5'>Nothing to see here</h1><a class='btn btn-lg btn-secondary mt-3' href='tickets.php'><i class='fa fa-fw fa-arrow-left'></i> Go Back</a></center>";
|
echo "<center><h1 class='text-secondary mt-5'>Nothing to see here</h1><a class='btn btn-lg btn-secondary mt-3' href='tickets.php'><i class='fa fa-fw fa-arrow-left'></i> Go Back</a></center>";
|
||||||
@@ -42,6 +42,7 @@ if(isset($_GET['ticket_id'])){
|
|||||||
$ticket_updated_at = $row['ticket_updated_at'];
|
$ticket_updated_at = $row['ticket_updated_at'];
|
||||||
$ticket_closed_at = $row['ticket_closed_at'];
|
$ticket_closed_at = $row['ticket_closed_at'];
|
||||||
$ticket_created_by = $row['ticket_created_by'];
|
$ticket_created_by = $row['ticket_created_by'];
|
||||||
|
$name = $row['name'];
|
||||||
|
|
||||||
if($ticket_status == "Open"){
|
if($ticket_status == "Open"){
|
||||||
$ticket_badge_color = "primary";
|
$ticket_badge_color = "primary";
|
||||||
@@ -102,7 +103,7 @@ if(isset($_GET['ticket_id'])){
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4 class="text-secondary">Details</h4>
|
<h4 class="text-secondary">Details</h4>
|
||||||
<div class="ml-1"><i class="fa fa-fw fa-user text-secondary mr-2 mb-2"></i> <?php echo $ticket_created_by; ?></div>
|
<div class="ml-1"><i class="fa fa-fw fa-user text-secondary mr-2 mb-2"></i> <?php echo $name; ?></div>
|
||||||
<div class="ml-1"><i class="fa fa-fw fa-clock text-secondary mr-2 mb-2"></i> <?php echo $ticket_created_at; ?></div>
|
<div class="ml-1"><i class="fa fa-fw fa-clock text-secondary mr-2 mb-2"></i> <?php echo $ticket_created_at; ?></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user