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:
+10
-9
@@ -19,7 +19,7 @@ class Lelong extends Model
|
||||
'harga_emas_asas',
|
||||
'jbg',
|
||||
'cajlelong',
|
||||
'sts_lelong'
|
||||
'sts_lelong',
|
||||
];
|
||||
|
||||
public function cawangan()
|
||||
@@ -32,18 +32,18 @@ class Lelong extends Model
|
||||
return $this->hasMany(CawanganLelong::class, 'lelong_id');
|
||||
}
|
||||
|
||||
public function lelongBid()
|
||||
{
|
||||
public function lelongBid()
|
||||
{
|
||||
return $this->hasMany(LelongBid::class, 'lelong_id', 'id');
|
||||
}
|
||||
|
||||
public function lelongBidJual()
|
||||
{
|
||||
public function lelongBidJual()
|
||||
{
|
||||
return $this->hasMany(LelongBid::class, 'lelong_id', 'id')->where('status_jual', 1);
|
||||
}
|
||||
|
||||
public function lelongBidBelumSemak()
|
||||
{
|
||||
public function lelongBidBelumSemak()
|
||||
{
|
||||
return $this->hasMany(LelongBid::class, 'lelong_id', 'id')->where('status_semak', 0);
|
||||
}
|
||||
|
||||
@@ -61,8 +61,9 @@ class Lelong extends Model
|
||||
{
|
||||
return $this->hasMany(Pengesahan::class, 'lelong_id', 'id')->whereNotNull('disahkan_oleh');
|
||||
}
|
||||
public function scanjual()
|
||||
{
|
||||
|
||||
public function scanjual()
|
||||
{
|
||||
return $this->hasMany(ScanJual::class, 'lelong_id', 'id')->where('serahkpdpembida', 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user