mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-25 15:33:58 +00:00
Major incomplete Change
This commit is contained in:
@@ -2,22 +2,16 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Spatie\Activitylog\Traits\LogsActivity;
|
||||
|
||||
class PackingList extends Model
|
||||
class PackingList extends AbstractModel
|
||||
{
|
||||
|
||||
use LogsActivity;
|
||||
|
||||
protected $table = 'packing_lists';
|
||||
|
||||
protected $fillable = [
|
||||
'order_id', 'reference_no', 'confirmed'
|
||||
];
|
||||
|
||||
protected static $logFillable = true;
|
||||
|
||||
public function packages()
|
||||
{
|
||||
return $this->hasMany(Package::class, 'list_id');
|
||||
|
||||
Reference in New Issue
Block a user