if ($_POST['ukvbankstatype'] == 'privatbankdbf') { $processedBanksta = $ukv->bankstaPreprocessingPrivatDbf($bankstaUploaded); rcms_redirect(UkvSystem::URL_BANKSTA_PROCESSING . $processedBanksta); } } else { show_error(__('Strange exeption') . ' NO_BANKSTA_TYPE'); } } } else { if (wf_CheckGet(array('showhash'))) { //changing some contract into the banksta if (wf_CheckPost(array('bankstacontractedit', 'newbankcontr'))) { $ukv->bankstaSetContract($_POST['bankstacontractedit'], $_POST['newbankcontr']); if (isset($_POST['lockbankstarow'])) { //locking some row if needed $ukv->bankstaSetProcessed($_POST['bankstacontractedit']); } 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