Se terminó de crear los controladores con los métodos CRUD básicos. Lo siguiente es empezar a programar los métodos especificos de cada controlador
This commit is contained in:
@@ -12,10 +12,17 @@ class BajaSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$credencial = [
|
||||
'dni' => '40987654',
|
||||
'correo' => 'ficticio@gmail.com',
|
||||
'persona_id' =>
|
||||
]
|
||||
$bajas = [
|
||||
['motivo' => 'Cliente no responde'],
|
||||
['motivo' => 'Servicio cancelado'],
|
||||
];
|
||||
|
||||
foreach ($bajas as $baja) {
|
||||
DB::table('bajas')->insert([
|
||||
'motivo' => $baja['motivo'],
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user