1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/resources/views/accounts/import_map.blade.php

28 lines
854 B
PHP
Raw Normal View History

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
2016-05-31 22:15:55 +02:00
{!! Former::actions(
2017-06-05 11:13:24 +02:00
Button::normal(trans('texts.cancel'))->large()->asLinkTo(URL::to('/cancel_import?timestamp=' . $timestamp))->appendIcon(Icon::create('remove-circle')),
2015-11-24 20:45:38 +01:00
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