add offers count, & minor fixes code standards

This commit is contained in:
Ludovic CANDELLIER
2021-11-01 16:26:31 +01:00
parent 8aaab4345f
commit ae20643879
66 changed files with 526 additions and 574 deletions

View File

@@ -14,7 +14,7 @@ class Delivery extends Model
return $this->hasMany(Customer::class);
}
public function SaleChannel()
public function sale_channel()
{
return $this->belongsTo(SaleChannel::class);
}