mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-27 00:14:16 +00:00
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:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user