@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use OroCRM\Bundle\ChannelBundle\Provider\RequestChannelProvider; |
6 | 6 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
7 | - |
|
8 | 7 | use Symfony\Component\Form\FormInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 9 | use Doctrine\Common\Persistence\ObjectManager; |
12 | 10 | |
13 | 11 | class LeadHandler |
@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormFactory; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | 8 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
10 | - |
|
11 | 9 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
12 | 10 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
13 | - |
|
14 | 11 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
15 | 12 | use OroCRM\Bundle\SalesBundle\Entity\LeadPhone; |
16 | 13 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | 6 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityBundle\Form\EntityField\Handler\Processor\AbstractEntityApiHandler; |
9 | 8 | use Oro\Bundle\EntityBundle\ORM\OroEntityManager; |
10 | 9 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | 6 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
7 | - |
|
8 | 7 | use Oro\Bundle\EntityBundle\Form\EntityField\Handler\Processor\AbstractEntityApiHandler; |
9 | 8 | use Oro\Bundle\EntityBundle\ORM\OroEntityManager; |
10 | 9 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Bundle\DoctrineBundle\Registry; |
6 | - |
|
7 | 6 | use Symfony\Component\PropertyAccess\PropertyAccess; |
8 | 7 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
9 | - |
|
10 | 8 | use Oro\Bundle\EntityBundle\Form\EntityField\Handler\Processor\AbstractEntityApiHandler; |
11 | 9 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
12 | 10 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\SalesBundle\Entity\LeadStatus; |
9 | 8 | |
10 | 9 | class LoadLeadStatusData extends AbstractFixture |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use OroCRM\Bundle\SalesBundle\Entity\OpportunityStatus; |
9 | 8 | |
10 | 9 | class LoadOpportunityStatusData extends AbstractFixture |
@@ -4,10 +4,8 @@ discard block |
||
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Schema\Schema; |
6 | 6 | use Doctrine\DBAL\Types\Type; |
7 | - |
|
8 | 7 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | - |
|
11 | 9 | use Oro\Bundle\MigrationBundle\Migration\OrderedMigrationInterface; |
12 | 10 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension; |
13 | 11 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtensionAwareInterface; |
@@ -18,7 +16,6 @@ discard block |
||
18 | 16 | use Oro\Bundle\EntityBundle\EntityConfig\DatagridScope; |
19 | 17 | use Oro\Bundle\EntityExtendBundle\Migration\OroOptions; |
20 | 18 | use Oro\Bundle\EntityExtendBundle\Migration\ExtendOptionsManager; |
21 | - |
|
22 | 19 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
23 | 20 | |
24 | 21 | class AddLeadStatus implements |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Model; |
4 | 4 | |
5 | 5 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
6 | - |
|
7 | 6 | use Doctrine\ORM\EntityManager; |
8 | - |
|
9 | 7 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
10 | 8 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
11 | 9 |