コード例 #1
0
ファイル: geldkonten.php プロジェクト: BerlusGmbH/Berlussimo
     break;
 case "gk_update":
     print_req();
     if (!empty($_REQUEST['gk_id']) && !empty($_REQUEST['g_bez']) && !empty($_REQUEST['beguenstigter']) && !empty($_REQUEST['kontonummer']) && !empty($_REQUEST['blz']) && !empty($_REQUEST['institut']) && !empty($_REQUEST['iban']) && !empty($_REQUEST['bic'])) {
         $gk = new gk();
         $b = new buchen();
         $gk_id = $_REQUEST['gk_id'];
         $g_bez = $_REQUEST['g_bez'];
         $beguenstigter = $_REQUEST['beguenstigter'];
         $kontonummer = $_REQUEST['kontonummer'];
         $blz = $_REQUEST['blz'];
         $institut = $_REQUEST['institut'];
         $iban = $_REQUEST['iban'];
         $bic = $_REQUEST['bic'];
         $sep = new sepa();
         $iban_mysql = $sep->iban_convert($iban, 1);
         // print_req();
         // echo "IBAN NEW $iban $iban_mysql";
         // die();
         $gk->geldkonto_update($gk_id, $g_bez, $beguenstigter, $kontonummer, $blz, $institut, $iban_mysql, $bic);
         weiterleiten('?daten=geldkonten');
     } else {
         echo "Eingabe unvollständig Error: Modul GK 115";
     }
     break;
 case "update_iban_bic":
     $gk = new gk();
     $gk->update_iban_bic_alle();
     break;
 case "gk_zuweisen":
     $gk = new gk();