anchor.diff:    </table>
   </div>
   
  -<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#order_details_modal">
  -  Order Details
  -</button>
  +<script type="text/javascript">
  +var ORDERS = {
  +  "140186": {
  +    order_id: 140186,
  +    date_received: "1/20/2016",
  +    organization_name: "Stanford Hospital",
  +    status: "Pending",
  +    order_details: {
  +      "Blankets": 20,
  +      "Hats": 15,
  +      "T-Shirts": 10
  +    }
  +  },
  +  "140185": {
  +    order_id: 140185,
  +    date_received: "1/20/2016",
  +    organization_name: "Kaiser Permanente Mountain View",
  +    status: "Pending",
  +    order_details: {
  +      "Blankets": 2,
  +      "Hats": 2,
  +      "T-Shirts": 2
  +    }
  +  }
  +};
  +</script>
  +
   
   <!-- Order Details Modal -->
   <div class="modal fade" id="order_details_modal" role="dialog">
  
positive.code:         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
          <h4 class="modal-title">Order 140186</h4>
        </div>
        <div class="modal-body">
          <table class="table">
            <tbody>
              <tr>
                <td><strong>Organization:</strong></td>
                <td>Stanford</td>
              </tr>
              <tr>
                <td><strong>Received:</strong></td>
                <td>1/20/2016</td>
              </tr>
              <tr>
                <td><strong>Status:</strong></td>
                <td>Pending</td>
              </tr>
            </tbody>
          </table>
  
negative.code: <h2>Garment Orders</h2>
  
  <%= render "common/tabs", active: 'orders' %>
  
  <style type="text/css">
  .order {
    cursor: pointer;
  }
  </style>
  
  <script type="text/javascript">
  function populateOrderDetailsModal(orderId) {
    var orderInfo = ORDERS[orderId];
  
    $("#order_id").text(orderInfo['order_id']);
    $("#date_received").text(orderInfo['date_received']);
  
    $("#organization_name").text(orderInfo['organization_name']);
    $("#status").text(orderInfo['status']);
  
    var orderDetails = orderInfo['order_details'];
    var html = [];
    $.each(orderDetails, function(key, val) {
      html.push("<tr><td>" + key + "</td><td>" + val + "</td></tr>");
    });
    $("#order-details").html(html.join(""));
  
    $("#order_details_modal").modal();
  }
  
  $(function() {
    $(".order").on("click", function() {
      populateOrderDetailsModal($(this).data("order-id"));
    });
  });
  </script>
  
  <div class="well">
    <div style="float:right;">
  