1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Log system events

This commit is contained in:
David Bomba 2019-10-02 13:00:51 +10:00
parent 833f986b43
commit b243ce4643
2 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,10 @@ use Illuminate\Database\Eloquent\Model;
class CompanyGateway extends BaseModel
{
protected $fillable = [
];
public static $credit_cards = [
1 => ['card' => 'images/credit_cards/Test-Visa-Icon.png', 'text' => 'Visa'],
2 => ['card' => 'images/credit_cards/Test-MasterCard-Icon.png', 'text' => 'Master Card'],

View File

@ -18,6 +18,7 @@ use App\Models\CompanyGateway;
use App\Models\GatewayType;
use App\Models\Invoice;
use App\Models\Payment;
use App\Utils\Traits\SystemLogTrait;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Auth;
use Omnipay\Omnipay;
@ -43,6 +44,8 @@ use Omnipay\Omnipay;
*/
class BasePaymentDriver
{
use SystemLogTrait;
/* The company gateway instance*/
protected $company_gateway;