This commit is contained in:
Ludovic CANDELLIER
2021-11-07 23:41:17 +01:00
parent 63c6671c97
commit 323330b1a1
4 changed files with 22 additions and 16 deletions

View File

@@ -19,9 +19,9 @@ class Customer extends Model
return $this->hasMany(Invoice::class);
}
public function Deliveries()
public function Delivery()
{
return $this->hasMany(Delivery::class);
return $this->belongsTo(Delivery::class);
}
public function Orders()