diff --git a/adm/shop_admin/deliverycodeform.php b/adm/shop_admin/deliverycodeform.php
index 5d837c1cf..f2e29ac6b 100644
--- a/adm/shop_admin/deliverycodeform.php
+++ b/adm/shop_admin/deliverycodeform.php
@@ -61,6 +61,13 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
+
+ |
+
+
+ > 기본 배송업체로 선택합니다.
+ |
+
diff --git a/adm/shop_admin/deliverycodeformupdate.php b/adm/shop_admin/deliverycodeformupdate.php
index 94ee5313a..e0f44e3f4 100644
--- a/adm/shop_admin/deliverycodeformupdate.php
+++ b/adm/shop_admin/deliverycodeformupdate.php
@@ -10,10 +10,16 @@ if ($W == 'd')
else
auth_check($auth[$sub_menu], "w");
+// 기본 배송업체가 선택 되었다면 추가나 수정시 기본 배송업체를 모두 삭제한다.
+if ($dl_default && ($w == "" || $w == "u")) {
+ sql_query(" update {$g5['g5_shop_delivery_table']} set dl_default = 0 ");
+}
+
$sql_common .= "set dl_company = '$dl_company',
dl_url = '$dl_url',
dl_tel = '$dl_tel',
- dl_order = '$dl_order' ";
+ dl_order = '$dl_order',
+ dl_default = '$dl_default' ";
if ($w == "") {
$sql = " alter table {$g5['g5_shop_delivery_table']} auto_increment=1 ";
diff --git a/adm/shop_admin/deliverycodelist.php b/adm/shop_admin/deliverycodelist.php
index 340e1d7c5..713d27d24 100644
--- a/adm/shop_admin/deliverycodelist.php
+++ b/adm/shop_admin/deliverycodelist.php
@@ -23,6 +23,7 @@ $result = sql_query($sql);
@@ -34,6 +35,7 @@ $result = sql_query($sql);
ID |
배송회사명 |
고객센터 |
+ 기본배송지 |
순서 |
관리 |
@@ -44,6 +46,7 @@ $result = sql_query($sql);
|
|
|
+ |
|
사이트
diff --git a/adm/shop_admin/deliverylist.php b/adm/shop_admin/deliverylist.php
index 2e88a74b3..9d168b3ab 100644
--- a/adm/shop_admin/deliverylist.php
+++ b/adm/shop_admin/deliverylist.php
@@ -131,6 +131,7 @@ $listall = '전체목록
| ">배송일시 |
배송업체 |
">운송장번호 |
+ 완료상태 |
@@ -188,6 +189,7 @@ $listall = '전체목록
+ |