Skip to content

Commit

Permalink
Added containers to invoice and shipping creation sections
Browse files Browse the repository at this point in the history
  • Loading branch information
cbmd committed Jun 26, 2015
1 parent db17c80 commit 7548b20
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
<block class="Magento\Sales\Block\Adminhtml\Order\Invoice\Totals" name="invoice_totals" template="order/totals.phtml">
<block class="Magento\Sales\Block\Adminhtml\Order\Totals\Tax" name="tax" template="order/totals/tax.phtml"/>
</block>
<container name="submit_before" label="Submit Before"/>
<container name="submit_after" label="Submit After"/>
</block>
</block>
</block>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@
<label class="admin__field-label" for="send_email"><?php echo __('Email Copy of Invoice') ?></label>
</div>
<?php endif; ?>
<?php echo $block->getChildHtml('submit_before') ?>
<div class="actions">
<?php echo $block->getChildHtml('submit_button') ?>
<?php echo $block->getChildHtml('submit_after') ?>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<block class="Magento\Sales\Block\Adminhtml\Items\Column\Qty" name="column_qty" template="Magento_Sales::items/column/qty.phtml" group="column"/>
<block class="Magento\Sales\Block\Adminhtml\Items\Column\Name" name="column_name" template="Magento_Sales::items/column/name.phtml" group="column"/>
<block class="Magento\Framework\View\Element\Text\ListText" name="order_item_extra_info"/>
<container name="submit_before" label="Submit Before"/>
<container name="submit_after" label="Submit After"/>
</block>
<block class="Magento\Shipping\Block\Adminhtml\Order\Tracking" name="shipment_tracking" template="order/tracking.phtml"/>
<block class="Magento\Shipping\Block\Adminhtml\Order\Packaging" name="shipment_packaging" template="Magento_Shipping::order/packaging/popup.phtml"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@
<span><?php echo __('Email Copy of Shipment') ?></span></label>
</div>
<?php endif; ?>

<?php echo $block->getChildHtml('submit_before') ?>
<div class="order-history-comments-actions actions">
<?php echo $block->getChildHtml('submit_button') ?>
<?php echo $block->getChildHtml('submit_after') ?>
</div>
</div>
</div>
Expand Down

0 comments on commit 7548b20

Please sign in to comment.