Modificacion de prospecto a alumno y asignacion de grupos, coordinacion académica

This commit is contained in:
2026-03-23 15:48:23 -06:00
parent 58e27fc5fc
commit 1bcebeb8a1
43 changed files with 1551 additions and 96 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
namespace Database\Seeders;
use App\Models\Plan;
use Illuminate\Database\Seeder;
class PlanSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$plan1=Plan::create([
'name'=> 'Bachillerato',
'rvoe'=>'1234567890',
'duracion'=>6,
'duration_id'=>1,
'nivel'=>1,
'carrera'=>2
]);
$plan1->planesPlantel()->sync([1,2,3]);
$plan2=Plan::create([
'name'=> 'Licenciatura',
'rvoe'=>'1234567890',
'duracion'=>10,
'duration_id'=>2,
'nivel'=>2,
'carrera'=>14
]);
$plan2->planesPlantel()->sync([1,2,3]);
}
}