One Line And One Line Removed
This commit is contained in:
parent
a05fa10309
commit
70dc89ad41
|
|
@ -39,13 +39,13 @@ class CustomerRepository extends Repository
|
||||||
public function checkBulkCustomerIfTheyHaveOrderPendingOrProcessing($customerIds)
|
public function checkBulkCustomerIfTheyHaveOrderPendingOrProcessing($customerIds)
|
||||||
{
|
{
|
||||||
foreach ($customerIds as $customerId) {
|
foreach ($customerIds as $customerId) {
|
||||||
|
|
||||||
$customer = $this->findorFail($customerId);
|
$customer = $this->findorFail($customerId);
|
||||||
|
|
||||||
if ($this->checkIfCustomerHasOrderPendingOrProcessing($customer)) {
|
if ($this->checkIfCustomerHasOrderPendingOrProcessing($customer)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue