id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	modified_flg
2432	v2.13.0 管理画面：受注変更画面（複数配送）で、お届け先ごとの商品の「削除」ボタンの表示誤り	kimoto	dkazuto	"http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=13443&forum=9&post_id=61167#forumpost61167

{{{
受注情報編集画面（複数配送）において、お届け先に、「変更」ボタンと「削除」ボタンが表示されます。私の認識として、商品が１種類の場合、「削除」ボタンは、表示しない。ものと思っています。つまり、お届け先１	商品１	［変更］お届け先２	商品１	［変更］で、表示される。しかし、以下の場合、お届け先１	商品１	［変更］［削除］	商品２	［変更］［削除］お届け先２	商品１	［変更］［削除］と、表示されます。（お届け先２、商品１に、「削除」ボタンが表示される。）data/Smarty/templates/admin/order/edit.tpl
            <!--{if $arrForm.shipping_quantity.value > 1}-->
                <h2>届け先商品情報&nbsp;<a class=""btn-normal"" href=""java script:;"" name=""add_product"" onclick=""eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?order_id=<!--{$arrForm.order_id.value|h}-->&shipping_id=<!--{$shipping_index}-->', 'search', '615', '500', {menubar:'no'}); return false;"">商品の追加</a>
                </h2>
                <!--{assign var=product_quantity value=""shipping_product_quantity""}-->
                <input type=""hidden"" name=""<!--{$product_quantity}-->[<!--{$shipping_index}-->]"" value=""<!--{$arrShipping[$product_quantity]|h}-->"" />

                <!--{if count($arrShipping.shipment_product_class_id) > 0}-->
                    <table class=""list order-edit-products"">
                        <tr>
                            <th class=""id"">商品コード</th>
                            <th class=""name"">商品名/規格1/規格2</th>
                            <th class=""price"">単価</th>
                            <th class=""qty"">数量</th>
                        </tr>
                        <!--{section name=item loop=$arrShipping.shipment_product_class_id|@count}-->
                            <!--{assign var=item_index value=""`$smarty.section.item.index`""}-->

.
.
                                    <a class=""btn-normal"" href=""java script:;"" name=""change"" onclick=""eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?no=<!--{$item_index}-->&order_id=<!--{$arrForm.order_id.value|h}-->&shipping_id=<!--{$shipping_index}-->', 'search', '615', '500', {menubar:'no'}); return false;"">変更</a>
                                    <!--{if count($arrForm.quantity.value) > 1}-->
                                    <a class=""btn-normal"" href=""java script:;"" name=""delete"" onclick=""eccube.setValue('delete_no', <!--{$item_index}-->, 'form1'); eccube.setValue('select_shipping_id', <!--{$shipping_index}-->, 'form1'); eccube.setModeAndSubmit('delete_product','anchor_key','order_products'); return false;"">削除</a>
                                    <!--{/if}-->
.
.
                        <!--{/section}-->
                    </table>
                <!--{/if}-->
            <!--{else}-->
                <!-- 配送先が１つでも、shipment_itemを更新するために必要 -->
.
.
                <!--{/section}-->
            <!--{/if}-->

                                    <!--{if count($arrForm.quantity.value) > 1}-->
このコードは、
                                    <!--{if count($arrShipping.shipment_product_class_id) > 1}-->
でないといけないのでは。
}}}"	バグ指摘	closed	中	EC-CUBE2.13.1	フロント	2.12.5	修正済			1
