akaunting 3.0 (the last dance)
This commit is contained in:
20
resources/views/components/layouts/print.blade.php
Normal file
20
resources/views/components/layouts/print.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="{{ language()->direction() }}" lang="{{ app()->getLocale() }}">
|
||||
<x-layouts.print.head>
|
||||
<x-slot name="title">
|
||||
{!! !empty($title->attributes->has('title')) ? $title->attributes->get('title') : $title !!}
|
||||
</x-slot>
|
||||
</x-layouts.print.head>
|
||||
|
||||
<body onload="window.print();">
|
||||
@stack('body_start')
|
||||
|
||||
<x-layouts.print.content>
|
||||
{!! $content !!}
|
||||
</x-layouts.print.content>
|
||||
|
||||
@stack('body_end')
|
||||
|
||||
<x-layouts.print.scripts />
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user