fix pdf lang issue

This commit is contained in:
raishvaria
2019-12-12 14:20:31 +05:30
parent a6896eaa01
commit 79e77f9e16
6 changed files with 41 additions and 34 deletions

View File

@ -4,9 +4,10 @@
<title>Invoice</title>
{{-- <link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet"> --}}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
body {
font-family: 'Roboto', sans-serif;
font-family: "DejaVu Sans";
}
html {
@ -60,13 +61,13 @@
margin-left:160px;
}
.header {
font-family: 'Roboto', sans-serif;
font-family: "DejaVu Sans";
font-size: 20px;
color: rgba(0, 0, 0, 0.7);
}
.TextColor1 {
font-family: 'Roboto', sans-serif;
font-family: "DejaVu Sans";
font-size: 16px;
color: rgba(0, 0, 0, 0.5);
}
@ -347,7 +348,7 @@
}
.notes {
font-family: 'Roboto', sans-serif;
font-family: "DejaVu Sans";
font-style: normal;
font-weight: 300;
font-size: 12px;
@ -360,7 +361,7 @@
}
.notes-label {
font-family: 'Roboto', sans-serif;
font-family: "DejaVu Sans";
font-style: normal;
font-weight: normal;
font-size: 15px;
@ -417,9 +418,8 @@
<div class="bill-add">
<div class="bill-address-container">
@include('app.pdf.invoice.partials.billing-address')
</div>
@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)
@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))
<div class="ship-address-container">
@else
<div class="ship-address-container " style="float:left;padding-left:0px;">