mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-26 16:04:23 +00:00
marking container loading date as a timestamp in the modal
This commit is contained in:
@@ -15,6 +15,8 @@ class Container extends AbstractModel implements Transportable
|
||||
|
||||
protected $fillable = ['status'];
|
||||
|
||||
protected $dates = ['loading_date'];
|
||||
|
||||
public function packingLists(): belongsToMany
|
||||
{
|
||||
return $this->belongsToMany(PackingList::class, ContainerPackingList::class, 'container_id', 'packing_list_id');
|
||||
|
||||
Reference in New Issue
Block a user