Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Keczanm87

    (@keczanm87)

    A problémát id?k?zben megoldottam, egyszer?bb volt, mint gondoltam. Ha valakinek hasonló problémája lenne:
    az index.php-ban az alábbiaknál kell változtatni:

    Ezt a részt keresd:

    		//If custom details
    		if(isset($_POST['note']) && isset($_POST['deadline']) && isset($_POST['completed'])) {
    			$note = $_POST['note'];
    			$deadline = $_POST['deadline'];
    			$complated_date = $_POST['completed'];
    		} else {
    			$note = get_option('wc_szamlazz_note');
    			$deadline = get_option('wc_szamlazz_payment_deadline');
    			$complated_date = date('Y-m-d');
    		}

    A $complated_date változót módosítsd, idéz?jelek k?zé írva, ilyen formátumban: éV-Hó-NAP. A minta kedvéért 1999-01-01-re állítva. Figyelem, ez most mindenképpen átírja a teljesítési dátumot! Plugin frissítés után újra módosítani kell.

    		//If custom details
    		if(isset($_POST['note']) && isset($_POST['deadline']) && isset($_POST['completed'])) {
    			$note = $_POST['note'];
    			$deadline = $_POST['deadline'];
    			$complated_date = "1999-01-01";
    		} else {
    			$note = get_option('wc_szamlazz_note');
    			$deadline = get_option('wc_szamlazz_payment_deadline');
    			$complated_date = "1999-01-01";
    		}

    Remélem, tudtam segíteni!

    K?sz?n?m még egyszer a plugint!

    üdv,
    Máté

    • This reply was modified 8 years, 3 months ago by Keczanm87.
    Thread Starter Keczanm87

    (@keczanm87)

    Dear Greg,

    I have sent you the required information. ??

    Thank you for your help,
    Matthew

Viewing 2 replies - 1 through 2 (of 2 total)