diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index 6b64b615a80c..e966db0cad73 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -1328,6 +1328,7 @@ trait GenerateMigrationResources 'refunded' => $payment->refunded ?: 0, 'date' => $payment->payment_date, 'transaction_reference' => $payment->transaction_reference ?: '', + 'private_notes' => $payment->private_notes ?: '', 'payer_id' => $payment->payer_id, 'is_deleted' => (bool)$payment->is_deleted, 'exchange_rate' => $payment->exchange_rate ? number_format((float) $payment->exchange_rate, 6) : null, @@ -1367,10 +1368,26 @@ trait GenerateMigrationResources const SEPA = 29; const GOCARDLESS = 30; const CRYPTO = 31; + + const MOLLIE_BANK_TRANSFER = 34; + const KBC = 35; + const BANCONTACT = 36; + const IDEAL = 37; + const HOSTED_PAGE = 38; + const GIROPAY = 39; + const PRZELEWY24 = 40; + const EPS = 41; + const DIRECT_DEBIT = 42; + const BECS = 43; + const ACSS = 44; + const INSTANT_BANK_PAY = 45; + const FPX = 46; */ private function transformPaymentType($payment_type_id) { switch ($payment_type_id) { + case 4: + return 42; case PAYMENT_TYPE_CREDIT: return 32; case PAYMENT_TYPE_ACH: diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 3147972b9dfc..0b50025ba5ba 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -4157,7 +4157,7 @@ $LANG = array( 'group_documents' => 'Group documents', 'quote_approval_confirmation_label' => 'Are you sure you want to approve this quote?', 'migration_select_company_label' => 'Select companies to migrate', - 'force_migration' => 'Force migration', + 'force_migration' => 'Force migration **WARNING** This will overwrite any data you have on v5.', 'require_password_with_social_login' => 'Require Password with Social Login', 'stay_logged_in' => 'Stay Logged In', 'session_about_to_expire' => 'Warning: Your session is about to expire',