Benjamin Beganović ff455c8ed9
Exporting migration data via HTTP (v1) (#3364)
* Migration: Option to select the migration type

* Migration: Logic for redirecting based on steps

* Work for migrations:
- Added authentication view, service
- Account connecting
- Scaffold services
- Companies service
- (wip) Sending data to v2

* Migration: Sending migration file

* Wrap up the migration first stage

* Split company per request / no bundle

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-02-25 08:17:16 +11:00

37 lines
1.6 KiB
PHP

@extends('header')
@section('content')
@parent
@include('accounts.nav', ['selected' => ACCOUNT_MANAGEMENT])
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.welcome_to_the_new_version') !!}</h3>
</div>
<div class="panel-body">
<h4>In order to start the migration, we need to know where do you want to migrate.</h4>
<form action="/migration/type" method="post" id="select-type-form">
{{ csrf_field() }}
<div class="form-check">
<input class="form-check-input" type="radio" name="option" id="option1" value="0" checked>
<label class="form-check-label" for="option1">
Hosted
</label>
<p>If you chose 'hosted', we will migrate your data to official Invoice Ninja servers & take care of server handling.</p>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="option" id="option2" value="1">
<label class="form-check-label" for="option2">
Self-hosted
</label>
<p>By choosing the 'self-hosted', you are the one in charge of servers.</p>
</div>
</div>
</form>
</div>
<div class="panel-footer text-right">
<button onclick="document.getElementById('select-type-form').submit();" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
</div>
</div>
@stop