Skip to content

Instantly share code, notes, and snippets.

View jaymitchell's full-sized avatar

Jay Mitchell jaymitchell

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Select2 Test</title>
<script src="https://code.jquery.com/jquery-3.1.1.js" integrity="sha256-16cdPddA6VdVInumRGo6IbivbERE8p7CQR3HzTBuELA=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".js-example-basic-single").select2();
@jaymitchell
jaymitchell / department_employees_view.md
Created September 19, 2014 20:03
151519 Employee summary - YTD totals (Department employees)

My guess is that employee.hire_date will actually need to be employee.approximate_start_date (start date if present, otherwise the hire date).