[WIP] Finish the order process

This commit is contained in:
Ludovic CANDELLIER
2022-08-18 18:20:44 +02:00
parent d423fce4f5
commit c22b10dd10
28 changed files with 375 additions and 245 deletions

View File

@@ -8,12 +8,12 @@ class Order extends Model
{
protected $guarded = ['id'];
public function Customer()
public function customer()
{
return $this->belongsTo(Customer::class);
}
public function Payments()
public function payments()
{
return $this->hasMany(OrderPayment::class);
}