Exemple #1
0
 function load_reports($module)
 {
     $error = false;
     $id = admin_add_report_heading(TEXT_MISC, 'misc');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'misc', 'fr')) {
         $error = true;
     }
     if (admin_add_report_folder($id, TEXT_FORMS, 'misc:misc', 'ff')) {
         $error = true;
     }
     return $error;
 }
Exemple #2
0
 function load_reports($module)
 {
     $error = false;
     $id = admin_add_report_heading(MENU_HEADING_CUSTOMERS, 'cust');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'cust', 'fr')) {
         $error = true;
     }
     $id = admin_add_report_heading(MENU_HEADING_EMPLOYEES, 'hr');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'hr', 'fr')) {
         $error = true;
     }
     $id = admin_add_report_heading(MENU_HEADING_VENDORS, 'vend');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'vend', 'fr')) {
         $error = true;
     }
     return $error;
 }
Exemple #3
0
 function load_reports($module)
 {
     $error = false;
     $id = admin_add_report_heading(MENU_HEADING_INVENTORY, 'inv');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'inv', 'fr')) {
         $error = true;
     }
     return $error;
 }
Exemple #4
0
 function load_reports($module)
 {
     $error = false;
     $id = admin_add_report_heading(MENU_HEADING_CUSTOMERS, 'cust');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'cust', 'fr')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_CUST_QUOTE, 'cust:quot', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_SALES_ORDER, 'cust:so', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_INV_PKG_SLIP, 'cust:inv', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_CUST_CRD_MEMO, 'cust:cm', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_CUST_STATEMENT, 'cust:stmt', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_COLLECT_LTR, 'cust:col', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_CUST_LABEL, 'cust:lblc', 'ff')) {
         $error = true;
     }
     $id = admin_add_report_heading(MENU_HEADING_VENDORS, 'vend');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'vend', 'fr')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_VENDOR_QUOTE, 'vend:quot', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_PURCH_ORDER, 'vend:po', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_VENDOR_CRD_MEMO, 'vend:cm', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_VENDOR_LABEL, 'vend:lblv', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_VENDOR_STATEMENT, 'vend:stmt', 'ff')) {
         $error = true;
     }
     $id = admin_add_report_heading(MENU_HEADING_BANKING, 'bnk');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'bnk', 'fr')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_DEP_SLIP, 'bnk:deps', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_BANK_CHECK, 'bnk:chk', 'ff')) {
         $error = true;
     }
     if (admin_add_report_folder($id, PB_PF_SALES_REC, 'bnk:rcpt', 'ff')) {
         $error = true;
     }
     $id = admin_add_report_heading(MENU_HEADING_GL, 'gl');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'gl', 'fr')) {
         $error = true;
     }
     return $error;
 }
Exemple #5
0
 function load_reports($module)
 {
     $error = false;
     $id = admin_add_report_heading(MENU_HEADING_PHREEPOS, 'pos');
     if (admin_add_report_folder($id, TEXT_REPORTS, 'pos', 'fr')) {
         $error = true;
     }
     if (admin_add_report_folder($id, TEXT_RECEIPTS, 'pos:rcpt', 'ff')) {
         $error = true;
     }
     return $error;
 }