mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-25 07:23:59 +00:00
Tiny improvement on business logic from test case
This commit is contained in:
@@ -65,6 +65,9 @@ class CreateVoucherifyCustomerObject implements DataTransferObject
|
||||
*/
|
||||
public function getAcquisitionChannel(): string
|
||||
{
|
||||
if(!$this->isNew){
|
||||
return "";
|
||||
}
|
||||
return $this->acquisitionChannel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user