예제 #1
0
 function _output($format = NULL)
 {
     if ($format == 'pdf_form' or $format == 'pdf_form_government' or ($format == 'pdf_form_print' or $format == 'pdf_form_print_government') or $format == 'efile_xml') {
         return $this->_outputPDFForm($format);
     } else {
         return parent::_output($format);
     }
 }
 function _output($format = NULL)
 {
     //Individual Schedules
     //Group - Combined (all branch/department combined together)
     //Group - Separated (branch/department all separated.)
     if (in_array($format, $this->special_output_format)) {
         return $this->_outputPDFSchedule($format);
     } else {
         return parent::_output($format);
     }
 }
 function _output($format = NULL)
 {
     $psf = TTnew('PayStubFactory');
     $export_type_options = Misc::trimSortPrefix($psf->getOptions('export_general_ledger'));
     Debug::Arr($export_type_options, 'Format: ' . $format, __FILE__, __LINE__, __METHOD__, 10);
     if (isset($export_type_options[$format])) {
         return $this->_outputExportGeneralLedger($format);
     } else {
         return parent::_output($format);
     }
 }
 function _output($format = NULL)
 {
     $psf = TTnew('PayStubFactory');
     $export_type_options = Misc::trimSortPrefix($psf->getOptions('export_type'));
     //Debug::Arr($export_type_options, 'Format: '. $format, __FILE__, __LINE__, __METHOD__,10);
     if ($format == 'pdf_employee_pay_stub' or $format == 'pdf_employee_pay_stub_print' or $format == 'pdf_employer_pay_stub' or $format == 'pdf_employer_pay_stub_print') {
         return $this->_outputPDFPayStub($format);
     } elseif (strlen($format) >= 4 and isset($export_type_options[$format])) {
         return $this->_outputExportPayStub($format);
     } else {
         return parent::_output($format);
     }
 }
 function _output($format = NULL)
 {
     if ($format == 'pdf_timesheet' or $format == 'pdf_timesheet_print' or $format == 'pdf_timesheet_detail' or $format == 'pdf_timesheet_detail_print') {
         return $this->_outputPDFTimesheet($format);
     } else {
         return parent::_output($format);
     }
 }