Skip to content
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2013 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Create\Totals;

Expand All @@ -10,7 +10,6 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Discount extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
Expand All @@ -24,9 +23,9 @@ class Discount extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2013 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Create\Totals;

Expand All @@ -10,21 +10,16 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Grandtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
{
/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/grandtotal.phtml';

/**
* Tax config
*
* @var \Magento\Tax\Model\Config
*/
protected $_taxConfig;
Expand All @@ -33,9 +28,9 @@ class Grandtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defa
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Create\Totals;

Expand All @@ -10,21 +10,16 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Shipping extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
{
/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/shipping.phtml';

/**
* Tax config
*
* @var \Magento\Tax\Model\Config
*/
protected $_taxConfig;
Expand All @@ -33,9 +28,9 @@ class Shipping extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2013 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Create\Totals;

Expand All @@ -10,21 +10,16 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Subtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
{
/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/subtotal.phtml';

/**
* Tax config
*
* @var \Magento\Tax\Model\Config
*/
protected $_taxConfig;
Expand All @@ -33,9 +28,9 @@ class Subtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Create\Totals;

use Magento\Store\Model\ResourceModel\Website\Collection;

/**
* Adminhtml sales order create totals table block
*
* @author Magento Core Team <[email protected]>
*/
class Table extends \Magento\Backend\Block\Template
{
/**
* Website collection
*
* @var Collection|null
*/
protected $_websiteCollection = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Create\Totals;

Expand All @@ -12,7 +12,6 @@
/**
* Tax Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Tax extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
Expand Down Expand Up @@ -42,8 +41,6 @@ public function __construct(
}

/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/tax.phtml';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Creditmemo;

Expand All @@ -11,14 +11,11 @@
* Adminhtml order creditmemo totals block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Totals extends \Magento\Sales\Block\Adminhtml\Totals
{
/**
* Creditmemo
*
* @var Creditmemo|null
*/
protected $_creditmemo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Creditmemo;

/**
* Adminhtml creditmemo view
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class View extends \Magento\Backend\Block\Widget\Form\Container
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Creditmemo\View;

/**
* Adminhtml sales shipment comment view block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Comments extends \Magento\Backend\Block\Text\ListText
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Creditmemo\View;

/**
* Creditmemo view form
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Invoice\Create;

Expand All @@ -12,7 +12,6 @@
* Adminhtml invoice create form
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Invoice;

Expand All @@ -12,7 +12,6 @@
* Adminhtml order invoice totals block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Totals extends \Magento\Sales\Block\Adminhtml\Totals
Expand Down
9 changes: 2 additions & 7 deletions app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/

namespace Magento\Sales\Block\Adminhtml\Order\Invoice;
Expand All @@ -10,7 +10,6 @@
* Adminhtml invoice create
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class View extends \Magento\Backend\Block\Widget\Form\Container
Expand All @@ -23,15 +22,11 @@ class View extends \Magento\Backend\Block\Widget\Form\Container
protected $_session;

/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;

/**
* Backend session
*
* @var \Magento\Backend\Model\Auth\Session
*/
protected $_backendSession;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2011 Adobe
* All Rights Reserved.
*/
namespace Magento\Sales\Block\Adminhtml\Order\Invoice\View;

/**
* Adminhtml sales shipment comment view block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Comments extends \Magento\Backend\Block\Text\ListText
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Loading