쿠폰생성폼에 datepicker 추가
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
$sub_menu = '400650';
|
$sub_menu = '400650';
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], "w");
|
auth_check($auth[$sub_menu], "w");
|
||||||
|
|
||||||
@ -190,6 +191,10 @@ $(function() {
|
|||||||
var url = "./couponmember.php";
|
var url = "./couponmember.php";
|
||||||
window.open(url, "win_member", opt);
|
window.open(url, "win_member", opt);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#cp_start, #cp_end").datepicker(
|
||||||
|
{ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", showButtonPanel: true, yearRange: "c-99:c+99" }
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
function change_method(cp_method)
|
function change_method(cp_method)
|
||||||
|
|||||||
Reference in New Issue
Block a user