mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	refactor estimate & invoice templates
This commit is contained in:
		| @ -116,6 +116,7 @@ | ||||
|             padding-left: 40px; | ||||
|             width: 160px; | ||||
|         } | ||||
|  | ||||
|         .shipping-address { | ||||
|             font-size: 12px; | ||||
|             line-height: 15px; | ||||
| @ -349,11 +350,13 @@ | ||||
|         </table> | ||||
|         <hr class="header-bottom-divider" style="border: 0.620315px solid #E8E8E8;" /> | ||||
|     </div> | ||||
|  | ||||
|     <div class="content-wrapper"> | ||||
|         <div style="padding-top: 30px"> | ||||
|             <div class="company-address-container company-address"> | ||||
|                 {!! $company_address !!} | ||||
|             </div> | ||||
|  | ||||
|             <div class="invoice-details-container"> | ||||
|                 <table> | ||||
|                     <tr> | ||||
| @ -370,33 +373,40 @@ | ||||
|                     </tr> | ||||
|                 </table> | ||||
|             </div> | ||||
|  | ||||
|             <div style="clear: both;"></div> | ||||
|         </div> | ||||
|  | ||||
|         <div class="billing-address-container billing-address"> | ||||
|             @if($billing_address) | ||||
|                 @lang('pdf_bill_to') | ||||
|                 <b>@lang('pdf_bill_to')</b> <br> | ||||
|  | ||||
|                 {!! $billing_address !!} | ||||
|             @endif | ||||
|         </div> | ||||
|  | ||||
|         <div class="shipping-address-container shipping-address" @if($billing_address !== '</br>') style="float:left;" @else style="display:block; float:left: padding-left: 0px;" @endif> | ||||
|         <div class="shipping-address-container shipping-address" @if($billing_address !=='</br>' ) style="float:left;" @else style="display:block; float:left: padding-left: 0px;" @endif> | ||||
|             @if($shipping_address) | ||||
|                 @lang('pdf_ship_to') | ||||
|                 <b>@lang('pdf_ship_to')</b> <br> | ||||
|  | ||||
|                 {!! $shipping_address !!} | ||||
|             @endif | ||||
|         </div> | ||||
|  | ||||
|         <div style="position: relative; clear: both;"> | ||||
|             @include('app.pdf.invoice.partials.table') | ||||
|         </div> | ||||
|  | ||||
|         <div class="notes"> | ||||
|             @if($notes) | ||||
|                 <div class="notes-label"> | ||||
|                     @lang('pdf_notes') | ||||
|                 </div> | ||||
|  | ||||
|                 {!! $notes !!} | ||||
|             @endif | ||||
|         </div> | ||||
|     </div> | ||||
| </body> | ||||
|  | ||||
| </html> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user