invoice pdf fix

This commit is contained in:
denisdulici 2018-06-10 15:38:07 +03:00
parent 3a0a349090
commit c274d38f13
2 changed files with 10 additions and 1 deletions

View File

@ -623,7 +623,7 @@ class Invoices extends Controller
$html = view($invoice->template_path, compact('invoice'))->render(); $html = view($invoice->template_path, compact('invoice'))->render();
$pdf = \App::make('dompdf.wrapper'); $pdf = app('dompdf.wrapper');
$pdf->loadHTML($html); $pdf->loadHTML($html);
//$pdf->setPaper('A4', 'portrait'); //$pdf->setPaper('A4', 'portrait');

9
public/css/app.css vendored
View File

@ -420,6 +420,7 @@ ul.add-new.nav.navbar-nav.pull-left {
.invoice-logo { .invoice-logo {
max-width: 430px; max-width: 430px;
max-height: 120px; max-height: 120px;
margin-left: -15px;
} }
.login-box-footer { .login-box-footer {
@ -480,6 +481,10 @@ ul.add-new.nav.navbar-nav.pull-left {
.dropdown.add-new-menu.open .dropdown-menu { .dropdown.add-new-menu.open .dropdown-menu {
background-color: #ffffff; background-color: #ffffff;
} }
.invoice-company {
padding-left: 0;
}
} }
@media only screen and (max-width : 480px) { @media only screen and (max-width : 480px) {
@ -611,3 +616,7 @@ input[type="number"] {
margin-top: -5px; margin-top: -5px;
margin-left: 10px; margin-left: 10px;
} }
.invoice, .bill {
border: none !important;
}