Remove order customer phone
This commit is contained in:
parent
93aa14e969
commit
142769a984
|
|
@ -61,14 +61,6 @@ class Order extends Model implements OrderContract
|
||||||
return $this->customer_first_name . ' ' . $this->customer_last_name;
|
return $this->customer_first_name . ' ' . $this->customer_last_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the customer email
|
|
||||||
*/
|
|
||||||
public function getCustomerEmailAttribute(): string
|
|
||||||
{
|
|
||||||
return $this->customer()->phone;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the status label from status code
|
* Returns the status label from status code
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue