File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Bundle/view/adminhtml/templates/sales/invoice/create/items Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
<?php $ items = $ block ->getChildren ($ _item ); ?>
17
17
<?php $ _count = count ($ items ) ?>
18
18
<?php $ _index = 0 ?>
19
-
19
+ <?php $ canEditItemQty = true ?>
20
20
<?php $ _prevOptionId = '' ?>
21
21
22
22
<?php if ($ block ->getOrderOptions () || $ _item ->getDescription ()) : ?>
34
34
<?php if ($ _item ->getOrderItem ()->getParentItem ()) : ?>
35
35
<?php
36
36
if ($ shipTogether ) {
37
- continue ;
37
+ $ canEditItemQty = false ;
38
38
}
39
39
?>
40
40
<?php $ attributes = $ block ->getSelectionAttributes ($ _item ) ?>
124
124
</td>
125
125
<td class="col-qty-invoice">
126
126
<?php if ($ block ->canShowPriceInfo ($ _item ) || $ shipTogether ) : ?>
127
- <?php if ($ block ->canEditQty ()) : ?>
127
+ <?php if ($ block ->canEditQty () && $ canEditItemQty ) : ?>
128
128
<input type="text"
129
129
class="input-text admin__control-text qty-input"
130
130
name="invoice[items][<?= $ block ->escapeHtmlAttr ($ _item ->getOrderItemId ()) ?> ]"
You can’t perform that action at this time.
0 commit comments