mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| @component('mail::layout')
 | |
|     {{-- Header --}}
 | |
|     @slot('header')
 | |
|         @component('mail::header', ['url' => ''])
 | |
|         @if($data['company']['logo'])
 | |
|             <img class="header-logo" src="{{asset($data['company']['logo'])}}" alt="{{$data['company']['name']}}">
 | |
|         @else
 | |
|             {{$data['company']['name']}}
 | |
|         @endif
 | |
|         @endcomponent
 | |
|     @endslot
 | |
| 
 | |
|     {{-- Body --}}
 | |
|     <!-- Body here -->
 | |
| 
 | |
|     {{-- Subcopy --}}
 | |
|     @slot('subcopy')
 | |
|         @component('mail::subcopy')
 | |
|             {!! $data['body'] !!}
 | |
|             @if(!$data['attach']['data'])
 | |
|                 @component('mail::button', ['url' => url('/customer/estimates/pdf/'.$data['estimate']['unique_hash'])])
 | |
|                     View Estimate
 | |
|                 @endcomponent
 | |
|             @endif
 | |
|         @endcomponent
 | |
|     @endslot
 | |
| 
 | |
|     {{-- Footer --}}
 | |
|     @slot('footer')
 | |
|         @component('mail::footer')
 | |
|             Powered by <a class="footer-link" href="https://craterapp.com">Crater</a>
 | |
|         @endcomponent
 | |
|     @endslot
 | |
| @endcomponent
 | |
| 
 |