From 0e3a87a762494314a02999217d6642059ec40e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 7 Jun 2021 18:08:47 +0200 Subject: [PATCH] Admin: import / completed.blade.php --- .../views/email/import/completed.blade.php | 164 +++++++++--------- 1 file changed, 81 insertions(+), 83 deletions(-) diff --git a/resources/views/email/import/completed.blade.php b/resources/views/email/import/completed.blade.php index 58038b594a4f..9824dc60ffae 100644 --- a/resources/views/email/import/completed.blade.php +++ b/resources/views/email/import/completed.blade.php @@ -1,106 +1,104 @@ -@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 +@component('email.template.admin-light', ['logo' => 'https://www.invoiceninja.com/wp-content/uploads/2015/10/logo-white-horizontal-1.png', 'settings' => $settings]) +
+

Import completed

+

Hello, here is the output of your recent import job.

-

Import completed

-

Hello, here is the output of your recent import job.

+

If your logo imported correctly it will display below. If it didn't import, you'll need to reupload your logo

-

If your logo imported correctly it will display below. If it didn't import, you'll need to reupload your logo

+

-

+ @if(isset($company) && $company->clients->count() >=1) +

{{ ctrans('texts.clients') }}: {{ $company->clients->count() }}

+ @endif - @if(isset($company) && $company->clients->count() >=1) -

{{ ctrans('texts.clients') }}: {{ $company->clients->count() }}

- @endif + @if(isset($company) && count($company->products) >=1) +

{{ ctrans('texts.products') }}: {{ count($company->products) }}

+ @endif - @if(isset($company) && count($company->products) >=1) -

{{ ctrans('texts.products') }}: {{ count($company->products) }}

- @endif + @if(isset($company) && count($company->invoices) >=1) +

{{ ctrans('texts.invoices') }}: {{ count($company->invoices) }}

+ @endif - @if(isset($company) && count($company->invoices) >=1) -

{{ ctrans('texts.invoices') }}: {{ count($company->invoices) }}

- @endif + @if(isset($company) && count($company->payments) >=1) +

{{ ctrans('texts.payments') }}: {{ count($company->payments) }}

+ @endif - @if(isset($company) && count($company->payments) >=1) -

{{ ctrans('texts.payments') }}: {{ count($company->payments) }}

- @endif + @if(isset($company) && count($company->recurring_invoices) >=1) +

{{ ctrans('texts.recurring_invoices') }}: {{ count($company->recurring_invoices) }}

+ @endif - @if(isset($company) && count($company->recurring_invoices) >=1) -

{{ ctrans('texts.recurring_invoices') }}: {{ count($company->recurring_invoices) }}

- @endif + @if(isset($company) && count($company->quotes) >=1) +

{{ ctrans('texts.quotes') }}: {{ count($company->quotes) }}

+ @endif - @if(isset($company) && count($company->quotes) >=1) -

{{ ctrans('texts.quotes') }}: {{ count($company->quotes) }}

- @endif + @if(isset($company) && count($company->credits) >=1) +

{{ ctrans('texts.credits') }}: {{ count($company->credits) }}

+ @endif - @if(isset($company) && count($company->credits) >=1) -

{{ ctrans('texts.credits') }}: {{ count($company->credits) }}

- @endif + @if(isset($company) && count($company->projects) >=1) +

{{ ctrans('texts.projects') }}: {{ count($company->projects) }}

+ @endif - @if(isset($company) && count($company->projects) >=1) -

{{ ctrans('texts.projects') }}: {{ count($company->projects) }}

- @endif + @if(isset($company) && count($company->tasks) >=1) +

{{ ctrans('texts.tasks') }}: {{ count($company->tasks) }}

+ @endif - @if(isset($company) && count($company->tasks) >=1) -

{{ ctrans('texts.tasks') }}: {{ count($company->tasks) }}

- @endif + @if(isset($company) && count($company->vendors) >=1) +

{{ ctrans('texts.vendors') }}: {{ count($company->vendors) }}

+ @endif - @if(isset($company) && count($company->vendors) >=1) -

{{ ctrans('texts.vendors') }}: {{ count($company->vendors) }}

- @endif + @if(isset($company) && count($company->expenses) >=1) +

{{ ctrans('texts.expenses') }}: {{ count($company->expenses) }}

+ @endif - @if(isset($company) && count($company->expenses) >=1) -

{{ ctrans('texts.expenses') }}: {{ count($company->expenses) }}

- @endif + @if(isset($company) && count($company->company_gateways) >=1) +

{{ ctrans('texts.gateways') }}: {{ count($company->company_gateways) }}

+ @endif - @if(isset($company) && count($company->company_gateways) >=1) -

{{ ctrans('texts.gateways') }}: {{ count($company->company_gateways) }}

- @endif + @if(isset($company) && count($company->client_gateway_tokens) >=1) +

{{ ctrans('texts.tokens') }}: {{ count($company->client_gateway_tokens) }}

+ @endif - @if(isset($company) && count($company->client_gateway_tokens) >=1) -

{{ ctrans('texts.tokens') }}: {{ count($company->client_gateway_tokens) }}

- @endif + @if(isset($company) && count($company->tax_rates) >=1) +

{{ ctrans('texts.tax_rates') }}: {{ count($company->tax_rates) }}

+ @endif - @if(isset($company) && count($company->tax_rates) >=1) -

{{ ctrans('texts.tax_rates') }}: {{ count($company->tax_rates) }}

- @endif + @if(isset($company) && count($company->documents) >=1) +

{{ ctrans('texts.documents') }}: {{ count($company->documents) }}

+ @endif - @if(isset($company) && count($company->documents) >=1) -

{{ ctrans('texts.documents') }}: {{ count($company->documents) }}

- @endif + @if($check_data) +

Data Quality:

+

{!! $check_data !!}

+ @endif - @if($check_data) -

Data Quality:

-

{!! $check_data !!}

- @endif - - @if(!empty($errors) ) -

{{ ctrans('texts.errors') }}:

- - - - - - - - - - @foreach($errors as $entityType=>$entityErrors) - @foreach($entityErrors as $error) - - - - - + @if(!empty($errors) ) +

{{ ctrans('texts.errors') }}:

+
TypeDataError
{{$entityType}}{{json_encode($error[$entityType]??null)}}{{json_encode($error['error'])}}
+ + + + + + + + + @foreach($errors as $entityType=>$entityErrors) + @foreach($entityErrors as $error) + + + + + + @endforeach @endforeach - @endforeach - -
TypeDataError
{{$entityType}}{{json_encode($error[$entityType]??null)}}{{json_encode($error['error'])}}
- @endif + + + @endif - {{ ctrans('texts.account_login')}} - -

{{ ctrans('texts.email_signature')}}
{{ ctrans('texts.email_from') }}

+ {{ ctrans('texts.account_login')}} +

{{ ctrans('texts.email_signature')}}
{{ ctrans('texts.email_from') }}

+
@endcomponent +