初歩的な質問ですみません。
Order Printerで請求書と領収書を発行してますが、法人宛に発行したいのに個人名しか記載されません。
サンプルコードがあればぜひご教授お願い致します。
下記が現在使用しているコードになります。
/* 発行日 */ .kuscs_date { margin: 0; text-align: right; font-size:0.8em; } /* タイトル */ .kuscs_title { width: 100%; border-bottom:2px solid #2768e2; margin: 0; padding: 0; } .kuscs_title h2 { text-align: center; font-size:1.2em; margin: 0; padding: 0; } /* 宛名 */ .kuscs_name { font-size:1.2em; margin-top: 1em; text-align:left; } .kuscs_name span { font-size: 80%; margin-left: 1em; } /* 請求書 店舗情報 */ .kuscs_shopinfo_R { width: 100%; padding-left: 70%; } .kuscs_shopinfo_R h2 { font-size: 1em; margin: 0; } .kuscs_shopinfo_R p { font-size: 0.8em; margin: 0; } /* 請求金額・領収金額 */ .kuscs_price { width: 50%; border-bottom: solid 2px #2768e2; background: #e0eefc; font-size: 0.5em; padding: 0.8em 0.3em; margin-top: 3em; } .kuscs_price span { font-size: 3.5em; font-weight: bold; padding: 0.3em; margin-left: 3em; } /* 請求明細 */ .kuscs_detail table { border-radius: 10px; margin-top: 1em; margin-bottom:1em; width: 100%; border-collapse: collapse; border: solid 2px #2768e2; } .kuscs_detail table tr { padding: 1em 0.5em; } .kuscs_detail table th, .kuscs_detail table td { border: dashed 1px #2768e2; } .kuscs_detail th { font-size: 0.5em; background: #e0eefc; text-align: center; } .kuscs_detail td.kuscs_tdstr { text-align: left; padding-left: 0.8em; } .kuscs_detail td.kuscs_tdnum { text-align: right; padding-right:0.3em; } /* 請求書その他ブロック(支払方法、ストアへの特記事項に利用) */ .kuscs_inv_blk { border-bottom: solid 2px #2768e2; margin-top: 0.1em; padding: 0.4em; } .kuscs_inv_blk p { margin: 0; } .kuscs_inv_blk p.blktitle { font-size: 0.5em; } /* 切り取り線 */ .kuscs_dotline { margin-bottom:1em; margin-top:2em; padding-top:1.5em; border-top:1px dotted #e0eefc; } /* 領収書 */ .kuscs_receipt { margin-top: 0em; width: 100%; } /* 但し書き */ .kuscs_tadashigaki { width: 100%; padding-left: 31%; padding-right:3%; } .kuscs_tadashigaki p { font-size:0.8em; } .kuscs_shopinfo_L { width: 100%; } .kuscs_shopinfo_L h2 { font-size: 1em; margin: 0; } .kuscs_shopinfo_L p { font-size: 0.8em; margin: 0; } /* 収入印紙 */ .kuscs_stamp_box { margin-top: 1em; height: 27mm; width: 22mm; border-collapse: collapse; border-width: 1px; border: dashed 1px #2768e2; } .kuscs_stamp_box p { text-align: center; font-size:0.8em; }発行日:{{ "now" | date: "%Y年%m月%d日" }}
No.{{ order_name }}
ご 請 求 書
{{ billing_address.last_name }} {{ billing_address.first_name }}様
株式会社
〒100-0000 東京都
Tel:03-0000-1000
| 注文商品 | 単価 | 数量 | 価格 |
|---|---|---|---|
| {{ line_item.title }} | {{ line_item.original_price | money }} | {{ line_item.quantity }} | {{ line_item.line_price | money }} |
| 値引き | {{ discount.savings | money }} | ||
| 注文合計 | {{ subtotal_price | money }} | ||
支払方法:
{% for transaction in transactions %}
{% if transaction.status != “failure” and transaction.status != “error” %}
{% if transaction.kind == “authorization” or transaction.kind == “sale” %}
{% if transaction.payment_details.credit_card_number %}
{{ transaction.gateway | payment_method }}:{{ transaction.payment_details.credit_card_company }}:{{ transaction.payment_details.credit_card_number }}{% break %}
{% else %}{{ transaction.gateway | payment_method }}:{{ transaction.gateway }}{% break %}
{% endif %} {% endif %} {% endif %} {% endfor %}{% if note %}
ストアへの特記事項:
{{ note }}
領 収 書
{{ billing_address.last_name }} {{ billing_address.first_name }}様 |
No.{{ order_name }} |
|
{{ "now" | date: "%Y年%m月%d日" }} 上記の金額正に領収いたしました。 株式会社〒100-0000 東京都 Tel:03-0000-0000 |
収入印紙 |