mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
added company, warehouse, contact seeder
This commit is contained in:
@@ -6,8 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Deliveryinfo extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'id',
|
||||
protected $fillable = [
|
||||
|
||||
'branch',
|
||||
'deli_info',
|
||||
'address',
|
||||
@@ -20,10 +20,10 @@ class Deliveryinfo extends Model
|
||||
'com_id'
|
||||
];
|
||||
|
||||
public function company() {
|
||||
public function company(){
|
||||
|
||||
return $this->belongsTo('App\Company');
|
||||
|
||||
}
|
||||
return $this->belongsTo(App/Company);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user