From d37de8c61c94d1a0e1567e250804d4512c73dda4 Mon Sep 17 00:00:00 2001 From: "y.higashide" Date: Wed, 21 Jan 2026 17:53:37 +0900 Subject: [PATCH] =?UTF-8?q?resources/views/receipt/pdf.blade.php=20?= =?UTF-8?q?=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/receipt/pdf.blade.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/resources/views/receipt/pdf.blade.php b/resources/views/receipt/pdf.blade.php index 263af50..7dfab4c 100644 --- a/resources/views/receipt/pdf.blade.php +++ b/resources/views/receipt/pdf.blade.php @@ -134,22 +134,14 @@ @php - // $stamp_file = null; - // $extensions = ['png', 'jpeg', 'jpg']; - // foreach ($extensions as $ext) { - // $file_path = public_path('images/' . $inv_setting->t_name . '_stamp.' . $ext); - // if (file_exists($file_path)) { - // $stamp_file = $inv_setting->t_name . '_stamp.' . $ext; - // break; - // } - // } $stamp_file = null; if (!empty($inv_setting->company_image_path)) { // company_image_path: storage/app/public/xxx.png → other-storage/xxx.png $stamp_file = str_replace('storage/app/public/', 'other-storage/', $inv_setting->company_image_path); + } @endphp @if($stamp_file) - + @endif