v2 first commit
This commit is contained in:
26
app/Events/Common/CompanySwitched.php
Normal file
26
app/Events/Common/CompanySwitched.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Common;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class CompanySwitched
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public $company;
|
||||
|
||||
public $old_company_id;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $company
|
||||
* @param $old_company_id
|
||||
*/
|
||||
public function __construct($company, $old_company_id)
|
||||
{
|
||||
$this->company = $company;
|
||||
$this->old_company_id = $old_company_id;
|
||||
}
|
||||
}
|
||||
30
app/Events/Common/ReportFilterApplying.php
Normal file
30
app/Events/Common/ReportFilterApplying.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Common;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class ReportFilterApplying
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public $class;
|
||||
|
||||
public $model;
|
||||
|
||||
public $args;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $class
|
||||
* @param $model
|
||||
* @param $args
|
||||
*/
|
||||
public function __construct($class, $model, $args)
|
||||
{
|
||||
$this->class = $class;
|
||||
$this->model = $model;
|
||||
$this->args = $args;
|
||||
}
|
||||
}
|
||||
22
app/Events/Common/ReportFilterShowing.php
Normal file
22
app/Events/Common/ReportFilterShowing.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Common;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class ReportFilterShowing
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public $class;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $class
|
||||
*/
|
||||
public function __construct($class)
|
||||
{
|
||||
$this->class = $class;
|
||||
}
|
||||
}
|
||||
30
app/Events/Common/ReportGroupApplying.php
Normal file
30
app/Events/Common/ReportGroupApplying.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Common;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class ReportGroupApplying
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public $class;
|
||||
|
||||
public $model;
|
||||
|
||||
public $args;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $class
|
||||
* @param $model
|
||||
* @param $args
|
||||
*/
|
||||
public function __construct($class, $model, $args)
|
||||
{
|
||||
$this->class = $class;
|
||||
$this->model = $model;
|
||||
$this->args = $args;
|
||||
}
|
||||
}
|
||||
22
app/Events/Common/ReportGroupShowing.php
Normal file
22
app/Events/Common/ReportGroupShowing.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Common;
|
||||
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class ReportGroupShowing
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public $class;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $class
|
||||
*/
|
||||
public function __construct($class)
|
||||
{
|
||||
$this->class = $class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user