Fix for payment datatable list
This commit is contained in:
parent
b2beb8fb73
commit
406df6f3d8
2 changed files with 6 additions and 6 deletions
|
|
@ -10,6 +10,12 @@ class PaymentDatatable extends EntityDatatable
|
|||
{
|
||||
public $entityType = ENTITY_PAYMENT;
|
||||
|
||||
protected static $refundableGateways = array(
|
||||
GATEWAY_STRIPE,
|
||||
GATEWAY_BRAINTREE,
|
||||
GATEWAY_WEPAY,
|
||||
);
|
||||
|
||||
public function columns()
|
||||
{
|
||||
return [
|
||||
|
|
|
|||
|
|
@ -30,12 +30,6 @@ class PaymentService extends BaseService
|
|||
public $lastError;
|
||||
protected $datatableService;
|
||||
|
||||
protected static $refundableGateways = array(
|
||||
GATEWAY_STRIPE,
|
||||
GATEWAY_BRAINTREE,
|
||||
GATEWAY_WEPAY,
|
||||
);
|
||||
|
||||
public function __construct(PaymentRepository $paymentRepo, AccountRepository $accountRepo, DatatableService $datatableService)
|
||||
{
|
||||
$this->datatableService = $datatableService;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue