database migrations for help desk tickets, and queues
models for help desk tickets and queues model for EveMail modified app config for queues added new routes for jump bridges composer updated for autoloader modified JumpBridgeController added new controllers for HelpDesk and HelpDeskAdmin
This commit is contained in:
11
app/Http/Controllers/HelpDeskAdminController.php
Normal file
11
app/Http/Controllers/HelpDeskAdminController.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class HelpDeskAdminController extends Controller
|
||||
{
|
||||
//
|
||||
}
|
||||
34
app/Http/Controllers/HelpDeskController.php
Normal file
34
app/Http/Controllers/HelpDeskController.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class HelpDeskController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display form to submit a new ticket
|
||||
*/
|
||||
public function displayNewTicket() {
|
||||
|
||||
}
|
||||
|
||||
public function storeTicket() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Display current open tickets for the user
|
||||
*/
|
||||
public function displayMyTickets() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify currently open ticket for the user
|
||||
*/
|
||||
public function editTicket(Request $request) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,45 @@ namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
use App\Library\Finances\JumpBridgeTax;
|
||||
|
||||
class JumpBridgeController extends Controller
|
||||
{
|
||||
//
|
||||
/**
|
||||
* Displays all statistics on one page
|
||||
*/
|
||||
public function displayAll() {
|
||||
//Create a helper class variable
|
||||
$jbHelper30 = new JumpBridgeTax(30);
|
||||
$jbHelper60 = new JumpBridgeTax(60);
|
||||
$jbHelper90 = new JumpBridgeTax(90);
|
||||
|
||||
return view('jumpbridges.all');
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays overall jump bridge usage based corporation data
|
||||
*/
|
||||
public function displayCorpUsage() {
|
||||
return view('jumpbridges.corp.select');
|
||||
}
|
||||
|
||||
public function ajaxCorpUsage() {
|
||||
//Get the statistics for overall usage by corps and send back to webpage via ajax
|
||||
|
||||
return response()->json(array('data' => $data), 200);
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays jump bridge usage based on structure
|
||||
*/
|
||||
public function displayStructureUsage() {
|
||||
return view('jumpbridges.structure.select');
|
||||
}
|
||||
|
||||
public function ajaxStructureUsage() {
|
||||
//Get the statistics for overall usage by structure and send back to the webpage via ajax
|
||||
|
||||
return response()->json(array('data' => $data), 200);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user