seeder magasin générique

This commit is contained in:
Olivier Legat 2021-04-28 14:25:24 +02:00
parent f8fc0e0ebe
commit bf2794f1e7

View file

@ -15,12 +15,12 @@ class MagasinsSeeder extends Seeder
public function run()
{
$shop = new Magasin();
$shop->name = 'Boutique du Canard';
$shop->address = 'ZI Le Moulin du Lay';
$shop->postcode = '56660';
$shop->city = 'Saint-Jean-Brévelay';
$shop->gmaps_embed_href = "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1338.6273890542313!2d-2.72895304171439!3d47.85402879462169!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x481027805e253b01%3A0x9238845cc1430920!2sCELVIA%20Centre%20d'Elaboration%20des%20Viandes!5e0!3m2!1sfr!2sfr!4v1619018555708!5m2!1sfr!2sfr";
$shop->gmaps_link_href = 'https://goo.gl/maps/CPWELAXDLHAbUsgeA';
$shop->name = 'Point de retrait';
$shop->address = 'l\'adresse';
$shop->postcode = '72000';
$shop->city = 'Le Mans';
$shop->gmaps_embed_href = "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d5338.425979915083!2d0.1977634707405403!3d48.00959481914027!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47e288cfcdc1a263%3A0x7acf6d8dc923c25a!2zQ2l0w6kgUGxhbnRhZ2Vuw6p0!5e0!3m2!1sfr!2sfr!4v1619612657653!5m2!1sfr!2sfr";
$shop->gmaps_link_href = 'https://goo.gl/maps/sxuj7FevRSHsDb8MA';
$shop->save();
}
}