1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/resources/views/email/import/completed.blade.php

57 lines
1.7 KiB
PHP
Raw Normal View History

@component('email.template.master', ['design' => 'light', 'settings' => $settings])
@slot('header')
@include('email.components.header', ['logo' => 'https://www.invoiceninja.com/wp-content/uploads/2015/10/logo-white-horizontal-1.png'])
@endslot
2020-12-21 03:24:09 +01:00
<h1>Import completed</h1>
<p>Hello, here is the output of your recent import job.</p>
2020-12-21 03:24:09 +01:00
@if(isset($clients) && count($clients) >=1)
<h3>Clients Imported: {{ count($clients) }} </h3>
@endif
2020-12-21 03:24:09 +01:00
@if(isset($errors['clients']) && count($errors['clients']) >=1)
<h3>Client Errors</h3>
2020-12-21 03:24:09 +01:00
<ul>
@foreach($errors['clients'] as $error)
<li>{{ $error['client'] }} - {{ $error['error'] }}</li>
@endforeach
</ul>
@endif
2020-12-21 03:24:09 +01:00
@if(isset($invoices) && count($invoices) >=1)
2020-12-21 03:24:09 +01:00
<h3>Invoices Imported: {{ count($invoices) }} </h3>
2020-12-21 03:24:09 +01:00
@endif
2020-12-21 03:24:09 +01:00
@if(isset($errors['invoices']) && count($errors['invoices']) >=1)
<h3>Invoices Errors</h3>
2020-12-21 03:24:09 +01:00
<ul>
@foreach($errors['invoices'] as $error)
<li>{{ $error['invoice'] }} - {{ $error['error'] }}</li>
@endforeach
</ul>
@endif
2020-12-21 03:24:09 +01:00
@if(isset($products) && count($products) >=1)
<h3>Products Imported: {{ count($products) }} </h3>
@endif
2020-12-21 03:24:09 +01:00
@if(isset($errors['products']) && count($errors['products']) >=1)
<h3>Client Errors</h3>
2020-12-21 03:24:09 +01:00
<ul>
@foreach($errors['products'] as $error)
<li>{{ $error['product'] }} - {{ $error['error'] }}</li>
@endforeach
</ul>
@endif
2020-12-21 03:24:09 +01:00
<a href="{{ url('/') }}" target="_blank" class="button">Visit portal</a>
2020-12-21 03:24:09 +01:00
<p>Thank you, <br/> Invoice Ninja.</p>
2020-12-21 03:24:09 +01:00
@endcomponent