관리-도구
편집 파일: product_enquiry.blade.php
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>New Product Enquiry</title> </head> <body style="margin:0; padding:0; background:#f4f6f8; font-family: Arial, Helvetica, sans-serif;"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td align="center" style="padding:30px 15px;"> <!-- Email Card --> <table width="600" cellpadding="0" cellspacing="0" style="background:#ffffff; border-radius:10px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.1);"> <!-- Header --> <tr> <td style="background:#F8A24D; padding:20px; text-align:center;"> <h2 style="margin:0; color:#000;">📩 New Product Enquiry</h2> </td> </tr> <!-- Body --> <tr> <td style="padding:25px; color:#333;"> <h3 style="margin-top:0; border-bottom:1px solid #eee; padding-bottom:10px;"> Customer Details </h3> <p><strong>Name:</strong> {{ $enquiry->name }}</p> <p><strong>Email:</strong> {{ $enquiry->email }}</p> <p><strong>Phone:</strong> {{ $enquiry->phone }}</p> <h3 style="margin-top:30px; border-bottom:1px solid #eee; padding-bottom:10px;"> Product Details </h3> <p> <strong>Product Name:</strong> {{ $enquiry->product->title ?? 'N/A' }} </p> <p> <strong>Category:</strong> {{ $enquiry->product->category->productcategory ?? 'N/A' }} </p> <h3 style="margin-top:30px; border-bottom:1px solid #eee; padding-bottom:10px;"> Message </h3> <p style="background:#f9f9f9; padding:15px; border-radius:6px; line-height:1.6;"> {{ $enquiry->message }} </p> </td> </tr> <!-- Footer --> </table> <!-- End Email Card --> </td> </tr> </table> </body> </html>