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

106 lines
3.4 KiB
PHP
Raw Normal View History

2021-07-21 15:17:35 +02:00
@component('email.template.admin', ['logo' => $logo, 'settings' => $settings, 'company' => $company ?? ''])
2021-06-07 18:08:47 +02:00
<div class="center">
2021-06-09 16:47:11 +02:00
<h1>{{ ctrans('texts.import_complete') }}</h1>
2021-06-07 18:08:47 +02:00
<p>Hello, here is the output of your recent import job.</p>
<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="{{ $logo }}"></p>
2021-06-07 18:08:47 +02:00
@if(isset($company))
<p><b>{{ ctrans('texts.clients') }}:</b> {{ $client_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.products') }}:</b> {{ $product_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.invoices') }}:</b> {{ $invoice_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.payments') }}:</b> {{ $payment_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.recurring_invoices') }}:</b> {{ $recurring_invoice_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.quotes') }}:</b> {{ $quote_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.credits') }}:</b> {{ $credit_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.projects') }}:</b> {{ $project_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.tasks') }}:</b> {{ $task_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.vendors') }}:</b> {{ $vendor_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.expenses') }}:</b> {{ $expense_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.gateways') }}:</b> {{ $company_gateway_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.tokens') }}:</b> {{ $client_gateway_token_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.tax_rates') }}:</b> {{ $tax_rate_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
@if(isset($company))
<p><b>{{ ctrans('texts.documents') }}:</b> {{ $document_count }} </p>
2021-06-07 18:08:47 +02:00
@endif
2021-06-26 04:38:56 +02:00
@if(isset($check_data))
2021-06-07 18:08:47 +02:00
<p><b>Data Quality:</b></p>
<p> {!! $check_data !!} </p>
@endif
@if(!empty($errors) )
<p>{{ ctrans('texts.errors') }}:</p>
<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
2021-02-13 01:20:15 +01:00
@endforeach
2021-06-07 18:08:47 +02:00
</tbody>
</table>
@endif
2020-12-21 03:24:09 +01:00
2021-06-07 18:08:47 +02:00
<a href="{{ url('/') }}" target="_blank" class="button">{{ ctrans('texts.account_login')}}</a>
2021-02-02 06:11:33 +01:00
2021-06-09 16:47:11 +02:00
<p>{{ ctrans('texts.email_signature')}}</p>
<p>{{ ctrans('texts.email_from') }}</p>
2021-06-07 18:08:47 +02:00
</div>
2021-02-13 01:20:15 +01:00
@endcomponent
2021-06-07 18:08:47 +02:00