File tree Expand file tree Collapse file tree 5 files changed +0
-34
lines changed
Newsletter/Block/Adminhtml/Template
Review/Block/Adminhtml/Add
view/adminhtml/templates/order Expand file tree Collapse file tree 5 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,6 @@ public function getTotals()
3838 */
3939 public function addTotal ($ label , $ value , $ isQuantity = false )
4040 {
41- /*if (!$isQuantity) {
42- $value = $this->format($value);
43- $decimals = substr($value, -2);
44- $value = substr($value, 0, -2);
45- } else {
46- $value = ($value != '')?$value:0;
47- $decimals = '';
48- }*/
4941 if (!$ isQuantity ) {
5042 $ value = $ this ->format ($ value );
5143 }
Original file line number Diff line number Diff line change @@ -67,12 +67,6 @@ public function getModel()
6767 */
6868 protected function _prepareLayout ()
6969 {
70- // Load Wysiwyg on demand and Prepare layout
71- // $block = $this->getLayout()->getBlock('head');
72- // if ($this->_wysiwygConfig->isEnabled() && $block) {
73- // $block->setCanLoadTinyMce(true);
74- // }
75-
7670 $ this ->getToolbar ()->addChild (
7771 'back_button ' ,
7872 \Magento \Backend \Block \Widget \Button::class,
Original file line number Diff line number Diff line change @@ -142,11 +142,6 @@ protected function _prepareForm()
142142
143143 $ fieldset ->addField ('product_id ' , 'hidden ' , ['name ' => 'product_id ' ]);
144144
145- /*$gridFieldset = $form->addFieldset('add_review_grid', array('legend' => __('Please select a product')));
146- $gridFieldset->addField('products_grid', 'note', array(
147- 'text' => $this->getLayout()->createBlock(\Magento\Review\Block\Adminhtml\Product\Grid::class)->toHtml(),
148- ));*/
149-
150145 $ form ->setMethod ('post ' );
151146 $ form ->setUseContainer (true );
152147 $ form ->setId ('edit_form ' );
Original file line number Diff line number Diff line change @@ -582,13 +582,6 @@ public function getCommentsCollection($reload = false)
582582 {
583583 $ collection = $ this ->_commentCollectionFactory ->create ()->setCreditmemoFilter ($ this ->getId ())
584584 ->setCreatedAtOrder ();
585- //
586- // $this->setComments($comments);
587- // /**
588- // * When credit memo created with adding comment,
589- // * comments collection must be loaded before we added this comment.
590- // */
591- // $this->getComments()->load();
592585
593586 if ($ this ->getId ()) {
594587 foreach ($ collection as $ comment ) {
Original file line number Diff line number Diff line change 77// @codingStandardsIgnoreFile
88
99?>
10- <?php /*$_source = $block->getSource(); ?>
11- <?php $block->setPriceDataObject($_source) ?>
12- <?php if ($_source): ?>
13- <table width="100%">
14- <?= $block->getChildHtml('main') ?>
15- <?= $block->getChildHtml('footer') ?>
16- </table>
17- <?php endif;*/ ?>
1810<table class="data-table admin__table-secondary order-subtotal-table">
1911 <?php $ _totals = $ block ->getTotals ('footer ' )?>
2012
You can’t perform that action at this time.
0 commit comments