<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* RemisePayment4/Resource/template/admin/sub_order_edit.twig */
class __TwigTemplate_85870390619ea4e85b096ffac990316a829953517b511103aa76bf1289000c5a extends \Eccube\Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
            'stylesheet' => [$this, 'block_stylesheet'],
            'javascript' => [$this, 'block_javascript'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        $this->displayBlock('stylesheet', $context, $blocks);
        // line 18
        echo "
";
        // line 19
        $this->displayBlock('javascript', $context, $blocks);
        // line 32
        echo "<script>
    \$(function(){
        \$('#form1 > div.c-contentsArea__cols > div > div > div').first().after(\$('#remise_payment4_payinfo'));
        ";
        // line 35
        if (((isset($context["OptionExtset"]) || array_key_exists("OptionExtset", $context)) &&  !(null === ($context["OptionExtset"] ?? null)))) {
            // line 36
            echo "            \$('button[name=\"mode\"][value=\"register\"]').before(\$('#remise_payment4_submit'));
            \$('#form1').append(\$('#remise_payment4_submit_data'));
        ";
        }
        // line 39
        echo "    });
</script>
<div class=\"d-none\">
    <div id=\"remise_payment4_payinfo\" class=\"card rounded border-0 mb-4\">
        <div class=\"card-header\">
            <div class=\"row\">
                <div class=\"col-8\">
                    <span class=\"card-title\">";
        // line 46
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.payment"), "html", null, true);
        echo "</span>
                </div>
                <div class=\"col-4 text-right\"><a data-toggle=\"collapse\" href=\"#remise_payment4_payinfo_area\" aria-expanded=\"false\" aria-controls=\"remise_payment4_payinfo_area\"><i class=\"fa fa-angle-up fa-lg\"></i></a></div>
            </div>
        </div>
        <div class=\"collapse show ec-cardCollapse\" id=\"remise_payment4_payinfo_area\">
            <div class=\"card-body\">
            ";
        // line 53
        if (((isset($context["OrderResultCard"]) || array_key_exists("OrderResultCard", $context)) &&  !(null === ($context["OrderResultCard"] ?? null)))) {
            // line 54
            echo "                <div class=\"row\">
                    <div class=\"col-6\">
                        <div class=\"row mb-3\">
                            <div class=\"col-3\">
                                <span>";
            // line 58
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.job"), "html", null, true);
            echo "</span>
                            </div>
                            <div class=\"col\">
                            ";
            // line 61
            if ((twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 61) == "CAPTURE")) {
                // line 62
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.job.capture"), "html", null, true);
                echo "</span>
                            ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 63
($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 63) == "AUTH")) {
                // line 64
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.job.auth"), "html", null, true);
                echo "</span>
                            ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 65
($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 65) == "SALES")) {
                // line 66
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.job.sales"), "html", null, true);
                echo "</span>
                            ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 67
($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 67) == "VOID")) {
                // line 68
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.job.void"), "html", null, true);
                echo "</span>
                            ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 69
($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 69) == "RETURN")) {
                // line 70
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.job.return"), "html", null, true);
                echo "</span>
                            ";
            } else {
                // line 72
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.job.other"), "html", null, true);
                echo "</span>
                            ";
            }
            // line 74
            echo "
                            ";
            // line 75
            if ((twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getState", [], "any", false, false, false, 75) == $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.card.state.result"))) {
                // line 76
                echo "                                　(<div class=\"d-inline-block\" data-tooltip=\"true\" data-placement=\"top\" title=\"";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.text.card.state.result.help"), "html", null, true);
                echo "\"><span style=\"color:#fe0000;\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.text.card.state.result"), "html", null, true);
                echo "</span><i class=\"fa fa-question-circle fa-lg ml-1\"></i></div>)
                                &nbsp;
                                <a class=\"btn btn-danger\" style=\"color:#FFFFFF;\" data-toggle=\"modal\" data-target=\"#remise_payment4_card_state_result\">
                                    ";
                // line 79
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.state.result.delete"), "html", null, true);
                echo "
                                </a>
                                <div class=\"modal fade\" id=\"remise_payment4_card_state_result\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"remise_payment4_card_state_result\" aria-hidden=\"true\">
                                    <div class=\"modal-dialog\" role=\"document\">
                                        <div class=\"modal-content\">
                                            <div class=\"modal-header\">
                                                <h5 class=\"modal-title font-weight-bold\">";
                // line 85
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.state.result.delete"), "html", null, true);
                echo "</h5>
                                                <button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\">
                                                    <span aria-hidden=\"true\">×</span>
                                                </button>
                                            </div>
                                            <div class=\"modal-body text-left\">
                                                <p class=\"text-left\">";
                // line 91
                echo nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.text.card.state.result.delete"), "html", null, true));
                echo "</p>
                                            </div>
                                            <div class=\"modal-footer\">
                                                <button class=\"btn\" type=\"button\" data-dismiss=\"modal\">";
                // line 94
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.cancel"), "html", null, true);
                echo "</button>
                                                <a class=\"btn btn-danger\" href=\"#\" onClick=\"remiseSubmit('";
                // line 95
                echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("remise_payment4_admin_delete_result_state", ["id" => twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getId", [], "any", false, false, false, 95)]), "html", null, true);
                echo "')\" data-method=\"delete\" data-confirm=\"false\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.execute"), "html", null, true);
                echo "</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <input type=\"hidden\" name=\"_token\" value=\"";
                // line 100
                echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("_token"), "html", null, true);
                echo "\">
                            ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 101
($context["OrderResultCard"] ?? null), "getState", [], "any", false, false, false, 101) == $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.card.state.result.ac.failed"))) {
                // line 102
                echo "                                　(<div class=\"d-inline-block\" data-tooltip=\"true\" data-placement=\"top\" title=\"";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.text.card.state.result.ac.failed.help"), "html", null, true);
                echo "\"><span style=\"color:#fe0000;\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.text.card.state.result.ac.failed"), "html", null, true);
                echo "</span><i class=\"fa fa-question-circle fa-lg ml-1\"></i></div>)
                                &nbsp;
                                <a class=\"btn btn-danger\" style=\"color:#FFFFFF;\" data-toggle=\"modal\" data-target=\"#remise_payment4_card_state_result\">
                                    ";
                // line 105
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.state.result.ac.failed"), "html", null, true);
                echo "
                                </a>
                                <div class=\"modal fade\" id=\"remise_payment4_card_state_result\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"remise_payment4_card_state_result\" aria-hidden=\"true\">
                                    <div class=\"modal-dialog\" role=\"document\">
                                        <div class=\"modal-content\">
                                            <div class=\"modal-header\">
                                                <h5 class=\"modal-title font-weight-bold\">";
                // line 111
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.state.result.ac.failed"), "html", null, true);
                echo "</h5>
                                                <button class=\"close\" type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\">
                                                    <span aria-hidden=\"true\">×</span>
                                                </button>
                                            </div>
                                            <div class=\"modal-body text-left\">
                                                <p class=\"text-left\">";
                // line 117
                echo nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.text.card.state.result.ac.failed"), "html", null, true));
                echo "</p>
                                            </div>
                                            <div class=\"modal-footer\">
                                                <button class=\"btn\" type=\"button\" data-dismiss=\"modal\">";
                // line 120
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.cancel"), "html", null, true);
                echo "</button>
                                                <a class=\"btn btn-danger\" href=\"#\" onClick=\"remiseSubmit('";
                // line 121
                echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("remise_payment4_admin_ac_state_change_success", ["id" => twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getId", [], "any", false, false, false, 121)]), "html", null, true);
                echo "')\" data-method=\"delete\" data-confirm=\"false\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.execute"), "html", null, true);
                echo "</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <input type=\"hidden\" name=\"_token\" value=\"";
                // line 126
                echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("_token"), "html", null, true);
                echo "\">
                            ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 127
($context["OrderResultCard"] ?? null), "getState", [], "any", false, false, false, 127) == $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.card.state.result.deleted"))) {
                // line 128
                echo "                                　(<span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.text.card.state.result.deleted"), "html", null, true);
                echo "</span>)
                            ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 129
($context["OrderResultCard"] ?? null), "getState", [], "any", false, false, false, 129) == $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.card.state.result.ac.success"))) {
                // line 130
                echo "                                　(<span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.text.card.state.result.ac.success"), "html", null, true);
                echo "</span>)
                            ";
            }
            // line 132
            echo "                            </div>
                        </div>
                        ";
            // line 134
            if ((twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 134) == "SALES")) {
                // line 135
                echo "                            ";
                if ((twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getSalesDate", [], "any", true, true, false, 135) &&  !(null === twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getSalesDate", [], "any", false, false, false, 135)))) {
                    // line 136
                    echo "                        <div class=\"row mb-3\">
                            <div class=\"col-3\">
                                <span>";
                    // line 138
                    echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.salesdate"), "html", null, true);
                    echo "</span>
                            </div>
                            <div class=\"col\">
                                <span>";
                    // line 141
                    echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getSalesDate", [], "any", false, false, false, 141), "Y/m/d"), "html", null, true);
                    echo "</span>
                            </div>
                        </div>
                            ";
                }
                // line 145
                echo "                        ";
            }
            // line 146
            echo "                        ";
            if (((twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 146) == "VOID") || (twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 146) == "RETURN"))) {
                // line 147
                echo "                            ";
                if ((twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getCancelDate", [], "any", true, true, false, 147) &&  !(null === twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getCancelDate", [], "any", false, false, false, 147)))) {
                    // line 148
                    echo "                        <div class=\"row mb-3\">
                            <div class=\"col-3\">
                                <span>";
                    // line 150
                    echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.canceldate"), "html", null, true);
                    echo "</span>
                            </div>
                            <div class=\"col\">
                                <span>";
                    // line 153
                    echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getCancelDate", [], "any", false, false, false, 153), "Y/m/d"), "html", null, true);
                    echo "</span>
                            </div>
                        </div>
                            ";
                }
                // line 157
                echo "                        ";
            }
            // line 158
            echo "                    </div>
                    <div class=\"col-6\">
                        <div class=\"row mb-3\">
                            <div class=\"col-3\">
                                <span>";
            // line 162
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.card.tranid"), "html", null, true);
            echo "</span>
                            </div>
                            <div class=\"col\">
                                <span>";
            // line 165
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getTranid", [], "any", false, false, false, 165), "html", null, true);
            echo "</span>
                            </div>
                        </div>
                    </div>
                </div>
            ";
        }
        // line 171
        echo "
            ";
        // line 172
        if (((isset($context["OrderResultCvs"]) || array_key_exists("OrderResultCvs", $context)) &&  !(null === ($context["OrderResultCvs"] ?? null)))) {
            // line 173
            echo "                <div class=\"row\">
                    <div class=\"col-6\">
                        <div class=\"row mb-3\">
                            <div class=\"col-3\">
                                <span>";
            // line 177
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.cvs.acpt_state"), "html", null, true);
            echo "</span>
                            </div>
                            <div class=\"col\">
                            ";
            // line 180
            if ((twig_get_attribute($this->env, $this->source, ($context["OrderResultCvs"] ?? null), "getRecDate", [], "any", true, true, false, 180) &&  !(null === twig_get_attribute($this->env, $this->source, ($context["OrderResultCvs"] ?? null), "getRecDate", [], "any", false, false, false, 180)))) {
                // line 181
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.cvs.acpt_state.done"), "html", null, true);
                echo "</span>
                            ";
            } else {
                // line 183
                echo "                                <span>";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.cvs.acpt_state.notyet"), "html", null, true);
                echo "</span>
                            ";
            }
            // line 185
            echo "                            </div>
                        </div>
                        ";
            // line 187
            if ((twig_get_attribute($this->env, $this->source, ($context["OrderResultCvs"] ?? null), "getRecDate", [], "any", true, true, false, 187) &&  !(null === twig_get_attribute($this->env, $this->source, ($context["OrderResultCvs"] ?? null), "getRecDate", [], "any", false, false, false, 187)))) {
                // line 188
                echo "                        <div class=\"row mb-3\">
                            <div class=\"col-3\">
                                <span>";
                // line 190
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.cvs.recdate"), "html", null, true);
                echo "</span>
                            </div>
                            <div class=\"col\">
                                <span>";
                // line 193
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["OrderResultCvs"] ?? null), "getRecDate", [], "any", false, false, false, 193), "Y/m/d"), "html", null, true);
                echo "</span>
                            </div>
                        </div>
                        ";
            }
            // line 197
            echo "                    </div>
                    <div class=\"col-6\">
                        <div class=\"row mb-3\">
                            <div class=\"col-3\">
                                <span>";
            // line 201
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.label.cvs.jobid"), "html", null, true);
            echo "</span>
                            </div>
                            <div class=\"col\">
                                <span>";
            // line 204
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["OrderResultCvs"] ?? null), "getJobid", [], "any", false, false, false, 204), "html", null, true);
            echo "</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class=\"row\">
                    <div class=\"col-12 text-center\">
                        <a class=\"btn btn-ec-regular text-primary\" data-toggle=\"modal\" data-target=\"#remise_payment4_payinfo_cvs_detail\">";
            // line 211
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.admin_order_edit.button.cvs.detail"), "html", null, true);
            echo "</a>
                        <div class=\"modal fade\" id=\"remise_payment4_payinfo_cvs_detail\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"remise_payment4_payinfo_cvs_detail\" aria-hidden=\"true\">
                            <div class=\"modal-dialog\" role=\"document\">
                                <div class=\"modal-content\">
                                    <div class=\"modal-body\">
                                        <div class=\"row mb-2\">
                                            <div class=\"col-5 text-right\"><span>";
            // line 217
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.cvs_name"), "html", null, true);
            echo "</span></div>
                                            <div class=\"col text-left\"><span>";
            // line 218
            echo twig_get_attribute($this->env, $this->source, ($context["CvsInfo"] ?? null), "cvs_name", [], "any", false, false, false, 218);
            echo "</span></div>
                                        </div>
                                        <div class=\"row mb-2\">
                                            <div class=\"col-5 text-right\"><span>";
            // line 221
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.common.label.cvs_paydate"), "html", null, true);
            echo "</span></div>
                                            <div class=\"col text-left\"><span>";
            // line 222
            echo twig_get_attribute($this->env, $this->source, ($context["CvsInfo"] ?? null), "cvs_paydate", [], "any", false, false, false, 222);
            echo "</span></div>
                                        </div>
                                        ";
            // line 224
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["CvsInfo"] ?? null), "cvs_others", [], "any", false, false, false, 224));
            foreach ($context['_seq'] as $context["key"] => $context["item"]) {
                // line 225
                echo "                                        <div class=\"row mb-2\">
                                            <div class=\"col-5 text-right\"><span><label>";
                // line 226
                echo (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context["item"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null);
                echo "</span></div>
                                            <div class=\"col text-left\"><span>";
                // line 227
                echo (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = $context["item"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null);
                echo "</span></div>
                                        </div>
                                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 230
            echo "                                        <div class=\"row mb-2\">
                                            <div class=\"col text-left\"><p>";
            // line 231
            echo nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["CvsInfo"] ?? null), "cvs_msg", [], "any", false, false, false, 231), "html", null, true));
            echo "</p></div>
                                        </div>
                                    </div>
                                    <div class=\"modal-footer\">
                                        <button class=\"btn btn-ec-regular\" type=\"button\" data-dismiss=\"modal\">";
            // line 235
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.close"), "html", null, true);
            echo "</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            ";
        }
        // line 243
        echo "            </div>
        </div>
    </div>
    ";
        // line 246
        if (((isset($context["OptionExtset"]) || array_key_exists("OptionExtset", $context)) &&  !(null === ($context["OptionExtset"] ?? null)))) {
            // line 247
            echo "         <span id=\"remise_payment4_submit\" class=\"pr-3\" >
             ";
            // line 248
            if (((twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 248) == "CAPTURE") || (twig_get_attribute($this->env, $this->source, ($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 248) == "SALES"))) {
                // line 249
                echo "                 <button type=\"submit\" id=\"remise_option_extset_job_return\" class=\"btn btn-ec-conversion_remise px-5\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.extset.admin_order_edit.label.button.cancel"), "html", null, true);
                echo "</button>
                 <button type=\"submit\" id=\"remise_option_extset_job_change\" class=\"btn btn-ec-conversion_remise px-5\">";
                // line 250
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.extset.admin_order_edit.label.button.change"), "html", null, true);
                if ((twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 250) != twig_get_attribute($this->env, $this->source, ($context["OrderResult"] ?? null), "getPaymentTotal", [], "any", false, false, false, 250))) {
                    echo "(";
                    echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, ($context["OrderResult"] ?? null), "getPaymentTotal", [], "any", false, false, false, 250)), "html", null, true);
                    echo " → ";
                    echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 250)), "html", null, true);
                    echo ")";
                }
                echo "</button>
             ";
            } elseif ((twig_get_attribute($this->env, $this->source,             // line 251
($context["OrderResultCard"] ?? null), "getJob", [], "any", false, false, false, 251) == "AUTH")) {
                // line 252
                echo "                 <button type=\"submit\" id=\"remise_option_extset_job_sales\" class=\"btn btn-ec-conversion_remise px-5\">";
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.extset.admin_order_edit.label.button.sales"), "html", null, true);
                echo "</button>
                 <button type=\"submit\" id=\"remise_option_extset_job_return\" class=\"btn btn-ec-conversion_remise px-5\">";
                // line 253
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.extset.admin_order_edit.label.button.cancel"), "html", null, true);
                echo "</button>
                 <button type=\"submit\" id=\"remise_option_extset_job_change\" class=\"btn btn-ec-conversion_remise px-5\">";
                // line 254
                echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.extset.admin_order_edit.label.button.change"), "html", null, true);
                if ((twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 254) != twig_get_attribute($this->env, $this->source, ($context["OrderResult"] ?? null), "getPaymentTotal", [], "any", false, false, false, 254))) {
                    echo "(";
                    echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, ($context["OrderResult"] ?? null), "getPaymentTotal", [], "any", false, false, false, 254)), "html", null, true);
                    echo " → ";
                    echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 254)), "html", null, true);
                    echo ")";
                }
                echo "</button>
             ";
            }
            // line 256
            echo "         </span>
         <div id=\"remise_payment4_submit_data\" class=\"card rounded border-0 mb-4\">
            <input type=\"hidden\" id=\"url_remise_payment_extset4_sub_order_edit\" value=\"";
            // line 258
            echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("remise_payment_extset4_sub_order_edit");
            echo "\">
            <input type=\"hidden\" id=\"remise_option_extset_order_id\" name=\"remise_option_extset[order_id]\" value=\"";
            // line 259
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "id", [], "any", false, false, false, 259), "html", null, true);
            echo "\">
            <input type=\"hidden\" id=\"remise_option_extset_job\" name=\"remise_option_extset[job]\" class=\"form-control\" value=\"\">
            <input type=\"hidden\" id=\"remise_option_extset_payment_total\" name=\"remise_option_extset[payment_total]\" class=\"form-control\" value=\"";
            // line 261
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 261), "html", null, true);
            echo "\">
            <input type=\"hidden\" id=\"remise_option_extset_payment_total_change\" name=\"remise_option_extset[payment_total_change]\" class=\"form-control\" value=\"";
            // line 262
            echo (((twig_get_attribute($this->env, $this->source, ($context["Order"] ?? null), "payment_total", [], "any", false, false, false, 262) != twig_get_attribute($this->env, $this->source, ($context["OrderResult"] ?? null), "getPaymentTotal", [], "any", false, false, false, 262))) ? (1) : (0));
            echo "\">
            <div id=\"dialog-area\">
                <div id=\"dialog-overlay\"></div>
                <div id=\"dialog-box\">
                   <div class=\"dialog-content\">
                      <div id=\"dialog-message\">";
            // line 267
            echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remise_payment4.front.text.processing");
            echo "</div>
                   </div>
                </div>
            </div>
        </div>
    ";
        }
        // line 273
        echo "</div>
";
    }

    // line 1
    public function block_stylesheet($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        echo "<style type=\"text/css\">
";
        // line 3
        echo twig_include($this->env, $context, "RemisePayment4/Resource/assets/css/remise_wait_screen.css");
        echo "
.btn-ec-conversion_remise:hover {
    color: #fff;
    background-color: #d2691e;
    border-color: transparent;
}
.btn-ec-conversion_remise {
    color: #fff;
    font-weight:bold;
    background-color: #ff8c00;
    border-color: transparent;
    cursor: pointer;
}
</style>
";
    }

    // line 19
    public function block_javascript($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 20
        echo "<script type=\"text/javascript\">
";
        // line 21
        echo twig_include($this->env, $context, "RemisePayment4/Resource/assets/js/remise_wait_screen.js");
        echo "
";
        // line 22
        if (((isset($context["OptionExtset"]) || array_key_exists("OptionExtset", $context)) &&  !(null === ($context["OptionExtset"] ?? null)))) {
            // line 23
            echo "    ";
            echo twig_include($this->env, $context, "RemisePayment4/Resource/assets/js/admin/sub_payment_edit_extset.js");
            echo "
";
        }
        // line 25
        echo "function remiseSubmit(submitURL){
    \$('form').attr('action', submitURL);
    remise_waitscreen();
    \$('form').submit();
}
</script>
";
    }

    public function getTemplateName()
    {
        return "RemisePayment4/Resource/template/admin/sub_order_edit.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  613 => 25,  607 => 23,  605 => 22,  601 => 21,  598 => 20,  594 => 19,  575 => 3,  572 => 2,  568 => 1,  563 => 273,  554 => 267,  546 => 262,  542 => 261,  537 => 259,  533 => 258,  529 => 256,  517 => 254,  513 => 253,  508 => 252,  506 => 251,  495 => 250,  490 => 249,  488 => 248,  485 => 247,  483 => 246,  478 => 243,  467 => 235,  460 => 231,  457 => 230,  448 => 227,  444 => 226,  441 => 225,  437 => 224,  432 => 222,  428 => 221,  422 => 218,  418 => 217,  409 => 211,  399 => 204,  393 => 201,  387 => 197,  380 => 193,  374 => 190,  370 => 188,  368 => 187,  364 => 185,  358 => 183,  352 => 181,  350 => 180,  344 => 177,  338 => 173,  336 => 172,  333 => 171,  324 => 165,  318 => 162,  312 => 158,  309 => 157,  302 => 153,  296 => 150,  292 => 148,  289 => 147,  286 => 146,  283 => 145,  276 => 141,  270 => 138,  266 => 136,  263 => 135,  261 => 134,  257 => 132,  251 => 130,  249 => 129,  244 => 128,  242 => 127,  238 => 126,  228 => 121,  224 => 120,  218 => 117,  209 => 111,  200 => 105,  191 => 102,  189 => 101,  185 => 100,  175 => 95,  171 => 94,  165 => 91,  156 => 85,  147 => 79,  138 => 76,  136 => 75,  133 => 74,  127 => 72,  121 => 70,  119 => 69,  114 => 68,  112 => 67,  107 => 66,  105 => 65,  100 => 64,  98 => 63,  93 => 62,  91 => 61,  85 => 58,  79 => 54,  77 => 53,  67 => 46,  58 => 39,  53 => 36,  51 => 35,  46 => 32,  44 => 19,  41 => 18,  39 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "RemisePayment4/Resource/template/admin/sub_order_edit.twig", "/home/probiotech2/www/mamebio/app/Plugin/RemisePayment4/Resource/template/admin/sub_order_edit.twig");
    }
}
