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:
2026-10-19 13:30:36 +08:00
committed by ismailmasseran
parent b1d393b1a1
commit e29a5891c8
196 changed files with 18243 additions and 19520 deletions
+5 -3
View File
@@ -8,6 +8,7 @@ use Illuminate\Database\Eloquent\Model;
class DataKpi extends Model
{
use HasFactory;
protected $table = 'datakpi';
protected $fillable = [
@@ -38,10 +39,11 @@ class DataKpi extends Model
public function cawangan()
{
return $this->belongsTo(Cawangan::class, 'caw_id','id');
return $this->belongsTo(Cawangan::class, 'caw_id', 'id');
}
public function cawanganKpi(){
return $this->hasOne(CawanganKpi::class, 'caw_id','caw_id');
public function cawanganKpi()
{
return $this->hasOne(CawanganKpi::class, 'caw_id', 'caw_id');
}
}