shuffle()->first(); return [ 'created_at' => Carbon::now()->subDays(rand(1, 30)), 'gst' => true, 'pst' => $this->faker->boolean(25), 'status' => $this->faker->randomElement(InvoiceStatus::cases())->value, 'paid' => $this->faker->boolean(), 'customer_id' => $customer->id, 'updated_at' => Carbon::now(), ]; } }