Merge branch 'master' into 'remark-create-api'

# Conflicts:
#   app/Models/Container.php
#   app/Models/PackingList.php
#   routes/order.php
#   routes/packing_list.php
This commit is contained in:
omair saleh
2021-11-26 07:23:35 +00:00
139 changed files with 4292 additions and 579 deletions
+7
View File
@@ -64,4 +64,11 @@ class PackingList extends AbstractModel implements Transportable, Steppable
return $this->morphMany(Remark::class, 'owner');
}
/**
* @return belongsToMany
*/
public function packing_list_owner()
{
return $this->BelongsToMany(PackingList::class, 'packing_list_owner', 'owner_packing_list_id', 'packing_list_id');
}
}