<?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;
/* @admin/Order/index.twig */
class __TwigTemplate_9f265329f7097fba61cde674512ce754 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'sub_title' => [$this, 'block_sub_title'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 11
return "@admin/default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/Order/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/Order/index.twig"));
// line 12
$context["menus"] = [0 => "order", 1 => "order_master"];
// line 17
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 17, $this->source); })()), [0 => "@admin/Form/bootstrap_4_layout.html.twig"], true);
// line 11
$this->parent = $this->loadTemplate("@admin/default_frame.twig", "@admin/Order/index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 14
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_list"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 15
public function block_sub_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sub_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sub_title"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_management"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 18
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 19
echo " <script>
\$(function() {
toggleBtnBulk('input[id^=\"check_\"]', '.btn-bulk-wrapper');
\$('input[id^=\"check_\"]').on('change', function() {
\$('#toggle_check_all').prop('checked', false);
toggleBtnBulk('input[id^=\"check_\"]', '.btn-bulk-wrapper');
});
// 登録チェックボックス
\$('#toggle_check_all').on('change', function() {
var checked = \$(this).prop('checked');
if (checked) {
\$('input[id^=\"check_\"]').prop('checked', true);
} else {
\$('input[id^=\"check_\"]').prop('checked', false);
}
toggleBtnBulk('input[id^=\"check_\"]', '.btn-bulk-wrapper');
});
\$('#btn_bulk_delete').on('click', function(event) {
event.preventDefault();
\$('#form_bulk').attr('action', \"";
// line 40
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_bulk_delete");
echo "\").submit();
return false;
});
// PDF出力(複数)
\$('#bulkExportPdf').on('click', function(event) {
window.open('', 'newwin', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=700, height=700');
\$('#form_bulk').attr('action', \"";
// line 47
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_export_pdf");
echo "\");
\$('#form_bulk').attr('target', 'newwin');
\$('#form_bulk').submit();
return false;
});
// PDF出力(単一)
\$('.pdf-print').click(function() {
window.open(this.href, 'newwin', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=700, height=700');
return false;
});
// 送り状番号
var updateTrackingNumber = function(id, url, tracking_number, callback) {
\$.ajax({
type: 'PUT',
url: url,
data: {'tracking_number': tracking_number}
}).done(function(data, textStatus, jqXHR) {
if (data['status'] == 'OK') {
\$('#tracking_number_' + id).val(data['tracking_number']);
if (typeof callback == 'function') {
callback();
}
} else {
alert('Update failed.');
}
return true;
}).fail(function(jqXHR, textStatus, errorThrown) {
var response = JSON.parse(jqXHR.responseText);
var messages = '';
for (var i = 0; i < response.messages.length; i++) {
messages += response.messages[i] + \"\\n\";
}
alert(messages);
return false;
});
};
\$('button.update_tracking_number').prop('disabled', true);
// フォームに変更があったら更新ボタンを有効にする
\$('input.update_tracking_number').on('keyup', function(event) {
var \$tracking_number = \$(this);
var \$button = \$(\"button[data-target='#\" + \$tracking_number.attr('id') + \"']\");
\$button.prop('disabled', false);
\$button.children('i')
.removeClass('text-secondary')
.addClass('text-success');
});
// enter キーで更新し、次のフォームへフォーカスを移動する
\$('input.update_tracking_number').on('keypress', function(event) {
var \$tracking_number = \$(this);
var \$button = \$(\"button[data-target='#\" + \$tracking_number.attr('id') + \"']\");
var code = event.which ? event.which : event.keyCode;
if (code == 13) { // on press to enter
var index = \$('input.update_tracking_number').index(this);
var callback = function() {
\$button.prop('disabled', true);
\$button.children('i')
.removeClass('text-success')
.addClass('text-secondary');
\$('input.update_tracking_number:gt(' + index + '):first').focus();
};
updateTrackingNumber(\$tracking_number.data('shipping_id'), \$tracking_number.data('url'), \$tracking_number.val(), callback);
event.preventDefault();
}
});
// 更新ボタンの制御
\$('button.update_tracking_number').on('click', function(event) {
event.preventDefault();
var \$button = \$(this);
var \$target = \$(\$(this).data('target'));
var tracking_number = \$target.val();
var callback = function() {
\$button.prop('disabled', true);
\$button.children('i')
.removeClass('text-success')
.addClass('text-secondary');
};
updateTrackingNumber(\$target.data('shipping_id'), \$target.data('url'), tracking_number, callback);
});
// 完了ボタン
\$('#bulkChangeComplete').on('click', function() {
location.href = '";
// line 134
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order", ["resume" => 1]);
echo "';
});
});
</script>
";
// line 140
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "@admin/Order/confirmationModal_js.twig");
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 143
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 144
echo " <!--検索条件設定テーブルここから-->
<div class=\"c-outsideBlock\">
<form name=\"search_form\" id=\"search_form\" method=\"POST\" action=\"";
// line 146
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order");
echo "\">
<div class=\"c-outsideBlock__contents\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 150
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 150, $this->source); })()), "_token", [], "any", false, false, true, 150), 150, $this->source), 'widget');
echo "
<div>
<label class=\"col-form-label\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
// line 152
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tooltip.order.multi_search_label"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.multi_search_label"), "html", null, true);
echo "<i class=\"fa fa-question-circle fa-lg ms-1\"></i></label>
";
// line 153
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 153, $this->source); })()), "multi", [], "any", false, false, true, 153), 153, $this->source), 'widget');
echo "
";
// line 154
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 154, $this->source); })()), "multi", [], "any", false, false, true, 154), 154, $this->source), 'errors');
echo "
</div>
<div class=\"row\">
<div class=\"mb-3 col-12\">
<label class=\"col-form-label\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
// line 158
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tooltip.order.order_search_status"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_status"), "html", null, true);
echo "<i class=\"fa fa-question-circle fa-lg ms-1\"></i></label>
<div id=\"admin_search_order_status\">
";
// line 160
$context["statusForm"] = twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 160, $this->source); })()), "status", [], "any", false, false, true, 160);
// line 161
echo " <!-- 各対応状況の件数を表示する -->
";
// line 162
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["statusForm"]) || array_key_exists("statusForm", $context) ? $context["statusForm"] : (function () { throw new RuntimeError('Variable "statusForm" does not exist.', 162, $this->source); })()), "children", [], "any", false, false, true, 162));
foreach ($context['_seq'] as $context["status_id"] => $context["child"]) {
// line 163
echo " <div class=\"form-check form-check-inline\">
<input type=\"checkbox\"
id=\"";
// line 165
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "vars", [], "any", false, false, true, 165), "id", [], "any", false, false, true, 165), 165, $this->source), "html", null, true);
echo "\"
name=\"";
// line 166
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "vars", [], "any", false, false, true, 166), "full_name", [], "any", false, false, true, 166), 166, $this->source), "html", null, true);
echo "\"
class=\"form-check-input\"
value=\"";
// line 168
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "vars", [], "any", false, false, true, 168), "value", [], "any", false, false, true, 168), 168, $this->source), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "vars", [], "any", false, false, true, 168), "checked", [], "any", false, false, true, 168)) ? (" checked=\"checked\"") : (""));
echo ">
<label class=\"form-check-label\" for=\"";
// line 169
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "vars", [], "any", false, false, true, 169), "id", [], "any", false, false, true, 169), 169, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["child"], "vars", [], "any", false, false, true, 169), "label", [], "any", false, false, true, 169), 169, $this->source), "html", null, true);
echo "</label>";
// line 170
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["statusForm"]) || array_key_exists("statusForm", $context) ? $context["statusForm"] : (function () { throw new RuntimeError('Variable "statusForm" does not exist.', 170, $this->source); })()), "vars", [], "any", false, false, true, 170), "order_count", [], "any", false, false, true, 170), $context["status_id"], [], "array", false, false, true, 170), "display", [], "any", false, false, true, 170)) {
// line 171
echo "(<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order", ["order_status_id" => $context["status_id"]]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["statusForm"]) || array_key_exists("statusForm", $context) ? $context["statusForm"] : (function () { throw new RuntimeError('Variable "statusForm" does not exist.', 171, $this->source); })()), "vars", [], "any", false, false, true, 171), "order_count", [], "any", false, false, true, 171), $context["status_id"], [], "array", false, false, true, 171), "count", [], "any", false, false, true, 171), 171, $this->source), "html", null, true);
echo "</a>)";
}
// line 173
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['status_id'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 175
echo " </div>
";
// line 176
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 176, $this->source); })()), "status", [], "any", false, false, true, 176), 176, $this->source), 'errors');
echo "
</div>
</div>
<div class=\"d-inline-block mb-3 collapsed\" data-bs-toggle=\"collapse\" href=\"#searchDetail\" aria-expanded=\"false\" aria-controls=\"searchDetail\">
<a>
<i class=\"fa fw-bold me-1 fa-plus-square-o\">
<span class=\"fw-bold\">";
// line 182
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search_detail"), "html", null, true);
echo "</span>
</i>
</a>
</div>
</div>
</div>
</div>
<div class=\"c-subContents ec-collapse collapse";
// line 189
echo (((isset($context["has_errors"]) || array_key_exists("has_errors", $context) ? $context["has_errors"] : (function () { throw new RuntimeError('Variable "has_errors" does not exist.', 189, $this->source); })())) ? (" show") : (""));
echo "\" id=\"searchDetail\">
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">";
// line 192
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.orderer_name"), "html", null, true);
echo "</label>
";
// line 193
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 193, $this->source); })()), "name", [], "any", false, false, true, 193), 193, $this->source), 'widget');
echo "
";
// line 194
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 194, $this->source); })()), "name", [], "any", false, false, true, 194), 194, $this->source), 'errors');
echo "
</div>
<div class=\"col\">
<div class=\"row\">
<div class=\"col-12\">
<p class=\"col-form-label\">";
// line 199
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.payment_method"), "html", null, true);
echo "</p>
";
// line 200
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 200, $this->source); })()), "payment", [], "any", false, false, true, 200), 200, $this->source), 'widget', ["label_attr" => ["class" => "checkbox-inline"]]);
echo "
";
// line 201
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 201, $this->source); })()), "payment", [], "any", false, false, true, 201), 201, $this->source), 'errors');
echo "
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">";
// line 208
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.orderer_kana"), "html", null, true);
echo "</label>
";
// line 209
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 209, $this->source); })()), "kana", [], "any", false, false, true, 209), 209, $this->source), 'widget');
echo "
";
// line 210
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 210, $this->source); })()), "kana", [], "any", false, false, true, 210), 210, $this->source), 'errors');
echo "
</div>
<div class=\"col\">
<label class=\"col-form-label\">";
// line 213
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_date"), "html", null, true);
echo "</label>
<div class=\"row align-items-center\">
<div class=\"col\">
";
// line 216
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 216, $this->source); })()), "order_datetime_start", [], "any", false, false, true, 216), 216, $this->source), 'widget');
echo "
";
// line 217
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 217, $this->source); })()), "order_datetime_start", [], "any", false, false, true, 217), 217, $this->source), 'errors');
echo "
</div>
<div class=\"col-auto text-center\">";
// line 219
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.separator__range"), "html", null, true);
echo "</div>
<div class=\"col\">
";
// line 221
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 221, $this->source); })()), "order_datetime_end", [], "any", false, false, true, 221), 221, $this->source), 'widget');
echo "
";
// line 222
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 222, $this->source); })()), "order_datetime_end", [], "any", false, false, true, 222), 222, $this->source), 'errors');
echo "
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">";
// line 229
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.orderer_company_name"), "html", null, true);
echo "</label>
";
// line 230
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 230, $this->source); })()), "company_name", [], "any", false, false, true, 230), 230, $this->source), 'widget');
echo "
";
// line 231
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 231, $this->source); })()), "company_name", [], "any", false, false, true, 231), 231, $this->source), 'errors');
echo "
</div>
<div class=\"col\">
<label class=\"col-form-label\">";
// line 234
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.payment_date"), "html", null, true);
echo "</label>
<div class=\"row align-items-center\">
<div class=\"col\">
";
// line 237
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 237, $this->source); })()), "payment_datetime_start", [], "any", false, false, true, 237), 237, $this->source), 'widget');
echo "
";
// line 238
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 238, $this->source); })()), "payment_datetime_start", [], "any", false, false, true, 238), 238, $this->source), 'errors');
echo "
</div>
<div class=\"col-auto text-center\">";
// line 240
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.separator__range"), "html", null, true);
echo "</div>
<div class=\"col\">
";
// line 242
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 242, $this->source); })()), "payment_datetime_end", [], "any", false, false, true, 242), 242, $this->source), 'widget');
echo "
";
// line 243
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 243, $this->source); })()), "payment_datetime_end", [], "any", false, false, true, 243), 243, $this->source), 'errors');
echo "
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">";
// line 250
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.mail_address"), "html", null, true);
echo "</label>
";
// line 251
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 251, $this->source); })()), "email", [], "any", false, false, true, 251), 251, $this->source), 'widget');
echo "
";
// line 252
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 252, $this->source); })()), "email", [], "any", false, false, true, 252), 252, $this->source), 'errors');
echo "
</div>
<div class=\"col\">
<label class=\"col-form-label\">";
// line 255
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.update_date"), "html", null, true);
echo "</label>
<div class=\"row align-items-center\">
<div class=\"col\">
";
// line 258
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 258, $this->source); })()), "update_datetime_start", [], "any", false, false, true, 258), 258, $this->source), 'widget');
echo "
";
// line 259
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 259, $this->source); })()), "update_datetime_start", [], "any", false, false, true, 259), 259, $this->source), 'errors');
echo "
</div>
<div class=\"col-auto text-center\">";
// line 261
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.separator__range"), "html", null, true);
echo "</div>
<div class=\"col\">
";
// line 263
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 263, $this->source); })()), "update_datetime_end", [], "any", false, false, true, 263), 263, $this->source), 'widget');
echo "
";
// line 264
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 264, $this->source); })()), "update_datetime_end", [], "any", false, false, true, 264), 264, $this->source), 'errors');
echo "
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">";
// line 271
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.phone_number"), "html", null, true);
echo "</label>
";
// line 272
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 272, $this->source); })()), "phone_number", [], "any", false, false, true, 272), 272, $this->source), 'widget');
echo "
";
// line 273
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 273, $this->source); })()), "phone_number", [], "any", false, false, true, 273), 273, $this->source), 'errors');
echo "
</div>
<div class=\"col\">
<label class=\"col-form-label\">";
// line 276
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.delivery_date"), "html", null, true);
echo "</label>
<div class=\"row align-items-center\">
<div class=\"col\">
<div class=\"input-group\">
";
// line 280
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 280, $this->source); })()), "shipping_delivery_datetime_start", [], "any", false, false, true, 280), 280, $this->source), 'widget');
echo "
";
// line 281
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 281, $this->source); })()), "shipping_delivery_datetime_start", [], "any", false, false, true, 281), 281, $this->source), 'errors');
echo "
</div>
</div>
<div class=\"col-auto text-center\">";
// line 284
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.separator__range"), "html", null, true);
echo "</div>
<div class=\"col\">
<div class=\"input-group\">
";
// line 287
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 287, $this->source); })()), "shipping_delivery_datetime_end", [], "any", false, false, true, 287), 287, $this->source), 'widget');
echo "
";
// line 288
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 288, $this->source); })()), "shipping_delivery_datetime_end", [], "any", false, false, true, 288), 288, $this->source), 'errors');
echo "
</div>
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">";
// line 296
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_no"), "html", null, true);
echo "</label>
";
// line 297
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 297, $this->source); })()), "order_no", [], "any", false, false, true, 297), 297, $this->source), 'widget');
echo "
";
// line 298
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 298, $this->source); })()), "order_no", [], "any", false, false, true, 298), 298, $this->source), 'errors');
echo "
</div>
<div class=\"col\">
<label class=\"col-form-label\">";
// line 301
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.purchase_price"), "html", null, true);
echo "</label>
<div class=\"row align-items-center\">
<div class=\"col\">
<div class=\"input-group\">
";
// line 305
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 305, $this->source); })()), "payment_total_start", [], "any", false, false, true, 305), 305, $this->source), 'widget');
echo "
";
// line 306
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 306, $this->source); })()), "payment_total_start", [], "any", false, false, true, 306), 306, $this->source), 'errors');
echo "
</div>
</div>
<div class=\"col-auto text-center\">";
// line 309
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.separator__range"), "html", null, true);
echo "</div>
<div class=\"col\">
<div class=\"input-group\">
";
// line 312
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 312, $this->source); })()), "payment_total_end", [], "any", false, false, true, 312), 312, $this->source), 'widget');
echo "
";
// line 313
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 313, $this->source); })()), "payment_total_end", [], "any", false, false, true, 313), 313, $this->source), 'errors');
echo "
</div>
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<div class=\"row\">
<div class=\"col-12\">
<p class=\"col-form-label\">";
// line 323
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.tracking_number"), "html", null, true);
echo "</p>
";
// line 324
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 324, $this->source); })()), "tracking_number", [], "any", false, false, true, 324), 324, $this->source), 'widget');
echo "
";
// line 325
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 325, $this->source); })()), "tracking_number", [], "any", false, false, true, 325), 325, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"col\">
<label class=\"col-form-label\">";
// line 330
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.purchase_product"), "html", null, true);
echo "</label>
";
// line 331
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 331, $this->source); })()), "buy_product_name", [], "any", false, false, true, 331), 331, $this->source), 'widget');
echo "
";
// line 332
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 332, $this->source); })()), "buy_product_name", [], "any", false, false, true, 332), 332, $this->source), 'errors');
echo "
</div>
</div>
<div class=\"row mb-2\">
<div class=\"col\">
<div class=\"row\">
<div class=\"col-12\">
<p class=\"col-form-label\">";
// line 340
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.shipping_mail"), "html", null, true);
echo "</p>
";
// line 341
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 341, $this->source); })()), "shipping_mail", [], "any", false, false, true, 341), 341, $this->source), 'widget', ["label_attr" => ["class" => "checkbox-inline"]]);
echo "
";
// line 342
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 342, $this->source); })()), "shipping_mail", [], "any", false, false, true, 342), 342, $this->source), 'errors');
echo "
</div>
</div>
</div>
<div class=\"col\"></div>
</div>
";
// line 350
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 350, $this->source); })()), function ($__f__) use ($context, $macros) { $context["f"] = $__f__; return twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 350), "eccube_form_options", [], "any", false, false, true, 350), "auto_render", [], "any", false, false, true, 350); }));
foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
// line 351
echo " ";
// line 352
echo " <div class=\"row mb-2\">
";
// line 353
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 353), "eccube_form_options", [], "any", false, false, true, 353), "form_theme", [], "any", false, false, true, 353)) {
// line 354
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme($context["f"], [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 354), "eccube_form_options", [], "any", false, false, true, 354), "form_theme", [], "any", false, false, true, 354)], true);
// line 355
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 355, $this->source), 'row');
echo "
";
} else {
// line 357
echo " <div class=\"col\">
<div class=\"mb-3\">
<label>";
// line 359
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["f"], "vars", [], "any", false, false, true, 359), "label", [], "any", false, false, true, 359), 359, $this->source)), "html", null, true);
echo "</label>
";
// line 360
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 360, $this->source), 'widget');
echo "
";
// line 361
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 361, $this->source), 'errors');
echo "
</div>
</div>
";
}
// line 365
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 367
echo " </div>
<div class=\"c-outsideBlock__contents\">
<div class=\"row\">
<div class=\"mb-4\">
<div class=\"col-12\">
<button class=\"btn btn-ec-conversion px-5\" type=\"submit\" id=\"search_submit\">";
// line 372
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search"), "html", null, true);
echo "</button>
";
// line 373
if ((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 373, $this->source); })())) {
// line 374
echo " <span class=\"fw-bold ms-2\" id=\"search_total_count\">";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search_result", ["%count%" => twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 374, $this->source); })()), "totalItemCount", [], "any", false, false, true, 374)]);
echo "</span>
";
}
// line 376
echo " </div>
</div>
</div>
</div>
<div class=\"c-outsideBlock__contents mb-5\">
";
// line 381
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "@admin/search_items.twig", ["form" => (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 381, $this->source); })())], true, true);
echo "
</div>
";
// line 383
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 383, $this->source); })()), "sortkey", [], "any", false, false, true, 383), 383, $this->source), 'widget', ["attr" => ["class" => "js-listSort-key"]]);
echo "
";
// line 384
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["searchForm"]) || array_key_exists("searchForm", $context) ? $context["searchForm"] : (function () { throw new RuntimeError('Variable "searchForm" does not exist.', 384, $this->source); })()), "sorttype", [], "any", false, false, true, 384), 384, $this->source), 'widget', ["attr" => ["class" => "js-listSort-type"]]);
echo "
</form>
</div>
<!--検索条件設定テーブルここまで-->
<div class=\"c-contentsArea__cols\">
<div class=\"c-contentsArea__primaryCol\">
<div class=\"c-primaryCol\">
";
// line 392
if (((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 392, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 392, $this->source); })()), "totalItemCount", [], "any", false, false, true, 392))) {
// line 393
echo "
<form id=\"form_bulk\" method=\"POST\" action=\"\">
<input type=\"hidden\" name=\"";
// line 395
echo twig_escape_filter($this->env, twig_constant("Eccube\\Common\\Constant::TOKEN_NAME"), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html", null, true);
echo "\">
<div class=\"row justify-content-between mb-2\">
<div class=\"col-7\">
<div class=\"row justify-content-between\">
<div class=\"col-auto d-none btn-bulk-wrapper\">
<label class=\"me-2\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
// line 400
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tooltip.order.bulk_actions"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.bulk_actions"), "html", null, true);
echo "<i class=\"fa fa-question-circle fa-lg ms-1\"></i></label>
<button id=\"bulkSendMail\" type=\"button\" class=\"btn btn-ec-regular me-2\" data-type=\"mail\" data-bulk-update=\"true\">
";
// line 402
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.send_mail"), "html", null, true);
echo "
</button>
<button type=\"button\" id=\"bulkExportPdf\" class=\"btn btn-ec-regular me-2\">";
// line 404
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.output_delivery_note_short"), "html", null, true);
echo "</button>
";
// line 406
echo " </div>
<div class=\"col d-none btn-bulk-wrapper\">
<div class=\"d-inline-block me-2\">
<select class=\"form-select\" id=\"option_bulk_status\">
<option value=\"\" selected>";
// line 410
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.change_status"), "html", null, true);
echo "</option>
";
// line 411
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["OrderStatuses"]) || array_key_exists("OrderStatuses", $context) ? $context["OrderStatuses"] : (function () { throw new RuntimeError('Variable "OrderStatuses" does not exist.', 411, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["status"]) {
// line 412
echo " <option value=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["status"], "id", [], "any", false, false, true, 412), 412, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["status"], "name", [], "any", false, false, true, 412), 412, $this->source), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['status'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 414
echo " </select>
</div>
<button type=\"button\" id=\"btn_bulk_status\" class=\"btn btn-ec-regular me-2 progressModal\" data-type=\"status\" data-bulk-update=\"true\" data-submit=\"bulk\">
";
// line 417
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.decision"), "html", null, true);
echo "
</button>
</div>
</div>
</div>
<div class=\"col-5 text-end\">
<div class=\"d-inline-block align-bottom\">
<select class=\"form-select\" onchange=\"location = this.value;\">
";
// line 425
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pageMaxis"]) || array_key_exists("pageMaxis", $context) ? $context["pageMaxis"] : (function () { throw new RuntimeError('Variable "pageMaxis" does not exist.', 425, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["pageMax"]) {
// line 426
echo " <option ";
if ((twig_get_attribute($this->env, $this->source, $context["pageMax"], "name", [], "any", false, false, true, 426) == (isset($context["page_count"]) || array_key_exists("page_count", $context) ? $context["page_count"] : (function () { throw new RuntimeError('Variable "page_count" does not exist.', 426, $this->source); })()))) {
echo " selected ";
}
// line 427
echo " value=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_order_page", ["page_no" => 1, "page_count" => twig_get_attribute($this->env, $this->source, $context["pageMax"], "name", [], "any", false, false, true, 427)]), "html", null, true);
echo "\">
";
// line 428
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.count", ["%count%" => twig_get_attribute($this->env, $this->source, $context["pageMax"], "name", [], "any", false, false, true, 428)]), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pageMax'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 430
echo " </select>
</div>
<div class=\"d-inline-block\">
<div class=\"btn-group\" role=\"group\">
<div class=\"btn-group\" role=\"group\">
<button type=\"button\" class=\"btn btn-ec-regular\" data-bs-toggle=\"dropdown\" id=\"csvDownloadDropDown\">
<i class=\"fa fa-cloud-download me-1 text-secondary\"></i>
<span>";
// line 437
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.csv_download"), "html", null, true);
echo "</span>
</button>
<div class=\"dropdown-menu\">
<a class=\"dropdown-item\" href=\"";
// line 440
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_export_order");
echo "\" id=\"orderCsvDownload\">
";
// line 441
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_csv"), "html", null, true);
echo "
</a>
<a class=\"dropdown-item\" href=\"";
// line 443
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_export_shipping");
echo "\" id=\"shippingCsvDownload\">
";
// line 444
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.shipping_csv"), "html", null, true);
echo "
</a>
</div>
</div>
<div class=\"btn-group\" role=\"group\">
<button type=\"button\" class=\"btn btn-ec-regular\" data-bs-toggle=\"dropdown\" id=\"csvSettingDropDown\">
<i class=\"fa fa-cog me-1 text-secondary\"></i>
<span>";
// line 452
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.setting.shop.csv_setting"), "html", null, true);
echo "</span>
</button>
<div class=\"dropdown-menu\">
<a class=\"dropdown-item\" href=\"";
// line 455
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_setting_shop_csv", ["id" => twig_constant("\\Eccube\\Entity\\Master\\CsvType::CSV_TYPE_ORDER")]), "html", null, true);
echo "\" id=\"orderCsvSetting\">
";
// line 456
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_csv"), "html", null, true);
echo "
</a>
<a class=\"dropdown-item\" href=\"";
// line 458
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_setting_shop_csv", ["id" => twig_constant("\\Eccube\\Entity\\Master\\CsvType::CSV_TYPE_SHIPPING")]), "html", null, true);
echo "\" id=\"shippingCsvSetting\">
";
// line 459
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.shipping_csv"), "html", null, true);
echo "
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"card rounded border-0 mb-4 d-block\">
<div class=\"card-body p-0\">
<table class=\"table table-sm\" id=\"search_result\">
<thead>
<tr>
<th class=\"border-top-0 pt-2 pb-2 text-center ps-3\">
<input type=\"checkbox\" id=\"toggle_check_all\" name=\"filter\" value=\"open\">
</th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">";
// line 475
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.id"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"orderer\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.orderer"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"order\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center text-nowrap\">";
// line 476
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.payment_method"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"payment_method\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">";
// line 477
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.order_status"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"order_status\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">";
// line 478
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.purchase_price"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"purchase_price\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">";
// line 479
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.message_short"), "html", null, true);
echo "</th>
<th class=\"border-top-0 pt-2 pb-2 text-center text-nowrap\">";
// line 480
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.shipping_status"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"shipping_status\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">";
// line 481
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.tracking_number"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"tracking_number\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">";
// line 482
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.delivery"), "html", null, true);
echo "<a href=\"#\" class=\"js-listSort\" data-sortkey=\"delivery\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center pe-3\"></th>
</tr>
</thead>
<tbody>
";
// line 487
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 487, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Order"]) {
// line 488
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Order"], "Shippings", [], "any", false, false, true, 488));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Shipping"]) {
// line 489
echo " <tr>
<td class=\"align-middle text-center ps-3\">
<input type=\"checkbox\" id=\"check_";
// line 491
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 491), 491, $this->source), "html", null, true);
echo "\" data-id=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 491), 491, $this->source), "html", null, true);
echo "\" name=\"ids[]\" value=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 491), 491, $this->source), "html", null, true);
echo "\"
data-preview-notify-mail-url=\"";
// line 492
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_preview_notify_mail", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 492)]), "html", null, true);
echo "\"
data-notify-mail-url=\"";
// line 493
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_notify_mail", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 493)]), "html", null, true);
echo "\"
data-update-status-url=\"";
// line 494
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_update_order_status", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 494)]), "html", null, true);
echo "\"
/>
</td>
<td class=\"align-middle text-start\">
<a class=\"action-edit\" href=\"";
// line 498
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_edit", ["id" => twig_get_attribute($this->env, $this->source, $context["Order"], "id", [], "any", false, false, true, 498)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "order_no", [], "any", false, false, true, 498), 498, $this->source), "html", null, true);
echo "<br>";
echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "name01", [], "any", false, false, true, 498), 498, $this->source) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "name02", [], "any", false, false, true, 498), 498, $this->source)), "html", null, true);
echo "<br>";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IntlExtension']->date_min($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "order_date", [], "any", false, false, true, 498), 498, $this->source)), "html", null, true);
echo "</a>
</td>
<td class=\"align-middle text-center\">
";
// line 501
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "payment_method", [], "any", false, false, true, 501), 501, $this->source), "html", null, true);
echo "
</td>
<td class=\"align-middle text-center\">
<span class=\"badge badge-ec-blue\" style=\"background-color: #fff; color: ";
// line 504
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "OrderStatusColor", [], "any", false, false, true, 504), 504, $this->source), "html", null, true);
echo "; border-color: ";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "OrderStatusColor", [], "any", false, false, true, 504), 504, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "OrderStatus", [], "any", false, false, true, 504), 504, $this->source), "html", null, true);
echo "</span>
</td>
<td class=\"align-middle text-end\">
";
// line 507
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "payment_total", [], "any", false, false, true, 507), 507, $this->source)), "html", null, true);
echo "<br>
";
// line 508
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["Order"], "payment_date", [], "any", false, false, true, 508)) ? ($this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "payment_date", [], "any", false, false, true, 508), 508, $this->source))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.not_payment"))), "html", null, true);
echo "
</td>
<td class=\"align-middle text-center\">
";
// line 511
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["Order"], "message", [], "any", false, false, true, 511))) {
// line 512
echo " <a class=\"btn btn-ec-actionIcon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_edit", ["id" => twig_get_attribute($this->env, $this->source, $context["Order"], "id", [], "any", false, false, true, 512)]), "html", null, true);
echo "#order_message\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "message", [], "any", false, false, true, 512), 512, $this->source), "html", null, true);
echo "\" aria-describedby=\"tooltip819464\">
<i class=\"fa fa-commenting fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 515
$context["Order"], "note", [], "any", false, false, true, 515))) {
// line 516
echo " <a class=\"btn btn-ec-actionIcon\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_edit", ["id" => twig_get_attribute($this->env, $this->source, $context["Order"], "id", [], "any", false, false, true, 516)]), "html", null, true);
echo "#order_note\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Order"], "note", [], "any", false, false, true, 516), 516, $this->source), "html", null, true);
echo "\" aria-describedby=\"tooltip819464\">
<i class=\"fa fa-commenting fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
";
}
// line 520
echo " </td>
<td class=\"align-middle text-center\">
";
// line 522
if (twig_get_attribute($this->env, $this->source, $context["Order"], "is_multiple", [], "any", false, false, true, 522)) {
// line 523
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_edit", ["id" => twig_get_attribute($this->env, $this->source, $context["Order"], "id", [], "any", false, false, true, 523)]), "html", null, true);
echo "\">
";
// line 524
if (twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_date", [], "any", false, false, true, 524)) {
// line 525
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_date", [], "any", false, false, true, 525), 525, $this->source)), "html", null, true);
echo "
";
} else {
// line 527
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.unshipped"), "html", null, true);
echo "
";
}
// line 529
echo " </a>
";
} else {
// line 531
echo " ";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_date", [], "any", false, false, true, 531)) ? ($this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "shipping_date", [], "any", false, false, true, 531), 531, $this->source))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.unshipped"))), "html", null, true);
echo "
";
}
// line 533
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["Shipping"], "mail_send_date", [], "any", false, false, true, 533)) {
// line 534
echo " ";
$context["send_mail_date"] = $this->extensions['Eccube\Twig\Extension\IntlExtension']->date_min($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "mail_send_date", [], "any", false, false, true, 534), 534, $this->source));
// line 535
echo " <i class=\"fa fa-envelope fa-lg text-secondary\" aria-hidden=\"true\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.shipping_mail__completed", ["%date%" => (isset($context["send_mail_date"]) || array_key_exists("send_mail_date", $context) ? $context["send_mail_date"] : (function () { throw new RuntimeError('Variable "send_mail_date" does not exist.', 535, $this->source); })())]), "html", null, true);
echo "\"></i>
";
}
// line 537
echo " </td>
<td class=\"align-middle text-center\">
<div class=\"input-group input-group-sm\">
<input type=\"text\" id=\"tracking_number_";
// line 540
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 540), 540, $this->source), "html", null, true);
echo "\" class=\"form-control update_tracking_number\" placeholder=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.tracking_number"), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "trackingNumber", [], "any", false, false, true, 540), 540, $this->source), "html", null, true);
echo "\" data-shipping_id=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 540), 540, $this->source), "html", null, true);
echo "\" data-url=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_update_tracking_number", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 540)]), "html", null, true);
echo "\" tabindex=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 540), 540, $this->source), "html", null, true);
echo "\"/>
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default update_tracking_number\" data-target=\"#tracking_number_";
// line 542
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 542), 542, $this->source), "html", null, true);
echo "\">
<i class=\"fa fa-check fa-lg text-secondary\" aria-hidden=\"true\"></i>
</button>
</span>
</div>
</td>
<td class=\"align-middle text-center\">
";
// line 549
echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "name01", [], "any", false, false, true, 549), 549, $this->source) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "name02", [], "any", false, false, true, 549), 549, $this->source)), "html", null, true);
echo "<br>
";
// line 550
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["Shipping"], "Pref", [], "any", false, false, true, 550), "name", [], "any", false, false, true, 550), 550, $this->source), "html", null, true);
echo "
</td>
<td class=\"align-middle pe-3\">
<div class=\"text-end\">
<div class=\"px-1 d-inline-block\">
<a class=\"btn btn-ec-actionIcon confirmationModal\"
data-type=\"mail\" data-bulk-update=\"false\"
data-preview-notify-mail-url=\"";
// line 557
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_preview_notify_mail", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 557)]), "html", null, true);
echo "\"
data-notify-mail-url=\"";
// line 558
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_notify_mail", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 558)]), "html", null, true);
echo "\"
data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
// line 559
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.shipping_mail_send"), "html", null, true);
echo "\">
<i class=\"fa fa-send fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
</div>
<div class=\"px-1 d-inline-block\">
<a class=\"btn btn-ec-actionIcon pdf-print\" href=\"";
// line 564
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_order_export_pdf");
echo "?ids[]=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 564), 564, $this->source), "html", null, true);
echo "\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.output_delivery_note_short"), "html", null, true);
echo "\">
<i class=\"fa fa-table fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
</div>
<div class=\"px-1 d-inline-block\">
<a class=\"btn btn-ec-actionIcon confirmationModal\" href=\"javascript:;\"
data-id=\"";
// line 570
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 570), 570, $this->source), "html", null, true);
echo "\" data-type=\"status\" data-bulk-update=\"false\"
data-update-status-id=\"";
// line 571
echo twig_escape_filter($this->env, twig_constant("Eccube\\Entity\\Master\\OrderStatus::DELIVERED"), "html", null, true);
echo "\"
data-update-status-url=\"";
// line 572
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_update_order_status", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 572)]), "html", null, true);
echo "\"
data-preview-notify-mail-url=\"";
// line 573
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_shipping_preview_notify_mail", ["id" => twig_get_attribute($this->env, $this->source, $context["Shipping"], "id", [], "any", false, false, true, 573)]), "html", null, true);
echo "\"
data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"";
// line 574
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.to_shipped"), "html", null, true);
echo "\">
<i class=\"fa fa-check fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
</div>
</div>
</td>
</tr>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Shipping'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 582
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Order'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 583
echo " </tbody>
</table>
<div class=\"row justify-content-md-center\"></div>
</div>
<div class=\"row justify-content-md-center pb-4 mb-4\">
";
// line 588
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 588, $this->source); })()), "totalItemCount", [], "any", false, false, true, 588) > 0)) {
// line 589
echo " ";
$this->loadTemplate("@admin/pager.twig", "@admin/Order/index.twig", 589)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 589, $this->source); })()), "paginationData", [], "any", false, false, true, 589), "routes" => "admin_order_page"]));
// line 590
echo " ";
}
// line 591
echo " </div>
</div>
</form>
";
// line 595
echo " ";
} elseif ((isset($context["has_errors"]) || array_key_exists("has_errors", $context) ? $context["has_errors"] : (function () { throw new RuntimeError('Variable "has_errors" does not exist.', 595, $this->source); })())) {
// line 596
echo " <div class=\"card rounded border-0\">
<div class=\"card-body p-4\">
<div class=\"text-center text-muted mb-4 h5\">";
// line 598
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search_invalid_condition"), "html", null, true);
echo "</div>
<div class=\"text-center text-muted\">";
// line 599
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search_try_change_condition"), "html", null, true);
echo "</div>
</div>
</div>
";
// line 603
echo " ";
} else {
// line 604
echo " <div class=\"card rounded border-0\">
<div class=\"card-body p-4\">
<div class=\"text-center text-muted mb-4 h5\">";
// line 606
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search_no_result"), "html", null, true);
echo "</div>
<div class=\"text-center text-muted\">";
// line 607
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search_try_change_condition"), "html", null, true);
echo "</div>
<div class=\"text-center text-muted\">";
// line 608
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.search_try_advanced_search"), "html", null, true);
echo "</div>
</div>
</div>
";
}
// line 612
echo "
<!-- 出荷済にする確認モーダル -->
<div class=\"modal fade\" id=\"sentUpdateModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"sentUpdateModal\" aria-hidden=\"true\" data-bs-keyboard=\"false\" data-bs-backdrop=\"static\">
<div class=\"modal-dialog modal-lg\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title fw-bold\"><!--confirmationModal_js.twig--></h5>
<button class=\"btn-close\" type=\"button\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
</div>
<div class=\"modal-body\">
<p class=\"modal-message\"></p>
<ul id=\"bulkErrors\"></ul>
<div id=\"bulk-options\">
<div class=\"fw-bold mb-2 notificationMail\">";
// line 625
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.to_shipped__confirm_send_mail"), "html", null, true);
echo "</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" id=\"notificationMail\">
<label class=\"form-check-label notificationMail\">
";
// line 629
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.to_shipped__confirm_send_mail_in_same_time"), "html", null, true);
echo "
</label>
</div>
<div>
<div class=\"d-inline-block\" data-bs-toggle=\"collapse\" href=\"#viewEmail\" aria-expanded=\"false\" aria-controls=\"viewEmail\"><a><i class=\"fa fa-plus-square-o fw-bold me-1\"></i><span class=\"fw-bold\">";
// line 633
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.bulk_action__confirm_view_mail_body"), "html", null, true);
echo "</span></a></div>
<div class=\"collapse bg-light p-4 ec-collapse bg-ec-formGray\" id=\"viewEmail\" style=\"word-wrap: break-word; word-break:break-all\">
<pre></pre>
</div>
</div>
</div>
<div class=\"progress\" style=\"display: none\">
<div class=\"progress-bar progress-bar-striped progress-bar-animated\" role=\"progressbar\" style=\"width: 0%\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>
</div>
</div>
<div class=\"modal-footer\">
<button class=\"btn btn-ec-sub\" type=\"button\" data-bs-dismiss=\"modal\">";
// line 644
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.cancel"), "html", null, true);
echo "</button>
<button id=\"bulkChange\" class=\"btn btn-ec-conversion\" type=\"button\"><!--confirmationModal_js.twig--></button>
<button id=\"bulkChangeComplete\" class=\"btn btn-ec-regular\" style=\"display: none\" type=\"button\">";
// line 646
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.close"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</div>
<!-- 一括削除の確認モーダル -->
<div class=\"modal fade\" id=\"bulkDeleteModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"discontinuance\" aria-hidden=\"true\" data-bs-keyboard=\"false\" data-bs-backdrop=\"static\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title fw-bold\">";
// line 657
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.delete__confirm_title"), "html", null, true);
echo "</h5>
<button class=\"btn-close\" type=\"button\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
</div>
<div class=\"modal-body text-start\">
<p class=\"text-start\">";
// line 661
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.order.delete__confirm_message"), "html", null, true);
echo "</p>
<ul id=\"bulkErrors\"></ul>
<div class=\"progress\" style=\"display: none\">
<div class=\"progress-bar progress-bar-striped progress-bar-animated\" role=\"progressbar\" style=\"width: 0%\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>
</div>
</div>
<div class=\"modal-footer\">
<button class=\"btn btn-ec-sub\" type=\"button\" data-bs-dismiss=\"modal\">";
// line 668
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.cancel"), "html", null, true);
echo "</button>
<button class=\"btn btn-ec-delete\" type=\"button\" id=\"btn_bulk_delete\">";
// line 669
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.common.delete"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@admin/Order/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1443 => 669, 1439 => 668, 1429 => 661, 1422 => 657, 1408 => 646, 1403 => 644, 1389 => 633, 1382 => 629, 1375 => 625, 1360 => 612, 1353 => 608, 1349 => 607, 1345 => 606, 1341 => 604, 1338 => 603, 1332 => 599, 1328 => 598, 1324 => 596, 1321 => 595, 1316 => 591, 1313 => 590, 1310 => 589, 1308 => 588, 1301 => 583, 1295 => 582, 1273 => 574, 1269 => 573, 1265 => 572, 1261 => 571, 1257 => 570, 1244 => 564, 1236 => 559, 1232 => 558, 1228 => 557, 1218 => 550, 1214 => 549, 1204 => 542, 1189 => 540, 1184 => 537, 1178 => 535, 1175 => 534, 1172 => 533, 1166 => 531, 1162 => 529, 1156 => 527, 1150 => 525, 1148 => 524, 1143 => 523, 1141 => 522, 1137 => 520, 1127 => 516, 1125 => 515, 1116 => 512, 1114 => 511, 1108 => 508, 1104 => 507, 1094 => 504, 1088 => 501, 1076 => 498, 1069 => 494, 1065 => 493, 1061 => 492, 1053 => 491, 1049 => 489, 1031 => 488, 1027 => 487, 1019 => 482, 1015 => 481, 1011 => 480, 1007 => 479, 1003 => 478, 999 => 477, 995 => 476, 989 => 475, 970 => 459, 966 => 458, 961 => 456, 957 => 455, 951 => 452, 940 => 444, 936 => 443, 931 => 441, 927 => 440, 921 => 437, 912 => 430, 904 => 428, 899 => 427, 894 => 426, 890 => 425, 879 => 417, 874 => 414, 863 => 412, 859 => 411, 855 => 410, 849 => 406, 845 => 404, 840 => 402, 833 => 400, 823 => 395, 819 => 393, 817 => 392, 806 => 384, 802 => 383, 797 => 381, 790 => 376, 784 => 374, 782 => 373, 778 => 372, 771 => 367, 764 => 365, 757 => 361, 753 => 360, 749 => 359, 745 => 357, 739 => 355, 736 => 354, 734 => 353, 731 => 352, 729 => 351, 724 => 350, 714 => 342, 710 => 341, 706 => 340, 695 => 332, 691 => 331, 687 => 330, 679 => 325, 675 => 324, 671 => 323, 658 => 313, 654 => 312, 648 => 309, 642 => 306, 638 => 305, 631 => 301, 625 => 298, 621 => 297, 617 => 296, 606 => 288, 602 => 287, 596 => 284, 590 => 281, 586 => 280, 579 => 276, 573 => 273, 569 => 272, 565 => 271, 555 => 264, 551 => 263, 546 => 261, 541 => 259, 537 => 258, 531 => 255, 525 => 252, 521 => 251, 517 => 250, 507 => 243, 503 => 242, 498 => 240, 493 => 238, 489 => 237, 483 => 234, 477 => 231, 473 => 230, 469 => 229, 459 => 222, 455 => 221, 450 => 219, 445 => 217, 441 => 216, 435 => 213, 429 => 210, 425 => 209, 421 => 208, 411 => 201, 407 => 200, 403 => 199, 395 => 194, 391 => 193, 387 => 192, 381 => 189, 371 => 182, 362 => 176, 359 => 175, 352 => 173, 345 => 171, 343 => 170, 338 => 169, 332 => 168, 327 => 166, 323 => 165, 319 => 163, 315 => 162, 312 => 161, 310 => 160, 303 => 158, 296 => 154, 292 => 153, 286 => 152, 281 => 150, 274 => 146, 270 => 144, 260 => 143, 248 => 140, 239 => 134, 149 => 47, 139 => 40, 116 => 19, 106 => 18, 87 => 15, 68 => 14, 57 => 11, 55 => 17, 53 => 12, 40 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends '@admin/default_frame.twig' %}
{% set menus = ['order', 'order_master'] %}
{% block title %}{{ 'admin.order.order_list'|trans }}{% endblock %}
{% block sub_title %}{{ 'admin.order.order_management'|trans }}{% endblock %}
{% form_theme searchForm '@admin/Form/bootstrap_4_layout.html.twig' %}
{% block javascript %}
<script>
\$(function() {
toggleBtnBulk('input[id^=\"check_\"]', '.btn-bulk-wrapper');
\$('input[id^=\"check_\"]').on('change', function() {
\$('#toggle_check_all').prop('checked', false);
toggleBtnBulk('input[id^=\"check_\"]', '.btn-bulk-wrapper');
});
// 登録チェックボックス
\$('#toggle_check_all').on('change', function() {
var checked = \$(this).prop('checked');
if (checked) {
\$('input[id^=\"check_\"]').prop('checked', true);
} else {
\$('input[id^=\"check_\"]').prop('checked', false);
}
toggleBtnBulk('input[id^=\"check_\"]', '.btn-bulk-wrapper');
});
\$('#btn_bulk_delete').on('click', function(event) {
event.preventDefault();
\$('#form_bulk').attr('action', \"{{ url('admin_order_bulk_delete') }}\").submit();
return false;
});
// PDF出力(複数)
\$('#bulkExportPdf').on('click', function(event) {
window.open('', 'newwin', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=700, height=700');
\$('#form_bulk').attr('action', \"{{ url('admin_order_export_pdf') }}\");
\$('#form_bulk').attr('target', 'newwin');
\$('#form_bulk').submit();
return false;
});
// PDF出力(単一)
\$('.pdf-print').click(function() {
window.open(this.href, 'newwin', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=700, height=700');
return false;
});
// 送り状番号
var updateTrackingNumber = function(id, url, tracking_number, callback) {
\$.ajax({
type: 'PUT',
url: url,
data: {'tracking_number': tracking_number}
}).done(function(data, textStatus, jqXHR) {
if (data['status'] == 'OK') {
\$('#tracking_number_' + id).val(data['tracking_number']);
if (typeof callback == 'function') {
callback();
}
} else {
alert('Update failed.');
}
return true;
}).fail(function(jqXHR, textStatus, errorThrown) {
var response = JSON.parse(jqXHR.responseText);
var messages = '';
for (var i = 0; i < response.messages.length; i++) {
messages += response.messages[i] + \"\\n\";
}
alert(messages);
return false;
});
};
\$('button.update_tracking_number').prop('disabled', true);
// フォームに変更があったら更新ボタンを有効にする
\$('input.update_tracking_number').on('keyup', function(event) {
var \$tracking_number = \$(this);
var \$button = \$(\"button[data-target='#\" + \$tracking_number.attr('id') + \"']\");
\$button.prop('disabled', false);
\$button.children('i')
.removeClass('text-secondary')
.addClass('text-success');
});
// enter キーで更新し、次のフォームへフォーカスを移動する
\$('input.update_tracking_number').on('keypress', function(event) {
var \$tracking_number = \$(this);
var \$button = \$(\"button[data-target='#\" + \$tracking_number.attr('id') + \"']\");
var code = event.which ? event.which : event.keyCode;
if (code == 13) { // on press to enter
var index = \$('input.update_tracking_number').index(this);
var callback = function() {
\$button.prop('disabled', true);
\$button.children('i')
.removeClass('text-success')
.addClass('text-secondary');
\$('input.update_tracking_number:gt(' + index + '):first').focus();
};
updateTrackingNumber(\$tracking_number.data('shipping_id'), \$tracking_number.data('url'), \$tracking_number.val(), callback);
event.preventDefault();
}
});
// 更新ボタンの制御
\$('button.update_tracking_number').on('click', function(event) {
event.preventDefault();
var \$button = \$(this);
var \$target = \$(\$(this).data('target'));
var tracking_number = \$target.val();
var callback = function() {
\$button.prop('disabled', true);
\$button.children('i')
.removeClass('text-success')
.addClass('text-secondary');
};
updateTrackingNumber(\$target.data('shipping_id'), \$target.data('url'), tracking_number, callback);
});
// 完了ボタン
\$('#bulkChangeComplete').on('click', function() {
location.href = '{{ url('admin_order', { 'resume': 1 }) }}';
});
});
</script>
{{ include('@admin/Order/confirmationModal_js.twig') }}
{% endblock javascript %}
{% block main %}
<!--検索条件設定テーブルここから-->
<div class=\"c-outsideBlock\">
<form name=\"search_form\" id=\"search_form\" method=\"POST\" action=\"{{ url('admin_order') }}\">
<div class=\"c-outsideBlock__contents\">
<div class=\"row\">
<div class=\"col-12\">
{{ form_widget(searchForm._token) }}
<div>
<label class=\"col-form-label\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ 'tooltip.order.multi_search_label'|trans }}\">{{ 'admin.order.multi_search_label'|trans }}<i class=\"fa fa-question-circle fa-lg ms-1\"></i></label>
{{ form_widget(searchForm.multi) }}
{{ form_errors(searchForm.multi) }}
</div>
<div class=\"row\">
<div class=\"mb-3 col-12\">
<label class=\"col-form-label\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ 'tooltip.order.order_search_status'|trans }}\">{{ 'admin.order.order_status'|trans }}<i class=\"fa fa-question-circle fa-lg ms-1\"></i></label>
<div id=\"admin_search_order_status\">
{% set statusForm = searchForm.status %}
<!-- 各対応状況の件数を表示する -->
{% for status_id, child in statusForm.children %}
<div class=\"form-check form-check-inline\">
<input type=\"checkbox\"
id=\"{{ child.vars.id }}\"
name=\"{{ child.vars.full_name }}\"
class=\"form-check-input\"
value=\"{{ child.vars.value }}\"{{ child.vars.checked ? ' checked=\"checked\"' }}>
<label class=\"form-check-label\" for=\"{{ child.vars.id }}\">{{ child.vars.label }}</label>
{%- if statusForm.vars.order_count[status_id].display -%}
(<a href=\"{{ url('admin_order', { 'order_status_id': status_id }) }}\">{{ statusForm.vars.order_count[status_id].count }}</a>)
{%- endif %}
</div>
{% endfor %}
</div>
{{ form_errors(searchForm.status) }}
</div>
</div>
<div class=\"d-inline-block mb-3 collapsed\" data-bs-toggle=\"collapse\" href=\"#searchDetail\" aria-expanded=\"false\" aria-controls=\"searchDetail\">
<a>
<i class=\"fa fw-bold me-1 fa-plus-square-o\">
<span class=\"fw-bold\">{{ 'admin.common.search_detail'|trans }}</span>
</i>
</a>
</div>
</div>
</div>
</div>
<div class=\"c-subContents ec-collapse collapse{{ has_errors ? ' show' }}\" id=\"searchDetail\">
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.orderer_name'|trans }}</label>
{{ form_widget(searchForm.name) }}
{{ form_errors(searchForm.name) }}
</div>
<div class=\"col\">
<div class=\"row\">
<div class=\"col-12\">
<p class=\"col-form-label\">{{ 'admin.common.payment_method'|trans }}</p>
{{ form_widget(searchForm.payment, { 'label_attr': { 'class': 'checkbox-inline'}}) }}
{{ form_errors(searchForm.payment) }}
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.orderer_kana'|trans }}</label>
{{ form_widget(searchForm.kana) }}
{{ form_errors(searchForm.kana) }}
</div>
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.order_date'|trans }}</label>
<div class=\"row align-items-center\">
<div class=\"col\">
{{ form_widget(searchForm.order_datetime_start) }}
{{ form_errors(searchForm.order_datetime_start) }}
</div>
<div class=\"col-auto text-center\">{{ 'admin.common.separator__range'|trans }}</div>
<div class=\"col\">
{{ form_widget(searchForm.order_datetime_end) }}
{{ form_errors(searchForm.order_datetime_end) }}
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.orderer_company_name'|trans }}</label>
{{ form_widget(searchForm.company_name) }}
{{ form_errors(searchForm.company_name) }}
</div>
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.payment_date'|trans }}</label>
<div class=\"row align-items-center\">
<div class=\"col\">
{{ form_widget(searchForm.payment_datetime_start) }}
{{ form_errors(searchForm.payment_datetime_start) }}
</div>
<div class=\"col-auto text-center\">{{ 'admin.common.separator__range'|trans }}</div>
<div class=\"col\">
{{ form_widget(searchForm.payment_datetime_end) }}
{{ form_errors(searchForm.payment_datetime_end) }}
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.common.mail_address'|trans }}</label>
{{ form_widget(searchForm.email) }}
{{ form_errors(searchForm.email) }}
</div>
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.common.update_date'|trans }}</label>
<div class=\"row align-items-center\">
<div class=\"col\">
{{ form_widget(searchForm.update_datetime_start) }}
{{ form_errors(searchForm.update_datetime_start) }}
</div>
<div class=\"col-auto text-center\">{{ 'admin.common.separator__range'|trans }}</div>
<div class=\"col\">
{{ form_widget(searchForm.update_datetime_end) }}
{{ form_errors(searchForm.update_datetime_end) }}
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.common.phone_number'|trans }}</label>
{{ form_widget(searchForm.phone_number) }}
{{ form_errors(searchForm.phone_number) }}
</div>
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.delivery_date'|trans }}</label>
<div class=\"row align-items-center\">
<div class=\"col\">
<div class=\"input-group\">
{{ form_widget(searchForm.shipping_delivery_datetime_start) }}
{{ form_errors(searchForm.shipping_delivery_datetime_start) }}
</div>
</div>
<div class=\"col-auto text-center\">{{ 'admin.common.separator__range'|trans }}</div>
<div class=\"col\">
<div class=\"input-group\">
{{ form_widget(searchForm.shipping_delivery_datetime_end) }}
{{ form_errors(searchForm.shipping_delivery_datetime_end) }}
</div>
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.order_no'|trans }}</label>
{{ form_widget(searchForm.order_no) }}
{{ form_errors(searchForm.order_no) }}
</div>
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.purchase_price'|trans }}</label>
<div class=\"row align-items-center\">
<div class=\"col\">
<div class=\"input-group\">
{{ form_widget(searchForm.payment_total_start) }}
{{ form_errors(searchForm.payment_total_start) }}
</div>
</div>
<div class=\"col-auto text-center\">{{ 'admin.common.separator__range'|trans }}</div>
<div class=\"col\">
<div class=\"input-group\">
{{ form_widget(searchForm.payment_total_end) }}
{{ form_errors(searchForm.payment_total_end) }}
</div>
</div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col\">
<div class=\"row\">
<div class=\"col-12\">
<p class=\"col-form-label\">{{ 'admin.order.tracking_number'|trans }}</p>
{{ form_widget(searchForm.tracking_number) }}
{{ form_errors(searchForm.tracking_number) }}
</div>
</div>
</div>
<div class=\"col\">
<label class=\"col-form-label\">{{ 'admin.order.purchase_product'|trans }}</label>
{{ form_widget(searchForm.buy_product_name) }}
{{ form_errors(searchForm.buy_product_name) }}
</div>
</div>
<div class=\"row mb-2\">
<div class=\"col\">
<div class=\"row\">
<div class=\"col-12\">
<p class=\"col-form-label\">{{ 'admin.order.shipping_mail'|trans }}</p>
{{ form_widget(searchForm.shipping_mail, { 'label_attr': { 'class': 'checkbox-inline' }}) }}
{{ form_errors(searchForm.shipping_mail) }}
</div>
</div>
</div>
<div class=\"col\"></div>
</div>
{# エンティティ拡張の自動出力 #}
{% for f in searchForm|filter(f => f.vars.eccube_form_options.auto_render) %}
{# TODO 1項目1行になるのを改善 #}
<div class=\"row mb-2\">
{% if f.vars.eccube_form_options.form_theme %}
{% form_theme f f.vars.eccube_form_options.form_theme %}
{{ form_row(f) }}
{% else %}
<div class=\"col\">
<div class=\"mb-3\">
<label>{{ f.vars.label|trans }}</label>
{{ form_widget(f) }}
{{ form_errors(f) }}
</div>
</div>
{% endif %}
</div>
{% endfor %}
</div>
<div class=\"c-outsideBlock__contents\">
<div class=\"row\">
<div class=\"mb-4\">
<div class=\"col-12\">
<button class=\"btn btn-ec-conversion px-5\" type=\"submit\" id=\"search_submit\">{{ 'admin.common.search'|trans }}</button>
{% if pagination %}
<span class=\"fw-bold ms-2\" id=\"search_total_count\">{{ 'admin.common.search_result'|trans({\"%count%\":pagination.totalItemCount})|raw }}</span>
{% endif %}
</div>
</div>
</div>
</div>
<div class=\"c-outsideBlock__contents mb-5\">
{{ include('@admin/search_items.twig', { 'form': searchForm }, ignore_missing = true) }}
</div>
{{ form_widget(searchForm.sortkey, {'attr': {'class': 'js-listSort-key'}}) }}
{{ form_widget(searchForm.sorttype, {'attr': {'class': 'js-listSort-type'}}) }}
</form>
</div>
<!--検索条件設定テーブルここまで-->
<div class=\"c-contentsArea__cols\">
<div class=\"c-contentsArea__primaryCol\">
<div class=\"c-primaryCol\">
{% if pagination and pagination.totalItemCount %}
<form id=\"form_bulk\" method=\"POST\" action=\"\">
<input type=\"hidden\" name=\"{{ constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME') }}\" value=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
<div class=\"row justify-content-between mb-2\">
<div class=\"col-7\">
<div class=\"row justify-content-between\">
<div class=\"col-auto d-none btn-bulk-wrapper\">
<label class=\"me-2\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ 'tooltip.order.bulk_actions'|trans }}\">{{ 'admin.common.bulk_actions'|trans }}<i class=\"fa fa-question-circle fa-lg ms-1\"></i></label>
<button id=\"bulkSendMail\" type=\"button\" class=\"btn btn-ec-regular me-2\" data-type=\"mail\" data-bulk-update=\"true\">
{{ 'admin.order.send_mail'|trans }}
</button>
<button type=\"button\" id=\"bulkExportPdf\" class=\"btn btn-ec-regular me-2\">{{ 'admin.order.output_delivery_note_short'|trans }}</button>
{# TODO 削除処理は将来バージョンで対応 <button type=\"button\" class=\"btn btn-ec-delete\" data-bs-toggle=\"modal\" data-bs-target=\"#bulkDeleteModal\">{{ 'admin.common.delete'|trans }}</button> #}
</div>
<div class=\"col d-none btn-bulk-wrapper\">
<div class=\"d-inline-block me-2\">
<select class=\"form-select\" id=\"option_bulk_status\">
<option value=\"\" selected>{{ 'admin.order.change_status'|trans }}</option>
{% for status in OrderStatuses %}
<option value=\"{{ status.id }}\">{{ status.name }}</option>
{% endfor %}
</select>
</div>
<button type=\"button\" id=\"btn_bulk_status\" class=\"btn btn-ec-regular me-2 progressModal\" data-type=\"status\" data-bulk-update=\"true\" data-submit=\"bulk\">
{{ 'admin.common.decision'|trans }}
</button>
</div>
</div>
</div>
<div class=\"col-5 text-end\">
<div class=\"d-inline-block align-bottom\">
<select class=\"form-select\" onchange=\"location = this.value;\">
{% for pageMax in pageMaxis %}
<option {% if pageMax.name == page_count %} selected {% endif %}
value=\"{{ path('admin_order_page', {'page_no': 1, 'page_count': pageMax.name}) }}\">
{{ 'admin.common.count'|trans({ '%count%': pageMax.name }) }}</option>
{% endfor %}
</select>
</div>
<div class=\"d-inline-block\">
<div class=\"btn-group\" role=\"group\">
<div class=\"btn-group\" role=\"group\">
<button type=\"button\" class=\"btn btn-ec-regular\" data-bs-toggle=\"dropdown\" id=\"csvDownloadDropDown\">
<i class=\"fa fa-cloud-download me-1 text-secondary\"></i>
<span>{{ 'admin.common.csv_download'|trans }}</span>
</button>
<div class=\"dropdown-menu\">
<a class=\"dropdown-item\" href=\"{{ url('admin_order_export_order') }}\" id=\"orderCsvDownload\">
{{ 'admin.order.order_csv'|trans }}
</a>
<a class=\"dropdown-item\" href=\"{{ url('admin_order_export_shipping') }}\" id=\"shippingCsvDownload\">
{{ 'admin.order.shipping_csv'|trans }}
</a>
</div>
</div>
<div class=\"btn-group\" role=\"group\">
<button type=\"button\" class=\"btn btn-ec-regular\" data-bs-toggle=\"dropdown\" id=\"csvSettingDropDown\">
<i class=\"fa fa-cog me-1 text-secondary\"></i>
<span>{{ 'admin.setting.shop.csv_setting'|trans }}</span>
</button>
<div class=\"dropdown-menu\">
<a class=\"dropdown-item\" href=\"{{ url('admin_setting_shop_csv', { id : constant('\\\\Eccube\\\\Entity\\\\Master\\\\CsvType::CSV_TYPE_ORDER') }) }}\" id=\"orderCsvSetting\">
{{ 'admin.order.order_csv'|trans }}
</a>
<a class=\"dropdown-item\" href=\"{{ url('admin_setting_shop_csv', { id : constant('\\\\Eccube\\\\Entity\\\\Master\\\\CsvType::CSV_TYPE_SHIPPING') }) }}\" id=\"shippingCsvSetting\">
{{ 'admin.order.shipping_csv'|trans }}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"card rounded border-0 mb-4 d-block\">
<div class=\"card-body p-0\">
<table class=\"table table-sm\" id=\"search_result\">
<thead>
<tr>
<th class=\"border-top-0 pt-2 pb-2 text-center ps-3\">
<input type=\"checkbox\" id=\"toggle_check_all\" name=\"filter\" value=\"open\">
</th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">{{ 'admin.common.id'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"orderer\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a>{{ 'admin.order.orderer'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"order\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center text-nowrap\">{{ 'admin.common.payment_method'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"payment_method\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">{{ 'admin.order.order_status'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"order_status\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">{{ 'admin.order.purchase_price'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"purchase_price\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">{{ 'admin.order.message_short'|trans }}</th>
<th class=\"border-top-0 pt-2 pb-2 text-center text-nowrap\">{{ 'admin.order.shipping_status'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"shipping_status\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">{{ 'admin.order.tracking_number'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"tracking_number\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center\">{{ 'admin.order.delivery'|trans }}<a href=\"#\" class=\"js-listSort\" data-sortkey=\"delivery\"><i class=\"fa fa-arrow-up\" aria-hidden=\"true\"></i></a></th>
<th class=\"border-top-0 pt-2 pb-2 text-center pe-3\"></th>
</tr>
</thead>
<tbody>
{% for Order in pagination %}
{% for Shipping in Order.Shippings %}
<tr>
<td class=\"align-middle text-center ps-3\">
<input type=\"checkbox\" id=\"check_{{ Shipping.id }}\" data-id=\"{{ Shipping.id }}\" name=\"ids[]\" value=\"{{ Shipping.id }}\"
data-preview-notify-mail-url=\"{{ url('admin_shipping_preview_notify_mail', { id: Shipping.id}) }}\"
data-notify-mail-url=\"{{ url('admin_shipping_notify_mail', { id: Shipping.id}) }}\"
data-update-status-url=\"{{ url('admin_shipping_update_order_status', { id: Shipping.id}) }}\"
/>
</td>
<td class=\"align-middle text-start\">
<a class=\"action-edit\" href=\"{{ url('admin_order_edit', { id : Order.id }) }}\">{{ Order.order_no }}<br>{{ Order.name01 ~ Order.name02 }}<br>{{ Order.order_date|date_min }}</a>
</td>
<td class=\"align-middle text-center\">
{{ Order.payment_method }}
</td>
<td class=\"align-middle text-center\">
<span class=\"badge badge-ec-blue\" style=\"background-color: #fff; color: {{ Order.OrderStatusColor }}; border-color: {{ Order.OrderStatusColor }}\">{{ Order.OrderStatus }}</span>
</td>
<td class=\"align-middle text-end\">
{{ Order.payment_total|price }}<br>
{{ Order.payment_date ? Order.payment_date|date_day : 'admin.order.not_payment'|trans }}
</td>
<td class=\"align-middle text-center\">
{% if Order.message is not empty %}
<a class=\"btn btn-ec-actionIcon\" href=\"{{ url('admin_order_edit', { id : Order.id }) }}#order_message\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ Order.message }}\" aria-describedby=\"tooltip819464\">
<i class=\"fa fa-commenting fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
{% elseif Order.note is not empty %}
<a class=\"btn btn-ec-actionIcon\" href=\"{{ url('admin_order_edit', { id : Order.id }) }}#order_note\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ Order.note }}\" aria-describedby=\"tooltip819464\">
<i class=\"fa fa-commenting fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
{% endif %}
</td>
<td class=\"align-middle text-center\">
{% if Order.is_multiple %}
<a href=\"{{ url('admin_shipping_edit', { id: Order.id }) }}\">
{% if Shipping.shipping_date %}
{{ Shipping.shipping_date|date_day }}
{% else %}
{{ 'admin.order.unshipped'|trans }}
{% endif %}
</a>
{% else %}
{{ Shipping.shipping_date ? Shipping.shipping_date|date_day : 'admin.order.unshipped'|trans }}
{% endif %}
{% if Shipping.mail_send_date %}
{% set send_mail_date = Shipping.mail_send_date|date_min %}
<i class=\"fa fa-envelope fa-lg text-secondary\" aria-hidden=\"true\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ 'admin.order.shipping_mail__completed'|trans({'%date%': send_mail_date}) }}\"></i>
{% endif %}
</td>
<td class=\"align-middle text-center\">
<div class=\"input-group input-group-sm\">
<input type=\"text\" id=\"tracking_number_{{ Shipping.id }}\" class=\"form-control update_tracking_number\" placeholder=\"{{ 'admin.order.tracking_number'|trans }}\" value=\"{{ Shipping.trackingNumber }}\" data-shipping_id=\"{{ Shipping.id }}\" data-url=\"{{ url('admin_shipping_update_tracking_number', { id : Shipping.id }) }}\" tabindex=\"{{ loop.index }}\"/>
<span class=\"input-group-btn\">
<button type=\"button\" class=\"btn btn-default update_tracking_number\" data-target=\"#tracking_number_{{ Shipping.id }}\">
<i class=\"fa fa-check fa-lg text-secondary\" aria-hidden=\"true\"></i>
</button>
</span>
</div>
</td>
<td class=\"align-middle text-center\">
{{ Shipping.name01 ~ Shipping.name02 }}<br>
{{ Shipping.Pref.name }}
</td>
<td class=\"align-middle pe-3\">
<div class=\"text-end\">
<div class=\"px-1 d-inline-block\">
<a class=\"btn btn-ec-actionIcon confirmationModal\"
data-type=\"mail\" data-bulk-update=\"false\"
data-preview-notify-mail-url=\"{{ url('admin_shipping_preview_notify_mail', { id: Shipping.id}) }}\"
data-notify-mail-url=\"{{ url('admin_shipping_notify_mail', { id: Shipping.id}) }}\"
data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ 'admin.order.shipping_mail_send'|trans }}\">
<i class=\"fa fa-send fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
</div>
<div class=\"px-1 d-inline-block\">
<a class=\"btn btn-ec-actionIcon pdf-print\" href=\"{{ url('admin_order_export_pdf') }}?ids[]={{ Shipping.id }}\" data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ 'admin.order.output_delivery_note_short'|trans }}\">
<i class=\"fa fa-table fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
</div>
<div class=\"px-1 d-inline-block\">
<a class=\"btn btn-ec-actionIcon confirmationModal\" href=\"javascript:;\"
data-id=\"{{ Shipping.id }}\" data-type=\"status\" data-bulk-update=\"false\"
data-update-status-id=\"{{ constant('Eccube\\\\Entity\\\\Master\\\\OrderStatus::DELIVERED') }}\"
data-update-status-url=\"{{ url('admin_shipping_update_order_status', { id: Shipping.id}) }}\"
data-preview-notify-mail-url=\"{{ url('admin_shipping_preview_notify_mail', { id: Shipping.id}) }}\"
data-bs-toggle=\"tooltip\" data-bs-placement=\"top\" title=\"{{ 'admin.order.to_shipped'|trans }}\">
<i class=\"fa fa-check fa-lg text-secondary\" aria-hidden=\"true\"></i>
</a>
</div>
</div>
</td>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>
<div class=\"row justify-content-md-center\"></div>
</div>
<div class=\"row justify-content-md-center pb-4 mb-4\">
{% if pagination.totalItemCount > 0 %}
{% include \"@admin/pager.twig\" with { 'pages' : pagination.paginationData, 'routes' : 'admin_order_page' } %}
{% endif %}
</div>
</div>
</form>
{# 検索条件エラー時 #}
{% elseif has_errors %}
<div class=\"card rounded border-0\">
<div class=\"card-body p-4\">
<div class=\"text-center text-muted mb-4 h5\">{{ 'admin.common.search_invalid_condition'|trans }}</div>
<div class=\"text-center text-muted\">{{ 'admin.common.search_try_change_condition'|trans }}</div>
</div>
</div>
{# 検索結果なし #}
{% else %}
<div class=\"card rounded border-0\">
<div class=\"card-body p-4\">
<div class=\"text-center text-muted mb-4 h5\">{{ 'admin.common.search_no_result'|trans }}</div>
<div class=\"text-center text-muted\">{{ 'admin.common.search_try_change_condition'|trans }}</div>
<div class=\"text-center text-muted\">{{ 'admin.common.search_try_advanced_search'|trans }}</div>
</div>
</div>
{% endif %}
<!-- 出荷済にする確認モーダル -->
<div class=\"modal fade\" id=\"sentUpdateModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"sentUpdateModal\" aria-hidden=\"true\" data-bs-keyboard=\"false\" data-bs-backdrop=\"static\">
<div class=\"modal-dialog modal-lg\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title fw-bold\"><!--confirmationModal_js.twig--></h5>
<button class=\"btn-close\" type=\"button\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
</div>
<div class=\"modal-body\">
<p class=\"modal-message\"></p>
<ul id=\"bulkErrors\"></ul>
<div id=\"bulk-options\">
<div class=\"fw-bold mb-2 notificationMail\">{{ 'admin.order.to_shipped__confirm_send_mail'|trans }}</div>
<div class=\"form-check form-check-inline\">
<input class=\"form-check-input\" type=\"checkbox\" id=\"notificationMail\">
<label class=\"form-check-label notificationMail\">
{{ 'admin.order.to_shipped__confirm_send_mail_in_same_time'|trans }}
</label>
</div>
<div>
<div class=\"d-inline-block\" data-bs-toggle=\"collapse\" href=\"#viewEmail\" aria-expanded=\"false\" aria-controls=\"viewEmail\"><a><i class=\"fa fa-plus-square-o fw-bold me-1\"></i><span class=\"fw-bold\">{{ 'admin.order.bulk_action__confirm_view_mail_body'|trans }}</span></a></div>
<div class=\"collapse bg-light p-4 ec-collapse bg-ec-formGray\" id=\"viewEmail\" style=\"word-wrap: break-word; word-break:break-all\">
<pre></pre>
</div>
</div>
</div>
<div class=\"progress\" style=\"display: none\">
<div class=\"progress-bar progress-bar-striped progress-bar-animated\" role=\"progressbar\" style=\"width: 0%\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>
</div>
</div>
<div class=\"modal-footer\">
<button class=\"btn btn-ec-sub\" type=\"button\" data-bs-dismiss=\"modal\">{{ 'admin.common.cancel'|trans }}</button>
<button id=\"bulkChange\" class=\"btn btn-ec-conversion\" type=\"button\"><!--confirmationModal_js.twig--></button>
<button id=\"bulkChangeComplete\" class=\"btn btn-ec-regular\" style=\"display: none\" type=\"button\">{{ 'admin.common.close'|trans }}</button>
</div>
</div>
</div>
</div>
<!-- 一括削除の確認モーダル -->
<div class=\"modal fade\" id=\"bulkDeleteModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"discontinuance\" aria-hidden=\"true\" data-bs-keyboard=\"false\" data-bs-backdrop=\"static\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title fw-bold\">{{ 'admin.order.delete__confirm_title'|trans }}</h5>
<button class=\"btn-close\" type=\"button\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
</div>
<div class=\"modal-body text-start\">
<p class=\"text-start\">{{ 'admin.order.delete__confirm_message'|trans }}</p>
<ul id=\"bulkErrors\"></ul>
<div class=\"progress\" style=\"display: none\">
<div class=\"progress-bar progress-bar-striped progress-bar-animated\" role=\"progressbar\" style=\"width: 0%\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>
</div>
</div>
<div class=\"modal-footer\">
<button class=\"btn btn-ec-sub\" type=\"button\" data-bs-dismiss=\"modal\">{{ 'admin.common.cancel'|trans }}</button>
<button class=\"btn btn-ec-delete\" type=\"button\" id=\"btn_bulk_delete\">{{ 'admin.common.delete' | trans }}</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
", "@admin/Order/index.twig", "/home/xb549224/xb549224.xbiz.jp/public_html/src/Eccube/Resource/template/admin/Order/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 12, "form_theme" => 17, "for" => 162, "if" => 170, "include" => 589);
static $filters = array("escape" => 14, "trans" => 14, "filter" => 350, "raw" => 374, "date_min" => 498, "price" => 507, "date_day" => 508);
static $functions = array("url" => 40, "include" => 140, "form_widget" => 150, "form_errors" => 154, "form_row" => 355, "constant" => 395, "csrf_token" => 395, "path" => 427);
try {
$this->sandbox->checkSecurity(
['set', 'form_theme', 'for', 'if', 'include'],
['escape', 'trans', 'filter', 'raw', 'date_min', 'price', 'date_day'],
['url', 'include', 'form_widget', 'form_errors', 'form_row', 'constant', 'csrf_token', 'path']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}