File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
resources/views/templates Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 44 <title >{{ $invoice -> name } } </title >
55 <meta http-equiv =" Content-Type" content =" text/html; charset=utf-8" />
66
7- <link rel =" stylesheet" href =" {{ public_path (' vendor/invoices/bootstrap.min.css' ) } }" >
7+ <link rel =" stylesheet" href =" {{ asset (' vendor/invoices/bootstrap.min.css' ) } }" >
88
99 <style type =" text/css" media =" screen" >
1010 * {
2828 font-size : 12px ;
2929 font-weight : 700 ;
3030 }
31+ .border-0 {
32+ border : none !important ;
33+ }
3134 </style >
3235 </head >
3336
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ public function render()
242242 $ view = View::make ($ template , ['invoice ' => $ this ]);
243243 $ html = mb_convert_encoding ($ view , 'HTML-ENTITIES ' , 'UTF-8 ' );
244244
245- $ this ->pdf = PDF ::setOptions (['enable_php ' => true ])->loadHtml ($ html );
245+ $ this ->pdf = PDF ::setOptions (['enable_php ' => true , ' enable_remote ' => true ])->loadHtml ($ html );
246246 $ this ->output = $ this ->pdf ->output ();
247247 }
248248
You can’t perform that action at this time.
0 commit comments