diff --git a/resources/css/receipt_letter.css b/resources/css/receipt_letter.css index a1afada..7931784 100644 --- a/resources/css/receipt_letter.css +++ b/resources/css/receipt_letter.css @@ -1,35 +1,52 @@ /* 郵送先フィールド */ -div.section-address { - height: 50mm; +div.section-address{ + height: 70mm; } -div.section-address div.zipcode { +.page:nth-child(1) div.section-address div.zipcode { position: relative; - top: 0mm; - left: 40mm; + top: 2mm; + left: 45mm; width: 50mm; - font-size: 6mm; + font-size: 8mm; + letter-spacing: 2mm; +} +.page:nth-child(2) div.section-address div.zipcode { + position: relative; + top: 2mm; + left: 45mm; + width: 50mm; + font-size: 10mm; letter-spacing: 2mm; } +.page:nth-child(3) div.section-address div.zipcode { + position: relative; + top: 2mm; + left: 45mm; + width: 50mm; + font-size: 10mm; + letter-spacing: 3mm; +} div.section-address div.address-field { position: relative; - top: 10mm; + top: 35mm; left:0mm; width: 60mm; font-size: 4mm; } - -div.section-address div.name{ +div.section-address div.name { position: relative; - top: 25mm; + top: 45mm; left:10mm; - padding-top: 2mm; - padding-left: 3mm; - font-size: 4.5mm; + font-size: 5mm; + inline-size: 30mm; + overflow-wrap: break-word; + word-break: break-all; + vertical-align: sub; } diff --git a/resources/views/pdf/receipt_letters.blade.php b/resources/views/pdf/receipt_letters.blade.php index 02c682a..a9c7599 100644 --- a/resources/views/pdf/receipt_letters.blade.php +++ b/resources/views/pdf/receipt_letters.blade.php @@ -16,7 +16,129 @@ @foreach($orders as $order)
-
{{ sprintf("%sー%s", substr($order['mail_zip_code'], 0, 3), substr($order['mail_zip_code'], 3) ) }}
+
{{ $order['mail_zip_code'] }}
+
+ +
+ {{ $order['pref_name'] }}{{ $order['mail_address1'] }}{{ $order['mail_address2'] }} +
+
+ {{ $order['mail_address3'] }}   +
+
+
+ {{ $order['mail_name'] }} 様 +
+
+
+
+
+
+

+
+
+ 領収証 +
+
+
+
発行日 {{ $order['status_receipt_confirm_datetime'] }}
+
No {{ $order['receipt_no'] }}
+
+
+
+
{{ $order['receipt_name'] }} 様
+
利用日 {{ $order['receipt_use_date'] }}
+
+ +
+ ¥{{ $order['receipt_amount'] }} -  +
+
(消費税率10%内税)
+
+
+
+ 但し、{{ $order['receipt_purpose'] }}として上記正に領収いたしました。 +
+
+ 駐車場名 +
+
+ {{ $order['parking_name'] }} +
+
+ 発行事業者及び登録番号 +
+
{{ $order['customer_name'] ?? "-" }}
+
{{ $order['receipt_invoice_no'] ?? "-" }}
+
 
+
発送元   〒550-0014
+
大阪府大阪市西区北堀江2-2-25久我ビル南館5階
+
ハロー・テクノ株式会社       TEL:0120-559-115
+
+
+
+
{{ $order['mail_zip_code'] }}
+
+ +
+ {{ $order['pref_name'] }}{{ $order['mail_address1'] }}{{ $order['mail_address2'] }} +
+
+ {{ $order['mail_address3'] }}   +
+
+
+ {{ $order['mail_name'] }} 様 +
+
+
+
+
+
+

+
+
+ 領収証 +
+
+
+
発行日 {{ $order['status_receipt_confirm_datetime'] }}
+
No {{ $order['receipt_no'] }}
+
+
+
+
{{ $order['receipt_name'] }} 様
+
利用日 {{ $order['receipt_use_date'] }}
+
+ +
+ ¥{{ $order['receipt_amount'] }} -  +
+
(消費税率10%内税)
+
+
+
+ 但し、{{ $order['receipt_purpose'] }}として上記正に領収いたしました。 +
+
+ 駐車場名 +
+
+ {{ $order['parking_name'] }} +
+
+ 発行事業者及び登録番号 +
+
{{ $order['customer_name'] ?? "-" }}
+
{{ $order['receipt_invoice_no'] ?? "-" }}
+
 
+
発送元   〒550-0014
+
大阪府大阪市西区北堀江2-2-25久我ビル南館5階
+
ハロー・テクノ株式会社       TEL:0120-559-115
+
+
+
+
{{ $order['mail_zip_code'] }}