Sindbad~EG File Manager

Current Path : /var/www/html/performance.sumar.com.py/app/Http/Livewire/
Upload File :
Current File : /var/www/html/performance.sumar.com.py/app/Http/Livewire/Showrespuesta.php

<?php

namespace App\Http\Livewire;

use Livewire\Component;
use App\Models\Respuesta;
use DB;

class Showrespuesta extends Component{
    
	public $interrogante_id,$asignacionid,$tipo;

    public function render(){

    	$competencia = DB::table('interrogantes as i')
    		->join('competencias as c','i.competencia_id','c.id')
    		->select('c.*','i.int_tipo')
    		->where('i.id',$this->interrogante_id)
    		->first();

    	$respuestaint = Respuesta::where('interrogante_id',$this->interrogante_id)->where('asignacion_id',$this->asignacionid)->first();

        return view('livewire.showrespuesta.index',["respuestaint"=>$respuestaint,"competencia"=>$competencia,"tipo"=>$this->tipo]);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists