2015-10-14 16:15:39 +02:00
|
|
|
@extends('header')
|
2015-03-16 22:45:25 +01:00
|
|
|
|
|
|
|
@section('content')
|
|
|
|
@parent
|
|
|
|
|
2015-10-14 16:15:39 +02:00
|
|
|
@include('accounts.nav', ['selected' => ACCOUNT_IMPORT_EXPORT])
|
|
|
|
|
2015-11-18 18:16:23 +01:00
|
|
|
{!! Former::open('/import_csv')->addClass('warn-on-exit') !!}
|
2015-04-28 22:13:52 +02:00
|
|
|
|
2016-05-31 22:15:55 +02:00
|
|
|
@foreach (App\Services\ImportService::$entityTypes as $entityType)
|
|
|
|
@if (isset($data[$entityType]))
|
|
|
|
@include('accounts.partials.map', $data[$entityType])
|
|
|
|
@endif
|
|
|
|
@endforeach
|
2015-11-24 20:45:38 +01:00
|
|
|
|
2016-05-31 22:15:55 +02:00
|
|
|
{!! Former::actions(
|
2015-11-24 20:45:38 +01:00
|
|
|
Button::normal(trans('texts.cancel'))->large()->asLinkTo(URL::to('/settings/import_export'))->appendIcon(Icon::create('remove-circle')),
|
|
|
|
Button::success(trans('texts.import'))->submit()->large()->appendIcon(Icon::create('floppy-disk'))) !!}
|
2016-05-31 22:15:55 +02:00
|
|
|
|
2015-11-24 20:45:38 +01:00
|
|
|
{!! Former::close() !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-05-31 22:15:55 +02:00
|
|
|
@stop
|