This commit is contained in:
Ludovic CANDELLIER
2023-08-28 21:48:04 +02:00
parent 1cba52bb6d
commit f721422abc
11 changed files with 42 additions and 50 deletions

View File

@@ -23,11 +23,6 @@ class Order extends Model
return $this->belongsTo(Customer::class);
}
public function address()
{
return $this->belongsTo(CustomerAddress::class, 'customer_address_id');
}
public function delivery_address()
{
return $this->belongsTo(CustomerAddress::class, 'customer_delivery_id');