This file contains hidden or 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
$env = $app->detectEnvironment(function () use ($app) { | |
// Possible Environments: | |
// - local | |
// - test | |
// - stage | |
// - production (default) | |
var_dump(gethostname()); | |
preg_match("/karefirst\\/([a-z]+)/usm", __FILE__, $match); |
This file contains hidden or 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
public function up() | |
{ | |
$patientEvals = PatientEvaluation::all(); | |
foreach ($patientEvals as $eval) { | |
$eval->pfsh['social_history']['tobacco_use'] = | |
$eval->pfsh['social_history']['cigarette_use'] + ' - ' + | |
$eval->pfsh['social_history']['tobacco_use']; | |
$eval->save(); |
This file contains hidden or 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
setTimeout(function() { | |
if (screen.width <= 699) { | |
document.location = "http://m.visitstatesboroga.com/"; | |
} | |
}, 200); |
This file contains hidden or 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 savings = { | |
"AR": 3.5, | |
"AK": 0.4, | |
"AL": 8.2 | |
}; | |
function getSavings(state) { | |
return savings[state]; | |
} |