Example #1
0
 public function form_content()
 {
     return FormLib::dateAndDepartmentForm();
 }
Example #2
0
 public function form_content()
 {
     $form = FormLib::dateAndDepartmentForm();
     /** add one extra field **/
     $checkbox = '<div class=col-sm-5>' . '<label><input type=checkbox name=includeSales value=1 />' . ' Include Sale Items</label>' . '</div>';
     $this->add_onload_command("\$('#date-dept-form-left-col').after('{$checkbox}');\n");
     return $form;
 }