funcion: notas de producto #36

Merged
atasistro merged 15 commits from funcion/notas-producto into master 2024-11-12 22:08:37 -03:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 9fc47513c2 - Show all commits

View file

@ -13,5 +13,6 @@ class DatabaseSeeder extends Seeder
public function run()
{
$this->call(CanastaSeeder::class);
$this->call(GrupoDeCompraSeeder::class);
}
}

View file

@ -31,14 +31,14 @@ class GrupoDeCompraSeeder extends Seeder
$usersToInsert[] = [
'name' => $registro['barrio'],
'password' => Hash::make($registro['barrio']),
'password' => Hash::make("asd"),
"is_admin" => 0,
'grupo_de_compra_id' => $key
];
$usersToInsert[] = [
'name' => $registro['barrio'] . "_admin",
'password' => Hash::make($registro['barrio'] . "admin"),
'password' => Hash::make("asd"),
"is_admin" => 1,
'grupo_de_compra_id' => $key
];