hasMany(PenawaranDetailTender::class, 'penawaran_id', 'id')->where('status', '=', 1); } // andy add }