has(Contact::factory(5)) ->has(PackingSlip::factory(30)) ->has(ShippingEntry::factory(2)) ->create(); Customer::factory([ 'company_name' => 'Genumark', 'internal_name' => 'genumark', 'shipping_address' => '', 'billing_address' => '', ]) ->has(Contact::factory([ 'first_name' => 'Tammy', 'last_name' => 'Bookbinder', 'email' => 'tbookbinder@genumark.com', 'phone' => '+1 778 229 5668' ])) ->has(Contact::factory([ 'first_name' => 'Kathlyn', 'last_name' => 'Wood', 'email' => 'kwood@genumark.com', 'phone' => '+1 604 294 2376', 'notes' => 'Always CC, unless SOF order' ])) ->has(Contact::factory([ 'first_name' => 'Jane', 'last_name' => 'Wellman', 'email' => 'jwellman@genumark.com', 'phone' => '+1 604 742 5584', 'notes' => 'Deals with SOF orders' ])) ->has(Contact::factory([ 'first_name' => 'Trisha', 'last_name' => 'Miller', 'email' => 'tmiller@genumark.com', 'phone' => '+1 604 802 8486' ])) ->has(Contact::factory([ 'first_name' => 'Brenda', 'last_name' => 'Kuepfer', 'email' => 'bkuepfer@genumark.com', 'phone' => '+1 604 305 5002' ])) ->has(PackingSlip::factory(20)) ->has(ShippingEntry::factory([ 'account_title' => 'Genumark', 'courier' => 'UPS CampusShip', 'contact' => 'https://www.ups.com/lasso/login', 'account_username' => 'GenumarkTopNotch', 'account_password' => 'TopNotch@13579', 'info_needed' => 'Put PO on box', 'notify' => 'Various reps, CC Kathlyn Wood', 'notes' => 'For Save On Foods orders, see Genumark SOF' ])) ->has(ShippingEntry::factory([ 'account_title' => 'Genumark Save-On-Foods', 'courier' => 'UPS CampusShip', 'contact' => 'https://www.ups.com/lasso/login', 'account_username' => 'GenumarkTopNotch', 'account_password' => 'TopNotch@13579', 'info_needed' => 'Put PO on box', 'notify' => 'Jane Wellman', 'notes' => 'Don\'t CC Kathlyn for SOF orders' ])) ->has(Order::factory(10)) ->create(); User::factory()->create([ 'name' => 'Test User', 'email' => 'test@example.com', ]); } }