fixes for hosted migration

This commit is contained in:
David Bomba 2021-04-29 12:48:54 +10:00
parent d3e44b779c
commit 5159288bb8
2 changed files with 5 additions and 1 deletions

View File

@ -4175,7 +4175,7 @@ $LANG = array(
'zoho' => 'Zoho',
'accounting' => 'Accounting',
'required_files_missing' => 'Please provide all CSVs.',
'migration_auth_label' => 'Let\'s continue by authenticating.',
'migration_auth_label' => 'Let\'s continue by authenticating. (These credentials should be identical across systems)',
'api_secret' => 'API secret',
'migration_api_secret_notice' => 'You can find API_SECRET in the .env file or Invoice Ninja v5. If property is missing, leave field blank.',
'billing_coupon_notice' => 'Your discount will be applied on the checkout.',

View File

@ -11,7 +11,11 @@
<h3 class="panel-title">{!! trans('texts.welcome_to_the_new_version') !!}</h3>
</div>
<div class="panel-body">
@if(Utils::isNinjaProd())
<h4>{!! trans('texts.migration_create_account_notice') !!}</h4><br/>
@else
<h4>{!! trans('texts.migration_auth_label')!!}</h4>
@endif
<form action="{{ url('/migration/auth') }}" method="post" id="auth-form">
{{ csrf_field() }}