mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Expenses: Add payment-type "SEPA direct-debit" #1692
This commit is contained in:
parent
1abb857964
commit
a470ca8586
@ -407,6 +407,7 @@ if (! defined('APP_NAME')) {
|
||||
define('PAYMENT_TYPE_SWITCH', 23);
|
||||
define('PAYMENT_TYPE_ALIPAY', 28);
|
||||
define('PAYMENT_TYPE_SOFORT', 29);
|
||||
define('PAYMENT_TYPE_SEPA', 30);
|
||||
|
||||
define('PAYMENT_METHOD_STATUS_NEW', 'new');
|
||||
define('PAYMENT_METHOD_STATUS_VERIFICATION_FAILED', 'verification_failed');
|
||||
@ -420,6 +421,7 @@ if (! defined('APP_NAME')) {
|
||||
define('GATEWAY_TYPE_CUSTOM', 6);
|
||||
define('GATEWAY_TYPE_ALIPAY', 7);
|
||||
define('GATEWAY_TYPE_SOFORT', 8);
|
||||
define('GATEWAY_TYPE_SEPA', 9);
|
||||
define('GATEWAY_TYPE_TOKEN', 'token');
|
||||
|
||||
define('TEMPLATE_INVOICE', 'invoice');
|
||||
|
@ -17,6 +17,7 @@ class GatewayTypesSeeder extends Seeder
|
||||
['alias' => 'custom', 'name' => 'Custom'],
|
||||
['alias' => 'alipay', 'name' => 'Alipay'],
|
||||
['alias' => 'sofort', 'name' => 'Sofort'],
|
||||
['alias' => 'sepa', 'name' => 'SEPA'],
|
||||
];
|
||||
|
||||
foreach ($gateway_types as $gateway_type) {
|
||||
|
@ -38,6 +38,7 @@ class PaymentTypesSeeder extends Seeder
|
||||
['name' => 'Money Order'],
|
||||
['name' => 'Alipay', 'gateway_type_id' => GATEWAY_TYPE_ALIPAY],
|
||||
['name' => 'Sofort', 'gateway_type_id' => GATEWAY_TYPE_SOFORT],
|
||||
['name' => 'SEPA', 'gateway_type_id' => GATEWAY_TYPE_SEPA],
|
||||
];
|
||||
|
||||
foreach ($paymentTypes as $paymentType) {
|
||||
|
@ -1412,6 +1412,7 @@ $LANG = array(
|
||||
'payment_type_Swish' => 'Swish',
|
||||
'payment_type_Alipay' => 'Alipay',
|
||||
'payment_type_Sofort' => 'Sofort',
|
||||
'payment_type_SEPA' => 'SEPA Direct Debit',
|
||||
|
||||
// Industries
|
||||
'industry_Accounting & Legal' => 'Accounting & Legal',
|
||||
@ -2443,6 +2444,7 @@ $LANG = array(
|
||||
|
||||
'alipay' => 'Alipay',
|
||||
'sofort' => 'Sofort',
|
||||
'sepa' => 'SEPA Direct Debit',
|
||||
'enable_alipay' => 'Accept Alipay',
|
||||
'enable_sofort' => 'Accept EU bank transfers',
|
||||
'stripe_alipay_help' => 'These gateways also need to be activated in :link.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user