logistics module
This commit is contained in:
@@ -23,7 +23,6 @@ use App\Models\Jobs\JobProcessAsset;
|
|||||||
use App\Models\Esi\EsiScope;
|
use App\Models\Esi\EsiScope;
|
||||||
use App\Models\Esi\EsiToken;
|
use App\Models\Esi\EsiToken;
|
||||||
|
|
||||||
|
|
||||||
class GetAssetsCommand extends Command
|
class GetAssetsCommand extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|||||||
122
app/Console/Commands/Logistics/GetEveContracts.php
Normal file
122
app/Console/Commands/Logistics/GetEveContracts.php
Normal file
@@ -0,0 +1,122 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Console\Commands;
|
||||||
|
|
||||||
|
//Internal Library
|
||||||
|
use Illuminate\Console\Command;
|
||||||
|
use DB;
|
||||||
|
use Log;
|
||||||
|
|
||||||
|
//Job
|
||||||
|
use App\Jobs\ProcessContractsJob;
|
||||||
|
|
||||||
|
//Library
|
||||||
|
use App\Library\Esi\Esi;
|
||||||
|
use Seat\Eseye\Cache\NullCache;
|
||||||
|
use Seat\Eseye\Configuration;
|
||||||
|
use Seat\Eseye\Containers\EsiAuthentication;
|
||||||
|
use Seat\Eseye\Eseye;
|
||||||
|
use Commands\Library\CommandHelper;
|
||||||
|
use App\Library\Logistics\ContractsHelper;
|
||||||
|
|
||||||
|
//Models
|
||||||
|
use App\Models\Jobs\JobProcessContracts;
|
||||||
|
use App\Models\Esi\EsiScope;
|
||||||
|
use App\Models\Esi\EsiToken;
|
||||||
|
|
||||||
|
class GetEveContracts extends Command
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The name and signature of the console command.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $signature = 'services:GetContracts';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The console command description.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $description = 'Get contracts from a certain corporation';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new command instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
parent::__construct();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Execute the console command.
|
||||||
|
*
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function handle()
|
||||||
|
{
|
||||||
|
//Create the command helper container
|
||||||
|
$task = new CommandHelper('GetContracts');
|
||||||
|
|
||||||
|
//Add the entry into the jobs table saying the job is starting
|
||||||
|
$task->SetStartStatus();
|
||||||
|
|
||||||
|
//Setup the esi authentication container
|
||||||
|
$config = config('esi');
|
||||||
|
|
||||||
|
//Declare some variables
|
||||||
|
$charId;
|
||||||
|
$corpId;
|
||||||
|
|
||||||
|
//Esi Scope Check
|
||||||
|
$esiHelper = new Esi();
|
||||||
|
$contractScope = $esiHelper->HaveEsiScope($charId, 'esi-contracts.read_corporation_contracts.v1');
|
||||||
|
|
||||||
|
if($contractScope == false) {
|
||||||
|
Log::critical('Scope check for esi contracts failed.');
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Disable all caching by setting the NullCache as the
|
||||||
|
// preferred cache handler. By default, Eseye will use the
|
||||||
|
// FileCache.
|
||||||
|
$configuration = Configuration::getInstance();
|
||||||
|
$configuration->cache = NullCache::class;
|
||||||
|
|
||||||
|
//Get the refresh token from the database
|
||||||
|
$token = EsiToken::where(['character_id' => $charId])->get(['refresh_token']);
|
||||||
|
//Create the authentication container
|
||||||
|
$authentication = new EsiAuthentication([
|
||||||
|
'client_id' => $config['client_id'],
|
||||||
|
'secret' => $config['secret'],
|
||||||
|
'refresh_token' => $token[0]->refresh_token,
|
||||||
|
]);
|
||||||
|
|
||||||
|
$esi = new Eseye($authentication);
|
||||||
|
|
||||||
|
try {
|
||||||
|
$contracts = $esi->page(1)
|
||||||
|
->invoke('get', '/corporations/{corporation_id}/contracts/', [
|
||||||
|
'corporation_id' => $corpId,
|
||||||
|
]);
|
||||||
|
} catch (RequestFailedException $e) {
|
||||||
|
Log::critical("Failed to get the contracts list.");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
$pages = $contracts->pages;
|
||||||
|
|
||||||
|
for($i = 1; $i <= $pages; $i++) {
|
||||||
|
$job = new JobProcessEveContracts;
|
||||||
|
$job->charId = $charId;
|
||||||
|
$job->corpId = $corpId;
|
||||||
|
$job->page = $i;
|
||||||
|
ProcessEveContractsJob::dispatch($job)->onQueue('default');
|
||||||
|
}
|
||||||
|
|
||||||
|
//Mark the job as finished
|
||||||
|
$task->SetStopStatus();
|
||||||
|
}
|
||||||
|
}
|
||||||
85
app/Http/Controllers/Logistics/LogisticsController.php
Normal file
85
app/Http/Controllers/Logistics/LogisticsController.php
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Logistics;
|
||||||
|
|
||||||
|
//Internal Library
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Auth;
|
||||||
|
use DB;
|
||||||
|
use Carbon\Carbon;
|
||||||
|
|
||||||
|
//Models
|
||||||
|
use App\Models\Contracts\EveContract;
|
||||||
|
|
||||||
|
//Library
|
||||||
|
use App\Library\Esi\Esi;
|
||||||
|
use App\Library\Lookups\LookupHelper;
|
||||||
|
|
||||||
|
class LogisticsController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Function to display available contracts
|
||||||
|
*/
|
||||||
|
public function displayLogisticsContracts() {
|
||||||
|
//Get the non-accepted contracts
|
||||||
|
$open = EveContract::where([
|
||||||
|
'status' => 'outstanding',
|
||||||
|
])->get();
|
||||||
|
|
||||||
|
$inProgress = EveContract::where([
|
||||||
|
'status' => 'in_progress',
|
||||||
|
])->get();
|
||||||
|
|
||||||
|
$cancelled = EveContract::where([
|
||||||
|
'status' => 'cancelled',
|
||||||
|
])->get();
|
||||||
|
|
||||||
|
$failed = EveContract::where([
|
||||||
|
'status' => 'failed',
|
||||||
|
])->get();
|
||||||
|
|
||||||
|
$deleted = EveContract::where([
|
||||||
|
'status' => 'deleted',
|
||||||
|
])->get();
|
||||||
|
|
||||||
|
$finished = EveContract::where([
|
||||||
|
'status' => 'finished',
|
||||||
|
])->get();
|
||||||
|
|
||||||
|
return view('logistics.display.contracts')->with('open', $open)
|
||||||
|
->with('inProgress', $inProgress)
|
||||||
|
->with('cancelled', $cancelled)
|
||||||
|
->with('failed', $failed)
|
||||||
|
->with('deleted', $deleted)
|
||||||
|
->with('finished', $finished);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function to display current contracts user holds
|
||||||
|
*/
|
||||||
|
public function displayUserContracts() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function to calculate details needing to be set for contracts
|
||||||
|
*/
|
||||||
|
public function displayContractForm() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function to calculate details needing to be set for contracts
|
||||||
|
*/
|
||||||
|
public function displayContractDetails(Request $request) {
|
||||||
|
$this->validate($request, [
|
||||||
|
'start_location',
|
||||||
|
'end_location',
|
||||||
|
'type',
|
||||||
|
'collateral',
|
||||||
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
76
app/Jobs/ProcessEveContractsJob.php
Normal file
76
app/Jobs/ProcessEveContractsJob.php
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Jobs;
|
||||||
|
|
||||||
|
//Internal Library
|
||||||
|
use Illuminate\Bus\Queueable;
|
||||||
|
use Illuminate\Queue\SerializesModels;
|
||||||
|
use Illuminate\Queue\InteractsWithQueue;
|
||||||
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
|
||||||
|
//App Library
|
||||||
|
use App\Library\Logistics\ContractsHelper;
|
||||||
|
|
||||||
|
//App Models
|
||||||
|
use App\Models\Jobs\JobProcessContracts;
|
||||||
|
use App\Models\Job\JobStatus;
|
||||||
|
|
||||||
|
class ProcessEveContractsJob implements ShouldQueue
|
||||||
|
{
|
||||||
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Timeout in seconds
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
public $timeout = 300;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Number of job retries
|
||||||
|
*/
|
||||||
|
public $tries = 3;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Job Variables
|
||||||
|
*/
|
||||||
|
private $charId;
|
||||||
|
private $corpId;
|
||||||
|
private $page;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new job instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct(JobProcessContracts $jpc)
|
||||||
|
{
|
||||||
|
$this->charId = $jpc->charId;
|
||||||
|
$this->corpId = $jpc->corpId;
|
||||||
|
$this->page = $jpc->page;
|
||||||
|
|
||||||
|
//Set the connection for the job
|
||||||
|
$this->connection = 'redis';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Execute the job.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function handle()
|
||||||
|
{
|
||||||
|
//Declare the contracts helper
|
||||||
|
$cHelper = new EveContractsHelper($this->charId, $this->corpId, $this->page);
|
||||||
|
|
||||||
|
$contracts = $cHelper->GetContractsByPage();
|
||||||
|
|
||||||
|
foreach($contracts as $contract) {
|
||||||
|
$cHelper->ProcessContract($contract);
|
||||||
|
}
|
||||||
|
|
||||||
|
//After the job is completed, delete the job
|
||||||
|
$this->delete();
|
||||||
|
}
|
||||||
|
}
|
||||||
251
app/Library/Contracts/EveContractsHelper.php
Normal file
251
app/Library/Contracts/EveContractsHelper.php
Normal file
@@ -0,0 +1,251 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Library\Contracts;
|
||||||
|
|
||||||
|
//Internal Library
|
||||||
|
use Log;
|
||||||
|
use DB;
|
||||||
|
|
||||||
|
//App Library
|
||||||
|
use App\Jobs\Library\JobHelper;
|
||||||
|
use Seat\Eseye\Cache\NullCache;
|
||||||
|
use Seat\Eseye\Configuration;
|
||||||
|
use Seat\Eseye\Containers\EsiAuthentication;
|
||||||
|
use Seat\Eseye\Eseye;
|
||||||
|
use Seat\Eseye\Exceptions\RequestFailedException;
|
||||||
|
use App\Library\Esi\Esi;
|
||||||
|
|
||||||
|
//Models
|
||||||
|
use App\Models\Jobs\JobProcessContracts;
|
||||||
|
use App\Models\Job\JobStatus;
|
||||||
|
use App\Models\Logistics\Contract;
|
||||||
|
use App\Models\Esi\EsiToken;
|
||||||
|
use App\Models\Esi\EsiScope;
|
||||||
|
|
||||||
|
class EveContractsHelper {
|
||||||
|
|
||||||
|
private $charId;
|
||||||
|
private $corpId;
|
||||||
|
private $page;
|
||||||
|
|
||||||
|
public function __construct($char, $corp, $pg = null) {
|
||||||
|
$this->charId = $char;
|
||||||
|
$this->corpId = $corp;
|
||||||
|
$this->page = $pg;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get a page of Contracts to store in the database
|
||||||
|
*/
|
||||||
|
public function GetContractsByPage() {
|
||||||
|
// Disable all caching by setting the NullCache as the
|
||||||
|
// preferred cache handler. By default, Eseye will use the
|
||||||
|
// FileCache.
|
||||||
|
$configuration = Configuration::getInstance();
|
||||||
|
$configuration->cache = NullCache::class;
|
||||||
|
|
||||||
|
//Setup the esi authentication container
|
||||||
|
$config = config('esi');
|
||||||
|
//Get the refresh token from the database
|
||||||
|
$token = EsiToken::where(['character_id' => $this->charId])->get(['refresh_token']);
|
||||||
|
$authentication = new EsiAuthentication([
|
||||||
|
'client_id' => $config['client_id'],
|
||||||
|
'secret' => $config['secret'],
|
||||||
|
'refresh_token' => $token[0]->refresh_token,
|
||||||
|
]);
|
||||||
|
//Setup the ESI variable
|
||||||
|
$esi = new Eseye($authentication);
|
||||||
|
|
||||||
|
try {
|
||||||
|
$contracts = $esi->page($this->page)
|
||||||
|
->invoke('get', '/corporations/{corporation_id}/contracts/', [
|
||||||
|
'corporation_id' => $this->corpId,
|
||||||
|
]);
|
||||||
|
} catch(RequestFailedException $e) {
|
||||||
|
Log::critical("Failed to get a page of contracts from ESI.");
|
||||||
|
$contracts = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $contracts;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a new contract record in the database
|
||||||
|
*/
|
||||||
|
public function StoreNewContract($contract) {
|
||||||
|
//Declare esi helper for decoding the date
|
||||||
|
$esiHelper = new Esi;
|
||||||
|
|
||||||
|
//See if we find the contract in the database
|
||||||
|
$found = LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->count();
|
||||||
|
//If nothing is found we need to store the contract
|
||||||
|
if($found == 0) {
|
||||||
|
$logi = new LogisticsContract;
|
||||||
|
$logi->acceptor_id = $contract->acceptor_id;
|
||||||
|
$logi->assignee_id = $contract->assignee_id;
|
||||||
|
$logi->availability = $contract->availability;
|
||||||
|
if(isset($contract->buyout)) {
|
||||||
|
$logi->buyout = $contract->buyout;
|
||||||
|
}
|
||||||
|
if(isset($contract->collateral)) {
|
||||||
|
$logi->collateral = $contract->collateral;
|
||||||
|
}
|
||||||
|
$logi->contract_id = $contract->contract_id;
|
||||||
|
if(isset($contract->date_accepted)) {
|
||||||
|
$logi->date_accepted = $esiHelper->DecodeDate($contract->date_accepted);
|
||||||
|
}
|
||||||
|
if(isset($contract->date_completed)) {
|
||||||
|
$logi->date_completed = $esiHelper->DecodeDate($contract->date_completed);
|
||||||
|
}
|
||||||
|
$logi->date_expired = $contract->date_expired;
|
||||||
|
$logi->date_issued = $contract->date_issued;
|
||||||
|
if(isset($contract->days_to_complete)) {
|
||||||
|
$logi->days_to_complete = $contract->days_to_complete;
|
||||||
|
}
|
||||||
|
if(isset($contract->end_location_id)) {
|
||||||
|
$logi->end_location_id = $contract->end_location_id;
|
||||||
|
}
|
||||||
|
$logi->for_corporation = $contract->for_corporation;
|
||||||
|
$logi->issuer_corporation_id = $contract->issuer_corporation_id;
|
||||||
|
$logi->issuer_id = $contract->issuer_id;
|
||||||
|
if(isset($contract->price)) {
|
||||||
|
$logi->price = $contract->price;
|
||||||
|
}
|
||||||
|
if(isset($contract->reward)) {
|
||||||
|
$logi->reward = $contract->reward;
|
||||||
|
}
|
||||||
|
if(isset($contract->start_location_id)) {
|
||||||
|
$logi->start_location_id = $contract->start_location_id;
|
||||||
|
}
|
||||||
|
$logi->status = $contract->status;
|
||||||
|
if(isset($contract->title)) {
|
||||||
|
$logi->title = $contract->title;
|
||||||
|
}
|
||||||
|
$logi->status = $contract->status;
|
||||||
|
if(isset($contract->volume)) {
|
||||||
|
$logi->volume = $contract->volume;
|
||||||
|
}
|
||||||
|
$logi->save();
|
||||||
|
} else { //If the contract is found, then call the function to update the contract
|
||||||
|
$this->UpdateLogisticsContract($contract);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function UpdateLogisticsContract($contract) {
|
||||||
|
//Declare Esi Helper function
|
||||||
|
$esiHelper = new Esi;
|
||||||
|
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'acceptor_id' => $contract->acceptor_id,
|
||||||
|
'assignee_id' => $contract->assignee_id,
|
||||||
|
'availability' => $contract->availability,
|
||||||
|
'date_expired' => $esiHelper->DecodeDate($contract->date_expired),
|
||||||
|
'date_issued' => $esiHelper->DecodeDate($contract->date_issued),
|
||||||
|
'for_corporation' => $contract->for_corporation,
|
||||||
|
'issuer_corporation_id' => $contract->issuer_corporation_id,
|
||||||
|
'issuer_id' => $contract->issuer_id,
|
||||||
|
'status' => $contract->status,
|
||||||
|
]);
|
||||||
|
|
||||||
|
if(isset($contract->buyout)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'buyout' => $contract->buyout,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->collateral)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'collateral' => $contract->collateral,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->date_accepted)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'date_accepted' => $esiHelper->DecodeDate($contract->date_accepted),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->date_completed)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'date_completed' => $esiHelper->DecodeDate($contract->date_completed),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->days_to_complete)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'days_to_complete' => $contract->days_to_complete,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->end_location_id)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'end_location_id' => $contract->end_location_id,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->price)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'price' => $contract->price,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->reward)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'reward' => $contract->reward,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->start_location_id)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'start_location_id' => $contract->start_location_id,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->title)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'title' => $contract->title,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(isset($contract->volume)) {
|
||||||
|
LogisticsContract::where([
|
||||||
|
'contract_id' => $contract->contract_id,
|
||||||
|
])->update([
|
||||||
|
'volume' => $contract->voluem,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function PurgeOldContracts() {
|
||||||
|
$date = Carbon::now();
|
||||||
|
|
||||||
|
LogisticsContract::where('date_expired', '<', $date)->delete();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
43
app/Models/Contracts/EveContract.php
Normal file
43
app/Models/Contracts/EveContract.php
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models\Contracts;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class EveContract extends Model
|
||||||
|
{
|
||||||
|
//Table name
|
||||||
|
public $table = 'eve_contracts';
|
||||||
|
|
||||||
|
//Timestamps
|
||||||
|
public $timestamps = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $fillable = [
|
||||||
|
'contract_id',
|
||||||
|
'acceptor_id',
|
||||||
|
'assignee_id',
|
||||||
|
'availability',
|
||||||
|
'buyout',
|
||||||
|
'collateral',
|
||||||
|
'date_accepted',
|
||||||
|
'date_completed',
|
||||||
|
'date_expired',
|
||||||
|
'date_issued',
|
||||||
|
'days_to_complete',
|
||||||
|
'end_location_id',
|
||||||
|
'for_corporation',
|
||||||
|
'issuer_corporation_id',
|
||||||
|
'issuer_id',
|
||||||
|
'price',
|
||||||
|
'reward',
|
||||||
|
'start_location_id',
|
||||||
|
'status',
|
||||||
|
'title',
|
||||||
|
'volume',
|
||||||
|
];
|
||||||
|
}
|
||||||
19
app/Models/Jobs/JobProcessEveContracts.php
Normal file
19
app/Models/Jobs/JobProcessEveContracts.php
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models\Jobs;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class JobProcessContracts extends Model
|
||||||
|
{
|
||||||
|
//No table name is needed
|
||||||
|
|
||||||
|
//Timestamps
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'charId',
|
||||||
|
'corpId',
|
||||||
|
'page',
|
||||||
|
];
|
||||||
|
}
|
||||||
24
app/Models/Lookups/SolarSystem.php
Normal file
24
app/Models/Lookups/SolarSystem.php
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models\Lookups;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class SolarSystem extends Model
|
||||||
|
{
|
||||||
|
//Table Name
|
||||||
|
public $table = 'solar_systems';
|
||||||
|
|
||||||
|
//Timestamps
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $fillable = [
|
||||||
|
'name',
|
||||||
|
'solar_system_id',
|
||||||
|
];
|
||||||
|
}
|
||||||
27
app/Models/Lookups/SolarSystemDistance.php
Normal file
27
app/Models/Lookups/SolarSystemDistance.php
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class SolarSystemDistance extends Model
|
||||||
|
{
|
||||||
|
//Table Name
|
||||||
|
public $table = 'solar_system_distances';
|
||||||
|
|
||||||
|
//Timestamps
|
||||||
|
public $timestamps = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $fillable = [
|
||||||
|
'start_id',
|
||||||
|
'start_name',
|
||||||
|
'end_id',
|
||||||
|
'end_name',
|
||||||
|
'distance',
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
|
class CreateLogisticsTables extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
if(!Schema::hasTable('eve_contracts')) {
|
||||||
|
Schema::create('eve_contracts', function (Blueprint $table) {
|
||||||
|
$table->string('contract_id')->unique();
|
||||||
|
$table->string('acceptor_id');
|
||||||
|
$table->string('assignee_id');
|
||||||
|
$table->string('availability');
|
||||||
|
$table->string('buyout')->nullable();
|
||||||
|
$table->string('collateral')->nullable();
|
||||||
|
$table->dateTime('date_accepted')->nullable();
|
||||||
|
$table->dateTime('date_completed')->nullable();
|
||||||
|
$table->dateTime('date_expired');
|
||||||
|
$table->dateTime('date_issued');
|
||||||
|
$table->integer('days_to_complete')->nullable();
|
||||||
|
$table->string('end_location_id')->nullable();
|
||||||
|
$table->boolean('for_corporation');
|
||||||
|
$table->string('issuer_corporation_id');
|
||||||
|
$table->string('issuer_id');
|
||||||
|
$table->decimal('price', 20, 2)->default(0.00);
|
||||||
|
$table->decimal('reward', 20, 2)->default(0.00);
|
||||||
|
$table->string('start_location_id')->nullable();
|
||||||
|
$table->string('status');
|
||||||
|
$table->string('title')->nullalbe();
|
||||||
|
$table->decimal('volume', 20, 2)->default(0.00);
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!Schema::hasTable('logistics_contracts')) {
|
||||||
|
Schema::create('logistics_contracts', function (Blueprint $table) {
|
||||||
|
$table->increments('id');
|
||||||
|
$table->string('contract_id');
|
||||||
|
$table->string('accepted')->default('No');
|
||||||
|
$table->string('status')->default('N/A');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!Schema::hasTable('solar_systems')) {
|
||||||
|
Schema::create('solar_systems', function (Blueprint $table) {
|
||||||
|
$table->increments('id');
|
||||||
|
$table->string('name');
|
||||||
|
$table->string('solar_system_id')->unique();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!Schema::hasTable('solar_system_distances')) {
|
||||||
|
Schema::create('solar_system_distances', function (Blueprint $table) {
|
||||||
|
$table->increments('id');
|
||||||
|
$table->string('start_id');
|
||||||
|
$table->string('start_name');
|
||||||
|
$table->string('end_id');
|
||||||
|
$table->string('end_name');
|
||||||
|
$table->decimal('distance', 20, 6);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('eve_contracts');
|
||||||
|
Schema::dropIfExists('logistics_contracts');
|
||||||
|
Schema::dropIfExists('solar_systems');
|
||||||
|
Schema::dropIfExists('solar_system_distances');
|
||||||
|
}
|
||||||
|
}
|
||||||
4
vendor/composer/ClassLoader.php
vendored
4
vendor/composer/ClassLoader.php
vendored
@@ -279,7 +279,7 @@ class ClassLoader
|
|||||||
*/
|
*/
|
||||||
public function setApcuPrefix($apcuPrefix)
|
public function setApcuPrefix($apcuPrefix)
|
||||||
{
|
{
|
||||||
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
|
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -377,7 +377,7 @@ class ClassLoader
|
|||||||
$subPath = $class;
|
$subPath = $class;
|
||||||
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
||||||
$subPath = substr($subPath, 0, $lastPos);
|
$subPath = substr($subPath, 0, $lastPos);
|
||||||
$search = $subPath.'\\';
|
$search = $subPath . '\\';
|
||||||
if (isset($this->prefixDirsPsr4[$search])) {
|
if (isset($this->prefixDirsPsr4[$search])) {
|
||||||
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
|
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
|
||||||
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
||||||
|
|||||||
5
vendor/composer/autoload_classmap.php
vendored
5
vendor/composer/autoload_classmap.php
vendored
@@ -8,6 +8,7 @@ $baseDir = dirname($vendorDir);
|
|||||||
return array(
|
return array(
|
||||||
'App\\Console\\Commands\\CleanStaleDataCommand' => $baseDir . '/app/Console/Commands/Data/CleanStaleDataCommand.php',
|
'App\\Console\\Commands\\CleanStaleDataCommand' => $baseDir . '/app/Console/Commands/Data/CleanStaleDataCommand.php',
|
||||||
'App\\Console\\Commands\\GetAssetsCommand' => $baseDir . '/app/Console/Commands/Assets/GetAssets.php',
|
'App\\Console\\Commands\\GetAssetsCommand' => $baseDir . '/app/Console/Commands/Assets/GetAssets.php',
|
||||||
|
'App\\Console\\Commands\\GetContracts' => $baseDir . '/app/Console/Commands/Logistics/GetContracts.php',
|
||||||
'App\\Console\\Commands\\GetCorpsCommand' => $baseDir . '/app/Console/Commands/Corps/GetCorps.php',
|
'App\\Console\\Commands\\GetCorpsCommand' => $baseDir . '/app/Console/Commands/Corps/GetCorps.php',
|
||||||
'App\\Console\\Commands\\GetStructuresCommand' => $baseDir . '/app/Console/Commands/Structures/GetStructures.php',
|
'App\\Console\\Commands\\GetStructuresCommand' => $baseDir . '/app/Console/Commands/Structures/GetStructures.php',
|
||||||
'App\\Console\\Commands\\HoldingFinancesCommand' => $baseDir . '/app/Console/Commands/Finances/HoldingFinances.php',
|
'App\\Console\\Commands\\HoldingFinancesCommand' => $baseDir . '/app/Console/Commands/Finances/HoldingFinances.php',
|
||||||
@@ -42,6 +43,7 @@ return array(
|
|||||||
'App\\Http\\Middleware\\TrustProxies' => $baseDir . '/app/Http/Middleware/TrustProxies.php',
|
'App\\Http\\Middleware\\TrustProxies' => $baseDir . '/app/Http/Middleware/TrustProxies.php',
|
||||||
'App\\Http\\Middleware\\VerifyCsrfToken' => $baseDir . '/app/Http/Middleware/VerifyCsrfToken.php',
|
'App\\Http\\Middleware\\VerifyCsrfToken' => $baseDir . '/app/Http/Middleware/VerifyCsrfToken.php',
|
||||||
'App\\Jobs\\ProcessAssetsJob' => $baseDir . '/app/Jobs/ProcessAssetsJob.php',
|
'App\\Jobs\\ProcessAssetsJob' => $baseDir . '/app/Jobs/ProcessAssetsJob.php',
|
||||||
|
'App\\Jobs\\ProcessContractsJob' => $baseDir . '/app/Jobs/ProcessContractsJob.php',
|
||||||
'App\\Jobs\\ProcessStructureJob' => $baseDir . '/app/Jobs/ProcessStructureJob.php',
|
'App\\Jobs\\ProcessStructureJob' => $baseDir . '/app/Jobs/ProcessStructureJob.php',
|
||||||
'App\\Jobs\\ProcessWalletJournalJob' => $baseDir . '/app/Jobs/ProcessWalletJournalJob.php',
|
'App\\Jobs\\ProcessWalletJournalJob' => $baseDir . '/app/Jobs/ProcessWalletJournalJob.php',
|
||||||
'App\\Jobs\\ProcessWalletTransactionJob' => $baseDir . '/app/Jobs/ProcessWallettransactionJob.php',
|
'App\\Jobs\\ProcessWalletTransactionJob' => $baseDir . '/app/Jobs/ProcessWallettransactionJob.php',
|
||||||
@@ -58,11 +60,13 @@ return array(
|
|||||||
'App\\Library\\Finances\\PlayerDonation' => $baseDir . '/app/Library/Finances/PlayerDonation.php',
|
'App\\Library\\Finances\\PlayerDonation' => $baseDir . '/app/Library/Finances/PlayerDonation.php',
|
||||||
'App\\Library\\Finances\\ReprocessingTax' => $baseDir . '/app/Library/Finances/ReprocessingTax.php',
|
'App\\Library\\Finances\\ReprocessingTax' => $baseDir . '/app/Library/Finances/ReprocessingTax.php',
|
||||||
'App\\Library\\Finances\\StructureIndustryTax' => $baseDir . '/app/Library/Finances/StructureIndustryTax.php',
|
'App\\Library\\Finances\\StructureIndustryTax' => $baseDir . '/app/Library/Finances/StructureIndustryTax.php',
|
||||||
|
'App\\Library\\Logistics\\ContractsHelper' => $baseDir . '/app/Library/Logistics/ContractsHelper.php',
|
||||||
'App\\Library\\Lookups\\LookupHelper' => $baseDir . '/app/Library/Lookups/LookupHelper.php',
|
'App\\Library\\Lookups\\LookupHelper' => $baseDir . '/app/Library/Lookups/LookupHelper.php',
|
||||||
'App\\Library\\Moons\\MoonCalc' => $baseDir . '/app/Library/Moons/MoonCalc.php',
|
'App\\Library\\Moons\\MoonCalc' => $baseDir . '/app/Library/Moons/MoonCalc.php',
|
||||||
'App\\Library\\SRP\\SRPHelper' => $baseDir . '/app/Library/SRP/SRPHelper.php',
|
'App\\Library\\SRP\\SRPHelper' => $baseDir . '/app/Library/SRP/SRPHelper.php',
|
||||||
'App\\Library\\Structures\\StructureHelper' => $baseDir . '/app/Library/Structures/StructureHelper.php',
|
'App\\Library\\Structures\\StructureHelper' => $baseDir . '/app/Library/Structures/StructureHelper.php',
|
||||||
'App\\Library\\Taxes\\TaxesHelper' => $baseDir . '/app/Library/Taxes/TaxesHelper.php',
|
'App\\Library\\Taxes\\TaxesHelper' => $baseDir . '/app/Library/Taxes/TaxesHelper.php',
|
||||||
|
'App\\LogisticsContract' => $baseDir . '/app/Models/Logistics/LogisticsContract.php',
|
||||||
'App\\Models\\Admin\\AllowedLogin' => $baseDir . '/app/Models/Admin/AllowedLogin.php',
|
'App\\Models\\Admin\\AllowedLogin' => $baseDir . '/app/Models/Admin/AllowedLogin.php',
|
||||||
'App\\Models\\Character\\CharacterClone' => $baseDir . '/app/Models/Charcter/CharacterClone.php',
|
'App\\Models\\Character\\CharacterClone' => $baseDir . '/app/Models/Charcter/CharacterClone.php',
|
||||||
'App\\Models\\Config' => $baseDir . '/app/Models/Moon/Config.php',
|
'App\\Models\\Config' => $baseDir . '/app/Models/Moon/Config.php',
|
||||||
@@ -85,6 +89,7 @@ return array(
|
|||||||
'App\\Models\\Finances\\ReprocessingTaxJournal' => $baseDir . '/app/Models/Finances/ReprocessingTaxJournal.php',
|
'App\\Models\\Finances\\ReprocessingTaxJournal' => $baseDir . '/app/Models/Finances/ReprocessingTaxJournal.php',
|
||||||
'App\\Models\\Finances\\StructureIndustryTaxJournal' => $baseDir . '/app/Models/Finances/StructureIndustryTaxJournal.php',
|
'App\\Models\\Finances\\StructureIndustryTaxJournal' => $baseDir . '/app/Models/Finances/StructureIndustryTaxJournal.php',
|
||||||
'App\\Models\\Jobs\\JobProcessAsset' => $baseDir . '/app/Models/Jobs/JobProcessAsset.php',
|
'App\\Models\\Jobs\\JobProcessAsset' => $baseDir . '/app/Models/Jobs/JobProcessAsset.php',
|
||||||
|
'App\\Models\\Jobs\\JobProcessContracts' => $baseDir . '/app/Models/Jobs/JobProcessContracts.php',
|
||||||
'App\\Models\\Jobs\\JobProcessStructure' => $baseDir . '/app/Models/Jobs/JobProcessStructure.php',
|
'App\\Models\\Jobs\\JobProcessStructure' => $baseDir . '/app/Models/Jobs/JobProcessStructure.php',
|
||||||
'App\\Models\\Jobs\\JobProcessWalletJournal' => $baseDir . '/app/Models/Jobs/JobProcessWalletJournal.php',
|
'App\\Models\\Jobs\\JobProcessWalletJournal' => $baseDir . '/app/Models/Jobs/JobProcessWalletJournal.php',
|
||||||
'App\\Models\\Jobs\\JobProcessWalletTransaction' => $baseDir . '/app/Models/Jobs/JobProcessWalletTransaction.php',
|
'App\\Models\\Jobs\\JobProcessWalletTransaction' => $baseDir . '/app/Models/Jobs/JobProcessWalletTransaction.php',
|
||||||
|
|||||||
5
vendor/composer/autoload_static.php
vendored
5
vendor/composer/autoload_static.php
vendored
@@ -461,6 +461,7 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
|||||||
public static $classMap = array (
|
public static $classMap = array (
|
||||||
'App\\Console\\Commands\\CleanStaleDataCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Data/CleanStaleDataCommand.php',
|
'App\\Console\\Commands\\CleanStaleDataCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Data/CleanStaleDataCommand.php',
|
||||||
'App\\Console\\Commands\\GetAssetsCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Assets/GetAssets.php',
|
'App\\Console\\Commands\\GetAssetsCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Assets/GetAssets.php',
|
||||||
|
'App\\Console\\Commands\\GetContracts' => __DIR__ . '/../..' . '/app/Console/Commands/Logistics/GetContracts.php',
|
||||||
'App\\Console\\Commands\\GetCorpsCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Corps/GetCorps.php',
|
'App\\Console\\Commands\\GetCorpsCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Corps/GetCorps.php',
|
||||||
'App\\Console\\Commands\\GetStructuresCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Structures/GetStructures.php',
|
'App\\Console\\Commands\\GetStructuresCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Structures/GetStructures.php',
|
||||||
'App\\Console\\Commands\\HoldingFinancesCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Finances/HoldingFinances.php',
|
'App\\Console\\Commands\\HoldingFinancesCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Finances/HoldingFinances.php',
|
||||||
@@ -495,6 +496,7 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
|||||||
'App\\Http\\Middleware\\TrustProxies' => __DIR__ . '/../..' . '/app/Http/Middleware/TrustProxies.php',
|
'App\\Http\\Middleware\\TrustProxies' => __DIR__ . '/../..' . '/app/Http/Middleware/TrustProxies.php',
|
||||||
'App\\Http\\Middleware\\VerifyCsrfToken' => __DIR__ . '/../..' . '/app/Http/Middleware/VerifyCsrfToken.php',
|
'App\\Http\\Middleware\\VerifyCsrfToken' => __DIR__ . '/../..' . '/app/Http/Middleware/VerifyCsrfToken.php',
|
||||||
'App\\Jobs\\ProcessAssetsJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessAssetsJob.php',
|
'App\\Jobs\\ProcessAssetsJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessAssetsJob.php',
|
||||||
|
'App\\Jobs\\ProcessContractsJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessContractsJob.php',
|
||||||
'App\\Jobs\\ProcessStructureJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessStructureJob.php',
|
'App\\Jobs\\ProcessStructureJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessStructureJob.php',
|
||||||
'App\\Jobs\\ProcessWalletJournalJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessWalletJournalJob.php',
|
'App\\Jobs\\ProcessWalletJournalJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessWalletJournalJob.php',
|
||||||
'App\\Jobs\\ProcessWalletTransactionJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessWallettransactionJob.php',
|
'App\\Jobs\\ProcessWalletTransactionJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessWallettransactionJob.php',
|
||||||
@@ -511,11 +513,13 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
|||||||
'App\\Library\\Finances\\PlayerDonation' => __DIR__ . '/../..' . '/app/Library/Finances/PlayerDonation.php',
|
'App\\Library\\Finances\\PlayerDonation' => __DIR__ . '/../..' . '/app/Library/Finances/PlayerDonation.php',
|
||||||
'App\\Library\\Finances\\ReprocessingTax' => __DIR__ . '/../..' . '/app/Library/Finances/ReprocessingTax.php',
|
'App\\Library\\Finances\\ReprocessingTax' => __DIR__ . '/../..' . '/app/Library/Finances/ReprocessingTax.php',
|
||||||
'App\\Library\\Finances\\StructureIndustryTax' => __DIR__ . '/../..' . '/app/Library/Finances/StructureIndustryTax.php',
|
'App\\Library\\Finances\\StructureIndustryTax' => __DIR__ . '/../..' . '/app/Library/Finances/StructureIndustryTax.php',
|
||||||
|
'App\\Library\\Logistics\\ContractsHelper' => __DIR__ . '/../..' . '/app/Library/Logistics/ContractsHelper.php',
|
||||||
'App\\Library\\Lookups\\LookupHelper' => __DIR__ . '/../..' . '/app/Library/Lookups/LookupHelper.php',
|
'App\\Library\\Lookups\\LookupHelper' => __DIR__ . '/../..' . '/app/Library/Lookups/LookupHelper.php',
|
||||||
'App\\Library\\Moons\\MoonCalc' => __DIR__ . '/../..' . '/app/Library/Moons/MoonCalc.php',
|
'App\\Library\\Moons\\MoonCalc' => __DIR__ . '/../..' . '/app/Library/Moons/MoonCalc.php',
|
||||||
'App\\Library\\SRP\\SRPHelper' => __DIR__ . '/../..' . '/app/Library/SRP/SRPHelper.php',
|
'App\\Library\\SRP\\SRPHelper' => __DIR__ . '/../..' . '/app/Library/SRP/SRPHelper.php',
|
||||||
'App\\Library\\Structures\\StructureHelper' => __DIR__ . '/../..' . '/app/Library/Structures/StructureHelper.php',
|
'App\\Library\\Structures\\StructureHelper' => __DIR__ . '/../..' . '/app/Library/Structures/StructureHelper.php',
|
||||||
'App\\Library\\Taxes\\TaxesHelper' => __DIR__ . '/../..' . '/app/Library/Taxes/TaxesHelper.php',
|
'App\\Library\\Taxes\\TaxesHelper' => __DIR__ . '/../..' . '/app/Library/Taxes/TaxesHelper.php',
|
||||||
|
'App\\LogisticsContract' => __DIR__ . '/../..' . '/app/Models/Logistics/LogisticsContract.php',
|
||||||
'App\\Models\\Admin\\AllowedLogin' => __DIR__ . '/../..' . '/app/Models/Admin/AllowedLogin.php',
|
'App\\Models\\Admin\\AllowedLogin' => __DIR__ . '/../..' . '/app/Models/Admin/AllowedLogin.php',
|
||||||
'App\\Models\\Character\\CharacterClone' => __DIR__ . '/../..' . '/app/Models/Charcter/CharacterClone.php',
|
'App\\Models\\Character\\CharacterClone' => __DIR__ . '/../..' . '/app/Models/Charcter/CharacterClone.php',
|
||||||
'App\\Models\\Config' => __DIR__ . '/../..' . '/app/Models/Moon/Config.php',
|
'App\\Models\\Config' => __DIR__ . '/../..' . '/app/Models/Moon/Config.php',
|
||||||
@@ -538,6 +542,7 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
|||||||
'App\\Models\\Finances\\ReprocessingTaxJournal' => __DIR__ . '/../..' . '/app/Models/Finances/ReprocessingTaxJournal.php',
|
'App\\Models\\Finances\\ReprocessingTaxJournal' => __DIR__ . '/../..' . '/app/Models/Finances/ReprocessingTaxJournal.php',
|
||||||
'App\\Models\\Finances\\StructureIndustryTaxJournal' => __DIR__ . '/../..' . '/app/Models/Finances/StructureIndustryTaxJournal.php',
|
'App\\Models\\Finances\\StructureIndustryTaxJournal' => __DIR__ . '/../..' . '/app/Models/Finances/StructureIndustryTaxJournal.php',
|
||||||
'App\\Models\\Jobs\\JobProcessAsset' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessAsset.php',
|
'App\\Models\\Jobs\\JobProcessAsset' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessAsset.php',
|
||||||
|
'App\\Models\\Jobs\\JobProcessContracts' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessContracts.php',
|
||||||
'App\\Models\\Jobs\\JobProcessStructure' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessStructure.php',
|
'App\\Models\\Jobs\\JobProcessStructure' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessStructure.php',
|
||||||
'App\\Models\\Jobs\\JobProcessWalletJournal' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessWalletJournal.php',
|
'App\\Models\\Jobs\\JobProcessWalletJournal' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessWalletJournal.php',
|
||||||
'App\\Models\\Jobs\\JobProcessWalletTransaction' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessWalletTransaction.php',
|
'App\\Models\\Jobs\\JobProcessWalletTransaction' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessWalletTransaction.php',
|
||||||
|
|||||||
Reference in New Issue
Block a user