fix the user ui, create delivery order, delivery customer dashboard

This commit is contained in:
omair saleh
2022-04-03 19:10:06 +08:00
parent 745655dbfa
commit c69c043576
60 changed files with 1528 additions and 556 deletions
+8
View File
@@ -36,6 +36,14 @@ class PackingList extends AbstractModel implements Transportable, Steppable, Pac
return $this->morphTo();
}
/**
* @return MorphMany
*/
public function addons(): morphMany
{
return $this->morphMany(Addon::class, 'owner');
}
public function containers(): BelongsToMany
{
return $this->BelongsToMany(Container::class, ContainerPackingList::class);