DONE: whatsapp api integration, fix linter using laravel pint, fix issue on invoice not found

This commit is contained in:
2026-10-19 12:22:45 +08:00
parent 14d793e0f4
commit 6a49aa7d4d
165 changed files with 15890 additions and 16858 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');
}
}