fannie/modules/plugins2.0/OverShortTools/OsEmpCountsPage.php
Method get_id_view
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_id_view()
{
$dateID = date('Ymd', strtotime($this->id));
$storeID = FormLib::get('store');
$empID = FormLib::get('emp');
Method post_id_view
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function post_id_view()
{
$settings = $this->config->get('PLUGIN_SETTINGS');
$dbc = FannieDB::get($settings['OverShortDatabase']);
$dateID = date('Ymd', strtotime($this->id));
Method get_view
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function get_view()
{
$stores = FormLib::storePicker();
$date = date('Y-m-d');
$this->addOnloadCommand("\$('input[name=emp]').focus();");