mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-30 09:53:56 +00:00
Major incomplete Change
This commit is contained in:
@@ -2,21 +2,14 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Spatie\Activitylog\Traits\LogsActivity;
|
||||
|
||||
class Order extends Model
|
||||
class Order extends AbstractModel
|
||||
{
|
||||
use LogsActivity;
|
||||
|
||||
protected $table = 'orders';
|
||||
|
||||
protected $fillable = [
|
||||
'company_id', 'marking', 'forwarder_id', 'supplier_id', 'warehouse_id', 'current_step', 'complete'
|
||||
];
|
||||
|
||||
protected static $logFillable = true;
|
||||
|
||||
public function orderSteps()
|
||||
{
|
||||
return $this->hasMany(OrderStep::class, 'order_id');
|
||||
|
||||
Reference in New Issue
Block a user