This commit is contained in:
Ludovic CANDELLIER
2021-11-07 23:41:17 +01:00
parent dd396a86aa
commit f6668a6dd3
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()