Commit de917d6a authored by alissonalbuquerque's avatar alissonalbuquerque
Browse files

add correções

parent 5cc99ba6
......@@ -2,7 +2,7 @@
namespace App\Http\Controllers;
use App\Models\PAD;
use App\Models\Pad;
use App\Models\Tabelas\Constants;
use App\Models\UserPad;
use App\Models\Util\Menu;
......@@ -38,12 +38,12 @@ class DashboardController extends Controller
if($user->isTypeDirector())
{
return view('dashboard', ['PADs' => PAD::all(), 'menu'=> Menu::HOME]);
return view('dashboard', ['PADs' => Pad::all(), 'menu'=> Menu::HOME]);
}
if($user->isTypeCoordinator())
{
return view('dashboard', ['PADs' => PAD::all(), 'menu'=> Menu::HOME]);
return view('dashboard', ['PADs' => Pad::all(), 'menu'=> Menu::HOME]);
}
if($user->isTypeEvaluator())
......
......@@ -4,7 +4,7 @@ namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\PAD;
use App\Models\Pad;
use App\Models\Tabelas\Constants;
use App\Models\User;
use App\Models\UserPad;
......
......@@ -15,7 +15,7 @@ class Avaliacao extends Model
public function tarefa() {
//return $this->belongsTo(PAD::class);
//return $this->belongsTo(Pad::class);
}
public function avaliadorPad() {
......
......@@ -17,7 +17,7 @@ class PadQuery extends CustomQuery
/**
* @param integer $id
* @param string $expression
* @return PAD|null
* @return Pad|null
*/
public function whereUnidadeId(int $id, string $expression = '=')
{
......
......@@ -2,7 +2,7 @@
namespace Database\Seeders;
use App\Models\PAD;
use App\Models\Pad;
use App\Models\User;
use App\Models\Util\Status;
use Illuminate\Database\Seeder;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment