1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 17:31:35 +02:00
invoiceninja/resources/views/email/import/completed.blade.php

107 lines
3.9 KiB
PHP
Raw Normal View History

2021-02-13 01:20:15 +01:00
@component('email.template.master', ['design' => 'light', 'settings' => $company->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
2021-01-31 06:07:45 +01:00
<p><b>If your logo imported correctly it will display below. If it didn't import, you'll need to reupload your logo</b></p>
<p><img src="{{ $company->present()->logo() }}"></p>
@if(isset($company) && $company->clients->count() >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.clients') }}:</b> {{ $company->clients->count() }} </p>
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->products) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.products') }}:</b> {{ count($company->products) }} </p>
2021-01-31 06:07:45 +01:00
@endif
@if(isset($company) && count($company->invoices) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.invoices') }}:</b> {{ count($company->invoices) }} </p>
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->payments) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.payments') }}:</b> {{ count($company->payments) }} </p>
2021-01-31 06:07:45 +01:00
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->recurring_invoices) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.recurring_invoices') }}:</b> {{ count($company->recurring_invoices) }} </p>
2021-01-31 06:07:45 +01:00
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->quotes) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.quotes') }}:</b> {{ count($company->quotes) }} </p>
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->credits) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.credits') }}:</b> {{ count($company->credits) }} </p>
2021-01-31 06:07:45 +01:00
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->projects) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.projects') }}:</b> {{ count($company->projects) }} </p>
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->tasks) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.tasks') }}:</b> {{ count($company->tasks) }} </p>
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->vendors) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.vendors') }}:</b> {{ count($company->vendors) }} </p>
2021-01-31 06:07:45 +01:00
@endif
@if(isset($company) && count($company->expenses) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.expenses') }}:</b> {{ count($company->expenses) }} </p>
2021-01-31 06:07:45 +01:00
@endif
@if(isset($company) && count($company->company_gateways) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.gateways') }}:</b> {{ count($company->company_gateways) }} </p>
2021-01-31 06:07:45 +01:00
@endif
@if(isset($company) && count($company->client_gateway_tokens) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.tokens') }}:</b> {{ count($company->client_gateway_tokens) }} </p>
2021-01-31 06:07:45 +01:00
@endif
@if(isset($company) && count($company->tax_rates) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.tax_rates') }}:</b> {{ count($company->tax_rates) }} </p>
2021-01-31 06:07:45 +01:00
@endif
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
@if(isset($company) && count($company->documents) >=1)
2021-03-09 12:46:33 +01:00
<p><b>{{ ctrans('texts.documents') }}:</b> {{ count($company->documents) }} </p>
@endif
2020-12-21 03:24:09 +01:00
2021-06-04 00:16:18 +02:00
@if($check_data)
<p><b>Data Quality:</b></p>
<p> {!! $check_data !!} </p>
2021-06-04 00:16:18 +02:00
@endif
2021-02-13 01:20:15 +01:00
@if(!empty($errors) )
2021-03-09 12:46:33 +01:00
<p>{{ ctrans('texts.errors') }}:</p>
2021-02-13 01:20:15 +01:00
<table>
<thead>
<tr>
<th>Type</th>
<th>Data</th>
<th>Error</th>
</tr>
</thead>
<tbody>
@foreach($errors as $entityType=>$entityErrors)
@foreach($entityErrors as $error)
<tr>
<td>{{$entityType}}</td>
<td>{{json_encode($error[$entityType]??null)}}</td>
<td>{{json_encode($error['error'])}}</td>
</tr>
@endforeach
@endforeach
</tbody>
</table>
@endif
2021-01-31 06:07:45 +01:00
<a href="{{ url('/') }}" target="_blank" class="button">{{ ctrans('texts.account_login')}}</a>
2020-12-21 03:24:09 +01:00
2021-01-31 06:07:45 +01:00
<p>{{ ctrans('texts.email_signature')}}<br/> {{ ctrans('texts.email_from') }}</p>
2021-02-02 06:11:33 +01:00
2021-02-13 01:20:15 +01:00
@endcomponent