invoiceninja/resources/views/migration/start.blade.php

40 lines
1.6 KiB
PHP
Raw Normal View History

Export data for the migration (master) (#3239) * Scaffold migration controller & steps * - Basic controller scaffold - Intro step - Downloading data * Import step for the v2 * Export file using account_key property * Fix button displaying * Client export mappings * Company export mappings * Add withTrashed() for clients * Export users mappings * Export invoices mappings * Export company properties as array * add withTrashed() for invoices * Downloading the json file * Fix 'account_id' for company export - Code cleanup & leftovers * Creating zip for logo & storing json as file (wip) * Zipping & sending migration files (wip) * Exporting & mappings for quotes * Re-enable headers for downloading * Mappings for tax rates * Mappings for the products * Fix formattings & php doc messages * Bring back headers for downloading * Export 'company_id', 'user_id' with clients * Export 'id' with users resource * Remove unused parameter * Export mappings for payments * Export 'line_items' with invoices * Export credits & export client id * Export 'credits' within main JSON * Mappings for line_items * Fix 'is_amount_discount' for invoice export * Exporting migration file as .zip archive * Improve settings card for migration * Removed duplicated keys in texts.php for en * Fix formatting in en/texts.php * Integrate the migration part with rest of UI * Export company as object, not array * Clean up * Fixes for V1 * Apply formatting * Remove comments - Added 'ext-zip' in composer.json - Fixed $credits transform * Remove unused params Co-authored-by: David Bomba <turbo124@gmail.com>
2020-01-23 21:34:30 +01:00
@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">
2020-03-12 09:42:31 +02:00
<h4>In order to start the migration, we need to know where do you want to migrate.</h4><br/>
2020-10-05 09:50:32 +02:00
<form action="{{ url('migration/type') }}" method="post" id="select-type-form">
{{ csrf_field() }}
@if(Utils::isNinjaProd())
<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>Migrate to version 5 of Invoice Ninja</p>
</div>
@else
<div class="form-check">
<input class="form-check-input" type="radio" name="option" id="option2" value="1" checked">
<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>
@endif
</form>
Export data for the migration (master) (#3239) * Scaffold migration controller & steps * - Basic controller scaffold - Intro step - Downloading data * Import step for the v2 * Export file using account_key property * Fix button displaying * Client export mappings * Company export mappings * Add withTrashed() for clients * Export users mappings * Export invoices mappings * Export company properties as array * add withTrashed() for invoices * Downloading the json file * Fix 'account_id' for company export - Code cleanup & leftovers * Creating zip for logo & storing json as file (wip) * Zipping & sending migration files (wip) * Exporting & mappings for quotes * Re-enable headers for downloading * Mappings for tax rates * Mappings for the products * Fix formattings & php doc messages * Bring back headers for downloading * Export 'company_id', 'user_id' with clients * Export 'id' with users resource * Remove unused parameter * Export mappings for payments * Export 'line_items' with invoices * Export credits & export client id * Export 'credits' within main JSON * Mappings for line_items * Fix 'is_amount_discount' for invoice export * Exporting migration file as .zip archive * Improve settings card for migration * Removed duplicated keys in texts.php for en * Fix formatting in en/texts.php * Integrate the migration part with rest of UI * Export company as object, not array * Clean up * Fixes for V1 * Apply formatting * Remove comments - Added 'ext-zip' in composer.json - Fixed $credits transform * Remove unused params Co-authored-by: David Bomba <turbo124@gmail.com>
2020-01-23 21:34:30 +01:00
</div>
<div class="panel-footer text-right">
2020-10-05 09:50:32 +02:00
<button form="select-type-form" class="btn btn-primary">{!! trans('texts.continue') !!}</button>
Export data for the migration (master) (#3239) * Scaffold migration controller & steps * - Basic controller scaffold - Intro step - Downloading data * Import step for the v2 * Export file using account_key property * Fix button displaying * Client export mappings * Company export mappings * Add withTrashed() for clients * Export users mappings * Export invoices mappings * Export company properties as array * add withTrashed() for invoices * Downloading the json file * Fix 'account_id' for company export - Code cleanup & leftovers * Creating zip for logo & storing json as file (wip) * Zipping & sending migration files (wip) * Exporting & mappings for quotes * Re-enable headers for downloading * Mappings for tax rates * Mappings for the products * Fix formattings & php doc messages * Bring back headers for downloading * Export 'company_id', 'user_id' with clients * Export 'id' with users resource * Remove unused parameter * Export mappings for payments * Export 'line_items' with invoices * Export credits & export client id * Export 'credits' within main JSON * Mappings for line_items * Fix 'is_amount_discount' for invoice export * Exporting migration file as .zip archive * Improve settings card for migration * Removed duplicated keys in texts.php for en * Fix formatting in en/texts.php * Integrate the migration part with rest of UI * Export company as object, not array * Clean up * Fixes for V1 * Apply formatting * Remove comments - Added 'ext-zip' in composer.json - Fixed $credits transform * Remove unused params Co-authored-by: David Bomba <turbo124@gmail.com>
2020-01-23 21:34:30 +01:00
</div>
</div>
2020-03-12 09:42:31 +02:00
@stop