Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
whitedot
2013-10-23 11:03:39 +09:00
3 changed files with 24 additions and 24 deletions

View File

@ -10,7 +10,7 @@ $od = sql_fetch($sql);
if(!$od['od_id']) if(!$od['od_id'])
alert_close('주문정보가 존해하지 않습니다.'); alert_close('주문정보가 존해하지 않습니다.');
if($od['od_settle_case'] == '계좌이체' && substr($od['od_receipt_time'], 0, 10) >= G4_TIME_YMD) if($od['od_settle_case'] == '계좌이체' && substr($od['od_receipt_time'], 0, 10) >= G5_TIME_YMD)
alert_close('실시간 계좌이체건의 부분취소 요청은 결제일 익일에 가능합니다.'); alert_close('실시간 계좌이체건의 부분취소 요청은 결제일 익일에 가능합니다.');
if($od['od_receipt_price'] - $od['od_refund_price'] <= 0) if($od['od_receipt_price'] - $od['od_refund_price'] <= 0)

View File

@ -20,7 +20,7 @@ $od = sql_fetch($sql);
if(!$od['od_id']) if(!$od['od_id'])
alert_close('주문정보가 존재하지 않습니다.'); alert_close('주문정보가 존재하지 않습니다.');
if($od['od_settle_case'] == '계좌이체' && substr($od['od_receipt_time'], 0, 10) >= G4_TIME_YMD) if($od['od_settle_case'] == '계좌이체' && substr($od['od_receipt_time'], 0, 10) >= G5_TIME_YMD)
alert_close('실시간 계좌이체건의 부분취소 요청은 결제일 익일에 가능합니다.'); alert_close('실시간 계좌이체건의 부분취소 요청은 결제일 익일에 가능합니다.');
// 금액비교 // 금액비교
@ -86,9 +86,9 @@ $tno = $od['od_tno'];
$req_tx = 'mod'; $req_tx = 'mod';
$mod_desc = $cancel_memo; $mod_desc = $cancel_memo;
$cust_ip = getenv('REMOTE_ADDR'); $cust_ip = getenv('REMOTE_ADDR');
$rem_mny = $od['od_receipt_price'] - $od['od_refund_price'];; $rem_mny = (int)$od['od_receipt_price'] - (int)$od['od_refund_price'];;
$mod_mny = $tax_mny; $mod_mny = (int)$tax_mny;
$mod_free_mny = $free_mny; $mod_free_mny = (int)$free_mny;
$mod_type = 'RN07'; $mod_type = 'RN07';
if($od['od_settle_case'] == '계좌이체') if($od['od_settle_case'] == '계좌이체')
$mod_type = 'STPA'; $mod_type = 'STPA';
@ -119,7 +119,7 @@ if ( $req_tx == "mod" )
$c_PayPlus->mf_set_modx_data( "tax_flag" , "TG03" ); // 복합과세 구분 $c_PayPlus->mf_set_modx_data( "tax_flag" , "TG03" ); // 복합과세 구분
$c_PayPlus->mf_set_modx_data( "mod_tax_mny" , strval($mod_tax_mny) ); // 공급가 부분 취소 요청 금액 $c_PayPlus->mf_set_modx_data( "mod_tax_mny" , strval($mod_tax_mny) ); // 공급가 부분 취소 요청 금액
$c_PayPlus->mf_set_modx_data( "mod_vat_mny" , strval($mod_vat_mny) ); // 부과세 부분 취소 요청 금액 $c_PayPlus->mf_set_modx_data( "mod_vat_mny" , strval($mod_vat_mny) ); // 부과세 부분 취소 요청 금액
$c_PayPlus->mf_set_modx_data( "mod_free_mny" , $mod_free_mny ); // 비관세 부분 취소 요청 금액 $c_PayPlus->mf_set_modx_data( "mod_free_mny" , strval($mod_free_mny) ); // 비관세 부분 취소 요청 금액
} }
} }

View File

@ -131,6 +131,15 @@
$slides.eq(next).css("left", width+"px"); $slides.eq(next).css("left", width+"px");
$tabs.removeClass(cfg.tab_active); $tabs.removeClass(cfg.tab_active);
if(count >= 3) {
$tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px");
$tabs.eq(next - 1).addClass("tab_listed").css("left", "0px");
$tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px");
$tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px");
}
$tabs.eq(next).addClass(cfg.tab_active);
$slides.eq(idx).clearQueue().animate( $slides.eq(idx).clearQueue().animate(
{ left: "-="+width }, cfg.duration, { left: "-="+width }, cfg.duration,
function() { function() {
@ -141,16 +150,7 @@
$slides.eq(next).clearQueue().animate( $slides.eq(next).clearQueue().animate(
{ left: "-="+width }, cfg.duration, { left: "-="+width }, cfg.duration,
function() { function() {
if(count >= 3) {
$tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px");
$tabs.eq(next - 1).addClass("tab_listed").css("left", "0px");
$tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px");
$tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px");
}
$wrap.height(next_height); $wrap.height(next_height);
$tabs.eq(next).addClass(cfg.tab_active);
} }
); );
@ -182,6 +182,15 @@
$slides.eq(next).css("left", "-"+width+"px"); $slides.eq(next).css("left", "-"+width+"px");
$tabs.removeClass(cfg.tab_active); $tabs.removeClass(cfg.tab_active);
if(count >= 3) {
$tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px");
$tabs.eq(next - 1).addClass("tab_listed").css("left", "0px");
$tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px");
$tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px");
}
$tabs.eq(next).addClass(cfg.tab_active);
$slides.eq(idx).clearQueue().animate( $slides.eq(idx).clearQueue().animate(
{ left: "+="+width }, cfg.duration, { left: "+="+width }, cfg.duration,
function() { function() {
@ -192,16 +201,7 @@
$slides.eq(next).clearQueue().animate( $slides.eq(next).clearQueue().animate(
{ left: "+="+width }, cfg.duration, { left: "+="+width }, cfg.duration,
function() { function() {
if(count >= 3) {
$tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px");
$tabs.eq(next - 1).addClass("tab_listed").css("left", "0px");
$tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px");
$tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px");
}
$wrap.height(next_height); $wrap.height(next_height);
$tabs.eq(next).addClass(cfg.tab_active);
} }
); );