-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'git-36981/no-author/customer-01' into b…
…luetooth_delivery
- Loading branch information
Showing
22 changed files
with
8 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ | |
* Customer address book block | ||
* | ||
* @api | ||
* @author Magento Core Team <[email protected]> | ||
* @since 100.0.2 | ||
*/ | ||
class Book extends \Magento\Framework\View\Element\Template | ||
|
@@ -167,6 +166,7 @@ public function getAdditionalAddresses() | |
try { | ||
$addresses = $this->addressesGrid->getAdditionalAddresses(); | ||
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) { | ||
return false; | ||
} | ||
return empty($addresses) ? false : $addresses; | ||
} | ||
|
@@ -198,6 +198,7 @@ public function getCustomer() | |
try { | ||
$customer = $this->currentCustomer->getCustomer(); | ||
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) { | ||
return null; | ||
} | ||
return $customer; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
* Address renderer interface | ||
* | ||
* @api | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
interface RendererInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,16 @@ | |
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Magento\Customer\Block\Adminhtml\Form\Element; | ||
|
||
/** | ||
* Customer Widget Form Boolean Element Block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Block\Adminhtml\Form\Element; | ||
|
||
class Boolean extends \Magento\Framework\Data\Form\Element\Select | ||
{ | ||
/** | ||
* Prepare default SELECT values | ||
* | ||
* @return void | ||
*/ | ||
protected function _construct() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
|
||
/** | ||
* Customer Widget Form File Element Block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class File extends \Magento\Framework\Data\Form\Element\AbstractElement | ||
{ | ||
|
@@ -18,8 +16,6 @@ class File extends \Magento\Framework\Data\Form\Element\AbstractElement | |
protected $_assetRepo; | ||
|
||
/** | ||
* Adminhtml data | ||
* | ||
* @var \Magento\Backend\Helper\Data | ||
*/ | ||
protected $_adminhtmlData = null; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Widget Form Image File Element Block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Block\Adminhtml\Form\Element; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
|
||
/** | ||
* Country customer grid column filter | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Country extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Select | ||
{ | ||
|
@@ -34,6 +32,8 @@ public function __construct( | |
} | ||
|
||
/** | ||
* Return options | ||
* | ||
* @return array | ||
*/ | ||
protected function _getOptions() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ | |
|
||
/** | ||
* Adminhtml customers wishlist grid item action renderer for few action controls in one cell | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Multiaction extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Action | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Adminhtml customers group page content block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Block\Adminhtml; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ | |
|
||
/** | ||
* VAT ID element renderer | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Vat extends \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Adminhtml VAT ID validation block | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Block\Adminhtml\System\Config; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
* Customer login form block | ||
* | ||
* @api | ||
* @author Magento Core Team <[email protected]> | ||
* @since 100.0.2 | ||
*/ | ||
class Login extends \Magento\Framework\View\Element\Template | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
|
||
/** | ||
* VAT validation controller | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
abstract class Validatevat extends \Magento\Backend\App\Action | ||
{ | ||
|
@@ -17,7 +15,7 @@ abstract class Validatevat extends \Magento\Backend\App\Action | |
* | ||
* @see _isAllowed() | ||
*/ | ||
const ADMIN_RESOURCE = 'Magento_Customer::manage'; | ||
public const ADMIN_RESOURCE = 'Magento_Customer::manage'; | ||
|
||
/** | ||
* Perform customer VAT ID validation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Address Form Model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Model\Address; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
|
||
/** | ||
* Boolean customer attribute backend model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Boolean extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Attribute Abstract Data Model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Model\Attribute\Data; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Attribute Boolean Data Model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Model\Attribute\Data; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Attribute Date Data Model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Model\Attribute\Data; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Attribute File Data Model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Model\Attribute\Data; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Attribute Hidden text Data Model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Model\Attribute\Data; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ | |
|
||
/** | ||
* Customer Attribute Image File Data Model | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
namespace Magento\Customer\Model\Attribute\Data; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
|
||
/** | ||
* Customer group collection | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ | |
|
||
/** | ||
* Flat customer online grid collection | ||
* | ||
* @author Magento Core Team <[email protected]> | ||
*/ | ||
class Collection extends SearchResult | ||
{ | ||
|