title: Laravel Where Not Equal To x 2
body: <p>I have a model which I'm trying to query using eloquent.</p>
  
  <p>In my table I have the following columns.</p>
  
  <pre><code>Order ID
  Invoiced -&gt; default(0)
  Delivered -&gt; default(0)
  </code></pre>
  
  <p>I want to query this table and only show orders where not invoiced and not delivered but can show orders where are delivered but not invoiced or are invoiced but not delivered.</p>
  
  <p>How would I do this in Eloquent?</p>
  
  <p>Here's my code:</p>
  
  <pre><code>$orders = Order::where('delivered', '&lt;&gt;', 1)-&gt;where('invoiced', '&lt;&gt;', 1)-&gt;get();
  </code></pre>
  
  <p>The above works however when I update an order to delivered but the invoice is still outstanding this removes the order from the list.</p>
  
  <p>I want to exclude all orders where the are complete i.e. delivered and invoiced.</p>