@@ -3,12 +3,9 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Controller\Dashboard; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | - |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
9 | - |
|
10 | 8 | use Oro\Bundle\WorkflowBundle\Model\WorkflowManager; |
11 | - |
|
12 | 9 | use OroCRM\Bundle\SalesBundle\Entity\Repository\SalesFunnelRepository; |
13 | 10 | |
14 | 11 | class DashboardController extends Controller |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | 6 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
7 | - |
|
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
11 | - |
|
12 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
13 | 11 | use OroCRM\Bundle\SalesBundle\Entity\LeadAddress; |
14 | 12 | use OroCRM\Bundle\SalesBundle\Entity\Lead; |
@@ -3,16 +3,13 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Dashboard\Provider; |
4 | 4 | |
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | - |
|
7 | 6 | use Oro\Component\DoctrineUtils\ORM\QueryUtils; |
8 | - |
|
9 | 7 | use Oro\Bundle\DashboardBundle\Filter\DateFilterProcessor; |
10 | 8 | use Oro\Bundle\DashboardBundle\Model\WidgetOptionBag; |
11 | 9 | use Oro\Bundle\EntityExtendBundle\Entity\Repository\EnumValueRepository; |
12 | 10 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
13 | 11 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
14 | 12 | use Oro\Bundle\UserBundle\Dashboard\OwnerHelper; |
15 | - |
|
16 | 13 | use OroCRM\Bundle\SalesBundle\Entity\Repository\OpportunityRepository; |
17 | 14 | |
18 | 15 | class OpportunityByStatusProvider |
@@ -3,7 +3,6 @@ discard block |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
8 | 7 | use Oro\Bundle\EmailBundle\Model\EmailHolderInterface; |
9 | 8 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
@@ -12,7 +11,6 @@ discard block |
||
12 | 11 | use Oro\Bundle\UserBundle\Entity\User; |
13 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
14 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
15 | - |
|
16 | 14 | use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait; |
17 | 15 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
18 | 16 | use OroCRM\Bundle\SalesBundle\Model\ExtendOpportunity; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | 6 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 7 | use Oro\Component\DoctrineUtils\ORM\QueryUtils; |
9 | 8 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
10 | 9 |
@@ -4,14 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | 6 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 7 | use Oro\Bundle\DashboardBundle\Filter\DateFilterProcessor; |
9 | 8 | use Oro\Bundle\DataAuditBundle\Loggable\LoggableManager; |
10 | 9 | use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper; |
11 | 10 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
12 | 11 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
13 | 12 | use Oro\Component\DoctrineUtils\ORM\QueryUtils; |
14 | - |
|
15 | 13 | use OroCRM\Bundle\SalesBundle\Entity\Opportunity; |
16 | 14 | |
17 | 15 | /** |
@@ -3,14 +3,12 @@ |
||
3 | 3 | namespace OroCRM\Bundle\SalesBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | - |
|
7 | 6 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
8 | 7 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomerEmail; |
9 | 8 | use OroCRM\Bundle\SalesBundle\Validator\B2bCustomerEmailDeleteValidator; |
10 | 9 | use Symfony\Component\Form\FormInterface; |
11 | 10 | use Symfony\Component\HttpFoundation\Request; |
12 | 11 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
13 | - |
|
14 | 12 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
15 | 13 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
16 | 14 |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
6 | 6 | use OroCRM\Bundle\ChannelBundle\Provider\RequestChannelProvider; |
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 B2bCustomerHandler |
@@ -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\FormInterface; |
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\B2bCustomer; |
15 | 12 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomerPhone; |
16 | 13 | use OroCRM\Bundle\SalesBundle\Validator\B2bCustomerPhoneDeleteValidator; |