title: How to filter type to display in view
body: <p>I have a partners-customers table. Every record that is inserted whether is partner (type '1') or customer (type '2') has logo image and a checkbox to decide if the logo will be displayed in the homepage or not.</p>
  
  <p>The homepage has 2 different carousel slide to display partners and customers based on their type.</p>
  
  <p>How do I:</p>
  
  <ul>
  <li>Filter the type so that partners and customers will be displayed in their own carousel slide in blade view.</li>
  <li>Manage to display any partner/customer's logo with the checkbox (boolean, return 1 to display, 0 otherwise).</li>
  </ul>