Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

複数配送時のインデックスの参照先に誤りがあったため修正 #2187

Merged
merged 2 commits into from
Mar 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Eccube/Resource/template/admin/Order/edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ $(function() {

var data = $(this).data();
shipment_idx = data.idx;

shipmentItem_idx = 0;
for(i = 0; i < shipping_details_count.length; i++) {
if (shipping_details_count[i].idx == shipment_idx) {
Expand Down Expand Up @@ -516,7 +516,7 @@ var setModeAndSubmit = function(mode, keyname, keyid) {
<div id="shipping_info__button_new"><button type="submit" class="btn btn-default" name="mode" value="add_delivery">お届け先を新規追加</button></div>
{% endif %}
{% for shippingForm in form.Shippings %}
{% set shippingIndex = loop.index0 %}
{% set shippingIndex = shippingForm.vars.name %}
<div id="shipping_info_box--{{ shippingIndex }}" class="box accordion">
<div id="shipping_info_box__toggle--{{ shippingIndex }}" class="box-header toggle active">
<h3 class="box-title">お届け先情報{% if form.Shippings|length > 1 %}({{ loop.index }}){% endif %}<svg class="cb cb-angle-down icon_down"> <use xlink:href="#cb-angle-down" /></svg></h3>
Expand Down