title: Laravel - Query "with"
body: <p>I have a query where I need to get info from 2 tables. So I need to get invoices with the <code>invoice_status</code> 1, where the <code>user_status</code> is 1.
  I though I could query the Invoices table with the users table. When I <code>dd($invoices)</code> I do get the invoice with the users just fine...</p>
  <pre><code>$invoices = Invoice::with('user')-&gt;where('invoice_status', '=', 2)-&gt;get();
  </code></pre>
  <p>But I'm not sure sure how I can get the <code>users-&gt;account_statu</code>. I tried this but get a query error it can not find account_status.</p>
  <pre><code>$invoices = Invoice::with('user')-&gt;where('invoice_status', '=', 2)-&gt;where('account_status', '=', 1)-&gt;get();
  </code></pre>