mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for payment datatable list
This commit is contained in:
parent
b2beb8fb73
commit
406df6f3d8
@ -10,6 +10,12 @@ class PaymentDatatable extends EntityDatatable
|
|||||||
{
|
{
|
||||||
public $entityType = ENTITY_PAYMENT;
|
public $entityType = ENTITY_PAYMENT;
|
||||||
|
|
||||||
|
protected static $refundableGateways = array(
|
||||||
|
GATEWAY_STRIPE,
|
||||||
|
GATEWAY_BRAINTREE,
|
||||||
|
GATEWAY_WEPAY,
|
||||||
|
);
|
||||||
|
|
||||||
public function columns()
|
public function columns()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@ -30,12 +30,6 @@ class PaymentService extends BaseService
|
|||||||
public $lastError;
|
public $lastError;
|
||||||
protected $datatableService;
|
protected $datatableService;
|
||||||
|
|
||||||
protected static $refundableGateways = array(
|
|
||||||
GATEWAY_STRIPE,
|
|
||||||
GATEWAY_BRAINTREE,
|
|
||||||
GATEWAY_WEPAY,
|
|
||||||
);
|
|
||||||
|
|
||||||
public function __construct(PaymentRepository $paymentRepo, AccountRepository $accountRepo, DatatableService $datatableService)
|
public function __construct(PaymentRepository $paymentRepo, AccountRepository $accountRepo, DatatableService $datatableService)
|
||||||
{
|
{
|
||||||
$this->datatableService = $datatableService;
|
$this->datatableService = $datatableService;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user