File tree Expand file tree Collapse file tree 13 files changed +18
-18
lines changed
app/code/Magento/Sales/view
adminhtml/templates/order
creditmemo/items/renderer Expand file tree Collapse file tree 13 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 105105 type="checkbox"
106106 class="admin__control-checkbox"
107107 name="sidebar[<?= $ block ->escapeHtmlAttr ($ block ->getSidebarStorageAction ()) ?> ][<?= (int ) $ block ->getIdentifierId ($ _item ) ?> ]"
108- value="<?= $ block ->canDisplayItemQty () ? (int ) $ _item ->getQty () : 1 ?> "
108+ value="<?= $ block ->canDisplayItemQty () ? (float ) $ _item ->getQty () : 1 ?> "
109109 title="<?= $ block ->escapeHtml (__ ('Add To Order ' )) ?> "/>
110110 <label class="admin__field-label"
111111 for="sidebar-<?= $ block ->escapeHtmlAttr ($ block ->getSidebarStorageAction ()) ?> -<?= (int ) $ block ->getIdentifierId ($ _item ) ?> ">
Original file line number Diff line number Diff line change 2929 <input type="text"
3030 class="input-text admin__control-text qty-input"
3131 name="creditmemo[items][<?= (int ) $ _item ->getOrderItemId () ?> ][qty]"
32- value="<?= (int ) $ _item ->getQty () ?> "/>
32+ value="<?= (float ) $ _item ->getQty () ?> "/>
3333 <?php else : ?>
34- <?= (int ) $ _item ->getQty () ?>
34+ <?= (float ) $ _item ->getQty () ?>
3535 <?php endif ; ?>
3636 </td>
3737 <td class="col-subtotal">
Original file line number Diff line number Diff line change 1313 <td class="col-price">
1414 <?= $ block ->getColumnHtml ($ _item , 'price ' ) ?>
1515 </td>
16- <td class="col-qty"><?= (int ) $ _item ->getQty () ?> </td>
16+ <td class="col-qty"><?= (float ) $ _item ->getQty () ?> </td>
1717 <td class="col-subtotal">
1818 <?= $ block ->getColumnHtml ($ _item , 'subtotal ' ) ?>
1919 </td>
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ $_order = $block->getOrder() ?>
4141 <br /><?= $ block ->escapeHtml (__ ('Message: ' )) ?> <br /> <?= $ block ->escapeHtml ($ _giftMessage ->getMessage ()) ?>
4242 <?php endif ; ?>
4343 </td>
44- <td align="center" valign="top" style="padding:3px 9px"><?= (int ) $ _item ->getQtyOrdered () ?> </td>
44+ <td align="center" valign="top" style="padding:3px 9px"><?= (float ) $ _item ->getQtyOrdered () ?> </td>
4545 <td align="right" valign="top" style="padding:3px 9px"><?= /* @noEscape */ $ _order ->formatPrice ($ _item ->getRowTotal ()) ?> </td>
4646 </tr>
4747<?php endforeach ; ?>
Original file line number Diff line number Diff line change 1616 <?php if ($ block ->canEditQty ()) : ?>
1717 <input type="text" class="input-text admin__control-text qty-input"
1818 name="invoice[items][<?= (int ) $ _item ->getOrderItemId () ?> ]"
19- value="<?= (int ) $ _item ->getQty () ?> "/>
19+ value="<?= (float ) $ _item ->getQty () ?> "/>
2020 <?php else : ?>
21- <?= (int ) $ _item ->getQty () ?>
21+ <?= (float ) $ _item ->getQty () ?>
2222 <?php endif ; ?>
2323 </td>
2424 <td class="col-subtotal">
Original file line number Diff line number Diff line change 1313 <td class="col-price">
1414 <?= $ block ->getColumnHtml ($ _item , 'price ' ) ?>
1515 </td>
16- <td class="col-qty"><?= (int ) $ _item ->getQty () ?> </td>
16+ <td class="col-qty"><?= (float ) $ _item ->getQty () ?> </td>
1717 <td class="col-subtotal">
1818 <?= $ block ->getColumnHtml ($ _item , 'subtotal ' ) ?>
1919 </td>
Original file line number Diff line number Diff line change 2727 <?php endif ; ?>
2828 <?= $ block ->escapeHtml ($ _item ->getDescription ()) ?>
2929 </td>
30- <td class="item-qty"><?= (int ) $ _item ->getQty () ?> </td>
30+ <td class="item-qty"><?= (float ) $ _item ->getQty () ?> </td>
3131 <td class="item-price">
3232 <?= /* @noEscape */ $ block ->getItemPrice ($ _item ) ?>
3333 </td>
Original file line number Diff line number Diff line change 2626 <?php endif ; ?>
2727 <?= $ block ->escapeHtml ($ _item ->getDescription ()) ?>
2828 </td>
29- <td class="item-qty"><?= (int ) $ _item ->getQty () ?> </td>
29+ <td class="item-qty"><?= (float ) $ _item ->getQty () ?> </td>
3030 <td class="item-price">
3131 <?= /* @noEscape */ $ block ->getItemPrice ($ _item ->getOrderItem ()) ?>
3232 </td>
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ $_order = $_item->getOrder();
3232 <?php endif ; ?>
3333 <?= $ block ->escapeHtml ($ _item ->getDescription ()) ?>
3434 </td>
35- <td class="item-qty"><?= (int ) $ _item ->getQtyOrdered () ?> </td>
35+ <td class="item-qty"><?= (float ) $ _item ->getQtyOrdered () ?> </td>
3636 <td class="item-price">
3737 <?= /* @noEscape */ $ block ->getItemPrice ($ _item ) ?>
3838 </td>
Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ $_item = $block->getItem() ?>
2626 <?php endif ; ?>
2727 <?= $ block ->escapeHtml ($ _item ->getDescription ()) ?>
2828 </td>
29- <td class="item-qty"><?= (int ) $ _item ->getQty () ?> </td>
29+ <td class="item-qty"><?= (float ) $ _item ->getQty () ?> </td>
3030</tr>
You can’t perform that action at this time.
0 commit comments