@@ -1054,10 +1054,15 @@
return skipped;
}
+ var DOW_KO = ["일", "월", "화", "수", "목", "금", "토"];
+
function defaultTitle() {
var d = new Date();
- function pad(n) { return (n < 10 ? "0" : "") + n; }
- return (d.getMonth() + 1) + "/" + d.getDate() + " " + pad(d.getHours()) + ":" + pad(d.getMinutes());
+ var h = d.getHours();
+ var ampm = h < 12 ? "오전" : "오후";
+ var h12 = h % 12 || 12;
+ return d.getFullYear() + "." + pad2(d.getMonth() + 1) + "." + pad2(d.getDate()) +
+ "(" + DOW_KO[d.getDay()] + ") " + ampm + " " + pad2(h12) + "시 " + pad2(d.getMinutes()) + "분";
}
function closeDraft() { draftDlg.hidden = true; }
diff --git a/app/modules/cupang/templates/cupang/box_rules.html b/app/modules/cupang/templates/cupang/box_rules.html
index 564105c..db9d195 100644
--- a/app/modules/cupang/templates/cupang/box_rules.html
+++ b/app/modules/cupang/templates/cupang/box_rules.html
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
-{% block head_extra %}
{% endblock %}
+{% block head_extra %}
{% endblock %}
{% block content %}
diff --git a/app/modules/cupang/templates/cupang/centers.html b/app/modules/cupang/templates/cupang/centers.html
index 7302526..2fbba99 100644
--- a/app/modules/cupang/templates/cupang/centers.html
+++ b/app/modules/cupang/templates/cupang/centers.html
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
-{% block head_extra %}{% endblock %}
+{% block head_extra %}{% endblock %}
{% block content %}
diff --git a/app/modules/cupang/templates/cupang/detail.html b/app/modules/cupang/templates/cupang/detail.html
index 9e6c001..c40a34e 100644
--- a/app/modules/cupang/templates/cupang/detail.html
+++ b/app/modules/cupang/templates/cupang/detail.html
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
-{% block head_extra %}{% endblock %}
+{% block head_extra %}{% endblock %}
{% block content %}
diff --git a/app/modules/cupang/templates/cupang/form.html b/app/modules/cupang/templates/cupang/form.html
index e173ccf..dd607b5 100644
--- a/app/modules/cupang/templates/cupang/form.html
+++ b/app/modules/cupang/templates/cupang/form.html
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
-{% block head_extra %}{% endblock %}
+{% block head_extra %}{% endblock %}
{% block content %}
diff --git a/app/modules/cupang/templates/cupang/index.html b/app/modules/cupang/templates/cupang/index.html
index 9cf7dde..b67d753 100644
--- a/app/modules/cupang/templates/cupang/index.html
+++ b/app/modules/cupang/templates/cupang/index.html
@@ -1,6 +1,6 @@
{% extends "erp_base.html" %}
-{% block head_extra %}{% endblock %}
+{% block head_extra %}{% endblock %}
{% block content %}
@@ -8,12 +8,11 @@
@@ -45,9 +44,10 @@
href="/cupang/?year={{ year }}&month={{ month }}&date={{ cell.date }}">
{{ cell.day }}
- {% if cell.counts.document %}작성 {{ cell.counts.document }}{% endif %}
- {% if cell.counts.ship %}출고 {{ cell.counts.ship }}{% endif %}
- {% if cell.counts.arrival %}입고 {{ cell.counts.arrival }}{% endif %}
+ {% if cell.counts.ship %}
+ 출고 {{ cell.counts.ship }}건
+ 센터 {{ cell.counts.centers }}곳
+ {% endif %}
{% endfor %}
@@ -66,75 +66,35 @@