mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 08:54:34 -04:00
Log system events
This commit is contained in:
parent
833f986b43
commit
b243ce4643
@ -20,6 +20,10 @@ use Illuminate\Database\Eloquent\Model;
|
|||||||
|
|
||||||
class CompanyGateway extends BaseModel
|
class CompanyGateway extends BaseModel
|
||||||
{
|
{
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
];
|
||||||
|
|
||||||
public static $credit_cards = [
|
public static $credit_cards = [
|
||||||
1 => ['card' => 'images/credit_cards/Test-Visa-Icon.png', 'text' => 'Visa'],
|
1 => ['card' => 'images/credit_cards/Test-Visa-Icon.png', 'text' => 'Visa'],
|
||||||
2 => ['card' => 'images/credit_cards/Test-MasterCard-Icon.png', 'text' => 'Master Card'],
|
2 => ['card' => 'images/credit_cards/Test-MasterCard-Icon.png', 'text' => 'Master Card'],
|
||||||
|
@ -18,6 +18,7 @@ use App\Models\CompanyGateway;
|
|||||||
use App\Models\GatewayType;
|
use App\Models\GatewayType;
|
||||||
use App\Models\Invoice;
|
use App\Models\Invoice;
|
||||||
use App\Models\Payment;
|
use App\Models\Payment;
|
||||||
|
use App\Utils\Traits\SystemLogTrait;
|
||||||
use Illuminate\Support\Carbon;
|
use Illuminate\Support\Carbon;
|
||||||
use Illuminate\Support\Facades\Auth;
|
use Illuminate\Support\Facades\Auth;
|
||||||
use Omnipay\Omnipay;
|
use Omnipay\Omnipay;
|
||||||
@ -43,6 +44,8 @@ use Omnipay\Omnipay;
|
|||||||
*/
|
*/
|
||||||
class BasePaymentDriver
|
class BasePaymentDriver
|
||||||
{
|
{
|
||||||
|
use SystemLogTrait;
|
||||||
|
|
||||||
/* The company gateway instance*/
|
/* The company gateway instance*/
|
||||||
protected $company_gateway;
|
protected $company_gateway;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user