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') !!}
|
2017-04-02 15:54:07 +02:00
|
|
|
{!! Former::populateField('timestamp', $timestamp) !!}
|
|
|
|
|
|
|
|
<div style="display:none">
|
|
|
|
{!! Former::text('timestamp') !!}
|
|
|
|
</div>
|
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
|
|
|
|
2017-11-03 12:58:16 +01:00
|
|
|
<center class="buttons">
|
|
|
|
{!! Button::normal(trans('texts.cancel'))->large()->asLinkTo(URL::to('/cancel_import?timestamp=' . $timestamp))->appendIcon(Icon::create('remove-circle')) !!}
|
|
|
|
{!! Button::success(trans('texts.import'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
|
|
|
|
</center>
|
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
|