Exemple #1
0
         * $anz_ok = count($_SESSION['umsaetze_ok']);
         * if($next<$anz_ok){
         * $_SESSION['umsatz_id_temp'] = $next;
         * }
         * }
         *
         * if(isset($_REQUEST['vor'])){
         * $vor = $_SESSION['umsatz_id_temp']-1;
         * $anz_ok = count($_SESSION['umsaetze_ok']);
         * if($vor<$anz_ok && $vor>-1){
         * $_SESSION['umsatz_id_temp'] = $vor;
         * }
         * }
         */
        $sep = new sepa();
        $sep->status_excelsession();
        $sep->form_excel_ds($_SESSION['umsatz_id_temp']);
        $bu = new buchen();
        $bu->buchungsjournal_auszug($_SESSION['geldkonto_id'], $_SESSION['temp_kontoauszugsnummer']);
        break;
    case "excel_buchen_ALT":
        // print_r($_SESSION);
        if (!$_FILES) {
            echo '<h1>Upload</h1>
		<form method="post" enctype="multipart/form-data">
		*.XLSX <input type="file" name="file"  />&nbsp;&nbsp;<input type="submit" value="Parse" />
		</form>';
        } else {
            require_once "classes/simplexlsx.class.php";
            $xlsx = new SimpleXLSX($_FILES['file']['tmp_name']);
            echo '<pre>';