소스 검색

Merge pull request #162 from andrewdwallo/development-3.x

Fix document print bug
3.x
Andrew Wallo 5 달 전
부모
커밋
35e0819cde
No account linked to committer's email address
1개의 변경된 파일12개의 추가작업 그리고 3개의 파일을 삭제
  1. 12
    3
      resources/views/print-document.blade.php

+ 12
- 3
resources/views/print-document.blade.php 파일 보기

@@ -40,13 +40,22 @@
40 40
             .doc-template-container {
41 41
                 padding: 0 !important;
42 42
                 margin: 0 !important;
43
+
44
+                > div {
45
+                    overflow: hidden !important;
46
+                    max-height: none !important;
47
+                    max-width: none !important;
48
+                    box-shadow: none !important;
49
+                    border-radius: 0 !important;
50
+                }
43 51
             }
44 52
 
45 53
             .doc-template-paper {
46
-                box-shadow: none !important;
47
-                border-radius: 0 !important;
48 54
                 overflow: hidden !important;
49 55
                 max-height: none !important;
56
+                max-width: none !important;
57
+                height: auto !important;
58
+                width: auto !important;
50 59
             }
51 60
 
52 61
             .doc-template-line-items .summary-section {
@@ -67,7 +76,7 @@
67 76
     </style>
68 77
 </head>
69 78
 <body>
70
-    @include("filament.infolists.components.document-templates.{$template->value}", [
79
+    @include("filament.company.components.document-templates.{$template->value}", [
71 80
         'document' => $document,
72 81
         'preview' => false,
73 82
     ])

Loading…
취소
저장