mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	fix pdf & installation issue
This commit is contained in:
		| @ -60,13 +60,11 @@ | ||||
|             margin-left:160px; | ||||
|         } | ||||
|         .header { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 20px; | ||||
|             color: rgba(0, 0, 0, 0.7); | ||||
|         } | ||||
|  | ||||
|         .TextColor1 { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 16px; | ||||
|             color: rgba(0, 0, 0, 0.5); | ||||
|         } | ||||
| @ -341,7 +339,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: 300; | ||||
|             font-size: 12px; | ||||
| @ -354,7 +351,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes-label { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: normal; | ||||
|             font-size: 15px; | ||||
| @ -412,7 +408,7 @@ | ||||
|             <div class="bill-address-container"> | ||||
|                 @include('app.pdf.estimate.partials.billing-address') | ||||
|             </div> | ||||
|             @if($estimate->user->billingaddress && ($estimate->user->billingaddress->name || $estimate->user->billingaddress->address_street_1 || $estimate->user->billingaddress->address_street_2 || $estimate->user->billingaddress->country || $estimate->user->billingaddress->state || $estimate->user->billingaddress->city || $estimate->user->billingaddress->zip || $estimate->user->billingaddress->phone)) | ||||
|             @if($estimate->user->billingaddress) | ||||
|                 <div class="ship-address-container"> | ||||
|             @else | ||||
|                 <div class="ship-address-container " style="float:left;padding-left:0px;"> | ||||
|  | ||||
| @ -64,13 +64,11 @@ | ||||
|             margin-left:160px; | ||||
|         } | ||||
|         .header { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 20px; | ||||
|             color: rgba(0, 0, 0, 0.7); | ||||
|         } | ||||
|  | ||||
|         .TextColor1 { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 16px; | ||||
|             color: rgba(0, 0, 0, 0.5); | ||||
|         } | ||||
| @ -366,7 +364,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: 300; | ||||
|             font-size: 12px; | ||||
| @ -379,7 +376,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes-label { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: normal; | ||||
|             font-size: 15px; | ||||
| @ -423,7 +419,7 @@ | ||||
|             <div class="ship-address-container"> | ||||
|                 @include('app.pdf.estimate.partials.shipping-address') | ||||
|             </div> | ||||
|             @if($estimate->user->shippingaddress && ($estimate->user->shippingaddress->name || $estimate->user->shippingaddress->address_street_1 || $estimate->user->shippingaddress->address_street_2 || $estimate->user->shippingaddress->country || $estimate->user->shippingaddress->state || $estimate->user->shippingaddress->city || $estimate->user->shippingaddress->zip || $estimate->user->phone)) | ||||
|             @if($estimate->user->shippingaddress) | ||||
|                 <div class="bill-address-container"> | ||||
|             @else | ||||
|                 <div class="bill-address-container" style="float:right;padding-right:0px;"> | ||||
|  | ||||
| @ -66,13 +66,11 @@ | ||||
|             margin-left:160px; | ||||
|         } | ||||
|         .header { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 20px; | ||||
|             color: rgba(0, 0, 0, 0.7); | ||||
|         } | ||||
|  | ||||
|         .TextColor1 { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 16px; | ||||
|             color: rgba(0, 0, 0, 0.5); | ||||
|         } | ||||
| @ -374,7 +372,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: 300; | ||||
|             font-size: 12px; | ||||
| @ -387,7 +384,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes-label { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: normal; | ||||
|             font-size: 15px; | ||||
| @ -428,7 +424,7 @@ | ||||
|                 <div style="float:left;"> | ||||
|                     @include('app.pdf.estimate.partials.billing-address') | ||||
|                 </div> | ||||
|                 @if($estimate->user->billingaddress && ($estimate->user->billingaddress->name || $estimate->user->billingaddress->address_street_1 || $estimate->user->billingaddress->address_street_2 || $estimate->user->billingaddress->country || $estimate->user->billingaddress->state || $estimate->user->billingaddress->city || $estimate->user->billingaddress->zip || $estimate->user->billingaddress->phone)) | ||||
|                @if($estimate->user->billingaddress) | ||||
|                     <div style="float:right;"> | ||||
|                 @else | ||||
|                     <div style="float:left;"> | ||||
|  | ||||
| @ -1,7 +1,5 @@ | ||||
| @if($estimate->user->billingaddress) | ||||
|     @if($estimate->user->billingaddress->name || $estimate->user->billingaddress->address_street_1 || $estimate->user->billingaddress->address_street_2 || $estimate->user->billingaddress->country || $estimate->user->billingaddress->state || $estimate->user->billingaddress->city || $estimate->user->billingaddress->zip || $estimate->user->billingaddress->phone) | ||||
|         <p class="bill-to">Bill To,</p> | ||||
|     @endif | ||||
|     <p class="bill-to">Bill To,</p> | ||||
|     @if($estimate->user->billingaddress->name) | ||||
|         <p class="bill-user-name"> | ||||
|             {{$estimate->user->billingaddress->name}} | ||||
| @ -16,11 +14,11 @@ | ||||
|             {{$estimate->user->billingaddress->address_street_2}}<br> | ||||
|         @endif | ||||
|  | ||||
|         @if($estimate->user->billingaddress->city && $estimate->user->billingaddress->city) | ||||
|         @if($estimate->user->billingaddress->city) | ||||
|             {{$estimate->user->billingaddress->city}}, | ||||
|         @endif | ||||
|  | ||||
|         @if($estimate->user->billingaddress->state && $estimate->user->billingaddress->state) | ||||
|         @if($estimate->user->billingaddress->state) | ||||
|             {{$estimate->user->billingaddress->state}}. | ||||
|         @endif | ||||
|  | ||||
|  | ||||
| @ -1,7 +1,5 @@ | ||||
| @if($estimate->user->shippingaddress) | ||||
|     @if($estimate->user->shippingaddress->name || $estimate->user->shippingaddress->address_street_1 || $estimate->user->shippingaddress->address_street_2 || $estimate->user->shippingaddress->country || $estimate->user->shippingaddress->state || $estimate->user->shippingaddress->city || $estimate->user->shippingaddress->zip || $estimate->user->phone) | ||||
|         <p class="ship-to">Ship To,</p> | ||||
|     @endif | ||||
|     <p class="ship-to">Ship To,</p> | ||||
|     @if($estimate->user->shippingaddress->name) | ||||
|         <p class="ship-user-name"> | ||||
|             {{$estimate->user->shippingaddress->name}} | ||||
|  | ||||
| @ -61,13 +61,11 @@ | ||||
|             margin-left:160px; | ||||
|         } | ||||
|         .header { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 20px; | ||||
|             color: rgba(0, 0, 0, 0.7); | ||||
|         } | ||||
|  | ||||
|         .TextColor1 { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 16px; | ||||
|             color: rgba(0, 0, 0, 0.5); | ||||
|         } | ||||
| @ -348,7 +346,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: 300; | ||||
|             font-size: 12px; | ||||
| @ -361,7 +358,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes-label { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: normal; | ||||
|             font-size: 15px; | ||||
| @ -419,7 +415,7 @@ | ||||
|             <div class="bill-address-container"> | ||||
|                     @include('app.pdf.invoice.partials.billing-address') | ||||
|             </div> | ||||
|             @if($invoice->user->billingaddress && ($invoice->user->billingaddress->name || $invoice->user->billingaddress->address_street_1 || $invoice->user->billingaddress->address_street_2 || $invoice->user->billingaddress->country || $invoice->user->billingaddress->state || $invoice->user->billingaddress->city || $invoice->user->billingaddress->zip || $invoice->user->billingaddress->phone)) | ||||
|             @if($invoice->user->billingaddress) | ||||
|                 <div class="ship-address-container"> | ||||
|             @else | ||||
|                 <div class="ship-address-container " style="float:left;padding-left:0px;"> | ||||
|  | ||||
| @ -62,13 +62,11 @@ | ||||
|             margin-left:160px; | ||||
|         } | ||||
|         .header { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 20px; | ||||
|             color: rgba(0, 0, 0, 0.7); | ||||
|         } | ||||
|  | ||||
|         .TextColor1 { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 16px; | ||||
|             color: rgba(0, 0, 0, 0.5); | ||||
|         } | ||||
| @ -374,7 +372,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: 300; | ||||
|             font-size: 12px; | ||||
| @ -387,7 +384,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes-label { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: normal; | ||||
|             font-size: 15px; | ||||
| @ -432,7 +428,7 @@ | ||||
|             <div class="ship-address-container"> | ||||
|                 @include('app.pdf.invoice.partials.shipping-address') | ||||
|             </div> | ||||
|             @if($invoice->user->shippingaddress && ($invoice->user->shippingaddress->name || $invoice->user->shippingaddress->address_street_1 || $invoice->user->shippingaddress->address_street_2 || $invoice->user->shippingaddress->country || $invoice->user->shippingaddress->state || $invoice->user->shippingaddress->city || $invoice->user->shippingaddress->zip || $invoice->user->phone)) | ||||
|             @if($invoice->user->shippingaddress) | ||||
|                 <div class="bill-address-container"> | ||||
|             @else | ||||
|                 <div class="bill-address-container" style="float:right;padding-right:0px;"> | ||||
|  | ||||
| @ -66,13 +66,11 @@ | ||||
|             margin-left:160px; | ||||
|         } | ||||
|         .header { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 20px; | ||||
|             color: rgba(0, 0, 0, 0.7); | ||||
|         } | ||||
|  | ||||
|         .TextColor1 { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-size: 16px; | ||||
|             color: rgba(0, 0, 0, 0.5); | ||||
|         } | ||||
| @ -384,7 +382,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: 300; | ||||
|             font-size: 12px; | ||||
| @ -397,7 +394,6 @@ | ||||
|         } | ||||
|  | ||||
|         .notes-label { | ||||
|             font-family: "DejaVu Sans"; | ||||
|             font-style: normal; | ||||
|             font-weight: normal; | ||||
|             font-size: 15px; | ||||
| @ -438,7 +434,7 @@ | ||||
|                 <div style="float:left;"> | ||||
|                     @include('app.pdf.invoice.partials.billing-address') | ||||
|                 </div> | ||||
|                 @if($invoice->user->billingaddress && ($invoice->user->billingaddress->name || $invoice->user->billingaddress->address_street_1 || $invoice->user->billingaddress->address_street_2 || $invoice->user->billingaddress->country || $invoice->user->billingaddress->state || $invoice->user->billingaddress->city || $invoice->user->billingaddress->zip || $invoice->user->billingaddress->phone)) | ||||
|                 @if($invoice->user->billingaddress) | ||||
|                     <div style="float:right;"> | ||||
|                 @else | ||||
|                     <div style="float:left;"> | ||||
|  | ||||
| @ -1,7 +1,5 @@ | ||||
| @if($invoice->user->billingaddress) | ||||
|     @if($invoice->user->billingaddress->name || $invoice->user->billingaddress->address_street_1 || $invoice->user->billingaddress->address_street_2 || $invoice->user->billingaddress->country || $invoice->user->billingaddress->state || $invoice->user->billingaddress->city || $invoice->user->billingaddress->zip || $invoice->user->billingaddress->phone) | ||||
|         <p class="bill-to">Bill To,</p> | ||||
|     @endif | ||||
|     <p class="bill-to">Bill To,</p> | ||||
|     @if($invoice->user->billingaddress->name) | ||||
|         <p class="bill-user-name"> | ||||
|             {{$invoice->user->billingaddress->name}} | ||||
|  | ||||
| @ -1,7 +1,5 @@ | ||||
| @if($invoice->user->shippingaddress) | ||||
|     @if($invoice->user->shippingaddress->name || $invoice->user->shippingaddress->address_street_1 || $invoice->user->shippingaddress->address_street_2 || $invoice->user->shippingaddress->country || $invoice->user->shippingaddress->state || $invoice->user->shippingaddress->city || $invoice->user->shippingaddress->zip || $invoice->user->phone) | ||||
|         <p class="ship-to">Ship To,</p> | ||||
|     @endif | ||||
|     <p class="ship-to">Ship To,</p> | ||||
|     @if($invoice->user->shippingaddress->name) | ||||
|         <p class="ship-user-name"> | ||||
|             {{$invoice->user->shippingaddress->name}} | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
|     {{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}} | ||||
|     <style type="text/css"> | ||||
|         body { | ||||
|             font-family: 'Roboto', sans-serif; | ||||
|             font-family: "DejaVu Sans"; | ||||
|         } | ||||
|  | ||||
|         /* html { | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
|     {{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}} | ||||
|     <style type="text/css"> | ||||
|         body { | ||||
|             font-family: 'Roboto', sans-serif; | ||||
|             font-family: "DejaVu Sans"; | ||||
|         } | ||||
|  | ||||
|         html { | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
|     {{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}} | ||||
|     <style type="text/css"> | ||||
|         body { | ||||
|             font-family: 'Roboto', sans-serif; | ||||
|             font-family: "DejaVu Sans"; | ||||
|         } | ||||
|  | ||||
|         /* html { | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
|     {{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}} | ||||
|     <style type="text/css"> | ||||
|         body { | ||||
|             font-family: 'Roboto', sans-serif; | ||||
|             font-family: "DejaVu Sans"; | ||||
|         } | ||||
|  | ||||
|         /* html { | ||||
|  | ||||
| @ -5,7 +5,7 @@ | ||||
|     {{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}} | ||||
|     <style type="text/css"> | ||||
|         body { | ||||
|             font-family: 'Roboto', sans-serif; | ||||
|             font-family: "DejaVu Sans"; | ||||
|         } | ||||
|  | ||||
|         /* html { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user