cleanup work
This commit is contained in:
@@ -1,34 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace App\Jobs;
|
|
||||||
|
|
||||||
use Illuminate\Bus\Queueable;
|
|
||||||
use Illuminate\Queue\SerializesModels;
|
|
||||||
use Illuminate\Queue\InteractsWithQueue;
|
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
|
||||||
|
|
||||||
class AwardContract implements ShouldQueue
|
|
||||||
{
|
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new job instance.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function __construct()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Execute the job.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function handle()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace App\Jobs;
|
|
||||||
|
|
||||||
use Illuminate\Bus\Queueable;
|
|
||||||
use Illuminate\Queue\SerializesModels;
|
|
||||||
use Illuminate\Queue\InteractsWithQueue;
|
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
|
||||||
|
|
||||||
class ContractMailer implements ShouldQueue
|
|
||||||
{
|
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new job instance.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function __construct()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Execute the job.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function handle()
|
|
||||||
{
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -34,17 +34,6 @@ class FinanceHelper {
|
|||||||
public function GetWalletTransaction($division, $charId) {
|
public function GetWalletTransaction($division, $charId) {
|
||||||
//Declare the lookup class helper
|
//Declare the lookup class helper
|
||||||
$lookups = new LookupHelper;
|
$lookups = new LookupHelper;
|
||||||
|
|
||||||
//Get the ESI refresh token for the corporation to add new wallet journals into the database
|
|
||||||
$tokenData = $this->TokenInfo($charId);
|
|
||||||
$token = $tokenData['token'];
|
|
||||||
$scope = $tokenData['scope'];
|
|
||||||
|
|
||||||
//If the token is not found, send the user an eve mail, and just exit out of the function
|
|
||||||
if($this->TokenNotFound($token, $scope)) {
|
|
||||||
printr("Token not found\n");
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
//Setup array for PI items
|
//Setup array for PI items
|
||||||
$pi_items = [
|
$pi_items = [
|
||||||
@@ -138,6 +127,17 @@ class FinanceHelper {
|
|||||||
'2876',
|
'2876',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
//Get the ESI refresh token for the corporation to add new wallet journals into the database
|
||||||
|
$tokenData = $this->TokenInfo($charId);
|
||||||
|
$token = $tokenData['token'];
|
||||||
|
$scope = $tokenData['scope'];
|
||||||
|
|
||||||
|
//If the token is not found, send the user an eve mail, and just exit out of the function
|
||||||
|
if($this->TokenNotFound($token, $scope)) {
|
||||||
|
printr("Token not found\n");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
//Reference to see if the character is in our look up table for corporations and characters
|
//Reference to see if the character is in our look up table for corporations and characters
|
||||||
$corpId = $lookups->LookupCharacter($charId);
|
$corpId = $lookups->LookupCharacter($charId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user