This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var AerobicPowerTable = function() { | |
this.copper2WithoutVO2 = { | |
masculino: [ | |
{idade_min: 13, idade_max: 19, valor_min: 931, valor_max: 20000, classificacao: "Muito Fraco", cor: "label label-weak"}, | |
{idade_min: 20, idade_max: 29, valor_min: 961, valor_max: 20000, classificacao: "Muito Fraco", cor: "label label-weak"}, | |
{idade_min: 30, idade_max: 39, valor_min: 991, valor_max: 20000, classificacao: "Muito Fraco", cor: "label label-weak"}, | |
{idade_min: 40, idade_max: 49, valor_min: 1051, valor_max: 20000, classificacao: "Muito Fraco", cor: "label label-weak"}, | |
{idade_min: 50, idade_max: 59, valor_min: 1141, valor_max: 20000, classificacao: "Muito Fraco", cor: "label label-weak"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.controller("HolidaysController", ['$rootScope', '$scope', '$modal', | |
'$http', '$ability', '$api', '$history', '$filter', '$messages', '$franchise', | |
function($rootScope, $scope, $modal, $http, $ability, $api, $history, $filter, $messages, $franchise) { | |
angular.extend(this, new BaseController($scope, $http, $ability, $history, $messages, $franchise, { | |
links: Links.generate("feriados"), | |
name: "Feriados", | |
objectClassName: "Holiday", | |
initialLoad: true, | |
binds: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class EvasionsController < ApplicationController | |
load_and_authorize_resource | |
def index | |
respond_to do |format| | |
format.pdf do | |
@evasions = Evasion.all(params[:dates], current_franchise_id) | |
html = render_to_string(:template => 'evasions/index.pdf.erb', :layout => "layouts/report_web.pdf.erb") | |
client = ClientPdf.landscape_client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
mysql: | |
container_name: mysql | |
image: mysql:5.7 | |
ports: | |
- "13306:3306" | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
healthcheck: |