mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01: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;
|
||||
|
||||
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…
Reference in New Issue
Block a user