Showing
2 changed files
with
1 additions
and
2 deletions
| ... | @@ -27,6 +27,7 @@ public function import_pdf(Request $request){ | ... | @@ -27,6 +27,7 @@ public function import_pdf(Request $request){ |
| 27 | $ocr['json_data']=$json_data; | 27 | $ocr['json_data']=$json_data; |
| 28 | $ocr['js_path'] = $js_path; | 28 | $ocr['js_path'] = $js_path; |
| 29 | $ocr['image_path'] = $image_path; | 29 | $ocr['image_path'] = $image_path; |
| 30 | + $ocr['mst_template'] = ['image'=>$json_data['image']]; | ||
| 30 | return response()->json(['status' => true,'data' => $ocr,]); | 31 | return response()->json(['status' => true,'data' => $ocr,]); |
| 31 | } catch (\Throwable $e){ | 32 | } catch (\Throwable $e){ |
| 32 | report($e); | 33 | report($e); | ... | ... |
| ... | @@ -7,8 +7,6 @@ | ... | @@ -7,8 +7,6 @@ |
| 7 | <link rel="stylesheet" href="{{ asset('AdminLTE/plugins/summernote/summernote-bs4.min.css') }}"> | 7 | <link rel="stylesheet" href="{{ asset('AdminLTE/plugins/summernote/summernote-bs4.min.css') }}"> |
| 8 | <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css"> | 8 | <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css"> |
| 9 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-datetime-picker@2.5.11/jquery.datetimepicker.min.css"> | 9 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-datetime-picker@2.5.11/jquery.datetimepicker.min.css"> |
| 10 | -<link rel="stylesheet" href="{{ asset('css/app.css') }}"> | ||
| 11 | -<link rel="stylesheet" href="{{ asset('css/select2_multiple.css') }}"> | ||
| 12 | 10 | ||
| 13 | <style> | 11 | <style> |
| 14 | .ocr{ | 12 | .ocr{ | ... | ... |
-
Please register or sign in to post a comment