Bugfix/list clickup issue (#5)
Reviewed-on: #5 Co-authored-by: ISMAIL MASSERAN <ismail@koppkb.com> Co-committed-by: ISMAIL MASSERAN <ismail@koppkb.com>
This commit was merged in pull request #5.
This commit is contained in:
@@ -40,20 +40,22 @@ class LelongBid extends Model
|
||||
'fasa',
|
||||
'tagujrah',
|
||||
'ujrah',
|
||||
'onepercent'
|
||||
'onepercent',
|
||||
];
|
||||
|
||||
public function cawangan()
|
||||
{
|
||||
return $this->belongsTo(Cawangan::class, 'caw_id','id');
|
||||
return $this->belongsTo(Cawangan::class, 'caw_id', 'id');
|
||||
}
|
||||
|
||||
public function lelongbidder() {
|
||||
return $this->hasOne(LelongBidder::class,'lelongbid_id', 'id' );
|
||||
public function lelongbidder()
|
||||
{
|
||||
return $this->hasOne(LelongBidder::class, 'lelongbid_id', 'id');
|
||||
}
|
||||
|
||||
public function cawanganLelong(){
|
||||
return $this->hasOne(CawanganLelong::class, 'caw_id','caw_id');
|
||||
public function cawanganLelong()
|
||||
{
|
||||
return $this->hasOne(CawanganLelong::class, 'caw_id', 'caw_id');
|
||||
}
|
||||
|
||||
public function fileMarhunMain()
|
||||
@@ -100,6 +102,7 @@ class LelongBid extends Model
|
||||
{
|
||||
return $this->hasOne(LelongBidder::class, 'lelongbid_id', 'id')->where('status_bidder', 1);
|
||||
}
|
||||
|
||||
public function scanjual()
|
||||
{
|
||||
return $this->belongsTo(ScanJual::class, 'id', 'lelongbid_id');
|
||||
|
||||
Reference in New Issue
Block a user