package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import org.apache.log4j.Category;
import jp.co.sint.beans.mallmgr.*;
import jp.co.sint.basic.*;
import jp.co.sint.config.*;
import jp.co.sint.database.*;
import jp.co.sint.tools.*;

public class man_new_order_receipt_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(1);
    _jspx_includes.add("/mallmgr/order/../../include/man_chk_login_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_sicurrency_value_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siquantity_value_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;

  public man_new_order_receipt_jsp() {
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_sicurrency_value_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siquantity_value_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
  }

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspDestroy() {
    _jspx_tagPool_webshop_isFalse_value.release();
    _jspx_tagPool_response_sendRedirect.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.release();
    _jspx_tagPool_webshop_sicurrency_value_nobody.release();
    _jspx_tagPool_webshop_siquantity_value_nobody.release();
    _jspx_tagPool_webshop_isTrue_value.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=MS932");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");

   /**
   * Copyright (c) 2003-2007 System Integrator Corporation.
   *                 All Rights Reserved.
   * @version $Id : mallmgr/cmdty/man_new_order_receipt.jsp,v 1.0 2007/09/19 Exp $
   * @author      : Naotaka Ohsugi
   * @Description : レシートプレビュー画面
   * @History
   * Author           Date        Reason
   * ==============   ==========  ===========================
   * Naotaka Ohsugi   2007/09/19  Original
   */

      out.write("\r\n");
/**タグのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**ユーザーログイン情報のチェックのセクション*/
      out.write("\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_chk_login_inc.jsp,v 1.0 2003/10/01 Exp $
 * @author      : Jinwang Chen
 * @Description : 管理画面に管理者がログインでかどうかをチェックします。
 *                 ログインしなければ、自動的に管理のトップログイン画面への遷移
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * J.W.Chen       2003/10/01  Original
 */

      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
SILogin manLogin=SIHTMLUtil.getLogin(request);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここから
      out.write("\r\n");
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_0 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_0.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_0.setParent(null);
      _jspx_th_webshop_isFalse_0.setValue(manLogin.isLogin(request));
      int _jspx_eval_webshop_isFalse_0 = _jspx_th_webshop_isFalse_0.doStartTag();
      if (_jspx_eval_webshop_isFalse_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
          out.write("\r\n");
if (!SIConfig.SIWEBSHOP_MAN_DEVELOPING) {
          out.write("\r\n  ");
          /* ----  response:sendRedirect ---- */
          org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_0 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
          _jspx_th_response_sendRedirect_0.setPageContext(pageContext);
          _jspx_th_response_sendRedirect_0.setParent(_jspx_th_webshop_isFalse_0);
          int _jspx_eval_response_sendRedirect_0 = _jspx_th_response_sendRedirect_0.doStartTag();
          if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
              out = _bc;
              _jspx_th_response_sendRedirect_0.setBodyContent(_bc);
              _jspx_th_response_sendRedirect_0.doInitBody();
            }
            do {
              out.print(SIURLMap.getHttpsUrl(request,"webshop.jsp.manager.login"));
              int evalDoAfterBody = _jspx_th_response_sendRedirect_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = pageContext.popBody();
          }
          if (_jspx_th_response_sendRedirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_0);
//7.1.1 ST0174 修正
          out.write("\r\n");
}
          out.write("\r\n");
//7.3.0 ST2022 修正 ここから
          out.write("\r\n");
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
      out.write("\r\n");
      out.write("\r\n");

//トップサイトの設定
String webshopSite = SIHTMLUtil.getRootPath(request);
//ログ用のインスタンスの生成
Category log = Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);
//権限の認証
SIUtil.checkDenyAuth(request, response, SIConfig.SIADMIN_MS);
UIRegReceipt receipt = (UIRegReceipt) request.getAttribute(SIConfig.SISESSION_MAN_POS_RECEIPT_NAME);
if(receipt == null) receipt = new UIRegReceipt();
SIDateTime lDate = new SIDateTime();
if(SIUtil.isNull(receipt.getIssueDateTime())) receipt.setIssueDateTime(lDate.getFullDateTime());
int branchIndex = 999;//（店舗情報デフォルト:非表示）
if (SIUtil.isNotNull(receipt.getUserBranch())
 && SICheckUtil.isDigit(receipt.getUserBranch())
 && Integer.parseInt(receipt.getUserBranch()) < 17)
  branchIndex = Integer.parseInt(receipt.getUserBranch());

//店舗情報
String[][] branchInfo =
{{"","","","",""}//その他の場合（０のとき）
,{"東京本社総合ショールーム","154-0015","東京都世田谷区桜新町1-34-25","03-5752-3880","10時00分～18時30分"}//支店コード１（東京）
,{"","","","",""}//支店コード２（さいたま）
,{"","","","",""}//支店コード３（横浜）
,{"仙台支店ショールーム","983-0043","宮城県仙台市宮城野区萩野町1-1-7","022-782-2054","10時00分～18時30分"}//支店コード４（仙台）
,{"金沢支店ショールーム","920-0016","石川県金沢市諸江町中丁333-1","076-239-3339","10時00分～18時30分"}//支店コード５（金沢）
,{"名古屋支店ショールーム","461-0040","愛知県名古屋市東区矢田3丁目2-40","052-719-0225","10時00分～18時30分"}//支店コード６（名古屋）
,{"大阪支店ショールーム","545-0021","大阪市阿倍野区阪南町3-1-2","066-622-0701","10時00分～18時30分"}//支店コード７（大阪）
,{"広島支店ショールーム","730-0044","広島県広島市中央区宝町4-23","082-545-5112","10時00分～18時30分"}//支店コード８（広島）
,{"福岡支店ショールーム","812-0043","福岡県福岡市博多区堅粕1-28-46","092-645-0330","10時00分～18時30分"}//支店コード９（福岡）
,{"神戸支店ショールーム","651-2112","兵庫県神戸市西区大津和2-6-3","078-977-0256","10時00分～18時30分"}//支店コード１０（神戸）
,{"札幌支店ショールーム","065-0042","北海道札幌市東区本町2条8-4-1 ","011-787-3677","10時00分～18時30分"}//支店コード１１（札幌）
,{"千葉支店ショールーム","274-0071","千葉県船橋市習志野4-16-2 ","047-456-5006","10時00分～18時30分"}//支店コード１２（千葉）
,{"東京本社総合ショールーム","154-0015","東京都世田谷区桜新町1-34-25","03-5752-3880","10時00分～18時30分"}//支店コード１３（イベント用）
,{"","","","",""}//支店コード１４（西村）
,{"","","","",""}//支店コード１５（東配）
,{"東京本社","154-0015","東京都世田谷区桜新町1-34-25","03-5752-3880","10時00分～18時30分"}//支店コード１６（旧ビューティーアカデミー）
,{"東京本社","154-0015","東京都世田谷区桜新町1-34-25","03-5752-3880","10時00分～18時30分"}//支店コード１７（旧サロンサポートグループ）
};


      out.write("\r\n");
      out.write("<html LANG=\"ja-JP\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\r\n");
      out.write("<title>レシートプレビュー");
      out.write("</title>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\n@media screen {\r\n  table.main {\r\n    border:1px solid #000000;\r\n    width:70mm;\r\n    font-family:ＭＳ Ｐゴシック;\r\n    text-align:center\r\n  }\r\n}\r\n@media print {\r\n  table.main {\r\n    width:70mm;\r\n    font-family:ＭＳ Ｐゴシック;\r\n    text-align:center\r\n  }\r\n  .noprint {\r\n    display:none;\r\n  }\r\n}\r\n-->\r\n");
      out.write("</style>\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\">\r\nfunction receiptPrint(){\r\n  window.print();\r\n  document.forms[0].submit();\r\n}\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body style=\"width:80mm;font-family:ＭＳ Ｐゴシック\">\r\n");
      out.write("<form name=\"webshopFrm\" action=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.manager.new_order_res"));
      out.write("\" method=\"post\">\r\n");
      out.write("<center>\r\n");
      out.write("<div class=\"noprint\">\r\n");
      out.write("<table style=\"margin-top:5mm;font-size:16pt;\">\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td width=\"48%\">");
      out.write("<a href=\"javascript:window.close()\">閉じる");
      out.write("</a>");
      out.write("</td>\r\n    ");
      out.write("<td width= \"4%\">");
      out.write("</td>\r\n    ");
      out.write("<td width=\"48%\">");
      out.write("<a href=\"javascript:receiptPrint()\">印刷する");
      out.write("</a>");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("</div>\r\n");
      out.write("</center>\r\n");
      out.write("<table class=\"main\" cellpadding=\"0\">\r\n  ");
if(branchIndex >= 0 && branchIndex < branchInfo.length){
      out.write("\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"margin-top:5mm;width:64mm;font-size:6pt;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td align=\"left\">");
      out.print(branchInfo[branchIndex][0]);
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">TEL&nbsp;");
      out.print(branchInfo[branchIndex][3]);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td colspan=\"2\" align=\"left\">〒");
      out.print(branchInfo[branchIndex][1]);
      out.write("&nbsp;");
      out.print(branchInfo[branchIndex][2]);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td align=\"left\">営業時間のご案内");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      out.print(branchInfo[branchIndex][4]);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td colspan=\"2\" align=\"left\">http://www.beautygarage.jp");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
}
      out.write("\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"margin-top:1mm;margin-bottom:1mm;width:36mm;border:1px solid #000000;font-size:12pt;\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td align=\"middle\" valign=\"middle\">領&nbsp;収&nbsp;書");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"width:64mm;font-size:7pt;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td colspan=\"3\" align=\"left\">");
      out.print(SIHTMLUtil.HTMLEncode(receipt.getCustName()));
      out.write("&nbsp;&nbsp;様");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td align=\"left\">レシートNo.");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      out.print(SIHTMLUtil.HTMLEncode(receipt.getOrderCode()));
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      out.print(SIHTMLUtil.HTMLEncode(receipt.getIssueDateTime()));
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>");
      out.write("<td colspan=\"3\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/receipt/line3.bmp\">");
      out.write("</td>");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"width:64mm;font-size:7pt;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"50%\" align=\"left\">商品コード");
      out.write("</td>\r\n          ");
      out.write("<td width=\"25%\" align=\"right\">単価");
      out.write("</td>\r\n          ");
      out.write("<td width=\"25%\" align=\"right\">数量");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td colspan=\"2\" align=\"left\">商品名");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">金額");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>");
      out.write("<td colspan=\"3\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/receipt/line1.bmp\">");
      out.write("</td>");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"width:64mm;font-size:6pt;\" cellpadding=\"0\">\r\n        ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_0.setParent(null);
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SICmdty");
      _jspx_th_webshop_siiterator_0.setCollection(receipt.getCmdtyList());
      _jspx_th_webshop_siiterator_0.setId("cmd");
      int _jspx_eval_webshop_siiterator_0 = _jspx_th_webshop_siiterator_0.doStartTag();
      if (_jspx_eval_webshop_siiterator_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdty cmd = null;
        cmd = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("cmd");
        do {
          out.write("\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td width=\"50%\" align=\"left\">");
          out.print(SIHTMLUtil.HTMLEncode(cmd.getIndividualCode()));
          out.write("</td>\r\n          ");
          out.write("<td width=\"24%\" align=\"right\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_0 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_0.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_0.setParent(_jspx_th_webshop_siiterator_0);
          _jspx_th_webshop_sicurrency_0.setValue(SIHTMLUtil.HTMLEncode(cmd.getUnitPrice()));
          int _jspx_eval_webshop_sicurrency_0 = _jspx_th_webshop_sicurrency_0.doStartTag();
          if (_jspx_th_webshop_sicurrency_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_0);
          out.write("</td>\r\n          ");
          out.write("<td width=\"24%\" align=\"right\">");
          /* ----  webshop:siquantity ---- */
          jp.co.sint.taglib.SIQuantityTag _jspx_th_webshop_siquantity_0 = (jp.co.sint.taglib.SIQuantityTag) _jspx_tagPool_webshop_siquantity_value_nobody.get(jp.co.sint.taglib.SIQuantityTag.class);
          _jspx_th_webshop_siquantity_0.setPageContext(pageContext);
          _jspx_th_webshop_siquantity_0.setParent(_jspx_th_webshop_siiterator_0);
          _jspx_th_webshop_siquantity_0.setValue(SIHTMLUtil.HTMLEncode(cmd.getAmount()));
          int _jspx_eval_webshop_siquantity_0 = _jspx_th_webshop_siquantity_0.doStartTag();
          if (_jspx_th_webshop_siquantity_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siquantity_value_nobody.reuse(_jspx_th_webshop_siquantity_0);
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td colspan=\"2\" align=\"left\">");
          out.print(SIHTMLUtil.HTMLEncode(cmd.getCmdtyName()));
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_1 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_1.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_1.setParent(_jspx_th_webshop_siiterator_0);
          _jspx_th_webshop_sicurrency_1.setValue(SIHTMLUtil.HTMLEncode(SIUtil.multi(cmd.getUnitPrice(),cmd.getAmount())));
          int _jspx_eval_webshop_sicurrency_1 = _jspx_th_webshop_sicurrency_1.doStartTag();
          if (_jspx_th_webshop_sicurrency_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_1);
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
          cmd = (jp.co.sint.basic.SICmdty) pageContext.findAttribute("cmd");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_0);
      out.write("\r\n        ");
      out.write("<tr>");
      out.write("<td colspan=\"3\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/receipt/line1.bmp\">");
      out.write("</td>");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"width:64mm;font-size:7pt;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td width=\"45%\" align=\"left\">送料");
      out.write("</td>\r\n          ");
      out.write("<td width=\"50%\" align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_2 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_2.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_2.setParent(null);
      _jspx_th_webshop_sicurrency_2.setValue(SIHTMLUtil.HTMLEncode(receipt.getTotalOfDeliveryFee()));
      int _jspx_eval_webshop_sicurrency_2 = _jspx_th_webshop_sicurrency_2.doStartTag();
      if (_jspx_th_webshop_sicurrency_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_2);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">手数料");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_3 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_3.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_3.setParent(null);
      _jspx_th_webshop_sicurrency_3.setValue(SIHTMLUtil.HTMLEncode(receipt.getTotalOfFee()));
      int _jspx_eval_webshop_sicurrency_3 = _jspx_th_webshop_sicurrency_3.doStartTag();
      if (_jspx_th_webshop_sicurrency_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_3);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">ポイント使用額");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_4 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_4.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_4.setParent(null);
      _jspx_th_webshop_sicurrency_4.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumByPoint()));
      int _jspx_eval_webshop_sicurrency_4 = _jspx_th_webshop_sicurrency_4.doStartTag();
      if (_jspx_th_webshop_sicurrency_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_4);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_1 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_1.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_1.setParent(null);
      _jspx_th_webshop_isFalse_1.setValue(receipt.getSumOfDiscount().equals("0"));
      int _jspx_eval_webshop_isFalse_1 = _jspx_th_webshop_isFalse_1.doStartTag();
      if (_jspx_eval_webshop_isFalse_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td width=\"5%\">");
          out.write("</td>\r\n          ");
          out.write("<td align=\"left\">値引き");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_5 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_5.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_5.setParent(_jspx_th_webshop_isFalse_1);
          _jspx_th_webshop_sicurrency_5.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumOfDiscount()));
          int _jspx_eval_webshop_sicurrency_5 = _jspx_th_webshop_sicurrency_5.doStartTag();
          if (_jspx_th_webshop_sicurrency_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_5);
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_1);
      out.write("\r\n        ");
      out.write("\r\n        ");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_2 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_2.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_2.setParent(null);
      _jspx_th_webshop_isFalse_2.setValue(receipt.getSumOfSetDiscount().equals("0"));
      int _jspx_eval_webshop_isFalse_2 = _jspx_th_webshop_isFalse_2.doStartTag();
      if (_jspx_eval_webshop_isFalse_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td width=\"5%\">");
          out.write("</td>\r\n          ");
          out.write("<td align=\"left\">セット値引き");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_6 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_6.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_6.setParent(_jspx_th_webshop_isFalse_2);
          _jspx_th_webshop_sicurrency_6.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumOfSetDiscount()));
          int _jspx_eval_webshop_sicurrency_6 = _jspx_th_webshop_sicurrency_6.doStartTag();
          if (_jspx_th_webshop_sicurrency_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_6);
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_2);
      out.write("\r\n        ");
      out.write("\r\n        ");
      out.write("<tr>");
      out.write("<td width=\"5%\">");
      out.write("</td>");
      out.write("<td colspan=\"2\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/receipt/line2.bmp\">");
      out.write("</td>");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">");
      out.write("<b>合計");
      out.write("</b>");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      out.write("<b>");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_7 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_7.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_7.setParent(null);
      _jspx_th_webshop_sicurrency_7.setValue(SIHTMLUtil.HTMLEncode(receipt.getTotalOfPrice1()));
      int _jspx_eval_webshop_sicurrency_7 = _jspx_th_webshop_sicurrency_7.doStartTag();
      if (_jspx_th_webshop_sicurrency_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_7);
      out.write("</b>");
      out.write("</td>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">（&nbsp;内消費税");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_8 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_8.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_8.setParent(null);
      _jspx_th_webshop_sicurrency_8.setValue(SIHTMLUtil.HTMLEncode(receipt.getInnerTax()));
      int _jspx_eval_webshop_sicurrency_8 = _jspx_th_webshop_sicurrency_8.doStartTag();
      if (_jspx_th_webshop_sicurrency_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_8);
      out.write("&nbsp;）");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>");
      out.write("<td width=\"5%\">");
      out.write("</td>");
      out.write("<td colspan=\"2\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/receipt/line2.bmp\">");
      out.write("</td>");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">クレジット金額");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_9 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_9.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_9.setParent(null);
      _jspx_th_webshop_sicurrency_9.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumOfCardPayment()));
      int _jspx_eval_webshop_sicurrency_9 = _jspx_th_webshop_sicurrency_9.doStartTag();
      if (_jspx_th_webshop_sicurrency_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_9);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">代金引換金額");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_10 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_10.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_10.setParent(null);
      _jspx_th_webshop_sicurrency_10.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumOfExchangePayment()));
      int _jspx_eval_webshop_sicurrency_10 = _jspx_th_webshop_sicurrency_10.doStartTag();
      if (_jspx_th_webshop_sicurrency_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_10);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">銀行振込金額");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_11 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_11.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_11.setParent(null);
      _jspx_th_webshop_sicurrency_11.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumOfTransferPayment()));
      int _jspx_eval_webshop_sicurrency_11 = _jspx_th_webshop_sicurrency_11.doStartTag();
      if (_jspx_th_webshop_sicurrency_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_11);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">現金残高");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_12 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_12.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_12.setParent(null);
      _jspx_th_webshop_sicurrency_12.setValue(SIHTMLUtil.HTMLEncode(receipt.getTotalOfPrice2()));
      int _jspx_eval_webshop_sicurrency_12 = _jspx_th_webshop_sicurrency_12.doStartTag();
      if (_jspx_th_webshop_sicurrency_12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_12);
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">");
      out.write("<b>お預り");
      out.write("</b>");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      out.write("<b>");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_13 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_13.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_13.setParent(null);
      _jspx_th_webshop_sicurrency_13.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumOfCashPayment()));
      int _jspx_eval_webshop_sicurrency_13 = _jspx_th_webshop_sicurrency_13.doStartTag();
      if (_jspx_th_webshop_sicurrency_13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_13);
      out.write("</b>");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"5%\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"left\">");
      out.write("<b>お釣り");
      out.write("</b>");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
      out.write("<b>");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_14 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_14.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_14.setParent(null);
      _jspx_th_webshop_sicurrency_14.setValue(SIHTMLUtil.HTMLEncode(receipt.getChange()));
      int _jspx_eval_webshop_sicurrency_14 = _jspx_th_webshop_sicurrency_14.doStartTag();
      if (_jspx_th_webshop_sicurrency_14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_14);
      out.write("</b>");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>");
      out.write("<td width=\"5%\">");
      out.write("</td>");
      out.write("<td colspan=\"2\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/receipt/line2.bmp\">");
      out.write("</td>");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"font-size:6pt;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>\r\n          ");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_3 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_3.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_3.setParent(null);
      _jspx_th_webshop_isFalse_3.setValue(SICheckUtil.isGreater(SIUtil.sub(receipt.getTotalOfPrice2(),receipt.getInnerTax()),"50000"));
      int _jspx_eval_webshop_isFalse_3 = _jspx_th_webshop_isFalse_3.doStartTag();
      if (_jspx_eval_webshop_isFalse_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n            ");
          out.write("<td align=\"center\" style=\"width:60mm;\">BGモバイル");
          out.write("<br>");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/receipt/QRcode.bmp\" style=\"width:15mm;height:15mm;\">");
          out.write("<br>携帯から全ての商品を");
          out.write("<br>お買い求め頂けます！");
          out.write("</td>\r\n          ");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_3);
      out.write("\r\n          ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_0 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_0.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_0.setParent(null);
      _jspx_th_webshop_isTrue_0.setValue(SICheckUtil.isGreater(SIUtil.sub(receipt.getTotalOfPrice2(),receipt.getInnerTax()),"50000"));
      int _jspx_eval_webshop_isTrue_0 = _jspx_th_webshop_isTrue_0.doStartTag();
      if (_jspx_eval_webshop_isTrue_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n            ");
          out.write("<td style=\"width:30mm;\" align=\"center\">BGモバイル");
          out.write("<br>");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/receipt/QRcode.bmp\" style=\"width:15mm;height:15mm;\">");
          out.write("<br>携帯から全ての商品を");
          out.write("<br>お買い求め頂けます！");
          out.write("</td>\r\n            ");
          out.write("<td style=\"width:30mm;\" align=\"center\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/receipt/revenueStamp.bmp\">");
          out.write("</td>\r\n          ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_1 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_1.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_1.setParent(null);
      _jspx_th_webshop_isTrue_1.setValue(receipt.isPointEnabledFlg());
      int _jspx_eval_webshop_isTrue_1 = _jspx_th_webshop_isTrue_1.doStartTag();
      if (_jspx_eval_webshop_isTrue_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n  ");
          out.write("<tr>\r\n    ");
          out.write("<td>\r\n      ");
          out.write("<table style=\"font-size:6pt;width:64mm;\" cellpadding=\"0\">\r\n        ");
          out.write("<tr>");
          out.write("<td colspan=\"5\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/receipt/line1.bmp\">");
          out.write("</td>");
          out.write("</tr>\r\n        ");
          out.write("<tr>");
          out.write("<td colspan=\"5\" align=\"center\">ポイント情報");
          out.write("</td>");
          out.write("</tr>\r\n        ");
          out.write("<tr>");
          out.write("<td colspan=\"5\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/receipt/line1.bmp\">");
          out.write("</td>");
          out.write("</tr>\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td width= \"8%\">");
          out.write("</td>\r\n          ");
          out.write("<td width=\"32%\" align=\"left\">前回ポイント残高");
          out.write("</td>\r\n          ");
          out.write("<td width=\"40%\" align=\"right\">");
          /* ----  webshop:siquantity ---- */
          jp.co.sint.taglib.SIQuantityTag _jspx_th_webshop_siquantity_1 = (jp.co.sint.taglib.SIQuantityTag) _jspx_tagPool_webshop_siquantity_value_nobody.get(jp.co.sint.taglib.SIQuantityTag.class);
          _jspx_th_webshop_siquantity_1.setPageContext(pageContext);
          _jspx_th_webshop_siquantity_1.setParent(_jspx_th_webshop_isTrue_1);
          _jspx_th_webshop_siquantity_1.setValue(SIHTMLUtil.HTMLEncode(SIUtil.add(receipt.getPointExists(),receipt.getSumByPoint())));
          int _jspx_eval_webshop_siquantity_1 = _jspx_th_webshop_siquantity_1.doStartTag();
          if (_jspx_th_webshop_siquantity_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siquantity_value_nobody.reuse(_jspx_th_webshop_siquantity_1);
          out.write("</td>\r\n          ");
          out.write("<td width=\"12%\" align=\"right\">point");
          out.write("</td>\r\n          ");
          out.write("<td width= \"8%\">");
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td>");
          out.write("</td>\r\n          ");
          out.write("<td align=\"left\">今回使用ポイント");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">");
          /* ----  webshop:siquantity ---- */
          jp.co.sint.taglib.SIQuantityTag _jspx_th_webshop_siquantity_2 = (jp.co.sint.taglib.SIQuantityTag) _jspx_tagPool_webshop_siquantity_value_nobody.get(jp.co.sint.taglib.SIQuantityTag.class);
          _jspx_th_webshop_siquantity_2.setPageContext(pageContext);
          _jspx_th_webshop_siquantity_2.setParent(_jspx_th_webshop_isTrue_1);
          _jspx_th_webshop_siquantity_2.setValue(SIHTMLUtil.HTMLEncode(receipt.getSumByPoint()));
          int _jspx_eval_webshop_siquantity_2 = _jspx_th_webshop_siquantity_2.doStartTag();
          if (_jspx_th_webshop_siquantity_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siquantity_value_nobody.reuse(_jspx_th_webshop_siquantity_2);
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">point");
          out.write("</td>\r\n          ");
          out.write("<td>");
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td>");
          out.write("</td>\r\n          ");
          out.write("<td align=\"left\">予定獲得ポイント");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">");
          /* ----  webshop:siquantity ---- */
          jp.co.sint.taglib.SIQuantityTag _jspx_th_webshop_siquantity_3 = (jp.co.sint.taglib.SIQuantityTag) _jspx_tagPool_webshop_siquantity_value_nobody.get(jp.co.sint.taglib.SIQuantityTag.class);
          _jspx_th_webshop_siquantity_3.setPageContext(pageContext);
          _jspx_th_webshop_siquantity_3.setParent(_jspx_th_webshop_isTrue_1);
          _jspx_th_webshop_siquantity_3.setValue(SIHTMLUtil.HTMLEncode(receipt.getPointValue()));
          int _jspx_eval_webshop_siquantity_3 = _jspx_th_webshop_siquantity_3.doStartTag();
          if (_jspx_th_webshop_siquantity_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siquantity_value_nobody.reuse(_jspx_th_webshop_siquantity_3);
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">point");
          out.write("</td>\r\n          ");
          out.write("<td>");
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td>");
          out.write("</td>\r\n          ");
          out.write("<td align=\"left\">予定累計ポイント");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">");
          /* ----  webshop:siquantity ---- */
          jp.co.sint.taglib.SIQuantityTag _jspx_th_webshop_siquantity_4 = (jp.co.sint.taglib.SIQuantityTag) _jspx_tagPool_webshop_siquantity_value_nobody.get(jp.co.sint.taglib.SIQuantityTag.class);
          _jspx_th_webshop_siquantity_4.setPageContext(pageContext);
          _jspx_th_webshop_siquantity_4.setParent(_jspx_th_webshop_isTrue_1);
          _jspx_th_webshop_siquantity_4.setValue(SIHTMLUtil.HTMLEncode(SIUtil.add(receipt.getPointExists(),receipt.getPointValue())));
          int _jspx_eval_webshop_siquantity_4 = _jspx_th_webshop_siquantity_4.doStartTag();
          if (_jspx_th_webshop_siquantity_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siquantity_value_nobody.reuse(_jspx_th_webshop_siquantity_4);
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">point");
          out.write("</td>\r\n          ");
          out.write("<td>");
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n        ");
          out.write("<tr>");
          out.write("<td colspan=\"5\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/receipt/line1.bmp\">");
          out.write("</td>");
          out.write("</tr>\r\n        ");
          out.write("<tr>\r\n          ");
          out.write("<td colspan=\"5\" style=\"font-size:6pt;\">※予定獲得ポイントは商品お渡し時に有効となります。");
          out.write("</td>\r\n        ");
          out.write("</tr>\r\n      ");
          out.write("</table>\r\n    ");
          out.write("</td>\r\n  ");
          out.write("</tr>\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_1);
      out.write("\r\n  ");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_4 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_4.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_4.setParent(null);
      _jspx_th_webshop_isFalse_4.setValue(receipt.isPointEnabledFlg());
      int _jspx_eval_webshop_isFalse_4 = _jspx_th_webshop_isFalse_4.doStartTag();
      if (_jspx_eval_webshop_isFalse_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n  ");
          out.write("<tr>");
          out.write("<td>");
          out.write("<div style=\"width:64mm;\">");
          out.write("<img src=\"");
          out.print(webshopSite);
          out.write("/image/mallmgr/receipt/line1.bmp\">");
          out.write("</div>");
          out.write("</td>");
          out.write("</tr>\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_4);
      out.write("\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td colspan=\"2\">\r\n      ");
      out.write("<table style=\"width:64mm;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>");
      out.write("<td style=\"font-size:6pt;\">領収書の文字が消えないように印字面を内側に");
      out.write("<br>二つに折りたたんで保管してください。");
      out.write("</td>");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
if(SIUtil.isNotNull(receipt.getChargeCode())){
      out.write("\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"margin-top:1mm;font-size:7pt;text-align=:left;width:64mm;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td align=\"left\">");
      out.print(SIHTMLUtil.HTMLEncode(receipt.getChargeCode()));
      out.write("&nbsp;");
      out.print(SIHTMLUtil.getHTMLSpace(4));
      out.print(SIHTMLUtil.HTMLEncode(receipt.getChargeName()));
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">");
if (receipt.isIssueFlg()) {
      out.write("【再発行】");
}
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
}
      out.write("\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td>\r\n      ");
      out.write("<table style=\"margin-top:1mm;font-size:7pt;text-align=:left;width:64mm;\" cellpadding=\"0\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td colspan=\"2\">&nbsp;");
      out.write("<br>&nbsp;");
      out.write("<br>&nbsp;");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"");
      out.print(SIConfig.SIACTION_RECEIPT);
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"orderCode\" value=\"");
      out.print(receipt.getOrderCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"cashPrice\" value=\"");
      out.print(receipt.getSumOfCashPayment());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"issueDateTime\" value=\"");
      out.print(receipt.getIssueDateTime());
      out.write("\">\r\n");
      out.write("</form>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
}
