I hereby claim:
- I am isaiahdw on github.
- I am isaiahdw (https://keybase.io/isaiahdw) on keybase.
- I have a public key ASBpjDAjaHIrw9hNTVAnUsOJa_Ugi1jDvUwBvkuaaXqsSwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| SELECT s.supplier_number, s.supplier_name, s.`country_of_company` , s.`region` , s.`country_of_company_name` , s.payment_term_key, s.po_spend, s.non_po_spend, s.total_po_spend, s.henkel_entity_name, s.supplier_master_basket_number, COUNT( DISTINCT s.payment_term_key ) AS total_terms, GROUP_CONCAT(s.payment_term_key) as terms FROM data_real s | |
| GROUP BY s.supplier_name | |
| HAVING total_terms > 2 |
| // Filename: router.js | |
| define([ | |
| "backbone", | |
| "views/optimization/index", | |
| "views/dashboard/index", | |
| "views/report/key_value_drivers", | |
| "views/report/valuation", | |
| "views/header/valuation" | |
| ], function ( | |
| Backbone, |
| /** | |
| * Attach a file reader to config. Multiple readers are supported. | |
| */ | |
| Kohana::$config = new Config; | |
| Kohana::$config->attach(new Config_File); | |
| /** | |
| * Attach the environment specific configuration file reader to config if not in production. | |
| */ |
| /** | |
| * Application bootstrap file. This makes sure all the files that are | |
| * needed are loaded correctly. | |
| */ | |
| require.config({ | |
| baseUrl: Kohana.media_url + "/js/app", | |
| paths: { | |
| underscore: "../../packages/underscore-min", | |
| backbone: "../../packages/backbone", | |
| mustache: "../../packages/mustache/mustache", |
| define([ | |
| 'backbone', | |
| 'mustache', | |
| 'text!templates/optimization/index.mustache', | |
| 'views/optimization/sidebar' | |
| ], function (Backbone, Mustache, Template, Sidebar) { | |
| return Backbone.View.extend({ | |
| el: $("#page_optimization"), |
| static $types = array( | |
| // SQL-92 | |
| 'bit' => array( | |
| 'type' => 'string', 'exact' => TRUE | |
| ), | |
| 'something else' => array( | |
| 'type' => 'string', 'exact' => TRUE | |
| ),.... |
| <script type="text/html" id="sidebar-value-calculationsApp"> | |
| <div id="value-calculations"> | |
| <h2>Value Calculations</h2> | |
| <div class="your-current-performance"> | |
| <h3>Current Performance</h3> | |
| {{#current}} | |
| <table> | |
| <tr> |
| App = { | |
| baseurl: Kohana.base_url, | |
| initialize: function(){ | |
| this.routes = new this.Router; | |
| Backbone.history.start({pushState: true}); | |
| } |
| var View_Optimization_Sidebar = Backbone.View.extend({ | |
| el: $(".sidebar-content"), | |
| template: "#sidebar-value-calculationsApp", | |
| events: { | |
| "click": "button_clicked" | |
| }, |