mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 16:27:31 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			106 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| @component('email.template.admin', ['logo' => $logo, 'settings' => $settings, 'company' => $company ?? ''])
 | |
|     <div class="center">
 | |
|         <h1>{{ ctrans('texts.import_complete') }}</h1>
 | |
|         <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>
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.clients') }}:</b> {{ $client_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.products') }}:</b> {{ $product_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.invoices') }}:</b> {{ $invoice_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.payments') }}:</b> {{ $payment_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.recurring_invoices') }}:</b> {{ $recurring_invoice_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.quotes') }}:</b> {{ $quote_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.credits') }}:</b> {{ $credit_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.projects') }}:</b> {{ $project_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.tasks') }}:</b> {{ $task_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.vendors') }}:</b> {{ $vendor_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.expenses') }}:</b> {{ $expense_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.gateways') }}:</b> {{ $company_gateway_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.tokens') }}:</b> {{ $client_gateway_token_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.tax_rates') }}:</b> {{ $tax_rate_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($company))
 | |
|             <p><b>{{ ctrans('texts.documents') }}:</b> {{ $document_count }} </p>
 | |
|         @endif
 | |
| 
 | |
|         @if(isset($check_data))
 | |
|             <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
 | |
|                 @endforeach
 | |
|                 </tbody>
 | |
|             </table>
 | |
|         @endif
 | |
| 
 | |
|         <a href="{{ url('/') }}" target="_blank" class="button">{{ ctrans('texts.account_login')}}</a>
 | |
| 
 | |
|         <p>{{ ctrans('texts.email_signature')}}</p>
 | |
|         <p>{{ ctrans('texts.email_from') }}</p>
 | |
|     </div>
 | |
| @endcomponent
 | |
| 
 |