mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 13:41:09 -04:00 
			
		
		
		
	Fix Invoice/Estimate template issues and Add Payment Receipt, Custom Payment Modes and Item units
This commit is contained in:
		
				
					committed by
					
						 Mohit Panjwani
						Mohit Panjwani
					
				
			
			
				
	
			
			
			
						parent
						
							56a955befd
						
					
				
				
					commit
					4c33a5d88c
				
			
							
								
								
									
										31
									
								
								resources/views/emails/send/payment.blade.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								resources/views/emails/send/payment.blade.php
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,31 @@ | ||||
| @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') | ||||
|             You have received a new payment from <span class="company-name">{{$data['company']['name']}}</span> | ||||
|             @component('mail::button', ['url' => url('/payments/pdf/'.$data['payment']['unique_hash'])]) | ||||
|                 View Payment | ||||
|             @endcomponent | ||||
|         @endcomponent | ||||
|     @endslot | ||||
|      {{-- Footer --}} | ||||
|      @slot('footer') | ||||
|         @component('mail::footer') | ||||
|             Powered by <a class="footer-link" href="https://craterapp.com">Crater</a> | ||||
|         @endcomponent | ||||
|     @endslot | ||||
| @endcomponent | ||||
		Reference in New Issue
	
	Block a user