25 lines
625 B
PHP
Executable File
25 lines
625 B
PHP
Executable File
<?php
|
|
|
|
namespace IpSupply\QuoteIn\Block\Request;
|
|
|
|
class Create extends \Magento\Framework\View\Element\Template
|
|
{
|
|
protected function _prepareLayout()
|
|
{
|
|
return parent::_prepareLayout();
|
|
}
|
|
|
|
public function getWantToBuyId()
|
|
{
|
|
$want_to_buy_id = $this->getRequest()->getParam('want_to_buy_id');
|
|
return $want_to_buy_id;
|
|
}
|
|
|
|
public function getCustomer(){
|
|
$om = \Magento\Framework\App\ObjectManager::getInstance();
|
|
$customerSession = $om->get('Magento\Customer\Model\Session');
|
|
$customer = $customerSession->getCustomer();
|
|
return $customer;
|
|
}
|
|
}
|