diff --git a/src/Command/CreateCustomerFromWarrantyCommand.php b/src/Command/CreateCustomerFromWarrantyCommand.php index 203fac6f..5ffe3a46 100644 --- a/src/Command/CreateCustomerFromWarrantyCommand.php +++ b/src/Command/CreateCustomerFromWarrantyCommand.php @@ -217,7 +217,7 @@ class CreateCustomerFromWarrantyCommand extends Command $new_cust->setFirstName($w_first_name) ->setLastName($w_last_name) ->setPhoneMobile($w_mobile_num) - ->setCreateSource('CMB_CreateFromCustomerWarranty'); + ->setCreateSource('CMB_CreateCustomerFromWarranty'); $this->em->persist($new_cust); diff --git a/src/Controller/CAPI/CustomerController.php b/src/Controller/CAPI/CustomerController.php index 36dbba24..9148321e 100644 --- a/src/Controller/CAPI/CustomerController.php +++ b/src/Controller/CAPI/CustomerController.php @@ -15,8 +15,6 @@ use App\Entity\Customer; use App\Entity\CustomerVehicle; use App\Entity\Vehicle; -use App\Ramcar\CustomerSource; - use Catalyst\APIBundle\Access\Generator as ACLGenerator; class CustomerController extends APIController