Example #1
0
                 }
                 rcms_redirect(UkvSystem::URL_BANKSTA_PROCESSING . $_GET['showhash']);
             }
             //push cash to users if is needed
             if (wf_CheckPost(array('bankstaneedpaymentspush'))) {
                 $ukv->bankstaPushPayments();
                 rcms_redirect(UkvSystem::URL_BANKSTA_MGMT);
             }
             show_window(__('Bank statement processing'), $ukv->bankstaProcessingForm($_GET['showhash']));
         } else {
             if (wf_CheckGet(array('showdetailed'))) {
                 //show banksta row detailed info
                 show_window(__('Bank statement'), $ukv->bankstaGetDetailedRowInfo($_GET['showdetailed']));
             } else {
                 //show upload form
                 show_window(__('Import bank statement'), $ukv->bankstaLoadForm());
                 //and available bank statements
                 show_window(__('Previously loaded bank statements'), $ukv->bankstaRenderList());
             }
         }
     }
 }
 //reports processing
 if (wf_CheckGet(array('reports'))) {
     if (wf_CheckGet(array('showreport'))) {
         $reportName = vf($_GET['showreport']);
         if (ispos($reportName, 'report')) {
             if (method_exists($ukv, $reportName)) {
                 //call method
                 $ukv->{$reportName}();
             } else {