diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..c3f502a --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# ë””í�´íЏ 무시ë�œ 파ì�¼ +/shelf/ +/workspace.xml +# ì—�디터 기반 HTTP í�´ë�¼ì�´ì–¸íЏ 요청 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/IntelliLang.xml b/.idea/IntelliLang.xml new file mode 100644 index 0000000..8cfd409 --- /dev/null +++ b/.idea/IntelliLang.xml @@ -0,0 +1,286 @@ + + + + + Apache HttpClient 4 HTTP Header (org.apache.http) + + + + + + Apache HttpClient 5 HTTP Header (org.apache.hc.core5) + + + + + + + + + AsyncQueryRunner (org.apache.commons.dbutils) + + + + + + + + + + + + + + + + + + Jodd (jodd.db) + + + + + + + + MockServer Header (org.mockserver) + + + + + + + MyBatis @Select/@Delete/@Insert/@Update + + + + + + + + QueryRunner (org.apache.commons.dbutils) + + + + + + + + + + + + + + + + + + R2DBC (io.r2dbc) + + + + + + Reactiverse Postgres Client (io.reactiverse) + + + + + + + + + + + + + RestAssured HTTP Header (io.restassured) + + + + + + + + SmallRye Axle SqlClient (io.vertx.axle.sqlclient) + + + + + + SmallRye Mutiny SqlClient (io.vertx.mutiny.sqlclient) + + + + + + SmallRye Mutiny SqlConnection (io.vertx.mutiny.sqlclient) + + + + + + + + Spring @Cacheable and @CacheEvict + + + + + + + + + + + + Spring HttpHeaders (org.springframework.http) + + + + + + + Spring Integration/Messaging + + + + + + + Spring JDBC (org.springframework.jdbc.core.JdbcOperations) + + + + + + + + + + + + + + + + Spring JDBC (org.springframework.jdbc.core.PreparedStatementCreatorFactory) + + + + + + + Spring JDBC (org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator) + + + + + + + + Spring Security @PostAuthorize/@PostFilter/@PreAuthorize/@PreFilter/@AuthenticationPrincipal + + + + + + + + + + Spring State Machine + + + + + + + + Vert.x SQL Extensions (io.vertx.ext.sql) + + + + + + + Vert.x SQL Reactive Extensions (io.vertx.reactivex.ext.sql) + + + + + + + + + + Vert.x SqlClient (io.vertx.sqlclient) + + + + + + + + + + + Vert.x SqlClient RxJava2 (io.vertx.reactivex.sqlclient) + + + + + + + + + + + + WireMock (com.github.tomakehurst.wiremock.client) + + + + + + + + WireMock (com.github.tomakehurst.wiremock.client) + + + + + + + WireMock (com.github.tomakehurst.wiremock.client) + + + + + + + + jOOQ (org.jooq.DSLContext) + + + + + + + + rxjava2-jdbc (org.davidmoten.rx.jdbc) + + + + + + + SpEL for Spring Cache + + + + + + + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..d61e1bf --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,18 @@ + + + + + sqlserver.ms + true + ì�¸íЏë�¼ë„· + com.microsoft.sqlserver.jdbc.SQLServerDriver + jdbc:sqlserver://10.10.11.6:1433;database=project2 + + + + + + $ProjectFileDir$ + + + \ No newline at end of file diff --git a/.idea/data_source_mapping.xml b/.idea/data_source_mapping.xml new file mode 100644 index 0000000..92d230d --- /dev/null +++ b/.idea/data_source_mapping.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..cfbd289 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..128f712 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,74 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..ee0935c --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/UpLoad/agreement/(KRC) 업무협약서_위스픽코리아_20190213.pdf b/UpLoad/agreement/(KRC) 업무협약서_위스픽코리아_20190213.pdf new file mode 100644 index 0000000..d720259 Binary files /dev/null and b/UpLoad/agreement/(KRC) 업무협약서_위스픽코리아_20190213.pdf differ diff --git a/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214.pdf b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214.pdf new file mode 100644 index 0000000..7e16d38 Binary files /dev/null and b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214.pdf differ diff --git a/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v1.pdf b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v1.pdf new file mode 100644 index 0000000..7e16d38 Binary files /dev/null and b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v1.pdf differ diff --git a/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v2.pdf b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v2.pdf new file mode 100644 index 0000000..7e16d38 Binary files /dev/null and b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v2.pdf differ diff --git a/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v3.pdf b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v3.pdf new file mode 100644 index 0000000..7e16d38 Binary files /dev/null and b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v3.pdf differ diff --git a/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v4.pdf b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v4.pdf new file mode 100644 index 0000000..7e16d38 Binary files /dev/null and b/UpLoad/agreement/(KRi)사업ìž�등ë¡�ì¦�_211214_v4.pdf differ diff --git a/UpLoad/agreement/1.피앰아ì�´.pdf b/UpLoad/agreement/1.피앰아ì�´.pdf new file mode 100644 index 0000000..14d7793 Binary files /dev/null and b/UpLoad/agreement/1.피앰아ì�´.pdf differ diff --git a/UpLoad/agreement/10.코리아서베ì�´.pdf b/UpLoad/agreement/10.코리아서베ì�´.pdf new file mode 100644 index 0000000..76a4d82 Binary files /dev/null and b/UpLoad/agreement/10.코리아서베ì�´.pdf differ diff --git a/UpLoad/agreement/11.마케팅21ë�°ì�´í„°ì‹œìŠ¤í…œ.pdf b/UpLoad/agreement/11.마케팅21ë�°ì�´í„°ì‹œìŠ¤í…œ.pdf new file mode 100644 index 0000000..cb2c8a0 Binary files /dev/null and b/UpLoad/agreement/11.마케팅21ë�°ì�´í„°ì‹œìŠ¤í…œ.pdf differ diff --git a/UpLoad/agreement/12.리서치나우.pdf b/UpLoad/agreement/12.리서치나우.pdf new file mode 100644 index 0000000..1374f29 Binary files /dev/null and b/UpLoad/agreement/12.리서치나우.pdf differ diff --git a/UpLoad/agreement/13.오픈리서치(주).pdf b/UpLoad/agreement/13.오픈리서치(주).pdf new file mode 100644 index 0000000..8673a23 Binary files /dev/null and b/UpLoad/agreement/13.오픈리서치(주).pdf differ diff --git a/UpLoad/agreement/14.(주)마켓ë§�í�¬.pdf b/UpLoad/agreement/14.(주)마켓ë§�í�¬.pdf new file mode 100644 index 0000000..f375f9c Binary files /dev/null and b/UpLoad/agreement/14.(주)마켓ë§�í�¬.pdf differ diff --git a/UpLoad/agreement/15.마켓í�¬ì»¤ìФ.pdf b/UpLoad/agreement/15.마켓í�¬ì»¤ìФ.pdf new file mode 100644 index 0000000..0d3cfc6 Binary files /dev/null and b/UpLoad/agreement/15.마켓í�¬ì»¤ìФ.pdf differ diff --git a/UpLoad/agreement/16.패ë„�리소스코리아.pdf b/UpLoad/agreement/16.패ë„�리소스코리아.pdf new file mode 100644 index 0000000..f445047 Binary files /dev/null and b/UpLoad/agreement/16.패ë„�리소스코리아.pdf differ diff --git a/UpLoad/agreement/17.플레ì�´ì›�스.pdf b/UpLoad/agreement/17.플레ì�´ì›�스.pdf new file mode 100644 index 0000000..b506c49 Binary files /dev/null and b/UpLoad/agreement/17.플레ì�´ì›�스.pdf differ diff --git a/UpLoad/agreement/18.서베ì�´í”¼í”Œ.pdf b/UpLoad/agreement/18.서베ì�´í”¼í”Œ.pdf new file mode 100644 index 0000000..402bc4a Binary files /dev/null and b/UpLoad/agreement/18.서베ì�´í”¼í”Œ.pdf differ diff --git a/UpLoad/agreement/19.와ì�´ì œì�´ì‚°ì—….pdf b/UpLoad/agreement/19.와ì�´ì œì�´ì‚°ì—….pdf new file mode 100644 index 0000000..a062b80 Binary files /dev/null and b/UpLoad/agreement/19.와ì�´ì œì�´ì‚°ì—….pdf differ diff --git a/UpLoad/agreement/2.ì— ì—�스리서치.pdf b/UpLoad/agreement/2.ì— ì—�스리서치.pdf new file mode 100644 index 0000000..fd2b0b5 Binary files /dev/null and b/UpLoad/agreement/2.ì— ì—�스리서치.pdf differ diff --git a/UpLoad/agreement/20.(사)한국ë†�ì•„ì�¸í˜‘회 성남지부.pdf b/UpLoad/agreement/20.(사)한국ë†�ì•„ì�¸í˜‘회 성남지부.pdf new file mode 100644 index 0000000..622c666 Binary files /dev/null and b/UpLoad/agreement/20.(사)한국ë†�ì•„ì�¸í˜‘회 성남지부.pdf differ diff --git a/UpLoad/agreement/21.한ë�¼ë¦¬ì„œì¹˜.pdf b/UpLoad/agreement/21.한ë�¼ë¦¬ì„œì¹˜.pdf new file mode 100644 index 0000000..1222b90 Binary files /dev/null and b/UpLoad/agreement/21.한ë�¼ë¦¬ì„œì¹˜.pdf differ diff --git a/UpLoad/agreement/22.ì¼€ì�´ì œì�´ì•Œê´‘주리서치.pdf b/UpLoad/agreement/22.ì¼€ì�´ì œì�´ì•Œê´‘주리서치.pdf new file mode 100644 index 0000000..5d0e249 Binary files /dev/null and b/UpLoad/agreement/22.ì¼€ì�´ì œì�´ì•Œê´‘주리서치.pdf differ diff --git a/UpLoad/agreement/23.피플앤ì�¸ì‚¬ì�´íŠ¸ë¦¬ì„œì¹˜.pdf b/UpLoad/agreement/23.피플앤ì�¸ì‚¬ì�´íŠ¸ë¦¬ì„œì¹˜.pdf new file mode 100644 index 0000000..f9b5d31 Binary files /dev/null and b/UpLoad/agreement/23.피플앤ì�¸ì‚¬ì�´íŠ¸ë¦¬ì„œì¹˜.pdf differ diff --git a/UpLoad/agreement/24.가온리서치.pdf b/UpLoad/agreement/24.가온리서치.pdf new file mode 100644 index 0000000..2926c26 Binary files /dev/null and b/UpLoad/agreement/24.가온리서치.pdf differ diff --git a/UpLoad/agreement/25.서베ì�´ê°•ì›�리서치.pdf b/UpLoad/agreement/25.서베ì�´ê°•ì›�리서치.pdf new file mode 100644 index 0000000..65d6b69 Binary files /dev/null and b/UpLoad/agreement/25.서베ì�´ê°•ì›�리서치.pdf differ diff --git a/UpLoad/agreement/26.왓츠ë�”넥스트.pdf b/UpLoad/agreement/26.왓츠ë�”넥스트.pdf new file mode 100644 index 0000000..9b0f218 Binary files /dev/null and b/UpLoad/agreement/26.왓츠ë�”넥스트.pdf differ diff --git a/UpLoad/agreement/27.한승마케팅.pdf b/UpLoad/agreement/27.한승마케팅.pdf new file mode 100644 index 0000000..a182807 Binary files /dev/null and b/UpLoad/agreement/27.한승마케팅.pdf differ diff --git a/UpLoad/agreement/28.브랜드아트.pdf b/UpLoad/agreement/28.브랜드아트.pdf new file mode 100644 index 0000000..8fcca2a Binary files /dev/null and b/UpLoad/agreement/28.브랜드아트.pdf differ diff --git a/UpLoad/agreement/28_v1.브랜드아트.pdf b/UpLoad/agreement/28_v1.브랜드아트.pdf new file mode 100644 index 0000000..8fcca2a Binary files /dev/null and b/UpLoad/agreement/28_v1.브랜드아트.pdf differ diff --git a/UpLoad/agreement/3.프로번역.pdf b/UpLoad/agreement/3.프로번역.pdf new file mode 100644 index 0000000..a5d0223 Binary files /dev/null and b/UpLoad/agreement/3.프로번역.pdf differ diff --git a/UpLoad/agreement/30.RPK.pdf b/UpLoad/agreement/30.RPK.pdf new file mode 100644 index 0000000..1cd6819 Binary files /dev/null and b/UpLoad/agreement/30.RPK.pdf differ diff --git a/UpLoad/agreement/31.ë„·í�¬ì�¸íŠ¸ì—”í„°í”„ë�¼ì�´ì¦ˆ.pdf b/UpLoad/agreement/31.ë„·í�¬ì�¸íŠ¸ì—”í„°í”„ë�¼ì�´ì¦ˆ.pdf new file mode 100644 index 0000000..c173c09 Binary files /dev/null and b/UpLoad/agreement/31.ë„·í�¬ì�¸íŠ¸ì—”í„°í”„ë�¼ì�´ì¦ˆ.pdf differ diff --git a/UpLoad/agreement/32.미래컴리서치.pdf b/UpLoad/agreement/32.미래컴리서치.pdf new file mode 100644 index 0000000..672f840 Binary files /dev/null and b/UpLoad/agreement/32.미래컴리서치.pdf differ diff --git a/UpLoad/agreement/33.ê³ ê°�중심경ì˜�연구소.pdf b/UpLoad/agreement/33.ê³ ê°�중심경ì˜�연구소.pdf new file mode 100644 index 0000000..07dfe4b Binary files /dev/null and b/UpLoad/agreement/33.ê³ ê°�중심경ì˜�연구소.pdf differ diff --git a/UpLoad/agreement/34.세명Q리서치.pdf b/UpLoad/agreement/34.세명Q리서치.pdf new file mode 100644 index 0000000..2c5b8a1 Binary files /dev/null and b/UpLoad/agreement/34.세명Q리서치.pdf differ diff --git a/UpLoad/agreement/35.디테ì�¼ë²ˆì—­.pdf b/UpLoad/agreement/35.디테ì�¼ë²ˆì—­.pdf new file mode 100644 index 0000000..a478e00 Binary files /dev/null and b/UpLoad/agreement/35.디테ì�¼ë²ˆì—­.pdf differ diff --git a/UpLoad/agreement/36.pdf b/UpLoad/agreement/36.pdf new file mode 100644 index 0000000..1077234 Binary files /dev/null and b/UpLoad/agreement/36.pdf differ diff --git a/UpLoad/agreement/37.서베ì�´ë°•스.pdf b/UpLoad/agreement/37.서베ì�´ë°•스.pdf new file mode 100644 index 0000000..15d7f75 Binary files /dev/null and b/UpLoad/agreement/37.서베ì�´ë°•스.pdf differ diff --git a/UpLoad/agreement/38.엔터.pdf b/UpLoad/agreement/38.엔터.pdf new file mode 100644 index 0000000..afdd93a Binary files /dev/null and b/UpLoad/agreement/38.엔터.pdf differ diff --git a/UpLoad/agreement/39.다올리서치.pdf b/UpLoad/agreement/39.다올리서치.pdf new file mode 100644 index 0000000..2597707 Binary files /dev/null and b/UpLoad/agreement/39.다올리서치.pdf differ diff --git a/UpLoad/agreement/4.위니즈리서치.pdf b/UpLoad/agreement/4.위니즈리서치.pdf new file mode 100644 index 0000000..815f5f3 Binary files /dev/null and b/UpLoad/agreement/4.위니즈리서치.pdf differ diff --git a/UpLoad/agreement/40.하나번역.pdf b/UpLoad/agreement/40.하나번역.pdf new file mode 100644 index 0000000..f5cf848 Binary files /dev/null and b/UpLoad/agreement/40.하나번역.pdf differ diff --git a/UpLoad/agreement/42.마ì�¸ì¦ˆì•„ì�´.pdf b/UpLoad/agreement/42.마ì�¸ì¦ˆì•„ì�´.pdf new file mode 100644 index 0000000..3160237 Binary files /dev/null and b/UpLoad/agreement/42.마ì�¸ì¦ˆì•„ì�´.pdf differ diff --git a/UpLoad/agreement/43.오엠알프로.pdf b/UpLoad/agreement/43.오엠알프로.pdf new file mode 100644 index 0000000..d6e66bc Binary files /dev/null and b/UpLoad/agreement/43.오엠알프로.pdf differ diff --git a/UpLoad/agreement/44.J2S프린팅.pdf b/UpLoad/agreement/44.J2S프린팅.pdf new file mode 100644 index 0000000..4b3c020 Binary files /dev/null and b/UpLoad/agreement/44.J2S프린팅.pdf differ diff --git a/UpLoad/agreement/45.리서치플러스.pdf b/UpLoad/agreement/45.리서치플러스.pdf new file mode 100644 index 0000000..e7044d4 Binary files /dev/null and b/UpLoad/agreement/45.리서치플러스.pdf differ diff --git a/UpLoad/agreement/48. 위스픽코리아.pdf b/UpLoad/agreement/48. 위스픽코리아.pdf new file mode 100644 index 0000000..0789e2f Binary files /dev/null and b/UpLoad/agreement/48. 위스픽코리아.pdf differ diff --git a/UpLoad/agreement/5.ë² ì�´ì§�리서치.pdf b/UpLoad/agreement/5.ë² ì�´ì§�리서치.pdf new file mode 100644 index 0000000..6bf812c Binary files /dev/null and b/UpLoad/agreement/5.ë² ì�´ì§�리서치.pdf differ diff --git a/UpLoad/agreement/55. 위스픽코리아.pdf b/UpLoad/agreement/55. 위스픽코리아.pdf new file mode 100644 index 0000000..0789e2f Binary files /dev/null and b/UpLoad/agreement/55. 위스픽코리아.pdf differ diff --git a/UpLoad/agreement/56.표준번역.pdf b/UpLoad/agreement/56.표준번역.pdf new file mode 100644 index 0000000..883085a Binary files /dev/null and b/UpLoad/agreement/56.표준번역.pdf differ diff --git a/UpLoad/agreement/57.가림리서치.pdf b/UpLoad/agreement/57.가림리서치.pdf new file mode 100644 index 0000000..1497653 Binary files /dev/null and b/UpLoad/agreement/57.가림리서치.pdf differ diff --git a/UpLoad/agreement/58. 광주마케팅서베ì�´.pdf b/UpLoad/agreement/58. 광주마케팅서베ì�´.pdf new file mode 100644 index 0000000..e346294 Binary files /dev/null and b/UpLoad/agreement/58. 광주마케팅서베ì�´.pdf differ diff --git a/UpLoad/agreement/59. 제주실사서비스.pdf b/UpLoad/agreement/59. 제주실사서비스.pdf new file mode 100644 index 0000000..1acba29 Binary files /dev/null and b/UpLoad/agreement/59. 제주실사서비스.pdf differ diff --git a/UpLoad/agreement/6.네오웹.pdf b/UpLoad/agreement/6.네오웹.pdf new file mode 100644 index 0000000..faad0df Binary files /dev/null and b/UpLoad/agreement/6.네오웹.pdf differ diff --git a/UpLoad/agreement/60. (사)한국능률협회.pdf b/UpLoad/agreement/60. (사)한국능률협회.pdf new file mode 100644 index 0000000..9e09f08 Binary files /dev/null and b/UpLoad/agreement/60. (사)한국능률협회.pdf differ diff --git a/UpLoad/agreement/61. ë�” 위드리서치.pdf b/UpLoad/agreement/61. ë�” 위드리서치.pdf new file mode 100644 index 0000000..e8877c4 Binary files /dev/null and b/UpLoad/agreement/61. ë�” 위드리서치.pdf differ diff --git a/UpLoad/agreement/62. 프ë�¼ìž„ë�¼ì„œì¹˜.pdf b/UpLoad/agreement/62. 프ë�¼ìž„ë�¼ì„œì¹˜.pdf new file mode 100644 index 0000000..c97b0db Binary files /dev/null and b/UpLoad/agreement/62. 프ë�¼ìž„ë�¼ì„œì¹˜.pdf differ diff --git a/UpLoad/agreement/62. 프ë�¼ìž„리서치.pdf b/UpLoad/agreement/62. 프ë�¼ìž„리서치.pdf new file mode 100644 index 0000000..c97b0db Binary files /dev/null and b/UpLoad/agreement/62. 프ë�¼ìž„리서치.pdf differ diff --git a/UpLoad/agreement/63. K&C 리서치.pdf b/UpLoad/agreement/63. K&C 리서치.pdf new file mode 100644 index 0000000..42fe185 Binary files /dev/null and b/UpLoad/agreement/63. K&C 리서치.pdf differ diff --git a/UpLoad/agreement/64. 리서치 ì�´ë…¸ì…˜.pdf b/UpLoad/agreement/64. 리서치 ì�´ë…¸ì…˜.pdf new file mode 100644 index 0000000..e6e362c Binary files /dev/null and b/UpLoad/agreement/64. 리서치 ì�´ë…¸ì…˜.pdf differ diff --git a/UpLoad/agreement/65. 리컴하우스.pdf b/UpLoad/agreement/65. 리컴하우스.pdf new file mode 100644 index 0000000..433055e Binary files /dev/null and b/UpLoad/agreement/65. 리컴하우스.pdf differ diff --git a/UpLoad/agreement/66. ìš°í�¬ì •.pdf b/UpLoad/agreement/66. ìš°í�¬ì •.pdf new file mode 100644 index 0000000..f0b2cf1 Binary files /dev/null and b/UpLoad/agreement/66. ìš°í�¬ì •.pdf differ diff --git a/UpLoad/agreement/67. ì—�스엔제ì�´ë¦¬ì„œì¹˜.pdf b/UpLoad/agreement/67. ì—�스엔제ì�´ë¦¬ì„œì¹˜.pdf new file mode 100644 index 0000000..fd769e2 Binary files /dev/null and b/UpLoad/agreement/67. ì—�스엔제ì�´ë¦¬ì„œì¹˜.pdf differ diff --git a/UpLoad/agreement/7.우리컨설팅.pdf b/UpLoad/agreement/7.우리컨설팅.pdf new file mode 100644 index 0000000..0053429 Binary files /dev/null and b/UpLoad/agreement/7.우리컨설팅.pdf differ diff --git a/UpLoad/agreement/75. (주)그랜드맨파워.pdf b/UpLoad/agreement/75. (주)그랜드맨파워.pdf new file mode 100644 index 0000000..450499f Binary files /dev/null and b/UpLoad/agreement/75. (주)그랜드맨파워.pdf differ diff --git a/UpLoad/agreement/76. (주)ì¼€ì�´í‹°ì”¨ì—�스.pdf b/UpLoad/agreement/76. (주)ì¼€ì�´í‹°ì”¨ì—�스.pdf new file mode 100644 index 0000000..13e5cea Binary files /dev/null and b/UpLoad/agreement/76. (주)ì¼€ì�´í‹°ì”¨ì—�스.pdf differ diff --git a/UpLoad/agreement/77. 마케팅21ë�°ì�´í„°ì‹œìŠ¤í…œ.pdf b/UpLoad/agreement/77. 마케팅21ë�°ì�´í„°ì‹œìŠ¤í…œ.pdf new file mode 100644 index 0000000..4313e78 Binary files /dev/null and b/UpLoad/agreement/77. 마케팅21ë�°ì�´í„°ì‹œìŠ¤í…œ.pdf differ diff --git a/UpLoad/agreement/78. ì—�스엔피리서치(주).pdf b/UpLoad/agreement/78. ì—�스엔피리서치(주).pdf new file mode 100644 index 0000000..87521b8 Binary files /dev/null and b/UpLoad/agreement/78. ì—�스엔피리서치(주).pdf differ diff --git a/UpLoad/agreement/79. 알아ì�´ë”” 주ì‹�회사(RiD).pdf b/UpLoad/agreement/79. 알아ì�´ë”” 주ì‹�회사(RiD).pdf new file mode 100644 index 0000000..d5ac7d8 Binary files /dev/null and b/UpLoad/agreement/79. 알아ì�´ë”” 주ì‹�회사(RiD).pdf differ diff --git a/UpLoad/agreement/8.ë ˆì�¸ë©”ì�´í„°.pdf b/UpLoad/agreement/8.ë ˆì�¸ë©”ì�´í„°.pdf new file mode 100644 index 0000000..09a5dfd Binary files /dev/null and b/UpLoad/agreement/8.ë ˆì�¸ë©”ì�´í„°.pdf differ diff --git a/UpLoad/agreement/80. (주)미ë�µìФ.pdf b/UpLoad/agreement/80. (주)미ë�µìФ.pdf new file mode 100644 index 0000000..e6adf2e Binary files /dev/null and b/UpLoad/agreement/80. (주)미ë�µìФ.pdf differ diff --git a/UpLoad/agreement/81. 알아ì�´ë”” 주ì‹�회사(RiD).pdf b/UpLoad/agreement/81. 알아ì�´ë”” 주ì‹�회사(RiD).pdf new file mode 100644 index 0000000..77fe669 Binary files /dev/null and b/UpLoad/agreement/81. 알아ì�´ë”” 주ì‹�회사(RiD).pdf differ diff --git a/UpLoad/agreement/82. 디토커.pdf b/UpLoad/agreement/82. 디토커.pdf new file mode 100644 index 0000000..55dc2be Binary files /dev/null and b/UpLoad/agreement/82. 디토커.pdf differ diff --git a/UpLoad/agreement/83. 다ì�´ë‚˜íƒ€ì½”리아 유한회사.pdf b/UpLoad/agreement/83. 다ì�´ë‚˜íƒ€ì½”리아 유한회사.pdf new file mode 100644 index 0000000..82c186b Binary files /dev/null and b/UpLoad/agreement/83. 다ì�´ë‚˜íƒ€ì½”리아 유한회사.pdf differ diff --git a/UpLoad/agreement/84. (주)í��리서치.pdf b/UpLoad/agreement/84. (주)í��리서치.pdf new file mode 100644 index 0000000..2084a6d Binary files /dev/null and b/UpLoad/agreement/84. (주)í��리서치.pdf differ diff --git a/UpLoad/agreement/85. 브랜다(BRANDA)(주).pdf b/UpLoad/agreement/85. 브랜다(BRANDA)(주).pdf new file mode 100644 index 0000000..8f7cbfd Binary files /dev/null and b/UpLoad/agreement/85. 브랜다(BRANDA)(주).pdf differ diff --git a/UpLoad/agreement/86. 알아ì�´ë”” 주ì‹�회사(RiD).pdf b/UpLoad/agreement/86. 알아ì�´ë”” 주ì‹�회사(RiD).pdf new file mode 100644 index 0000000..25c1718 Binary files /dev/null and b/UpLoad/agreement/86. 알아ì�´ë”” 주ì‹�회사(RiD).pdf differ diff --git a/UpLoad/agreement/9.ì�¸ë°”ì�´íЏ.pdf b/UpLoad/agreement/9.ì�¸ë°”ì�´íЏ.pdf new file mode 100644 index 0000000..4d0e5e8 Binary files /dev/null and b/UpLoad/agreement/9.ì�¸ë°”ì�´íЏ.pdf differ diff --git a/UpLoad/agreement/SKM_C25818111316300.pdf b/UpLoad/agreement/SKM_C25818111316300.pdf new file mode 100644 index 0000000..ee34763 Binary files /dev/null and b/UpLoad/agreement/SKM_C25818111316300.pdf differ diff --git a/UpLoad/agreement/SKM_C25819021315500.pdf b/UpLoad/agreement/SKM_C25819021315500.pdf new file mode 100644 index 0000000..0789e2f Binary files /dev/null and b/UpLoad/agreement/SKM_C25819021315500.pdf differ diff --git a/UpLoad/agreement/SKM_C25819022514580.pdf b/UpLoad/agreement/SKM_C25819022514580.pdf new file mode 100644 index 0000000..883085a Binary files /dev/null and b/UpLoad/agreement/SKM_C25819022514580.pdf differ diff --git a/UpLoad/agreement/SKM_C25819022514580_v1.pdf b/UpLoad/agreement/SKM_C25819022514580_v1.pdf new file mode 100644 index 0000000..883085a Binary files /dev/null and b/UpLoad/agreement/SKM_C25819022514580_v1.pdf differ diff --git a/UpLoad/agreement/SKM_C25819032010100.pdf b/UpLoad/agreement/SKM_C25819032010100.pdf new file mode 100644 index 0000000..1497653 Binary files /dev/null and b/UpLoad/agreement/SKM_C25819032010100.pdf differ diff --git a/UpLoad/agreement/SKM_C25819042918180.pdf b/UpLoad/agreement/SKM_C25819042918180.pdf new file mode 100644 index 0000000..e346294 Binary files /dev/null and b/UpLoad/agreement/SKM_C25819042918180.pdf differ diff --git a/UpLoad/agreement/SKM_C25819042918181.pdf b/UpLoad/agreement/SKM_C25819042918181.pdf new file mode 100644 index 0000000..1acba29 Binary files /dev/null and b/UpLoad/agreement/SKM_C25819042918181.pdf differ diff --git a/UpLoad/agreement/Untitled_20180927_095824.pdf b/UpLoad/agreement/Untitled_20180927_095824.pdf new file mode 100644 index 0000000..e379d09 Binary files /dev/null and b/UpLoad/agreement/Untitled_20180927_095824.pdf differ diff --git a/UpLoad/agreement/d.xls b/UpLoad/agreement/d.xls new file mode 100644 index 0000000..034ebe7 Binary files /dev/null and b/UpLoad/agreement/d.xls differ diff --git a/UpLoad/board/(2015-03-03)아웃룩 ë©”ì�¼ì£¼ì†Œë¡�.csv b/UpLoad/board/(2015-03-03)아웃룩 ë©”ì�¼ì£¼ì†Œë¡�.csv new file mode 100644 index 0000000..15b1e03 --- /dev/null +++ b/UpLoad/board/(2015-03-03)아웃룩 ë©”ì�¼ì£¼ì†Œë¡�.csv @@ -0,0 +1,77 @@ +ºÎ¼­,À̸§,¸ÞÀÏ +ÀÓ¿øÁø,±è½ÂÈ£,shkim@kric.com +ÀÓ¿øÁø,¼Õº´ÈÆ,bhson@kric.com +ÀÓ¿øÁø,¿ø¼ºÈÆ,shwon@kric.com +ÀÓ¿øÁø,À±¼öÇÑ,shyoun@kric.com +ÀÓ¿øÁø,À±¿µÈñ,yyh@kric.com +ÀÓ¿øÁø,ÀÌÁÖȲ,jhlee@kric.com +¿¬±¸ 1 ÆÀ,°­»ó¼®,kang@kric.com +¿¬±¸ 1 ÆÀ,¾öÈ¿Áø,hjeom@kric.com +¿¬±¸ 1 ÆÀ,À±Áö¿õ,jwyoon@kric.com +¿¬±¸ 1 ÆÀ,À̰æÈñ,kyunghee@kric.com +¿¬±¸ 1 ÆÀ,ÃÖÀ±°æ,ykchoi@kric.com +¿¬±¸ 1 ÆÀ,ÇϾƿµ,ahyoung@kric.com +¿¬±¸ 1 ÆÀ,½ÅÇØÀÎ,hishin@kric.com +¿¬±¸ 1 ÆÀ,À̹̼±,mslee@kric.com +¿¬±¸ 1 ÆÀ,ÃÖº¸À±,bychoi@kric.com +¿¬±¸ 2 ÆÀ,¹ÚÁöºó,parkjb@kric.com +¿¬±¸ 2 ÆÀ,±èÂù´ë,cdkim@kric.com +¿¬±¸ 2 ÆÀ,·ù´ö¸²,drryu@kric.com +¿¬±¸ 2 ÆÀ,¹Ú¼¼¾Æ ÀÎÅÏ,radiowana@kric.com +¿¬±¸ 2 ÆÀ,¹ÚÁöÇö,jhpark0426@kric.com +¿¬±¸ 2 ÆÀ,¼­Áö¿¬,sjiyeon@kric.com +¿¬±¸ 2 ÆÀ,¾ÈÁØÅÃ,juntaekan@kric.com +¿¬±¸ 2 ÆÀ,¾ÈÁØÅÃ,juntaekan1@kric.com +¿¬±¸ 2 ÆÀ,ÀÌÈ¿¸²,hrlee@kric.com +¿¬±¸ 2 ÆÀ,¹Ú¼¼¾Æ,sapark@kric.com +¿¬±¸ 2 ÆÀ,¼ÕÃæÇÑ,chson@kric.com +¿¬±¸ 3 ÆÀ,±è¼º¿í,seongwook@kric.com +¿¬±¸ 3 ÆÀ,¹Ú¼®È£,hopark@kric.com +¿¬±¸ 3 ÆÀ,¹ÚÃáÈ£,chpark@kric.com +¿¬±¸ 3 ÆÀ,¹éÇü±Ù,bbaekhk@kric.com +¿¬±¸ 3 ÆÀ,À±Å¿¬,swtyoon@kric.com +¿¬±¸ 3 ÆÀ,ÀÌÀÎȯ,ihlee@kric.com +¿¬±¸ 3 ÆÀ,ÀüÁÖÇö,jhjeon@kric.com +¿¬±¸ 3 ÆÀ,ÀüÇý·Ã,hrjeon@kric.com +¿¬±¸ 3 ÆÀ,Á¤Àº±³,ekjung@kric.com +¿¬±¸ 3 ÆÀ,±è½½±â,sgkim@kric.com +¿¬±¸ 3 ÆÀ,ÃÖȯ,hchoi@kric.com +¿¬±¸ 5 ÆÀ,±èÀÎÁö,inji@kric.com +¿¬±¸ 5 ÆÀ,¼ÛÀ¯±Ù,ygsong@kric.com +¿¬±¸ 5 ÆÀ,Á¤Á¾È£,james@kric.com +¿¬±¸ 6 ÆÀ,Á¶Çѹé,hbcho@kric.com +¿¬±¸ 6 ÆÀ,±èÁø¹ü,jbkim@kric.com +¿¬±¸ 6 ÆÀ,¹ÚÁ¾¹ü,jongbeom@kric.com +¿¬±¸ 6 ÆÀ,¹Ú¼ÒÁø,sjpark@kric.com +¿¬±¸ 6 ÆÀ,¿ì¼±Á¤,sjwoo@kric.com +¿¬±¸ 7 ÆÀ,¹ÚÁöÇö,jhbak@kric.com +¿¬±¸ 7 ÆÀ,¹è±¤´ö,kdbae@kric.com +¿¬±¸ 7 ÆÀ,ÀÌÀçÀÎ,leejaein@kric.com +¿¬±¸ 7 ÆÀ,Á¤¿¹Áß,yjchung@kric.com +¿¬±¸ 7 ÆÀ,ÀÌÁؼö,jslee@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,°­³ªÀ±,nayun@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,±èÀÏÁß,ijkim@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,¿ÀÁ¤Çö,ohjingu07@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,Á¤°­¿í,kanguk@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,äÁÖÈñ,cowngml@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,±èµ¿¼®,dskim@kric.com +QCÆÀ,±èÇöÁÖ,hyunjukim@kric.com +QCÆÀ,ÀåÀº¼ö,cami@kric.com +ÀÚ·áÁ¶»çºÎ,±è³ª¿¬,joajoany@kric.com +ÀÚ·áÁ¶»çºÎ,³ªÇöÁÖ,najoona@kric.com +ÀÚ·áÁ¶»çºÎ,¹ÚÁ¤¿í,Jungwook@kric.com +ÀÚ·áÁ¶»çºÎ,½Ç»çÆÑ½º,fax@kric.com +ÀÚ·áÁ¶»çºÎ,¾îÀμ±,eoinsun@kric.com +ÀÚ·áÁ¶»çºÎ,À±ÁÖÈñ,yunjh@kric.com +ÀÚ·áÁ¶»çºÎ,Á¤ÇýÁø,jhj@kric.com +ÀÚ·áÁ¶»çºÎ,Á¤Ã¢ÈÆ,chjung@kric.com +ÀÚ·áÁ¶»çºÎ,ÇѽÂÇö,shhan@kric.com +ÀÚ·áÁ¶»çºÎ,CATI01,cati01@kric.com +ÀÚ·áÁ¶»çºÎ,AS01,as01@kric.com +ÀÚ·áÁ¶»çºÎ,¹ÎÃá±â,mcg0613@kric.com +°æ¿µÀü·«½Ç,¹ÚÅ¿µ,taeyoungpark@kric.com +°æ¿µÀü·«½Ç,½Å»ó¿î,sangoon@kric.com +°æ¿µÀü·«½Ç,¾ç¿µÀº,id-aqua@kric.com +°æ¿µÀü·«½Ç,¾çÁö¿µ,jsjy@kric.com +°æ¿µÀü·«½Ç,ÀÌÀºÁ¤,ejlee@kric.com +°æ¿µÀü·«½Ç,Á¤À¯Áø,egjung@kric.com diff --git a/UpLoad/board/(2015-03-03)아웃룩 ë©”ì�¼ì£¼ì†Œë¡�1.csv b/UpLoad/board/(2015-03-03)아웃룩 ë©”ì�¼ì£¼ì†Œë¡�1.csv new file mode 100644 index 0000000..15b1e03 --- /dev/null +++ b/UpLoad/board/(2015-03-03)아웃룩 ë©”ì�¼ì£¼ì†Œë¡�1.csv @@ -0,0 +1,77 @@ +ºÎ¼­,À̸§,¸ÞÀÏ +ÀÓ¿øÁø,±è½ÂÈ£,shkim@kric.com +ÀÓ¿øÁø,¼Õº´ÈÆ,bhson@kric.com +ÀÓ¿øÁø,¿ø¼ºÈÆ,shwon@kric.com +ÀÓ¿øÁø,À±¼öÇÑ,shyoun@kric.com +ÀÓ¿øÁø,À±¿µÈñ,yyh@kric.com +ÀÓ¿øÁø,ÀÌÁÖȲ,jhlee@kric.com +¿¬±¸ 1 ÆÀ,°­»ó¼®,kang@kric.com +¿¬±¸ 1 ÆÀ,¾öÈ¿Áø,hjeom@kric.com +¿¬±¸ 1 ÆÀ,À±Áö¿õ,jwyoon@kric.com +¿¬±¸ 1 ÆÀ,À̰æÈñ,kyunghee@kric.com +¿¬±¸ 1 ÆÀ,ÃÖÀ±°æ,ykchoi@kric.com +¿¬±¸ 1 ÆÀ,ÇϾƿµ,ahyoung@kric.com +¿¬±¸ 1 ÆÀ,½ÅÇØÀÎ,hishin@kric.com +¿¬±¸ 1 ÆÀ,À̹̼±,mslee@kric.com +¿¬±¸ 1 ÆÀ,ÃÖº¸À±,bychoi@kric.com +¿¬±¸ 2 ÆÀ,¹ÚÁöºó,parkjb@kric.com +¿¬±¸ 2 ÆÀ,±èÂù´ë,cdkim@kric.com +¿¬±¸ 2 ÆÀ,·ù´ö¸²,drryu@kric.com +¿¬±¸ 2 ÆÀ,¹Ú¼¼¾Æ ÀÎÅÏ,radiowana@kric.com +¿¬±¸ 2 ÆÀ,¹ÚÁöÇö,jhpark0426@kric.com +¿¬±¸ 2 ÆÀ,¼­Áö¿¬,sjiyeon@kric.com +¿¬±¸ 2 ÆÀ,¾ÈÁØÅÃ,juntaekan@kric.com +¿¬±¸ 2 ÆÀ,¾ÈÁØÅÃ,juntaekan1@kric.com +¿¬±¸ 2 ÆÀ,ÀÌÈ¿¸²,hrlee@kric.com +¿¬±¸ 2 ÆÀ,¹Ú¼¼¾Æ,sapark@kric.com +¿¬±¸ 2 ÆÀ,¼ÕÃæÇÑ,chson@kric.com +¿¬±¸ 3 ÆÀ,±è¼º¿í,seongwook@kric.com +¿¬±¸ 3 ÆÀ,¹Ú¼®È£,hopark@kric.com +¿¬±¸ 3 ÆÀ,¹ÚÃáÈ£,chpark@kric.com +¿¬±¸ 3 ÆÀ,¹éÇü±Ù,bbaekhk@kric.com +¿¬±¸ 3 ÆÀ,À±Å¿¬,swtyoon@kric.com +¿¬±¸ 3 ÆÀ,ÀÌÀÎȯ,ihlee@kric.com +¿¬±¸ 3 ÆÀ,ÀüÁÖÇö,jhjeon@kric.com +¿¬±¸ 3 ÆÀ,ÀüÇý·Ã,hrjeon@kric.com +¿¬±¸ 3 ÆÀ,Á¤Àº±³,ekjung@kric.com +¿¬±¸ 3 ÆÀ,±è½½±â,sgkim@kric.com +¿¬±¸ 3 ÆÀ,ÃÖȯ,hchoi@kric.com +¿¬±¸ 5 ÆÀ,±èÀÎÁö,inji@kric.com +¿¬±¸ 5 ÆÀ,¼ÛÀ¯±Ù,ygsong@kric.com +¿¬±¸ 5 ÆÀ,Á¤Á¾È£,james@kric.com +¿¬±¸ 6 ÆÀ,Á¶Çѹé,hbcho@kric.com +¿¬±¸ 6 ÆÀ,±èÁø¹ü,jbkim@kric.com +¿¬±¸ 6 ÆÀ,¹ÚÁ¾¹ü,jongbeom@kric.com +¿¬±¸ 6 ÆÀ,¹Ú¼ÒÁø,sjpark@kric.com +¿¬±¸ 6 ÆÀ,¿ì¼±Á¤,sjwoo@kric.com +¿¬±¸ 7 ÆÀ,¹ÚÁöÇö,jhbak@kric.com +¿¬±¸ 7 ÆÀ,¹è±¤´ö,kdbae@kric.com +¿¬±¸ 7 ÆÀ,ÀÌÀçÀÎ,leejaein@kric.com +¿¬±¸ 7 ÆÀ,Á¤¿¹Áß,yjchung@kric.com +¿¬±¸ 7 ÆÀ,ÀÌÁؼö,jslee@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,°­³ªÀ±,nayun@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,±èÀÏÁß,ijkim@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,¿ÀÁ¤Çö,ohjingu07@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,Á¤°­¿í,kanguk@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,äÁÖÈñ,cowngml@kric.com +Á¤º¸½Ã½ºÅÛÆÀ,±èµ¿¼®,dskim@kric.com +QCÆÀ,±èÇöÁÖ,hyunjukim@kric.com +QCÆÀ,ÀåÀº¼ö,cami@kric.com +ÀÚ·áÁ¶»çºÎ,±è³ª¿¬,joajoany@kric.com +ÀÚ·áÁ¶»çºÎ,³ªÇöÁÖ,najoona@kric.com +ÀÚ·áÁ¶»çºÎ,¹ÚÁ¤¿í,Jungwook@kric.com +ÀÚ·áÁ¶»çºÎ,½Ç»çÆÑ½º,fax@kric.com +ÀÚ·áÁ¶»çºÎ,¾îÀμ±,eoinsun@kric.com +ÀÚ·áÁ¶»çºÎ,À±ÁÖÈñ,yunjh@kric.com +ÀÚ·áÁ¶»çºÎ,Á¤ÇýÁø,jhj@kric.com +ÀÚ·áÁ¶»çºÎ,Á¤Ã¢ÈÆ,chjung@kric.com +ÀÚ·áÁ¶»çºÎ,ÇѽÂÇö,shhan@kric.com +ÀÚ·áÁ¶»çºÎ,CATI01,cati01@kric.com +ÀÚ·áÁ¶»çºÎ,AS01,as01@kric.com +ÀÚ·áÁ¶»çºÎ,¹ÎÃá±â,mcg0613@kric.com +°æ¿µÀü·«½Ç,¹ÚÅ¿µ,taeyoungpark@kric.com +°æ¿µÀü·«½Ç,½Å»ó¿î,sangoon@kric.com +°æ¿µÀü·«½Ç,¾ç¿µÀº,id-aqua@kric.com +°æ¿µÀü·«½Ç,¾çÁö¿µ,jsjy@kric.com +°æ¿µÀü·«½Ç,ÀÌÀºÁ¤,ejlee@kric.com +°æ¿µÀü·«½Ç,Á¤À¯Áø,egjung@kric.com diff --git a/UpLoad/board/(G2B)ê²½ìŸ�입찰참가ìž�격등ë¡�ì¦� 발급요령.pptx b/UpLoad/board/(G2B)ê²½ìŸ�입찰참가ìž�격등ë¡�ì¦� 발급요령.pptx new file mode 100644 index 0000000..928f472 Binary files /dev/null and b/UpLoad/board/(G2B)ê²½ìŸ�입찰참가ìž�격등ë¡�ì¦� 발급요령.pptx differ diff --git a/UpLoad/board/(KORA)회ì›�등ë¡�ì¦�.pdf b/UpLoad/board/(KORA)회ì›�등ë¡�ì¦�.pdf new file mode 100644 index 0000000..ebe0e8d Binary files /dev/null and b/UpLoad/board/(KORA)회ì›�등ë¡�ì¦�.pdf differ diff --git a/UpLoad/board/(KRC) ê°œì�¸ì •ë³´ 보호 서약서.hwp b/UpLoad/board/(KRC) ê°œì�¸ì •ë³´ 보호 서약서.hwp new file mode 100644 index 0000000..c986582 Binary files /dev/null and b/UpLoad/board/(KRC) ê°œì�¸ì •ë³´ 보호 서약서.hwp differ diff --git a/UpLoad/board/(KRC) 사용ì�¸ê°� 2.jpg b/UpLoad/board/(KRC) 사용ì�¸ê°� 2.jpg new file mode 100644 index 0000000..a917c31 Binary files /dev/null and b/UpLoad/board/(KRC) 사용ì�¸ê°� 2.jpg differ diff --git a/UpLoad/board/(KRC) 중소기업 확ì�¸ì„œ_공공.pdf.pdf b/UpLoad/board/(KRC) 중소기업 확ì�¸ì„œ_공공.pdf.pdf new file mode 100644 index 0000000..2514e41 Binary files /dev/null and b/UpLoad/board/(KRC) 중소기업 확ì�¸ì„œ_공공.pdf.pdf differ diff --git a/UpLoad/board/(KRC) 중소기업 확ì�¸ì„œ_민간.pdf.pdf b/UpLoad/board/(KRC) 중소기업 확ì�¸ì„œ_민간.pdf.pdf new file mode 100644 index 0000000..8f2def0 Binary files /dev/null and b/UpLoad/board/(KRC) 중소기업 확ì�¸ì„œ_민간.pdf.pdf differ diff --git a/UpLoad/board/(KRC) 코딩 기본 ì›�ì¹™_201803.xlsx b/UpLoad/board/(KRC) 코딩 기본 ì›�ì¹™_201803.xlsx new file mode 100644 index 0000000..bcd2362 Binary files /dev/null and b/UpLoad/board/(KRC) 코딩 기본 ì›�ì¹™_201803.xlsx differ diff --git a/UpLoad/board/(KRC) 코딩 기본 ì›�ì¹™_20180307.xlsx b/UpLoad/board/(KRC) 코딩 기본 ì›�ì¹™_20180307.xlsx new file mode 100644 index 0000000..e224048 Binary files /dev/null and b/UpLoad/board/(KRC) 코딩 기본 ì›�ì¹™_20180307.xlsx differ diff --git a/UpLoad/board/(KRC)15ë…„ 3ì›” 월중행사_150303.xlsx b/UpLoad/board/(KRC)15ë…„ 3ì›” 월중행사_150303.xlsx new file mode 100644 index 0000000..55d3398 Binary files /dev/null and b/UpLoad/board/(KRC)15ë…„ 3ì›” 월중행사_150303.xlsx differ diff --git a/UpLoad/board/(KRC)15ë…„ 4ì›” 월중행사_150401.xlsx b/UpLoad/board/(KRC)15ë…„ 4ì›” 월중행사_150401.xlsx new file mode 100644 index 0000000..2db2319 Binary files /dev/null and b/UpLoad/board/(KRC)15ë…„ 4ì›” 월중행사_150401.xlsx differ diff --git a/UpLoad/board/(KRC)15ë…„ ë‚´ë¶€êµ�육 프로그램.doc b/UpLoad/board/(KRC)15ë…„ ë‚´ë¶€êµ�육 프로그램.doc new file mode 100644 index 0000000..5fd08b8 Binary files /dev/null and b/UpLoad/board/(KRC)15ë…„ ë‚´ë¶€êµ�육 프로그램.doc differ diff --git a/UpLoad/board/(KRC)16ë…„ ìž„ì§�ì›� 건강검진_160105.docx b/UpLoad/board/(KRC)16ë…„ ìž„ì§�ì›� 건강검진_160105.docx new file mode 100644 index 0000000..54868e3 Binary files /dev/null and b/UpLoad/board/(KRC)16ë…„ ìž„ì§�ì›� 건강검진_160105.docx differ diff --git a/UpLoad/board/(KRC)2015 부서장급외부êµ�육프로그램Guideline201502.xlsx b/UpLoad/board/(KRC)2015 부서장급외부êµ�육프로그램Guideline201502.xlsx new file mode 100644 index 0000000..6a4d23d Binary files /dev/null and b/UpLoad/board/(KRC)2015 부서장급외부êµ�육프로그램Guideline201502.xlsx differ diff --git a/UpLoad/board/(KRC)2015년소ë“�세액공제신고서.xls b/UpLoad/board/(KRC)2015년소ë“�세액공제신고서.xls new file mode 100644 index 0000000..e8b1643 Binary files /dev/null and b/UpLoad/board/(KRC)2015년소ë“�세액공제신고서.xls differ diff --git a/UpLoad/board/(KRC)2016 건강검진 항목.xlsx b/UpLoad/board/(KRC)2016 건강검진 항목.xlsx new file mode 100644 index 0000000..0f43272 Binary files /dev/null and b/UpLoad/board/(KRC)2016 건강검진 항목.xlsx differ diff --git a/UpLoad/board/(KRC)2016 재무제표(구PNC).pdf b/UpLoad/board/(KRC)2016 재무제표(구PNC).pdf new file mode 100644 index 0000000..3f7345d Binary files /dev/null and b/UpLoad/board/(KRC)2016 재무제표(구PNC).pdf differ diff --git a/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170329.pdf b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170329.pdf new file mode 100644 index 0000000..acaf4e3 Binary files /dev/null and b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170329.pdf differ diff --git a/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170331.pdf b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170331.pdf new file mode 100644 index 0000000..9b07723 Binary files /dev/null and b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170331.pdf differ diff --git a/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170407.pdf b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170407.pdf new file mode 100644 index 0000000..8da3f86 Binary files /dev/null and b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170407.pdf differ diff --git a/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_1704071.pdf b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_1704071.pdf new file mode 100644 index 0000000..8da3f86 Binary files /dev/null and b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_1704071.pdf differ diff --git a/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170414.pdf b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170414.pdf new file mode 100644 index 0000000..b23cfa5 Binary files /dev/null and b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170414.pdf differ diff --git a/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170414b.pdf b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170414b.pdf new file mode 100644 index 0000000..740e3f7 Binary files /dev/null and b/UpLoad/board/(KRC)2017 ë‚´ë¶€êµ�육 ì¶œì„�현황_170414b.pdf differ diff --git a/UpLoad/board/(KRC)2017 리ë�”스헬스케어 예약 매뉴얼.ppt b/UpLoad/board/(KRC)2017 리ë�”스헬스케어 예약 매뉴얼.ppt new file mode 100644 index 0000000..9eb080f Binary files /dev/null and b/UpLoad/board/(KRC)2017 리ë�”스헬스케어 예약 매뉴얼.ppt differ diff --git a/UpLoad/board/(KRC)2017 재무제표(구PNC).pdf b/UpLoad/board/(KRC)2017 재무제표(구PNC).pdf new file mode 100644 index 0000000..43390c5 Binary files /dev/null and b/UpLoad/board/(KRC)2017 재무제표(구PNC).pdf differ diff --git a/UpLoad/board/(KRC)2017_건강검진제안서.xls b/UpLoad/board/(KRC)2017_건강검진제안서.xls new file mode 100644 index 0000000..6da56cb Binary files /dev/null and b/UpLoad/board/(KRC)2017_건강검진제안서.xls differ diff --git a/UpLoad/board/(KRC)2017_건강검진제안서1.xls b/UpLoad/board/(KRC)2017_건강검진제안서1.xls new file mode 100644 index 0000000..6da56cb Binary files /dev/null and b/UpLoad/board/(KRC)2017_건강검진제안서1.xls differ diff --git a/UpLoad/board/(KRC)2018 건강검진 예약 매뉴얼.pdf b/UpLoad/board/(KRC)2018 건강검진 예약 매뉴얼.pdf new file mode 100644 index 0000000..47895e7 Binary files /dev/null and b/UpLoad/board/(KRC)2018 건강검진 예약 매뉴얼.pdf differ diff --git a/UpLoad/board/(KRC)2018ë…„ ë�„급제 ìš´ì˜�안_20180414_최종.xls b/UpLoad/board/(KRC)2018ë…„ ë�„급제 ìš´ì˜�안_20180414_최종.xls new file mode 100644 index 0000000..43c90dc Binary files /dev/null and b/UpLoad/board/(KRC)2018ë…„ ë�„급제 ìš´ì˜�안_20180414_최종.xls differ diff --git a/UpLoad/board/(KRC)2018ë…„ ìž„ì§�ì›� 건강검진_180103.docx b/UpLoad/board/(KRC)2018ë…„ ìž„ì§�ì›� 건강검진_180103.docx new file mode 100644 index 0000000..e2ceb56 Binary files /dev/null and b/UpLoad/board/(KRC)2018ë…„ ìž„ì§�ì›� 건강검진_180103.docx differ diff --git a/UpLoad/board/(KRC)2018ë…„ ìž„ì§�ì›� 건강검진_180103_v1.docx b/UpLoad/board/(KRC)2018ë…„ ìž„ì§�ì›� 건강검진_180103_v1.docx new file mode 100644 index 0000000..4b8035f Binary files /dev/null and b/UpLoad/board/(KRC)2018ë…„ ìž„ì§�ì›� 건강검진_180103_v1.docx differ diff --git a/UpLoad/board/(KRC)2018재무제표(구PNC).pdf b/UpLoad/board/(KRC)2018재무제표(구PNC).pdf new file mode 100644 index 0000000..54a0c37 Binary files /dev/null and b/UpLoad/board/(KRC)2018재무제표(구PNC).pdf differ diff --git a/UpLoad/board/(KRC)2018재무제표(구PNC)_v1.pdf b/UpLoad/board/(KRC)2018재무제표(구PNC)_v1.pdf new file mode 100644 index 0000000..b5174e7 Binary files /dev/null and b/UpLoad/board/(KRC)2018재무제표(구PNC)_v1.pdf differ diff --git a/UpLoad/board/(KRC)2019 재무제표.pdf b/UpLoad/board/(KRC)2019 재무제표.pdf new file mode 100644 index 0000000..671a122 Binary files /dev/null and b/UpLoad/board/(KRC)2019 재무제표.pdf differ diff --git a/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226.docx b/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226.docx new file mode 100644 index 0000000..1d94276 Binary files /dev/null and b/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226.docx differ diff --git a/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226_v1.docx b/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226_v1.docx new file mode 100644 index 0000000..351b53a Binary files /dev/null and b/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226_v1.docx differ diff --git a/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226_v2.docx b/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226_v2.docx new file mode 100644 index 0000000..01963cc Binary files /dev/null and b/UpLoad/board/(KRC)2019ë…„ ìž„ì§�ì›� 건강검진_181226_v2.docx differ diff --git a/UpLoad/board/(KRC)Booster sample ìž�료수집 방법_170626.docx b/UpLoad/board/(KRC)Booster sample ìž�료수집 방법_170626.docx new file mode 100644 index 0000000..c84126f Binary files /dev/null and b/UpLoad/board/(KRC)Booster sample ìž�료수집 방법_170626.docx differ diff --git a/UpLoad/board/(KRC)Excel_í™�길ë�™.xlsx b/UpLoad/board/(KRC)Excel_í™�길ë�™.xlsx new file mode 100644 index 0000000..b9125bb Binary files /dev/null and b/UpLoad/board/(KRC)Excel_í™�길ë�™.xlsx differ diff --git a/UpLoad/board/(KRC)KORA 협회 문구 ë°� ë””ìž�ì�¸20170605.pptx b/UpLoad/board/(KRC)KORA 협회 문구 ë°� ë””ìž�ì�¸20170605.pptx new file mode 100644 index 0000000..67778eb Binary files /dev/null and b/UpLoad/board/(KRC)KORA 협회 문구 ë°� ë””ìž�ì�¸20170605.pptx differ diff --git a/UpLoad/board/(KRC)KORA 협회 문구 ë°� ë””ìž�ì�¸20170608.pptx b/UpLoad/board/(KRC)KORA 협회 문구 ë°� ë””ìž�ì�¸20170608.pptx new file mode 100644 index 0000000..ea9d016 Binary files /dev/null and b/UpLoad/board/(KRC)KORA 협회 문구 ë°� ë””ìž�ì�¸20170608.pptx differ diff --git a/UpLoad/board/(KRC)KTX 비즈니스 티켓 ì�´ìš© ì •ë³´.doc b/UpLoad/board/(KRC)KTX 비즈니스 티켓 ì�´ìš© ì •ë³´.doc new file mode 100644 index 0000000..661a1ac Binary files /dev/null and b/UpLoad/board/(KRC)KTX 비즈니스 티켓 ì�´ìš© ì •ë³´.doc differ diff --git a/UpLoad/board/(KRC)KTX 비즈니스 티켓 ì�´ìš© ì •ë³´_120109.doc b/UpLoad/board/(KRC)KTX 비즈니스 티켓 ì�´ìš© ì •ë³´_120109.doc new file mode 100644 index 0000000..5e3af60 Binary files /dev/null and b/UpLoad/board/(KRC)KTX 비즈니스 티켓 ì�´ìš© ì •ë³´_120109.doc differ diff --git a/UpLoad/board/(KRC)New Employee Guidebook_1504.pdf b/UpLoad/board/(KRC)New Employee Guidebook_1504.pdf new file mode 100644 index 0000000..94eae4c Binary files /dev/null and b/UpLoad/board/(KRC)New Employee Guidebook_1504.pdf differ diff --git a/UpLoad/board/(KRC)New Employee Guidebook_150603.pdf b/UpLoad/board/(KRC)New Employee Guidebook_150603.pdf new file mode 100644 index 0000000..9c51814 Binary files /dev/null and b/UpLoad/board/(KRC)New Employee Guidebook_150603.pdf differ diff --git a/UpLoad/board/(KRC)New Employee Guidebook_20160318.pdf b/UpLoad/board/(KRC)New Employee Guidebook_20160318.pdf new file mode 100644 index 0000000..5b7f583 Binary files /dev/null and b/UpLoad/board/(KRC)New Employee Guidebook_20160318.pdf differ diff --git a/UpLoad/board/(KRC)OA_test_정답.xlsm b/UpLoad/board/(KRC)OA_test_정답.xlsm new file mode 100644 index 0000000..d41f1d0 Binary files /dev/null and b/UpLoad/board/(KRC)OA_test_정답.xlsm differ diff --git a/UpLoad/board/(KRC)OA_test_í™�길ë�™.xlsx b/UpLoad/board/(KRC)OA_test_í™�길ë�™.xlsx new file mode 100644 index 0000000..4008b22 Binary files /dev/null and b/UpLoad/board/(KRC)OA_test_í™�길ë�™.xlsx differ diff --git a/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼.pdf b/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼.pdf new file mode 100644 index 0000000..a97049d Binary files /dev/null and b/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼.pdf differ diff --git a/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼1.pdf b/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼1.pdf new file mode 100644 index 0000000..a97049d Binary files /dev/null and b/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼1.pdf differ diff --git a/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼2.pdf b/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼2.pdf new file mode 100644 index 0000000..a97049d Binary files /dev/null and b/UpLoad/board/(KRC)hp 오피스젯 Pro 8610 설치 매뉴얼2.pdf differ diff --git a/UpLoad/board/(KRC)가족친화ì�¸ì¦�_20171204.pdf b/UpLoad/board/(KRC)가족친화ì�¸ì¦�_20171204.pdf new file mode 100644 index 0000000..e314386 Binary files /dev/null and b/UpLoad/board/(KRC)가족친화ì�¸ì¦�_20171204.pdf differ diff --git a/UpLoad/board/(KRC)간편실명ì�¸ì¦�ê²€ì¦� ë°� 모바ì�¼ê²€ Manual_170802_최종.pptx b/UpLoad/board/(KRC)간편실명ì�¸ì¦�ê²€ì¦� ë°� 모바ì�¼ê²€ Manual_170802_최종.pptx new file mode 100644 index 0000000..1f64b95 Binary files /dev/null and b/UpLoad/board/(KRC)간편실명ì�¸ì¦�ê²€ì¦� ë°� 모바ì�¼ê²€ Manual_170802_최종.pptx differ diff --git a/UpLoad/board/(KRC)간편실명ì�¸ì¦�ê²€ì¦� ë°� 모바ì�¼ê²€ì¦� Manual_170802_최종.pptx b/UpLoad/board/(KRC)간편실명ì�¸ì¦�ê²€ì¦� ë°� 모바ì�¼ê²€ì¦� Manual_170802_최종.pptx new file mode 100644 index 0000000..1f64b95 Binary files /dev/null and b/UpLoad/board/(KRC)간편실명ì�¸ì¦�ê²€ì¦� ë°� 모바ì�¼ê²€ì¦� Manual_170802_최종.pptx differ diff --git a/UpLoad/board/(KRC)개별 용역ì�˜ë¢° 발주지침201704.docx b/UpLoad/board/(KRC)개별 용역ì�˜ë¢° 발주지침201704.docx new file mode 100644 index 0000000..37cb92a Binary files /dev/null and b/UpLoad/board/(KRC)개별 용역ì�˜ë¢° 발주지침201704.docx differ diff --git a/UpLoad/board/(KRC)ê°œì�¸ì‹¤ì � í�‰ê°€ì œ 시행_20170201.docx b/UpLoad/board/(KRC)ê°œì�¸ì‹¤ì � í�‰ê°€ì œ 시행_20170201.docx new file mode 100644 index 0000000..44e77e3 Binary files /dev/null and b/UpLoad/board/(KRC)ê°œì�¸ì‹¤ì � í�‰ê°€ì œ 시행_20170201.docx differ diff --git a/UpLoad/board/(KRC)ê°œì�¸ì •ë³´ 보호 세부 지침_180620.doc b/UpLoad/board/(KRC)ê°œì�¸ì •ë³´ 보호 세부 지침_180620.doc new file mode 100644 index 0000000..46943f5 Binary files /dev/null and b/UpLoad/board/(KRC)ê°œì�¸ì •ë³´ 보호 세부 지침_180620.doc differ diff --git a/UpLoad/board/(KRC)건강검진 예약 매뉴얼.pdf b/UpLoad/board/(KRC)건강검진 예약 매뉴얼.pdf new file mode 100644 index 0000000..47895e7 Binary files /dev/null and b/UpLoad/board/(KRC)건강검진 예약 매뉴얼.pdf differ diff --git a/UpLoad/board/(KRC)ê²€ì¦�프로세스 ë°� 규정_2016.pptx b/UpLoad/board/(KRC)ê²€ì¦�프로세스 ë°� 규정_2016.pptx new file mode 100644 index 0000000..94e8618 Binary files /dev/null and b/UpLoad/board/(KRC)ê²€ì¦�프로세스 ë°� 규정_2016.pptx differ diff --git a/UpLoad/board/(KRC)결재문서작성 Guideline.ppt b/UpLoad/board/(KRC)결재문서작성 Guideline.ppt new file mode 100644 index 0000000..4b4699f Binary files /dev/null and b/UpLoad/board/(KRC)결재문서작성 Guideline.ppt differ diff --git a/UpLoad/board/(KRC)결재문서작성 Guideline1.ppt b/UpLoad/board/(KRC)결재문서작성 Guideline1.ppt new file mode 100644 index 0000000..24c3c84 Binary files /dev/null and b/UpLoad/board/(KRC)결재문서작성 Guideline1.ppt differ diff --git a/UpLoad/board/(KRC)공공기관 ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ_유효기ì�¼230803.pdf b/UpLoad/board/(KRC)공공기관 ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ_유효기ì�¼230803.pdf new file mode 100644 index 0000000..661f2f4 Binary files /dev/null and b/UpLoad/board/(KRC)공공기관 ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ_유효기ì�¼230803.pdf differ diff --git a/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_161111.doc b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_161111.doc new file mode 100644 index 0000000..b7da2fa Binary files /dev/null and b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_161111.doc differ diff --git a/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823.doc b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823.doc new file mode 100644 index 0000000..483ff9a Binary files /dev/null and b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823.doc differ diff --git a/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823_v1.doc b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823_v1.doc new file mode 100644 index 0000000..c867541 Binary files /dev/null and b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823_v1.doc differ diff --git a/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823_v2.doc b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823_v2.doc new file mode 100644 index 0000000..d9ac652 Binary files /dev/null and b/UpLoad/board/(KRC)êµ­ë‚´ 출장여비지급시행안_170823_v2.doc differ diff --git a/UpLoad/board/(KRC)근무부서 ì‹ ì²­ì œë�„ 시행안-20151023.docx b/UpLoad/board/(KRC)근무부서 ì‹ ì²­ì œë�„ 시행안-20151023.docx new file mode 100644 index 0000000..6710f2e Binary files /dev/null and b/UpLoad/board/(KRC)근무부서 ì‹ ì²­ì œë�„ 시행안-20151023.docx differ diff --git a/UpLoad/board/(KRC)기업부설연구소 ì�¸ì •서.pdf b/UpLoad/board/(KRC)기업부설연구소 ì�¸ì •서.pdf new file mode 100644 index 0000000..43e92d3 Binary files /dev/null and b/UpLoad/board/(KRC)기업부설연구소 ì�¸ì •서.pdf differ diff --git a/UpLoad/board/(KRC)ë‚´ë¶€êµ�육 참여ìž�ì—� 대한 정성고과 가산ì � 부여안.doc b/UpLoad/board/(KRC)ë‚´ë¶€êµ�육 참여ìž�ì—� 대한 정성고과 가산ì � 부여안.doc new file mode 100644 index 0000000..2c43130 Binary files /dev/null and b/UpLoad/board/(KRC)ë‚´ë¶€êµ�육 참여ìž�ì—� 대한 정성고과 가산ì � 부여안.doc differ diff --git a/UpLoad/board/(KRC)리조트 시설예약 ë°� 활용방법_170213.doc b/UpLoad/board/(KRC)리조트 시설예약 ë°� 활용방법_170213.doc new file mode 100644 index 0000000..c082b2c Binary files /dev/null and b/UpLoad/board/(KRC)리조트 시설예약 ë°� 활용방법_170213.doc differ diff --git a/UpLoad/board/(KRC)마케팅비 ë°� 부서장 관리비 지급규정안_160118.docx b/UpLoad/board/(KRC)마케팅비 ë°� 부서장 관리비 지급규정안_160118.docx new file mode 100644 index 0000000..5ca3d3a Binary files /dev/null and b/UpLoad/board/(KRC)마케팅비 ë°� 부서장 관리비 지급규정안_160118.docx differ diff --git a/UpLoad/board/(KRC)민간기업용 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼ 18.06.30).pdf b/UpLoad/board/(KRC)민간기업용 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼ 18.06.30).pdf new file mode 100644 index 0000000..1d777aa Binary files /dev/null and b/UpLoad/board/(KRC)민간기업용 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼ 18.06.30).pdf differ diff --git a/UpLoad/board/(KRC)민간기업용NICEì‹ ìš©í�‰ê°€(유효기ì�¼19.06.27).pdf b/UpLoad/board/(KRC)민간기업용NICEì‹ ìš©í�‰ê°€(유효기ì�¼19.06.27).pdf new file mode 100644 index 0000000..5c40c57 Binary files /dev/null and b/UpLoad/board/(KRC)민간기업용NICEì‹ ìš©í�‰ê°€(유효기ì�¼19.06.27).pdf differ diff --git a/UpLoad/board/(KRC)민간기업용NICEì‹ ìš©í�‰ê°€(유효기ì�¼19_v1.06.27).pdf b/UpLoad/board/(KRC)민간기업용NICEì‹ ìš©í�‰ê°€(유효기ì�¼19_v1.06.27).pdf new file mode 100644 index 0000000..5c40c57 Binary files /dev/null and b/UpLoad/board/(KRC)민간기업용NICEì‹ ìš©í�‰ê°€(유효기ì�¼19_v1.06.27).pdf differ diff --git a/UpLoad/board/(KRC)보안관리 항목_0814.xlsx b/UpLoad/board/(KRC)보안관리 항목_0814.xlsx new file mode 100644 index 0000000..860fa0b Binary files /dev/null and b/UpLoad/board/(KRC)보안관리 항목_0814.xlsx differ diff --git a/UpLoad/board/(KRC)ë³¼ë§�대회 프로그램_160512.pptx b/UpLoad/board/(KRC)ë³¼ë§�대회 프로그램_160512.pptx new file mode 100644 index 0000000..d8054da Binary files /dev/null and b/UpLoad/board/(KRC)ë³¼ë§�대회 프로그램_160512.pptx differ diff --git a/UpLoad/board/(KRC)ë³¼ë§�대회 프로그램_1605121.pptx b/UpLoad/board/(KRC)ë³¼ë§�대회 프로그램_1605121.pptx new file mode 100644 index 0000000..d8054da Binary files /dev/null and b/UpLoad/board/(KRC)ë³¼ë§�대회 프로그램_1605121.pptx differ diff --git a/UpLoad/board/(KRC)브랜드특허갱신등ë¡�_141217.xls b/UpLoad/board/(KRC)브랜드특허갱신등ë¡�_141217.xls new file mode 100644 index 0000000..bcd13c5 Binary files /dev/null and b/UpLoad/board/(KRC)브랜드특허갱신등ë¡�_141217.xls differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20150825(전면개정).docx b/UpLoad/board/(KRC)사규-취업규칙20150825(전면개정).docx new file mode 100644 index 0000000..085592b Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20150825(전면개정).docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20160121(경력ì§� ì—°ì°¨ ë°� ì�¼ë¶€ 개정).docx b/UpLoad/board/(KRC)사규-취업규칙20160121(경력ì§� ì—°ì°¨ ë°� ì�¼ë¶€ 개정).docx new file mode 100644 index 0000000..bda71e1 Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20160121(경력ì§� ì—°ì°¨ ë°� ì�¼ë¶€ 개정).docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20160121(경력ì§� ì—°ì°¨ ë°� ì�¼ë¶€ 개정)1.docx b/UpLoad/board/(KRC)사규-취업규칙20160121(경력ì§� ì—°ì°¨ ë°� ì�¼ë¶€ 개정)1.docx new file mode 100644 index 0000000..bda71e1 Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20160121(경력ì§� ì—°ì°¨ ë°� ì�¼ë¶€ 개정)1.docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20170111(연차발ìƒ�ì�¼ ë°� 수습사ì›�관리 개정).docx b/UpLoad/board/(KRC)사규-취업규칙20170111(연차발ìƒ�ì�¼ ë°� 수습사ì›�관리 개정).docx new file mode 100644 index 0000000..82ccff0 Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20170111(연차발ìƒ�ì�¼ ë°� 수습사ì›�관리 개정).docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20170405(심야근무 지연출근 ë�„ìž…).docx b/UpLoad/board/(KRC)사규-취업규칙20170405(심야근무 지연출근 ë�„ìž…).docx new file mode 100644 index 0000000..c085adf Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20170405(심야근무 지연출근 ë�„ìž…).docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20170518(모성보호 ì œë�„ 신설).docx b/UpLoad/board/(KRC)사규-취업규칙20170518(모성보호 ì œë�„ 신설).docx new file mode 100644 index 0000000..21d83c1 Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20170518(모성보호 ì œë�„ 신설).docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20170518(모성보호 ì œë�„ 신설)_v1.docx b/UpLoad/board/(KRC)사규-취업규칙20170518(모성보호 ì œë�„ 신설)_v1.docx new file mode 100644 index 0000000..21d83c1 Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20170518(모성보호 ì œë�„ 신설)_v1.docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20180529(개정근로기준법 ì �ìš©).docx b/UpLoad/board/(KRC)사규-취업규칙20180529(개정근로기준법 ì �ìš©).docx new file mode 100644 index 0000000..7d36dd0 Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20180529(개정근로기준법 ì �ìš©).docx differ diff --git a/UpLoad/board/(KRC)사규-취업규칙20190716(개정근로기준법 ì �ìš©).docx b/UpLoad/board/(KRC)사규-취업규칙20190716(개정근로기준법 ì �ìš©).docx new file mode 100644 index 0000000..9250fe7 Binary files /dev/null and b/UpLoad/board/(KRC)사규-취업규칙20190716(개정근로기준법 ì �ìš©).docx differ diff --git a/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_190411.pdf b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_190411.pdf new file mode 100644 index 0000000..e613547 Binary files /dev/null and b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_190411.pdf differ diff --git a/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20150702.pdf b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20150702.pdf new file mode 100644 index 0000000..ff7f080 Binary files /dev/null and b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20150702.pdf differ diff --git a/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20161129.pdf b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20161129.pdf new file mode 100644 index 0000000..06c5cde Binary files /dev/null and b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20161129.pdf differ diff --git a/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20190212.pdf b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20190212.pdf new file mode 100644 index 0000000..03024ca Binary files /dev/null and b/UpLoad/board/(KRC)사업ìž�등ë¡�ì¦�_20190212.pdf differ diff --git a/UpLoad/board/(KRC)사용ì�¸ê°� 2.jpg b/UpLoad/board/(KRC)사용ì�¸ê°� 2.jpg new file mode 100644 index 0000000..a917c31 Binary files /dev/null and b/UpLoad/board/(KRC)사용ì�¸ê°� 2.jpg differ diff --git a/UpLoad/board/(KRC)사용ì�¸ê°�.jpg b/UpLoad/board/(KRC)사용ì�¸ê°�.jpg new file mode 100644 index 0000000..03d4ac3 Binary files /dev/null and b/UpLoad/board/(KRC)사용ì�¸ê°�.jpg differ diff --git a/UpLoad/board/(KRC)사유서.xlsx b/UpLoad/board/(KRC)사유서.xlsx new file mode 100644 index 0000000..62f7a2e Binary files /dev/null and b/UpLoad/board/(KRC)사유서.xlsx differ diff --git a/UpLoad/board/(KRC)사전미팅운ì˜�지침_161018.docx b/UpLoad/board/(KRC)사전미팅운ì˜�지침_161018.docx new file mode 100644 index 0000000..c57369d Binary files /dev/null and b/UpLoad/board/(KRC)사전미팅운ì˜�지침_161018.docx differ diff --git a/UpLoad/board/(KRC)선거여론조사기관 등ë¡�ì¦�_170509.pdf b/UpLoad/board/(KRC)선거여론조사기관 등ë¡�ì¦�_170509.pdf new file mode 100644 index 0000000..7f5fe5a Binary files /dev/null and b/UpLoad/board/(KRC)선거여론조사기관 등ë¡�ì¦�_170509.pdf differ diff --git a/UpLoad/board/(KRC)설문지 scanning 업무 guideline.xlsx b/UpLoad/board/(KRC)설문지 scanning 업무 guideline.xlsx new file mode 100644 index 0000000..2b2d715 Binary files /dev/null and b/UpLoad/board/(KRC)설문지 scanning 업무 guideline.xlsx differ diff --git a/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_160617.doc b/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_160617.doc new file mode 100644 index 0000000..da70c05 Binary files /dev/null and b/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_160617.doc differ diff --git a/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_1606171.doc b/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_1606171.doc new file mode 100644 index 0000000..da70c05 Binary files /dev/null and b/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_1606171.doc differ diff --git a/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_161013.doc b/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_161013.doc new file mode 100644 index 0000000..caeb659 Binary files /dev/null and b/UpLoad/board/(KRC)설문지 ê°œì�¸ì •ë³´ 제공ë�™ì�˜ì„œ 샘플_161013.doc differ diff --git a/UpLoad/board/(KRC)세금계산서 발행 요청방법.doc b/UpLoad/board/(KRC)세금계산서 발행 요청방법.doc new file mode 100644 index 0000000..95ee080 Binary files /dev/null and b/UpLoad/board/(KRC)세금계산서 발행 요청방법.doc differ diff --git a/UpLoad/board/(KRC)소기업 확ì�¸ì„œ_20170329.pdf b/UpLoad/board/(KRC)소기업 확ì�¸ì„œ_20170329.pdf new file mode 100644 index 0000000..e1d4834 Binary files /dev/null and b/UpLoad/board/(KRC)소기업 확ì�¸ì„œ_20170329.pdf differ diff --git a/UpLoad/board/(KRC)소기업확ì�¸ì„œ(2016).pdf b/UpLoad/board/(KRC)소기업확ì�¸ì„œ(2016).pdf new file mode 100644 index 0000000..3b5fb1b Binary files /dev/null and b/UpLoad/board/(KRC)소기업확ì�¸ì„œ(2016).pdf differ diff --git a/UpLoad/board/(KRC)소기업확ì�¸ì„œ(2017).pdf b/UpLoad/board/(KRC)소기업확ì�¸ì„œ(2017).pdf new file mode 100644 index 0000000..74c69f2 Binary files /dev/null and b/UpLoad/board/(KRC)소기업확ì�¸ì„œ(2017).pdf differ diff --git a/UpLoad/board/(KRC)시설ì�´ìš© 계약서_160415.docx b/UpLoad/board/(KRC)시설ì�´ìš© 계약서_160415.docx new file mode 100644 index 0000000..ef0e3d0 Binary files /dev/null and b/UpLoad/board/(KRC)시설ì�´ìš© 계약서_160415.docx differ diff --git a/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_1601.doc b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_1601.doc new file mode 100644 index 0000000..d2d0f37 Binary files /dev/null and b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_1601.doc differ diff --git a/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_16011.doc b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_16011.doc new file mode 100644 index 0000000..19b011c Binary files /dev/null and b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_16011.doc differ diff --git a/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_16012.doc b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_16012.doc new file mode 100644 index 0000000..19b011c Binary files /dev/null and b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_16012.doc differ diff --git a/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_1609.doc b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_1609.doc new file mode 100644 index 0000000..c7ab0f6 Binary files /dev/null and b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_1609.doc differ diff --git a/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_170823.doc b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_170823.doc new file mode 100644 index 0000000..4b96ab7 Binary files /dev/null and b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준 개정 안내_170823.doc differ diff --git a/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준.pdf b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준.pdf new file mode 100644 index 0000000..9877f43 Binary files /dev/null and b/UpLoad/board/(KRC)ì‹�대 ë°� êµ�통비 지급기준.pdf differ diff --git a/UpLoad/board/(KRC)ì‹ ìš©í�‰ê°€_(NICE ì�´í�¬ë ˆë”§).pdf.pdf b/UpLoad/board/(KRC)ì‹ ìš©í�‰ê°€_(NICE ì�´í�¬ë ˆë”§).pdf.pdf new file mode 100644 index 0000000..951e132 Binary files /dev/null and b/UpLoad/board/(KRC)ì‹ ìš©í�‰ê°€_(NICE ì�´í�¬ë ˆë”§).pdf.pdf differ diff --git a/UpLoad/board/(KRC)신한ì�€í–‰ 통장표지.pdf b/UpLoad/board/(KRC)신한ì�€í–‰ 통장표지.pdf new file mode 100644 index 0000000..2301617 Binary files /dev/null and b/UpLoad/board/(KRC)신한ì�€í–‰ 통장표지.pdf differ diff --git a/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸(ì�¸ê°�).pdf b/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸(ì�¸ê°�).pdf new file mode 100644 index 0000000..2c5ddb3 Binary files /dev/null and b/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸(ì�¸ê°�).pdf differ diff --git a/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf b/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf new file mode 100644 index 0000000..6b67cde Binary files /dev/null and b/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf differ diff --git a/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸_v1.pdf b/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸_v1.pdf new file mode 100644 index 0000000..6b67cde Binary files /dev/null and b/UpLoad/board/(KRC)신한ì�€í–‰í†µìž¥ì‚¬ë³¸_v1.pdf differ diff --git a/UpLoad/board/(KRC)실시간 IT ê²€ì¦� 시스템 êµ�육ìž�료(20171011 최종).pptx b/UpLoad/board/(KRC)실시간 IT ê²€ì¦� 시스템 êµ�육ìž�료(20171011 최종).pptx new file mode 100644 index 0000000..bfc903b Binary files /dev/null and b/UpLoad/board/(KRC)실시간 IT ê²€ì¦� 시스템 êµ�육ìž�료(20171011 최종).pptx differ diff --git a/UpLoad/board/(KRC)실시간 IT ê²€ì¦� 시스템 êµ�육ìž�료.pptx b/UpLoad/board/(KRC)실시간 IT ê²€ì¦� 시스템 êµ�육ìž�료.pptx new file mode 100644 index 0000000..6ceade7 Binary files /dev/null and b/UpLoad/board/(KRC)실시간 IT ê²€ì¦� 시스템 êµ�육ìž�료.pptx differ diff --git a/UpLoad/board/(KRC)업무 program 사용 manual_151002.pptx b/UpLoad/board/(KRC)업무 program 사용 manual_151002.pptx new file mode 100644 index 0000000..a5da073 Binary files /dev/null and b/UpLoad/board/(KRC)업무 program 사용 manual_151002.pptx differ diff --git a/UpLoad/board/(KRC)업무 program 사용 manual_160322.pptx b/UpLoad/board/(KRC)업무 program 사용 manual_160322.pptx new file mode 100644 index 0000000..49dd192 Binary files /dev/null and b/UpLoad/board/(KRC)업무 program 사용 manual_160322.pptx differ diff --git a/UpLoad/board/(KRC)업무 program 사용 manual_160414.pptx b/UpLoad/board/(KRC)업무 program 사용 manual_160414.pptx new file mode 100644 index 0000000..baa499f Binary files /dev/null and b/UpLoad/board/(KRC)업무 program 사용 manual_160414.pptx differ diff --git a/UpLoad/board/(KRC)업무 program 사용 manual_160628.pptx b/UpLoad/board/(KRC)업무 program 사용 manual_160628.pptx new file mode 100644 index 0000000..9221231 Binary files /dev/null and b/UpLoad/board/(KRC)업무 program 사용 manual_160628.pptx differ diff --git a/UpLoad/board/(KRC)업무 program 사용 manual_161012.pptx b/UpLoad/board/(KRC)업무 program 사용 manual_161012.pptx new file mode 100644 index 0000000..46646fd Binary files /dev/null and b/UpLoad/board/(KRC)업무 program 사용 manual_161012.pptx differ diff --git a/UpLoad/board/(KRC)업무 program 사용 manual_170102.pptx b/UpLoad/board/(KRC)업무 program 사용 manual_170102.pptx new file mode 100644 index 0000000..a533716 Binary files /dev/null and b/UpLoad/board/(KRC)업무 program 사용 manual_170102.pptx differ diff --git a/UpLoad/board/(KRC)업무 program 사용 manual_170915.pptx b/UpLoad/board/(KRC)업무 program 사용 manual_170915.pptx new file mode 100644 index 0000000..c237ffe Binary files /dev/null and b/UpLoad/board/(KRC)업무 program 사용 manual_170915.pptx differ diff --git a/UpLoad/board/(KRC)업무용 ìž�료 구입절차_20180824.docx b/UpLoad/board/(KRC)업무용 ìž�료 구입절차_20180824.docx new file mode 100644 index 0000000..b33c557 Binary files /dev/null and b/UpLoad/board/(KRC)업무용 ìž�료 구입절차_20180824.docx differ diff --git a/UpLoad/board/(KRC)업체별 담당ìž� ì •ë³´.xls b/UpLoad/board/(KRC)업체별 담당ìž� ì •ë³´.xls new file mode 100644 index 0000000..6a3f832 Binary files /dev/null and b/UpLoad/board/(KRC)업체별 담당ìž� ì •ë³´.xls differ diff --git a/UpLoad/board/(KRC)육성개발관리 í�‰ê°€ê²°ê³¼ 활용 안내_180814.docx b/UpLoad/board/(KRC)육성개발관리 í�‰ê°€ê²°ê³¼ 활용 안내_180814.docx new file mode 100644 index 0000000..7f79a0a Binary files /dev/null and b/UpLoad/board/(KRC)육성개발관리 í�‰ê°€ê²°ê³¼ 활용 안내_180814.docx differ diff --git a/UpLoad/board/(KRC)ì�´í–‰ë³´ì¦�ì¦�ê¶Œ 발행 요청방법.doc b/UpLoad/board/(KRC)ì�´í–‰ë³´ì¦�ì¦�ê¶Œ 발행 요청방법.doc new file mode 100644 index 0000000..ce0404f Binary files /dev/null and b/UpLoad/board/(KRC)ì�´í–‰ë³´ì¦�ì¦�ê¶Œ 발행 요청방법.doc differ diff --git a/UpLoad/board/(KRC)ìž„ì§�ì›�성장ì�„위한코칭ë°�피드백Guideline_180307.pptx b/UpLoad/board/(KRC)ìž„ì§�ì›�성장ì�„위한코칭ë°�피드백Guideline_180307.pptx new file mode 100644 index 0000000..97ac6f3 Binary files /dev/null and b/UpLoad/board/(KRC)ìž„ì§�ì›�성장ì�„위한코칭ë°�피드백Guideline_180307.pptx differ diff --git a/UpLoad/board/(KRC)ìž�문위ì›�리스트_160921.xlsx b/UpLoad/board/(KRC)ìž�문위ì›�리스트_160921.xlsx new file mode 100644 index 0000000..b7455ec Binary files /dev/null and b/UpLoad/board/(KRC)ìž�문위ì›�리스트_160921.xlsx differ diff --git a/UpLoad/board/(KRC)ìž�문위ì›�리스트_17024.xlsx b/UpLoad/board/(KRC)ìž�문위ì›�리스트_17024.xlsx new file mode 100644 index 0000000..da539ef Binary files /dev/null and b/UpLoad/board/(KRC)ìž�문위ì›�리스트_17024.xlsx differ diff --git a/UpLoad/board/(KRC)ìž�문위ì›�리스트_170724.xlsx b/UpLoad/board/(KRC)ìž�문위ì›�리스트_170724.xlsx new file mode 100644 index 0000000..da539ef Binary files /dev/null and b/UpLoad/board/(KRC)ìž�문위ì›�리스트_170724.xlsx differ diff --git a/UpLoad/board/(KRC)접대비 지급개정안_20160928.doc b/UpLoad/board/(KRC)접대비 지급개정안_20160928.doc new file mode 100644 index 0000000..13fdbe4 Binary files /dev/null and b/UpLoad/board/(KRC)접대비 지급개정안_20160928.doc differ diff --git a/UpLoad/board/(KRC)접대비 지급개정안_201609281.doc b/UpLoad/board/(KRC)접대비 지급개정안_201609281.doc new file mode 100644 index 0000000..13fdbe4 Binary files /dev/null and b/UpLoad/board/(KRC)접대비 지급개정안_201609281.doc differ diff --git a/UpLoad/board/(KRC)접대비 지급개정안_201609282.doc b/UpLoad/board/(KRC)접대비 지급개정안_201609282.doc new file mode 100644 index 0000000..2b33783 Binary files /dev/null and b/UpLoad/board/(KRC)접대비 지급개정안_201609282.doc differ diff --git a/UpLoad/board/(KRC)제본 요청 시 guideline_150113.docx b/UpLoad/board/(KRC)제본 요청 시 guideline_150113.docx new file mode 100644 index 0000000..6a70e2d Binary files /dev/null and b/UpLoad/board/(KRC)제본 요청 시 guideline_150113.docx differ diff --git a/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�.pptx b/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�.pptx new file mode 100644 index 0000000..2ccebb8 Binary files /dev/null and b/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�.pptx differ diff --git a/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�1.pptx b/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�1.pptx new file mode 100644 index 0000000..2ccebb8 Binary files /dev/null and b/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�1.pptx differ diff --git a/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�2.pptx b/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�2.pptx new file mode 100644 index 0000000..2ccebb8 Binary files /dev/null and b/UpLoad/board/(KRC)제안서 보고서 경진대회 시ìƒ�ì‹�2.pptx differ diff --git a/UpLoad/board/(KRC)제안서,보고서 경진대회_170227.doc b/UpLoad/board/(KRC)제안서,보고서 경진대회_170227.doc new file mode 100644 index 0000000..19b5970 Binary files /dev/null and b/UpLoad/board/(KRC)제안서,보고서 경진대회_170227.doc differ diff --git a/UpLoad/board/(KRC)제안서,보고서 경진대회_1702271.doc b/UpLoad/board/(KRC)제안서,보고서 경진대회_1702271.doc new file mode 100644 index 0000000..19b5970 Binary files /dev/null and b/UpLoad/board/(KRC)제안서,보고서 경진대회_1702271.doc differ diff --git a/UpLoad/board/(KRC)제안서보고서 경진대회_170227.doc b/UpLoad/board/(KRC)제안서보고서 경진대회_170227.doc new file mode 100644 index 0000000..19b5970 Binary files /dev/null and b/UpLoad/board/(KRC)제안서보고서 경진대회_170227.doc differ diff --git a/UpLoad/board/(KRC)조사ì�˜ë¢°ì„œ.xls b/UpLoad/board/(KRC)조사ì�˜ë¢°ì„œ.xls new file mode 100644 index 0000000..0ae22a1 Binary files /dev/null and b/UpLoad/board/(KRC)조사ì�˜ë¢°ì„œ.xls differ diff --git a/UpLoad/board/(KRC)좌담회+OT룸장비 사용manual.pptx b/UpLoad/board/(KRC)좌담회+OT룸장비 사용manual.pptx new file mode 100644 index 0000000..514a063 Binary files /dev/null and b/UpLoad/board/(KRC)좌담회+OT룸장비 사용manual.pptx differ diff --git a/UpLoad/board/(KRC)중소기업 확ì�¸ì„œ_20190214.pdf b/UpLoad/board/(KRC)중소기업 확ì�¸ì„œ_20190214.pdf new file mode 100644 index 0000000..ce91958 Binary files /dev/null and b/UpLoad/board/(KRC)중소기업 확ì�¸ì„œ_20190214.pdf differ diff --git a/UpLoad/board/(KRC)중소기업(소기업) 확ì�¸ì„œ_180402.pdf b/UpLoad/board/(KRC)중소기업(소기업) 확ì�¸ì„œ_180402.pdf new file mode 100644 index 0000000..fb5f124 Binary files /dev/null and b/UpLoad/board/(KRC)중소기업(소기업) 확ì�¸ì„œ_180402.pdf differ diff --git a/UpLoad/board/(KRC)중소기업(소기업) 확ì�¸ì„œ_180402_v1.pdf b/UpLoad/board/(KRC)중소기업(소기업) 확ì�¸ì„œ_180402_v1.pdf new file mode 100644 index 0000000..4bff74b Binary files /dev/null and b/UpLoad/board/(KRC)중소기업(소기업) 확ì�¸ì„œ_180402_v1.pdf differ diff --git a/UpLoad/board/(KRC)중소기업[소기업] 확ì�¸ì„œ_190403.pdf b/UpLoad/board/(KRC)중소기업[소기업] 확ì�¸ì„œ_190403.pdf new file mode 100644 index 0000000..6da52d4 Binary files /dev/null and b/UpLoad/board/(KRC)중소기업[소기업] 확ì�¸ì„œ_190403.pdf differ diff --git a/UpLoad/board/(KRC)중소기업[소기업] 확ì�¸ì„œ_190411.pdf b/UpLoad/board/(KRC)중소기업[소기업] 확ì�¸ì„œ_190411.pdf new file mode 100644 index 0000000..88d4ced Binary files /dev/null and b/UpLoad/board/(KRC)중소기업[소기업] 확ì�¸ì„œ_190411.pdf differ diff --git a/UpLoad/board/(KRC)중소기업확ì�¸ì„œ_20190222.pdf b/UpLoad/board/(KRC)중소기업확ì�¸ì„œ_20190222.pdf new file mode 100644 index 0000000..ebdb338 Binary files /dev/null and b/UpLoad/board/(KRC)중소기업확ì�¸ì„œ_20190222.pdf differ diff --git a/UpLoad/board/(KRC)중소기업확ì�¸ì„œ_공공.pdf b/UpLoad/board/(KRC)중소기업확ì�¸ì„œ_공공.pdf new file mode 100644 index 0000000..1c7fb3f Binary files /dev/null and b/UpLoad/board/(KRC)중소기업확ì�¸ì„œ_공공.pdf differ diff --git a/UpLoad/board/(KRC)ì§�ì�¸.jpg b/UpLoad/board/(KRC)ì§�ì�¸.jpg new file mode 100644 index 0000000..7f39a6e Binary files /dev/null and b/UpLoad/board/(KRC)ì§�ì�¸.jpg differ diff --git a/UpLoad/board/(KRC)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_정보시스템개발서비스 ë°� ë¹…ë�°ì�´í„°ë¶„ì„�서비스_180605.pdf b/UpLoad/board/(KRC)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_정보시스템개발서비스 ë°� ë¹…ë�°ì�´í„°ë¶„ì„�서비스_180605.pdf new file mode 100644 index 0000000..8e91784 Binary files /dev/null and b/UpLoad/board/(KRC)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_정보시스템개발서비스 ë°� ë¹…ë�°ì�´í„°ë¶„ì„�서비스_180605.pdf differ diff --git a/UpLoad/board/(KRC)코리아리서치 회사소개서_201605.pptx b/UpLoad/board/(KRC)코리아리서치 회사소개서_201605.pptx new file mode 100644 index 0000000..83a6f8a Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치 회사소개서_201605.pptx differ diff --git a/UpLoad/board/(KRC)코리아리서치 회사소개서_201605_update.pptx b/UpLoad/board/(KRC)코리아리서치 회사소개서_201605_update.pptx new file mode 100644 index 0000000..b148b8d Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치 회사소개서_201605_update.pptx differ diff --git a/UpLoad/board/(KRC)코리아리서치 회사소개서_201605_수정.pptx b/UpLoad/board/(KRC)코리아리서치 회사소개서_201605_수정.pptx new file mode 100644 index 0000000..c103d78 Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치 회사소개서_201605_수정.pptx differ diff --git a/UpLoad/board/(KRC)코리아리서치 회사소개서_201606.pptx b/UpLoad/board/(KRC)코리아리서치 회사소개서_201606.pptx new file mode 100644 index 0000000..1b20be2 Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치 회사소개서_201606.pptx differ diff --git a/UpLoad/board/(KRC)코리아리서치 회사소개서_201608.pptx b/UpLoad/board/(KRC)코리아리서치 회사소개서_201608.pptx new file mode 100644 index 0000000..933dae5 Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치 회사소개서_201608.pptx differ diff --git a/UpLoad/board/(KRC)코리아리서치 회사소개서_2016081.pptx b/UpLoad/board/(KRC)코리아리서치 회사소개서_2016081.pptx new file mode 100644 index 0000000..97e8bfa Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치 회사소개서_2016081.pptx differ diff --git a/UpLoad/board/(KRC)코리아리서치 회사소개서_201706.pptx b/UpLoad/board/(KRC)코리아리서치 회사소개서_201706.pptx new file mode 100644 index 0000000..ee63356 Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치 회사소개서_201706.pptx differ diff --git a/UpLoad/board/(KRC)코리아리서치센터 ì‹ ìš©í�‰ê°€(유효기ì�¼21.04.23).pdf b/UpLoad/board/(KRC)코리아리서치센터 ì‹ ìš©í�‰ê°€(유효기ì�¼21.04.23).pdf new file mode 100644 index 0000000..4acb3eb Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치센터 ì‹ ìš©í�‰ê°€(유효기ì�¼21.04.23).pdf differ diff --git a/UpLoad/board/(KRC)코리아리서치센터 ì‹ ìš©í�‰ê°€(유효기ì�¼21_v1.04.23).pdf b/UpLoad/board/(KRC)코리아리서치센터 ì‹ ìš©í�‰ê°€(유효기ì�¼21_v1.04.23).pdf new file mode 100644 index 0000000..4acb3eb Binary files /dev/null and b/UpLoad/board/(KRC)코리아리서치센터 ì‹ ìš©í�‰ê°€(유효기ì�¼21_v1.04.23).pdf differ diff --git a/UpLoad/board/(KRC)코칭&피드백운ì˜�관리안_180307.docx b/UpLoad/board/(KRC)코칭&피드백운ì˜�관리안_180307.docx new file mode 100644 index 0000000..e481743 Binary files /dev/null and b/UpLoad/board/(KRC)코칭&피드백운ì˜�관리안_180307.docx differ diff --git a/UpLoad/board/(KRC)í‹°ì•„ì�´ëª¨ë°”ì�¼_모바ì�¼ê¸°í”„트_ìƒ�품목ë¡�표_20181004.xlsx b/UpLoad/board/(KRC)í‹°ì•„ì�´ëª¨ë°”ì�¼_모바ì�¼ê¸°í”„트_ìƒ�품목ë¡�표_20181004.xlsx new file mode 100644 index 0000000..6b300ff Binary files /dev/null and b/UpLoad/board/(KRC)í‹°ì•„ì�´ëª¨ë°”ì�¼_모바ì�¼ê¸°í”„트_ìƒ�품목ë¡�표_20181004.xlsx differ diff --git a/UpLoad/board/(KRC)프로그램 외주개발 용역 계약서 ì–‘ì‹�.docx b/UpLoad/board/(KRC)프로그램 외주개발 용역 계약서 ì–‘ì‹�.docx new file mode 100644 index 0000000..7c336cf Binary files /dev/null and b/UpLoad/board/(KRC)프로그램 외주개발 용역 계약서 ì–‘ì‹�.docx differ diff --git a/UpLoad/board/(KRC)프로ì �트 ì§„í–‰ 접대비 전결규정 ë°� í’ˆì�˜ ìƒ�신요건.docx b/UpLoad/board/(KRC)프로ì �트 ì§„í–‰ 접대비 전결규정 ë°� í’ˆì�˜ ìƒ�신요건.docx new file mode 100644 index 0000000..ae1e1f8 Binary files /dev/null and b/UpLoad/board/(KRC)프로ì �트 ì§„í–‰ 접대비 전결규정 ë°� í’ˆì�˜ ìƒ�신요건.docx differ diff --git a/UpLoad/board/(KRC)한국조사협회 회ì›�등ë¡�ì¦�_2018.pdf b/UpLoad/board/(KRC)한국조사협회 회ì›�등ë¡�ì¦�_2018.pdf new file mode 100644 index 0000000..79c97a1 Binary files /dev/null and b/UpLoad/board/(KRC)한국조사협회 회ì›�등ë¡�ì¦�_2018.pdf differ diff --git a/UpLoad/board/(KRC)해외출장여비+ìž�녀학ìž�금_150106.doc b/UpLoad/board/(KRC)해외출장여비+ìž�녀학ìž�금_150106.doc new file mode 100644 index 0000000..fc09211 Binary files /dev/null and b/UpLoad/board/(KRC)해외출장여비+ìž�녀학ìž�금_150106.doc differ diff --git a/UpLoad/board/(KRC)해외출장여비_ìž�녀학ìž�금_150106.doc b/UpLoad/board/(KRC)해외출장여비_ìž�녀학ìž�금_150106.doc new file mode 100644 index 0000000..fc09211 Binary files /dev/null and b/UpLoad/board/(KRC)해외출장여비_ìž�녀학ìž�금_150106.doc differ diff --git a/UpLoad/board/(KRC)협력업체 업무협약서_170425.docx b/UpLoad/board/(KRC)협력업체 업무협약서_170425.docx new file mode 100644 index 0000000..97f926e Binary files /dev/null and b/UpLoad/board/(KRC)협력업체 업무협약서_170425.docx differ diff --git a/UpLoad/board/(KRC)협력업체 업무협약서_170425_v1.docx b/UpLoad/board/(KRC)협력업체 업무협약서_170425_v1.docx new file mode 100644 index 0000000..13f05c7 Binary files /dev/null and b/UpLoad/board/(KRC)협력업체 업무협약서_170425_v1.docx differ diff --git a/UpLoad/board/(KRC)협력업체 업무협약서_190724.docx b/UpLoad/board/(KRC)협력업체 업무협약서_190724.docx new file mode 100644 index 0000000..d90fc49 Binary files /dev/null and b/UpLoad/board/(KRC)협력업체 업무협약서_190724.docx differ diff --git a/UpLoad/board/(KRC)호프ë�°ì�´ 행사안내_150318.doc b/UpLoad/board/(KRC)호프ë�°ì�´ 행사안내_150318.doc new file mode 100644 index 0000000..0e16684 Binary files /dev/null and b/UpLoad/board/(KRC)호프ë�°ì�´ 행사안내_150318.doc differ diff --git a/UpLoad/board/(KRC_구PNC)ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ(유효기ì�¼20.04.29).pdf b/UpLoad/board/(KRC_구PNC)ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ(유효기ì�¼20.04.29).pdf new file mode 100644 index 0000000..80ea4db Binary files /dev/null and b/UpLoad/board/(KRC_구PNC)ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ(유효기ì�¼20.04.29).pdf differ diff --git a/UpLoad/board/(KRC_소기업)ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21.09.30).pdf b/UpLoad/board/(KRC_소기업)ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21.09.30).pdf new file mode 100644 index 0000000..951e132 Binary files /dev/null and b/UpLoad/board/(KRC_소기업)ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21.09.30).pdf differ diff --git a/UpLoad/board/(KRC_소기업)ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21_v1.09.30).pdf b/UpLoad/board/(KRC_소기업)ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21_v1.09.30).pdf new file mode 100644 index 0000000..b823e3c Binary files /dev/null and b/UpLoad/board/(KRC_소기업)ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21_v1.09.30).pdf differ diff --git a/UpLoad/board/(KRC_특강)_사업체조사_표본설계와_모수추정_170817.pdf b/UpLoad/board/(KRC_특강)_사업체조사_표본설계와_모수추정_170817.pdf new file mode 100644 index 0000000..4556da5 Binary files /dev/null and b/UpLoad/board/(KRC_특강)_사업체조사_표본설계와_모수추정_170817.pdf differ diff --git a/UpLoad/board/(KRI) 우리ì�€í–‰ 통장사본.pdf b/UpLoad/board/(KRI) 우리ì�€í–‰ 통장사본.pdf new file mode 100644 index 0000000..be2bb5f Binary files /dev/null and b/UpLoad/board/(KRI) 우리ì�€í–‰ 통장사본.pdf differ diff --git a/UpLoad/board/(KRI) 중소기업 확ì�¸ì„œ_공공.pdf b/UpLoad/board/(KRI) 중소기업 확ì�¸ì„œ_공공.pdf new file mode 100644 index 0000000..01bd18c Binary files /dev/null and b/UpLoad/board/(KRI) 중소기업 확ì�¸ì„œ_공공.pdf differ diff --git a/UpLoad/board/(KRI) 중소기업 확ì�¸ì„œ_민간.pdf b/UpLoad/board/(KRI) 중소기업 확ì�¸ì„œ_민간.pdf new file mode 100644 index 0000000..62bf0d8 Binary files /dev/null and b/UpLoad/board/(KRI) 중소기업 확ì�¸ì„œ_민간.pdf differ diff --git a/UpLoad/board/(KRI)_민간_한국í�‰ê°€ë�°ì�´í„°_만료230815.pdf b/UpLoad/board/(KRI)_민간_한국í�‰ê°€ë�°ì�´í„°_만료230815.pdf new file mode 100644 index 0000000..787b6e9 Binary files /dev/null and b/UpLoad/board/(KRI)_민간_한국í�‰ê°€ë�°ì�´í„°_만료230815.pdf differ diff --git a/UpLoad/board/(KRI)가족친화ì�¸ì¦�서.pdf b/UpLoad/board/(KRI)가족친화ì�¸ì¦�서.pdf new file mode 100644 index 0000000..5428ee0 Binary files /dev/null and b/UpLoad/board/(KRI)가족친화ì�¸ì¦�서.pdf differ diff --git a/UpLoad/board/(KRI)가족친화ì�¸ì¦�서_221201~251130.pdf b/UpLoad/board/(KRI)가족친화ì�¸ì¦�서_221201~251130.pdf new file mode 100644 index 0000000..89e50a1 Binary files /dev/null and b/UpLoad/board/(KRI)가족친화ì�¸ì¦�서_221201~251130.pdf differ diff --git a/UpLoad/board/(KRI)공공기관 ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ_유효기ì�¼230803.pdf b/UpLoad/board/(KRI)공공기관 ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ_유효기ì�¼230803.pdf new file mode 100644 index 0000000..b41ea57 Binary files /dev/null and b/UpLoad/board/(KRI)공공기관 ì‹ ìš©í�‰ê°€ë“±ê¸‰í™•ì�¸ì„œ_유효기ì�¼230803.pdf differ diff --git a/UpLoad/board/(KRI)공공기관용NICEì‹ ìš©í�‰ê°€(유효기ì�¼20.04.17).pdf b/UpLoad/board/(KRI)공공기관용NICEì‹ ìš©í�‰ê°€(유효기ì�¼20.04.17).pdf new file mode 100644 index 0000000..1a304ba Binary files /dev/null and b/UpLoad/board/(KRI)공공기관용NICEì‹ ìš©í�‰ê°€(유효기ì�¼20.04.17).pdf differ diff --git a/UpLoad/board/(KRI)기업부설연구소 ì�¸ì •서_190219.pdf b/UpLoad/board/(KRI)기업부설연구소 ì�¸ì •서_190219.pdf new file mode 100644 index 0000000..723f2f1 Binary files /dev/null and b/UpLoad/board/(KRI)기업부설연구소 ì�¸ì •서_190219.pdf differ diff --git a/UpLoad/board/(KRI)나ì�´ìŠ¤ë””ì•¤ë¹„_민간용_230509.pdf b/UpLoad/board/(KRI)나ì�´ìŠ¤ë””ì•¤ë¹„_민간용_230509.pdf new file mode 100644 index 0000000..9a1e422 Binary files /dev/null and b/UpLoad/board/(KRI)나ì�´ìŠ¤ë””ì•¤ë¹„_민간용_230509.pdf differ diff --git a/UpLoad/board/(KRI)민간용 나ì�´ìŠ¤ë””ì•¤ë¹„_유효기ì�¼_230509.pdf b/UpLoad/board/(KRI)민간용 나ì�´ìŠ¤ë””ì•¤ë¹„_유효기ì�¼_230509.pdf new file mode 100644 index 0000000..9a1e422 Binary files /dev/null and b/UpLoad/board/(KRI)민간용 나ì�´ìŠ¤ë””ì•¤ë¹„_유효기ì�¼_230509.pdf differ diff --git a/UpLoad/board/(KRI)민간용 ì�´í�¬ë ˆë�”블_유효기ì�¼_230426.pdf b/UpLoad/board/(KRI)민간용 ì�´í�¬ë ˆë�”블_유효기ì�¼_230426.pdf new file mode 100644 index 0000000..e251bed Binary files /dev/null and b/UpLoad/board/(KRI)민간용 ì�´í�¬ë ˆë�”블_유효기ì�¼_230426.pdf differ diff --git a/UpLoad/board/(KRI)민간용 한국í�‰ê°€ë�°ì�´í„°_유효기ì�¼_220815.pdf b/UpLoad/board/(KRI)민간용 한국í�‰ê°€ë�°ì�´í„°_유효기ì�¼_220815.pdf new file mode 100644 index 0000000..787b6e9 Binary files /dev/null and b/UpLoad/board/(KRI)민간용 한국í�‰ê°€ë�°ì�´í„°_유효기ì�¼_220815.pdf differ diff --git a/UpLoad/board/(KRI)사업ìž�등ë¡�ì¦�_20190212.pdf b/UpLoad/board/(KRI)사업ìž�등ë¡�ì¦�_20190212.pdf new file mode 100644 index 0000000..7096275 Binary files /dev/null and b/UpLoad/board/(KRI)사업ìž�등ë¡�ì¦�_20190212.pdf differ diff --git a/UpLoad/board/(KRI)신한ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf b/UpLoad/board/(KRI)신한ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf new file mode 100644 index 0000000..cfcef9f Binary files /dev/null and b/UpLoad/board/(KRI)신한ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf differ diff --git a/UpLoad/board/(KRI)신한ì�€í–‰í†µìž¥ì‚¬ë³¸_v1.pdf b/UpLoad/board/(KRI)신한ì�€í–‰í†µìž¥ì‚¬ë³¸_v1.pdf new file mode 100644 index 0000000..cfcef9f Binary files /dev/null and b/UpLoad/board/(KRI)신한ì�€í–‰í†µìž¥ì‚¬ë³¸_v1.pdf differ diff --git a/UpLoad/board/(KRI)연차유급휴가 ìš´ì˜�기준 변경_200220.docx b/UpLoad/board/(KRI)연차유급휴가 ìš´ì˜�기준 변경_200220.docx new file mode 100644 index 0000000..8c7573d Binary files /dev/null and b/UpLoad/board/(KRI)연차유급휴가 ìš´ì˜�기준 변경_200220.docx differ diff --git a/UpLoad/board/(KRI)우리ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf b/UpLoad/board/(KRI)우리ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf new file mode 100644 index 0000000..357ba17 Binary files /dev/null and b/UpLoad/board/(KRI)우리ì�€í–‰í†µìž¥ì‚¬ë³¸.pdf differ diff --git a/UpLoad/board/(KRI)ì�´í�¬ë ˆë�”블_민간용_유효기ì�¼230426.pdf b/UpLoad/board/(KRI)ì�´í�¬ë ˆë�”블_민간용_유효기ì�¼230426.pdf new file mode 100644 index 0000000..e251bed Binary files /dev/null and b/UpLoad/board/(KRI)ì�´í�¬ë ˆë�”블_민간용_유효기ì�¼230426.pdf differ diff --git a/UpLoad/board/(KRI)중소기업 확ì�¸ì„œ_20190214.pdf b/UpLoad/board/(KRI)중소기업 확ì�¸ì„œ_20190214.pdf new file mode 100644 index 0000000..6cac7fe Binary files /dev/null and b/UpLoad/board/(KRI)중소기업 확ì�¸ì„œ_20190214.pdf differ diff --git a/UpLoad/board/(KRI)중소기업확ì�¸ì„œ_공공.pdf b/UpLoad/board/(KRI)중소기업확ì�¸ì„œ_공공.pdf new file mode 100644 index 0000000..e34d874 Binary files /dev/null and b/UpLoad/board/(KRI)중소기업확ì�¸ì„œ_공공.pdf differ diff --git a/UpLoad/board/(KRI)중소기업확ì�¸ì„œ_민간.pdf b/UpLoad/board/(KRI)중소기업확ì�¸ì„œ_민간.pdf new file mode 100644 index 0000000..19740fc Binary files /dev/null and b/UpLoad/board/(KRI)중소기업확ì�¸ì„œ_민간.pdf differ diff --git a/UpLoad/board/(KRI)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_190214.pdf b/UpLoad/board/(KRI)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_190214.pdf new file mode 100644 index 0000000..647c4fd Binary files /dev/null and b/UpLoad/board/(KRI)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_190214.pdf differ diff --git a/UpLoad/board/(KRI)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_190214.pdf b/UpLoad/board/(KRI)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_190214.pdf new file mode 100644 index 0000000..e0792f4 Binary files /dev/null and b/UpLoad/board/(KRI)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_190214.pdf differ diff --git a/UpLoad/board/(KRI)청년친화강소기업.pdf b/UpLoad/board/(KRI)청년친화강소기업.pdf new file mode 100644 index 0000000..9fc940f Binary files /dev/null and b/UpLoad/board/(KRI)청년친화강소기업.pdf differ diff --git a/UpLoad/board/(KRI)한국í�‰ê°€ë�°ì�´í„°_민간용_유효기ì�¼220815.pdf b/UpLoad/board/(KRI)한국í�‰ê°€ë�°ì�´í„°_민간용_유효기ì�¼220815.pdf new file mode 100644 index 0000000..787b6e9 Binary files /dev/null and b/UpLoad/board/(KRI)한국í�‰ê°€ë�°ì�´í„°_민간용_유효기ì�¼220815.pdf differ diff --git a/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_210201.pdf b/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_210201.pdf new file mode 100644 index 0000000..3a61d4f Binary files /dev/null and b/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_210201.pdf differ diff --git a/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_210201_v1.pdf b/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_210201_v1.pdf new file mode 100644 index 0000000..3a61d4f Binary files /dev/null and b/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_210201_v1.pdf differ diff --git a/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_211213.pdf b/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_211213.pdf new file mode 100644 index 0000000..0a58e2a Binary files /dev/null and b/UpLoad/board/(KRc)사업ìž�등ë¡�ì¦�_211213.pdf differ diff --git a/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ.pdf b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ.pdf new file mode 100644 index 0000000..d13eb7b Binary files /dev/null and b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ.pdf differ diff --git a/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_210701-220630_주소변경.pdf b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_210701-220630_주소변경.pdf new file mode 100644 index 0000000..9781dc8 Binary files /dev/null and b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_210701-220630_주소변경.pdf differ diff --git a/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_210701-220630_주소변경_민간용.pdf b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_210701-220630_주소변경_민간용.pdf new file mode 100644 index 0000000..9841163 Binary files /dev/null and b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_210701-220630_주소변경_민간용.pdf differ diff --git a/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_v1.pdf b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_v1.pdf new file mode 100644 index 0000000..f6e6780 Binary files /dev/null and b/UpLoad/board/(KRc)중소기업소기업확ì�¸ì„œ_v1.pdf differ diff --git a/UpLoad/board/(KRi) 200819 사규집.docx b/UpLoad/board/(KRi) 200819 사규집.docx new file mode 100644 index 0000000..58bd1e4 Binary files /dev/null and b/UpLoad/board/(KRi) 200819 사규집.docx differ diff --git a/UpLoad/board/(KRi) 201118 사규집_노사협ì�˜íšŒ 규정 제정.docx b/UpLoad/board/(KRi) 201118 사규집_노사협ì�˜íšŒ 규정 제정.docx new file mode 100644 index 0000000..d85f7bf Binary files /dev/null and b/UpLoad/board/(KRi) 201118 사규집_노사협ì�˜íšŒ 규정 제정.docx differ diff --git a/UpLoad/board/(KRi) CATI 설문 작성 절차서_0228.pdf b/UpLoad/board/(KRi) CATI 설문 작성 절차서_0228.pdf new file mode 100644 index 0000000..57b4e71 Binary files /dev/null and b/UpLoad/board/(KRi) CATI 설문 작성 절차서_0228.pdf differ diff --git a/UpLoad/board/(KRi) CATI 설문 작성 절차서_0331.pdf b/UpLoad/board/(KRi) CATI 설문 작성 절차서_0331.pdf new file mode 100644 index 0000000..7d00a5a Binary files /dev/null and b/UpLoad/board/(KRi) CATI 설문 작성 절차서_0331.pdf differ diff --git a/UpLoad/board/(KRi) CATI 설문 작성 절차서_20220207.pdf b/UpLoad/board/(KRi) CATI 설문 작성 절차서_20220207.pdf new file mode 100644 index 0000000..c9c44da Binary files /dev/null and b/UpLoad/board/(KRi) CATI 설문 작성 절차서_20220207.pdf differ diff --git a/UpLoad/board/(KRi) KORA회ì›�등ë¡�ì¦�_210101.pdf b/UpLoad/board/(KRi) KORA회ì›�등ë¡�ì¦�_210101.pdf new file mode 100644 index 0000000..89070ac Binary files /dev/null and b/UpLoad/board/(KRi) KORA회ì›�등ë¡�ì¦�_210101.pdf differ diff --git a/UpLoad/board/(KRi) KORA회ì›�등ë¡�ì¦�_211220.pdf b/UpLoad/board/(KRi) KORA회ì›�등ë¡�ì¦�_211220.pdf new file mode 100644 index 0000000..e3b8b0c Binary files /dev/null and b/UpLoad/board/(KRi) KORA회ì›�등ë¡�ì¦�_211220.pdf differ diff --git a/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List.xlsx b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List.xlsx new file mode 100644 index 0000000..0eb75d8 Binary files /dev/null and b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List.xlsx differ diff --git a/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v1.xlsx b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v1.xlsx new file mode 100644 index 0000000..0eb75d8 Binary files /dev/null and b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v1.xlsx differ diff --git a/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v2.xlsx b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v2.xlsx new file mode 100644 index 0000000..0eb75d8 Binary files /dev/null and b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v2.xlsx differ diff --git a/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v3.xlsx b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v3.xlsx new file mode 100644 index 0000000..0eb75d8 Binary files /dev/null and b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v3.xlsx differ diff --git a/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v4.xlsx b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v4.xlsx new file mode 100644 index 0000000..0eb75d8 Binary files /dev/null and b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v4.xlsx differ diff --git a/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v5.xlsx b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v5.xlsx new file mode 100644 index 0000000..0eb75d8 Binary files /dev/null and b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v5.xlsx differ diff --git a/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v5_v1.xlsx b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v5_v1.xlsx new file mode 100644 index 0000000..d69e0bc Binary files /dev/null and b/UpLoad/board/(KRi)2020 ë‚´ë¶€êµ�육ìž�료List_v5_v1.xlsx differ diff --git a/UpLoad/board/(KRi)21ë…„ë�„청년친화강소기업.pdf b/UpLoad/board/(KRi)21ë…„ë�„청년친화강소기업.pdf new file mode 100644 index 0000000..761a199 Binary files /dev/null and b/UpLoad/board/(KRi)21ë…„ë�„청년친화강소기업.pdf differ diff --git a/UpLoad/board/(KRi)가족ë�Œë´„휴가 ë°� 휴ì§� 시행안내.docx b/UpLoad/board/(KRi)가족ë�Œë´„휴가 ë°� 휴ì§� 시행안내.docx new file mode 100644 index 0000000..a9f5e01 Binary files /dev/null and b/UpLoad/board/(KRi)가족ë�Œë´„휴가 ë°� 휴ì§� 시행안내.docx differ diff --git a/UpLoad/board/(KRi)가족친화ì�¸ì¦�서_v1.pdf b/UpLoad/board/(KRi)가족친화ì�¸ì¦�서_v1.pdf new file mode 100644 index 0000000..0c8168e Binary files /dev/null and b/UpLoad/board/(KRi)가족친화ì�¸ì¦�서_v1.pdf differ diff --git a/UpLoad/board/(KRi)건강검진안내서.docx b/UpLoad/board/(KRi)건강검진안내서.docx new file mode 100644 index 0000000..0ab61f6 Binary files /dev/null and b/UpLoad/board/(KRi)건강검진안내서.docx differ diff --git a/UpLoad/board/(KRi)건강검진안내서_v1.docx b/UpLoad/board/(KRi)건강검진안내서_v1.docx new file mode 100644 index 0000000..a3873ef Binary files /dev/null and b/UpLoad/board/(KRi)건강검진안내서_v1.docx differ diff --git a/UpLoad/board/(KRi)경조금 ìš´ì˜� 기준_20200501.pdf b/UpLoad/board/(KRi)경조금 ìš´ì˜� 기준_20200501.pdf new file mode 100644 index 0000000..7588aed Binary files /dev/null and b/UpLoad/board/(KRi)경조금 ìš´ì˜� 기준_20200501.pdf differ diff --git a/UpLoad/board/(KRi)경조금 ìš´ì˜�기준.docx b/UpLoad/board/(KRi)경조금 ìš´ì˜�기준.docx new file mode 100644 index 0000000..fd2ac04 Binary files /dev/null and b/UpLoad/board/(KRi)경조금 ìš´ì˜�기준.docx differ diff --git a/UpLoad/board/(KRi)계약서 ë°� 사용ì�¸ê°� 관리 안내_191025.docx b/UpLoad/board/(KRi)계약서 ë°� 사용ì�¸ê°� 관리 안내_191025.docx new file mode 100644 index 0000000..b56076e Binary files /dev/null and b/UpLoad/board/(KRi)계약서 ë°� 사용ì�¸ê°� 관리 안내_191025.docx differ diff --git a/UpLoad/board/(KRi)계약서 ë°� 사용ì�¸ê°� 관리 안내_191025_v1.docx b/UpLoad/board/(KRi)계약서 ë°� 사용ì�¸ê°� 관리 안내_191025_v1.docx new file mode 100644 index 0000000..b56076e Binary files /dev/null and b/UpLoad/board/(KRi)계약서 ë°� 사용ì�¸ê°� 관리 안내_191025_v1.docx differ diff --git a/UpLoad/board/(KRi)공공기관 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21.06.25).pdf b/UpLoad/board/(KRi)공공기관 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21.06.25).pdf new file mode 100644 index 0000000..f6a4042 Binary files /dev/null and b/UpLoad/board/(KRi)공공기관 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21.06.25).pdf differ diff --git a/UpLoad/board/(KRi)공공기관 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21_v1.06.25).pdf b/UpLoad/board/(KRi)공공기관 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21_v1.06.25).pdf new file mode 100644 index 0000000..858b8fb Binary files /dev/null and b/UpLoad/board/(KRi)공공기관 ì‹ ìš©í�‰ê°€ 등급확ì�¸ì„œ(유효기ì�¼21_v1.06.25).pdf differ diff --git a/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20.05.13).pdf b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20.05.13).pdf new file mode 100644 index 0000000..8de612a Binary files /dev/null and b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20.05.13).pdf differ diff --git a/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20.05.13).pdf.pdf b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20.05.13).pdf.pdf new file mode 100644 index 0000000..a654e1f Binary files /dev/null and b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20.05.13).pdf.pdf differ diff --git a/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20_v1.05.13).pdf b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20_v1.05.13).pdf new file mode 100644 index 0000000..a654e1f Binary files /dev/null and b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20_v1.05.13).pdf differ diff --git a/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20_v2.05.13).pdf b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20_v2.05.13).pdf new file mode 100644 index 0000000..a654e1f Binary files /dev/null and b/UpLoad/board/(KRi)공공기관용 한국기업ë�°ì�´í„° ì‹ ìš©í�‰ê°€(유효기ì�¼20_v2.05.13).pdf differ diff --git a/UpLoad/board/(KRi)내부추천 채용규정_190318.docx b/UpLoad/board/(KRi)내부추천 채용규정_190318.docx new file mode 100644 index 0000000..e3aa8f1 Binary files /dev/null and b/UpLoad/board/(KRi)내부추천 채용규정_190318.docx differ diff --git a/UpLoad/board/(KRi)내부추천 채용규정_190318_v1.docx b/UpLoad/board/(KRi)내부추천 채용규정_190318_v1.docx new file mode 100644 index 0000000..770a5b3 Binary files /dev/null and b/UpLoad/board/(KRi)내부추천 채용규정_190318_v1.docx differ diff --git a/UpLoad/board/(KRi)내부추천 채용규정_190319.docx b/UpLoad/board/(KRi)내부추천 채용규정_190319.docx new file mode 100644 index 0000000..9283607 Binary files /dev/null and b/UpLoad/board/(KRi)내부추천 채용규정_190319.docx differ diff --git a/UpLoad/board/(KRi)대체휴무 시행안내.docx b/UpLoad/board/(KRi)대체휴무 시행안내.docx new file mode 100644 index 0000000..eca4855 Binary files /dev/null and b/UpLoad/board/(KRi)대체휴무 시행안내.docx differ diff --git a/UpLoad/board/(KRi)대체휴무 ìš´ì˜�기준.docx b/UpLoad/board/(KRi)대체휴무 ìš´ì˜�기준.docx new file mode 100644 index 0000000..0aff847 Binary files /dev/null and b/UpLoad/board/(KRi)대체휴무 ìš´ì˜�기준.docx differ diff --git a/UpLoad/board/(KRi)대체휴무 ìš´ì˜�기준_v1.docx b/UpLoad/board/(KRi)대체휴무 ìš´ì˜�기준_v1.docx new file mode 100644 index 0000000..16d4b11 Binary files /dev/null and b/UpLoad/board/(KRi)대체휴무 ìš´ì˜�기준_v1.docx differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf.pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf.pdf new file mode 100644 index 0000000..d431069 Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf.pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ë””ì•¤ë¹„)_v1.pdf.pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ë””ì•¤ë¹„)_v1.pdf.pdf new file mode 100644 index 0000000..d431069 Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ë””ì•¤ë¹„)_v1.pdf.pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf new file mode 100644 index 0000000..2c33d42 Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0322(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0626(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0626(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf new file mode 100644 index 0000000..f977def Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0626(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0630(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0630(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf new file mode 100644 index 0000000..ba76da1 Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�0630(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�200626(KED Rating).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�200626(KED Rating).pdf new file mode 100644 index 0000000..192906b Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�200626(KED Rating).pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�200626(KED Rating)_v1.pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�200626(KED Rating)_v1.pdf new file mode 100644 index 0000000..16901fb Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�200626(KED Rating)_v1.pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210322(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210322(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf new file mode 100644 index 0000000..d431069 Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210322(나ì�´ìŠ¤ë””ì•¤ë¹„).pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210322(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210322(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf new file mode 100644 index 0000000..2c33d42 Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210322(나ì�´ìŠ¤ì‹ ìš©í�‰ê°€).pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210402(ì�´í�¬ë ˆë�”블).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210402(ì�´í�¬ë ˆë�”블).pdf new file mode 100644 index 0000000..2a02cf7 Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210402(ì�´í�¬ë ˆë�”블).pdf differ diff --git a/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210406(KED Rating).pdf b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210406(KED Rating).pdf new file mode 100644 index 0000000..16901fb Binary files /dev/null and b/UpLoad/board/(KRi)민간기업 ì‹ ìš©í�‰ê°€_발급ì�¼ìž�210406(KED Rating).pdf differ diff --git a/UpLoad/board/(KRi)사업ìž�등ë¡�ì¦�_20190401.pdf b/UpLoad/board/(KRi)사업ìž�등ë¡�ì¦�_20190401.pdf new file mode 100644 index 0000000..1d1b35f Binary files /dev/null and b/UpLoad/board/(KRi)사업ìž�등ë¡�ì¦�_20190401.pdf differ diff --git a/UpLoad/board/(KRi)사업ìž�등ë¡�ì¦�_211214.pdf b/UpLoad/board/(KRi)사업ìž�등ë¡�ì¦�_211214.pdf new file mode 100644 index 0000000..7e16d38 Binary files /dev/null and b/UpLoad/board/(KRi)사업ìž�등ë¡�ì¦�_211214.pdf differ diff --git a/UpLoad/board/(KRi)사용ì�¸ê°� 1.jpg b/UpLoad/board/(KRi)사용ì�¸ê°� 1.jpg new file mode 100644 index 0000000..a46fa08 Binary files /dev/null and b/UpLoad/board/(KRi)사용ì�¸ê°� 1.jpg differ diff --git a/UpLoad/board/(KRi)사용ì�¸ê°� 2.jpg b/UpLoad/board/(KRi)사용ì�¸ê°� 2.jpg new file mode 100644 index 0000000..260fc93 Binary files /dev/null and b/UpLoad/board/(KRi)사용ì�¸ê°� 2.jpg differ diff --git a/UpLoad/board/(KRi)사용ì�¸ê°� 3.jpg b/UpLoad/board/(KRi)사용ì�¸ê°� 3.jpg new file mode 100644 index 0000000..a812f89 Binary files /dev/null and b/UpLoad/board/(KRi)사용ì�¸ê°� 3.jpg differ diff --git a/UpLoad/board/(KRi)선거여론조사 기관등ë¡�ì¦�.pdf b/UpLoad/board/(KRi)선거여론조사 기관등ë¡�ì¦�.pdf new file mode 100644 index 0000000..ccafa06 Binary files /dev/null and b/UpLoad/board/(KRi)선거여론조사 기관등ë¡�ì¦�.pdf differ diff --git a/UpLoad/board/(KRi)실무êµ�육1.시ê°�í™”.pptx b/UpLoad/board/(KRi)실무êµ�육1.시ê°�í™”.pptx new file mode 100644 index 0000000..ea345c6 Binary files /dev/null and b/UpLoad/board/(KRi)실무êµ�육1.시ê°�í™”.pptx differ diff --git a/UpLoad/board/(KRi)우리ì�€í–‰ 통장사본.pdf b/UpLoad/board/(KRi)우리ì�€í–‰ 통장사본.pdf new file mode 100644 index 0000000..47bac29 Binary files /dev/null and b/UpLoad/board/(KRi)우리ì�€í–‰ 통장사본.pdf differ diff --git a/UpLoad/board/(KRi)ì�´ë©”ì�¼ 서명 ê°€ì�´ë“œ_190405.pptx b/UpLoad/board/(KRi)ì�´ë©”ì�¼ 서명 ê°€ì�´ë“œ_190405.pptx new file mode 100644 index 0000000..2f6debc Binary files /dev/null and b/UpLoad/board/(KRi)ì�´ë©”ì�¼ 서명 ê°€ì�´ë“œ_190405.pptx differ diff --git a/UpLoad/board/(KRi)ì�´ë©”ì�¼ 서명 ê°€ì�´ë“œ_190405_v1.pptx b/UpLoad/board/(KRi)ì�´ë©”ì�¼ 서명 ê°€ì�´ë“œ_190405_v1.pptx new file mode 100644 index 0000000..e3d50f4 Binary files /dev/null and b/UpLoad/board/(KRi)ì�´ë©”ì�¼ 서명 ê°€ì�´ë“œ_190405_v1.pptx differ diff --git a/UpLoad/board/(KRi)재íƒ�근무시행매뉴얼.docx b/UpLoad/board/(KRi)재íƒ�근무시행매뉴얼.docx new file mode 100644 index 0000000..1747952 Binary files /dev/null and b/UpLoad/board/(KRi)재íƒ�근무시행매뉴얼.docx differ diff --git a/UpLoad/board/(KRi)ì €ë…�ì�´ 있는 ë‚  시행알림.docx b/UpLoad/board/(KRi)ì €ë…�ì�´ 있는 ë‚  시행알림.docx new file mode 100644 index 0000000..d3b21f9 Binary files /dev/null and b/UpLoad/board/(KRi)ì €ë…�ì�´ 있는 ë‚  시행알림.docx differ diff --git a/UpLoad/board/(KRi)중소기업[중기업] 확ì�¸ì„œ_190402.pdf b/UpLoad/board/(KRi)중소기업[중기업] 확ì�¸ì„œ_190402.pdf new file mode 100644 index 0000000..a148097 Binary files /dev/null and b/UpLoad/board/(KRi)중소기업[중기업] 확ì�¸ì„œ_190402.pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ)공공기관외.pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ)공공기관외.pdf new file mode 100644 index 0000000..ddf7245 Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ)공공기관외.pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ)공공기관외_v1.pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ)공공기관외_v1.pdf new file mode 100644 index 0000000..ddf7245 Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ)공공기관외_v1.pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_210701-220630_주소변경.pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_210701-220630_주소변경.pdf new file mode 100644 index 0000000..d3ff523 Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_210701-220630_주소변경.pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_210701-220630_주소변경_민간.pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_210701-220630_주소변경_민간.pdf new file mode 100644 index 0000000..f61d9ee Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_210701-220630_주소변경_민간.pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관 외 ìž…ì°°ìš©(20.07.01.~21.06.30.).pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관 외 ìž…ì°°ìš©(20.07.01.~21.06.30.).pdf new file mode 100644 index 0000000..416d80d Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관 외 ìž…ì°°ìš©(20.07.01.~21.06.30.).pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관 ìž…ì°°ìš©(20.07.01.~21.06.30.).pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관 ìž…ì°°ìš©(20.07.01.~21.06.30.).pdf new file mode 100644 index 0000000..66212c7 Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관 ìž…ì°°ìš©(20.07.01.~21.06.30.).pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관입찰용.pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관입찰용.pdf new file mode 100644 index 0000000..e9a9d70 Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관입찰용.pdf differ diff --git a/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관입찰용_v1.pdf b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관입찰용_v1.pdf new file mode 100644 index 0000000..e9a9d70 Binary files /dev/null and b/UpLoad/board/(KRi)중소기업확ì�¸ì„œ_공공기관입찰용_v1.pdf differ diff --git a/UpLoad/board/(KRi)ì§�급체계 개편안_ì§�급 간소화_190318.docx b/UpLoad/board/(KRi)ì§�급체계 개편안_ì§�급 간소화_190318.docx new file mode 100644 index 0000000..8d28937 Binary files /dev/null and b/UpLoad/board/(KRi)ì§�급체계 개편안_ì§�급 간소화_190318.docx differ diff --git a/UpLoad/board/(KRi)ì§�ì�¸.jpg b/UpLoad/board/(KRi)ì§�ì�¸.jpg new file mode 100644 index 0000000..234a652 Binary files /dev/null and b/UpLoad/board/(KRi)ì§�ì�¸.jpg differ diff --git a/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�).pdf b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�).pdf new file mode 100644 index 0000000..1254404 Binary files /dev/null and b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�).pdf differ diff --git a/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_v1.pdf b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_v1.pdf new file mode 100644 index 0000000..429cf4e Binary files /dev/null and b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_v1.pdf differ diff --git a/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_v2.pdf b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_v2.pdf new file mode 100644 index 0000000..3ff51ae Binary files /dev/null and b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_ë�°ì�´í„°ì„œë¹„스(ë¹…ë�°ì�´í„°ë¶„ì„�)_v2.pdf differ diff --git a/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스).pdf b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스).pdf new file mode 100644 index 0000000..c52b3bf Binary files /dev/null and b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스).pdf differ diff --git a/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_v1.pdf b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_v1.pdf new file mode 100644 index 0000000..3ebf990 Binary files /dev/null and b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_v1.pdf differ diff --git a/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_v2.pdf b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_v2.pdf new file mode 100644 index 0000000..7f81a55 Binary files /dev/null and b/UpLoad/board/(KRi)ì§�ì ‘ìƒ�산확ì�¸ì¦�명서_소프트웨어엔지니어ë§�ì—…(정보시스템개발서비스)_v2.pdf differ diff --git a/UpLoad/board/(KRi)채용추천서_190318.docx b/UpLoad/board/(KRi)채용추천서_190318.docx new file mode 100644 index 0000000..fed9ecc Binary files /dev/null and b/UpLoad/board/(KRi)채용추천서_190318.docx differ diff --git a/UpLoad/board/(KRi)청년친화강소기업_210101-211231_주소변경.pdf b/UpLoad/board/(KRi)청년친화강소기업_210101-211231_주소변경.pdf new file mode 100644 index 0000000..fccea5f Binary files /dev/null and b/UpLoad/board/(KRi)청년친화강소기업_210101-211231_주소변경.pdf differ diff --git a/UpLoad/board/(KRi)코로나19 확산 예방 수칙 ë°� ì œë�„ 시행 안내.docx b/UpLoad/board/(KRi)코로나19 확산 예방 수칙 ë°� ì œë�„ 시행 안내.docx new file mode 100644 index 0000000..df6bc87 Binary files /dev/null and b/UpLoad/board/(KRi)코로나19 확산 예방 수칙 ë°� ì œë�„ 시행 안내.docx differ diff --git a/UpLoad/board/(KRi)코리아리서치ì�¸í„°ë‚´ì…”ë„� ì‹ ìš©í�‰ê°€(유효기ì�¼ 20.09.30).pdf b/UpLoad/board/(KRi)코리아리서치ì�¸í„°ë‚´ì…”ë„� ì‹ ìš©í�‰ê°€(유효기ì�¼ 20.09.30).pdf new file mode 100644 index 0000000..edd62fe Binary files /dev/null and b/UpLoad/board/(KRi)코리아리서치ì�¸í„°ë‚´ì…”ë„� ì‹ ìš©í�‰ê°€(유효기ì�¼ 20.09.30).pdf differ diff --git a/UpLoad/board/(KRi)프리랜서 업무계약서.docx b/UpLoad/board/(KRi)프리랜서 업무계약서.docx new file mode 100644 index 0000000..87712ef Binary files /dev/null and b/UpLoad/board/(KRi)프리랜서 업무계약서.docx differ diff --git a/UpLoad/board/(KRi)협력업체 업무협약서_190724.docx b/UpLoad/board/(KRi)협력업체 업무협약서_190724.docx new file mode 100644 index 0000000..fb1625b Binary files /dev/null and b/UpLoad/board/(KRi)협력업체 업무협약서_190724.docx differ diff --git a/UpLoad/board/(Knowledge Sharing)성공ì �ì�¸ 설ë“�ì�„ 위한 핵심 ‘언어 미러ë§�’_20210118_김효준.pptx b/UpLoad/board/(Knowledge Sharing)성공ì �ì�¸ 설ë“�ì�„ 위한 핵심 ‘언어 미러ë§�’_20210118_김효준.pptx new file mode 100644 index 0000000..5e6b8be Binary files /dev/null and b/UpLoad/board/(Knowledge Sharing)성공ì �ì�¸ 설ë“�ì�„ 위한 핵심 ‘언어 미러ë§�’_20210118_김효준.pptx differ diff --git a/UpLoad/board/(PnC)사업ìž�등ë¡�ì¦�_코리아리서치피앤씨_20180615.pdf b/UpLoad/board/(PnC)사업ìž�등ë¡�ì¦�_코리아리서치피앤씨_20180615.pdf new file mode 100644 index 0000000..e734e27 Binary files /dev/null and b/UpLoad/board/(PnC)사업ìž�등ë¡�ì¦�_코리아리서치피앤씨_20180615.pdf differ diff --git a/UpLoad/board/(PnC)소기업(소ìƒ�ê³µì�¸)확ì�¸ì„œ_20170411.pdf b/UpLoad/board/(PnC)소기업(소ìƒ�ê³µì�¸)확ì�¸ì„œ_20170411.pdf new file mode 100644 index 0000000..5d84c17 Binary files /dev/null and b/UpLoad/board/(PnC)소기업(소ìƒ�ê³µì�¸)확ì�¸ì„œ_20170411.pdf differ diff --git a/UpLoad/board/(PnC)ì‹ ìš©í�‰ê°€ 등급 확ì�¸ì„œ(유효기ì�¼19.06.28).pdf b/UpLoad/board/(PnC)ì‹ ìš©í�‰ê°€ 등급 확ì�¸ì„œ(유효기ì�¼19.06.28).pdf new file mode 100644 index 0000000..c7d9de5 Binary files /dev/null and b/UpLoad/board/(PnC)ì‹ ìš©í�‰ê°€ 등급 확ì�¸ì„œ(유효기ì�¼19.06.28).pdf differ diff --git a/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180402.pdf b/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180402.pdf new file mode 100644 index 0000000..602733d Binary files /dev/null and b/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180402.pdf differ diff --git a/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180402_v1.pdf b/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180402_v1.pdf new file mode 100644 index 0000000..d0f2976 Binary files /dev/null and b/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180402_v1.pdf differ diff --git a/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180620.pdf b/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180620.pdf new file mode 100644 index 0000000..157c4cd Binary files /dev/null and b/UpLoad/board/(PnC)중소기업(소ìƒ�ê³µì�¸) 확ì�¸ì„œ_180620.pdf differ diff --git a/UpLoad/board/(êµ�육)ìž�료처리 skill(1)_송유근.zip b/UpLoad/board/(êµ�육)ìž�료처리 skill(1)_송유근.zip new file mode 100644 index 0000000..69f6d86 Binary files /dev/null and b/UpLoad/board/(êµ�육)ìž�료처리 skill(1)_송유근.zip differ diff --git a/UpLoad/board/(êµ�육)ìž�료처리 skill(1)_송유근_v1.zip b/UpLoad/board/(êµ�육)ìž�료처리 skill(1)_송유근_v1.zip new file mode 100644 index 0000000..69f6d86 Binary files /dev/null and b/UpLoad/board/(êµ�육)ìž�료처리 skill(1)_송유근_v1.zip differ diff --git a/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서.hwp b/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서.hwp new file mode 100644 index 0000000..e997078 Binary files /dev/null and b/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서.hwp differ diff --git a/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서_v1.hwp b/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서_v1.hwp new file mode 100644 index 0000000..e997078 Binary files /dev/null and b/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서_v1.hwp differ diff --git a/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서_v2.hwp b/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서_v2.hwp new file mode 100644 index 0000000..1872f19 Binary files /dev/null and b/UpLoad/board/(붙임) 노사협ì�˜íšŒ 근로ìž�위ì›� 입후보 신청서 ë°� 추천서_v2.hwp differ diff --git a/UpLoad/board/(붙임1) 2021ë…„ 건강검진 대ìƒ�ìž� 명단.pdf b/UpLoad/board/(붙임1) 2021ë…„ 건강검진 대ìƒ�ìž� 명단.pdf new file mode 100644 index 0000000..15d891d Binary files /dev/null and b/UpLoad/board/(붙임1) 2021ë…„ 건강검진 대ìƒ�ìž� 명단.pdf differ diff --git a/UpLoad/board/(붙임1) 근로ìž�대표 ì§€ì›�서(추천서)_KRI.hwp b/UpLoad/board/(붙임1) 근로ìž�대표 ì§€ì›�서(추천서)_KRI.hwp new file mode 100644 index 0000000..2cb65bf Binary files /dev/null and b/UpLoad/board/(붙임1) 근로ìž�대표 ì§€ì›�서(추천서)_KRI.hwp differ diff --git a/UpLoad/board/(붙임2) 근로ìž�대표 ì§€ì›�서(추천서)_KRT.hwp b/UpLoad/board/(붙임2) 근로ìž�대표 ì§€ì›�서(추천서)_KRT.hwp new file mode 100644 index 0000000..390674a Binary files /dev/null and b/UpLoad/board/(붙임2) 근로ìž�대표 ì§€ì›�서(추천서)_KRT.hwp differ diff --git a/UpLoad/board/(붙임2) 안내문_ì�¸í„°ì¼€ì–´ê±´ê°•검진센터.xlsx b/UpLoad/board/(붙임2) 안내문_ì�¸í„°ì¼€ì–´ê±´ê°•검진센터.xlsx new file mode 100644 index 0000000..5ad8da7 Binary files /dev/null and b/UpLoad/board/(붙임2) 안내문_ì�¸í„°ì¼€ì–´ê±´ê°•검진센터.xlsx differ diff --git a/UpLoad/board/(붙임3) 근로ìž�대표 ì�˜ì�˜ ë°� 관련 법규.pdf b/UpLoad/board/(붙임3) 근로ìž�대표 ì�˜ì�˜ ë°� 관련 법규.pdf new file mode 100644 index 0000000..296f853 Binary files /dev/null and b/UpLoad/board/(붙임3) 근로ìž�대표 ì�˜ì�˜ ë°� 관련 법규.pdf differ diff --git a/UpLoad/board/(붙임3) 안내문_리ë�”스헬스케어ì˜�ìƒ�ì�˜í•™ê³¼ì�˜ì›�.xlsx b/UpLoad/board/(붙임3) 안내문_리ë�”스헬스케어ì˜�ìƒ�ì�˜í•™ê³¼ì�˜ì›�.xlsx new file mode 100644 index 0000000..d7831d4 Binary files /dev/null and b/UpLoad/board/(붙임3) 안내문_리ë�”스헬스케어ì˜�ìƒ�ì�˜í•™ê³¼ì�˜ì›�.xlsx differ diff --git a/UpLoad/board/(ì–‘ì‹�) 경조금 신청서.xlsx b/UpLoad/board/(ì–‘ì‹�) 경조금 신청서.xlsx new file mode 100644 index 0000000..72c9de4 Binary files /dev/null and b/UpLoad/board/(ì–‘ì‹�) 경조금 신청서.xlsx differ diff --git a/UpLoad/board/(ì–‘ì‹�) 경조금 신청서_v1.xlsx b/UpLoad/board/(ì–‘ì‹�) 경조금 신청서_v1.xlsx new file mode 100644 index 0000000..8c8b6ec Binary files /dev/null and b/UpLoad/board/(ì–‘ì‹�) 경조금 신청서_v1.xlsx differ diff --git a/UpLoad/board/(ì�¸íЏë�¼ë„·)예약 ë°� ì§€ì›� 메뉴 매뉴얼_161205.pptx b/UpLoad/board/(ì�¸íЏë�¼ë„·)예약 ë°� ì§€ì›� 메뉴 매뉴얼_161205.pptx new file mode 100644 index 0000000..e239b21 Binary files /dev/null and b/UpLoad/board/(ì�¸íЏë�¼ë„·)예약 ë°� ì§€ì›� 메뉴 매뉴얼_161205.pptx differ diff --git a/UpLoad/board/(참고) 노사협ì�˜íšŒ 설명ìž�료.pdf b/UpLoad/board/(참고) 노사협ì�˜íšŒ 설명ìž�료.pdf new file mode 100644 index 0000000..7a1ec4e Binary files /dev/null and b/UpLoad/board/(참고) 노사협ì�˜íšŒ 설명ìž�료.pdf differ diff --git a/UpLoad/board/(참고) 노사협ì�˜íšŒê´€ë ¨ 설명ìž�료.pdf b/UpLoad/board/(참고) 노사협ì�˜íšŒê´€ë ¨ 설명ìž�료.pdf new file mode 100644 index 0000000..4652107 Binary files /dev/null and b/UpLoad/board/(참고) 노사협ì�˜íšŒê´€ë ¨ 설명ìž�료.pdf differ diff --git a/UpLoad/board/(참고) ì—°ë§�ì •ì‚° ì�´í•´í•˜ê¸°.hwp b/UpLoad/board/(참고) ì—°ë§�ì •ì‚° ì�´í•´í•˜ê¸°.hwp new file mode 100644 index 0000000..2b018f1 Binary files /dev/null and b/UpLoad/board/(참고) ì—°ë§�ì •ì‚° ì�´í•´í•˜ê¸°.hwp differ diff --git a/UpLoad/board/(첨부)200826 재íƒ�근무 프로그램 메뉴얼.docx b/UpLoad/board/(첨부)200826 재íƒ�근무 프로그램 메뉴얼.docx new file mode 100644 index 0000000..11a0522 Binary files /dev/null and b/UpLoad/board/(첨부)200826 재íƒ�근무 프로그램 메뉴얼.docx differ diff --git a/UpLoad/board/(첨부)경조금 신청서_회사_ìƒ�조회.xlsx b/UpLoad/board/(첨부)경조금 신청서_회사_ìƒ�조회.xlsx new file mode 100644 index 0000000..985dcaf Binary files /dev/null and b/UpLoad/board/(첨부)경조금 신청서_회사_ìƒ�조회.xlsx differ diff --git a/UpLoad/board/(첨부1) 200304 재íƒ�근무현황.xlsx b/UpLoad/board/(첨부1) 200304 재íƒ�근무현황.xlsx new file mode 100644 index 0000000..2b67baa Binary files /dev/null and b/UpLoad/board/(첨부1) 200304 재íƒ�근무현황.xlsx differ diff --git a/UpLoad/board/(첨부1) 코로나19 ìž�가진단 ì²´í�¬ë¦¬ìŠ¤íŠ¸_20200326.xlsx b/UpLoad/board/(첨부1) 코로나19 ìž�가진단 ì²´í�¬ë¦¬ìŠ¤íŠ¸_20200326.xlsx new file mode 100644 index 0000000..78af6f5 Binary files /dev/null and b/UpLoad/board/(첨부1) 코로나19 ìž�가진단 ì²´í�¬ë¦¬ìŠ¤íŠ¸_20200326.xlsx differ diff --git a/UpLoad/board/(첨부2) 재íƒ�근무 보안서약서.docx b/UpLoad/board/(첨부2) 재íƒ�근무 보안서약서.docx new file mode 100644 index 0000000..cc3e7c3 Binary files /dev/null and b/UpLoad/board/(첨부2) 재íƒ�근무 보안서약서.docx differ diff --git a/UpLoad/board/-코딩매뉴얼 _QC팀 공미애_20200220_최종.pdf b/UpLoad/board/-코딩매뉴얼 _QC팀 공미애_20200220_최종.pdf new file mode 100644 index 0000000..94b8143 Binary files /dev/null and b/UpLoad/board/-코딩매뉴얼 _QC팀 공미애_20200220_최종.pdf differ diff --git a/UpLoad/board/0. 2022 신입사ì›� OT ìž�료_회사소개 ë°� ê²½ì˜�전략비전, 마케팅리서치.pdf b/UpLoad/board/0. 2022 신입사ì›� OT ìž�료_회사소개 ë°� ê²½ì˜�전략비전, 마케팅리서치.pdf new file mode 100644 index 0000000..433b406 Binary files /dev/null and b/UpLoad/board/0. 2022 신입사ì›� OT ìž�료_회사소개 ë°� ê²½ì˜�전략비전, 마케팅리서치.pdf differ diff --git a/UpLoad/board/00917507_3.jpg b/UpLoad/board/00917507_3.jpg new file mode 100644 index 0000000..42a3309 Binary files /dev/null and b/UpLoad/board/00917507_3.jpg differ diff --git a/UpLoad/board/00917507_31.jpg b/UpLoad/board/00917507_31.jpg new file mode 100644 index 0000000..42a3309 Binary files /dev/null and b/UpLoad/board/00917507_31.jpg differ diff --git a/UpLoad/board/0412_ì�¸ì²œ_서구갑_0327_추출예시용.xlsx b/UpLoad/board/0412_ì�¸ì²œ_서구갑_0327_추출예시용.xlsx new file mode 100644 index 0000000..af22232 Binary files /dev/null and b/UpLoad/board/0412_ì�¸ì²œ_서구갑_0327_추출예시용.xlsx differ diff --git a/UpLoad/board/0_1_3.GIF b/UpLoad/board/0_1_3.GIF new file mode 100644 index 0000000..c7adb0e Binary files /dev/null and b/UpLoad/board/0_1_3.GIF differ diff --git a/UpLoad/board/1-1 윤ë�•환.pptx b/UpLoad/board/1-1 윤ë�•환.pptx new file mode 100644 index 0000000..3120828 Binary files /dev/null and b/UpLoad/board/1-1 윤ë�•환.pptx differ diff --git a/UpLoad/board/1-2 최ì›�ì„�.pptx b/UpLoad/board/1-2 최ì›�ì„�.pptx new file mode 100644 index 0000000..657c104 Binary files /dev/null and b/UpLoad/board/1-2 최ì›�ì„�.pptx differ diff --git a/UpLoad/board/1-3 김기주.pptx b/UpLoad/board/1-3 김기주.pptx new file mode 100644 index 0000000..330af53 Binary files /dev/null and b/UpLoad/board/1-3 김기주.pptx differ diff --git a/UpLoad/board/1-4 ì�´ë�™ì—´.pptx b/UpLoad/board/1-4 ì�´ë�™ì—´.pptx new file mode 100644 index 0000000..f33c5d0 Binary files /dev/null and b/UpLoad/board/1-4 ì�´ë�™ì—´.pptx differ diff --git a/UpLoad/board/1. 2019ë…„ë�„ ì—°ë§�ì •ì‚° 안내문.pdf b/UpLoad/board/1. 2019ë…„ë�„ ì—°ë§�ì •ì‚° 안내문.pdf new file mode 100644 index 0000000..28541b5 Binary files /dev/null and b/UpLoad/board/1. 2019ë…„ë�„ ì—°ë§�ì •ì‚° 안내문.pdf differ diff --git a/UpLoad/board/1. 2022 신입사ì›� OT ìž�료_비즈니스 소개 - í�¼ë¸”릭리서치.pdf b/UpLoad/board/1. 2022 신입사ì›� OT ìž�료_비즈니스 소개 - í�¼ë¸”릭리서치.pdf new file mode 100644 index 0000000..e57dacc Binary files /dev/null and b/UpLoad/board/1. 2022 신입사ì›� OT ìž�료_비즈니스 소개 - í�¼ë¸”릭리서치.pdf differ diff --git a/UpLoad/board/1.200229_ë�™ë�•여대ê°�사패.png b/UpLoad/board/1.200229_ë�™ë�•여대ê°�사패.png new file mode 100644 index 0000000..7e01cb8 Binary files /dev/null and b/UpLoad/board/1.200229_ë�™ë�•여대ê°�사패.png differ diff --git a/UpLoad/board/1.xls b/UpLoad/board/1.xls new file mode 100644 index 0000000..ab0e3ee Binary files /dev/null and b/UpLoad/board/1.xls differ diff --git a/UpLoad/board/11ì›”_ì‹ ë�¼ì�¸í„°ë„·ë©´ì„¸ì �.jpg b/UpLoad/board/11ì›”_ì‹ ë�¼ì�¸í„°ë„·ë©´ì„¸ì �.jpg new file mode 100644 index 0000000..87daa9f Binary files /dev/null and b/UpLoad/board/11ì›”_ì‹ ë�¼ì�¸í„°ë„·ë©´ì„¸ì �.jpg differ diff --git a/UpLoad/board/14ë…„ ë‚´ë¶€ ì§„í–‰ êµ�육ìž�료.zip b/UpLoad/board/14ë…„ ë‚´ë¶€ ì§„í–‰ êµ�육ìž�료.zip new file mode 100644 index 0000000..4f83fef Binary files /dev/null and b/UpLoad/board/14ë…„ ë‚´ë¶€ ì§„í–‰ êµ�육ìž�료.zip differ diff --git a/UpLoad/board/14ë…„ 외부 êµ�육ìž�료.zip b/UpLoad/board/14ë…„ 외부 êµ�육ìž�료.zip new file mode 100644 index 0000000..05b6604 Binary files /dev/null and b/UpLoad/board/14ë…„ 외부 êµ�육ìž�료.zip differ diff --git a/UpLoad/board/15ë…„ êµ�육agenda.zip b/UpLoad/board/15ë…„ êµ�육agenda.zip new file mode 100644 index 0000000..757927b Binary files /dev/null and b/UpLoad/board/15ë…„ êµ�육agenda.zip differ diff --git a/UpLoad/board/1609000_C01 프로ì �트명_ë¶„ì„�ê°€ì�´ë“œ.xls b/UpLoad/board/1609000_C01 프로ì �트명_ë¶„ì„�ê°€ì�´ë“œ.xls new file mode 100644 index 0000000..dc43037 Binary files /dev/null and b/UpLoad/board/1609000_C01 프로ì �트명_ë¶„ì„�ê°€ì�´ë“œ.xls differ diff --git a/UpLoad/board/1609000_C01 프로ì �트명_í…Œì�´ë¸”_가로.xls b/UpLoad/board/1609000_C01 프로ì �트명_í…Œì�´ë¸”_가로.xls new file mode 100644 index 0000000..4c6d084 Binary files /dev/null and b/UpLoad/board/1609000_C01 프로ì �트명_í…Œì�´ë¸”_가로.xls differ diff --git a/UpLoad/board/1609000_C01 프로ì �트명_í…Œì�´ë¸”_세로.xls b/UpLoad/board/1609000_C01 프로ì �트명_í…Œì�´ë¸”_세로.xls new file mode 100644 index 0000000..269bee4 Binary files /dev/null and b/UpLoad/board/1609000_C01 프로ì �트명_í…Œì�´ë¸”_세로.xls differ diff --git a/UpLoad/board/1703000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2017_연구ì›�ìš©.xls b/UpLoad/board/1703000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2017_연구ì›�ìš©.xls new file mode 100644 index 0000000..5a99fd3 Binary files /dev/null and b/UpLoad/board/1703000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2017_연구ì›�ìš©.xls differ diff --git a/UpLoad/board/1703000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2017_연구ì›�ìš©_v1.xls b/UpLoad/board/1703000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2017_연구ì›�ìš©_v1.xls new file mode 100644 index 0000000..e80eff6 Binary files /dev/null and b/UpLoad/board/1703000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2017_연구ì›�ìš©_v1.xls differ diff --git a/UpLoad/board/1803000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2018_연구ì›�ìš©.xls b/UpLoad/board/1803000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2018_연구ì›�ìš©.xls new file mode 100644 index 0000000..bedc6ad Binary files /dev/null and b/UpLoad/board/1803000_C01 (프로ì �트코드)_ë¶„ì„�ê°€ì�´ë“œ2018_연구ì›�ìš©.xls differ diff --git a/UpLoad/board/191206 특별휴가(Refresh 휴가) 시행.docx b/UpLoad/board/191206 특별휴가(Refresh 휴가) 시행.docx new file mode 100644 index 0000000..36d726e Binary files /dev/null and b/UpLoad/board/191206 특별휴가(Refresh 휴가) 시행.docx differ diff --git a/UpLoad/board/2-1 오창엽.pptx b/UpLoad/board/2-1 오창엽.pptx new file mode 100644 index 0000000..cd8a172 Binary files /dev/null and b/UpLoad/board/2-1 오창엽.pptx differ diff --git a/UpLoad/board/2-2 김춘ì„�.pptx b/UpLoad/board/2-2 김춘ì„�.pptx new file mode 100644 index 0000000..b3a23f2 Binary files /dev/null and b/UpLoad/board/2-2 김춘ì„�.pptx differ diff --git a/UpLoad/board/2-3 염유ì‹�.pdf b/UpLoad/board/2-3 염유ì‹�.pdf new file mode 100644 index 0000000..8af0754 Binary files /dev/null and b/UpLoad/board/2-3 염유ì‹�.pdf differ diff --git a/UpLoad/board/2. 2019ë…„ ê·€ì†� ì—°ë§�ì •ì‚° 공제 기준.hwp b/UpLoad/board/2. 2019ë…„ ê·€ì†� ì—°ë§�ì •ì‚° 공제 기준.hwp new file mode 100644 index 0000000..98d8b91 Binary files /dev/null and b/UpLoad/board/2. 2019ë…„ ê·€ì†� ì—°ë§�ì •ì‚° 공제 기준.hwp differ diff --git a/UpLoad/board/2. 2022 신입사ì›� OT ìž�료_비즈니스 소개 - DCO & KRTech.pdf b/UpLoad/board/2. 2022 신입사ì›� OT ìž�료_비즈니스 소개 - DCO & KRTech.pdf new file mode 100644 index 0000000..603146b Binary files /dev/null and b/UpLoad/board/2. 2022 신입사ì›� OT ìž�료_비즈니스 소개 - DCO & KRTech.pdf differ diff --git a/UpLoad/board/2. êµ­ë‚´ 모바ì�¼ì½˜í…�츠 시장현황 보고서 (최종본-외부발표용).hwp b/UpLoad/board/2. êµ­ë‚´ 모바ì�¼ì½˜í…�츠 시장현황 보고서 (최종본-외부발표용).hwp new file mode 100644 index 0000000..a6e218c Binary files /dev/null and b/UpLoad/board/2. êµ­ë‚´ 모바ì�¼ì½˜í…�츠 시장현황 보고서 (최종본-외부발표용).hwp differ diff --git a/UpLoad/board/2.190829_ë�™ë�•여대ê°�사패.png b/UpLoad/board/2.190829_ë�™ë�•여대ê°�사패.png new file mode 100644 index 0000000..1b3c5ee Binary files /dev/null and b/UpLoad/board/2.190829_ë�™ë�•여대ê°�사패.png differ diff --git a/UpLoad/board/200102 ì�¸ì‚¬ë°œë ¹_전환배치(공지).docx b/UpLoad/board/200102 ì�¸ì‚¬ë°œë ¹_전환배치(공지).docx new file mode 100644 index 0000000..6353b7a Binary files /dev/null and b/UpLoad/board/200102 ì�¸ì‚¬ë°œë ¹_전환배치(공지).docx differ diff --git a/UpLoad/board/200129 2차시 비지니스매너_HR김현정.pdf b/UpLoad/board/200129 2차시 비지니스매너_HR김현정.pdf new file mode 100644 index 0000000..1655102 Binary files /dev/null and b/UpLoad/board/200129 2차시 비지니스매너_HR김현정.pdf differ diff --git a/UpLoad/board/200129_코로나바ì�´ëŸ¬ìФ 예방안내문.docx b/UpLoad/board/200129_코로나바ì�´ëŸ¬ìФ 예방안내문.docx new file mode 100644 index 0000000..6b01908 Binary files /dev/null and b/UpLoad/board/200129_코로나바ì�´ëŸ¬ìФ 예방안내문.docx differ diff --git a/UpLoad/board/200209028_POS고지물.jpg b/UpLoad/board/200209028_POS고지물.jpg new file mode 100644 index 0000000..8417b7a Binary files /dev/null and b/UpLoad/board/200209028_POS고지물.jpg differ diff --git a/UpLoad/board/200302 ì�¸ì‚¬ë°œë ¹_전환배치.xlsx b/UpLoad/board/200302 ì�¸ì‚¬ë°œë ¹_전환배치.xlsx new file mode 100644 index 0000000..615cdf3 Binary files /dev/null and b/UpLoad/board/200302 ì�¸ì‚¬ë°œë ¹_전환배치.xlsx differ diff --git a/UpLoad/board/200304 재íƒ�근무 확대시행 알림.pdf b/UpLoad/board/200304 재íƒ�근무 확대시행 알림.pdf new file mode 100644 index 0000000..f3182ab Binary files /dev/null and b/UpLoad/board/200304 재íƒ�근무 확대시행 알림.pdf differ diff --git a/UpLoad/board/200309 ì�¸ì‚¬ë°œë ¹_휴ì§�.docx b/UpLoad/board/200309 ì�¸ì‚¬ë°œë ¹_휴ì§�.docx new file mode 100644 index 0000000..98df70e Binary files /dev/null and b/UpLoad/board/200309 ì�¸ì‚¬ë°œë ¹_휴ì§�.docx differ diff --git a/UpLoad/board/200311 전화조사면접ì›� 코로나19 ê°�ì—¼ 예방ì�„ 위한 대ì�‘방안.docx b/UpLoad/board/200311 전화조사면접ì›� 코로나19 ê°�ì—¼ 예방ì�„ 위한 대ì�‘방안.docx new file mode 100644 index 0000000..a7231eb Binary files /dev/null and b/UpLoad/board/200311 전화조사면접ì›� 코로나19 ê°�ì—¼ 예방ì�„ 위한 대ì�‘방안.docx differ diff --git a/UpLoad/board/200323 코로나 예방 í–‰ë�™ì§€ì¹¨.docx b/UpLoad/board/200323 코로나 예방 í–‰ë�™ì§€ì¹¨.docx new file mode 100644 index 0000000..16531b3 Binary files /dev/null and b/UpLoad/board/200323 코로나 예방 í–‰ë�™ì§€ì¹¨.docx differ diff --git a/UpLoad/board/2003_(Stat_Canada)_Survey_methods_and_practices.pdf b/UpLoad/board/2003_(Stat_Canada)_Survey_methods_and_practices.pdf new file mode 100644 index 0000000..503ab68 Binary files /dev/null and b/UpLoad/board/2003_(Stat_Canada)_Survey_methods_and_practices.pdf differ diff --git a/UpLoad/board/200401 사규집.docx b/UpLoad/board/200401 사규집.docx new file mode 100644 index 0000000..32bc13a Binary files /dev/null and b/UpLoad/board/200401 사규집.docx differ diff --git a/UpLoad/board/200401 사규집_v1.docx b/UpLoad/board/200401 사규집_v1.docx new file mode 100644 index 0000000..32bc13a Binary files /dev/null and b/UpLoad/board/200401 사규집_v1.docx differ diff --git a/UpLoad/board/200401 사규집_v2.docx b/UpLoad/board/200401 사규집_v2.docx new file mode 100644 index 0000000..32bc13a Binary files /dev/null and b/UpLoad/board/200401 사규집_v2.docx differ diff --git a/UpLoad/board/200401 사규집_공지.docx b/UpLoad/board/200401 사규집_공지.docx new file mode 100644 index 0000000..32bc13a Binary files /dev/null and b/UpLoad/board/200401 사규집_공지.docx differ diff --git a/UpLoad/board/200401 ì�¸ì‚¬ë°œë ¹_승급.pdf b/UpLoad/board/200401 ì�¸ì‚¬ë°œë ¹_승급.pdf new file mode 100644 index 0000000..a623308 Binary files /dev/null and b/UpLoad/board/200401 ì�¸ì‚¬ë°œë ¹_승급.pdf differ diff --git a/UpLoad/board/200522 팀제 ìš´ì˜� 계íš� 알림.pdf b/UpLoad/board/200522 팀제 ìš´ì˜� 계íš� 알림.pdf new file mode 100644 index 0000000..6796b60 Binary files /dev/null and b/UpLoad/board/200522 팀제 ìš´ì˜� 계íš� 알림.pdf differ diff --git a/UpLoad/board/200526 ì�¸ì‚¬ë°œë ¹_ë³´ì§�임명.pdf b/UpLoad/board/200526 ì�¸ì‚¬ë°œë ¹_ë³´ì§�임명.pdf new file mode 100644 index 0000000..259d6f9 Binary files /dev/null and b/UpLoad/board/200526 ì�¸ì‚¬ë°œë ¹_ë³´ì§�임명.pdf differ diff --git a/UpLoad/board/2008 12기준 ìƒ�장사연ë�½ì²˜.xls b/UpLoad/board/2008 12기준 ìƒ�장사연ë�½ì²˜.xls new file mode 100644 index 0000000..9279a9e Binary files /dev/null and b/UpLoad/board/2008 12기준 ìƒ�장사연ë�½ì²˜.xls differ diff --git a/UpLoad/board/200801 ì�¸ì‚¬ë°œë ¹_특별승급.pdf b/UpLoad/board/200801 ì�¸ì‚¬ë°œë ¹_특별승급.pdf new file mode 100644 index 0000000..3ba0c6f Binary files /dev/null and b/UpLoad/board/200801 ì�¸ì‚¬ë°œë ¹_특별승급.pdf differ diff --git a/UpLoad/board/200826 순환 재íƒ�근무 시행.docx b/UpLoad/board/200826 순환 재íƒ�근무 시행.docx new file mode 100644 index 0000000..75b96a8 Binary files /dev/null and b/UpLoad/board/200826 순환 재íƒ�근무 시행.docx differ diff --git a/UpLoad/board/200831 시차출퇴근제 시행안내.pdf b/UpLoad/board/200831 시차출퇴근제 시행안내.pdf new file mode 100644 index 0000000..2f2e074 Binary files /dev/null and b/UpLoad/board/200831 시차출퇴근제 시행안내.pdf differ diff --git a/UpLoad/board/2008_(UN_DESA)_Designing_household_survey_samples.pdf b/UpLoad/board/2008_(UN_DESA)_Designing_household_survey_samples.pdf new file mode 100644 index 0000000..d9727d8 Binary files /dev/null and b/UpLoad/board/2008_(UN_DESA)_Designing_household_survey_samples.pdf differ diff --git a/UpLoad/board/2008ë…„ ACR 보고서 요약(ì œì�¼ê¸°íš�).pdf b/UpLoad/board/2008ë…„ ACR 보고서 요약(ì œì�¼ê¸°íš�).pdf new file mode 100644 index 0000000..6ec8c8d Binary files /dev/null and b/UpLoad/board/2008ë…„ ACR 보고서 요약(ì œì�¼ê¸°íš�).pdf differ diff --git a/UpLoad/board/2008ë…„ìž�료검색.bmp b/UpLoad/board/2008ë…„ìž�료검색.bmp new file mode 100644 index 0000000..8ec8acd Binary files /dev/null and b/UpLoad/board/2008ë…„ìž�료검색.bmp differ diff --git a/UpLoad/board/2009-ê²½ìŸ�력강화방안(후ì†�1).ppt b/UpLoad/board/2009-ê²½ìŸ�력강화방안(후ì†�1).ppt new file mode 100644 index 0000000..27b2e54 Binary files /dev/null and b/UpLoad/board/2009-ê²½ìŸ�력강화방안(후ì†�1).ppt differ diff --git a/UpLoad/board/200922 노사협ì�˜íšŒ 설치 ë°� 근로ìž�위ì›� 모집공고.pdf b/UpLoad/board/200922 노사협ì�˜íšŒ 설치 ë°� 근로ìž�위ì›� 모집공고.pdf new file mode 100644 index 0000000..c4eb2ce Binary files /dev/null and b/UpLoad/board/200922 노사협ì�˜íšŒ 설치 ë°� 근로ìž�위ì›� 모집공고.pdf differ diff --git a/UpLoad/board/200922 노사협ì�˜íšŒ 설치 ë°� 근로ìž�위ì›� 모집공고_v1.pdf b/UpLoad/board/200922 노사협ì�˜íšŒ 설치 ë°� 근로ìž�위ì›� 모집공고_v1.pdf new file mode 100644 index 0000000..c4eb2ce Binary files /dev/null and b/UpLoad/board/200922 노사협ì�˜íšŒ 설치 ë°� 근로ìž�위ì›� 모집공고_v1.pdf differ diff --git a/UpLoad/board/2009êµ�통비.xls b/UpLoad/board/2009êµ�통비.xls new file mode 100644 index 0000000..6bb3429 Binary files /dev/null and b/UpLoad/board/2009êµ�통비.xls differ diff --git a/UpLoad/board/2009ë…„_ì—°ë§�ì •ì‚°-krc.pptx b/UpLoad/board/2009ë…„_ì—°ë§�ì •ì‚°-krc.pptx new file mode 100644 index 0000000..888552a Binary files /dev/null and b/UpLoad/board/2009ë…„_ì—°ë§�ì •ì‚°-krc.pptx differ diff --git a/UpLoad/board/2009년소ë“�공제신고서-krc.xls b/UpLoad/board/2009년소ë“�공제신고서-krc.xls new file mode 100644 index 0000000..d4fd1ef Binary files /dev/null and b/UpLoad/board/2009년소ë“�공제신고서-krc.xls differ diff --git a/UpLoad/board/2009년소ë“�공제신고서-krc1.xls b/UpLoad/board/2009년소ë“�공제신고서-krc1.xls new file mode 100644 index 0000000..79a47dd Binary files /dev/null and b/UpLoad/board/2009년소ë“�공제신고서-krc1.xls differ diff --git a/UpLoad/board/2009ë…„ì—°ë§�ì •ì‚°.ppt b/UpLoad/board/2009ë…„ì—°ë§�ì •ì‚°.ppt new file mode 100644 index 0000000..82ae68c Binary files /dev/null and b/UpLoad/board/2009ë…„ì—°ë§�ì •ì‚°.ppt differ diff --git a/UpLoad/board/2009학술연구용역비기준단가.xls b/UpLoad/board/2009학술연구용역비기준단가.xls new file mode 100644 index 0000000..f1a3729 Binary files /dev/null and b/UpLoad/board/2009학술연구용역비기준단가.xls differ diff --git a/UpLoad/board/2010ë…„ 최저임금 안내문[1].hwp b/UpLoad/board/2010ë…„ 최저임금 안내문[1].hwp new file mode 100644 index 0000000..1911dac Binary files /dev/null and b/UpLoad/board/2010ë…„ 최저임금 안내문[1].hwp differ diff --git a/UpLoad/board/2010ë…„_ì—°ë§�ì •ì‚°_소ë“�공제신고서_KRC(R).xls b/UpLoad/board/2010ë…„_ì—°ë§�ì •ì‚°_소ë“�공제신고서_KRC(R).xls new file mode 100644 index 0000000..918f799 Binary files /dev/null and b/UpLoad/board/2010ë…„_ì—°ë§�ì •ì‚°_소ë“�공제신고서_KRC(R).xls differ diff --git a/UpLoad/board/2010ë…„_ì—°ë§�ì •ì‚°_소ë“�공제신고서_KRC.xls b/UpLoad/board/2010ë…„_ì—°ë§�ì •ì‚°_소ë“�공제신고서_KRC.xls new file mode 100644 index 0000000..e529896 Binary files /dev/null and b/UpLoad/board/2010ë…„_ì—°ë§�ì •ì‚°_소ë“�공제신고서_KRC.xls differ diff --git a/UpLoad/board/2010ë…„ê·€ì†� ì—°ë§�ì •ì‚°.hwp b/UpLoad/board/2010ë…„ê·€ì†� ì—°ë§�ì •ì‚°.hwp new file mode 100644 index 0000000..683e8e7 Binary files /dev/null and b/UpLoad/board/2010ë…„ê·€ì†� ì—°ë§�ì •ì‚°.hwp differ diff --git a/UpLoad/board/2010재무현황.xls b/UpLoad/board/2010재무현황.xls new file mode 100644 index 0000000..2c3a57f Binary files /dev/null and b/UpLoad/board/2010재무현황.xls differ diff --git a/UpLoad/board/2011-4-1775_220582_(주)코리아리서치센터_20110415_1.pdf b/UpLoad/board/2011-4-1775_220582_(주)코리아리서치센터_20110415_1.pdf new file mode 100644 index 0000000..0056801 Binary files /dev/null and b/UpLoad/board/2011-4-1775_220582_(주)코리아리서치센터_20110415_1.pdf differ diff --git a/UpLoad/board/201118 임시노사협ì�˜íšŒ 회ì�˜ë¡�.pdf b/UpLoad/board/201118 임시노사협ì�˜íšŒ 회ì�˜ë¡�.pdf new file mode 100644 index 0000000..1cf1cec Binary files /dev/null and b/UpLoad/board/201118 임시노사협ì�˜íšŒ 회ì�˜ë¡�.pdf differ diff --git a/UpLoad/board/2011ë…„ë�„ 최저임금 안내문.hwp b/UpLoad/board/2011ë…„ë�„ 최저임금 안내문.hwp new file mode 100644 index 0000000..5a8bfd6 Binary files /dev/null and b/UpLoad/board/2011ë…„ë�„ 최저임금 안내문.hwp differ diff --git a/UpLoad/board/2013ë…„ 재무제표.pdf b/UpLoad/board/2013ë…„ 재무제표.pdf new file mode 100644 index 0000000..7dfc2c6 Binary files /dev/null and b/UpLoad/board/2013ë…„ 재무제표.pdf differ diff --git a/UpLoad/board/2014ë…„ 재무제표.pdf b/UpLoad/board/2014ë…„ 재무제표.pdf new file mode 100644 index 0000000..51092b8 Binary files /dev/null and b/UpLoad/board/2014ë…„ 재무제표.pdf differ diff --git a/UpLoad/board/2014년지방선거면접ì›�ë�„급계약서_0414.hwp b/UpLoad/board/2014년지방선거면접ì›�ë�„급계약서_0414.hwp new file mode 100644 index 0000000..d79eddd Binary files /dev/null and b/UpLoad/board/2014년지방선거면접ì›�ë�„급계약서_0414.hwp differ diff --git a/UpLoad/board/2015ë…„ KRC ë¶„ì„� ê°€ì�´ë“œ2. PPBS 시장세분화모ë�¸.pptx b/UpLoad/board/2015ë…„ KRC ë¶„ì„� ê°€ì�´ë“œ2. PPBS 시장세분화모ë�¸.pptx new file mode 100644 index 0000000..b9a2a13 Binary files /dev/null and b/UpLoad/board/2015ë…„ KRC ë¶„ì„� ê°€ì�´ë“œ2. PPBS 시장세분화모ë�¸.pptx differ diff --git a/UpLoad/board/2015ë…„ ê·€ì†� ì—°ë§�ì •ì‚° 안내.pptx b/UpLoad/board/2015ë…„ ê·€ì†� ì—°ë§�ì •ì‚° 안내.pptx new file mode 100644 index 0000000..72d3d40 Binary files /dev/null and b/UpLoad/board/2015ë…„ ê·€ì†� ì—°ë§�ì •ì‚° 안내.pptx differ diff --git a/UpLoad/board/2015ë…„ ê·€ì†� ì—°ë§�정산절차 안내문.docx b/UpLoad/board/2015ë…„ ê·€ì†� ì—°ë§�정산절차 안내문.docx new file mode 100644 index 0000000..d3b76d5 Binary files /dev/null and b/UpLoad/board/2015ë…„ ê·€ì†� ì—°ë§�정산절차 안내문.docx differ diff --git a/UpLoad/board/2015ë…„ 마케팅 조사 방법론_사내 êµ�육 ìž�료_ver.1.pptx b/UpLoad/board/2015ë…„ 마케팅 조사 방법론_사내 êµ�육 ìž�료_ver.1.pptx new file mode 100644 index 0000000..9af34fd Binary files /dev/null and b/UpLoad/board/2015ë…„ 마케팅 조사 방법론_사내 êµ�육 ìž�료_ver.1.pptx differ diff --git a/UpLoad/board/2015ë…„ 재무제표.pdf b/UpLoad/board/2015ë…„ 재무제표.pdf new file mode 100644 index 0000000..395908a Binary files /dev/null and b/UpLoad/board/2015ë…„ 재무제표.pdf differ diff --git a/UpLoad/board/2016 지방사무소 출장 보고서(20160614 수정본).ppt b/UpLoad/board/2016 지방사무소 출장 보고서(20160614 수정본).ppt new file mode 100644 index 0000000..c4fd584 Binary files /dev/null and b/UpLoad/board/2016 지방사무소 출장 보고서(20160614 수정본).ppt differ diff --git a/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC.xlsx b/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC.xlsx new file mode 100644 index 0000000..0d5bde0 Binary files /dev/null and b/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC.xlsx differ diff --git a/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC1.xlsx b/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC1.xlsx new file mode 100644 index 0000000..0d5bde0 Binary files /dev/null and b/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC1.xlsx differ diff --git a/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC2.xlsx b/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC2.xlsx new file mode 100644 index 0000000..0d5bde0 Binary files /dev/null and b/UpLoad/board/20160800_모바ì�¼ê¸°í”„트 집행신청서_KRC2.xlsx differ diff --git a/UpLoad/board/2016_(환경부)_환경산업통계.pdf b/UpLoad/board/2016_(환경부)_환경산업통계.pdf new file mode 100644 index 0000000..dcc7d90 Binary files /dev/null and b/UpLoad/board/2016_(환경부)_환경산업통계.pdf differ diff --git a/UpLoad/board/2016_KORA_발표ìž�료_정규남(수정).pptx b/UpLoad/board/2016_KORA_발표ìž�료_정규남(수정).pptx new file mode 100644 index 0000000..6d546ad Binary files /dev/null and b/UpLoad/board/2016_KORA_발표ìž�료_정규남(수정).pptx differ diff --git a/UpLoad/board/2016ë…„ KRC 리서처 양성 표준êµ�육.xlsx b/UpLoad/board/2016ë…„ KRC 리서처 양성 표준êµ�육.xlsx new file mode 100644 index 0000000..7ae739c Binary files /dev/null and b/UpLoad/board/2016ë…„ KRC 리서처 양성 표준êµ�육.xlsx differ diff --git a/UpLoad/board/2016ë…„ 나ë�¼í†µê³„시스템 ìš´ì˜�방안.pdf b/UpLoad/board/2016ë…„ 나ë�¼í†µê³„시스템 ìš´ì˜�방안.pdf new file mode 100644 index 0000000..4905e0f Binary files /dev/null and b/UpLoad/board/2016ë…„ 나ë�¼í†µê³„시스템 ìš´ì˜�방안.pdf differ diff --git a/UpLoad/board/2016ë…„ ë‚´ë¶€êµ�육 ì�¼ì • ì •ì •.xlsx b/UpLoad/board/2016ë…„ ë‚´ë¶€êµ�육 ì�¼ì • ì •ì •.xlsx new file mode 100644 index 0000000..b3f6176 Binary files /dev/null and b/UpLoad/board/2016ë…„ ë‚´ë¶€êµ�육 ì�¼ì • ì •ì •.xlsx differ diff --git a/UpLoad/board/2016ë…„ ìž�료조사실 ê²€ì¦�규정(20160706 개정본).xls b/UpLoad/board/2016ë…„ ìž�료조사실 ê²€ì¦�규정(20160706 개정본).xls new file mode 100644 index 0000000..310e965 Binary files /dev/null and b/UpLoad/board/2016ë…„ ìž�료조사실 ê²€ì¦�규정(20160706 개정본).xls differ diff --git a/UpLoad/board/2016ë…„ 재무제표.pdf b/UpLoad/board/2016ë…„ 재무제표.pdf new file mode 100644 index 0000000..ab234bc Binary files /dev/null and b/UpLoad/board/2016ë…„ 재무제표.pdf differ diff --git a/UpLoad/board/2017 ë‚´ë¶€êµ�육_KRC ë¶„ì„�모듈 ì�´í•´_채주í�¬.ppt b/UpLoad/board/2017 ë‚´ë¶€êµ�육_KRC ë¶„ì„�모듈 ì�´í•´_채주í�¬.ppt new file mode 100644 index 0000000..fc537aa Binary files /dev/null and b/UpLoad/board/2017 ë‚´ë¶€êµ�육_KRC ë¶„ì„�모듈 ì�´í•´_채주í�¬.ppt differ diff --git a/UpLoad/board/2017 ë‚´ë¶€êµ�육_KRC ë¶„ì„�모듈 ì�´í•´_채주í�¬_v1.ppt b/UpLoad/board/2017 ë‚´ë¶€êµ�육_KRC ë¶„ì„�모듈 ì�´í•´_채주í�¬_v1.ppt new file mode 100644 index 0000000..fc537aa Binary files /dev/null and b/UpLoad/board/2017 ë‚´ë¶€êµ�육_KRC ë¶„ì„�모듈 ì�´í•´_채주í�¬_v1.ppt differ diff --git a/UpLoad/board/2017 연하장(20161213).gif b/UpLoad/board/2017 연하장(20161213).gif new file mode 100644 index 0000000..23736c9 Binary files /dev/null and b/UpLoad/board/2017 연하장(20161213).gif differ diff --git a/UpLoad/board/2017ë…„ KRC ë¶„ì„� ê°€ì�´ë“œ_정책조사분ì„�.ppt b/UpLoad/board/2017ë…„ KRC ë¶„ì„� ê°€ì�´ë“œ_정책조사분ì„�.ppt new file mode 100644 index 0000000..85175a1 Binary files /dev/null and b/UpLoad/board/2017ë…„ KRC ë¶„ì„� ê°€ì�´ë“œ_정책조사분ì„�.ppt differ diff --git a/UpLoad/board/2017ë…„ êµ�육ìž�료__KRC ìž�료조사 업무 요청방법_ìž�료조사실(10시 êµ�육용)_최종.pptx b/UpLoad/board/2017ë…„ êµ�육ìž�료__KRC ìž�료조사 업무 요청방법_ìž�료조사실(10시 êµ�육용)_최종.pptx new file mode 100644 index 0000000..5d19b5b Binary files /dev/null and b/UpLoad/board/2017ë…„ êµ�육ìž�료__KRC ìž�료조사 업무 요청방법_ìž�료조사실(10시 êµ�육용)_최종.pptx differ diff --git a/UpLoad/board/2017ë…„ êµ�육ìž�료_ìž�료수집 Process_ìž�료조사실(11시 êµ�육용)_최종.pptx b/UpLoad/board/2017ë…„ êµ�육ìž�료_ìž�료수집 Process_ìž�료조사실(11시 êµ�육용)_최종.pptx new file mode 100644 index 0000000..22e1fac Binary files /dev/null and b/UpLoad/board/2017ë…„ êµ�육ìž�료_ìž�료수집 Process_ìž�료조사실(11시 êµ�육용)_최종.pptx differ diff --git a/UpLoad/board/2017ë…„ ë¶„ì„� ê°€ì�´ë“œ_funnelê³ ê°� í–‰ë�™ 패턴Norm.ppt b/UpLoad/board/2017ë…„ ë¶„ì„� ê°€ì�´ë“œ_funnelê³ ê°� í–‰ë�™ 패턴Norm.ppt new file mode 100644 index 0000000..695ee48 Binary files /dev/null and b/UpLoad/board/2017ë…„ ë¶„ì„� ê°€ì�´ë“œ_funnelê³ ê°� í–‰ë�™ 패턴Norm.ppt differ diff --git a/UpLoad/board/2017ë…„ 재무제표.pdf b/UpLoad/board/2017ë…„ 재무제표.pdf new file mode 100644 index 0000000..4e8acba Binary files /dev/null and b/UpLoad/board/2017ë…„ 재무제표.pdf differ diff --git a/UpLoad/board/2017ë…„ 재무제표_v1.pdf b/UpLoad/board/2017ë…„ 재무제표_v1.pdf new file mode 100644 index 0000000..73d4cb1 Binary files /dev/null and b/UpLoad/board/2017ë…„ 재무제표_v1.pdf differ diff --git a/UpLoad/board/2017ë…„ë�„ ì�¼ë°˜ì‚¬ë¬´ì§� 엑셀활용능력 실기 시험.docx b/UpLoad/board/2017ë…„ë�„ ì�¼ë°˜ì‚¬ë¬´ì§� 엑셀활용능력 실기 시험.docx new file mode 100644 index 0000000..0b87bd9 Binary files /dev/null and b/UpLoad/board/2017ë…„ë�„ ì�¼ë°˜ì‚¬ë¬´ì§� 엑셀활용능력 실기 시험.docx differ diff --git a/UpLoad/board/2018 ìž�료분ì„� ë°� 업무요청방법.pptx b/UpLoad/board/2018 ìž�료분ì„� ë°� 업무요청방법.pptx new file mode 100644 index 0000000..95374ff Binary files /dev/null and b/UpLoad/board/2018 ìž�료분ì„� ë°� 업무요청방법.pptx differ diff --git a/UpLoad/board/2018ë…„ êµ�육ìž�료_ìž�료수집 Process_ìž�료조사실__최종_200403.pptx b/UpLoad/board/2018ë…„ êµ�육ìž�료_ìž�료수집 Process_ìž�료조사실__최종_200403.pptx new file mode 100644 index 0000000..f6bed65 Binary files /dev/null and b/UpLoad/board/2018ë…„ êµ�육ìž�료_ìž�료수집 Process_ìž�료조사실__최종_200403.pptx differ diff --git a/UpLoad/board/2018ë…„ 재무제표.pdf b/UpLoad/board/2018ë…„ 재무제표.pdf new file mode 100644 index 0000000..e459aed Binary files /dev/null and b/UpLoad/board/2018ë…„ 재무제표.pdf differ diff --git a/UpLoad/board/2019ë…„ 1~3ì›” 재무제표.pdf b/UpLoad/board/2019ë…„ 1~3ì›” 재무제표.pdf new file mode 100644 index 0000000..af1e806 Binary files /dev/null and b/UpLoad/board/2019ë…„ 1~3ì›” 재무제표.pdf differ diff --git a/UpLoad/board/2019ë…„ 4ì›”~2020ë…„ 3ì›” 재무제표.pdf b/UpLoad/board/2019ë…„ 4ì›”~2020ë…„ 3ì›” 재무제표.pdf new file mode 100644 index 0000000..5fb0169 Binary files /dev/null and b/UpLoad/board/2019ë…„ 4ì›”~2020ë…„ 3ì›” 재무제표.pdf differ diff --git a/UpLoad/board/2019ë…„ë�„ 전환배치 ì‹ ì²­ì œë�„ ìš´ì˜� 안내_공지용.docx b/UpLoad/board/2019ë…„ë�„ 전환배치 ì‹ ì²­ì œë�„ ìš´ì˜� 안내_공지용.docx new file mode 100644 index 0000000..e8042f4 Binary files /dev/null and b/UpLoad/board/2019ë…„ë�„ 전환배치 ì‹ ì²­ì œë�„ ìš´ì˜� 안내_공지용.docx differ diff --git a/UpLoad/board/2020 ê²½ì˜�실ì �(재무성과).pdf b/UpLoad/board/2020 ê²½ì˜�실ì �(재무성과).pdf new file mode 100644 index 0000000..dcb6def Binary files /dev/null and b/UpLoad/board/2020 ê²½ì˜�실ì �(재무성과).pdf differ diff --git a/UpLoad/board/2020 다함께 GOGO 캠페ì�¸ í�¬ìŠ¤í„°.jpg b/UpLoad/board/2020 다함께 GOGO 캠페ì�¸ í�¬ìŠ¤í„°.jpg new file mode 100644 index 0000000..b5a5d61 Binary files /dev/null and b/UpLoad/board/2020 다함께 GOGO 캠페ì�¸ í�¬ìŠ¤í„°.jpg differ diff --git a/UpLoad/board/2020 ë‘�번째 타운홀미팅 ìž�료_20200701_F(PDF 변환용).pdf b/UpLoad/board/2020 ë‘�번째 타운홀미팅 ìž�료_20200701_F(PDF 변환용).pdf new file mode 100644 index 0000000..811e9ee Binary files /dev/null and b/UpLoad/board/2020 ë‘�번째 타운홀미팅 ìž�료_20200701_F(PDF 변환용).pdf differ diff --git a/UpLoad/board/2020 마지막 타운홀미팅_201223(PDF변환용).pdf b/UpLoad/board/2020 마지막 타운홀미팅_201223(PDF변환용).pdf new file mode 100644 index 0000000..f0a8616 Binary files /dev/null and b/UpLoad/board/2020 마지막 타운홀미팅_201223(PDF변환용).pdf differ diff --git a/UpLoad/board/2020 마지막 타운홀미팅_201223(PDF변환용)_v1.pdf b/UpLoad/board/2020 마지막 타운홀미팅_201223(PDF변환용)_v1.pdf new file mode 100644 index 0000000..67308f5 Binary files /dev/null and b/UpLoad/board/2020 마지막 타운홀미팅_201223(PDF변환용)_v1.pdf differ diff --git a/UpLoad/board/2020 문서코드화 ìš´ì˜�안_20200701.pdf b/UpLoad/board/2020 문서코드화 ìš´ì˜�안_20200701.pdf new file mode 100644 index 0000000..3ea78dc Binary files /dev/null and b/UpLoad/board/2020 문서코드화 ìš´ì˜�안_20200701.pdf differ diff --git a/UpLoad/board/2020 문서코드화 ìš´ì˜�안_20200701.pptx b/UpLoad/board/2020 문서코드화 ìš´ì˜�안_20200701.pptx new file mode 100644 index 0000000..daec6db Binary files /dev/null and b/UpLoad/board/2020 문서코드화 ìš´ì˜�안_20200701.pptx differ diff --git a/UpLoad/board/2020 세번째 타운홀미팅_201007_F(PDF 변환용).pdf b/UpLoad/board/2020 세번째 타운홀미팅_201007_F(PDF 변환용).pdf new file mode 100644 index 0000000..8be65ad Binary files /dev/null and b/UpLoad/board/2020 세번째 타운홀미팅_201007_F(PDF 변환용).pdf differ diff --git a/UpLoad/board/2020 정성êµ�육 êµ�재.pptx b/UpLoad/board/2020 정성êµ�육 êµ�재.pptx new file mode 100644 index 0000000..ca05843 Binary files /dev/null and b/UpLoad/board/2020 정성êµ�육 êµ�재.pptx differ diff --git a/UpLoad/board/20200128_코로나바ì�´ëŸ¬ìФí�¬ìŠ¤í„°(국문).jpg b/UpLoad/board/20200128_코로나바ì�´ëŸ¬ìФí�¬ìŠ¤í„°(국문).jpg new file mode 100644 index 0000000..50cd515 Binary files /dev/null and b/UpLoad/board/20200128_코로나바ì�´ëŸ¬ìФí�¬ìŠ¤í„°(국문).jpg differ diff --git a/UpLoad/board/2020ë…„ 가족ë�Œë´„휴가 ë°� 휴ì§� 신청서.xlsx b/UpLoad/board/2020ë…„ 가족ë�Œë´„휴가 ë°� 휴ì§� 신청서.xlsx new file mode 100644 index 0000000..48fdc84 Binary files /dev/null and b/UpLoad/board/2020ë…„ 가족ë�Œë´„휴가 ë°� 휴ì§� 신청서.xlsx differ diff --git a/UpLoad/board/2020ë…„ 가족ë�Œë´„휴가 ë°� 휴ì§� 신청서_v1.xlsx b/UpLoad/board/2020ë…„ 가족ë�Œë´„휴가 ë°� 휴ì§� 신청서_v1.xlsx new file mode 100644 index 0000000..41eb74d Binary files /dev/null and b/UpLoad/board/2020ë…„ 가족ë�Œë´„휴가 ë°� 휴ì§� 신청서_v1.xlsx differ diff --git a/UpLoad/board/2020ë…„ 하반기 Knowledge Sharing_20200915_지재구.pptx b/UpLoad/board/2020ë…„ 하반기 Knowledge Sharing_20200915_지재구.pptx new file mode 100644 index 0000000..f515e83 Binary files /dev/null and b/UpLoad/board/2020ë…„ 하반기 Knowledge Sharing_20200915_지재구.pptx differ diff --git a/UpLoad/board/2020ë…„ë�„ ìž„ì§�ì›� 건강종합검진 시행 알림_공지용.docx b/UpLoad/board/2020ë…„ë�„ ìž„ì§�ì›� 건강종합검진 시행 알림_공지용.docx new file mode 100644 index 0000000..7d0c96f Binary files /dev/null and b/UpLoad/board/2020ë…„ë�„ ìž„ì§�ì›� 건강종합검진 시행 알림_공지용.docx differ diff --git a/UpLoad/board/2021 VPN 설치사용 안내.pptx b/UpLoad/board/2021 VPN 설치사용 안내.pptx new file mode 100644 index 0000000..697dc4f Binary files /dev/null and b/UpLoad/board/2021 VPN 설치사용 안내.pptx differ diff --git a/UpLoad/board/2021 êµ�육계íš�_210506.pdf b/UpLoad/board/2021 êµ�육계íš�_210506.pdf new file mode 100644 index 0000000..4f50bff Binary files /dev/null and b/UpLoad/board/2021 êµ�육계íš�_210506.pdf differ diff --git a/UpLoad/board/2021 êµ�육계íš�_210506_v1.pdf b/UpLoad/board/2021 êµ�육계íš�_210506_v1.pdf new file mode 100644 index 0000000..4f50bff Binary files /dev/null and b/UpLoad/board/2021 êµ�육계íš�_210506_v1.pdf differ diff --git a/UpLoad/board/2021 êµ�육ì´�괄표(연간캘린ë�”)_210506.xlsx b/UpLoad/board/2021 êµ�육ì´�괄표(연간캘린ë�”)_210506.xlsx new file mode 100644 index 0000000..26a09df Binary files /dev/null and b/UpLoad/board/2021 êµ�육ì´�괄표(연간캘린ë�”)_210506.xlsx differ diff --git a/UpLoad/board/2021 êµ�육ì´�괄표(연간캘린ë�”)_210506_v1.xlsx b/UpLoad/board/2021 êµ�육ì´�괄표(연간캘린ë�”)_210506_v1.xlsx new file mode 100644 index 0000000..26a09df Binary files /dev/null and b/UpLoad/board/2021 êµ�육ì´�괄표(연간캘린ë�”)_210506_v1.xlsx differ diff --git a/UpLoad/board/2021 êµ�육캘린ë�”(월간)_210506.xlsm b/UpLoad/board/2021 êµ�육캘린ë�”(월간)_210506.xlsm new file mode 100644 index 0000000..9f27dda Binary files /dev/null and b/UpLoad/board/2021 êµ�육캘린ë�”(월간)_210506.xlsm differ diff --git a/UpLoad/board/2021 êµ�육캘린ë�”(월간)_210506_v1.xlsm b/UpLoad/board/2021 êµ�육캘린ë�”(월간)_210506_v1.xlsm new file mode 100644 index 0000000..9f27dda Binary files /dev/null and b/UpLoad/board/2021 êµ�육캘린ë�”(월간)_210506_v1.xlsm differ diff --git a/UpLoad/board/2021 사내프로그램 안내(Office365).pptx b/UpLoad/board/2021 사내프로그램 안내(Office365).pptx new file mode 100644 index 0000000..d5b84d0 Binary files /dev/null and b/UpLoad/board/2021 사내프로그램 안내(Office365).pptx differ diff --git a/UpLoad/board/2021 ì¡°ì§�개편_전사 공유ìž�료 210129.pdf b/UpLoad/board/2021 ì¡°ì§�개편_전사 공유ìž�료 210129.pdf new file mode 100644 index 0000000..10adc5b Binary files /dev/null and b/UpLoad/board/2021 ì¡°ì§�개편_전사 공유ìž�료 210129.pdf differ diff --git a/UpLoad/board/2021ë…„ ìž„ì§�ì›� 종합건강검진 시행 알림.pdf b/UpLoad/board/2021ë…„ ìž„ì§�ì›� 종합건강검진 시행 알림.pdf new file mode 100644 index 0000000..b3ec69e Binary files /dev/null and b/UpLoad/board/2021ë…„ ìž„ì§�ì›� 종합건강검진 시행 알림.pdf differ diff --git a/UpLoad/board/2021ë…„ ì œ1회 K-iwe 회ì�˜ë¡�.pdf b/UpLoad/board/2021ë…„ ì œ1회 K-iwe 회ì�˜ë¡�.pdf new file mode 100644 index 0000000..f3318ca Binary files /dev/null and b/UpLoad/board/2021ë…„ ì œ1회 K-iwe 회ì�˜ë¡�.pdf differ diff --git a/UpLoad/board/2021ë…„ ì¡°ì§�개편_210721.pdf b/UpLoad/board/2021ë…„ ì¡°ì§�개편_210721.pdf new file mode 100644 index 0000000..908ffb4 Binary files /dev/null and b/UpLoad/board/2021ë…„ ì¡°ì§�개편_210721.pdf differ diff --git a/UpLoad/board/2021ë…„ë�„ Transfer Program 시행 계íš�.pdf b/UpLoad/board/2021ë…„ë�„ Transfer Program 시행 계íš�.pdf new file mode 100644 index 0000000..be3ed81 Binary files /dev/null and b/UpLoad/board/2021ë…„ë�„ Transfer Program 시행 계íš�.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습.pdf new file mode 100644 index 0000000..15adb58 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습_v1.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습_v1.pdf new file mode 100644 index 0000000..15adb58 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습_v1.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습_v2.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습_v2.pdf new file mode 100644 index 0000000..15adb58 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_DCO 업무 소개 ë°� 실습_v2.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습.pdf new file mode 100644 index 0000000..5046dba Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습_v1.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습_v1.pdf new file mode 100644 index 0000000..5046dba Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습_v1.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습_v2.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습_v2.pdf new file mode 100644 index 0000000..5046dba Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_DIN 업무 소개 ë°� 실습_v2.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜.pdf new file mode 100644 index 0000000..25e6836 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜_v1.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜_v1.pdf new file mode 100644 index 0000000..25e6836 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜_v1.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜_v2.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜_v2.pdf new file mode 100644 index 0000000..25e6836 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_R&C 분야 ì „ë°˜_v2.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_VD업무소개 ë°� PPT 실습.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_VD업무소개 ë°� PPT 실습.pdf new file mode 100644 index 0000000..ad2b260 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_VD업무소개 ë°� PPT 실습.pdf differ diff --git a/UpLoad/board/2022 신입사ì›� OT ìž�료_VD업무소개 ë°� PPT 실습_v1.pdf b/UpLoad/board/2022 신입사ì›� OT ìž�료_VD업무소개 ë°� PPT 실습_v1.pdf new file mode 100644 index 0000000..ad2b260 Binary files /dev/null and b/UpLoad/board/2022 신입사ì›� OT ìž�료_VD업무소개 ë°� PPT 실습_v1.pdf differ diff --git a/approval/allow_listall.asp b/approval/allow_listall.asp new file mode 100644 index 0000000..41642d0 --- /dev/null +++ b/approval/allow_listall.asp @@ -0,0 +1,211 @@ + + +<% +x = "2" +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if +%> + +
+ +
+

½ÂÀÎ ¹®¼­

+
+ + +
+
+
+
+
+ <% + query = "SELECT * " + query = query & "FROM Document a " + query = query & " INNER JOIN ¹®¼­³»¿ë b on a.d_no = b.¹®¼­¹øÈ£ " + query = query & "WHERE b.login_p_no <> '" & Session("User_Number") & "' " + query = query & " AND a.d_delok = 'N' " + query = query & " AND a.d_name <> '¾÷¹«ÀÏÁö' " + query = query & " AND a.d_order_cnt in ('77') " + query = query & " AND (a.d_order1 = '" & Session("User_Number") & "' " + for tmp_i = 2 to 4 + query = query & " OR a.d_order" & tmp_i & " = '" & Session("User_Number") & "' " + next + query = query & " OR a.d_order5 = '" & Session("User_Number") & "') " + query = query & "ORDER BY a.d_sn DESC " + + Rs.Open query, adoConn, 1 + tmp_count = Rs.RecordCount + %> + + + + + + + +
¸ñ·Ï°á°ú : ÃÑ <%=tmp_count%>°³ÀÇ Ç׸ñÀÌ ÀÖ½À´Ï´Ù.
+ + + + + + + + + <% + if Rs.RecordCount > 0 then + Rs.PageSize = 20 + tmp_ok = 1 + PageCount = Rs.PageCount + Rs.absolutepage = tmp_Currentpage + tmp_total_record = Rs.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) + + if Rs.PageSize <= tmp_for then + if Rs.RecordCount <= Rs.PageSize then + tmp_for = Rs.recordcount + else + tmp_for = Rs.PageSize + end if + else + tmp_for = tmp_for + end if + + for i = 1 to tmp_for + + tmp_txt = "¿Ï·á" + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 + end if + + tmp_flag = mid(Rs("d_no"), 10, 1) + if Rs("d_name") = "Á÷Á¢ºñ" then + tmpstr = Rs("p_sn") + else + tmpstr = Rs("d_no") + end if + + if Rs("d_name") = "¹®È­Ã¼À°ºñ½Åû¼­" then + tmp_flag = "o2" + end If + if Rs("d_name") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" then + tmp_flag = "t2" + end If + %> + + + + + + + + + <% + Rs.MoveNext + next + end if + Rs.Close + %> +
No.¹®¼­ºÐ·ùÀÛ¼ºÀÏÀÛ¼ºÀÚ¿äû
<%=Num%>','1','<%=x%>','<%=Rs("p_sn") %>')" class="blue"><%if Rs("d_name") = "ºÎ¼­ºñ½Åû¼­" then response.Write "±×·ì(Àå)Ȱµ¿ºñ" else response.Write Rs("d_name") end if%><%=Rs("d_write_date")%><%=Rs("login_À̸§")%>󸮿Ϸá
+ <%=Pagelist("allow_listall.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&b_type=" & b_type)%> +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_commute.asp b/approval/doc_commute.asp new file mode 100644 index 0000000..5674ed8 --- /dev/null +++ b/approval/doc_commute.asp @@ -0,0 +1,202 @@ + + +<% + dim Query + dim i, j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim title + dim Company(6) + + title="Ãâ Åð ±Ù º¸ °í ¼­" +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close +%> + + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + + + + +
+ ÃâÅð±Ùº¸°í¼­ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. +
+ + + + + + + + + + + + + + + + + <% for i=1 To 5 %> + + + + + + + + + + <% Next %> + +
ÀÏÀڽýºÅۻ󺸰í»çÀ¯Ãâ±ÙÁ¶Á¤½Ã°¢Åð±ÙÁ¶Á¤½Ã°¢
Ãâ±ÙÅð±Ù
+
+ + +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_commute_ajax.asp b/approval/doc_commute_ajax.asp new file mode 100644 index 0000000..65740d7 --- /dev/null +++ b/approval/doc_commute_ajax.asp @@ -0,0 +1,22 @@ + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +query = " " +query = query & " SELECT login_time, logout_time FROM V_LOGIN_TIME " +query = query & " WHERE p_no = '" & session("User_number") & "' AND ymd = '" & Request("seldate") & "' " + +Adors.Open query, adoConn, 1 + +If Adors.recordCount > 0 Then + Response.Write "{""inTime"":""" & Adors("login_time") & """,""outTime"":""" & Adors("logout_time") & """}" +Else + 'Response.Write query + Response.Write "{""inTime"":"""",""outTime"":""""}" +End IF + +Adors.close +%> \ No newline at end of file diff --git a/approval/doc_commute_print.asp b/approval/doc_commute_print.asp new file mode 100644 index 0000000..89670a0 --- /dev/null +++ b/approval/doc_commute_print.asp @@ -0,0 +1,513 @@ + +<% + 'Response.Expires = 0 + + dim doc_type : doc_type = "doc_commute_print" + dim tmpstr + dim Query + dim i, j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim krc_no + dim Gap() + dim Max_Repare_Day_Cnt + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + title="ÃâÅð±Ùº¸°í¼­" + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + Max_Repare_Day_Cnt = 5 + redim Gap(Max_Repare_Day_Cnt,6) 'x:¼ø¹ø, y:1:³¯Â¥, 2:system Ãâ±Ù½Ã°¢, 3:system Åð±Ù½Ã°¢, 4:º¸°í»çÀ¯, 5:Ãâ±ÙÁ¶Á¤½Ã°¢, 6:Åð±ÙÁ¶Á¤½Ã°¢ + for i=1 to Max_Repare_Day_Cnt + gap(i, 1) = request("txt_date_" & cstr(i)) + gap(i, 2) = request("txt_in_time_1_" & cstr(i)) + gap(i, 3) = request("txt_out_time_1_" & cstr(i)) + gap(i, 4) = Unescape(request("txt_reason_" & cstr(i))) + gap(i, 5) = request("txt_in_time_2_" & cstr(i)) + gap(i, 6) = request("txt_out_time_2_" & cstr(i)) + next + + for i=1 to Max_Repare_Day_Cnt + for j=1 to 6 + if trim(gap(i, j)) = "" then + gap(i, j) = " " + end if + if trim(gap(i, j)) = "?" then + gap(i, j) = " " + end if + next + next + print_type = request("print_type") + + + set rsm = server.CreateObject("ADODB.RECORDSET") + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + tmp_txt1 = request("tmp_txt1") + if tmp_txt1 = "" then + tmp_txt1 = request("tmp_txt1_tmp") + end if + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + if cint(print_type) = 2 then + '¸ÕÀú ÃâÅð±Ùº¸°í¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "M-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== +%> + + + +<% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', 'ÃâÅð±Ùº¸°í¼­', '" & Session("loginuser") & "', '" & date() & "', '4', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'response.Write query & "
" + adoconn.execute query + '==================================================================== + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, " + for i=1 to Max_Repare_Day_Cnt + query = query & "target" & trim((i)) & ", " + next + + query = query & " target97, target98, target99, target100, " + + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + for i=1 to Max_Repare_Day_Cnt + query = query & "'" & gap(i, 1) & "^^" & gap(i, 2) & "^^" & gap(i, 3) & "^^" & replace(gap(i, 4)," ","") & "^^" & gap(i, 5) & "^^" & gap(i, 6) & "', " + next + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + 'response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" + adoconn.execute query + + if d_order_cnt = 77 then + p_no = user_name(0) ''°áÀç »ó½ÅÀÚ »ç¹ø + p_name = user_name(1) '°áÀç »ó½ÅÀÚ À̸§ + line_cnt = Max_Repare_Day_Cnt '¸îÁÙÀΰ¡ + + for i=1 to line_cnt + for j=1 to 6 + gap(i,j) = replace(gap(i,j)," ","") + gap(i,j) = replace(gap(i,j)," ","") + next + if not isEmpty(gap(i,5)) and not isnull(gap(i,5)) and gap(i,5) <> " " and trim(gap(i,5)) <> "" then + query = "insert into login (name, p_no, [date], [time], real_time, login_out, ip, edit_reason) values (" + query = query & "'" & p_name & "', " + query = query & "'" & p_no & "', " + query = query & "'" & gap(i,1) & "', " + query = query & "'" & replace(gap(i,5),":","") & "', " + query = query & "'" & FormatDateTime(date,0) & " " & FormatDateTime(time,4) & "', " + query = query & "'login-ÃâÅð±Ùº¸°í¼­', " + query = query & "'" & Request.ServerVariables("remote_host") & "', " + query = query & "'" & gap(i,4) & "-" & session("User_Number") & "') " + 'Response.Write query & "
" + adoConn.Execute query + end if + + if not isEmpty(gap(i,6)) and not isnull(gap(i,6)) and gap(i,6) <> " " and trim(gap(i,6)) <> "" then + query = "insert into login (name, p_no, [date], [time], real_time, login_out, ip, edit_reason) values (" + query = query & "'" & p_name & "', " + query = query & "'" & p_no & "', " + if mid(gap(i,6),1,2) >= 00 and mid(gap(i,6),1,2) < 06 then ''00½ÃºÎÅÍ 07½Ã ÀÌÀü Åð±ÙÀÌ¸é ³¯Â¥¸¦ 1ÀÏ ´õÇÏ¿© Àú + query = query & "'" & cdate(gap(i,1)) + 1 & "', " + else + query = query & "'" & gap(i,1) & "', " + end if + query = query & "'" & replace(gap(i,6),":","") & "', " + query = query & "'" & FormatDateTime(date,0) & " " & FormatDateTime(time,4) & "', " + query = query & "'login-ÃâÅð±Ùº¸°í¼­', " + query = query & "'" & Request.ServerVariables("remote_host") & "', " + query = query & "'" & gap(i,4) & "-" & session("User_Number") & "') " + 'Response.Write query & "
" + adoConn.Execute query + end if + next + end if + end if +%> + + + +<%=GNB_TITLE%> + + + + + + + onLoad="clsit();" <% end if %>> + +
+ + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'response.Write "my_pos : " & my_pos & "
" + 'tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + 'tmp_txt = "" + if my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
»ó±â º»ÀÎÀÇ ÃâÅð±Ù »çÇ׿¡ ´ëÇÏ¿© ´ÙÀ½°ú °°ÀÌ º¸°íÇÏ¿À´Ï Àç°¡ÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + + + + + <%for i=1 to Max_Repare_Day_Cnt%> + + + + + + + + + <%next%> + + <%for i=Max_Repare_Day_Cnt + 1 to 8%> + + + + <%next%> +
ÀÏÀÚSystem»óº¸°í»çÀ¯Ãâ±Ù
Á¶Á¤½Ã°¢
Åð±Ù
Á¶Á¤½Ã°¢
Ãâ±ÙÅð±Ù
<%=gap(i,1)%><%=gap(i,2)%><%=gap(i,3)%><%=gap(i,4)%><%=gap(i,5)%><%=gap(i,6)%>
 
+
+
	½Å  û  ÀÏ  :          <%=Curr_date%>
+
	½Å  û  ÀÎ  :              <%=user_name(1)%>     (ìÔ)
+
+
+
+ + + <%for i=1 to Max_Repare_Day_Cnt%> + + + + + + + <%next%> + + + + + + + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/approval/doc_confirm.asp b/approval/doc_confirm.asp new file mode 100644 index 0000000..0ccbe28 --- /dev/null +++ b/approval/doc_confirm.asp @@ -0,0 +1,364 @@ + + +<% + Dim yyyy : yyyy = LEFT(date, 4) + Dim mm : mm = MID(date, 6,2) +%> + +
+ + +
+

ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎ (ÂüÁ¶ÇÔ)

+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ Áõºù¿ù +
+ + +
+ +
+
+ ÁõºùÁ¾·ù +
+ +
+ ºÎ¼­ +
+ +
+ Ű¿öµå(ÇÁ·ÎÁ§Æ®¸í, °Å·¡Ã³, ºñ¿ëÇ׸ñ, ÀÛ¼ºÀÚ) +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÃѰèÄ«µå/Çö±Ý
ÁöÃâ°áÀǼ­
¼¼±Ý°è»ê¼­
ÁöÃâ°áÀǼ­
ÀΰǺñ
ÁöÃâ°áÀǼ­
ÇØ¿Ü¿ÜÁÖºñ
ÁöÃâ°áÀǼ­
±×·ì¿î¿µºñ¾÷¹«ÀÏÁö
0000000
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºñ¿ëÇ׸ñ°ø±Þ°¡¾×ºÎ¼­ÀÛ¼ºÀÚÁõºùÀÏÀÚÁö±ÞÀÏÀÚ
+
+
+
+
+
+
+
+ + + +
+ + diff --git a/approval/doc_confirm.asp_250908_cns b/approval/doc_confirm.asp_250908_cns new file mode 100644 index 0000000..5c9d00f --- /dev/null +++ b/approval/doc_confirm.asp_250908_cns @@ -0,0 +1,357 @@ + + +<% + Dim yyyy : yyyy = LEFT(date, 4) + Dim mm : mm = MID(date, 6,2) +%> + +
+ + +
+

ÁöÃâ°áÀǼ­ È®ÀÎ (ÂüÁ¶ÇÔ)

+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ Áõºù¿ù +
+ + +
+ +
+
+ ÁõºùÁ¾·ù +
+ +
+ ºÎ¼­ +
+ +
+ Ű¿öµå(ÇÁ·ÎÁ§Æ®¸í, °Å·¡Ã³, ºñ¿ëÇ׸ñ, ÀÛ¼ºÀÚ) +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÃѰèÄ«µå/Çö±Ý
ÁöÃâ°áÀǼ­
¼¼±Ý°è»ê¼­
ÁöÃâ°áÀǼ­
ÀΰǺñ
ÁöÃâ°áÀǼ­
ÇØ¿Ü¿ÜÁÖºñ
ÁöÃâ°áÀǼ­
±×·ì¿î¿µºñ¾÷¹«ÀÏÁö
0000000
+ + + + + + + + + + + + + + + + + + + + + + + + + +
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºñ¿ëÇ׸ñ°ø±Þ°¡¾×ºÎ¼­ÀÛ¼ºÀÚÁõºùÀÏÀÚ
+
+
+
+
+
+
+
+ + + +
+ + diff --git a/approval/doc_confirm.asp_250916_cns b/approval/doc_confirm.asp_250916_cns new file mode 100644 index 0000000..49f2c21 --- /dev/null +++ b/approval/doc_confirm.asp_250916_cns @@ -0,0 +1,360 @@ + + +<% + Dim yyyy : yyyy = LEFT(date, 4) + Dim mm : mm = MID(date, 6,2) +%> + +
+ + +
+

ÁöÃâ°áÀǼ­ È®ÀÎ (ÂüÁ¶ÇÔ)

+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ Áõºù¿ù +
+ + +
+ +
+
+ ÁõºùÁ¾·ù +
+ +
+ ºÎ¼­ +
+ +
+ Ű¿öµå(ÇÁ·ÎÁ§Æ®¸í, °Å·¡Ã³, ºñ¿ëÇ׸ñ, ÀÛ¼ºÀÚ) +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÃѰèÄ«µå/Çö±Ý
ÁöÃâ°áÀǼ­
¼¼±Ý°è»ê¼­
ÁöÃâ°áÀǼ­
ÀΰǺñ
ÁöÃâ°áÀǼ­
ÇØ¿Ü¿ÜÁÖºñ
ÁöÃâ°áÀǼ­
±×·ì¿î¿µºñ¾÷¹«ÀÏÁö
0000000
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºñ¿ëÇ׸ñ°ø±Þ°¡¾×ºÎ¼­ÀÛ¼ºÀÚÁõºùÀÏÀÚÁö±ÞÀÏÀÚ
+
+
+
+
+
+
+
+ + + +
+ + diff --git a/approval/doc_confirm.asp_250923_cns b/approval/doc_confirm.asp_250923_cns new file mode 100644 index 0000000..0b73b52 --- /dev/null +++ b/approval/doc_confirm.asp_250923_cns @@ -0,0 +1,364 @@ + + +<% + Dim yyyy : yyyy = LEFT(date, 4) + Dim mm : mm = MID(date, 6,2) +%> + +
+ + +
+

ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎ (ÂüÁ¶ÇÔ)

+
+ + + +
+
+
+
+
+ +
+
+
+
+
+ Áõºù¿ù +
+ + +
+ +
+
+ ÁõºùÁ¾·ù +
+ +
+ ºÎ¼­ +
+ +
+ Ű¿öµå(ÇÁ·ÎÁ§Æ®¸í, °Å·¡Ã³, ºñ¿ëÇ׸ñ, ÀÛ¼ºÀÚ) +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÃѰèÄ«µå/Çö±Ý
ÁöÃâ°áÀǼ­
¼¼±Ý°è»ê¼­
ÁöÃâ°áÀǼ­
ÀΰǺñ
ÁöÃâ°áÀǼ­
ÇØ¿Ü¿ÜÁÖºñ
ÁöÃâ°áÀǼ­
±×·ì¿î¿µºñ¾÷¹«ÀÏÁö
0000000
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºñ¿ëÇ׸ñ°ø±Þ°¡¾×ºÎ¼­ÀÛ¼ºÀÚÁõºùÀÏÀÚÁö±ÞÀÏÀÚ
+
+
+
+
+
+
+
+ + + +
+ + diff --git a/approval/doc_confirm_ajax.asp b/approval/doc_confirm_ajax.asp new file mode 100644 index 0000000..8dd9258 --- /dev/null +++ b/approval/doc_confirm_ajax.asp @@ -0,0 +1,467 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 +DIM SMONTH +DIM EMONTH + +Select Case Request("command") + Case "approvalList" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT A.d_no,A.p_child_sn,A.p_subject,A.client,A.depart_name,A.cost_type,A.hangmok,A.sebu,A.cost,A.d_write_name,A.cost_date,A.payment_date FROM( " &VBCRLF + SQL = SQL & " SELECT M.id, ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, " &VBCRLF + SQL = SQL & "CASE " &VBCRLF + SQL = SQL & " WHEN PARSENAME(REPLACE(¹®¼­¹øÈ£, '-', '.'), 2) = 'r' " &VBCRLF + SQL = SQL & " THEN 'ÀÚ±ÝÁýÇ༭' " &VBCRLF + SQL = SQL & " ELSE ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') " &VBCRLF + SQL = SQL & "END AS p_subject, " &VBCRLF + SQL = SQL & " dbo.FN_RemoveExtraSpaces(RTRIM(CONVERT(NVARCHAR(MAX), target8))) AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '-' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " &VBCRLF + SQL = SQL & " target4 AS cost_type, DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, d_write_name, target3 as cost_date, remark19 as payment_date,remark1,remark2 " &VBCRLF + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " &VBCRLF + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' ) " &VBCRLF + 'SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + SQL = SQL & " AND ISDATE(CONVERT(varchar(30),target3)) = 1 " + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01')) " &VBCRLF + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) < "&EMONTH&" " &VBCRLF + SQL = SQL & " AND del_yes_no = 'no' " &VBCRLF + If Request("step") = "1" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') = '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark21), '') = '')) " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') <> '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark21), '') <> '')) " + ElseIf Request("step") = "3" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark5), '') = '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark23), '') = '')) " + ElseIf Request("step") = "4" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark5), '') <> '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark23), '') <> '')) " + End If + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + SQL = SQL & " ) A WHERE 1 = 1 " + 'SQL = SQL & " AND ( A.p_subject <> 'ÁöÃâ°áÀǼ­' OR (A.remark1 LIKE '3' AND ISNULL(CONVERT(varchar, A.remark2), '') = '')) " + SQL = SQL & " ORDER BY A.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """d_write_name"":"""& Adors("d_write_name") &"""," + Response.Write """cost_date"":"""& Adors("cost_date") &"""," + Response.Write """payment_date"":"""& Adors("payment_date") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "finalList" + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, " + SQL = SQL & " CASE " &VBCRLF + SQL = SQL & " WHEN PARSENAME(REPLACE(¹®¼­¹øÈ£, '-', '.'), 2) = 'r' " &VBCRLF + SQL = SQL & " THEN 'ÀÚ±ÝÁýÇ༭' " &VBCRLF + SQL = SQL & " ELSE ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') " &VBCRLF + SQL = SQL & " END AS p_subject, target8 AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, target4 AS cost_type, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk, " + SQL = SQL & " CONVERT(varchar(4000), target2) AS contents, CONVERT(varchar(4000), target17) AS over_comment " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭') AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + If Request("smonth") <> "" Then + SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + End If + If Request("step") = "1" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' and ISNULL(CONVERT(varchar, remark5), '') = '') or (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' and ISNULL(CONVERT(varchar, remark23), '') = '')) " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' and ISNULL(CONVERT(varchar, remark5), '') <> '') or (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' and ISNULL(CONVERT(varchar, remark23), '') <> '')) " + Else + SQL = SQL & " AND 1=2 " + End If + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """chk"":"""& Adors("chk") &"""," + Response.Write """contents"":"""& escape(Adors("contents")) &"""," + Response.Write """over_comment"":"""& escape(Adors("over_comment")) &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "checkConfirm" + If Request("checkedList") <> "[]" Then + SQL = "" + 'SQL = SQL & " UPDATE ¹®¼­³»¿ë SET remark5 = '20190301', remark15 = '"& Request("today") &"' " + 'SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " UPDATE ¹®¼­³»¿ë " + SQL = SQL & " SET remark5 = CASE WHEN ¹®¼­¹øÈ£ NOT LIKE '%-r-%' THEN '20190301' ELSE remark5 END, " + SQL = SQL & " remark15 = CASE WHEN ¹®¼­¹øÈ£ NOT LIKE '%-r-%' THEN '" & Replace(Request("today"), "'", "''") & "' ELSE remark15 END, " + SQL = SQL & " remark23 = CASE WHEN ¹®¼­¹øÈ£ LIKE '%-r-%' THEN '20190301' ELSE remark23 END, " + SQL = SQL & " remark26 = CASE WHEN ¹®¼­¹øÈ£ LIKE '%-r-%' THEN '" & Replace(Request("today"), "'", "''") & "' ELSE remark26 END " + SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + + adoConn.Execute SQL + End If + If Request("uncheckedList") <> "[]" Then + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭') AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 AND ISNULL(CONVERT(varchar, remark5), '') = '' " + SQL = SQL & " AND ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("uncheckedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " ORDER BY M.id desc " + + headTdStyle = "text-align:center;border:1px solid black;" + contentsTdStyle = "border:1px solid black;padding:5px;" + + tmp_body = "" + tmp_body = tmp_body & "

* ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎ Á¤º¸¾Ë¸² *

" + tmp_body = tmp_body & "

[´ëÇ¥´Ô ÄÚ¸àÆ®]

" + tmp_body = tmp_body & "
" + tmp_body = tmp_body & URLDecode(Request("comment")) + tmp_body = tmp_body & "
" + tmp_body = tmp_body & "

= ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎÀÌ Ãß°¡ÀûÀ¸·Î ÇÊ¿äÇÑ ¸®½ºÆ® =

" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.Open SQL, adoConn, 1 + Do While Not Adors.Eof + tmp_body = tmp_body & "" + if Mid(Adors("d_no"), 10, 1) = "A" Then + tmp_body = tmp_body & "" + ElseIf Mid(Adors("d_no"), 10, 1) = "r" Then + tmp_body = tmp_body & "" + Else + tmp_body = tmp_body & "" + End If + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.MoveNext + Loop + Adors.close + tmp_body = tmp_body & "
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×
"& Adors("d_no") &""& Adors("d_no") &""& Adors("d_no") &""& iif(Adors("p_child_sn") = "", "Multi", "["& Adors("p_child_sn") &"] "& Adors("p_subject")) &""& Adors("client") &""& Adors("depart_name") &""& Adors("hangmok") & "-" & Adors("sebu") &""& formatNumber(Adors("cost"), 0) &"
" + + mail_target = "khjo@kric.com" ' khjo@kric.com + mail_subject = "[´ëÇ¥´Ô] ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ ¹ÌÈ®ÀÎ Ç׸ñ" + mail_body = tmp_body + %> + + <% + End If + Response.Write "1" + + Case "douzone" + SQL = "" + SQL = SQL & " SELECT CASE company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS CO_CD, " + SQL = SQL & " CASE company WHEN 'KRi' THEN '1000' WHEN 'KRc' THEN '1000' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS IN_DIV_CD, " + SQL = SQL & " '2' AS ACCT_TY, DC.attribute04 AS ACCT_FG, REPLACE(tax_date, '-', '/') AS REF_DT, '2'+dbo.SPLIT(target19, '|', 2) AS TAX_FG, " + SQL = SQL & " unit_price AS CLSG_AM, vat_price AS CLSV_AM, total_price AS CLSH_AM, total_price AS MISU_AM, " + SQL = SQL & " REPLACE(dbo.SPLIT(target19, '|', 1), '-', '') AS REG_NB, client AS ISU_DOC, dbo.SPLIT(target19, '|', 3) AS RMK_DC, " + SQL = SQL & " CASE WHEN T.p_child_sn = '99999' THEN '9999' ELSE ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) END AS CT_DEPT, " + SQL = SQL & " ISNULL(DPJT.PJT_CD, CASE WHEN T.p_child_sn = '99999' THEN '9995' WHEN LEFT(T.p_child_sn, 5) = '99990' THEN TPV.p_content ELSE " + SQL = SQL & " CASE WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '3110' THEN 'F' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '4110' THEN 'D' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'AI00' THEN 'AI' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'BP00' THEN 'BP' " + SQL = SQL & " ELSE " + SQL = SQL & " RIGHT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) + LEFT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) " + SQL = SQL & " END + LEFT(T.p_child_sn, 2) + " + SQL = SQL & " CASE SUBSTRING(T.p_child_sn, 3, 2) WHEN '10' THEN 'A' WHEN '11' THEN 'B' WHEN '12' THEN 'C' ELSE RIGHT(SUBSTRING(T.p_child_sn, 3, 2), 1) END + " + SQL = SQL & " SUBSTRING(T.p_child_sn, 5, 3) + SUBSTRING(T.p_child_sn, 10, 2) " + SQL = SQL & " END) AS PJT_CD, T.p_child_sn, CASE WHEN DPJT.PJT_CD IS NULL AND T.p_child_sn NOT LIKE '9999%' THEN '1' ELSE '0' END AS pjt_chk, " + SQL = SQL & " CASE dbo.SPLIT(target19, '|', 2) WHEN '1' THEN '' WHEN '3' THEN '30' WHEN '4' THEN '43' ELSE '' END AS NONSUB_TY, " + SQL = SQL & " CASE LEFT(tax_num, 1) WHEN 'K' THEN '0' ELSE '1' END AS JEONJA_YN " + SQL = SQL & " FROM ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), dbo.SPLIT(rawdata, '^//^', 1)) AS p_child_sn, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 2), ',', ''))) AS unit_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 3), ',', ''))) AS vat_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 4), ',', ''))) AS total_price " + SQL = SQL & " FROM " + SQL = SQL & " ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£, remark20, target12, target3, target19, target8, target18, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target21), CHARINDEX('^^', CONVERT(varchar(1000), target21))+2, 2000) as target21, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target22), CHARINDEX('^^', CONVERT(varchar(1000), target22))+2, 2000) as target22, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target23), CHARINDEX('^^', CONVERT(varchar(1000), target23))+2, 2000) as target23, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target24), CHARINDEX('^^', CONVERT(varchar(1000), target24))+2, 2000) as target24, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target25), CHARINDEX('^^', CONVERT(varchar(1000), target25))+2, 2000) as target25, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target26), CHARINDEX('^^', CONVERT(varchar(1000), target26))+2, 2000) as target26, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target27), CHARINDEX('^^', CONVERT(varchar(1000), target27))+2, 2000) as target27, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target28), CHARINDEX('^^', CONVERT(varchar(1000), target28))+2, 2000) as target28, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target29), CHARINDEX('^^', CONVERT(varchar(1000), target29))+2, 2000) as target29, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target30), CHARINDEX('^^', CONVERT(varchar(1000), target30))+2, 2000) as target30, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target31), CHARINDEX('^^', CONVERT(varchar(1000), target31))+2, 2000) as target31, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target32), CHARINDEX('^^', CONVERT(varchar(1000), target32))+2, 2000) as target32, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target33), CHARINDEX('^^', CONVERT(varchar(1000), target33))+2, 2000) as target33, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target34), CHARINDEX('^^', CONVERT(varchar(1000), target34))+2, 2000) as target34, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target35), CHARINDEX('^^', CONVERT(varchar(1000), target35))+2, 2000) as target35, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target36), CHARINDEX('^^', CONVERT(varchar(1000), target36))+2, 2000) as target36, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target37), CHARINDEX('^^', CONVERT(varchar(1000), target37))+2, 2000) as target37, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target38), CHARINDEX('^^', CONVERT(varchar(1000), target38))+2, 2000) as target38, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target39), CHARINDEX('^^', CONVERT(varchar(1000), target39))+2, 2000) as target39, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target40), CHARINDEX('^^', CONVERT(varchar(1000), target40))+2, 2000) as target40, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target41), CHARINDEX('^^', CONVERT(varchar(1000), target41))+2, 2000) as target41, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target42), CHARINDEX('^^', CONVERT(varchar(1000), target42))+2, 2000) as target42, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target43), CHARINDEX('^^', CONVERT(varchar(1000), target43))+2, 2000) as target43, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target44), CHARINDEX('^^', CONVERT(varchar(1000), target44))+2, 2000) as target44, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target45), CHARINDEX('^^', CONVERT(varchar(1000), target45))+2, 2000) as target45, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target46), CHARINDEX('^^', CONVERT(varchar(1000), target46))+2, 2000) as target46, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target47), CHARINDEX('^^', CONVERT(varchar(1000), target47))+2, 2000) as target47, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target48), CHARINDEX('^^', CONVERT(varchar(1000), target48))+2, 2000) as target48, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target49), CHARINDEX('^^', CONVERT(varchar(1000), target49))+2, 2000) as target49, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target50), CHARINDEX('^^', CONVERT(varchar(1000), target50))+2, 2000) as target50 " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'A' " + SQL = SQL & " ) AS columnTable " + SQL = SQL & " UNPIVOT " + SQL = SQL & " ( " + SQL = SQL & " rawdata FOR gubun IN ( " + SQL = SQL & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + SQL = SQL & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + SQL = SQL & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50 " + SQL = SQL & " ) " + SQL = SQL & " ) AS rowTable " + SQL = SQL & " WHERE rawdata <> '' " + SQL = SQL & " UNION ALL " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), target20) AS p_child_sn, REPLACE(CONVERT(varchar(50), target5), ',', '') AS unit_price, " + SQL = SQL & " REPLACE(CONVERT(varchar(50), target6), ',', '') AS var_price, REPLACE(CONVERT(varchar(50), target7), ',', '') AS total_price " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'i' " + SQL = SQL & " ) T LEFT JOIN Document D WITH(NOLOCK) ON T.d_no = D.d_no " + SQL = SQL & " LEFT JOIN direct_costcode DC WITH(NOLOCK) ON T.sebu = CONVERT(varchar(10), DC.id) " + SQL = SQL & " LEFT JOIN V_PROJECT_METHOD TPV WITH(NOLOCK) ON T.p_child_sn = CASE TPV.p_child_sn WHEN '' THEN TPV.p_sn ELSE TPV.p_child_sn END " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(NOLOCK) ON TPV.p_sn = TPB.p_sn " + SQL = SQL & " LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DRE ON TPV.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DFI ON TPV.p_field_dept = DFI.depart_code LEFT JOIN dz.dzicube.dbo.SPJT DPJT WITH(NOLOCK) " + SQL = SQL & " ON CASE T.company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END = DPJT.CO_CD AND T.p_child_sn = DPJT.PJT_NM AND PROG_FG = '1' " + SQL = SQL & " WHERE D.d_order_cnt = '77' AND D.d_delok = 'N' " + SQL = SQL & " AND tax_date LIKE '"& Request("smonth") &"%' " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """CO_CD"":"""& Adors("CO_CD") &"""," + Response.Write """IN_DIV_CD"":"""& Adors("IN_DIV_CD") &"""," + Response.Write """ACCT_TY"":"""& Adors("ACCT_TY") &"""," + Response.Write """ACCT_FG"":"""& Adors("ACCT_FG") &"""," + Response.Write """REF_DT"":"""& Adors("REF_DT") &"""," + Response.Write """TAX_FG"":"""& Adors("TAX_FG") &"""," + Response.Write """CLSG_AM"":"""& Adors("CLSG_AM") &"""," + Response.Write """CLSV_AM"":"""& Adors("CLSV_AM") &"""," + Response.Write """CLSH_AM"":"""& Adors("CLSH_AM") &"""," + Response.Write """MISU_AM"":"""& Adors("MISU_AM") &"""," + Response.Write """REG_NB"":"""& Adors("REG_NB") &"""," + Response.Write """ISU_DOC"":"""& Adors("ISU_DOC") &"""," + Response.Write """RMK_DC"":"""& Adors("RMK_DC") &"""," + Response.Write """CT_DEPT"":"""& Adors("CT_DEPT") &"""," + Response.Write """PJT_CD"":"""& Adors("PJT_CD") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """pjt_chk"":"""& Adors("pjt_chk") &"""," + Response.Write """NONSUB_TY"":"""& Adors("NONSUB_TY") &"""," + Response.Write """JEONJA_YN"":"""& Adors("JEONJA_YN") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "douzone_pjt" + Dim Info : Set Info = JSON.parse(Request("pjt")) + SQL = "" + SQL = SQL & "INSERT INTO dz.dzicube.dbo.SPJT " + SQL = SQL & "(CO_CD, PJT_CD, PJT_NM, PROG_FG, INSERT_IP, PJT_NMK) VALUES " + For i = 0 To Info.length - 1 + SQL = SQL & "(N'"& Info.get(i).CO_CD &"',N'"& info.get(i).PJT_CD &"',N'"& info.get(i).p_child_sn &"', N'1', N'10.10.10.7', N'"& info.get(i).p_child_sn &"')" + If i < Info.length - 1 Then + SQL = SQL & ", " + End If + Next + adoConn.Execute SQL + + Response.Write "1" + + Case "etc_cost" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT " + SQL = SQL & " ISNULL((SELECT sum(cost) " + SQL = SQL & " FROM V_GROUP_COST_NEW " + SQL = SQL & " WHERE cost_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and cost_date < "&EMONTH + SQL = SQL & " ), 0) AS group_cost, " + SQL = SQL & " ISNULL((SELECT sum(cost_money) " + SQL = SQL & " FROM V_BUSI_COST " + SQL = SQL & " WHERE job_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and job_date < "&EMONTH + SQL = SQL & " ), 0) AS busi_cost " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "{" + Response.Write """GROUP_COST"":"""& Adors("group_cost") &"""," + Response.Write """BUSI_COST"":"""& Adors("busi_cost") &"""" + Response.Write "}" + Else + Response.Write "{""GROUP_COST"":""0"",""BUSI_COST"":""0""}" + End IF + Adors.close + + Case Else + Response.Write "0" +End Select + +Function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing +End Function +%> diff --git a/approval/doc_confirm_ajax.asp_20250902_CNS b/approval/doc_confirm_ajax.asp_20250902_CNS new file mode 100644 index 0000000..374a10e --- /dev/null +++ b/approval/doc_confirm_ajax.asp_20250902_CNS @@ -0,0 +1,444 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 +DIM SMONTH +DIM EMONTH + +Select Case Request("command") + Case "approvalList" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') AS p_subject, target8 AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '-' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " &VBCRLF + SQL = SQL & " target4 AS cost_type, DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, d_write_name, target3 as cost_date " &VBCRLF + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " &VBCRLF + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' " &VBCRLF + 'SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + SQL = SQL & " AND ISDATE(CONVERT(varchar(30),target3)) = 1 " + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01')) " &VBCRLF + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) < "&EMONTH&" " &VBCRLF + SQL = SQL & " AND del_yes_no = 'no' " &VBCRLF + If Request("step") = "1" Then + SQL = SQL & " AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') = '' " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') <> '' " + ElseIf Request("step") = "3" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') = '' " + ElseIf Request("step") = "4" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + End If + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """d_write_name"":"""& Adors("d_write_name") &"""," + Response.Write """cost_date"":"""& Adors("cost_date") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "finalList" + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, target4 AS cost_type, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk, " + SQL = SQL & " CONVERT(varchar(4000), target2) AS contents, CONVERT(varchar(4000), target17) AS over_comment " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + If Request("smonth") <> "" Then + SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + End If + If Request("step") = "1" Then + SQL = SQL & " AND ISNULL(CONVERT(varchar, remark5), '') = '' " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + Else + SQL = SQL & " AND 1=2 " + End If + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """chk"":"""& Adors("chk") &"""," + Response.Write """contents"":"""& escape(Adors("contents")) &"""," + Response.Write """over_comment"":"""& escape(Adors("over_comment")) &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "checkConfirm" + If Request("checkedList") <> "[]" Then + SQL = "" + SQL = SQL & " UPDATE ¹®¼­³»¿ë SET remark5 = '20190301', remark15 = '"& Request("today") &"' " + SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + + adoConn.Execute SQL + End If + If Request("uncheckedList") <> "[]" Then + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 AND ISNULL(CONVERT(varchar, remark5), '') = '' " + SQL = SQL & " AND ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("uncheckedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " ORDER BY M.id desc " + + headTdStyle = "text-align:center;border:1px solid black;" + contentsTdStyle = "border:1px solid black;padding:5px;" + + tmp_body = "" + tmp_body = tmp_body & "

* ÁöÃâ°áÀǼ­ È®ÀÎ Á¤º¸¾Ë¸² *

" + tmp_body = tmp_body & "

[´ëÇ¥´Ô ÄÚ¸àÆ®]

" + tmp_body = tmp_body & "
" + tmp_body = tmp_body & URLDecode(Request("comment")) + tmp_body = tmp_body & "
" + tmp_body = tmp_body & "

= ÁöÃâ°áÀǼ­ È®ÀÎÀÌ Ãß°¡ÀûÀ¸·Î ÇÊ¿äÇÑ ¸®½ºÆ® =

" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.Open SQL, adoConn, 1 + Do While Not Adors.Eof + tmp_body = tmp_body & "" + if Mid(Adors("d_no"), 10, 1) = "A" Then + tmp_body = tmp_body & "" + Else + tmp_body = tmp_body & "" + End If + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.MoveNext + Loop + Adors.close + tmp_body = tmp_body & "
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×
"& Adors("d_no") &""& Adors("d_no") &""& iif(Adors("p_child_sn") = "", "Multi", "["& Adors("p_child_sn") &"] "& Adors("p_subject")) &""& Adors("client") &""& Adors("depart_name") &""& Adors("hangmok") & "-" & Adors("sebu") &""& formatNumber(Adors("cost"), 0) &"
" + + mail_target = "khjo@kric.com" ' khjo@kric.com + mail_subject = "[´ëÇ¥´Ô] ÁöÃâ°áÀǼ­ ¹ÌÈ®ÀÎ Ç׸ñ" + mail_body = tmp_body + %> + + <% + End If + Response.Write "1" + + Case "douzone" + SQL = "" + SQL = SQL & " SELECT CASE company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS CO_CD, " + SQL = SQL & " CASE company WHEN 'KRi' THEN '1000' WHEN 'KRc' THEN '1000' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS IN_DIV_CD, " + SQL = SQL & " '2' AS ACCT_TY, DC.attribute04 AS ACCT_FG, REPLACE(tax_date, '-', '/') AS REF_DT, '2'+dbo.SPLIT(target19, '|', 2) AS TAX_FG, " + SQL = SQL & " unit_price AS CLSG_AM, vat_price AS CLSV_AM, total_price AS CLSH_AM, total_price AS MISU_AM, " + SQL = SQL & " REPLACE(dbo.SPLIT(target19, '|', 1), '-', '') AS REG_NB, client AS ISU_DOC, dbo.SPLIT(target19, '|', 3) AS RMK_DC, " + SQL = SQL & " CASE WHEN T.p_child_sn = '99999' THEN '9999' ELSE ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) END AS CT_DEPT, " + SQL = SQL & " ISNULL(DPJT.PJT_CD, CASE WHEN T.p_child_sn = '99999' THEN '9995' WHEN LEFT(T.p_child_sn, 5) = '99990' THEN TPV.p_content ELSE " + SQL = SQL & " CASE WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '3110' THEN 'F' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '4110' THEN 'D' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'AI00' THEN 'AI' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'BP00' THEN 'BP' " + SQL = SQL & " ELSE " + SQL = SQL & " RIGHT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) + LEFT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) " + SQL = SQL & " END + LEFT(T.p_child_sn, 2) + " + SQL = SQL & " CASE SUBSTRING(T.p_child_sn, 3, 2) WHEN '10' THEN 'A' WHEN '11' THEN 'B' WHEN '12' THEN 'C' ELSE RIGHT(SUBSTRING(T.p_child_sn, 3, 2), 1) END + " + SQL = SQL & " SUBSTRING(T.p_child_sn, 5, 3) + SUBSTRING(T.p_child_sn, 10, 2) " + SQL = SQL & " END) AS PJT_CD, T.p_child_sn, CASE WHEN DPJT.PJT_CD IS NULL AND T.p_child_sn NOT LIKE '9999%' THEN '1' ELSE '0' END AS pjt_chk, " + SQL = SQL & " CASE dbo.SPLIT(target19, '|', 2) WHEN '1' THEN '' WHEN '3' THEN '30' WHEN '4' THEN '43' ELSE '' END AS NONSUB_TY, " + SQL = SQL & " CASE LEFT(tax_num, 1) WHEN 'K' THEN '0' ELSE '1' END AS JEONJA_YN " + SQL = SQL & " FROM ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), dbo.SPLIT(rawdata, '^//^', 1)) AS p_child_sn, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 2), ',', ''))) AS unit_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 3), ',', ''))) AS vat_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 4), ',', ''))) AS total_price " + SQL = SQL & " FROM " + SQL = SQL & " ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£, remark20, target12, target3, target19, target8, target18, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target21), CHARINDEX('^^', CONVERT(varchar(1000), target21))+2, 2000) as target21, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target22), CHARINDEX('^^', CONVERT(varchar(1000), target22))+2, 2000) as target22, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target23), CHARINDEX('^^', CONVERT(varchar(1000), target23))+2, 2000) as target23, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target24), CHARINDEX('^^', CONVERT(varchar(1000), target24))+2, 2000) as target24, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target25), CHARINDEX('^^', CONVERT(varchar(1000), target25))+2, 2000) as target25, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target26), CHARINDEX('^^', CONVERT(varchar(1000), target26))+2, 2000) as target26, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target27), CHARINDEX('^^', CONVERT(varchar(1000), target27))+2, 2000) as target27, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target28), CHARINDEX('^^', CONVERT(varchar(1000), target28))+2, 2000) as target28, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target29), CHARINDEX('^^', CONVERT(varchar(1000), target29))+2, 2000) as target29, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target30), CHARINDEX('^^', CONVERT(varchar(1000), target30))+2, 2000) as target30, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target31), CHARINDEX('^^', CONVERT(varchar(1000), target31))+2, 2000) as target31, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target32), CHARINDEX('^^', CONVERT(varchar(1000), target32))+2, 2000) as target32, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target33), CHARINDEX('^^', CONVERT(varchar(1000), target33))+2, 2000) as target33, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target34), CHARINDEX('^^', CONVERT(varchar(1000), target34))+2, 2000) as target34, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target35), CHARINDEX('^^', CONVERT(varchar(1000), target35))+2, 2000) as target35, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target36), CHARINDEX('^^', CONVERT(varchar(1000), target36))+2, 2000) as target36, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target37), CHARINDEX('^^', CONVERT(varchar(1000), target37))+2, 2000) as target37, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target38), CHARINDEX('^^', CONVERT(varchar(1000), target38))+2, 2000) as target38, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target39), CHARINDEX('^^', CONVERT(varchar(1000), target39))+2, 2000) as target39, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target40), CHARINDEX('^^', CONVERT(varchar(1000), target40))+2, 2000) as target40, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target41), CHARINDEX('^^', CONVERT(varchar(1000), target41))+2, 2000) as target41, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target42), CHARINDEX('^^', CONVERT(varchar(1000), target42))+2, 2000) as target42, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target43), CHARINDEX('^^', CONVERT(varchar(1000), target43))+2, 2000) as target43, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target44), CHARINDEX('^^', CONVERT(varchar(1000), target44))+2, 2000) as target44, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target45), CHARINDEX('^^', CONVERT(varchar(1000), target45))+2, 2000) as target45, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target46), CHARINDEX('^^', CONVERT(varchar(1000), target46))+2, 2000) as target46, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target47), CHARINDEX('^^', CONVERT(varchar(1000), target47))+2, 2000) as target47, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target48), CHARINDEX('^^', CONVERT(varchar(1000), target48))+2, 2000) as target48, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target49), CHARINDEX('^^', CONVERT(varchar(1000), target49))+2, 2000) as target49, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target50), CHARINDEX('^^', CONVERT(varchar(1000), target50))+2, 2000) as target50 " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'A' " + SQL = SQL & " ) AS columnTable " + SQL = SQL & " UNPIVOT " + SQL = SQL & " ( " + SQL = SQL & " rawdata FOR gubun IN ( " + SQL = SQL & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + SQL = SQL & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + SQL = SQL & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50 " + SQL = SQL & " ) " + SQL = SQL & " ) AS rowTable " + SQL = SQL & " WHERE rawdata <> '' " + SQL = SQL & " UNION ALL " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), target20) AS p_child_sn, REPLACE(CONVERT(varchar(50), target5), ',', '') AS unit_price, " + SQL = SQL & " REPLACE(CONVERT(varchar(50), target6), ',', '') AS var_price, REPLACE(CONVERT(varchar(50), target7), ',', '') AS total_price " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'i' " + SQL = SQL & " ) T LEFT JOIN Document D WITH(NOLOCK) ON T.d_no = D.d_no " + SQL = SQL & " LEFT JOIN direct_costcode DC WITH(NOLOCK) ON T.sebu = CONVERT(varchar(10), DC.id) " + SQL = SQL & " LEFT JOIN V_PROJECT_METHOD TPV WITH(NOLOCK) ON T.p_child_sn = CASE TPV.p_child_sn WHEN '' THEN TPV.p_sn ELSE TPV.p_child_sn END " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(NOLOCK) ON TPV.p_sn = TPB.p_sn " + SQL = SQL & " LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DRE ON TPV.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DFI ON TPV.p_field_dept = DFI.depart_code LEFT JOIN dz.dzicube.dbo.SPJT DPJT WITH(NOLOCK) " + SQL = SQL & " ON CASE T.company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END = DPJT.CO_CD AND T.p_child_sn = DPJT.PJT_NM AND PROG_FG = '1' " + SQL = SQL & " WHERE D.d_order_cnt = '77' AND D.d_delok = 'N' " + SQL = SQL & " AND tax_date LIKE '"& Request("smonth") &"%' " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """CO_CD"":"""& Adors("CO_CD") &"""," + Response.Write """IN_DIV_CD"":"""& Adors("IN_DIV_CD") &"""," + Response.Write """ACCT_TY"":"""& Adors("ACCT_TY") &"""," + Response.Write """ACCT_FG"":"""& Adors("ACCT_FG") &"""," + Response.Write """REF_DT"":"""& Adors("REF_DT") &"""," + Response.Write """TAX_FG"":"""& Adors("TAX_FG") &"""," + Response.Write """CLSG_AM"":"""& Adors("CLSG_AM") &"""," + Response.Write """CLSV_AM"":"""& Adors("CLSV_AM") &"""," + Response.Write """CLSH_AM"":"""& Adors("CLSH_AM") &"""," + Response.Write """MISU_AM"":"""& Adors("MISU_AM") &"""," + Response.Write """REG_NB"":"""& Adors("REG_NB") &"""," + Response.Write """ISU_DOC"":"""& Adors("ISU_DOC") &"""," + Response.Write """RMK_DC"":"""& Adors("RMK_DC") &"""," + Response.Write """CT_DEPT"":"""& Adors("CT_DEPT") &"""," + Response.Write """PJT_CD"":"""& Adors("PJT_CD") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """pjt_chk"":"""& Adors("pjt_chk") &"""," + Response.Write """NONSUB_TY"":"""& Adors("NONSUB_TY") &"""," + Response.Write """JEONJA_YN"":"""& Adors("JEONJA_YN") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "douzone_pjt" + Dim Info : Set Info = JSON.parse(Request("pjt")) + SQL = "" + SQL = SQL & "INSERT INTO dz.dzicube.dbo.SPJT " + SQL = SQL & "(CO_CD, PJT_CD, PJT_NM, PROG_FG, INSERT_IP, PJT_NMK) VALUES " + For i = 0 To Info.length - 1 + SQL = SQL & "(N'"& Info.get(i).CO_CD &"',N'"& info.get(i).PJT_CD &"',N'"& info.get(i).p_child_sn &"', N'1', N'10.10.10.7', N'"& info.get(i).p_child_sn &"')" + If i < Info.length - 1 Then + SQL = SQL & ", " + End If + Next + adoConn.Execute SQL + + Response.Write "1" + + Case "etc_cost" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT " + SQL = SQL & " ISNULL((SELECT sum(cost) " + SQL = SQL & " FROM V_GROUP_COST_NEW " + SQL = SQL & " WHERE cost_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and cost_date < "&EMONTH + SQL = SQL & " ), 0) AS group_cost, " + SQL = SQL & " ISNULL((SELECT sum(cost_money) " + SQL = SQL & " FROM V_BUSI_COST " + SQL = SQL & " WHERE job_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and job_date < "&EMONTH + SQL = SQL & " ), 0) AS busi_cost " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "{" + Response.Write """GROUP_COST"":"""& Adors("group_cost") &"""," + Response.Write """BUSI_COST"":"""& Adors("busi_cost") &"""" + Response.Write "}" + Else + Response.Write "{""GROUP_COST"":""0"",""BUSI_COST"":""0""}" + End IF + Adors.close + + Case Else + Response.Write "0" +End Select + +Function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing +End Function +%> diff --git a/approval/doc_confirm_ajax.asp_250908_cns b/approval/doc_confirm_ajax.asp_250908_cns new file mode 100644 index 0000000..10b6c93 --- /dev/null +++ b/approval/doc_confirm_ajax.asp_250908_cns @@ -0,0 +1,444 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 +DIM SMONTH +DIM EMONTH + +Select Case Request("command") + Case "approvalList" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') AS p_subject, dbo.FN_RemoveExtraSpaces(RTRIM(CONVERT(NVARCHAR(MAX), target8))) AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '-' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " &VBCRLF + SQL = SQL & " target4 AS cost_type, DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, d_write_name, target3 as cost_date " &VBCRLF + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " &VBCRLF + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' " &VBCRLF + 'SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + SQL = SQL & " AND ISDATE(CONVERT(varchar(30),target3)) = 1 " + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01')) " &VBCRLF + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) < "&EMONTH&" " &VBCRLF + SQL = SQL & " AND del_yes_no = 'no' " &VBCRLF + If Request("step") = "1" Then + SQL = SQL & " AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') = '' " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') <> '' " + ElseIf Request("step") = "3" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') = '' " + ElseIf Request("step") = "4" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + End If + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """d_write_name"":"""& Adors("d_write_name") &"""," + Response.Write """cost_date"":"""& Adors("cost_date") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "finalList" + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, target4 AS cost_type, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk, " + SQL = SQL & " CONVERT(varchar(4000), target2) AS contents, CONVERT(varchar(4000), target17) AS over_comment " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + If Request("smonth") <> "" Then + SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + End If + If Request("step") = "1" Then + SQL = SQL & " AND ISNULL(CONVERT(varchar, remark5), '') = '' " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + Else + SQL = SQL & " AND 1=2 " + End If + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """chk"":"""& Adors("chk") &"""," + Response.Write """contents"":"""& escape(Adors("contents")) &"""," + Response.Write """over_comment"":"""& escape(Adors("over_comment")) &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "checkConfirm" + If Request("checkedList") <> "[]" Then + SQL = "" + SQL = SQL & " UPDATE ¹®¼­³»¿ë SET remark5 = '20190301', remark15 = '"& Request("today") &"' " + SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + + adoConn.Execute SQL + End If + If Request("uncheckedList") <> "[]" Then + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 AND ISNULL(CONVERT(varchar, remark5), '') = '' " + SQL = SQL & " AND ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("uncheckedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " ORDER BY M.id desc " + + headTdStyle = "text-align:center;border:1px solid black;" + contentsTdStyle = "border:1px solid black;padding:5px;" + + tmp_body = "" + tmp_body = tmp_body & "

* ÁöÃâ°áÀǼ­ È®ÀÎ Á¤º¸¾Ë¸² *

" + tmp_body = tmp_body & "

[´ëÇ¥´Ô ÄÚ¸àÆ®]

" + tmp_body = tmp_body & "
" + tmp_body = tmp_body & URLDecode(Request("comment")) + tmp_body = tmp_body & "
" + tmp_body = tmp_body & "

= ÁöÃâ°áÀǼ­ È®ÀÎÀÌ Ãß°¡ÀûÀ¸·Î ÇÊ¿äÇÑ ¸®½ºÆ® =

" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.Open SQL, adoConn, 1 + Do While Not Adors.Eof + tmp_body = tmp_body & "" + if Mid(Adors("d_no"), 10, 1) = "A" Then + tmp_body = tmp_body & "" + Else + tmp_body = tmp_body & "" + End If + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.MoveNext + Loop + Adors.close + tmp_body = tmp_body & "
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×
"& Adors("d_no") &""& Adors("d_no") &""& iif(Adors("p_child_sn") = "", "Multi", "["& Adors("p_child_sn") &"] "& Adors("p_subject")) &""& Adors("client") &""& Adors("depart_name") &""& Adors("hangmok") & "-" & Adors("sebu") &""& formatNumber(Adors("cost"), 0) &"
" + + mail_target = "khjo@kric.com" ' khjo@kric.com + mail_subject = "[´ëÇ¥´Ô] ÁöÃâ°áÀǼ­ ¹ÌÈ®ÀÎ Ç׸ñ" + mail_body = tmp_body + %> + + <% + End If + Response.Write "1" + + Case "douzone" + SQL = "" + SQL = SQL & " SELECT CASE company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS CO_CD, " + SQL = SQL & " CASE company WHEN 'KRi' THEN '1000' WHEN 'KRc' THEN '1000' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS IN_DIV_CD, " + SQL = SQL & " '2' AS ACCT_TY, DC.attribute04 AS ACCT_FG, REPLACE(tax_date, '-', '/') AS REF_DT, '2'+dbo.SPLIT(target19, '|', 2) AS TAX_FG, " + SQL = SQL & " unit_price AS CLSG_AM, vat_price AS CLSV_AM, total_price AS CLSH_AM, total_price AS MISU_AM, " + SQL = SQL & " REPLACE(dbo.SPLIT(target19, '|', 1), '-', '') AS REG_NB, client AS ISU_DOC, dbo.SPLIT(target19, '|', 3) AS RMK_DC, " + SQL = SQL & " CASE WHEN T.p_child_sn = '99999' THEN '9999' ELSE ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) END AS CT_DEPT, " + SQL = SQL & " ISNULL(DPJT.PJT_CD, CASE WHEN T.p_child_sn = '99999' THEN '9995' WHEN LEFT(T.p_child_sn, 5) = '99990' THEN TPV.p_content ELSE " + SQL = SQL & " CASE WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '3110' THEN 'F' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '4110' THEN 'D' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'AI00' THEN 'AI' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'BP00' THEN 'BP' " + SQL = SQL & " ELSE " + SQL = SQL & " RIGHT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) + LEFT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) " + SQL = SQL & " END + LEFT(T.p_child_sn, 2) + " + SQL = SQL & " CASE SUBSTRING(T.p_child_sn, 3, 2) WHEN '10' THEN 'A' WHEN '11' THEN 'B' WHEN '12' THEN 'C' ELSE RIGHT(SUBSTRING(T.p_child_sn, 3, 2), 1) END + " + SQL = SQL & " SUBSTRING(T.p_child_sn, 5, 3) + SUBSTRING(T.p_child_sn, 10, 2) " + SQL = SQL & " END) AS PJT_CD, T.p_child_sn, CASE WHEN DPJT.PJT_CD IS NULL AND T.p_child_sn NOT LIKE '9999%' THEN '1' ELSE '0' END AS pjt_chk, " + SQL = SQL & " CASE dbo.SPLIT(target19, '|', 2) WHEN '1' THEN '' WHEN '3' THEN '30' WHEN '4' THEN '43' ELSE '' END AS NONSUB_TY, " + SQL = SQL & " CASE LEFT(tax_num, 1) WHEN 'K' THEN '0' ELSE '1' END AS JEONJA_YN " + SQL = SQL & " FROM ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), dbo.SPLIT(rawdata, '^//^', 1)) AS p_child_sn, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 2), ',', ''))) AS unit_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 3), ',', ''))) AS vat_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 4), ',', ''))) AS total_price " + SQL = SQL & " FROM " + SQL = SQL & " ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£, remark20, target12, target3, target19, target8, target18, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target21), CHARINDEX('^^', CONVERT(varchar(1000), target21))+2, 2000) as target21, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target22), CHARINDEX('^^', CONVERT(varchar(1000), target22))+2, 2000) as target22, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target23), CHARINDEX('^^', CONVERT(varchar(1000), target23))+2, 2000) as target23, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target24), CHARINDEX('^^', CONVERT(varchar(1000), target24))+2, 2000) as target24, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target25), CHARINDEX('^^', CONVERT(varchar(1000), target25))+2, 2000) as target25, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target26), CHARINDEX('^^', CONVERT(varchar(1000), target26))+2, 2000) as target26, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target27), CHARINDEX('^^', CONVERT(varchar(1000), target27))+2, 2000) as target27, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target28), CHARINDEX('^^', CONVERT(varchar(1000), target28))+2, 2000) as target28, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target29), CHARINDEX('^^', CONVERT(varchar(1000), target29))+2, 2000) as target29, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target30), CHARINDEX('^^', CONVERT(varchar(1000), target30))+2, 2000) as target30, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target31), CHARINDEX('^^', CONVERT(varchar(1000), target31))+2, 2000) as target31, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target32), CHARINDEX('^^', CONVERT(varchar(1000), target32))+2, 2000) as target32, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target33), CHARINDEX('^^', CONVERT(varchar(1000), target33))+2, 2000) as target33, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target34), CHARINDEX('^^', CONVERT(varchar(1000), target34))+2, 2000) as target34, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target35), CHARINDEX('^^', CONVERT(varchar(1000), target35))+2, 2000) as target35, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target36), CHARINDEX('^^', CONVERT(varchar(1000), target36))+2, 2000) as target36, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target37), CHARINDEX('^^', CONVERT(varchar(1000), target37))+2, 2000) as target37, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target38), CHARINDEX('^^', CONVERT(varchar(1000), target38))+2, 2000) as target38, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target39), CHARINDEX('^^', CONVERT(varchar(1000), target39))+2, 2000) as target39, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target40), CHARINDEX('^^', CONVERT(varchar(1000), target40))+2, 2000) as target40, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target41), CHARINDEX('^^', CONVERT(varchar(1000), target41))+2, 2000) as target41, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target42), CHARINDEX('^^', CONVERT(varchar(1000), target42))+2, 2000) as target42, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target43), CHARINDEX('^^', CONVERT(varchar(1000), target43))+2, 2000) as target43, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target44), CHARINDEX('^^', CONVERT(varchar(1000), target44))+2, 2000) as target44, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target45), CHARINDEX('^^', CONVERT(varchar(1000), target45))+2, 2000) as target45, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target46), CHARINDEX('^^', CONVERT(varchar(1000), target46))+2, 2000) as target46, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target47), CHARINDEX('^^', CONVERT(varchar(1000), target47))+2, 2000) as target47, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target48), CHARINDEX('^^', CONVERT(varchar(1000), target48))+2, 2000) as target48, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target49), CHARINDEX('^^', CONVERT(varchar(1000), target49))+2, 2000) as target49, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target50), CHARINDEX('^^', CONVERT(varchar(1000), target50))+2, 2000) as target50 " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'A' " + SQL = SQL & " ) AS columnTable " + SQL = SQL & " UNPIVOT " + SQL = SQL & " ( " + SQL = SQL & " rawdata FOR gubun IN ( " + SQL = SQL & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + SQL = SQL & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + SQL = SQL & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50 " + SQL = SQL & " ) " + SQL = SQL & " ) AS rowTable " + SQL = SQL & " WHERE rawdata <> '' " + SQL = SQL & " UNION ALL " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), target20) AS p_child_sn, REPLACE(CONVERT(varchar(50), target5), ',', '') AS unit_price, " + SQL = SQL & " REPLACE(CONVERT(varchar(50), target6), ',', '') AS var_price, REPLACE(CONVERT(varchar(50), target7), ',', '') AS total_price " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'i' " + SQL = SQL & " ) T LEFT JOIN Document D WITH(NOLOCK) ON T.d_no = D.d_no " + SQL = SQL & " LEFT JOIN direct_costcode DC WITH(NOLOCK) ON T.sebu = CONVERT(varchar(10), DC.id) " + SQL = SQL & " LEFT JOIN V_PROJECT_METHOD TPV WITH(NOLOCK) ON T.p_child_sn = CASE TPV.p_child_sn WHEN '' THEN TPV.p_sn ELSE TPV.p_child_sn END " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(NOLOCK) ON TPV.p_sn = TPB.p_sn " + SQL = SQL & " LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DRE ON TPV.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DFI ON TPV.p_field_dept = DFI.depart_code LEFT JOIN dz.dzicube.dbo.SPJT DPJT WITH(NOLOCK) " + SQL = SQL & " ON CASE T.company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END = DPJT.CO_CD AND T.p_child_sn = DPJT.PJT_NM AND PROG_FG = '1' " + SQL = SQL & " WHERE D.d_order_cnt = '77' AND D.d_delok = 'N' " + SQL = SQL & " AND tax_date LIKE '"& Request("smonth") &"%' " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """CO_CD"":"""& Adors("CO_CD") &"""," + Response.Write """IN_DIV_CD"":"""& Adors("IN_DIV_CD") &"""," + Response.Write """ACCT_TY"":"""& Adors("ACCT_TY") &"""," + Response.Write """ACCT_FG"":"""& Adors("ACCT_FG") &"""," + Response.Write """REF_DT"":"""& Adors("REF_DT") &"""," + Response.Write """TAX_FG"":"""& Adors("TAX_FG") &"""," + Response.Write """CLSG_AM"":"""& Adors("CLSG_AM") &"""," + Response.Write """CLSV_AM"":"""& Adors("CLSV_AM") &"""," + Response.Write """CLSH_AM"":"""& Adors("CLSH_AM") &"""," + Response.Write """MISU_AM"":"""& Adors("MISU_AM") &"""," + Response.Write """REG_NB"":"""& Adors("REG_NB") &"""," + Response.Write """ISU_DOC"":"""& Adors("ISU_DOC") &"""," + Response.Write """RMK_DC"":"""& Adors("RMK_DC") &"""," + Response.Write """CT_DEPT"":"""& Adors("CT_DEPT") &"""," + Response.Write """PJT_CD"":"""& Adors("PJT_CD") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """pjt_chk"":"""& Adors("pjt_chk") &"""," + Response.Write """NONSUB_TY"":"""& Adors("NONSUB_TY") &"""," + Response.Write """JEONJA_YN"":"""& Adors("JEONJA_YN") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "douzone_pjt" + Dim Info : Set Info = JSON.parse(Request("pjt")) + SQL = "" + SQL = SQL & "INSERT INTO dz.dzicube.dbo.SPJT " + SQL = SQL & "(CO_CD, PJT_CD, PJT_NM, PROG_FG, INSERT_IP, PJT_NMK) VALUES " + For i = 0 To Info.length - 1 + SQL = SQL & "(N'"& Info.get(i).CO_CD &"',N'"& info.get(i).PJT_CD &"',N'"& info.get(i).p_child_sn &"', N'1', N'10.10.10.7', N'"& info.get(i).p_child_sn &"')" + If i < Info.length - 1 Then + SQL = SQL & ", " + End If + Next + adoConn.Execute SQL + + Response.Write "1" + + Case "etc_cost" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT " + SQL = SQL & " ISNULL((SELECT sum(cost) " + SQL = SQL & " FROM V_GROUP_COST_NEW " + SQL = SQL & " WHERE cost_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and cost_date < "&EMONTH + SQL = SQL & " ), 0) AS group_cost, " + SQL = SQL & " ISNULL((SELECT sum(cost_money) " + SQL = SQL & " FROM V_BUSI_COST " + SQL = SQL & " WHERE job_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and job_date < "&EMONTH + SQL = SQL & " ), 0) AS busi_cost " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "{" + Response.Write """GROUP_COST"":"""& Adors("group_cost") &"""," + Response.Write """BUSI_COST"":"""& Adors("busi_cost") &"""" + Response.Write "}" + Else + Response.Write "{""GROUP_COST"":""0"",""BUSI_COST"":""0""}" + End IF + Adors.close + + Case Else + Response.Write "0" +End Select + +Function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing +End Function +%> diff --git a/approval/doc_confirm_ajax.asp_250916_cns b/approval/doc_confirm_ajax.asp_250916_cns new file mode 100644 index 0000000..0895c4f --- /dev/null +++ b/approval/doc_confirm_ajax.asp_250916_cns @@ -0,0 +1,445 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 +DIM SMONTH +DIM EMONTH + +Select Case Request("command") + Case "approvalList" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') AS p_subject, dbo.FN_RemoveExtraSpaces(RTRIM(CONVERT(NVARCHAR(MAX), target8))) AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '-' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " &VBCRLF + SQL = SQL & " target4 AS cost_type, DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, d_write_name, target3 as cost_date, remark19 as payment_date " &VBCRLF + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " &VBCRLF + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' " &VBCRLF + 'SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + SQL = SQL & " AND ISDATE(CONVERT(varchar(30),target3)) = 1 " + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01')) " &VBCRLF + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) < "&EMONTH&" " &VBCRLF + SQL = SQL & " AND del_yes_no = 'no' " &VBCRLF + If Request("step") = "1" Then + SQL = SQL & " AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') = '' " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') <> '' " + ElseIf Request("step") = "3" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') = '' " + ElseIf Request("step") = "4" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + End If + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """d_write_name"":"""& Adors("d_write_name") &"""," + Response.Write """cost_date"":"""& Adors("cost_date") &"""," + Response.Write """payment_date"":"""& Adors("payment_date") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "finalList" + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, target4 AS cost_type, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk, " + SQL = SQL & " CONVERT(varchar(4000), target2) AS contents, CONVERT(varchar(4000), target17) AS over_comment " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + If Request("smonth") <> "" Then + SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + End If + If Request("step") = "1" Then + SQL = SQL & " AND ISNULL(CONVERT(varchar, remark5), '') = '' " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + Else + SQL = SQL & " AND 1=2 " + End If + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """chk"":"""& Adors("chk") &"""," + Response.Write """contents"":"""& escape(Adors("contents")) &"""," + Response.Write """over_comment"":"""& escape(Adors("over_comment")) &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "checkConfirm" + If Request("checkedList") <> "[]" Then + SQL = "" + SQL = SQL & " UPDATE ¹®¼­³»¿ë SET remark5 = '20190301', remark15 = '"& Request("today") &"' " + SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + + adoConn.Execute SQL + End If + If Request("uncheckedList") <> "[]" Then + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 AND ISNULL(CONVERT(varchar, remark5), '') = '' " + SQL = SQL & " AND ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("uncheckedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " ORDER BY M.id desc " + + headTdStyle = "text-align:center;border:1px solid black;" + contentsTdStyle = "border:1px solid black;padding:5px;" + + tmp_body = "" + tmp_body = tmp_body & "

* ÁöÃâ°áÀǼ­ È®ÀÎ Á¤º¸¾Ë¸² *

" + tmp_body = tmp_body & "

[´ëÇ¥´Ô ÄÚ¸àÆ®]

" + tmp_body = tmp_body & "
" + tmp_body = tmp_body & URLDecode(Request("comment")) + tmp_body = tmp_body & "
" + tmp_body = tmp_body & "

= ÁöÃâ°áÀǼ­ È®ÀÎÀÌ Ãß°¡ÀûÀ¸·Î ÇÊ¿äÇÑ ¸®½ºÆ® =

" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.Open SQL, adoConn, 1 + Do While Not Adors.Eof + tmp_body = tmp_body & "" + if Mid(Adors("d_no"), 10, 1) = "A" Then + tmp_body = tmp_body & "" + Else + tmp_body = tmp_body & "" + End If + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.MoveNext + Loop + Adors.close + tmp_body = tmp_body & "
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×
"& Adors("d_no") &""& Adors("d_no") &""& iif(Adors("p_child_sn") = "", "Multi", "["& Adors("p_child_sn") &"] "& Adors("p_subject")) &""& Adors("client") &""& Adors("depart_name") &""& Adors("hangmok") & "-" & Adors("sebu") &""& formatNumber(Adors("cost"), 0) &"
" + + mail_target = "khjo@kric.com" ' khjo@kric.com + mail_subject = "[´ëÇ¥´Ô] ÁöÃâ°áÀǼ­ ¹ÌÈ®ÀÎ Ç׸ñ" + mail_body = tmp_body + %> + + <% + End If + Response.Write "1" + + Case "douzone" + SQL = "" + SQL = SQL & " SELECT CASE company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS CO_CD, " + SQL = SQL & " CASE company WHEN 'KRi' THEN '1000' WHEN 'KRc' THEN '1000' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS IN_DIV_CD, " + SQL = SQL & " '2' AS ACCT_TY, DC.attribute04 AS ACCT_FG, REPLACE(tax_date, '-', '/') AS REF_DT, '2'+dbo.SPLIT(target19, '|', 2) AS TAX_FG, " + SQL = SQL & " unit_price AS CLSG_AM, vat_price AS CLSV_AM, total_price AS CLSH_AM, total_price AS MISU_AM, " + SQL = SQL & " REPLACE(dbo.SPLIT(target19, '|', 1), '-', '') AS REG_NB, client AS ISU_DOC, dbo.SPLIT(target19, '|', 3) AS RMK_DC, " + SQL = SQL & " CASE WHEN T.p_child_sn = '99999' THEN '9999' ELSE ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) END AS CT_DEPT, " + SQL = SQL & " ISNULL(DPJT.PJT_CD, CASE WHEN T.p_child_sn = '99999' THEN '9995' WHEN LEFT(T.p_child_sn, 5) = '99990' THEN TPV.p_content ELSE " + SQL = SQL & " CASE WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '3110' THEN 'F' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '4110' THEN 'D' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'AI00' THEN 'AI' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'BP00' THEN 'BP' " + SQL = SQL & " ELSE " + SQL = SQL & " RIGHT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) + LEFT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) " + SQL = SQL & " END + LEFT(T.p_child_sn, 2) + " + SQL = SQL & " CASE SUBSTRING(T.p_child_sn, 3, 2) WHEN '10' THEN 'A' WHEN '11' THEN 'B' WHEN '12' THEN 'C' ELSE RIGHT(SUBSTRING(T.p_child_sn, 3, 2), 1) END + " + SQL = SQL & " SUBSTRING(T.p_child_sn, 5, 3) + SUBSTRING(T.p_child_sn, 10, 2) " + SQL = SQL & " END) AS PJT_CD, T.p_child_sn, CASE WHEN DPJT.PJT_CD IS NULL AND T.p_child_sn NOT LIKE '9999%' THEN '1' ELSE '0' END AS pjt_chk, " + SQL = SQL & " CASE dbo.SPLIT(target19, '|', 2) WHEN '1' THEN '' WHEN '3' THEN '30' WHEN '4' THEN '43' ELSE '' END AS NONSUB_TY, " + SQL = SQL & " CASE LEFT(tax_num, 1) WHEN 'K' THEN '0' ELSE '1' END AS JEONJA_YN " + SQL = SQL & " FROM ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), dbo.SPLIT(rawdata, '^//^', 1)) AS p_child_sn, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 2), ',', ''))) AS unit_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 3), ',', ''))) AS vat_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 4), ',', ''))) AS total_price " + SQL = SQL & " FROM " + SQL = SQL & " ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£, remark20, target12, target3, target19, target8, target18, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target21), CHARINDEX('^^', CONVERT(varchar(1000), target21))+2, 2000) as target21, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target22), CHARINDEX('^^', CONVERT(varchar(1000), target22))+2, 2000) as target22, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target23), CHARINDEX('^^', CONVERT(varchar(1000), target23))+2, 2000) as target23, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target24), CHARINDEX('^^', CONVERT(varchar(1000), target24))+2, 2000) as target24, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target25), CHARINDEX('^^', CONVERT(varchar(1000), target25))+2, 2000) as target25, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target26), CHARINDEX('^^', CONVERT(varchar(1000), target26))+2, 2000) as target26, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target27), CHARINDEX('^^', CONVERT(varchar(1000), target27))+2, 2000) as target27, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target28), CHARINDEX('^^', CONVERT(varchar(1000), target28))+2, 2000) as target28, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target29), CHARINDEX('^^', CONVERT(varchar(1000), target29))+2, 2000) as target29, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target30), CHARINDEX('^^', CONVERT(varchar(1000), target30))+2, 2000) as target30, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target31), CHARINDEX('^^', CONVERT(varchar(1000), target31))+2, 2000) as target31, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target32), CHARINDEX('^^', CONVERT(varchar(1000), target32))+2, 2000) as target32, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target33), CHARINDEX('^^', CONVERT(varchar(1000), target33))+2, 2000) as target33, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target34), CHARINDEX('^^', CONVERT(varchar(1000), target34))+2, 2000) as target34, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target35), CHARINDEX('^^', CONVERT(varchar(1000), target35))+2, 2000) as target35, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target36), CHARINDEX('^^', CONVERT(varchar(1000), target36))+2, 2000) as target36, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target37), CHARINDEX('^^', CONVERT(varchar(1000), target37))+2, 2000) as target37, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target38), CHARINDEX('^^', CONVERT(varchar(1000), target38))+2, 2000) as target38, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target39), CHARINDEX('^^', CONVERT(varchar(1000), target39))+2, 2000) as target39, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target40), CHARINDEX('^^', CONVERT(varchar(1000), target40))+2, 2000) as target40, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target41), CHARINDEX('^^', CONVERT(varchar(1000), target41))+2, 2000) as target41, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target42), CHARINDEX('^^', CONVERT(varchar(1000), target42))+2, 2000) as target42, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target43), CHARINDEX('^^', CONVERT(varchar(1000), target43))+2, 2000) as target43, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target44), CHARINDEX('^^', CONVERT(varchar(1000), target44))+2, 2000) as target44, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target45), CHARINDEX('^^', CONVERT(varchar(1000), target45))+2, 2000) as target45, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target46), CHARINDEX('^^', CONVERT(varchar(1000), target46))+2, 2000) as target46, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target47), CHARINDEX('^^', CONVERT(varchar(1000), target47))+2, 2000) as target47, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target48), CHARINDEX('^^', CONVERT(varchar(1000), target48))+2, 2000) as target48, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target49), CHARINDEX('^^', CONVERT(varchar(1000), target49))+2, 2000) as target49, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target50), CHARINDEX('^^', CONVERT(varchar(1000), target50))+2, 2000) as target50 " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'A' " + SQL = SQL & " ) AS columnTable " + SQL = SQL & " UNPIVOT " + SQL = SQL & " ( " + SQL = SQL & " rawdata FOR gubun IN ( " + SQL = SQL & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + SQL = SQL & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + SQL = SQL & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50 " + SQL = SQL & " ) " + SQL = SQL & " ) AS rowTable " + SQL = SQL & " WHERE rawdata <> '' " + SQL = SQL & " UNION ALL " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), target20) AS p_child_sn, REPLACE(CONVERT(varchar(50), target5), ',', '') AS unit_price, " + SQL = SQL & " REPLACE(CONVERT(varchar(50), target6), ',', '') AS var_price, REPLACE(CONVERT(varchar(50), target7), ',', '') AS total_price " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'i' " + SQL = SQL & " ) T LEFT JOIN Document D WITH(NOLOCK) ON T.d_no = D.d_no " + SQL = SQL & " LEFT JOIN direct_costcode DC WITH(NOLOCK) ON T.sebu = CONVERT(varchar(10), DC.id) " + SQL = SQL & " LEFT JOIN V_PROJECT_METHOD TPV WITH(NOLOCK) ON T.p_child_sn = CASE TPV.p_child_sn WHEN '' THEN TPV.p_sn ELSE TPV.p_child_sn END " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(NOLOCK) ON TPV.p_sn = TPB.p_sn " + SQL = SQL & " LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DRE ON TPV.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DFI ON TPV.p_field_dept = DFI.depart_code LEFT JOIN dz.dzicube.dbo.SPJT DPJT WITH(NOLOCK) " + SQL = SQL & " ON CASE T.company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END = DPJT.CO_CD AND T.p_child_sn = DPJT.PJT_NM AND PROG_FG = '1' " + SQL = SQL & " WHERE D.d_order_cnt = '77' AND D.d_delok = 'N' " + SQL = SQL & " AND tax_date LIKE '"& Request("smonth") &"%' " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """CO_CD"":"""& Adors("CO_CD") &"""," + Response.Write """IN_DIV_CD"":"""& Adors("IN_DIV_CD") &"""," + Response.Write """ACCT_TY"":"""& Adors("ACCT_TY") &"""," + Response.Write """ACCT_FG"":"""& Adors("ACCT_FG") &"""," + Response.Write """REF_DT"":"""& Adors("REF_DT") &"""," + Response.Write """TAX_FG"":"""& Adors("TAX_FG") &"""," + Response.Write """CLSG_AM"":"""& Adors("CLSG_AM") &"""," + Response.Write """CLSV_AM"":"""& Adors("CLSV_AM") &"""," + Response.Write """CLSH_AM"":"""& Adors("CLSH_AM") &"""," + Response.Write """MISU_AM"":"""& Adors("MISU_AM") &"""," + Response.Write """REG_NB"":"""& Adors("REG_NB") &"""," + Response.Write """ISU_DOC"":"""& Adors("ISU_DOC") &"""," + Response.Write """RMK_DC"":"""& Adors("RMK_DC") &"""," + Response.Write """CT_DEPT"":"""& Adors("CT_DEPT") &"""," + Response.Write """PJT_CD"":"""& Adors("PJT_CD") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """pjt_chk"":"""& Adors("pjt_chk") &"""," + Response.Write """NONSUB_TY"":"""& Adors("NONSUB_TY") &"""," + Response.Write """JEONJA_YN"":"""& Adors("JEONJA_YN") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "douzone_pjt" + Dim Info : Set Info = JSON.parse(Request("pjt")) + SQL = "" + SQL = SQL & "INSERT INTO dz.dzicube.dbo.SPJT " + SQL = SQL & "(CO_CD, PJT_CD, PJT_NM, PROG_FG, INSERT_IP, PJT_NMK) VALUES " + For i = 0 To Info.length - 1 + SQL = SQL & "(N'"& Info.get(i).CO_CD &"',N'"& info.get(i).PJT_CD &"',N'"& info.get(i).p_child_sn &"', N'1', N'10.10.10.7', N'"& info.get(i).p_child_sn &"')" + If i < Info.length - 1 Then + SQL = SQL & ", " + End If + Next + adoConn.Execute SQL + + Response.Write "1" + + Case "etc_cost" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT " + SQL = SQL & " ISNULL((SELECT sum(cost) " + SQL = SQL & " FROM V_GROUP_COST_NEW " + SQL = SQL & " WHERE cost_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and cost_date < "&EMONTH + SQL = SQL & " ), 0) AS group_cost, " + SQL = SQL & " ISNULL((SELECT sum(cost_money) " + SQL = SQL & " FROM V_BUSI_COST " + SQL = SQL & " WHERE job_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and job_date < "&EMONTH + SQL = SQL & " ), 0) AS busi_cost " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "{" + Response.Write """GROUP_COST"":"""& Adors("group_cost") &"""," + Response.Write """BUSI_COST"":"""& Adors("busi_cost") &"""" + Response.Write "}" + Else + Response.Write "{""GROUP_COST"":""0"",""BUSI_COST"":""0""}" + End IF + Adors.close + + Case Else + Response.Write "0" +End Select + +Function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing +End Function +%> diff --git a/approval/doc_confirm_ajax.asp_250917_cns b/approval/doc_confirm_ajax.asp_250917_cns new file mode 100644 index 0000000..901f5d6 --- /dev/null +++ b/approval/doc_confirm_ajax.asp_250917_cns @@ -0,0 +1,454 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 +DIM SMONTH +DIM EMONTH + +Select Case Request("command") + Case "approvalList" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT A.d_no,A.p_child_sn,A.p_subject,A.client,A.depart_name,A.cost_type,A.hangmok,A.sebu,A.cost,A.d_write_name,A.cost_date,A.payment_date FROM( " &VBCRLF + SQL = SQL & " SELECT M.id, ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, " &VBCRLF + SQL = SQL & "CASE " &VBCRLF + SQL = SQL & " WHEN PARSENAME(REPLACE(¹®¼­¹øÈ£, '-', '.'), 2) = 'r' " &VBCRLF + SQL = SQL & " THEN 'ÀÚ±ÞÁýÇ༭' " &VBCRLF + SQL = SQL & " ELSE ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') " &VBCRLF + SQL = SQL & "END AS p_subject, " &VBCRLF + SQL = SQL & " dbo.FN_RemoveExtraSpaces(RTRIM(CONVERT(NVARCHAR(MAX), target8))) AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '-' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " &VBCRLF + SQL = SQL & " target4 AS cost_type, DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, d_write_name, target3 as cost_date, remark19 as payment_date,remark1,remark2 " &VBCRLF + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " &VBCRLF + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' ) " &VBCRLF + 'SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + SQL = SQL & " AND ISDATE(CONVERT(varchar(30),target3)) = 1 " + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01')) " &VBCRLF + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) < "&EMONTH&" " &VBCRLF + SQL = SQL & " AND del_yes_no = 'no' " &VBCRLF + If Request("step") = "1" Then + SQL = SQL & " AND ((remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') = '') OR (remark1 IS NULL AND ISNULL(convert(varchar, remark21), '') = '')) " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ((remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') <> '') OR (remark1 IS NULL AND ISNULL(convert(varchar, remark21), '') <> '')) " + ElseIf Request("step") = "3" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') = '' " + ElseIf Request("step") = "4" Then + SQL = SQL & " AND remark1 LIKE '77' AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + End If + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + SQL = SQL & " ) A WHERE 1 = 1 " + SQL = SQL & " AND ( A.p_subject <> 'ÁöÃâ°áÀǼ­' OR (A.remark1 LIKE '3' AND ISNULL(CONVERT(varchar, A.remark2), '') = '')) " + SQL = SQL & " ORDER BY A.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """d_write_name"":"""& Adors("d_write_name") &"""," + Response.Write """cost_date"":"""& Adors("cost_date") &"""," + Response.Write """payment_date"":"""& Adors("payment_date") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "finalList" + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, target4 AS cost_type, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk, " + SQL = SQL & " CONVERT(varchar(4000), target2) AS contents, CONVERT(varchar(4000), target17) AS over_comment " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭') AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + If Request("smonth") <> "" Then + SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + End If + If Request("step") = "1" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' and ISNULL(CONVERT(varchar, remark5), '') = '') or (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' and ISNULL(CONVERT(varchar, remark23), '') = '')) " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ISNULL(CONVERT(varchar, remark5), '') <> '' " + Else + SQL = SQL & " AND 1=2 " + End If + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """chk"":"""& Adors("chk") &"""," + Response.Write """contents"":"""& escape(Adors("contents")) &"""," + Response.Write """over_comment"":"""& escape(Adors("over_comment")) &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "checkConfirm" + If Request("checkedList") <> "[]" Then + SQL = "" + SQL = SQL & " UPDATE ¹®¼­³»¿ë SET remark5 = '20190301', remark15 = '"& Request("today") &"' " + SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + + adoConn.Execute SQL + End If + If Request("uncheckedList") <> "[]" Then + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 AND ISNULL(CONVERT(varchar, remark5), '') = '' " + SQL = SQL & " AND ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("uncheckedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " ORDER BY M.id desc " + + headTdStyle = "text-align:center;border:1px solid black;" + contentsTdStyle = "border:1px solid black;padding:5px;" + + tmp_body = "" + tmp_body = tmp_body & "

* ÁöÃâ°áÀǼ­ È®ÀÎ Á¤º¸¾Ë¸² *

" + tmp_body = tmp_body & "

[´ëÇ¥´Ô ÄÚ¸àÆ®]

" + tmp_body = tmp_body & "
" + tmp_body = tmp_body & URLDecode(Request("comment")) + tmp_body = tmp_body & "
" + tmp_body = tmp_body & "

= ÁöÃâ°áÀǼ­ È®ÀÎÀÌ Ãß°¡ÀûÀ¸·Î ÇÊ¿äÇÑ ¸®½ºÆ® =

" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.Open SQL, adoConn, 1 + Do While Not Adors.Eof + tmp_body = tmp_body & "" + if Mid(Adors("d_no"), 10, 1) = "A" Then + tmp_body = tmp_body & "" + Else + tmp_body = tmp_body & "" + End If + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.MoveNext + Loop + Adors.close + tmp_body = tmp_body & "
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×
"& Adors("d_no") &""& Adors("d_no") &""& iif(Adors("p_child_sn") = "", "Multi", "["& Adors("p_child_sn") &"] "& Adors("p_subject")) &""& Adors("client") &""& Adors("depart_name") &""& Adors("hangmok") & "-" & Adors("sebu") &""& formatNumber(Adors("cost"), 0) &"
" + + mail_target = "khjo@kric.com" ' khjo@kric.com + mail_subject = "[´ëÇ¥´Ô] ÁöÃâ°áÀǼ­ ¹ÌÈ®ÀÎ Ç׸ñ" + mail_body = tmp_body + %> + + <% + End If + Response.Write "1" + + Case "douzone" + SQL = "" + SQL = SQL & " SELECT CASE company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS CO_CD, " + SQL = SQL & " CASE company WHEN 'KRi' THEN '1000' WHEN 'KRc' THEN '1000' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS IN_DIV_CD, " + SQL = SQL & " '2' AS ACCT_TY, DC.attribute04 AS ACCT_FG, REPLACE(tax_date, '-', '/') AS REF_DT, '2'+dbo.SPLIT(target19, '|', 2) AS TAX_FG, " + SQL = SQL & " unit_price AS CLSG_AM, vat_price AS CLSV_AM, total_price AS CLSH_AM, total_price AS MISU_AM, " + SQL = SQL & " REPLACE(dbo.SPLIT(target19, '|', 1), '-', '') AS REG_NB, client AS ISU_DOC, dbo.SPLIT(target19, '|', 3) AS RMK_DC, " + SQL = SQL & " CASE WHEN T.p_child_sn = '99999' THEN '9999' ELSE ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) END AS CT_DEPT, " + SQL = SQL & " ISNULL(DPJT.PJT_CD, CASE WHEN T.p_child_sn = '99999' THEN '9995' WHEN LEFT(T.p_child_sn, 5) = '99990' THEN TPV.p_content ELSE " + SQL = SQL & " CASE WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '3110' THEN 'F' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '4110' THEN 'D' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'AI00' THEN 'AI' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'BP00' THEN 'BP' " + SQL = SQL & " ELSE " + SQL = SQL & " RIGHT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) + LEFT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) " + SQL = SQL & " END + LEFT(T.p_child_sn, 2) + " + SQL = SQL & " CASE SUBSTRING(T.p_child_sn, 3, 2) WHEN '10' THEN 'A' WHEN '11' THEN 'B' WHEN '12' THEN 'C' ELSE RIGHT(SUBSTRING(T.p_child_sn, 3, 2), 1) END + " + SQL = SQL & " SUBSTRING(T.p_child_sn, 5, 3) + SUBSTRING(T.p_child_sn, 10, 2) " + SQL = SQL & " END) AS PJT_CD, T.p_child_sn, CASE WHEN DPJT.PJT_CD IS NULL AND T.p_child_sn NOT LIKE '9999%' THEN '1' ELSE '0' END AS pjt_chk, " + SQL = SQL & " CASE dbo.SPLIT(target19, '|', 2) WHEN '1' THEN '' WHEN '3' THEN '30' WHEN '4' THEN '43' ELSE '' END AS NONSUB_TY, " + SQL = SQL & " CASE LEFT(tax_num, 1) WHEN 'K' THEN '0' ELSE '1' END AS JEONJA_YN " + SQL = SQL & " FROM ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), dbo.SPLIT(rawdata, '^//^', 1)) AS p_child_sn, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 2), ',', ''))) AS unit_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 3), ',', ''))) AS vat_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 4), ',', ''))) AS total_price " + SQL = SQL & " FROM " + SQL = SQL & " ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£, remark20, target12, target3, target19, target8, target18, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target21), CHARINDEX('^^', CONVERT(varchar(1000), target21))+2, 2000) as target21, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target22), CHARINDEX('^^', CONVERT(varchar(1000), target22))+2, 2000) as target22, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target23), CHARINDEX('^^', CONVERT(varchar(1000), target23))+2, 2000) as target23, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target24), CHARINDEX('^^', CONVERT(varchar(1000), target24))+2, 2000) as target24, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target25), CHARINDEX('^^', CONVERT(varchar(1000), target25))+2, 2000) as target25, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target26), CHARINDEX('^^', CONVERT(varchar(1000), target26))+2, 2000) as target26, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target27), CHARINDEX('^^', CONVERT(varchar(1000), target27))+2, 2000) as target27, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target28), CHARINDEX('^^', CONVERT(varchar(1000), target28))+2, 2000) as target28, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target29), CHARINDEX('^^', CONVERT(varchar(1000), target29))+2, 2000) as target29, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target30), CHARINDEX('^^', CONVERT(varchar(1000), target30))+2, 2000) as target30, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target31), CHARINDEX('^^', CONVERT(varchar(1000), target31))+2, 2000) as target31, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target32), CHARINDEX('^^', CONVERT(varchar(1000), target32))+2, 2000) as target32, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target33), CHARINDEX('^^', CONVERT(varchar(1000), target33))+2, 2000) as target33, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target34), CHARINDEX('^^', CONVERT(varchar(1000), target34))+2, 2000) as target34, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target35), CHARINDEX('^^', CONVERT(varchar(1000), target35))+2, 2000) as target35, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target36), CHARINDEX('^^', CONVERT(varchar(1000), target36))+2, 2000) as target36, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target37), CHARINDEX('^^', CONVERT(varchar(1000), target37))+2, 2000) as target37, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target38), CHARINDEX('^^', CONVERT(varchar(1000), target38))+2, 2000) as target38, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target39), CHARINDEX('^^', CONVERT(varchar(1000), target39))+2, 2000) as target39, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target40), CHARINDEX('^^', CONVERT(varchar(1000), target40))+2, 2000) as target40, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target41), CHARINDEX('^^', CONVERT(varchar(1000), target41))+2, 2000) as target41, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target42), CHARINDEX('^^', CONVERT(varchar(1000), target42))+2, 2000) as target42, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target43), CHARINDEX('^^', CONVERT(varchar(1000), target43))+2, 2000) as target43, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target44), CHARINDEX('^^', CONVERT(varchar(1000), target44))+2, 2000) as target44, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target45), CHARINDEX('^^', CONVERT(varchar(1000), target45))+2, 2000) as target45, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target46), CHARINDEX('^^', CONVERT(varchar(1000), target46))+2, 2000) as target46, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target47), CHARINDEX('^^', CONVERT(varchar(1000), target47))+2, 2000) as target47, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target48), CHARINDEX('^^', CONVERT(varchar(1000), target48))+2, 2000) as target48, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target49), CHARINDEX('^^', CONVERT(varchar(1000), target49))+2, 2000) as target49, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target50), CHARINDEX('^^', CONVERT(varchar(1000), target50))+2, 2000) as target50 " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'A' " + SQL = SQL & " ) AS columnTable " + SQL = SQL & " UNPIVOT " + SQL = SQL & " ( " + SQL = SQL & " rawdata FOR gubun IN ( " + SQL = SQL & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + SQL = SQL & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + SQL = SQL & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50 " + SQL = SQL & " ) " + SQL = SQL & " ) AS rowTable " + SQL = SQL & " WHERE rawdata <> '' " + SQL = SQL & " UNION ALL " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), target20) AS p_child_sn, REPLACE(CONVERT(varchar(50), target5), ',', '') AS unit_price, " + SQL = SQL & " REPLACE(CONVERT(varchar(50), target6), ',', '') AS var_price, REPLACE(CONVERT(varchar(50), target7), ',', '') AS total_price " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'i' " + SQL = SQL & " ) T LEFT JOIN Document D WITH(NOLOCK) ON T.d_no = D.d_no " + SQL = SQL & " LEFT JOIN direct_costcode DC WITH(NOLOCK) ON T.sebu = CONVERT(varchar(10), DC.id) " + SQL = SQL & " LEFT JOIN V_PROJECT_METHOD TPV WITH(NOLOCK) ON T.p_child_sn = CASE TPV.p_child_sn WHEN '' THEN TPV.p_sn ELSE TPV.p_child_sn END " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(NOLOCK) ON TPV.p_sn = TPB.p_sn " + SQL = SQL & " LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DRE ON TPV.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DFI ON TPV.p_field_dept = DFI.depart_code LEFT JOIN dz.dzicube.dbo.SPJT DPJT WITH(NOLOCK) " + SQL = SQL & " ON CASE T.company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END = DPJT.CO_CD AND T.p_child_sn = DPJT.PJT_NM AND PROG_FG = '1' " + SQL = SQL & " WHERE D.d_order_cnt = '77' AND D.d_delok = 'N' " + SQL = SQL & " AND tax_date LIKE '"& Request("smonth") &"%' " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """CO_CD"":"""& Adors("CO_CD") &"""," + Response.Write """IN_DIV_CD"":"""& Adors("IN_DIV_CD") &"""," + Response.Write """ACCT_TY"":"""& Adors("ACCT_TY") &"""," + Response.Write """ACCT_FG"":"""& Adors("ACCT_FG") &"""," + Response.Write """REF_DT"":"""& Adors("REF_DT") &"""," + Response.Write """TAX_FG"":"""& Adors("TAX_FG") &"""," + Response.Write """CLSG_AM"":"""& Adors("CLSG_AM") &"""," + Response.Write """CLSV_AM"":"""& Adors("CLSV_AM") &"""," + Response.Write """CLSH_AM"":"""& Adors("CLSH_AM") &"""," + Response.Write """MISU_AM"":"""& Adors("MISU_AM") &"""," + Response.Write """REG_NB"":"""& Adors("REG_NB") &"""," + Response.Write """ISU_DOC"":"""& Adors("ISU_DOC") &"""," + Response.Write """RMK_DC"":"""& Adors("RMK_DC") &"""," + Response.Write """CT_DEPT"":"""& Adors("CT_DEPT") &"""," + Response.Write """PJT_CD"":"""& Adors("PJT_CD") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """pjt_chk"":"""& Adors("pjt_chk") &"""," + Response.Write """NONSUB_TY"":"""& Adors("NONSUB_TY") &"""," + Response.Write """JEONJA_YN"":"""& Adors("JEONJA_YN") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "douzone_pjt" + Dim Info : Set Info = JSON.parse(Request("pjt")) + SQL = "" + SQL = SQL & "INSERT INTO dz.dzicube.dbo.SPJT " + SQL = SQL & "(CO_CD, PJT_CD, PJT_NM, PROG_FG, INSERT_IP, PJT_NMK) VALUES " + For i = 0 To Info.length - 1 + SQL = SQL & "(N'"& Info.get(i).CO_CD &"',N'"& info.get(i).PJT_CD &"',N'"& info.get(i).p_child_sn &"', N'1', N'10.10.10.7', N'"& info.get(i).p_child_sn &"')" + If i < Info.length - 1 Then + SQL = SQL & ", " + End If + Next + adoConn.Execute SQL + + Response.Write "1" + + Case "etc_cost" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT " + SQL = SQL & " ISNULL((SELECT sum(cost) " + SQL = SQL & " FROM V_GROUP_COST_NEW " + SQL = SQL & " WHERE cost_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and cost_date < "&EMONTH + SQL = SQL & " ), 0) AS group_cost, " + SQL = SQL & " ISNULL((SELECT sum(cost_money) " + SQL = SQL & " FROM V_BUSI_COST " + SQL = SQL & " WHERE job_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and job_date < "&EMONTH + SQL = SQL & " ), 0) AS busi_cost " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "{" + Response.Write """GROUP_COST"":"""& Adors("group_cost") &"""," + Response.Write """BUSI_COST"":"""& Adors("busi_cost") &"""" + Response.Write "}" + Else + Response.Write "{""GROUP_COST"":""0"",""BUSI_COST"":""0""}" + End IF + Adors.close + + Case Else + Response.Write "0" +End Select + +Function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing +End Function +%> diff --git a/approval/doc_confirm_ajax.asp_250923_cns b/approval/doc_confirm_ajax.asp_250923_cns new file mode 100644 index 0000000..6ab536c --- /dev/null +++ b/approval/doc_confirm_ajax.asp_250923_cns @@ -0,0 +1,467 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 +DIM SMONTH +DIM EMONTH + +Select Case Request("command") + Case "approvalList" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT A.d_no,A.p_child_sn,A.p_subject,A.client,A.depart_name,A.cost_type,A.hangmok,A.sebu,A.cost,A.d_write_name,A.cost_date,A.payment_date FROM( " &VBCRLF + SQL = SQL & " SELECT M.id, ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, " &VBCRLF + SQL = SQL & "CASE " &VBCRLF + SQL = SQL & " WHEN PARSENAME(REPLACE(¹®¼­¹øÈ£, '-', '.'), 2) = 'r' " &VBCRLF + SQL = SQL & " THEN 'ÀÚ±ÞÁýÇ༭' " &VBCRLF + SQL = SQL & " ELSE ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') " &VBCRLF + SQL = SQL & "END AS p_subject, " &VBCRLF + SQL = SQL & " dbo.FN_RemoveExtraSpaces(RTRIM(CONVERT(NVARCHAR(MAX), target8))) AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '-' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " &VBCRLF + SQL = SQL & " target4 AS cost_type, DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, d_write_name, target3 as cost_date, remark19 as payment_date,remark1,remark2 " &VBCRLF + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " &VBCRLF + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " &VBCRLF + SQL = SQL & " ( " &VBCRLF + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " &VBCRLF + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " &VBCRLF + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " &VBCRLF + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " &VBCRLF + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " &VBCRLF + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' ) " &VBCRLF + 'SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + SQL = SQL & " AND ISDATE(CONVERT(varchar(30),target3)) = 1 " + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01')) " &VBCRLF + SQL = SQL & " AND CONVERT(DATE,CONVERT(varchar(30),target3)) < "&EMONTH&" " &VBCRLF + SQL = SQL & " AND del_yes_no = 'no' " &VBCRLF + If Request("step") = "1" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') = '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark21), '') = '')) " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark2), '') <> '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '3' AND ISNULL(convert(varchar, remark21), '') <> '')) " + ElseIf Request("step") = "3" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark5), '') = '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark23), '') = '')) " + ElseIf Request("step") = "4" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark5), '') <> '') OR (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' AND remark1 LIKE '77' AND ISNULL(convert(varchar, remark23), '') <> '')) " + End If + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + SQL = SQL & " ) A WHERE 1 = 1 " + 'SQL = SQL & " AND ( A.p_subject <> 'ÁöÃâ°áÀǼ­' OR (A.remark1 LIKE '3' AND ISNULL(CONVERT(varchar, A.remark2), '') = '')) " + SQL = SQL & " ORDER BY A.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """d_write_name"":"""& Adors("d_write_name") &"""," + Response.Write """cost_date"":"""& Adors("cost_date") &"""," + Response.Write """payment_date"":"""& Adors("payment_date") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "finalList" + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, " + SQL = SQL & " CASE " &VBCRLF + SQL = SQL & " WHEN PARSENAME(REPLACE(¹®¼­¹øÈ£, '-', '.'), 2) = 'r' " &VBCRLF + SQL = SQL & " THEN 'ÀÚ±ÞÁýÇ༭' " &VBCRLF + SQL = SQL & " ELSE ISNULL(TPM.p_subject, 'ÁöÃâ°áÀǼ­') " &VBCRLF + SQL = SQL & " END AS p_subject, target8 AS client, " &VBCRLF + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, target4 AS cost_type, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk, " + SQL = SQL & " CONVERT(varchar(4000), target2) AS contents, CONVERT(varchar(4000), target17) AS over_comment " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭') AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 " + If Request("smonth") <> "" Then + SQL = SQL & " AND target3 LIKE '"& Request("smonth") &"%' " + End If + If Request("step") = "1" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' and ISNULL(CONVERT(varchar, remark5), '') = '') or (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' and ISNULL(CONVERT(varchar, remark23), '') = '')) " + ElseIf Request("step") = "2" Then + SQL = SQL & " AND ((¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' and ISNULL(CONVERT(varchar, remark5), '') <> '') or (¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭' and ISNULL(CONVERT(varchar, remark23), '') <> '')) " + Else + SQL = SQL & " AND 1=2 " + End If + SQL = SQL & " ORDER BY M.id desc " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """d_no"":"""& Adors("d_no") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """p_subject"":"""& Adors("p_subject") &"""," + Response.Write """client"":"""& Adors("client") &"""," + Response.Write """depart_name"":"""& Adors("depart_name") &"""," + Response.Write """cost_type"":"""& Adors("cost_type") &"""," + Response.Write """hangmok"":"""& Adors("hangmok") &"""," + Response.Write """sebu"":"""& Adors("sebu") &"""," + Response.Write """cost"":"""& Adors("cost") &"""," + Response.Write """chk"":"""& Adors("chk") &"""," + Response.Write """contents"":"""& escape(Adors("contents")) &"""," + Response.Write """over_comment"":"""& escape(Adors("over_comment")) &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "checkConfirm" + If Request("checkedList") <> "[]" Then + SQL = "" + 'SQL = SQL & " UPDATE ¹®¼­³»¿ë SET remark5 = '20190301', remark15 = '"& Request("today") &"' " + 'SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " UPDATE ¹®¼­³»¿ë " + SQL = SQL & " SET remark5 = CASE WHEN ¹®¼­¹øÈ£ NOT LIKE '%-r-%' THEN '20190301' ELSE remark5 END, " + SQL = SQL & " remark15 = CASE WHEN ¹®¼­¹øÈ£ NOT LIKE '%-r-%' THEN '" & Replace(Request("today"), "'", "''") & "' ELSE remark15 END, " + SQL = SQL & " remark23 = CASE WHEN ¹®¼­¹øÈ£ LIKE '%-r-%' THEN '20190301' ELSE remark23 END, " + SQL = SQL & " remark26 = CASE WHEN ¹®¼­¹øÈ£ LIKE '%-r-%' THEN '" & Replace(Request("today"), "'", "''") & "' ELSE remark26 END " + SQL = SQL & " WHERE ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("checkedList"), """", "'"), "[", ""), "]", "") &") " + + adoConn.Execute SQL + End If + If Request("uncheckedList") <> "[]" Then + SQL = "" + SQL = SQL & " SELECT ¹®¼­¹øÈ£ as d_no, CONVERT(varchar, M.target10) AS p_child_sn, ISNULL(TPM.p_subject, '') AS p_subject, target8 AS client, " + SQL = SQL & " ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), CASE WHEN TPM.p_subject IS NULL THEN '' ELSE 'ŰÀ§¼­º£ÀÌ' END) AS depart_name, " + SQL = SQL & " DC1.d_cost_name AS hangmok, DC2.d_cost_name AS sebu, target5 AS cost, ISNULL(CONVERT(varchar, remark5), '') AS chk " + SQL = SQL & " FROM ¹®¼­³»¿ë M WITH(nolock) LEFT JOIN Document D WITH(nolock) ON M.¹®¼­¹øÈ£ = D.d_no " + SQL = SQL & " LEFT JOIN T_PROJECT_METHOD TPM WITH(nolock) ON CONVERT(varchar, M.target10) = TPM.p_child_sn " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(nolock) ON TPM.p_sn = TPB.p_sn LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code " + SQL = SQL & " FROM project2.dbo.v_Department WITH(nolock) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('17', '18', '19', '0') " + SQL = SQL & " ) DFI ON CASE WHEN TPM.p_field_dept IN ('12', '9', '8') THEN '12' ELSE TPM.p_field_dept END = DFI.depart_code " + SQL = SQL & " LEFT JOIN direct_costcode DC1 WITH(nolock) ON CONVERT(varchar, target11) = CONVERT(varchar, DC1.id) " + SQL = SQL & " LEFT JOIN direct_costcode DC2 WITH(nolock) ON CONVERT(varchar, target12) = CONVERT(varchar, DC2.id) " + SQL = SQL & " WHERE (¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' or ¹®¼­Á¦¸ñ='ÀÚ±ÝÁýÇ༭') AND del_yes_no = 'no' AND remark1 LIKE '77' " + SQL = SQL & " AND d_delok = 'N' AND D.d_order_cnt = 77 AND ISNULL(CONVERT(varchar, remark5), '') = '' " + SQL = SQL & " AND ¹®¼­¹øÈ£ IN ("& Replace(Replace(Replace(Request("uncheckedList"), """", "'"), "[", ""), "]", "") &") " + SQL = SQL & " ORDER BY M.id desc " + + headTdStyle = "text-align:center;border:1px solid black;" + contentsTdStyle = "border:1px solid black;padding:5px;" + + tmp_body = "" + tmp_body = tmp_body & "

* ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎ Á¤º¸¾Ë¸² *

" + tmp_body = tmp_body & "

[´ëÇ¥´Ô ÄÚ¸àÆ®]

" + tmp_body = tmp_body & "
" + tmp_body = tmp_body & URLDecode(Request("comment")) + tmp_body = tmp_body & "
" + tmp_body = tmp_body & "

= ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎÀÌ Ãß°¡ÀûÀ¸·Î ÇÊ¿äÇÑ ¸®½ºÆ® =

" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.Open SQL, adoConn, 1 + Do While Not Adors.Eof + tmp_body = tmp_body & "" + if Mid(Adors("d_no"), 10, 1) = "A" Then + tmp_body = tmp_body & "" + ElseIf Mid(Adors("d_no"), 10, 1) = "r" Then + tmp_body = tmp_body & "" + Else + tmp_body = tmp_body & "" + End If + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + tmp_body = tmp_body & "" + Adors.MoveNext + Loop + Adors.close + tmp_body = tmp_body & "
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×
"& Adors("d_no") &""& Adors("d_no") &""& Adors("d_no") &""& iif(Adors("p_child_sn") = "", "Multi", "["& Adors("p_child_sn") &"] "& Adors("p_subject")) &""& Adors("client") &""& Adors("depart_name") &""& Adors("hangmok") & "-" & Adors("sebu") &""& formatNumber(Adors("cost"), 0) &"
" + + mail_target = "khjo@kric.com" ' khjo@kric.com + mail_subject = "[´ëÇ¥´Ô] ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ ¹ÌÈ®ÀÎ Ç׸ñ" + mail_body = tmp_body + %> + + <% + End If + Response.Write "1" + + Case "douzone" + SQL = "" + SQL = SQL & " SELECT CASE company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS CO_CD, " + SQL = SQL & " CASE company WHEN 'KRi' THEN '1000' WHEN 'KRc' THEN '1000' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END AS IN_DIV_CD, " + SQL = SQL & " '2' AS ACCT_TY, DC.attribute04 AS ACCT_FG, REPLACE(tax_date, '-', '/') AS REF_DT, '2'+dbo.SPLIT(target19, '|', 2) AS TAX_FG, " + SQL = SQL & " unit_price AS CLSG_AM, vat_price AS CLSV_AM, total_price AS CLSH_AM, total_price AS MISU_AM, " + SQL = SQL & " REPLACE(dbo.SPLIT(target19, '|', 1), '-', '') AS REG_NB, client AS ISU_DOC, dbo.SPLIT(target19, '|', 3) AS RMK_DC, " + SQL = SQL & " CASE WHEN T.p_child_sn = '99999' THEN '9999' ELSE ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) END AS CT_DEPT, " + SQL = SQL & " ISNULL(DPJT.PJT_CD, CASE WHEN T.p_child_sn = '99999' THEN '9995' WHEN LEFT(T.p_child_sn, 5) = '99990' THEN TPV.p_content ELSE " + SQL = SQL & " CASE WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '3110' THEN 'F' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = '4110' THEN 'D' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'AI00' THEN 'AI' " + SQL = SQL & " WHEN ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code) = 'BP00' THEN 'BP' " + SQL = SQL & " ELSE " + SQL = SQL & " RIGHT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) + LEFT(ISNULL(ISNULL(DRE.dz_code, DFI.dz_code), DDE.dz_code), 1) " + SQL = SQL & " END + LEFT(T.p_child_sn, 2) + " + SQL = SQL & " CASE SUBSTRING(T.p_child_sn, 3, 2) WHEN '10' THEN 'A' WHEN '11' THEN 'B' WHEN '12' THEN 'C' ELSE RIGHT(SUBSTRING(T.p_child_sn, 3, 2), 1) END + " + SQL = SQL & " SUBSTRING(T.p_child_sn, 5, 3) + SUBSTRING(T.p_child_sn, 10, 2) " + SQL = SQL & " END) AS PJT_CD, T.p_child_sn, CASE WHEN DPJT.PJT_CD IS NULL AND T.p_child_sn NOT LIKE '9999%' THEN '1' ELSE '0' END AS pjt_chk, " + SQL = SQL & " CASE dbo.SPLIT(target19, '|', 2) WHEN '1' THEN '' WHEN '3' THEN '30' WHEN '4' THEN '43' ELSE '' END AS NONSUB_TY, " + SQL = SQL & " CASE LEFT(tax_num, 1) WHEN 'K' THEN '0' ELSE '1' END AS JEONJA_YN " + SQL = SQL & " FROM ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), dbo.SPLIT(rawdata, '^//^', 1)) AS p_child_sn, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 2), ',', ''))) AS unit_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 3), ',', ''))) AS vat_price, " + SQL = SQL & " CONVERT(varchar(50), ltrim(replace(dbo.SPLIT(rawdata, '^//^', 4), ',', ''))) AS total_price " + SQL = SQL & " FROM " + SQL = SQL & " ( " + SQL = SQL & " SELECT ¹®¼­¹øÈ£, remark20, target12, target3, target19, target8, target18, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target21), CHARINDEX('^^', CONVERT(varchar(1000), target21))+2, 2000) as target21, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target22), CHARINDEX('^^', CONVERT(varchar(1000), target22))+2, 2000) as target22, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target23), CHARINDEX('^^', CONVERT(varchar(1000), target23))+2, 2000) as target23, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target24), CHARINDEX('^^', CONVERT(varchar(1000), target24))+2, 2000) as target24, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target25), CHARINDEX('^^', CONVERT(varchar(1000), target25))+2, 2000) as target25, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target26), CHARINDEX('^^', CONVERT(varchar(1000), target26))+2, 2000) as target26, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target27), CHARINDEX('^^', CONVERT(varchar(1000), target27))+2, 2000) as target27, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target28), CHARINDEX('^^', CONVERT(varchar(1000), target28))+2, 2000) as target28, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target29), CHARINDEX('^^', CONVERT(varchar(1000), target29))+2, 2000) as target29, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target30), CHARINDEX('^^', CONVERT(varchar(1000), target30))+2, 2000) as target30, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target31), CHARINDEX('^^', CONVERT(varchar(1000), target31))+2, 2000) as target31, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target32), CHARINDEX('^^', CONVERT(varchar(1000), target32))+2, 2000) as target32, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target33), CHARINDEX('^^', CONVERT(varchar(1000), target33))+2, 2000) as target33, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target34), CHARINDEX('^^', CONVERT(varchar(1000), target34))+2, 2000) as target34, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target35), CHARINDEX('^^', CONVERT(varchar(1000), target35))+2, 2000) as target35, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target36), CHARINDEX('^^', CONVERT(varchar(1000), target36))+2, 2000) as target36, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target37), CHARINDEX('^^', CONVERT(varchar(1000), target37))+2, 2000) as target37, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target38), CHARINDEX('^^', CONVERT(varchar(1000), target38))+2, 2000) as target38, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target39), CHARINDEX('^^', CONVERT(varchar(1000), target39))+2, 2000) as target39, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target40), CHARINDEX('^^', CONVERT(varchar(1000), target40))+2, 2000) as target40, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target41), CHARINDEX('^^', CONVERT(varchar(1000), target41))+2, 2000) as target41, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target42), CHARINDEX('^^', CONVERT(varchar(1000), target42))+2, 2000) as target42, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target43), CHARINDEX('^^', CONVERT(varchar(1000), target43))+2, 2000) as target43, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target44), CHARINDEX('^^', CONVERT(varchar(1000), target44))+2, 2000) as target44, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target45), CHARINDEX('^^', CONVERT(varchar(1000), target45))+2, 2000) as target45, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target46), CHARINDEX('^^', CONVERT(varchar(1000), target46))+2, 2000) as target46, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target47), CHARINDEX('^^', CONVERT(varchar(1000), target47))+2, 2000) as target47, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target48), CHARINDEX('^^', CONVERT(varchar(1000), target48))+2, 2000) as target48, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target49), CHARINDEX('^^', CONVERT(varchar(1000), target49))+2, 2000) as target49, " + SQL = SQL & " SUBSTRING(CONVERT(varchar(1000), target50), CHARINDEX('^^', CONVERT(varchar(1000), target50))+2, 2000) as target50 " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'A' " + SQL = SQL & " ) AS columnTable " + SQL = SQL & " UNPIVOT " + SQL = SQL & " ( " + SQL = SQL & " rawdata FOR gubun IN ( " + SQL = SQL & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + SQL = SQL & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + SQL = SQL & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50 " + SQL = SQL & " ) " + SQL = SQL & " ) AS rowTable " + SQL = SQL & " WHERE rawdata <> '' " + SQL = SQL & " UNION ALL " + SQL = SQL & " SELECT ¹®¼­¹øÈ£ AS d_no, CONVERT(varchar(10), remark20) AS company, CONVERT(varchar(10), target12) AS sebu, " + SQL = SQL & " CONVERT(varchar(10), target3) AS tax_date, CONVERT(varchar(500), target19) AS target19, " + SQL = SQL & " CONVERT(varchar(100), target8) AS client, CONVERT(varchar(100), target18) AS tax_num, " + SQL = SQL & " CONVERT(varchar(30), target20) AS p_child_sn, REPLACE(CONVERT(varchar(50), target5), ',', '') AS unit_price, " + SQL = SQL & " REPLACE(CONVERT(varchar(50), target6), ',', '') AS var_price, REPLACE(CONVERT(varchar(50), target7), ',', '') AS total_price " + SQL = SQL & " FROM project2.dbo.¹®¼­³»¿ë M WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' " + SQL = SQL & " AND CONVERT(varchar(10),target3) > '2022-08-00' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + SQL = SQL & " AND (remark1 LIKE '3' OR remark1 LIKE '77') " + SQL = SQL & " AND del_yes_no = 'no' " + SQL = SQL & " AND SUBSTRING(¹®¼­¹øÈ£, 10, 1) = 'i' " + SQL = SQL & " ) T LEFT JOIN Document D WITH(NOLOCK) ON T.d_no = D.d_no " + SQL = SQL & " LEFT JOIN direct_costcode DC WITH(NOLOCK) ON T.sebu = CONVERT(varchar(10), DC.id) " + SQL = SQL & " LEFT JOIN V_PROJECT_METHOD TPV WITH(NOLOCK) ON T.p_child_sn = CASE TPV.p_child_sn WHEN '' THEN TPV.p_sn ELSE TPV.p_child_sn END " + SQL = SQL & " LEFT JOIN T_PROJECT_BASE TPB WITH(NOLOCK) ON TPV.p_sn = TPB.p_sn " + SQL = SQL & " LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DRE ON TPV.p_rsch_dept = DRE.depart_code LEFT JOIN " + SQL = SQL & " ( " + SQL = SQL & " SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, " + SQL = SQL & " before_t_cd1 AS depart_code, CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN '4110' ELSE dz_code END AS dz_code " + SQL = SQL & " FROM V_Department WITH(NOLOCK) " + SQL = SQL & " WHERE before_t_cd1 NOT IN ('18', '0') " + SQL = SQL & " ) DFI ON TPV.p_field_dept = DFI.depart_code LEFT JOIN dz.dzicube.dbo.SPJT DPJT WITH(NOLOCK) " + SQL = SQL & " ON CASE T.company WHEN 'KRi' THEN '0101' WHEN 'KRc' THEN '0103' WHEN 'KRt' THEN '0104' WHEN 'KRd' THEN '0104' END = DPJT.CO_CD AND T.p_child_sn = DPJT.PJT_NM AND PROG_FG = '1' " + SQL = SQL & " WHERE D.d_order_cnt = '77' AND D.d_delok = 'N' " + SQL = SQL & " AND tax_date LIKE '"& Request("smonth") &"%' " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """CO_CD"":"""& Adors("CO_CD") &"""," + Response.Write """IN_DIV_CD"":"""& Adors("IN_DIV_CD") &"""," + Response.Write """ACCT_TY"":"""& Adors("ACCT_TY") &"""," + Response.Write """ACCT_FG"":"""& Adors("ACCT_FG") &"""," + Response.Write """REF_DT"":"""& Adors("REF_DT") &"""," + Response.Write """TAX_FG"":"""& Adors("TAX_FG") &"""," + Response.Write """CLSG_AM"":"""& Adors("CLSG_AM") &"""," + Response.Write """CLSV_AM"":"""& Adors("CLSV_AM") &"""," + Response.Write """CLSH_AM"":"""& Adors("CLSH_AM") &"""," + Response.Write """MISU_AM"":"""& Adors("MISU_AM") &"""," + Response.Write """REG_NB"":"""& Adors("REG_NB") &"""," + Response.Write """ISU_DOC"":"""& Adors("ISU_DOC") &"""," + Response.Write """RMK_DC"":"""& Adors("RMK_DC") &"""," + Response.Write """CT_DEPT"":"""& Adors("CT_DEPT") &"""," + Response.Write """PJT_CD"":"""& Adors("PJT_CD") &"""," + Response.Write """p_child_sn"":"""& Adors("p_child_sn") &"""," + Response.Write """pjt_chk"":"""& Adors("pjt_chk") &"""," + Response.Write """NONSUB_TY"":"""& Adors("NONSUB_TY") &"""," + Response.Write """JEONJA_YN"":"""& Adors("JEONJA_YN") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.close + + Case "douzone_pjt" + Dim Info : Set Info = JSON.parse(Request("pjt")) + SQL = "" + SQL = SQL & "INSERT INTO dz.dzicube.dbo.SPJT " + SQL = SQL & "(CO_CD, PJT_CD, PJT_NM, PROG_FG, INSERT_IP, PJT_NMK) VALUES " + For i = 0 To Info.length - 1 + SQL = SQL & "(N'"& Info.get(i).CO_CD &"',N'"& info.get(i).PJT_CD &"',N'"& info.get(i).p_child_sn &"', N'1', N'10.10.10.7', N'"& info.get(i).p_child_sn &"')" + If i < Info.length - 1 Then + SQL = SQL & ", " + End If + Next + adoConn.Execute SQL + + Response.Write "1" + + Case "etc_cost" + SMONTH = Request("smonth") + EMONTH = Request("emonth") + if SMONTH = EMONTH then + EMONTH = "DATEADD(MM,3, CONVERT(DATE,'"&SMONTH&"-01'))" + else + EMONTH = "DATEADD(MM,1, CONVERT(DATE,'"&EMONTH&"-01'))" + end if + + SQL = "" + SQL = SQL & " SELECT " + SQL = SQL & " ISNULL((SELECT sum(cost) " + SQL = SQL & " FROM V_GROUP_COST_NEW " + SQL = SQL & " WHERE cost_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and cost_date < "&EMONTH + SQL = SQL & " ), 0) AS group_cost, " + SQL = SQL & " ISNULL((SELECT sum(cost_money) " + SQL = SQL & " FROM V_BUSI_COST " + SQL = SQL & " WHERE job_date > DATEADD(DD,-1,CONVERT(DATE,'"&SMONTH&"-01'))" + SQL = SQL & " and job_date < "&EMONTH + SQL = SQL & " ), 0) AS busi_cost " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "{" + Response.Write """GROUP_COST"":"""& Adors("group_cost") &"""," + Response.Write """BUSI_COST"":"""& Adors("busi_cost") &"""" + Response.Write "}" + Else + Response.Write "{""GROUP_COST"":""0"",""BUSI_COST"":""0""}" + End IF + Adors.close + + Case Else + Response.Write "0" +End Select + +Function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing +End Function +%> diff --git a/approval/doc_consultation.asp b/approval/doc_consultation.asp new file mode 100644 index 0000000..895cf84 --- /dev/null +++ b/approval/doc_consultation.asp @@ -0,0 +1,367 @@ + + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ǰÀǸñÀû, 3:³³Ç°ÀÏÀÚ, 4:°áÀçÀÏÀÚ, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ®ÄÚµå, 10:ǰ¸í + dim krc_no + dim pay_type(4) + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + title="ǰ ÀÇ ¼­" + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Çö±Ý" + pay_type(2) = "°èÁÂÀÌü" + pay_type(3) = "¹ýÀÎÄ«µå" + pay_type(4) = "°³ÀÎÄ«µå" +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = ViewWord(adors("target2")) + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = adors("target7") + gap(8) = adors("target8") + gap(9) = adors("p_sn") + gap(10) = adors("target9") + adoRs.close + end if +''//================= +''//================= + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close +%> + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + +
+ <%=replace(title," ","")%> ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© ǰÀÇÀ» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
°Ç   ¸í + +
ÇÁ·ÎÁ§Æ® ¸í + + +
ǰÀǸñÀû
¹× ±âŸ»çÇ×
+ +
ÁýÇ࿹Á¤ÀÏÀÚ + + °Å·¡Ã³ + +
°ø±Þ°¡¾× + ¿ø + ÁöÃâÃÑ¾× + ¿ø +
ºÎ°¡¼¼¾×
+ ¿ø +
¿ø±Ý°è»ê±â + ¿ø + +
Âü°íÀÚ·á + +
+
+ + +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_consultation_print.asp b/approval/doc_consultation_print.asp new file mode 100644 index 0000000..a2da644 --- /dev/null +++ b/approval/doc_consultation_print.asp @@ -0,0 +1,564 @@ + +<% + dim doc_type : doc_type = "doc_consultation_print" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ǰÀǸñÀû, 3:³³Ç°ÀÏÀÚ, 4:°áÀçÀÏÀÚ, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ®ÄÚµå, 10:ǰ¸í + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + title="ǰ ÀÇ ¼­" + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date") + gap(4) = request("txt_date2") + gap(5) = request("txt_pay") + gap(6) = request("txt_pay_vat") + gap(7) = request("txt_pay_tot") + gap(8) = request("txt_client") + gap(9) = request("txt_p_sn") + gap(10) = request("txt_name") + print_type = request("print_type") + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + 'Response.Write "no : " & krc_no & "
" + + if cint(print_type) = 2 then + '¸ÕÀú ǰÀǼ­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "0-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + '°ü·ÃÇ׸ñ ¸¸µé±â + '¹«Á¶°Ç ºÎȸÀå(»çÀå±îÁö) +%> + + + +<% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', 'ǰÀǼ­', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8,target97,target98,target99,target100,p_sn,target9, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & gap(7) & "', " + query = query & "'" & gap(8) & "', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(9) & "', " + query = query & "'" & gap(10) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + 'Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" + if Request.ServerVariables("REMOTE_ADD") = "10.10.17.52" OR Request.ServerVariables("REMOTE_ADD") = "10.10.17.51" then + else + adoconn.execute query + end if + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + for i=1 to 9 + if trim(gap(i)) = "" then + gap(i) = " " + end if + next + for i=5 to 7 + if gap(i) = " " then + gap(i) = "0" + end if + next + + + '°áÀç°¡ ¿äûµÇ¸é ¾÷·ÎµåµÈ ÆÄÀÏÀÌ ÀÖ´ÂÁö üũÇϰí ÀÖ´Ù¸é ÇØ´ç ¹®¼­¸íÀ¸·Î Æú´õ¸¦ ¸®³×ÀÓ + '-------------------------------------------------------- + 'Æú´õ º¯°æ + 'set fso = server.createobject("scripting.filesystemobject") + + 'tmp_y = right(year(date), 2) + + 'upd = "D:\project_db\data\" & tmp_y & "\Document\consultation_" & Session("User_Number") + 'upd2 = "D:\project_db\data\" & tmp_y & "\Document\consultation\" & krc_no + 'upd0 = "D:\project_db\data\" & tmp_y & "\Document\consultation" + 'upd00 = "D:\project_db\data\" & tmp_y & "\Document" + 'Response.Write upd00 & "
" + ''Æú´õ°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì ¸¸µê + 'If (fso.FolderExists(upd00)) Then + ' + 'else + ' 'ÇØ´ç Æú´õ°¡ ¾øÀ» °æ¿ì + ' fso.CreateFolder upd00 + 'End If + ' + ''Æú´õ°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì ¸¸µê + 'If (fso.FolderExists(upd0)) Then + ' + 'else + ' 'ÇØ´ç Æú´õ°¡ ¾øÀ» °æ¿ì + ' fso.CreateFolder upd0 + 'End If + ' + ''Æú´õ°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì ¸¸µê + 'If (fso.FolderExists(upd)) Then + ' fso.MoveFolder upd, upd2 + 'else + ' 'ÇØ´ç Æú´õ°¡ ¾øÀ» °æ¿ì + 'End If + '-------------------------------------------------------- + + + end if + +%> + + + +<%=GNB_TITLE%> + + + + + + onLoad="clsit();" <% end if %>> + +
+ + + + + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, ǰÀǸ¦ °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + +
°Ç   ¸í<%=gap(10)%>
ÇÁ·ÎÁ§Æ® ¸í(¾÷¹«)<%=gap(1)%>
+
+ + + + + +
ǰÀǸñÀû ¹× ±âŸ»çÇ×<%=ViewWord(gap(2))%>
+
+ + + + + + + + + + + + + + + + + +
ÁýÇ࿹Á¤ÀÏÀÚ<%=gap(3)%>°Å·¡Ã³<%=gap(8)%>
°ø±Þ°¡¾×<%=gap(5)%> ¿øÁöÃâÃѾ×<%=gap(7)%> ¿ø
ºÎ°¡¼¼¾×<%=gap(6)%> ¿ø
+
+
 
+
 
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/approval/doc_delete.asp b/approval/doc_delete.asp new file mode 100644 index 0000000..0281b7f --- /dev/null +++ b/approval/doc_delete.asp @@ -0,0 +1,24 @@ + +<%'#################################################### +'ȸ»ç³» ¹®¼­Áß ¼±ÅÃÇÑ °Í »èÁ¦Çϱâ, »ç½ÇÀº db¿¡ del_yes_no Å×ÀÌºí¿¡ °ªÀ» º¯°æÇÏ´Â °ÍÀÓ +'2008-04-30 +'#################################################### + Response.Expires = 0 + 'Response.Buffer = false + + Dim Sql + dim krc_no + + krc_no = Request("krc_no") + Sql = "update ¹®¼­³»¿ë set del_yes_no = 'yes', " + sql = sql & " del_date = '" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + sql = sql & " del_time = '" & time() & "', " + sql = sql & " del_ip = '" & Session("USERIP") & "', " + sql = sql & " del_user_name = '" & Session("loginuser") & "' " + sql = sql & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adoconn.execute sql + %> + \ No newline at end of file diff --git a/approval/doc_entertainment_link.asp b/approval/doc_entertainment_link.asp new file mode 100644 index 0000000..e52cbdb --- /dev/null +++ b/approval/doc_entertainment_link.asp @@ -0,0 +1,391 @@ + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Company(6) + dim krc_no + dim Gap(22) + ' 1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:Á¢´ë¸ñÀû, 3:Á¢´ëÀÏÀÚ, 4:°ø±Þ°¡¾×, 5:ºÎ°¡¼¼¾×, 6:ÃѾ×, + ' 7:ÇÇÁ¢´ëÀÚ ¼º¸í, 8:ÇÇÁ¢´ëÀÚ ¸í¼ö, 9:ÇÇÁ¢´ëÀÚȸ»ç¸í, 10:ÇÇÁ¢´ëÀÚ¼Ò¼Ó, 11:ÇÇÁ¢´ëÀÚÁ÷±Þ, + ' 12:ÇÇÁ¢´ëÀÚ ÀüÈ­¹øÈ£, 13:ÇÇÁ¢´ëÀÚ »ç¾÷ÀÚ¹øÈ£, 14:¿µ¼öÀÏÀÚ, 15:ÁöÃâ¹æ¹ý, 16:ÇÁ·ÎÁ§Æ®ÄÚµå, + ' 17:»ç¿ë°¡´ÉÇÑ Á¢´ëºñ, 18:»ç¿ë´©Àû±Ý¾×, 19:ÄÁÅ÷¹Æ÷Æ®¾È°Ç, 20:ÄÁÅ÷¹Æ÷Æ®ÄÚµå, 21:Á¢´ëºñÁ¾·ù (0:ÀϹÝ, 1:ÇÁ·ÎÁ§Æ®´Ù°ú, 2:ÇÁ·ÎÁ§Æ®½Ä´ë), 22: ¾÷¹«ÀÏÁö Rownum + dim pay_type(4) + dim db_table_name + + dim limit_b + limit_b = 0 + db_table_name = "¹®¼­³»¿ë" + + title="Á¢´ëºñº¸°í¼­" + Max_Width =650 + + if Session("Depart_Code") = 0 then + depart = "headDepart" + else + depart = "depart" + end if + pay_type(1) = "°³ÀÎÄ«µå/Çö±Ý" + pay_type(2) = "(°³ÀÎ)¹ýÀÎÄ«µå" + 'pay_type(1) = "°³ÀÎÄ«µå" + 'pay_type(2) = "°èÁÂÀÌü" + 'pay_type(3) = "¹ýÀÎÄ«µå" + 'pay_type(4) = "Çö±Ý" +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = ViewWord(adors("target2")) + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = adors("target7") + gap(8) = adors("target8") + gap(9) = adors("target9") + gap(10) = adors("target10") + gap(11) = adors("target11") + gap(12) = adors("target12") + gap(13) = adors("target13") + gap(14) = adors("target14") + gap(15) = adors("target15") + gap(16) = adors("p_sn") + adoRs.close + end if +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close +%> + + + +
+<% +if depart = "headDepart" then + if Session("User_Number") = "20000201" then + departCode = "41" + elseif Session("User_Number") = "20140702" then + departCode = "42" + elseif Session("User_Number") = "20160603" then + departCode = "43" + elseif Session("User_Number") = "20191201" then + departCode = "44" + end if +else + if session("User_Number") = "20160603" then + departCode = "30" + else + departCode = Session("Depart_Code") + end if +end if +%> + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + ¸¶ÄÉÆÃºñ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¸¶ÄÉÆÃºñ
ÇÁ·ÎÁ§Æ® ¸í + + +
Á¢´ë¸ñÀû
¹× ±âŸ»çÇ×
+ +
°ø±Þ°¡¾× + ¿ø + + + ÁöÃâ¹æ¹ý + +
ÇÇÁ¢´ëÀÚ Á¤º¸
¼º ¸í + ÃÑ + ¸í + ȸ»ç¸í + +
¼Ò¼Ó + + Á÷±Þ + +
ÁõºùÀÏÀÚ + + ¿µ¼öÀÚ + <%=user_name(1)%> +
+
+ + +
+
+
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_entertainment_print.asp b/approval/doc_entertainment_print.asp new file mode 100644 index 0000000..28c753b --- /dev/null +++ b/approval/doc_entertainment_print.asp @@ -0,0 +1,582 @@ + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(22) + ' 1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:Á¢´ë¸ñÀû, 3:Á¢´ëÀÏÀÚ, 4:°ø±Þ°¡¾×, 5:ºÎ°¡¼¼¾×, 6:ÃѾ×, + ' 7:ÇÇÁ¢´ëÀÚ ¼º¸í, 8:ÇÇÁ¢´ëÀÚ ¸í¼ö, 9:ÇÇÁ¢´ëÀÚȸ»ç¸í, 10:ÇÇÁ¢´ëÀÚ¼Ò¼Ó, 11:ÇÇÁ¢´ëÀÚÁ÷±Þ, + ' 12:ÇÇÁ¢´ëÀÚ ÀüÈ­¹øÈ£, 13:ÇÇÁ¢´ëÀÚ »ç¾÷ÀÚ¹øÈ£, 14:¿µ¼öÀÏÀÚ, 15:ÁöÃâ¹æ¹ý, 16:ÇÁ·ÎÁ§Æ®ÄÚµå, + ' 17:»ç¿ë°¡´ÉÇÑ Á¢´ëºñ, 18:»ç¿ë´©Àû±Ý¾×, 19:ÄÁÅ÷¹Æ÷Æ®¾È°Ç, 20:ÄÁÅ÷¹Æ÷Æ®ÄÚµå, 21:Á¢´ëºñÁ¾·ù (0:ÀϹÝ, 1:ÇÁ·ÎÁ§Æ®´Ù°ú, 2:ÇÁ·ÎÁ§Æ®½Ä´ë), 22: ¾÷¹«ÀÏÁö Rownum + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + db_table_name = "¹®¼­³»¿ë" + + title="Á¢ ´ë ºñ º¸ °í ¼­" + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date_1") + gap(4) = request("txt_pay") + gap(5) = request("txt_pay_vat") + gap(6) = request("txt_pay_tot") + gap(7) = request("txt_client_1") + gap(8) = request("txt_client_2") + gap(9) = request("txt_client_3") + gap(10) = request("txt_client_4") + gap(11) = request("txt_client_5") + gap(12) = ""'request("txt_client_6") + gap(13) = ""'request("txt_client_7") + gap(14) = request("txt_date_1") + gap(15) = request("sel_pay_type") + gap(16) = request("txt_p_sn") + + print_type = request("print_type") + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + if cint(print_type) = 2 then + '¸ÕÀú Á¢´ëºñº¸°í¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "N-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + '°ü·ÃÇ׸ñ ¸¸µé±â + tmp_money = int(replace(gap(6), ",", "")) + + '2011-04-01 ÀϹÝÀûÀÌ ¹æ½Ä°ú ¸¶Âù°¡Áö·Î ¼öÁ¤ + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', 'Á¢´ëºñº¸°í¼­', '" & Session("loginuser") & "', '" & date() & "', '9', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'N', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + if request("depart") = "headDepart" then + moneyType = "º»ºÎ" + departCode = request("departCode") + else + moneyType = "ÆÀ" + departCode = request("departCode") + end if + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target10, target11, target12, target13, target14,target15, target16,target17,target18,target19,target20, target21,target22,target23,target97,target98,target99,target100,p_sn, " + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & replace(gap(4),",","") & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & gap(7) & "', " + query = query & "'" & gap(8) & "', " + query = query & "'" & gap(9) & "', " + query = query & "'" & gap(10) & "', " + query = query & "'" & gap(11) & "', " + query = query & "'" & gap(12) & "', " + query = query & "'" & gap(13) & "', " + query = query & "'" & gap(14) & "', " + query = query & "'" & gap(15) & "', " + query = query & "'', " + query = query & "'', " + query = query & "'', " + query = query & "'', " + query = query & "'" & moneyType & "', " + query = query & "'" & departCode & "', " + query = query & "'', " + query = query & "'', " + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(16) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + ' Response.Write query & "
" + adoconn.execute query + + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + gap(14) = mid(gap(14),1,4) & "³â " & mid(gap(14),6,2) & "¿ù " & mid(gap(14),9,2) & "ÀÏ" + for i=1 to 16 + if trim(gap(i)) ="" then + gap(i) = " " + end if + next + ''±Ý¾×ÀÌ ¾øÀ¸¸é 0¿øÀ¸·Î + for i=4 to 6 + if gap(i) = " " then + gap(i) = "0" + end if + next + 'ÇÇÁ¢´ëÀÚÀÇ ¼ýÀÚ + if gap(8) = " " then + gap(8) = "0" + end if + end if + +%> + + + +<%=GNB_TITLE%> + + + + + onLoad="clsit();" <% end if %>> +
+ + + + + + + + + + + + + + + + "> + "> + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
¸¶ÄÉÆÃºñ + + + + + + + + + + + + + + + + + <% + if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if + + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = " " + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = " " + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = " " + tmp_txt2 = " " + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
Çϱâ¿Í °°ÀÌ ¸¶ÄÉÆÃºñ ÁöÃâ¿¡ ´ëÇÏ¿© º¸°íµå¸®¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + +
ÇÁ·ÎÁ§Æ® ¸í(¾÷¹«)<%=gap(1)%>
+
+ + + + + +
Á¢´ë¸ñÀû ¹× ±âŸ»çÇ×<%=ViewWord(gap(2))%>
+
+ + + + + + + +
°ø±Þ°¡¾×£Ü <%=gap(4)%> ¿øÁöÃâ¹æ¹ý<%=gap(15)%>
+
+ + ÇÇÁ¢´ëÀÚ Á¤º¸ +
+ + + + + + + + + + + + + + + + + + + + +
¼º       ¸í + <%=gap(7)%> + <%if trim(gap(8)) <> "" then%> +  ÃÑ  <%=gap(8)%> ¸í + <%end if%> + ȸ  »ç  ¸í<%=gap(9)%>
¼Ò       ¼Ó<%=gap(10)%>Á÷       ±Þ<%=gap(11)%>
ÁõºùÀÏÀÚ<%=gap(14)%>¿µ  ¼ö  ÀÚ<%=user_name(1)%>    (ìÔ)
+
+
+
+
+ + \ No newline at end of file diff --git a/approval/doc_expense2.asp b/approval/doc_expense2.asp new file mode 100644 index 0000000..b9d31d2 --- /dev/null +++ b/approval/doc_expense2.asp @@ -0,0 +1,308 @@ + + +<% + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ¸ñÀû, 3:ÁöÃâÀÏÀÚ, 4:ÁöÃâ¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ®ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim pay_type(4) + dim db_table_name + dim title_type + + db_table_name = "¹®¼­³»¿ë" + + title = request("title") + title_type = title + + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Çö±Ý" + pay_type(2) = "°èÁÂÀÌü" + pay_type(3) = "¹ýÀÎÄ«µå" + pay_type(4) = "°³ÀÎÄ«µå" +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = ViewWord(adors("target2")) + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = adors("target7") + gap(8) = adors("target8") + gap(9) = adors("p_sn") + gap(10) = adors("target9") + adoRs.close + end if + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close +%> + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + +
+ <%=title%> ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ÇÁ·ÎÁ§Æ® ¸í + + +
ÁöÃâ¸ñÀû
¹× ±âŸ»çÇ×
+ +
ÁõºùÀÏÀÚ + + ÁöÃâ¹æ¹ý + +
°ø±Þ°¡¾× + ¿ø + ÁöÃâÃÑ¾× + ¿ø +
ºÎ°¡¼¼¾×
+ ¿ø +
°Å·¡Ã³ + + ÀԱݰèÁ + ÁöÃâ¹æ¹ý¿¡µû¶ó ´Ù¸§
(Ãâ·ÂÈ­¸é ÂüÁ¶) +
+
+ + +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense2_2014.asp b/approval/doc_expense2_2014.asp new file mode 100644 index 0000000..79a84f0 --- /dev/null +++ b/approval/doc_expense2_2014.asp @@ -0,0 +1,995 @@ + + + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim pay_type(4) + dim db_table_name + dim title_type + dim p_depart + + db_table_name = "¹®¼­³»¿ë" + + title="Áö Ãâ °á ÀÇ ¼­" + + title_type = mid(replace(title," ",""), 1, 2) + + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Ä«µå/Çö±Ý" + pay_type(2) = "¼¼±Ý°è»ê¼­" + pay_type(4) = "ÀΰǺñ" + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + p_depart = Session("Depart_Code") + + If Trim(request("cost_type")) = "" Or isnull(request("cost_type")) = true Then + cost_type = 2 + d_cost_type = "common" + Else + cost_type = request("cost_type") + If request("cost_type") = 1 Then + d_cost_type = "support" + Else + d_cost_type = "common" + End if + + End If +%> + +
+ + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + +
+ <%=title_type%>°áÀǼ­ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù.(ÀϹݺñ¿ë) ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. + +
+
+ + + + + + + + + <% If int(Session("Depart_Code")) = 18 or int(Session("Depart_Code")) = 12 Then %> + + + + <% End If %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ checked <% End If %> >ÇÁ·ÎÁ§Æ®ºñ¿ë    + checked <% End If %>>ÀϹݺñ¿ë +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ºñ¿ëÇ׸ñ + + ¼¼ºÎ³»¿ë + + +
°Å·¡Ã³ + + + ÁõºùÀÏÀÚ + +
Áõºù¼­·ù + + ÀԱݰèÁÂ÷ºÎÆÄÀÏ ÂüÁ¶
Áö±ÞÀÏÀÚ + + * Áö±ÞÀÏÀڴ ȸ»çÀÇ ºñ¿ë Áö±Þ ±âÁØ¿¡ ¸ÂÃç ÀÛ¼º(¿ùº° ºñ¿ë ¸¶°¨ ¾È³» ¸ÞÀÏ È®ÀÎ)
+    ¿¹¿ÜÀûÀ¸·Î Áö±ÞÀÏÀÚ º¯°æÀÌ ÇÊ¿äÇÑ °æ¿ì ºñ°í¶õ¿¡ »çÀ¯ ±âÀç
ǰÀǹ®¼­ + + + Áõºù¹øÈ£ + + +
Áõºù÷ºÎ + + + +
+
+
+ °ø±Þ°¡¾× : 0/0 + ºÎ°¡¼¼¾× : 0/0 +
+
+ + + + + + + + + + + + + + + + +
ÁöÃâ°áÀÇ(1)ÇÁ·ÎÁ§Æ® ¹øÈ£ + + + 18 Then %> readonly <% End If %> + /> + °ø±Þ°¡¾× + ¿ø + ºÎ°¡¼¼¾×
+ ¿ø + <%=title_type%>ÃÑ¾× + ¿ø +
ºñ°í
(³»¿ë, ¼ö·®,
´Ü°¡ µî)
+ +
+ +
+
+ + +
+ + +
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense2_2014.asp_250908_cns b/approval/doc_expense2_2014.asp_250908_cns new file mode 100644 index 0000000..d0aa27d --- /dev/null +++ b/approval/doc_expense2_2014.asp_250908_cns @@ -0,0 +1,985 @@ + + + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim pay_type(4) + dim db_table_name + dim title_type + dim p_depart + + db_table_name = "¹®¼­³»¿ë" + + title="Áö Ãâ °á ÀÇ ¼­" + + title_type = mid(replace(title," ",""), 1, 2) + + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Ä«µå/Çö±Ý" + pay_type(2) = "¼¼±Ý°è»ê¼­" + pay_type(4) = "ÀΰǺñ" + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + p_depart = Session("Depart_Code") + + If Trim(request("cost_type")) = "" Or isnull(request("cost_type")) = true Then + cost_type = 2 + d_cost_type = "common" + Else + cost_type = request("cost_type") + If request("cost_type") = 1 Then + d_cost_type = "support" + Else + d_cost_type = "common" + End if + + End If +%> + +
+ + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + +
+ <%=title_type%>°áÀǼ­ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù.(ÀϹݺñ¿ë) ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. + +
+
+ + + + + + + + + <% If int(Session("Depart_Code")) = 18 or int(Session("Depart_Code")) = 12 Then %> + + + + <% End If %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ checked <% End If %> >ÇÁ·ÎÁ§Æ®ºñ¿ë    + checked <% End If %>>ÀϹݺñ¿ë +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ºñ¿ëÇ׸ñ + + ¼¼ºÎ³»¿ë + + +
°Å·¡Ã³ + + + ÁõºùÀÏÀÚ + +
Áõºù¼­·ù + + ÀԱݰèÁÂ÷ºÎÆÄÀÏ ÂüÁ¶
ǰÀǹ®¼­ + + + Áõºù¹øÈ£ + + +
Áõºù÷ºÎ + + + +
+
+
+ °ø±Þ°¡¾× : 0/0 + ºÎ°¡¼¼¾× : 0/0 +
+
+ + + + + + + + + + + + + + + + +
ÁöÃâ°áÀÇ(1)ÇÁ·ÎÁ§Æ® ¹øÈ£ + + + 18 Then %> readonly <% End If %> + /> + °ø±Þ°¡¾× + ¿ø + ºÎ°¡¼¼¾×
+ ¿ø + <%=title_type%>ÃÑ¾× + ¿ø +
ºñ°í
(³»¿ë, ¼ö·®,
´Ü°¡ µî)
+ +
+ +
+
+ + +
+ + +
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense2_2014.asp_250909_cns b/approval/doc_expense2_2014.asp_250909_cns new file mode 100644 index 0000000..d9850ea --- /dev/null +++ b/approval/doc_expense2_2014.asp_250909_cns @@ -0,0 +1,999 @@ + + + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim pay_type(4) + dim db_table_name + dim title_type + dim p_depart + + db_table_name = "¹®¼­³»¿ë" + + title="Áö Ãâ °á ÀÇ ¼­" + + title_type = mid(replace(title," ",""), 1, 2) + + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Ä«µå/Çö±Ý" + pay_type(2) = "¼¼±Ý°è»ê¼­" + pay_type(4) = "ÀΰǺñ" + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + p_depart = Session("Depart_Code") + + If Trim(request("cost_type")) = "" Or isnull(request("cost_type")) = true Then + cost_type = 2 + d_cost_type = "common" + Else + cost_type = request("cost_type") + If request("cost_type") = 1 Then + d_cost_type = "support" + Else + d_cost_type = "common" + End if + + End If +%> + +
+ + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + +
+ <%=title_type%>°áÀǼ­ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù.(ÀϹݺñ¿ë) ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. + +
+
+ + + + + + + + + <% If int(Session("Depart_Code")) = 18 or int(Session("Depart_Code")) = 12 Then %> + + + + <% End If %> + + + + + + + + + + + + + + + + + + + + + + <% if session("User_Number") = "20250301" Then %> + + <% Else %> + + <% End If %> + + + + + + + + + + + + + + + + + +
+ checked <% End If %> >ÇÁ·ÎÁ§Æ®ºñ¿ë    + checked <% End If %>>ÀϹݺñ¿ë +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ºñ¿ëÇ׸ñ + + ¼¼ºÎ³»¿ë + + +
°Å·¡Ã³ + + + ÁõºùÀÏÀÚ + +
Áõºù¼­·ù + + ÀԱݰèÁÂ÷ºÎÆÄÀÏ ÂüÁ¶
Áö±ÞÀÏÀÚ + + * Áö±ÞÀÏÀڴ ȸ»çÀÇ ºñ¿ë Áö±Þ ±âÁØ¿¡ ¸ÂÃç ÀÛ¼º(¿ùº° ºñ¿ë ¸¶°¨ ¾È³» ¸ÞÀÏ È®ÀÎ)
+    ¿¹¿ÜÀûÀ¸·Î Áö±ÞÀÏÀÚ º¯°æÀÌ ÇÊ¿äÇÑ °æ¿ì ºñ°í¶õ¿¡ »çÀ¯ ±âÀç
ǰÀǹ®¼­ + + + Áõºù¹øÈ£ + + +
Áõºù÷ºÎ + + + +
+
+
+ °ø±Þ°¡¾× : 0/0 + ºÎ°¡¼¼¾× : 0/0 +
+
+ + + + + + + + + + + + + + + + +
ÁöÃâ°áÀÇ(1)ÇÁ·ÎÁ§Æ® ¹øÈ£ + + + 18 Then %> readonly <% End If %> + /> + °ø±Þ°¡¾× + ¿ø + ºÎ°¡¼¼¾×
+ ¿ø + <%=title_type%>ÃÑ¾× + ¿ø +
ºñ°í
(³»¿ë, ¼ö·®,
´Ü°¡ µî)
+ +
+ +
+
+ + +
+ + +
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense2_ajax_sebu_2014.asp b/approval/doc_expense2_ajax_sebu_2014.asp new file mode 100644 index 0000000..3065a0e --- /dev/null +++ b/approval/doc_expense2_ajax_sebu_2014.asp @@ -0,0 +1,57 @@ + + +<%' + + + d_cost_code = request("hangmok") + p_child_sn = request("p_child_sn") + p_sn = request("p_sn") + 'response.Write "hangmok : " & d_cost_code &"
" + p_depart = Session("Depart_Code") + d_cost_type = request("d_cost_type") + cost_type = request("cost_type") + + hangmok_code = request("hangmok") + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + + response.write "" & "
" + + If cost_type = 1 Then + query = " select d_cost_code from direct_costcode where d_cost_kind = '" & d_cost_type & "' and id = '" & d_cost_code & "' order by d_cost_kind, d_cost_parents " + Else + query = " select d_cost_code from direct_costcode where d_cost_kind = '" & d_cost_type & "' and id = '" & d_cost_code & "' order by d_cost_kind, d_cost_parents " + End if + 'response.write "" & "
" + rsp.Open query, adoConn, 1 + + hangmok_code = 0 + If rsp.recordCount > 0 Then + hangmok_code = rsp("d_cost_code") + End if + rsp.close + + If hangmok_code <> 0 Then + query = " select * from direct_costcode where d_cost_kind = '" & d_cost_type & "' and d_cost_parents = '" & hangmok_code & "' and d_cost_useyn = 'Y' order by attribute01 " + rsp.Open query, adoConn, 1 + + If rsp("Id")="129" or rsp("Id")="268" Then + response.write "" & "
" + response.write "" & "
" + Else + + for i=1 to rsp.recordCount + response.write "" & "
" + rsp.movenext + next + + End If + + rsp.close + End if +%> \ No newline at end of file diff --git a/approval/doc_expense2_print.asp b/approval/doc_expense2_print.asp new file mode 100644 index 0000000..045c09b --- /dev/null +++ b/approval/doc_expense2_print.asp @@ -0,0 +1,612 @@ + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + + dim doc_type : doc_type="doc_expense2_print" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim approval_chk + dim title_type + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + title = "ÀÚ±ÝÁýÇ༭" + title_type = "ÀÚ±ÝÁýÇ༭" + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date") + gap(4) = request("sel_pay_type") + gap(5) = request("txt_pay") + gap(6) = request("txt_pay_vat") + gap(7) = request("txt_pay_tot") + gap(8) = request("txt_client") + gap(9) = request("txt_p_sn") + gap(10) = request("txt_d_no") + print_type = request("print_type") + 'Response.Write "print_type : " & print_type & "
" + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + + + + if cint(print_type) = 2 then + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly +' Response.Write query & "
" + + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "r-" + + krc_no = tmpstr & ZeroFormat(krc_no,5) +' Response.Write "krc_no : " & krc_no & "
" + + tmp_p_sn = split(gap(9),",") + + Dim before_Approval_money + before_Approval_money = 0 + '2014-10-28 ÷ºÎµÈ ǰÀǼ­°¡ ÀÖÀ» °æ¿ì + If gap(10) <> "" Then + Query = " select * from project2.dbo.¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '" & gap(10) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount > 0 then + before_Approval_money = CLng(Replace(adoRs("target5"), ",", "")) + end if + adoRs.close + End if + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + '°ü·ÃÇ׸ñ ¸¸µé±â + 'tmp_money = int(replace(gap(7), ",", "")) 'ÁöÃâ(ÀÔ±Ý)ÃÑ¾× + tmp_money = int(replace(gap(5), ",", "")) '°ø±Þ°¡¾× + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip,remark1) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & title_type & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & gap(7) & "', " + query = query & "'" & gap(8) & "', " + query = query & "'" & gap(10) & "', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(9) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "', '3') " + 'Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" +' Response.Write query & "
" + adoconn.execute query + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + for i=1 to 9 + if trim(gap(i)) = "" then + gap(i) = " " + end if + next + for i=5 to 7 + if gap(i) = " " then + gap(i) = "0" + end if + next + elseif cint(print_type) = 1 then + ''»çÁ¶, ¸¶ÄÉÆÃ ÇÁ·ÎÁ§Æ®°¡ ¼¯¿© ÀÖ³ª È®ÀÎÇϱâ.. + ''¼¯¿©ÀÖÀ¸¸é °áÀç¶óÀο¡ ¹®Á¦°¡ µÇ±â ¶§¹®¿¡... + tmp_p_sn = split(gap(9),",") + end if +%> + + + +<%=GNB_TITLE%> + + + + + + onLoad="clsit();" <% end if %>> + +
+ + + + + + + + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ <%if approval_chk = "true" then%> + + <%else + Response.Write "º»ºÎ°¡ È¥ÀçµÈ ÇÁ·ÎÁ§Æ®´Â °áÀç »ó½ÅÀÌ ¾ÈµË´Ï´Ù. º»ºÎ¸¦ ±¸ºÐÇϼ¼¿ä" + end if%> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if gap(10) <> "" then + %> + + + + <% + end if + %> + + + + + + + +
+ + + + + +
+ + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + +
ÇÁ·ÎÁ§Æ® ¸í(¾÷¹«)<%=gap(1)%>
+
+ + + + + +
<%=title_type%>¸ñÀû
¹× ±âŸ»çÇ×
<%=ViewWord(gap(2))%>
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÁõºùÀÏÀÚ<%=gap(3)%>ÁöÃâ¹æ¹ý<%=gap(4)%>
°ø±Þ°¡¾×<%=gap(5)%> ¿øÁöÃâÃѾ×<%=gap(7)%> ¿ø
ºÎ°¡¼¼¾×<%=gap(6)%> ¿ø
°Å·¡Ã³<%=gap(8)%>ÀԱݰèÁ + <%if trim(gap(4)) = "°èÁÂÀÌü" then + Response.Write "º°µµ ÅëÀå »çº» ´ëü" + else + Response.Write "ÇØ´ç ¾øÀ½" + end if%> +
+
+ + + + + +
ǰÀǹ®¼­<%=gap(10)%>
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/approval/doc_expense2_print.asp_cns_250917 b/approval/doc_expense2_print.asp_cns_250917 new file mode 100644 index 0000000..1b89cdb --- /dev/null +++ b/approval/doc_expense2_print.asp_cns_250917 @@ -0,0 +1,612 @@ + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + + dim doc_type : doc_type="doc_expense2_print" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim approval_chk + dim title_type + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + title = "ÀÚ±ÝÁýÇ༭" + title_type = "ÀÚ±ÝÁýÇ༭" + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date") + gap(4) = request("sel_pay_type") + gap(5) = request("txt_pay") + gap(6) = request("txt_pay_vat") + gap(7) = request("txt_pay_tot") + gap(8) = request("txt_client") + gap(9) = request("txt_p_sn") + gap(10) = request("txt_d_no") + print_type = request("print_type") + 'Response.Write "print_type : " & print_type & "
" + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + + + + if cint(print_type) = 2 then + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly +' Response.Write query & "
" + + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "r-" + + krc_no = tmpstr & ZeroFormat(krc_no,5) +' Response.Write "krc_no : " & krc_no & "
" + + tmp_p_sn = split(gap(9),",") + + Dim before_Approval_money + before_Approval_money = 0 + '2014-10-28 ÷ºÎµÈ ǰÀǼ­°¡ ÀÖÀ» °æ¿ì + If gap(10) <> "" Then + Query = " select * from project2.dbo.¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '" & gap(10) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount > 0 then + before_Approval_money = CLng(Replace(adoRs("target5"), ",", "")) + end if + adoRs.close + End if + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + '°ü·ÃÇ׸ñ ¸¸µé±â + 'tmp_money = int(replace(gap(7), ",", "")) 'ÁöÃâ(ÀÔ±Ý)ÃÑ¾× + tmp_money = int(replace(gap(5), ",", "")) '°ø±Þ°¡¾× + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & title_type & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & gap(7) & "', " + query = query & "'" & gap(8) & "', " + query = query & "'" & gap(10) & "', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(9) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + 'Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" +' Response.Write query & "
" + adoconn.execute query + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + for i=1 to 9 + if trim(gap(i)) = "" then + gap(i) = " " + end if + next + for i=5 to 7 + if gap(i) = " " then + gap(i) = "0" + end if + next + elseif cint(print_type) = 1 then + ''»çÁ¶, ¸¶ÄÉÆÃ ÇÁ·ÎÁ§Æ®°¡ ¼¯¿© ÀÖ³ª È®ÀÎÇϱâ.. + ''¼¯¿©ÀÖÀ¸¸é °áÀç¶óÀο¡ ¹®Á¦°¡ µÇ±â ¶§¹®¿¡... + tmp_p_sn = split(gap(9),",") + end if +%> + + + +<%=GNB_TITLE%> + + + + + + onLoad="clsit();" <% end if %>> + +
+ + + + + + + + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ <%if approval_chk = "true" then%> + + <%else + Response.Write "º»ºÎ°¡ È¥ÀçµÈ ÇÁ·ÎÁ§Æ®´Â °áÀç »ó½ÅÀÌ ¾ÈµË´Ï´Ù. º»ºÎ¸¦ ±¸ºÐÇϼ¼¿ä" + end if%> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if gap(10) <> "" then + %> + + + + <% + end if + %> + + + + + + + +
+ + + + + +
+ + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + +
ÇÁ·ÎÁ§Æ® ¸í(¾÷¹«)<%=gap(1)%>
+
+ + + + + +
<%=title_type%>¸ñÀû
¹× ±âŸ»çÇ×
<%=ViewWord(gap(2))%>
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÁõºùÀÏÀÚ<%=gap(3)%>ÁöÃâ¹æ¹ý<%=gap(4)%>
°ø±Þ°¡¾×<%=gap(5)%> ¿øÁöÃâÃѾ×<%=gap(7)%> ¿ø
ºÎ°¡¼¼¾×<%=gap(6)%> ¿ø
°Å·¡Ã³<%=gap(8)%>ÀԱݰèÁ + <%if trim(gap(4)) = "°èÁÂÀÌü" then + Response.Write "º°µµ ÅëÀå »çº» ´ëü" + else + Response.Write "ÇØ´ç ¾øÀ½" + end if%> +
+
+ + + + + +
ǰÀǹ®¼­<%=gap(10)%>
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/approval/doc_expense2_print_2014.asp b/approval/doc_expense2_print_2014.asp new file mode 100644 index 0000000..2b7c247 --- /dev/null +++ b/approval/doc_expense2_print_2014.asp @@ -0,0 +1,1118 @@ + + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + set uploadform = Server.CreateObject("DEXT.FileUpload") + uploadform.Codepage = 949 + + dim doc_type : doc_type = "doc_expense2_print_2014" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(30, 10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + Dim target21(30) + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim approval_chk + dim title_type + + Dim before_Approval_money, current_Approval_money + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + + if uploadform("title_type") = "ÁöÃâ" then + title="Áö Ãâ °á ÀÇ ¼­" + else + title="ÀÔ ±Ý °á ÀÇ ¼­" + end if + title_type = mid(replace(title," ",""), 1, 2) + + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + 'response.Write "uploadform('cost_type') : " & uploadform("cost_type") &"
" + + cost_type = uploadform("cost_type") + If IsNull(cost_type) Or cost_type = "" Then + cost_type = 2 + End If + + If cost_type = 1 then + d_cost_type = "support" + Else + d_cost_type = "common" + End if + + contents_cnt = uploadform("p_sn").count + 'response.Write "cnt : " & uploadform("contents_cnt") &"
" + tmp_money = 0 + +''////////======================== +''°ª°¡Á®¿À±â + current_Approval_money = 0 + for i=1 to contents_cnt + gap(i, 1) = replace(replace(replace(uploadform("p_sn")(i)," ","")," ",""),"¡¡","") 'ÇÁ·ÎÁ§Æ® ¸í (20170810 replace Ãß°¡) + gap(i, 1) = replace(gap(i, 1), "@NPER@", "&") + gap(i, 2) = uploadform("expence_reason")(i) '¸Þ¸ð + gap(i, 3) = "" ' + gap(i, 4) = "" ' + gap(i, 5) = uploadform("expence_money")(i) '°ø±Þ°¡¾× + gap(i, 6) = uploadform("expence_vat")(i) 'ºÎ°¡¼¼¾× + gap(i, 7) = uploadform("expence_sum")(i) 'ÀÔ±ÝÃÑ¾× + current_Approval_money = current_Approval_money + CDbl(Replace(gap(i, 5), ",", "")) + gap(i, 8) = "" ' + gap(i, 9) = replace(replace(replace(uploadform("p_sn")(i)," ","")," ",""),"¡¡","") 'ÇÁ·ÎÁ§Æ® ¹øÈ£(20170810 Ãß°¡ replace Ãß°¡) + gap(i, 10) = uploadform("expence_reason")(i) 'ºñ°í³»¿ë + + target21(i) = ( cstr(i) + "^^" + gap(i, 9) + "^//^" + gap(i, 5) + "^//^" + gap(i, 6) + "^//^" + gap(i, 7) + "^//^" + gap(i, 10) + "^//^") + +' response.Write "gap(i, 1) : " & gap(i, 1) &"
" +' response.Write "gap(i, 2) : " & gap(i, 2) &"
" +' response.Write "gap(i, 3) : " & gap(i, 3) &"
" +' response.Write "gap(i, 4) : " & gap(i, 4) &"
" +' response.Write "gap(i, 5) : " & gap(i, 5) &"
" +' response.Write "gap(i, 6) : " & gap(i, 6) &"
" +' response.Write "gap(i, 7) : " & gap(i, 7) &"
" +' response.Write "gap(i, 8) : " & gap(i, 8) &"
" +' response.Write "gap(i, 9) : " & gap(i, 9) &"
" +' response.Write "gap(i, 10) : " & gap(i, 10) &"
" +' response.Write "target21(i) : " & target21(i) &"
" + Next + tmp_money = current_Approval_money + + 'gap(10) = uploadform("txt_d_no") 'ǰÀǹ®¼­ + print_type = uploadform("print_type") + + hangmok = uploadform("hangmok") 'ºñ¿ëÇ׸ñ + sebu = uploadform("sebu") '¼¼ºÎ³»¿ë + expence_company = uploadform("expence_company")'°Å·¡Ã³ + expence_date = uploadform("expence_date") 'ÁõºùÀÏÀÚ + expence_way = uploadform("expence_way") 'ÁöÃâ¹æ¹ý + + expence_num = uploadform("expence_num") 'ÁöÃâ¹æ¹ý + expence_company_num = uploadform("expence_company_num") 'ÁöÃâ¹æ¹ý + expence_taxtype = uploadform("expence_taxtype") 'ÁöÃâ¹æ¹ý + expence_item = uploadform("expence_item") 'ÁöÃâ¹æ¹ý + + k_company = uploadform("k_company") 'ȸ»ç + payment_date = uploadform("payment_date") 'ÁõºùÀÏÀÚ + + total_expence_money = uploadform("total_expence_money") '°ø±Þ°¡ÃÑ¾× + total_expence_vat = uploadform("total_expence_vat") 'ºÎ°¡¼¼ÃÑ¾× + total_expence_sum = uploadform("total_expence_sum") 'ÁöÃâÃÑ¾× ÇÕ + + attach_d_no = uploadform("txt_d_no") 'ǰÀǼ­ + + 'Response.Write "hangmok : " & hangmok & "
" + 'Response.Write "sebu : " & sebu & "
" + 'Response.Write "expence_company : " & expence_company & "
" + 'Response.Write "expence_date : " & expence_date & "
" + 'Response.Write "expence_way : " & expence_way & "
" + 'Response.Write "attach_d_no : " & attach_d_no & "
" + 'Response.Write "d_cost_type : " & d_cost_type & "
" + 'Response.Write "cost_type : " & cost_type & "
" + + + 'd_cost_type = uploadform("d_cost_type") '½Ç»çor¿¬±¸ + + 'Response.Write "p_sub_type : " & p_sub_type & "
" + 'Response.Write "est : " & est & "
" + + tmp_txt1 = uploadform("tmp_txt1") + tmp_txt2 = uploadform("tmp_txt2") + tmp_txt3 = uploadform("tmp_txt3") + tmp_txt4 = uploadform("tmp_txt4") + tmp_txt5 = uploadform("tmp_txt5") + tmp_txt6 = uploadform("tmp_txt6") + tmp_txt7 = uploadform("tmp_txt7") + tmp_txt8 = uploadform("tmp_txt8") + tmp_txt9 = uploadform("tmp_txt9") + tmp_txt10 = uploadform("tmp_txt10") + + 'response.Write tmp_txt1 &" ,"& tmp_txt2 &" ,"& tmp_txt3 &" ,"& tmp_txt4 &" ,"& tmp_txt5 &" ,"& tmp_txt6 &" ,"& tmp_txt7 &" ,"& tmp_txt8 &" ,"& tmp_txt9 &" ,"& tmp_txt10 + + 'ºñ¿ë Ç׸ñ °¡Á®¿À±â + 'response.Write "hangmok : " & hangmok & "
" + if hangmok <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& hangmok & "'" + query = query & " AND d_cost_parents = '0' " + + 'response.Write "query : " & query & "
" + + rsp.Open query, adoConn, 1 + hangmok_name = rsp("d_cost_name") + rsp.close + end if + + '¼¼ºÎ³»¿ë °¡Á®¿À±â + if sebu <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "'" + rsp.Open query, adoConn, 1 + sebu_name = rsp("d_cost_name") + rsp.close + end if + + +'response.write "cint(print_type) : " & cint(print_type) & "
" + If cint(print_type) = 0 Then + print_type = 1 + End if + + If attach_d_no <> "" Then + Query = " select * from project2.dbo.¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '" & attach_d_no & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount > 0 Then + pre_Approval_money = CLng(Replace(adoRs("target5"), ",", "")) + before_Approval_money = CLng(Replace(adoRs("target5"), ",", "")) + end if + adoRs.close + + Query = "select * " + Query = Query & "from ¹®¼­³»¿ë " + Query = Query & "where ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' and del_yes_no = 'no' " + Query = Query & "and target9 like '" & attach_d_no & "' " + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount > 0 Then + For i = 1 To adoRs.recordcount + approval_money = Replace(adoRs("target5"), ",", "") + before_Approval_money = before_Approval_money - approval_money + adors.moveNext + next + end if + adors.close + End if + + if cint(print_type) = 2 then + 'response.write "d_cost_type : " & d_cost_type & "
" + + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,10,1) = 'A' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + + if title_type = "ÁöÃâ" then + tmpstr = tmpstr & "A-" + end If + + krc_no = tmpstr & ZeroFormat(krc_no,5) + ' response.write "tmpstr : " & tmpstr & "//ZeroFormat(krc_no,5) : " & ZeroFormat(krc_no,5) & "
" + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + %> + + + + <% + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.79" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" )then + response.write "
d_orders = "& d_orders + response.write "
d_order_cnt = "& d_order_cnt + response.write "
my_pos = "& my_pos + response.write "
tmp_dcode = "& tmp_dcode(d_code, 1) + response.write "
d_order4 = "& tmp_ess(tmp_dcode(d_code, 1), 0) + response.write "
d_order5 = "& tmp_ess(0, 0) + end if + + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + 'Response.write krc_no + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target10, target11, target12, target13, target14, target15, target16, target17, target18, target19, remark20, target20, " + query = query & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + query = query & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + query = query & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50, " + query = query & " target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip,remark1,remark19) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & "" & "', " 'ÇÁ·ÎÁ§Æ®¸í(target1) + query = query & "'" & "" & "', " + query = query & "'" & expence_date & "', " 'ÁõºùÀÏÀÚ(target3) + query = query & "'" & expence_way & "', " 'ÁöÃâ¹æ¹ý(target4) + if hangmok = "202" then + query = query & "'-" & total_expence_money & "', " '°ø±Þ°¡¾×(target5) + query = query & "'-" & total_expence_vat & "', " 'ºÎ°¡¼¼¾×(target6) + query = query & "'-" & total_expence_sum & "', " 'ÀÔ±ÝÃѾ×(target7) + else + query = query & "'" & total_expence_money & "', " '°ø±Þ°¡¾×(target5) + query = query & "'" & total_expence_vat & "', " 'ºÎ°¡¼¼¾×(target6) + query = query & "'" & total_expence_sum & "', " 'ÀÔ±ÝÃѾ×(target7) + end if + query = query & "'" & expence_company & "', " '°Å·¡Ã³(target8) + query = query & "'" & attach_d_no & "', " 'ǰÀǹ®¼­(target9) + + query = query & "'" & "" & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target10),(¾øÀ½) + query = query & "'" & hangmok & "', " 'ºñ¿ëÇ׸ñ(target11) + query = query & "'" & sebu & "', " '¼¼ºÎ³»¿ë(target12) + query = query & "'" & "" & "', " 'Á÷Á¢ºñ¿¹»ê(target13) + query = query & "'" & "" & "', " '´©ÀûÁýÇà±Ý¾×(target14) + query = query & "'" & "" & "', " 'Â÷¾×(target15) + query = query & "'" & d_cost_type & "', " '½Ç»ç or ¿¬±¸(target16) + query = query & "'" & "" & "', " 'Ãß°¡»çÀ¯(target17) + query = query & "'" & expence_num & "', " '±¹¼¼Ã»¹øÈ£(target18) + query = query & "'" & expence_company_num & "|" & expence_taxtype & "|" & expence_item & "', " '°Å·¡Ã³»ç¾÷ÀÚ¹øÈ£|¼¼±Ý±¸ºÐ|´ëǥǰ¸ñ(target19) + query = query & "'" & k_company & "', " '±¹¼¼Ã»¹øÈ£(target18) + query = query & "'" & "" & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target20) ¾øÀ½ + + for i=1 to 30 + query = query & "'" & target21(i) & "', " + next + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & "" & "', " 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "', '3', " + query = query & "'" & payment_date & "') " 'Áö±ÞÀÏÀÚ(remark19) + 'Response.Write query & "
" + adoconn.execute query + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "°áÀǼ­', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + 'Response.End + adoconn.execute query + '==================================================================== + + ''========================================================================================================================================================= + '(2014-01-20) °áÀç°¡ ¿Ã¶ó°¡¸é direct_cost Å×À̺íÀÇ act_sum¿¡ ¹Ù·Î ¾÷µ¥ÀÌÆ® ½ÃÅ´. ¹Ý·Á³ª °áÀçÃë¼Ò½Ã¿¡´Â ÇØ´ç ±Ý¾×¸¸Å­ »¬ °ÍÀÓ. + If cost_type = 1 Then + for i=1 to contents_cnt + 'response.Write "gap("&i&", 1) : " & gap(i, 1) &"
" + 'response.Write "gap("&i&", 2) : " & gap(i, 2) &"
" + 'response.Write "gap("&i&", 5) : " & gap(i, 5) &"
" + 'response.Write "gap("&i&", 6) : " & gap(i, 6) &"
" + 'response.Write "gap("&i&", 7) : " & gap(i, 7) &"
" + 'response.Write "gap("&i&", 9) : " & gap(i, 9) &"
" + 'response.Write "gap("&i&", 10) : " & gap(i, 10) &"
" + + 'response.Write "hangmok : " & hangmok &"
" + 'response.Write "sebu : " & sebu &"
" + 'response.Write "expence_company : " & expence_company &"
" + 'response.Write "expence_date : " & expence_date &"
" + + 'response.Write "d_cost_type : " & d_cost_type &"
" + 'response.Write "cost_type : " & cost_type &"
" + + ' gap(i, 1) 'ÇÁ·ÎÁ§Æ® ¸í + ' gap(i, 2) '¸Þ¸ð + ' gap(i, 5) '°ø±Þ°¡¾× + ' gap(i, 6) 'ºÎ°¡¼¼¾× + ' gap(i, 7) 'ÀÔ±ÝÃÑ¾× + ' gap(i, 9) 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + ' gap(i, 10) 'ºñ°í³»¿ë + + query = " SELECT est_money, act_money " + query = query & " FROM direct_cost " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& "support" &"' " + query = query & " AND p_child_sn = '"& gap(i, 1) &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + rsm.Open query, adoConn, 1 + + tmp_money = gap(i, 5) + + If rsm.recordCount > 0 Then + act_money = CDbl(Replace(rsm("act_money"), ",", "")) + CDbl(Replace(tmp_money, ",", "")) + cha_money = CDbl(Replace(act_money, ",", "")) - CDbl(Replace(rsm("est_money"), ",", "")) + + rsm.close + + query = " UPDATE direct_cost " + query = query & " SET act_money = '"& act_money &"' " + query = query & " ,cha_money = '"& cha_money &"' " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& "support" &"' " + query = query & " AND p_child_sn = '"& gap(i, 1) &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + 'Response.Write query & "
" + adoconn.execute query + Else + act_money = CDbl(Replace(tmp_money, ",", "")) + cha_money = 0 - CDbl(Replace(tmp_money, ",", "")) + + rsm.close + + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "' " + rsm.Open query, adoConn, 1 + + tmp_sebu = rsm("d_cost_name") + rsm.close + + + Dim temp_project_subject + temp_project_subject = "" + + Query = "SELECT * " + Query = Query & "FROM V_PROJECT_METHOD " + If Len(gap(i, 1)) < 11 Then + Query = Query & "WHERE p_sn = '" & gap(i, 1) & "' " + Else + Query = Query & "WHERE p_child_sn = '" & gap(i, 1) & "' " + End if + rsm.open Query, adoconn,adopenstatic, adlockreadonly + + if rsm.recordcount > 0 then + temp_project_subject = rsm("p_subject") + end if + rsm.close + + query = "insert into direct_cost (" + query = query & " p_sn, krc_no, p_subject, hangmok, sebu, " + query = query & " act_money, cha_money, " + query = query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, write_count,p_subject_group, p_sn_group, cost_type, p_child_sn" + query = query & " ) values (" + query = query & "'" & Left(gap(i, 9), 7) & "', " + query = query & "'" & krc_no & "', " + query = query & "'" & temp_project_subject & "', " + query = query & "'" & hangmok & "', " + query = query & "'" & tmp_sebu & "', " + query = query & "'" & act_money & "', " + query = query & "'" & cha_money & "', " + query = query & "'" & date() & "'," + query = query & "'" & time() & "'," + query = query & "'" & session("loginuser") & "', " + query = query & "'" & session("user_number") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_HOST") & "', " + query = query & "'" & 1 & "', " + query = query & "'" & p_subject_group & "', " + query = query & "'" & p_sn_group & "', '" & "support" & "', '" & gap(i, 9) & "')" + + adoconn.execute query + End if + Next + End if + + + if uploadform("doc_attach_file").count > 0 Then + Set fso = Server.CreateObject("Scripting.FileSystemObject") + for i=1 To uploadform("doc_attach_file").count + if fso.FolderExists(Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no) = False Then + fso.CreateFolder Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no + End If + fso.MoveFile Server.Mappath("/") & uploadform("doc_attach_file")(i), Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no & "/" & krc_no & "_" & Cstr(i) & ".jpg" + Next + Set fso = Nothing + End If + ''========================================================================================================================================================= + + elseif cint(print_type) = 0 Then + elseif cint(print_type) = 1 then + end if + + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.79" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" or Request.ServerVariables("REMOTE_ADDR") = "::1")then + response.write "
my_type = "& tmp_type + response.write "
d_order_cnt = "& d_order_cnt + response.write "
my_pos = "& my_pos + response.write "
tmp_dcode = "& tmp_dcode(d_code, 1) + response.write "
d_order4 = "& tmp_ess(tmp_dcode(d_code, 1), 0) + response.write "
d_order5 = "& tmp_ess(0, 0) + end if + response.write my_pos +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + + onLoad="clsit();" <% end if %>> +
+ + + + + + + + + + + + + + + + + + + + + + + + + <% For i = 1 To contents_cnt %> + + + + + + <% Next %> + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ <%if approval_chk = "true" then%> + + <%else + Response.Write "º»ºÎ°¡ È¥ÀçµÈ ÇÁ·ÎÁ§Æ®´Â °áÀç »ó½ÅÀÌ ¾ÈµË´Ï´Ù. º»ºÎ¸¦ ±¸ºÐÇϼ¼¿ä" + end if%> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if attach_d_no <> "" then + %> + + + + <% + end if + %> + + + + + + + + +
+ + + + + +
+ <%if title_type = "ÁöÃâ" then%> + + <%else%> + + <%end if%> + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + + + + + + + + + + + + + + + + <% if cint(print_type) = 1 then %> + + + + + <% End If %> +
ºñ¿ëÇ׸ñ<%=hangmok_name%>¼¼ºÎ³»¿ë<%=sebu_name%>
°Å·¡Ã³<%=expence_company%>ÁõºùÀÏÀÚ<%=expence_date%>
Áõºù¼­·ù<%=expence_way%>Áõºù¹øÈ£<%=expence_num%>
Áö±ÞÀÏÀÚ<%=payment_date%>
Áõºù÷ºÎ +
+ <% if uploadform("doc_attach")(1) <> "" Then %> + <% + set objImage = Server.CreateObject("DEXT.ImageProc") + objImage.AutoMakeFolder = True + For i=1 To uploadform("doc_attach").count + if true = objImage.SetSourceFile(uploadform("doc_attach")(i).TempFilePath) then + tmpFileName = "\Upload\DOC_ATTACH\tmp\" & date_time() & "_" & Session("User_Number") & "_" & Cstr(i) & ".jpg" + thumb_image = objImage.SaveasThumbnail(Server.MapPath("/") & tmpFileName, objImage.ImageWidth, objImage.ImageHeight, false) + %> + +
+ +
+ <% + End If + Next + Set objImage = Nothing + %> + <% End If %> +
+
+
+ + + + + + + + + + <% + Dim project_mapping_check + project_mapping_check = True + total_expence_money = 0 + total_expence_vat = 0 + total_expence_sum = 0 + For i = 1 To contents_cnt + %> + + <% + Dim tmp_p_subject + tmp_p_subject = "" + + Query = "SELECT * " + Query = Query & "FROM V_PROJECT_METHOD " + If CInt(left(gap(i, 1), 4)) < 1407 Then + Query = Query & "WHERE p_sn = '" & gap(i, 1) & "' " + Else + If CInt(left(gap(i, 1), 4)) = 9999 Then + Query = Query & "WHERE p_sn = '" & gap(i, 1) & "' " + Else + Query = Query & "WHERE p_child_sn = '" & gap(i, 1) & "' " + End if + End if + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount > 0 then + tmp_p_subject = adors("p_subject") + Else + If gap(i, 1) = "99999" Then + tmp_p_subject = "¿î¿µ ¹× °ü¸®¾÷¹«" + End if + end if + adors.close + + If tmp_p_subject = "" Then + tmp_p_subject = "ÇÁ·ÎÁ§Æ® ÄÚµå ¸ÊÇÎ ¿À·ù" + project_mapping_check = false + End if + %> + + + + + + <% + total_expence_money = total_expence_money + CDbl(Replace(gap(i, 5), ",", "")) + total_expence_vat = total_expence_vat + CDbl(Replace(gap(i, 6), ",", "")) + total_expence_sum = total_expence_sum + CDbl(Replace(gap(i, 7), ",", "")) + %> + + <% + Next + %> + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ®°ø±Þ°¡¾×ºÎ°¡¼¼¾×ÁöÃâÃѾ׺ñ°í(³»¿ë, ¼ö·®, ´Ü°¡)
<%=tmp_p_subject&" ("&gap(i, 1)&")"%><%=gap(i, 5)%><%=gap(i, 6)%><%=gap(i, 7)%><%=ViewWord(gap(i, 10))%>
ÇÕ°è<%=FormatNumber(total_expence_money, 0)%><%=FormatNumber(total_expence_vat, 0)%><%=FormatNumber(total_expence_sum, 0)%> 
+ +
+ + + + + + <% + Query = "select * ,dbo.SPLIT(target21,'^//^',5) AS remark " + Query = Query & "from ¹®¼­³»¿ë " + Query = Query & "where ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' and del_yes_no = 'no' " + Query = Query & "and target9 like '" & attach_d_no & "' " + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + Dim approval_money, remark + approval_money = "0" + remark= "" + + if adoRs.recordcount > 0 then + 'tmp_p_subject = adors("p_subject") + %> + + + + + + + + + + + <% + For i = 1 To adoRs.recordcount + approval_money = Replace(adoRs("target5"), ",", "") + remark = ViewWord(adoRs("remark")) + If Len(remark) > 20 Then + remark = Left(remark, 20) & "..." + End if + %> + + + + + + + + <% + adors.moveNext + next + end if + adors.close + %> +
ǰÀǹ®¼­ + <%=attach_d_no%> [ ǰÀǹ®¼­ ±Ý¾× : <%=FormatNumber(pre_Approval_money, 0)%>¿ø ], [ ³²Àº±Ý¾× : + <% If CDbl(before_Approval_money) < 0 Then %> + <%=FormatNumber(before_Approval_money, 0)%> + <% Else %> + <%=FormatNumber(before_Approval_money, 0)%> + <% End If %> + ¿ø ] +
+ ǰÀǼ­¸¦ ÀÌ¿ëÇÑ ÁöÃâ°áÀǼ­ »ç¿ë ³»¿ª +
¹®¼­Á¦¸ñ¹®¼­¹øÈ£ÁöÃâ±Ý¾×(VATº°µµ)ÁõºùÀÏ/ÀÛ¼ºÀÚºñ°í(³»¿ë, ¼ö·®, ´Ü°¡)
<%=adoRs("¹®¼­Á¦¸ñ")%><%=adoRs("¹®¼­¹øÈ£")%><%=FormatNumber(approval_money, 0)%><%=adoRs("target3")%> / <%=adoRs("login_À̸§")%><%=remark%>
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + + + +<% +set uploadform = nothing +%> \ No newline at end of file diff --git a/approval/doc_expense2_print_2014.asp_250908_cns b/approval/doc_expense2_print_2014.asp_250908_cns new file mode 100644 index 0000000..21e5309 --- /dev/null +++ b/approval/doc_expense2_print_2014.asp_250908_cns @@ -0,0 +1,1109 @@ + + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + set uploadform = Server.CreateObject("DEXT.FileUpload") + uploadform.Codepage = 949 + + dim doc_type : doc_type = "doc_expense2_print_2014" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(30, 10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + Dim target21(30) + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim approval_chk + dim title_type + + Dim before_Approval_money, current_Approval_money + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + + if uploadform("title_type") = "ÁöÃâ" then + title="Áö Ãâ °á ÀÇ ¼­" + else + title="ÀÔ ±Ý °á ÀÇ ¼­" + end if + title_type = mid(replace(title," ",""), 1, 2) + + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + 'response.Write "uploadform('cost_type') : " & uploadform("cost_type") &"
" + + cost_type = uploadform("cost_type") + If IsNull(cost_type) Or cost_type = "" Then + cost_type = 2 + End If + + If cost_type = 1 then + d_cost_type = "support" + Else + d_cost_type = "common" + End if + + contents_cnt = uploadform("p_sn").count + 'response.Write "cnt : " & uploadform("contents_cnt") &"
" + tmp_money = 0 + +''////////======================== +''°ª°¡Á®¿À±â + current_Approval_money = 0 + for i=1 to contents_cnt + gap(i, 1) = replace(replace(replace(uploadform("p_sn")(i)," ","")," ",""),"¡¡","") 'ÇÁ·ÎÁ§Æ® ¸í (20170810 replace Ãß°¡) + gap(i, 1) = replace(gap(i, 1), "@NPER@", "&") + gap(i, 2) = uploadform("expence_reason")(i) '¸Þ¸ð + gap(i, 3) = "" ' + gap(i, 4) = "" ' + gap(i, 5) = uploadform("expence_money")(i) '°ø±Þ°¡¾× + gap(i, 6) = uploadform("expence_vat")(i) 'ºÎ°¡¼¼¾× + gap(i, 7) = uploadform("expence_sum")(i) 'ÀÔ±ÝÃÑ¾× + current_Approval_money = current_Approval_money + CDbl(Replace(gap(i, 5), ",", "")) + gap(i, 8) = "" ' + gap(i, 9) = replace(replace(replace(uploadform("p_sn")(i)," ","")," ",""),"¡¡","") 'ÇÁ·ÎÁ§Æ® ¹øÈ£(20170810 Ãß°¡ replace Ãß°¡) + gap(i, 10) = uploadform("expence_reason")(i) 'ºñ°í³»¿ë + + target21(i) = ( cstr(i) + "^^" + gap(i, 9) + "^//^" + gap(i, 5) + "^//^" + gap(i, 6) + "^//^" + gap(i, 7) + "^//^" + gap(i, 10) + "^//^") + +' response.Write "gap(i, 1) : " & gap(i, 1) &"
" +' response.Write "gap(i, 2) : " & gap(i, 2) &"
" +' response.Write "gap(i, 3) : " & gap(i, 3) &"
" +' response.Write "gap(i, 4) : " & gap(i, 4) &"
" +' response.Write "gap(i, 5) : " & gap(i, 5) &"
" +' response.Write "gap(i, 6) : " & gap(i, 6) &"
" +' response.Write "gap(i, 7) : " & gap(i, 7) &"
" +' response.Write "gap(i, 8) : " & gap(i, 8) &"
" +' response.Write "gap(i, 9) : " & gap(i, 9) &"
" +' response.Write "gap(i, 10) : " & gap(i, 10) &"
" +' response.Write "target21(i) : " & target21(i) &"
" + Next + tmp_money = current_Approval_money + + 'gap(10) = uploadform("txt_d_no") 'ǰÀǹ®¼­ + print_type = uploadform("print_type") + + hangmok = uploadform("hangmok") 'ºñ¿ëÇ׸ñ + sebu = uploadform("sebu") '¼¼ºÎ³»¿ë + expence_company = uploadform("expence_company")'°Å·¡Ã³ + expence_date = uploadform("expence_date") 'ÁõºùÀÏÀÚ + expence_way = uploadform("expence_way") 'ÁöÃâ¹æ¹ý + + expence_num = uploadform("expence_num") 'ÁöÃâ¹æ¹ý + expence_company_num = uploadform("expence_company_num") 'ÁöÃâ¹æ¹ý + expence_taxtype = uploadform("expence_taxtype") 'ÁöÃâ¹æ¹ý + expence_item = uploadform("expence_item") 'ÁöÃâ¹æ¹ý + + k_company = uploadform("k_company") 'ȸ»ç + + total_expence_money = uploadform("total_expence_money") '°ø±Þ°¡ÃÑ¾× + total_expence_vat = uploadform("total_expence_vat") 'ºÎ°¡¼¼ÃÑ¾× + total_expence_sum = uploadform("total_expence_sum") 'ÁöÃâÃÑ¾× ÇÕ + + attach_d_no = uploadform("txt_d_no") 'ǰÀǼ­ + + 'Response.Write "hangmok : " & hangmok & "
" + 'Response.Write "sebu : " & sebu & "
" + 'Response.Write "expence_company : " & expence_company & "
" + 'Response.Write "expence_date : " & expence_date & "
" + 'Response.Write "expence_way : " & expence_way & "
" + 'Response.Write "attach_d_no : " & attach_d_no & "
" + 'Response.Write "d_cost_type : " & d_cost_type & "
" + 'Response.Write "cost_type : " & cost_type & "
" + + + 'd_cost_type = uploadform("d_cost_type") '½Ç»çor¿¬±¸ + + 'Response.Write "p_sub_type : " & p_sub_type & "
" + 'Response.Write "est : " & est & "
" + + tmp_txt1 = uploadform("tmp_txt1") + tmp_txt2 = uploadform("tmp_txt2") + tmp_txt3 = uploadform("tmp_txt3") + tmp_txt4 = uploadform("tmp_txt4") + tmp_txt5 = uploadform("tmp_txt5") + tmp_txt6 = uploadform("tmp_txt6") + tmp_txt7 = uploadform("tmp_txt7") + tmp_txt8 = uploadform("tmp_txt8") + tmp_txt9 = uploadform("tmp_txt9") + tmp_txt10 = uploadform("tmp_txt10") + + 'response.Write tmp_txt1 &" ,"& tmp_txt2 &" ,"& tmp_txt3 &" ,"& tmp_txt4 &" ,"& tmp_txt5 &" ,"& tmp_txt6 &" ,"& tmp_txt7 &" ,"& tmp_txt8 &" ,"& tmp_txt9 &" ,"& tmp_txt10 + + 'ºñ¿ë Ç׸ñ °¡Á®¿À±â + 'response.Write "hangmok : " & hangmok & "
" + if hangmok <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& hangmok & "'" + query = query & " AND d_cost_parents = '0' " + + 'response.Write "query : " & query & "
" + + rsp.Open query, adoConn, 1 + hangmok_name = rsp("d_cost_name") + rsp.close + end if + + '¼¼ºÎ³»¿ë °¡Á®¿À±â + if sebu <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "'" + rsp.Open query, adoConn, 1 + sebu_name = rsp("d_cost_name") + rsp.close + end if + + +'response.write "cint(print_type) : " & cint(print_type) & "
" + If cint(print_type) = 0 Then + print_type = 1 + End if + + If attach_d_no <> "" Then + Query = " select * from project2.dbo.¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '" & attach_d_no & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount > 0 Then + pre_Approval_money = CLng(Replace(adoRs("target5"), ",", "")) + before_Approval_money = CLng(Replace(adoRs("target5"), ",", "")) + end if + adoRs.close + + Query = "select * " + Query = Query & "from ¹®¼­³»¿ë " + Query = Query & "where ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' and del_yes_no = 'no' " + Query = Query & "and target9 like '" & attach_d_no & "' " + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount > 0 Then + For i = 1 To adoRs.recordcount + approval_money = Replace(adoRs("target5"), ",", "") + before_Approval_money = before_Approval_money - approval_money + adors.moveNext + next + end if + adors.close + End if + + if cint(print_type) = 2 then + 'response.write "d_cost_type : " & d_cost_type & "
" + + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,10,1) = 'A' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + + if title_type = "ÁöÃâ" then + tmpstr = tmpstr & "A-" + end If + + krc_no = tmpstr & ZeroFormat(krc_no,5) + ' response.write "tmpstr : " & tmpstr & "//ZeroFormat(krc_no,5) : " & ZeroFormat(krc_no,5) & "
" + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + %> + + + + <% + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.79" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" )then + response.write "
d_orders = "& d_orders + response.write "
d_order_cnt = "& d_order_cnt + response.write "
my_pos = "& my_pos + response.write "
tmp_dcode = "& tmp_dcode(d_code, 1) + response.write "
d_order4 = "& tmp_ess(tmp_dcode(d_code, 1), 0) + response.write "
d_order5 = "& tmp_ess(0, 0) + end if + + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + 'Response.write krc_no + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target10, target11, target12, target13, target14, target15, target16, target17, target18, target19, remark20, target20, " + query = query & " target21, target22, target23, target24, target25, target26, target27, target28, target29, target30, " + query = query & " target31, target32, target33, target34, target35, target36, target37, target38, target39, target40, " + query = query & " target41, target42, target43, target44, target45, target46, target47, target48, target49, target50, " + query = query & " target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip,remark1) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & "" & "', " 'ÇÁ·ÎÁ§Æ®¸í(target1) + query = query & "'" & "" & "', " + query = query & "'" & expence_date & "', " 'ÁõºùÀÏÀÚ(target3) + query = query & "'" & expence_way & "', " 'ÁöÃâ¹æ¹ý(target4) + if hangmok = "202" then + query = query & "'-" & total_expence_money & "', " '°ø±Þ°¡¾×(target5) + query = query & "'-" & total_expence_vat & "', " 'ºÎ°¡¼¼¾×(target6) + query = query & "'-" & total_expence_sum & "', " 'ÀÔ±ÝÃѾ×(target7) + else + query = query & "'" & total_expence_money & "', " '°ø±Þ°¡¾×(target5) + query = query & "'" & total_expence_vat & "', " 'ºÎ°¡¼¼¾×(target6) + query = query & "'" & total_expence_sum & "', " 'ÀÔ±ÝÃѾ×(target7) + end if + query = query & "'" & expence_company & "', " '°Å·¡Ã³(target8) + query = query & "'" & attach_d_no & "', " 'ǰÀǹ®¼­(target9) + + query = query & "'" & "" & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target10),(¾øÀ½) + query = query & "'" & hangmok & "', " 'ºñ¿ëÇ׸ñ(target11) + query = query & "'" & sebu & "', " '¼¼ºÎ³»¿ë(target12) + query = query & "'" & "" & "', " 'Á÷Á¢ºñ¿¹»ê(target13) + query = query & "'" & "" & "', " '´©ÀûÁýÇà±Ý¾×(target14) + query = query & "'" & "" & "', " 'Â÷¾×(target15) + query = query & "'" & d_cost_type & "', " '½Ç»ç or ¿¬±¸(target16) + query = query & "'" & "" & "', " 'Ãß°¡»çÀ¯(target17) + query = query & "'" & expence_num & "', " '±¹¼¼Ã»¹øÈ£(target18) + query = query & "'" & expence_company_num & "|" & expence_taxtype & "|" & expence_item & "', " '°Å·¡Ã³»ç¾÷ÀÚ¹øÈ£|¼¼±Ý±¸ºÐ|´ëǥǰ¸ñ(target19) + query = query & "'" & k_company & "', " '±¹¼¼Ã»¹øÈ£(target18) + query = query & "'" & "" & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target20) ¾øÀ½ + + for i=1 to 30 + query = query & "'" & target21(i) & "', " + next + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & "" & "', " 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "', '3') " + 'Response.Write query & "
" + adoconn.execute query + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "°áÀǼ­', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + 'Response.End + adoconn.execute query + '==================================================================== + + ''========================================================================================================================================================= + '(2014-01-20) °áÀç°¡ ¿Ã¶ó°¡¸é direct_cost Å×À̺íÀÇ act_sum¿¡ ¹Ù·Î ¾÷µ¥ÀÌÆ® ½ÃÅ´. ¹Ý·Á³ª °áÀçÃë¼Ò½Ã¿¡´Â ÇØ´ç ±Ý¾×¸¸Å­ »¬ °ÍÀÓ. + If cost_type = 1 Then + for i=1 to contents_cnt + 'response.Write "gap("&i&", 1) : " & gap(i, 1) &"
" + 'response.Write "gap("&i&", 2) : " & gap(i, 2) &"
" + 'response.Write "gap("&i&", 5) : " & gap(i, 5) &"
" + 'response.Write "gap("&i&", 6) : " & gap(i, 6) &"
" + 'response.Write "gap("&i&", 7) : " & gap(i, 7) &"
" + 'response.Write "gap("&i&", 9) : " & gap(i, 9) &"
" + 'response.Write "gap("&i&", 10) : " & gap(i, 10) &"
" + + 'response.Write "hangmok : " & hangmok &"
" + 'response.Write "sebu : " & sebu &"
" + 'response.Write "expence_company : " & expence_company &"
" + 'response.Write "expence_date : " & expence_date &"
" + + 'response.Write "d_cost_type : " & d_cost_type &"
" + 'response.Write "cost_type : " & cost_type &"
" + + ' gap(i, 1) 'ÇÁ·ÎÁ§Æ® ¸í + ' gap(i, 2) '¸Þ¸ð + ' gap(i, 5) '°ø±Þ°¡¾× + ' gap(i, 6) 'ºÎ°¡¼¼¾× + ' gap(i, 7) 'ÀÔ±ÝÃÑ¾× + ' gap(i, 9) 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + ' gap(i, 10) 'ºñ°í³»¿ë + + query = " SELECT est_money, act_money " + query = query & " FROM direct_cost " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& "support" &"' " + query = query & " AND p_child_sn = '"& gap(i, 1) &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + rsm.Open query, adoConn, 1 + + tmp_money = gap(i, 5) + + If rsm.recordCount > 0 Then + act_money = CDbl(Replace(rsm("act_money"), ",", "")) + CDbl(Replace(tmp_money, ",", "")) + cha_money = CDbl(Replace(act_money, ",", "")) - CDbl(Replace(rsm("est_money"), ",", "")) + + rsm.close + + query = " UPDATE direct_cost " + query = query & " SET act_money = '"& act_money &"' " + query = query & " ,cha_money = '"& cha_money &"' " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& "support" &"' " + query = query & " AND p_child_sn = '"& gap(i, 1) &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + 'Response.Write query & "
" + adoconn.execute query + Else + act_money = CDbl(Replace(tmp_money, ",", "")) + cha_money = 0 - CDbl(Replace(tmp_money, ",", "")) + + rsm.close + + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "' " + rsm.Open query, adoConn, 1 + + tmp_sebu = rsm("d_cost_name") + rsm.close + + + Dim temp_project_subject + temp_project_subject = "" + + Query = "SELECT * " + Query = Query & "FROM V_PROJECT_METHOD " + If Len(gap(i, 1)) < 11 Then + Query = Query & "WHERE p_sn = '" & gap(i, 1) & "' " + Else + Query = Query & "WHERE p_child_sn = '" & gap(i, 1) & "' " + End if + rsm.open Query, adoconn,adopenstatic, adlockreadonly + + if rsm.recordcount > 0 then + temp_project_subject = rsm("p_subject") + end if + rsm.close + + query = "insert into direct_cost (" + query = query & " p_sn, krc_no, p_subject, hangmok, sebu, " + query = query & " act_money, cha_money, " + query = query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, write_count,p_subject_group, p_sn_group, cost_type, p_child_sn" + query = query & " ) values (" + query = query & "'" & Left(gap(i, 9), 7) & "', " + query = query & "'" & krc_no & "', " + query = query & "'" & temp_project_subject & "', " + query = query & "'" & hangmok & "', " + query = query & "'" & tmp_sebu & "', " + query = query & "'" & act_money & "', " + query = query & "'" & cha_money & "', " + query = query & "'" & date() & "'," + query = query & "'" & time() & "'," + query = query & "'" & session("loginuser") & "', " + query = query & "'" & session("user_number") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_HOST") & "', " + query = query & "'" & 1 & "', " + query = query & "'" & p_subject_group & "', " + query = query & "'" & p_sn_group & "', '" & "support" & "', '" & gap(i, 9) & "')" + + adoconn.execute query + End if + Next + End if + + + if uploadform("doc_attach_file").count > 0 Then + Set fso = Server.CreateObject("Scripting.FileSystemObject") + for i=1 To uploadform("doc_attach_file").count + if fso.FolderExists(Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no) = False Then + fso.CreateFolder Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no + End If + fso.MoveFile Server.Mappath("/") & uploadform("doc_attach_file")(i), Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no & "/" & krc_no & "_" & Cstr(i) & ".jpg" + Next + Set fso = Nothing + End If + ''========================================================================================================================================================= + + elseif cint(print_type) = 0 Then + elseif cint(print_type) = 1 then + end if + + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.79" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" or Request.ServerVariables("REMOTE_ADDR") = "::1")then + response.write "
my_type = "& tmp_type + response.write "
d_order_cnt = "& d_order_cnt + response.write "
my_pos = "& my_pos + response.write "
tmp_dcode = "& tmp_dcode(d_code, 1) + response.write "
d_order4 = "& tmp_ess(tmp_dcode(d_code, 1), 0) + response.write "
d_order5 = "& tmp_ess(0, 0) + end if + response.write my_pos +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + + onLoad="clsit();" <% end if %>> +
+ + + + + + + + + + + + + + + + + + + + + + + + <% For i = 1 To contents_cnt %> + + + + + + <% Next %> + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ <%if approval_chk = "true" then%> + + <%else + Response.Write "º»ºÎ°¡ È¥ÀçµÈ ÇÁ·ÎÁ§Æ®´Â °áÀç »ó½ÅÀÌ ¾ÈµË´Ï´Ù. º»ºÎ¸¦ ±¸ºÐÇϼ¼¿ä" + end if%> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if attach_d_no <> "" then + %> + + + + <% + end if + %> + + + + + + + + +
+ + + + + +
+ <%if title_type = "ÁöÃâ" then%> + + <%else%> + + <%end if%> + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + + + + + + + + + + + + <% if cint(print_type) = 1 then %> + + + + + <% End If %> +
ºñ¿ëÇ׸ñ<%=hangmok_name%>¼¼ºÎ³»¿ë<%=sebu_name%>
°Å·¡Ã³<%=expence_company%>ÁõºùÀÏÀÚ<%=expence_date%>
Áõºù¼­·ù<%=expence_way%>Áõºù¹øÈ£<%=expence_num%>
Áõºù÷ºÎ +
+ <% if uploadform("doc_attach")(1) <> "" Then %> + <% + set objImage = Server.CreateObject("DEXT.ImageProc") + objImage.AutoMakeFolder = True + For i=1 To uploadform("doc_attach").count + if true = objImage.SetSourceFile(uploadform("doc_attach")(i).TempFilePath) then + tmpFileName = "\Upload\DOC_ATTACH\tmp\" & date_time() & "_" & Session("User_Number") & "_" & Cstr(i) & ".jpg" + thumb_image = objImage.SaveasThumbnail(Server.MapPath("/") & tmpFileName, objImage.ImageWidth, objImage.ImageHeight, false) + %> + +
+ +
+ <% + End If + Next + Set objImage = Nothing + %> + <% End If %> +
+
+
+ + + + + + + + + + <% + Dim project_mapping_check + project_mapping_check = True + total_expence_money = 0 + total_expence_vat = 0 + total_expence_sum = 0 + For i = 1 To contents_cnt + %> + + <% + Dim tmp_p_subject + tmp_p_subject = "" + + Query = "SELECT * " + Query = Query & "FROM V_PROJECT_METHOD " + If CInt(left(gap(i, 1), 4)) < 1407 Then + Query = Query & "WHERE p_sn = '" & gap(i, 1) & "' " + Else + If CInt(left(gap(i, 1), 4)) = 9999 Then + Query = Query & "WHERE p_sn = '" & gap(i, 1) & "' " + Else + Query = Query & "WHERE p_child_sn = '" & gap(i, 1) & "' " + End if + End if + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount > 0 then + tmp_p_subject = adors("p_subject") + Else + If gap(i, 1) = "99999" Then + tmp_p_subject = "¿î¿µ ¹× °ü¸®¾÷¹«" + End if + end if + adors.close + + If tmp_p_subject = "" Then + tmp_p_subject = "ÇÁ·ÎÁ§Æ® ÄÚµå ¸ÊÇÎ ¿À·ù" + project_mapping_check = false + End if + %> + + + + + + <% + total_expence_money = total_expence_money + CDbl(Replace(gap(i, 5), ",", "")) + total_expence_vat = total_expence_vat + CDbl(Replace(gap(i, 6), ",", "")) + total_expence_sum = total_expence_sum + CDbl(Replace(gap(i, 7), ",", "")) + %> + + <% + Next + %> + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ®°ø±Þ°¡¾×ºÎ°¡¼¼¾×ÁöÃâÃѾ׺ñ°í(³»¿ë, ¼ö·®, ´Ü°¡)
<%=tmp_p_subject&" ("&gap(i, 1)&")"%><%=gap(i, 5)%><%=gap(i, 6)%><%=gap(i, 7)%><%=ViewWord(gap(i, 10))%>
ÇÕ°è<%=FormatNumber(total_expence_money, 0)%><%=FormatNumber(total_expence_vat, 0)%><%=FormatNumber(total_expence_sum, 0)%> 
+ +
+ + + + + + <% + Query = "select * ,dbo.SPLIT(target21,'^//^',5) AS remark " + Query = Query & "from ¹®¼­³»¿ë " + Query = Query & "where ¹®¼­Á¦¸ñ = 'ÁöÃâ°áÀǼ­' and del_yes_no = 'no' " + Query = Query & "and target9 like '" & attach_d_no & "' " + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + Dim approval_money, remark + approval_money = "0" + remark= "" + + if adoRs.recordcount > 0 then + 'tmp_p_subject = adors("p_subject") + %> + + + + + + + + + + + <% + For i = 1 To adoRs.recordcount + approval_money = Replace(adoRs("target5"), ",", "") + remark = ViewWord(adoRs("remark")) + If Len(remark) > 20 Then + remark = Left(remark, 20) & "..." + End if + %> + + + + + + + + <% + adors.moveNext + next + end if + adors.close + %> +
ǰÀǹ®¼­ + <%=attach_d_no%> [ ǰÀǹ®¼­ ±Ý¾× : <%=FormatNumber(pre_Approval_money, 0)%>¿ø ], [ ³²Àº±Ý¾× : + <% If CDbl(before_Approval_money) < 0 Then %> + <%=FormatNumber(before_Approval_money, 0)%> + <% Else %> + <%=FormatNumber(before_Approval_money, 0)%> + <% End If %> + ¿ø ] +
+ ǰÀǼ­¸¦ ÀÌ¿ëÇÑ ÁöÃâ°áÀǼ­ »ç¿ë ³»¿ª +
¹®¼­Á¦¸ñ¹®¼­¹øÈ£ÁöÃâ±Ý¾×(VATº°µµ)ÁõºùÀÏ/ÀÛ¼ºÀÚºñ°í(³»¿ë, ¼ö·®, ´Ü°¡)
<%=adoRs("¹®¼­Á¦¸ñ")%><%=adoRs("¹®¼­¹øÈ£")%><%=FormatNumber(approval_money, 0)%><%=adoRs("target3")%> / <%=adoRs("login_À̸§")%><%=remark%>
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + + + +<% +set uploadform = nothing +%> \ No newline at end of file diff --git a/approval/doc_expense_2014.asp b/approval/doc_expense_2014.asp new file mode 100644 index 0000000..fdc62c8 --- /dev/null +++ b/approval/doc_expense_2014.asp @@ -0,0 +1,1086 @@ + + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim Gap(21) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ¸ñÀû, 3:ÁöÃâÀÏÀÚ, 4:ÁöÃâ¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ®ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + ' 11:Á÷Á¢ºñ¿¹»ê, 12:´©ÀûÁýÇà±Ý¾×, 13:Â÷¾×, 14::Ãß°¡ »çÀ¯, 21::Áö±ÞÀÏÀÚ + dim krc_no + dim pay_type(5) + dim db_table_name + dim title_type + dim p_depart + dim hangmok, sebu, p_method_nm + dim del_reason + del_reason = "" + + db_table_name = "¹®¼­³»¿ë" + title="Áö Ãâ °á ÀÇ ¼­" + title_type = mid(replace(title," ",""), 1, 2) + + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Ä«µå/Çö±Ý" + pay_type(2) = "¼¼±Ý°è»ê¼­" + pay_type(3) = "Àκ¸À̽º" + pay_type(4) = "ÀΰǺñ" +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = ViewWord(adors("target2")) + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = adors("target7") + gap(8) = adors("target8") + gap(9) = adors("p_sn") + gap(10) = adors("target9") + hangmok = adors("target11") + sebu = adors("target12") + gap(11) = adors("target13") + gap(12) = adors("target14") + gap(13) = adors("target15") + gap(14) = ViewWord(adors("target17")) + gap(15) = adors("target16") + gap(16) = adors("target18") + if adors("target19") <> "" Then + gap(17) = Split(adors("target19"), "|")(0) + gap(18) = Split(adors("target19"), "|")(1) + gap(19) = Split(adors("target19"), "|")(2) + End If + gap(20) = adors("remark20") + gap(21) = adors("remark19") + + del_reason = adors("del_reason") + + if adors("¹®¼­Á¦¸ñ") = "ÁöÃâ°áÀǼ­" then + title="Áö Ãâ °á ÀÇ ¼­" + title_type = mid(replace(title," ",""), 1, 2) + end If + + adoRs.close + end if + + p_sn = request("p_sn") + p_child_sn = request("p_child_sn") + + if p_sn <> "" then + query = " SELECT TOP 1 p_subject, p_method_nm " + query = query & " FROM V_PROJECT_METHOD " + query = query & " WHERE p_sn = '"&p_sn&"' " + if p_child_sn <> "" then + query = query & " AND p_child_sn = '" & p_child_sn & "' " + end if + adoRs.open Query, adoconn,1 + +' response.Write "Query : " & query & "
" + p_subject = adors("p_subject") + p_method_nm = adors("p_method_nm") + adors.close + end if + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + p_depart = Session("Depart_Code") + + if (p_depart = 0) or (p_depart >= 20 and p_depart <= 95) then + d_cost_type = "research" + ElseIf p_depart = 17 Then + d_cost_type = "dp" + ElseIf p_depart = 18 Then + d_cost_type = "support" + ElseIf p_depart = 19 Then + d_cost_type = "support" + else + d_cost_type = "field" + end if + + 'response.write "d_cost_type : " & d_cost_type & "
" +%> + +
+ + + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + "" and p_child_sn = "" then%> style="display:none;" <% End If %>> + + +
+ <%=title_type%>°áÀǼ­ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ÇÁ·ÎÁ§Æ® ¸í + + +
ÇÁ·ÎÁ§Æ® ¹øÈ£ + + Á¶»ç ¹æ¹ý + + +
ºñ¿ëÇ׸ñ + + <% If d_cost_type = "dp" Or d_cost_type = "support" Then%> + + <% End If %> + ¼¼ºÎ³»¿ë + + +
ÁõºùÀÏÀÚ + + Áõºù¼­·ù + +
°ø±Þ°¡¾× + ¿ø + <%=title_type%>ÃÑ¾× + ¿ø +
ºÎ°¡¼¼¾× + ¿ø + Áõºù¹øÈ£ + + +
°Å·¡Ã³ + + + ÀԱݰèÁÂ÷ºÎÆÄÀÏ ÂüÁ¶
Áö±ÞÀÏÀÚ + + * Áö±ÞÀÏÀڴ ȸ»çÀÇ ºñ¿ë Áö±Þ ±âÁØ¿¡ ¸ÂÃç ÀÛ¼º(¿ùº° ºñ¿ë ¸¶°¨ ¾È³» ¸ÞÀÏ È®ÀÎ)
+    ¿¹¿ÜÀûÀ¸·Î Áö±ÞÀÏÀÚ º¯°æÀÌ ÇÊ¿äÇÑ °æ¿ì ºñ°í¶õ¿¡ »çÀ¯ ±âÀç
Áõºù÷ºÎ + + + +
+
+ + + + + + + + + + + + + + + + + +
ºñ¿ëÇ׸ñÁ÷Á¢ºñ¿¹»ê´©ÀûÁýÇà±Ý¾×ÁöÃâ±Ý¾×(VAT º°µµ)Â÷¾×ºñ°í
+ + + ¿ø + + ¿ø + + ¿ø + + ¿ø + + +
+
+ + + + + +
ºñ°í(¸Þ¸ð) + +
+
+ + + + + + +
+ + +
+ +
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense_2014.asp_250908_cns b/approval/doc_expense_2014.asp_250908_cns new file mode 100644 index 0000000..3c07e8d --- /dev/null +++ b/approval/doc_expense_2014.asp_250908_cns @@ -0,0 +1,1073 @@ + + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim Gap(20) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ¸ñÀû, 3:ÁöÃâÀÏÀÚ, 4:ÁöÃâ¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ®ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + ' 11:Á÷Á¢ºñ¿¹»ê, 12:´©ÀûÁýÇà±Ý¾×, 13:Â÷¾×, 14::Ãß°¡ »çÀ¯ + dim krc_no + dim pay_type(5) + dim db_table_name + dim title_type + dim p_depart + dim hangmok, sebu, p_method_nm + dim del_reason + del_reason = "" + + db_table_name = "¹®¼­³»¿ë" + title="Áö Ãâ °á ÀÇ ¼­" + title_type = mid(replace(title," ",""), 1, 2) + + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Ä«µå/Çö±Ý" + pay_type(2) = "¼¼±Ý°è»ê¼­" + pay_type(3) = "Àκ¸À̽º" + pay_type(4) = "ÀΰǺñ" +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = ViewWord(adors("target2")) + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = adors("target7") + gap(8) = adors("target8") + gap(9) = adors("p_sn") + gap(10) = adors("target9") + hangmok = adors("target11") + sebu = adors("target12") + gap(11) = adors("target13") + gap(12) = adors("target14") + gap(13) = adors("target15") + gap(14) = ViewWord(adors("target17")) + gap(15) = adors("target16") + gap(16) = adors("target18") + if adors("target19") <> "" Then + gap(17) = Split(adors("target19"), "|")(0) + gap(18) = Split(adors("target19"), "|")(1) + gap(19) = Split(adors("target19"), "|")(2) + End If + gap(20) = adors("remark20") + + del_reason = adors("del_reason") + + if adors("¹®¼­Á¦¸ñ") = "ÁöÃâ°áÀǼ­" then + title="Áö Ãâ °á ÀÇ ¼­" + title_type = mid(replace(title," ",""), 1, 2) + end If + + adoRs.close + end if + + p_sn = request("p_sn") + p_child_sn = request("p_child_sn") + + if p_sn <> "" then + query = " SELECT TOP 1 p_subject, p_method_nm " + query = query & " FROM V_PROJECT_METHOD " + query = query & " WHERE p_sn = '"&p_sn&"' " + if p_child_sn <> "" then + query = query & " AND p_child_sn = '" & p_child_sn & "' " + end if + adoRs.open Query, adoconn,1 + +' response.Write "Query : " & query & "
" + p_subject = adors("p_subject") + p_method_nm = adors("p_method_nm") + adors.close + end if + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + p_depart = Session("Depart_Code") + + if (p_depart = 0) or (p_depart >= 20 and p_depart <= 95) then + d_cost_type = "research" + ElseIf p_depart = 17 Then + d_cost_type = "dp" + ElseIf p_depart = 18 Then + d_cost_type = "support" + ElseIf p_depart = 19 Then + d_cost_type = "support" + else + d_cost_type = "field" + end if + + 'response.write "d_cost_type : " & d_cost_type & "
" +%> + +
+ + + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + "" and p_child_sn = "" then%> style="display:none;" <% End If %>> + + +
+ <%=title_type%>°áÀǼ­ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ÇÁ·ÎÁ§Æ® ¸í + + +
ÇÁ·ÎÁ§Æ® ¹øÈ£ + + Á¶»ç ¹æ¹ý + + +
ºñ¿ëÇ׸ñ + + <% If d_cost_type = "dp" Or d_cost_type = "support" Then%> + + <% End If %> + ¼¼ºÎ³»¿ë + + +
ÁõºùÀÏÀÚ + + Áõºù¼­·ù + +
°ø±Þ°¡¾× + ¿ø + <%=title_type%>ÃÑ¾× + ¿ø +
ºÎ°¡¼¼¾× + ¿ø + Áõºù¹øÈ£ + + +
°Å·¡Ã³ + + + ÀԱݰèÁÂ÷ºÎÆÄÀÏ ÂüÁ¶
Áõºù÷ºÎ + + + +
+
+ + + + + + + + + + + + + + + + + +
ºñ¿ëÇ׸ñÁ÷Á¢ºñ¿¹»ê´©ÀûÁýÇà±Ý¾×ÁöÃâ±Ý¾×(VAT º°µµ)Â÷¾×ºñ°í
+ + + ¿ø + + ¿ø + + ¿ø + + ¿ø + + +
+
+ + + + + +
ºñ°í(¸Þ¸ð) + +
+
+ + + + + + +
+ + +
+ +
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense_2014.asp_250909_cns b/approval/doc_expense_2014.asp_250909_cns new file mode 100644 index 0000000..6f4dfb8 --- /dev/null +++ b/approval/doc_expense_2014.asp_250909_cns @@ -0,0 +1,1090 @@ + + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim cnt + dim Gap(21) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ¸ñÀû, 3:ÁöÃâÀÏÀÚ, 4:ÁöÃâ¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ®ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + ' 11:Á÷Á¢ºñ¿¹»ê, 12:´©ÀûÁýÇà±Ý¾×, 13:Â÷¾×, 14::Ãß°¡ »çÀ¯, 21::Áö±ÞÀÏÀÚ + dim krc_no + dim pay_type(5) + dim db_table_name + dim title_type + dim p_depart + dim hangmok, sebu, p_method_nm + dim del_reason + del_reason = "" + + db_table_name = "¹®¼­³»¿ë" + title="Áö Ãâ °á ÀÇ ¼­" + title_type = mid(replace(title," ",""), 1, 2) + + Max_Width =650 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + pay_type(1) = "Ä«µå/Çö±Ý" + pay_type(2) = "¼¼±Ý°è»ê¼­" + pay_type(3) = "Àκ¸À̽º" + pay_type(4) = "ÀΰǺñ" +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = ViewWord(adors("target2")) + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = adors("target7") + gap(8) = adors("target8") + gap(9) = adors("p_sn") + gap(10) = adors("target9") + hangmok = adors("target11") + sebu = adors("target12") + gap(11) = adors("target13") + gap(12) = adors("target14") + gap(13) = adors("target15") + gap(14) = ViewWord(adors("target17")) + gap(15) = adors("target16") + gap(16) = adors("target18") + if adors("target19") <> "" Then + gap(17) = Split(adors("target19"), "|")(0) + gap(18) = Split(adors("target19"), "|")(1) + gap(19) = Split(adors("target19"), "|")(2) + End If + gap(20) = adors("remark20") + gap(21) = adors("remark19") + + del_reason = adors("del_reason") + + if adors("¹®¼­Á¦¸ñ") = "ÁöÃâ°áÀǼ­" then + title="Áö Ãâ °á ÀÇ ¼­" + title_type = mid(replace(title," ",""), 1, 2) + end If + + adoRs.close + end if + + p_sn = request("p_sn") + p_child_sn = request("p_child_sn") + + if p_sn <> "" then + query = " SELECT TOP 1 p_subject, p_method_nm " + query = query & " FROM V_PROJECT_METHOD " + query = query & " WHERE p_sn = '"&p_sn&"' " + if p_child_sn <> "" then + query = query & " AND p_child_sn = '" & p_child_sn & "' " + end if + adoRs.open Query, adoconn,1 + +' response.Write "Query : " & query & "
" + p_subject = adors("p_subject") + p_method_nm = adors("p_method_nm") + adors.close + end if + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + p_depart = Session("Depart_Code") + + if (p_depart = 0) or (p_depart >= 20 and p_depart <= 95) then + d_cost_type = "research" + ElseIf p_depart = 17 Then + d_cost_type = "dp" + ElseIf p_depart = 18 Then + d_cost_type = "support" + ElseIf p_depart = 19 Then + d_cost_type = "support" + else + d_cost_type = "field" + end if + + 'response.write "d_cost_type : " & d_cost_type & "
" +%> + +
+ + + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + "" and p_child_sn = "" then%> style="display:none;" <% End If %>> + + +
+ <%=title_type%>°áÀǼ­ ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% if session("User_Number") = "20250301" Then %> + + <% Else %> + + <% End If %> + + + + + + + + + + + +
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿© <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ÇÁ·ÎÁ§Æ® ¸í + + +
ÇÁ·ÎÁ§Æ® ¹øÈ£ + + Á¶»ç ¹æ¹ý + + +
ºñ¿ëÇ׸ñ + + <% If d_cost_type = "dp" Or d_cost_type = "support" Then%> + + <% End If %> + ¼¼ºÎ³»¿ë + + +
ÁõºùÀÏÀÚ + + Áõºù¼­·ù + +
°ø±Þ°¡¾× + ¿ø + <%=title_type%>ÃÑ¾× + ¿ø +
ºÎ°¡¼¼¾× + ¿ø + Áõºù¹øÈ£ + + +
°Å·¡Ã³ + + + ÀԱݰèÁÂ÷ºÎÆÄÀÏ ÂüÁ¶
Áö±ÞÀÏÀÚ + + * Áö±ÞÀÏÀڴ ȸ»çÀÇ ºñ¿ë Áö±Þ ±âÁØ¿¡ ¸ÂÃç ÀÛ¼º(¿ùº° ºñ¿ë ¸¶°¨ ¾È³» ¸ÞÀÏ È®ÀÎ)
+    ¿¹¿ÜÀûÀ¸·Î Áö±ÞÀÏÀÚ º¯°æÀÌ ÇÊ¿äÇÑ °æ¿ì ºñ°í¶õ¿¡ »çÀ¯ ±âÀç
Áõºù÷ºÎ + + + +
+
+ + + + + + + + + + + + + + + + + +
ºñ¿ëÇ׸ñÁ÷Á¢ºñ¿¹»ê´©ÀûÁýÇà±Ý¾×ÁöÃâ±Ý¾×(VAT º°µµ)Â÷¾×ºñ°í
+ + + ¿ø + + ¿ø + + ¿ø + + ¿ø + + +
+
+ + + + + +
ºñ°í(¸Þ¸ð) + +
+
+ + + + + + +
+ + +
+ +
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense_ajax_dcost.asp b/approval/doc_expense_ajax_dcost.asp new file mode 100644 index 0000000..0b5b3e0 --- /dev/null +++ b/approval/doc_expense_ajax_dcost.asp @@ -0,0 +1,182 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +Select Case Request("command") + Case "hangmok" + p_depart = Session("Depart_Code") + + if (p_depart = 0) or (p_depart >= 20 and p_depart <= 95) then + d_cost_type = "research" + ElseIf p_depart = 17 Then + d_cost_type = "support" + ElseIf p_depart = 18 Then + d_cost_type = "support" + ElseIf p_depart = 19 Then + d_cost_type = "support" + else + d_cost_type = "field" + end If + + if request("d_cost_type") <> "" Then + d_cost_type = request("d_cost_type") + End If + + response.write "" + + query = " " + query = query & " SELECT id, d_cost_code, d_cost_name, d_cost_kind " + query = query & " FROM direct_costcode " + query = query & " WHERE 1=1 " + if d_cost_type <> "all" Then + query = query & " AND d_cost_kind = '"& d_cost_type &"' " + End If + query = query & " AND d_cost_useyn = 'Y' " + query = query & " AND d_cost_parents = '0' " + query = query & " ORDER BY " + if d_cost_type = "all" Then + query = query & " d_cost_kind, " + End If + query = query & " d_cost_code " + Adors.Open query, adoConn, 1 + + for i=1 to Adors.recordCount + response.write "" + Adors.movenext + next + + Adors.close + Case "sebu" + hangmok = request("hangmok") + + response.write "" + + query = " " + query = query & " SELECT id, d_cost_code, d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE d_cost_kind = (SELECT TOP 1 d_cost_kind FROM direct_costcode WHERE id = '"& hangmok &"') " + query = query & " AND d_cost_useyn = 'Y' " + query = query & " AND d_cost_parents = (SELECT TOP 1 d_cost_code FROM direct_costcode WHERE id = '"& hangmok &"') " + query = query & " ORDER BY d_cost_code " + Adors.Open query, adoConn, 1 + + for i=1 to Adors.recordCount + response.write "" + Adors.movenext + next + + Adors.close + Case "est" + p_sn = request("p_sn") + p_child_sn = request("p_child_sn") + hangmok = request("hangmok") + sebu = Request("sebu") + + query = "" + query = query & " SELECT ISNULL(SUM(CAST(est_money AS money)), 0) as money " + query = query & " FROM direct_cost dc LEFT OUTER JOIN direct_costcode dcc ON dc.cost_type = dcc.d_cost_kind AND dc.sebu = dcc.d_cost_name AND dcc.d_cost_parents > 0 " + query = query & " WHERE p_sn = '"& p_sn &"' " + query = query & " AND hangmok = '"& hangmok &"' " + If sebu <> "" Then + query = query & " AND dcc.id = '"& sebu &"' " + End If + query = query & " AND del_yes_no = 'no' " + query = query & " AND p_child_sn = '"& p_child_sn &"' " + + Adors.Open query, adoConn, 1 + if Adors.recordCount > 0 then + Response.Write Adors("money") + else + Response.Write "0" + end if + + Adors.close + Case "act" + p_sn = request("p_sn") + p_child_sn = request("p_child_sn") + hangmok = request("hangmok") + sebu = Request("sebu") + + query = "" + query = query & " SELECT ISNULL(sum(CONVERT(money, CONVERT(varchar(30), a.target5))), 0) as money " + query = query & " FROM ¹®¼­³»¿ë a LEFT OUTER JOIN Document b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE d_order_cnt <> '99' " + query = query & " AND a.del_yes_no <> 'yes' " + query = query & " AND p_sn LIKE '"& p_sn &",' " + query = query & " AND a.target11 LIKE '"& hangmok &"' " + If sebu <> "" Then + query = query & " AND a.target12 LIKE '"& sebu &"' " + End If + query = query & " AND a.target20 LIKE '"& p_child_sn &"' " + + Adors.Open query, adoConn, 1 + + if Adors("money") <> "" then + Response.Write Adors("money") + else + Response.Write "0" + end if + + Adors.close + Case "dupnum" + p_child_sn = request("p_child_sn") + expence_num = request("expence_num") + + query = "" + query = query & " SELECT case when a.target20 LIKE '"& p_child_sn &"' then '1' else '0' end as chk, ¹®¼­¹øÈ£, target5, target1, target20 " + query = query & " FROM ¹®¼­³»¿ë a LEFT OUTER JOIN Document b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE d_order_cnt <> '99' " + query = query & " AND a.del_yes_no <> 'yes' " + query = query & " AND a.target18 LIKE '"& expence_num &"' " + + Adors.Open query, adoConn, 1 + Redim data(Adors.recordcount-1) + iCnt = 0 + if Adors.RecordCount > 0 then + Do While Not Adors.Eof + set dup = jsObject() + dup("chk") = Adors("chk") + dup("d_no") = Adors("¹®¼­¹øÈ£") + dup("cost") = Adors("target5") + dup("p_child_sn") = Adors("target20") + dup("p_subject") = Adors("target1") + set data(iCnt) = dup + iCnt = iCnt + 1 + Adors.MoveNext + Loop + else + + end if + + response.write toJSON(data) + + Adors.close + + Case "projectCompany" + p_sn = request("p_sn") + + query = "" + query = query & " SELECT p_project_type_cd " + query = query & " FROM T_PROJECT_BASE " + query = query & " WHERE p_sn = '" & p_sn & "' " + + Adors.Open query, adoConn, 1 + if Adors.RecordCount > 0 then + response.write Adors("p_project_type_cd") + else + response.write "" + end if + Adors.close + Case Else + Response.Write "0" +End Select +%> \ No newline at end of file diff --git a/approval/doc_expense_approval_depart.asp b/approval/doc_expense_approval_depart.asp new file mode 100644 index 0000000..5ca83c2 --- /dev/null +++ b/approval/doc_expense_approval_depart.asp @@ -0,0 +1,766 @@ + + +<% + dim Query + dim i, j + dim title + dim Max_length 'ÀԷ°¡´É ÁÙ¼öÁ¤ÀÇ + dim Gap() + dim cost_type(2) ''ÁöÃâ¹æ¹ý ±¸ºÐ + dim sel_date, sel_date_st, sel_date_ed, now_month + dim depart_cost_type + + cost_type(0) = "¼±ÅÃ" + cost_type(1) = "°³ÀιýÀÎÄ«µå" + cost_type(2) = "Çö±Ý/°³ÀÎÄ«µå" + + sel_date = request("txt_date") + sel_date_st = request("sel_date_st") + sel_date_ed = request("sel_date_ed") + now_month = request("now_month") + + 'response.write now_month + + depart_cost_type = request("depart_cost_type") ' 1:±×·ìȰµ¿ºñ, 2:±×·ìÀåȰµ¿ºñ + if depart_cost_type = "" Then + if session("Depart_Code") = "0" Then + depart_cost_type = "2" + Else + depart_cost_type = "1" + end if + End if + + title="ºÎ¼­ºñ½Åû¼­" + if sel_date <> "" Then + Max_length=5 + Else + Max_length=13 + End if + + redim gap(Max_length,6) 'x:¼ø¼­, y:1:ÀÏÀÚ, 2:ÇÁ·ÎÁ§Æ®¸í, 3:¼¼ºÎÇ׸ñ, 4:±Ý¾×,5:ÇÁ·ÎÁ§Æ®ÄÚµå, 6:ÁöÃâ¹æ¹ý, (0,0) : ÃÑ¾× +%> + +
+ + + + +
+
+
+
+
+
+ + + + + + +
+ + + + + + + + + + + + + <%for i=1 to Max_length%> + + + + + + + + + + + + + <%next%> + + + + + + + + +
+ +
+
    +
+
+ + + + + + + + + + + + + <% + Dim depart_cd_string + Dim total_est, total_use, total_res + Dim hang1_res_cost, hang2_res_cost, hang3_res_cost, hang4_res_cost, hang5_res_cost, hang6_res_cost + depart_cd_string = "" + total_est = 0 + total_use = 0 + total_res = 0 + over_hang = "" + '2023-05-15 ¼­¼º¿Ï ÆÄÆ®³Ê´Â °ü¸®ÇÏ´Â ÆÀ ±×·ìºñ & »ç¿ë³»¿ª Á¦°ø (´Ü ±×·ìºñ´Â 2°³ ÆÀ ÀÌ»óÀÏ °æ¿ì ÇÕ»êÇØ¼­ Á¦°ø) + ' ex) msbu1,2 = ÀÌÇýÁø »ó¹« msbu3,4 = ±è´Ù½½ Àü¹«, psbu1,4 = ¿ø¼ºÈÆ ºÎ»çÀå, psbu2, aibd = ½Å»ó¿í »ó¹«, dco = ¼­Áö¿ø »ó¹« + '2023-05-31 ¼­¼º¿Ï + ' ÃÖÁ¤½É »ó¹«´Ô [ Session("User_Number") = "20151203" ]Àº ÆÄÆ®³Ê°¡ ¾Æ´ÏÁö¸¸ ¾ïÁö·Î ÆÄÆ®³Ê·Î ¸¸µë V_GROUP_COST_NEW ºä Å×ÀÌºí¿¡ ÇϵåÄÚµù µÇ¾î ÀÖÀ½ + ' äÁÖÈñ º»ºÎÀå´Ô [ Session("User_Number") = "20031102" ]Àº ÆÄÆ®³Ê°¡ ¾Æ´ÏÁö¸¸ ¾ïÁö·Î ÆÄÆ®³Ê·Î ¸¸µë V_GROUP_COST_NEW ºä Å×ÀÌºí¿¡ ÇϵåÄÚµù µÇ¾î ÀÖÀ½ + Query = "" + If Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR Session("N_Depart") = "E" Then + Query = Query & " Select 'GROUP_SUM' as depart_nm " + Query = Query & " ,''''+STRING_AGG(depart_cd,''',''')+'''' as depart_cd_string " + Query = Query & " ,ISNULL(SUM(hang1_cost),0) as hang1_cost " + Query = Query & " ,ISNULL(SUM(hang2_cost),0) as hang2_cost " + Query = Query & " ,ISNULL(SUM(hang3_cost),0) as hang3_cost " + Query = Query & " ,ISNULL(SUM(hang4_cost),0) as hang4_cost " + Query = Query & " ,ISNULL(SUM(hang5_cost),0) as hang5_cost " + Query = Query & " ,ISNULL(SUM(hang6_cost),0) as hang6_cost " + Query = Query & " ,ISNULL(SUM(hang1_use_cost),0) as hang1_use_cost " + Query = Query & " ,ISNULL(SUM(hang2_use_cost),0) as hang2_use_cost " + Query = Query & " ,ISNULL(SUM(hang3_use_cost),0) as hang3_use_cost " + Query = Query & " ,ISNULL(SUM(hang4_use_cost),0) as hang4_use_cost " + Query = Query & " ,ISNULL(SUM(hang5_use_cost),0) as hang5_use_cost " + Query = Query & " ,ISNULL(SUM(hang6_use_cost),0) as hang6_use_cost " + Query = Query & " from( " + END IF + Query = Query & " SELECT GCE.depart_nm, GCE.depart_cd, hang1_cost, hang2_cost, hang3_cost, hang4_cost, hang5_cost, hang6_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '½Ä´ë' THEN VGC.cost ELSE 0 END), 0) AS hang1_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '±³Åëºñ' THEN VGC.cost ELSE 0 END), 0) AS hang2_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = 'ȸ½Äºñ' THEN VGC.cost ELSE 0 END), 0) AS hang3_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '¹°Ç°±¸ÀÔºñ' THEN VGC.cost ELSE 0 END), 0) AS hang4_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = 'ÁÖÂ÷ºñ' THEN VGC.cost ELSE 0 END), 0) AS hang5_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '±âŸ' THEN VGC.cost ELSE 0 END), 0) AS hang6_use_cost " + Query = Query & " FROM GROUP_COST_EST GCE LEFT JOIN V_GROUP_COST_NEW VGC " + Query = Query & " ON CHARINDEX(VGC.d_code, GCE.depart_cd) > 0 AND VGC.cost_date BETWEEN GCE.st_date AND GCE.ed_date " + Query = Query & " WHERE use_yn = '1' " + '¹ÚÁؼº 2023-05-02 ÆÄÆ®³Êµé Çѵµ Ãß°¡ + If Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR Session("N_Depart") = "E" Then + Query = Query & " AND GCE.partner_no = '" & Session("User_Number") & "' " + Else + Query = Query & " AND CHARINDEX('" & Session("N_depart") & Session("N_team") & "', GCE.depart_cd) > 0 " + End If + + Query = Query & " AND '" & now_month & "-01' BETWEEN GCE.st_date AND GCE.ed_date " + Query = Query & " GROUP BY GCE.depart_nm, GCE.depart_cd, hang1_cost, hang2_cost, hang3_cost, hang4_cost, hang5_cost, hang6_cost " + '2023-05-15 ¼­¼º¿Ï ÆÄÆ®³Ê´Â °ü¸®ÇÏ´Â ÆÀ ±×·ìºñ & »ç¿ë³»¿ª Á¦°ø (´Ü ±×·ìºñ´Â 2°³ ÆÀ ÀÌ»óÀÏ °æ¿ì ÇÕ»êÇØ¼­ Á¦°ø) + If Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR Session("N_Depart") = "E" Then + Query = Query & " ) GROUP_COST " + END IF + 'Response.Write Query + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordCount > 0 Then + If Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR Session("N_Depart") = "E" Then + depart_cd_string = adoRs("depart_cd_string") + END IF + + total_est = adoRs("hang1_cost") + adoRs("hang2_cost") + adoRs("hang3_cost") + adoRs("hang4_cost") + adoRs("hang5_cost") + adoRs("hang6_cost") + total_use = adoRs("hang1_use_cost") + adoRs("hang2_use_cost") + adoRs("hang3_use_cost") + adoRs("hang4_use_cost") + adoRs("hang5_use_cost") + adoRs("hang6_use_cost") + total_res = total_est - total_use + + hang1_res_cost = adoRs("hang1_cost") - adoRs("hang1_use_cost") + hang2_res_cost = adoRs("hang2_cost") - adoRs("hang2_use_cost") + hang3_res_cost = adoRs("hang3_cost") - adoRs("hang3_use_cost") + hang4_res_cost = adoRs("hang4_cost") - adoRs("hang4_use_cost") + hang5_res_cost = adoRs("hang5_cost") - adoRs("hang5_use_cost") + hang6_res_cost = adoRs("hang6_cost") - adoRs("hang6_use_cost") + %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + End if + adoRs.close + %> +
<%=now_month %>±¸ºÐ½Ä´ë±³Åëºñȸ½Äºñ¹°Ç°±¸ÀÔºñÁÖÂ÷ºñ±âŸÇÕ°è
+ + <% + if Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR session("Depart_Code") <> "0" OR Session("N_Depart") = "E" then + %> + +
+
+ <% end if %> +
¿¹»ê" readonly />" readonly />" readonly />" readonly />" readonly />" readonly />
»ç¿ë" readonly />" readonly />" readonly />" readonly />" readonly />" readonly />
ÀÜ¿©
+ + <%If Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR Session("N_Depart") = "E" Then %> + + + + + + + + + + + + + <% + Dim total_est2, total_use2, total_res2 + Dim hang1_res_cost2, hang2_res_cost2, hang3_res_cost2, hang4_res_cost2, hang5_res_cost2, hang6_res_cost2 + total_est2 = 0 + total_use2 = 0 + total_res2 = 0 + over_hang = "" + + Query = "" + Query = Query & " SELECT GCE.depart_nm, hang1_cost, hang2_cost, hang3_cost, hang4_cost, hang5_cost, hang6_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '½Ä´ë' THEN VGC.cost ELSE 0 END), 0) AS hang1_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '±³Åëºñ' THEN VGC.cost ELSE 0 END), 0) AS hang2_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = 'ȸ½Äºñ' THEN VGC.cost ELSE 0 END), 0) AS hang3_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '¹°Ç°±¸ÀÔºñ' THEN VGC.cost ELSE 0 END), 0) AS hang4_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = 'ÁÖÂ÷ºñ' THEN VGC.cost ELSE 0 END), 0) AS hang5_use_cost, " + Query = Query & " ISNULL(SUM(CASE WHEN VGC.txt_hangmok = '±âŸ' THEN VGC.cost ELSE 0 END), 0) AS hang6_use_cost " + Query = Query & " FROM GROUP_COST_EST GCE LEFT JOIN V_GROUP_COST_NEW VGC " + IF Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR Session("N_Depart") = "E" THEN + Query = Query & " ON VGC.d_code = 'E101' AND VGC.cost_date BETWEEN GCE.st_date AND GCE.ed_date " + END IF + 'IF Session("User_Number") = "20000201" OR Session("User_Number") = "20160205" THEN '¹ÚÁؼº 2023-05-02 ¿ø¼ºÈÆ ºÎ»çÀå´ÔÀº Ưº°Ãë±Þ E102·Î °íÁ¤ + ' Query = Query & " ON VGC.d_code = 'E101' AND VGC.cost_date BETWEEN GCE.st_date AND GCE.ed_date " + 'ELSE + ' Query = Query & " ON CHARINDEX(VGC.d_code, GCE.depart_cd) > 0 AND VGC.cost_date BETWEEN GCE.st_date AND GCE.ed_date " + 'END IF + Query = Query & " AND VGC.p_no = '" & Session("User_Number") & "' " + Query = Query & " WHERE use_yn = '1' " + Query = Query & " AND GCE.depart_cd='" & Session("User_Number") & "'" + Query = Query & " AND '" & now_month & "-01' BETWEEN GCE.st_date AND GCE.ed_date " + Query = Query & " GROUP BY GCE.depart_nm, hang1_cost, hang2_cost, hang3_cost, hang4_cost, hang5_cost, hang6_cost " + + 'Response.Write Query + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordCount > 0 Then + total_est2 = adoRs("hang1_cost") + adoRs("hang2_cost") + adoRs("hang3_cost") + adoRs("hang4_cost") + adoRs("hang5_cost") + adoRs("hang6_cost") + total_use2 = adoRs("hang1_use_cost") + adoRs("hang2_use_cost") + adoRs("hang3_use_cost") + adoRs("hang4_use_cost") + adoRs("hang5_use_cost") + adoRs("hang6_use_cost") + total_res2 = total_est2 - total_use2 + + hang1_res_cost2 = adoRs("hang1_cost") - adoRs("hang1_use_cost") + hang2_res_cost2 = adoRs("hang2_cost") - adoRs("hang2_use_cost") + hang3_res_cost2 = adoRs("hang3_cost") - adoRs("hang3_use_cost") + hang4_res_cost2 = adoRs("hang4_cost") - adoRs("hang4_use_cost") + hang5_res_cost2 = adoRs("hang5_cost") - adoRs("hang5_use_cost") + hang6_res_cost2 = adoRs("hang6_cost") - adoRs("hang6_use_cost") + %> + + + + + + + + + + + + + + + + + + + + + + + + <% + End if + adoRs.close + %> +
<%=now_month %>±¸ºÐ½Ä´ë±³Åëºñȸ½Äºñ¹°Ç°±¸ÀÔºñÁÖÂ÷ºñ±âŸÇÕ°è
+ º»ºÎÀå
Ȱµ¿ºñ + + <% + if Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR session("Depart_Code") <> "0" then + %> + +
+
+ <% end if %> +
»ç¿ë" readonly />" readonly />" readonly />" readonly />" readonly />" readonly />
ÀÜ¿©
+ <% End if%> +
ÁõºùÀÏÀÚÇÁ·ÎÁ§Æ®Ç׸ñ¼¼ºÎÇ׸ñ±Ý¾×
+ <% if sel_date <> "" Then %> + <%=sel_date %> + + <% else %> + + <% End if %> + + + + + + + + + + + +
ÇÕ °è + +
+ +
+
+
+
+
+
+
+
+ + <% + dim timeQuery, prjQuery, prevSaveQuery, foodQuery, preCostQuery, preGroupfeeQuery + + prjQuery = "" + prjQuery = prjQuery & " SELECT VPM.p_child_sn, p_subject, CASE WHEN JP.p_child_sn IS NOT NULL THEN '1' ELSE '0' END AS user_sel " + prjQuery = prjQuery & " FROM V_PROJECT_METHOD VPM LEFT JOIN " + prjQuery = prjQuery & " (SELECT DISTINCT p_child_sn, p_user FROM Job_ProjectList) JP " + prjQuery = prjQuery & " ON VPM.p_child_sn = JP.p_child_sn AND JP.p_user = '" & Session("User_Number") & "' " + prjQuery = prjQuery & " WHERE ISNULL(VPM.p_child_sn, '') > '" & RIGHT(cstr(year(date)-2), 2) & "' " + prjQuery = prjQuery & " AND (p_research_complete IS NULL OR p_field_complete IS NULL OR p_dp_complete IS NULL) " + prjQuery = prjQuery & " AND VPM.p_progress_status > '001' " + prjQuery = prjQuery & " ORDER BY VPM.p_child_sn " + + preGroupfeeQuery = "" + preGroupfeeQuery = preGroupfeeQuery & " SELECT d_no, hangmok, gubun, cost_date, txt_pjt , txt_hangmok, contents, cost " + preGroupfeeQuery = preGroupfeeQuery & " ,depart, depart_cd, write_name " + preGroupfeeQuery = preGroupfeeQuery & " FROM V_GROUP_COST_NEW " + preGroupfeeQuery = preGroupfeeQuery & " where 1=1 " + preGroupfeeQuery = preGroupfeeQuery & " AND left(cost_date,7) = '" & now_month & "' " '//-- 20220630 hwkim + if session("Depart_Code") = "18" then '//-- °æ¿µ¹®È­º»ºÎ & µ¥ÀÌÅͼַç¼Ç ÆÀ ±¸ºÐ + if session("job_code") = "08" then + preGroupfeeQuery = preGroupfeeQuery & " and depart_cd = '18' and p_job_part = '08'" + else + preGroupfeeQuery = preGroupfeeQuery & " and depart_cd = '18' and p_job_part <> '08' " + end if + Elseif depart_cd_string <> "" then + ' 2023-05-15 ¹ÚÁؼº ÆÄÆ®³ÊµéÀÌ °¢ ±×·ìÀÇ »ç¿ë³»¿ª º¼ ¼ö ÀÖ°Ô º¯°æ ÀÚ±âÀÇ »ç¿ë³»¿ªÀº ¸ø º½ + preGroupfeeQuery = preGroupfeeQuery & " and d_code in (" & depart_cd_string & ") " + Elseif Session("User_Number") = "20151203" OR Session("User_Number") = "20031102" OR session("Depart_Code") = "0" then + preGroupfeeQuery = preGroupfeeQuery & " and p_no = '" & session("User_Number") & "' " + 'Elseif session("Depart_Code") = "17" Or session("Depart_Code") = "19" Then + ' preGroupfeeQuery = preGroupfeeQuery & " and (depart_cd = '17' OR (depart_cd = '18' and p_job_part = '08') OR depart_cd = '19') " + Else + preGroupfeeQuery = preGroupfeeQuery & " and depart_cd = '" & session("Depart_Code") & "' " + end if + preGroupfeeQuery = preGroupfeeQuery & " order by cost_date asc " + + 'response.write preGroupfeeQuery + + %> + + +
+ + \ No newline at end of file diff --git a/approval/doc_expense_approval_depart_print.asp b/approval/doc_expense_approval_depart_print.asp new file mode 100644 index 0000000..a622808 --- /dev/null +++ b/approval/doc_expense_approval_depart_print.asp @@ -0,0 +1,387 @@ + +<% + dim Query + dim i,j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap() + dim krc_no + dim Max_length 'ÀԷ°¡´É ÁÙ¼öÁ¤ÀÇ + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim depart_cost_type + dim cost_type(2) ''ÁöÃâ¹æ¹ý ±¸ºÐ + + dim groupfeeArr : groupfeeArr = "[]" + + cost_type(1) = "°³ÀιýÀÎÄ«µå" + cost_type(2) = "Çö±Ý/°³ÀÎÄ«µå" + + db_table_name = "¹®¼­³»¿ë" + + title="ºÎ¼­ºñ½Åû¼­" + Max_length = request("txt_Max_length") + if cint(Max_length) = 0 then + Max_length = 14 + end if + + depart_cost_type = request("depart_cost_type") + + Max_Width =750 + '//-- 20210428 hwkim + 'redim gap(Max_length,4) 'x:¼ø¼­, y:1:ÀÏÀÚ, 2:¼¼ºÎÇ׸ñ, 3:±Ý¾×, 4:ÁöÃâ¹æ¹ý, (0,0) : ÃÑ¾× + redim gap(Max_length,6) 'x:¼ø¼­, y:1:ÀÏÀÚ, 2:¼¼ºÎÇ׸ñ, 3:±Ý¾×, 4:ÁöÃâ¹æ¹ý, 5:ÇÁ·ÎÁ§Æ®, 6:¼¼ºÎÇ׸ñ, (0,0) : ÃÑ¾× + + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + dim use_cost + use_cost = request("use_cost") + set rsm = server.CreateObject("ADODB.RECORDSET") + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + for i = 1 to Max_length + gap(i, 1) = request("txt_date")(i) + gap(i, 2) = request("txt_HangMok")(i) + gap(i, 3) = request("txt_cost")(i) + gap(i, 4) = trim(Request("cost_type")(i)) + + gap(i, 5) = request("txt_pjt")(i) 'ÇÁ·ÎÁ§Æ® + gap(i, 6) = request("txt_bigo")(i) '¼¼ºÎÇ׸ñ + next + print_type = request("print_type") + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + if cint(print_type) = 2 then + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "w-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + + '==================================================================== + '°ü·ÃÇ׸ñ ¸¸µé±â + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', 'ºÎ¼­ºñ½Åû¼­', '" & Session("loginuser") & "', '" & date() & "', '14', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, " + for i=1 to Max_length + 'if gap(i,4) <> "¼±ÅÃ" then + if gap(i,3) <> "" then + query =query & "target" & trim(i) & ", " + end if + next + query = query & " target20, target21, " + query = query & " target29, target30," + query = query & " target97, target98, target99, target100, " + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§, login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + for i=1 to Max_length + 'if gap(i,4) <> "¼±ÅÃ" then + if gap(i,3) <> "" then + gap(i,3) = replace(gap(i,3),",","") + gap(i,3) = replace(gap(i,3),"\","") + '''''query = query & "'" & gap(i,1) & "^^ÀϹݾ÷¹« - ±âŸ^^" & gap(i,2) & "^^" & gap(i,3) & "^^99999^^" & gap(i,4) & "', " + '//-- 5:ÇÁ·ÎÁ§Æ®, 2:Ç׸ñ, 6:¼¼ºÎÇ׸ñ, 3: ±Ý¾× + 'query = query & "'" & gap(i,1) & "^^ÀϹݾ÷¹« - ±âŸ^^" & gap(i,5) & "^^" & gap(i,2) & "^^" & gap(i,6) & "^^" & gap(i,3) & "^^99999^^" & gap(i,4) & "', " + query = query & "'" & gap(i,1) & "^^ÀϹݾ÷¹« - ±âŸ^^" & gap(i,2) & "^^" & gap(i,3) & "^^99999^^" & gap(i,4) & "^^" & gap(i,5)& "^^" & gap(i,6) & "', " + end if + next + if depart_cost_type = "1" then ' ±×·ìȰµ¿ºñ + query = query & " 'ÆÀ' , " + Elseif depart_cost_type = "2" then ' ±×·ìÀåȰµ¿ºñ + query = query & " 'Àå' , " + end if + query = query & "'" & session("Depart_Code") & "' ," + query = query & "'" & Max_length & "', " + query = query & "'0', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + +' Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "')" + adoconn.execute query + + + groupfeeArr = "[" + for i=1 to Max_length + 'if gap(i,4) <> "¼±ÅÃ" then + if gap(i,3) <> "" then + groupfeeArr = groupfeeArr & "{" + groupfeeArr = groupfeeArr & """d_no"":""" & krc_no & """," + groupfeeArr = groupfeeArr & """hangmok"":""target" & cstr(i) & """," + groupfeeArr = groupfeeArr & """gubun"":""" & "±×·ì" & iif(depart_cost_type = "2", "Àå", "") & "Ȱµ¿ºñ" & """," + groupfeeArr = groupfeeArr & """cost_date"":""" & gap(i,1) & """," + + groupfeeArr = groupfeeArr & """p_cd"":""" & gap(i,5) & """," + groupfeeArr = groupfeeArr & """p_hangmok"":""" & gap(i,2) & """," + groupfeeArr = groupfeeArr & """contents"":""" & gap(i,6) & """," + + groupfeeArr = groupfeeArr & """cost"":""" & gap(i,3) & """" + groupfeeArr = groupfeeArr & "}," + end if + next + groupfeeArr = mid(groupfeeArr, 1, len(groupfeeArr)-1) + groupfeeArr = groupfeeArr & "]" + +'''////====================== + for i = 1 to Max_length + if trim(gap(i, 1)) <> "" then + gap(i, 1) = mid(gap(i, 1),1,4) & "³â " & mid(gap(i, 1),6,2) & "¿ù " & mid(gap(i, 1),9,2) & "ÀÏ" + end if + for j=1 to 4 + if trim(gap(i, j)) = "" then + gap(i, j) = " " + end if + next + + next + end if'''if cint(print_type) = 2 then + + +%> + +<%if cint(print_type) = 1 then%> + +<% end if %> +<%if cint(print_type) = 2 then%> + +<% end if %> +
+ + + +<%for i=1 to Max_length%> + + + + + + + +<%next%> + + + + <% + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + + + +

\ No newline at end of file diff --git a/approval/doc_expense_print_2014.asp b/approval/doc_expense_print_2014.asp new file mode 100644 index 0000000..167cd31 --- /dev/null +++ b/approval/doc_expense_print_2014.asp @@ -0,0 +1,909 @@ + + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + set uploadform = Server.CreateObject("DEXT.FileUpload") + uploadform.Codepage = 949 + + dim doc_type : doc_type = "doc_expense_print_2014" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(17) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£, 17:Áö±ÞÀÏÀÚ + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim title_type + + db_table_name = "¹®¼­³»¿ë" + + if uploadform("title_type") = "ÁöÃâ" then + title="Áö Ãâ °á ÀÇ ¼­" + else + title="ÀÔ ±Ý °á ÀÇ ¼­" + end if + title_type = mid(replace(title," ",""), 1, 2) + + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + '¿¬±¸ÀÎÁö ½Ç»çÀÎÁö + p_depart = Session("Depart_Code") + d_cost_type = uploadform("d_cost_type") + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = uploadform("p_subject") 'ÇÁ·ÎÁ§Æ® ¸í + gap(1) = replace(gap(1), "@NPER@", "&") + gap(2) = uploadform("expence_reason") '¸Þ¸ð + gap(3) = uploadform("expence_date") 'ÀÔ±ÝÀÏÀÚ + gap(4) = uploadform("expence_way") 'ÀԱݹæ¹ý + gap(5) = uploadform("expence_money") '°ø±Þ°¡¾× + gap(6) = uploadform("expence_vat") 'ºÎ°¡¼¼¾× + gap(7) = uploadform("expence_sum") 'ÀÔ±ÝÃÑ¾× + gap(8) = uploadform("expence_company") '°Å·¡Ã³ + gap(9) = uploadform("p_sn") 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + 'gap(10) = uploadform("txt_d_no") 'ǰÀǹ®¼­ + gap(12) = uploadform("expence_num") 'Áõºù¹øÈ£ + + gap(13) = uploadform("expence_company_num") '°Å·¡Ã³ »ç¾÷ÀÚµî·Ï¹øÈ£ + gap(14) = uploadform("expence_item") '´ëǥǰ¸ñ + gap(15) = uploadform("expence_taxtype") '¼¼±Ý±¸ºÐ + + gap(16) = uploadform("k_company") 'ȸ»ç + gap(17) = uploadform("payment_date") 'Áö±ÞÀÏÀÚ + + print_type = uploadform("print_type") + + p_child_sn = uploadform("p_child_sn") 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(Á¶»ç¹æ¹ý¿¡ µû¶ó °¥¸², ½Ç»ç¸¸ °¡Á®¿È) + hangmok = uploadform("hangmok") 'ºñ¿ëÇ׸ñ + sebu = uploadform("sebu") '¼¼ºÎ³»¿ë + est = uploadform("est") 'Á÷Á¢ºñ¿¹»ê + act_sum = uploadform("act_sum") '´©ÀûÁýÇà±Ý¾× + gab_cha = uploadform("gab_cha") 'Â÷¾× + d_krc_no = uploadform("d_krc_no") '¹Ý·ÁµÇ¾ú´ø ¹®¼­¹øÈ£ + if gab_cha = "" then + gab_cha = "0" + end if + minus_expence_reason = uploadform("minus_expence_reason") 'Ãß°¡»çÀ¯ + + ''///=============== + 'Á¶»ç¹æ¹ý °¡Á®¿À±â + query = " SELECT TPMC.p_method_nm, p_child_sn " + query = query & " FROM T_PROJECT_METHOD TPM " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd " + query = query & " WHERE p_sn = '"& gap(9) &"' " + query = query & " AND TPM.p_child_sn = '"& p_child_sn &"' " + + 'Response.Write query + + rsp.Open query, adoConn, 1 + p_method_nm = rsp("p_method_nm") + rsp.close + + 'Response.Write "est : " & est & "
" + + tmp_txt1 = uploadform("tmp_txt1") + tmp_txt2 = uploadform("tmp_txt2") + tmp_txt3 = uploadform("tmp_txt3") + tmp_txt4 = uploadform("tmp_txt4") + tmp_txt5 = uploadform("tmp_txt5") + tmp_txt6 = uploadform("tmp_txt6") + tmp_txt7 = uploadform("tmp_txt7") + tmp_txt8 = uploadform("tmp_txt8") + tmp_txt9 = uploadform("tmp_txt9") + tmp_txt10 = uploadform("tmp_txt10") + + 'response.Write gap(1) &" ,"& gap(2) &" ,"& gap(3) &" ,"& gap(4) &" ,"& gap(5) &" ,"& gap(6) &" ,"& gap(7) &" ,"& gap(8) &" ,"& gap(9) &" ,"& gap(10)&" ,"& hangmok &" ,"& sebu + 'response.Write tmp_txt1 &" ,"& tmp_txt2 &" ,"& tmp_txt3 &" ,"& tmp_txt4 &" ,"& tmp_txt5 &" ,"& tmp_txt6 &" ,"& tmp_txt7 &" ,"& tmp_txt8 &" ,"& tmp_txt9 &" ,"& tmp_txt10 + + 'ºñ¿ë Ç׸ñ °¡Á®¿À±â + 'response.Write "hangmok : " & hangmok & "
" + if hangmok <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& hangmok & "'" + query = query & " AND d_cost_parents = '0' " + + 'response.Write "query : " & query & "
" + + rsp.Open query, adoConn, 1 + hangmok_name = rsp("d_cost_name") + rsp.close + end if + + '¼¼ºÎ³»¿ë °¡Á®¿À±â + if sebu <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "'" + rsp.Open query, adoConn, 1 + sebu_name = rsp("d_cost_name") + rsp.close + end if +%> + + + + <% + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.81" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" )then + response.write "
d_orders = "& d_orders + response.write "
d_order_cnt = "& d_order_cnt + response.write "
my_pos = "& my_pos + response.write "
tmp_dcode = "& tmp_dcode(d_code, 1) + response.write "
d_order4 = "& tmp_ess(tmp_dcode(d_code, 1), 0) + response.write "
d_order5 = "& tmp_ess(0, 0) + end if + if cint(print_type) = 2 then + gap(9) = gap(9)&"," 'ÇÁ·ÎÁ§Æ®´Â ÀÌÁ¦ ÇѰǸ¸ ¿À±â¶§¹®¿¡ ','°¡ ¿ÀÁö ¾Ê´Â´Ù. ±âÁ¸Äڵ带 »ì¸®±â À§ÇÔ + + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + if title_type = "ÁöÃâ" then + tmpstr = tmpstr & "i-" + else + tmpstr = tmpstr & "S-" + end if + krc_no = tmpstr & ZeroFormat(krc_no,5) + + tmp_p_sn = split(gap(9),",") + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + '°ü·ÃÇ׸ñ ¸¸µé±â + 'tmp_money = int(replace(gap(7), ",", "")) 'ÁöÃâ(ÀÔ±Ý)ÃÑ¾× + 'Response.Write "gap(5) : "&gap(5) + tmp_money = int(replace(gap(5), ",", "")) '°ø±Þ°¡¾× + gab_cha = int(replace(gab_cha, ",", "")) 'Â÷¾× + %> + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target18, target19, remark20, target10, target11, target12, target13, target14, target15, target16, target17, target20, target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip,remark1,remark19) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " 'ÇÁ·ÎÁ§Æ®¸í(target1) + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " 'ÀÔ±ÝÀÏÀÚ(target3) + query = query & "'" & gap(4) & "', " 'ÀԱݹæ¹ý(target4) + query = query & "'" & tmp_money & "', " '°ø±Þ°¡¾×(target5) + query = query & "'" & gap(6) & "', " 'ºÎ°¡¼¼¾×(target6) + query = query & "'" & gap(7) & "', " 'ÀÔ±ÝÃѾ×(target7) + query = query & "'" & gap(8) & "', " '°Å·¡Ã³(target8) + query = query & "'" & gap(10) & "', " 'ǰÀǹ®¼­(target9) + query = query & "'" & gap(12) & "', " 'Áõºù¹øÈ£(target18) + + query = query & "'" & gap(13) & "|" & gap(14) & "|" & gap(15) & "', " '°Å·¡Ã³»ç¾÷ÀÚ¹øÈ£|¼¼±ÝŸÀÔ|ǰ¸ñ(target19) + query = query & "'" & gap(16) & "', " 'ȸ»ç + + query = query & "'" & p_child_sn & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target10),(Á¶»ç¹æ¹ý¿¡ µû¶ó °¥¸², ½Ç»ç¸¸ °¡Á®¿È) + query = query & "'" & hangmok & "', " 'ºñ¿ëÇ׸ñ(target11) + query = query & "'" & sebu & "', " '¼¼ºÎ³»¿ë(target12) + query = query & "'" & est & "', " 'Á÷Á¢ºñ¿¹»ê(target13) + query = query & "'" & act_sum & "', " '´©ÀûÁýÇà±Ý¾×(target14) + query = query & "'" & gab_cha & "', " 'Â÷¾×(target15) + query = query & "'" & d_cost_type & "', " '½Ç»ç or ¿¬±¸(target16) + query = query & "'" & minus_expence_reason & "', " 'Ãß°¡»çÀ¯(target17) + query = query & "'" & p_child_sn & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target20) + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(9) & "', " 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "', '3', " + query = query & "'" & gap(17) & "') " 'Áö±ÞÀÏÀÚ(remark19) + 'Response.Write query & "
" + adoconn.execute query + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "°áÀǼ­', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + for i=1 to 9 + if trim(gap(i)) = "" then + gap(i) = " " + end if + next + for i=5 to 7 + if gap(i) = " " then + gap(i) = "0" + end if + next + + '(2014-07-30) °áÀç°¡ ¿Ã¶ó°¡¸é direct_cost Å×À̺íÀÇ act_sum¿¡ ¹Ù·Î ¾÷µ¥ÀÌÆ® ½ÃÅ´. ¹Ý·Á³ª °áÀçÃë¼Ò½Ã¿¡´Â ÇØ´ç ±Ý¾×¸¸Å­ »¬ °ÍÀÓ. + query = " SELECT est_money, act_money " + query = query & " FROM direct_cost " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& d_cost_type &"' " + query = query & " AND p_child_sn = '"& p_child_sn &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + ' Response.Write query & "
" + rsm.Open query, adoConn, 1 + + If rsm.recordCount > 0 Then + act_money = rsm("act_money") + tmp_money + cha_money = act_money - rsm("est_money") + + rsm.close + + query = " UPDATE direct_cost " + query = query & " SET act_money = '"& act_money &"' " + query = query & " ,cha_money = '"& cha_money &"' " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& d_cost_type &"' " + query = query & " AND p_child_sn = '"& p_child_sn &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + 'Response.Write query & "
" + adoconn.execute query + + Else + act_money = tmp_money + cha_money = 0 - tmp_money + + rsm.close + + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "' " + rsm.Open query, adoConn, 1 + + tmp_sebu = rsm("d_cost_name") + rsm.close + + query = "insert into direct_cost (" + query = query & " p_sn, krc_no, p_subject, hangmok, sebu, " + query = query & " act_money, cha_money, " + query = query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, write_count,p_subject_group, p_sn_group, cost_type, p_child_sn" + query = query & " ) values (" + query = query & "'" & tmp_p_sn(0) & "', " + query = query & "'" & krc_no & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & hangmok & "', " + query = query & "'" & tmp_sebu & "', " + query = query & "'" & tmp_money & "', " + query = query & "'" & cha_money & "', " + query = query & "'" & date() & "'," + query = query & "'" & time() & "'," + query = query & "'" & session("loginuser") & "', " + query = query & "'" & session("user_number") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_HOST") & "', " + query = query & "'" & 1 & "', " + query = query & "'" & p_subject_group & "', " + query = query & "'" & p_sn_group & "', '" & d_cost_type & "', '" & p_child_sn & "')" + + 'Response.Write query & "
" + adoconn.execute query + End if + if d_krc_no <> "" then + query = "" + query = query & " UPDATE document " + query = query & " SET d_view = 'N' " + query = query & " WHERE d_no = '" & d_krc_no & "' " + + adoconn.execute query + end if + + if uploadform("doc_attach_file").count > 0 Then + Set fso = Server.CreateObject("Scripting.FileSystemObject") + for i=1 To uploadform("doc_attach_file").count + if fso.FolderExists(Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no) = False Then + fso.CreateFolder Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no + End If + fso.MoveFile Server.Mappath("/") & uploadform("doc_attach_file")(i), Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no & "/" & krc_no & "_" & Cstr(i) & ".jpg" + Next + Set fso = Nothing + End If + end if +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + onLoad="clsit();" <% end if %>> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if gap(10) <> "" then + %> + + + + <% + end if + %> + + + + + + + +
+ + + + + +
+ <%if title_type = "ÁöÃâ" then%> + + <%else%> + + <%end if%> + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% If gap(12) <> "" Then %> + + + <% End If %> + + + + + + + + + + + + <% if cint(print_type) = 1 then %> + + + + + <% End If %> +
ÇÁ·ÎÁ§Æ® ¸í(¾÷¹«)<%=gap(1)%>- (<%=gap(9) %>)Á¶»ç¹æ¹ý<%=p_method_nm%>
ºñ¿ëÇ׸ñ<%=hangmok_name%>¼¼ºÎ³»¿ë<%=sebu_name%>
ÁõºùÀÏÀÚ<%=gap(3)%>Áõºù¼­·ù<%=gap(4)%>
°ø±Þ°¡¾× <%=gap(5)%> ¿ø rowspan="2" <% End If %>><%=title_type%>ÃÑ¾× rowspan="2" <% End If %>> <%=gap(7)%> ¿ø
ºÎ°¡¼¼¾× <%=gap(6)%> ¿øÁõºù¹øÈ£ <%=gap(12)%>
°Å·¡Ã³<%=gap(8)%>ÀԱݰèÁ + <%if trim(gap(4)) = "¼¼±Ý°è»ê¼­" then + Response.Write "÷ºÎÆÄÀÏ ÂüÁ¶" + else + Response.Write "ÇØ´ç ¾øÀ½" + end if%> +
Áö±ÞÀÏÀÚ<%=gap(17)%>
Áõºù÷ºÎ +
+ <% if uploadform("doc_attach")(1) <> "" Then %> + <% + set objImage = Server.CreateObject("DEXT.ImageProc") + objImage.AutoMakeFolder = True + For i=1 To uploadform("doc_attach").count + if true = objImage.SetSourceFile(uploadform("doc_attach")(i).TempFilePath) then + tmpFileName = "\Upload\DOC_ATTACH\tmp\" & date_time() & "_" & Session("User_Number") & "_" & Cstr(i) & ".jpg" + thumb_image = objImage.SaveasThumbnail(Server.MapPath("/") & tmpFileName, objImage.ImageWidth, objImage.ImageHeight, false) + %> + +
+ +
+ <% + End If + Next + Set objImage = Nothing + %> + <% End If %> +
+
+
+ + + + + + + + + + + + +
Á÷Á¢ºñ ¿¹»ê<%=est%>¿ø´©Àû ÁýÇà ±Ý¾×<%=act_sum%>¿ø
ÁýÇà ½Ã Àܾ×<%=gab_cha%>¿ø ([Àܾ×] = [Á÷Á¢ºñ ¿¹»ê] - [´©ÀûÁýÇà±Ý¾×] - [°ø±Þ°¡¾×])
+
+ + + + + +
ºñ °í (¸Þ¸ð)<%=ViewWord(gap(2))%>
+
+ + + + + +
Ãß°¡ »çÀ¯<%=ViewWord(minus_expence_reason)%>
+
+ + + + + +
ǰÀǹ®¼­<%=gap(10)%>
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + +<% +set uploadform = nothing +%> \ No newline at end of file diff --git a/approval/doc_expense_print_2014.asp_250908_cns b/approval/doc_expense_print_2014.asp_250908_cns new file mode 100644 index 0000000..df02af1 --- /dev/null +++ b/approval/doc_expense_print_2014.asp_250908_cns @@ -0,0 +1,902 @@ + + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + set uploadform = Server.CreateObject("DEXT.FileUpload") + uploadform.Codepage = 949 + + dim doc_type : doc_type = "doc_expense_print_2014" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(16) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim title_type + + db_table_name = "¹®¼­³»¿ë" + + if uploadform("title_type") = "ÁöÃâ" then + title="Áö Ãâ °á ÀÇ ¼­" + else + title="ÀÔ ±Ý °á ÀÇ ¼­" + end if + title_type = mid(replace(title," ",""), 1, 2) + + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + '¿¬±¸ÀÎÁö ½Ç»çÀÎÁö + p_depart = Session("Depart_Code") + d_cost_type = uploadform("d_cost_type") + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = uploadform("p_subject") 'ÇÁ·ÎÁ§Æ® ¸í + gap(1) = replace(gap(1), "@NPER@", "&") + gap(2) = uploadform("expence_reason") '¸Þ¸ð + gap(3) = uploadform("expence_date") 'ÀÔ±ÝÀÏÀÚ + gap(4) = uploadform("expence_way") 'ÀԱݹæ¹ý + gap(5) = uploadform("expence_money") '°ø±Þ°¡¾× + gap(6) = uploadform("expence_vat") 'ºÎ°¡¼¼¾× + gap(7) = uploadform("expence_sum") 'ÀÔ±ÝÃÑ¾× + gap(8) = uploadform("expence_company") '°Å·¡Ã³ + gap(9) = uploadform("p_sn") 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + 'gap(10) = uploadform("txt_d_no") 'ǰÀǹ®¼­ + gap(12) = uploadform("expence_num") 'Áõºù¹øÈ£ + + gap(13) = uploadform("expence_company_num") '°Å·¡Ã³ »ç¾÷ÀÚµî·Ï¹øÈ£ + gap(14) = uploadform("expence_item") '´ëǥǰ¸ñ + gap(15) = uploadform("expence_taxtype") '¼¼±Ý±¸ºÐ + + gap(16) = uploadform("k_company") 'ȸ»ç + + print_type = uploadform("print_type") + + p_child_sn = uploadform("p_child_sn") 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(Á¶»ç¹æ¹ý¿¡ µû¶ó °¥¸², ½Ç»ç¸¸ °¡Á®¿È) + hangmok = uploadform("hangmok") 'ºñ¿ëÇ׸ñ + sebu = uploadform("sebu") '¼¼ºÎ³»¿ë + est = uploadform("est") 'Á÷Á¢ºñ¿¹»ê + act_sum = uploadform("act_sum") '´©ÀûÁýÇà±Ý¾× + gab_cha = uploadform("gab_cha") 'Â÷¾× + d_krc_no = uploadform("d_krc_no") '¹Ý·ÁµÇ¾ú´ø ¹®¼­¹øÈ£ + if gab_cha = "" then + gab_cha = "0" + end if + minus_expence_reason = uploadform("minus_expence_reason") 'Ãß°¡»çÀ¯ + + ''///=============== + 'Á¶»ç¹æ¹ý °¡Á®¿À±â + query = " SELECT TPMC.p_method_nm, p_child_sn " + query = query & " FROM T_PROJECT_METHOD TPM " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd " + query = query & " WHERE p_sn = '"& gap(9) &"' " + query = query & " AND TPM.p_child_sn = '"& p_child_sn &"' " + + 'Response.Write query + + rsp.Open query, adoConn, 1 + p_method_nm = rsp("p_method_nm") + rsp.close + + 'Response.Write "est : " & est & "
" + + tmp_txt1 = uploadform("tmp_txt1") + tmp_txt2 = uploadform("tmp_txt2") + tmp_txt3 = uploadform("tmp_txt3") + tmp_txt4 = uploadform("tmp_txt4") + tmp_txt5 = uploadform("tmp_txt5") + tmp_txt6 = uploadform("tmp_txt6") + tmp_txt7 = uploadform("tmp_txt7") + tmp_txt8 = uploadform("tmp_txt8") + tmp_txt9 = uploadform("tmp_txt9") + tmp_txt10 = uploadform("tmp_txt10") + + 'response.Write gap(1) &" ,"& gap(2) &" ,"& gap(3) &" ,"& gap(4) &" ,"& gap(5) &" ,"& gap(6) &" ,"& gap(7) &" ,"& gap(8) &" ,"& gap(9) &" ,"& gap(10)&" ,"& hangmok &" ,"& sebu + 'response.Write tmp_txt1 &" ,"& tmp_txt2 &" ,"& tmp_txt3 &" ,"& tmp_txt4 &" ,"& tmp_txt5 &" ,"& tmp_txt6 &" ,"& tmp_txt7 &" ,"& tmp_txt8 &" ,"& tmp_txt9 &" ,"& tmp_txt10 + + 'ºñ¿ë Ç׸ñ °¡Á®¿À±â + 'response.Write "hangmok : " & hangmok & "
" + if hangmok <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& hangmok & "'" + query = query & " AND d_cost_parents = '0' " + + 'response.Write "query : " & query & "
" + + rsp.Open query, adoConn, 1 + hangmok_name = rsp("d_cost_name") + rsp.close + end if + + '¼¼ºÎ³»¿ë °¡Á®¿À±â + if sebu <> "" then + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "'" + rsp.Open query, adoConn, 1 + sebu_name = rsp("d_cost_name") + rsp.close + end if +%> + + + + <% + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.81" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" )then + response.write "
d_orders = "& d_orders + response.write "
d_order_cnt = "& d_order_cnt + response.write "
my_pos = "& my_pos + response.write "
tmp_dcode = "& tmp_dcode(d_code, 1) + response.write "
d_order4 = "& tmp_ess(tmp_dcode(d_code, 1), 0) + response.write "
d_order5 = "& tmp_ess(0, 0) + end if + if cint(print_type) = 2 then + gap(9) = gap(9)&"," 'ÇÁ·ÎÁ§Æ®´Â ÀÌÁ¦ ÇѰǸ¸ ¿À±â¶§¹®¿¡ ','°¡ ¿ÀÁö ¾Ê´Â´Ù. ±âÁ¸Äڵ带 »ì¸®±â À§ÇÔ + + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + if title_type = "ÁöÃâ" then + tmpstr = tmpstr & "i-" + else + tmpstr = tmpstr & "S-" + end if + krc_no = tmpstr & ZeroFormat(krc_no,5) + + tmp_p_sn = split(gap(9),",") + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + '°ü·ÃÇ׸ñ ¸¸µé±â + 'tmp_money = int(replace(gap(7), ",", "")) 'ÁöÃâ(ÀÔ±Ý)ÃÑ¾× + 'Response.Write "gap(5) : "&gap(5) + tmp_money = int(replace(gap(5), ",", "")) '°ø±Þ°¡¾× + gab_cha = int(replace(gab_cha, ",", "")) 'Â÷¾× + %> + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target18, target19, remark20, target10, target11, target12, target13, target14, target15, target16, target17, target20, target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip,remark1) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " 'ÇÁ·ÎÁ§Æ®¸í(target1) + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " 'ÀÔ±ÝÀÏÀÚ(target3) + query = query & "'" & gap(4) & "', " 'ÀԱݹæ¹ý(target4) + query = query & "'" & tmp_money & "', " '°ø±Þ°¡¾×(target5) + query = query & "'" & gap(6) & "', " 'ºÎ°¡¼¼¾×(target6) + query = query & "'" & gap(7) & "', " 'ÀÔ±ÝÃѾ×(target7) + query = query & "'" & gap(8) & "', " '°Å·¡Ã³(target8) + query = query & "'" & gap(10) & "', " 'ǰÀǹ®¼­(target9) + query = query & "'" & gap(12) & "', " 'Áõºù¹øÈ£(target18) + + query = query & "'" & gap(13) & "|" & gap(14) & "|" & gap(15) & "', " '°Å·¡Ã³»ç¾÷ÀÚ¹øÈ£|¼¼±ÝŸÀÔ|ǰ¸ñ(target19) + query = query & "'" & gap(16) & "', " 'ȸ»ç + + query = query & "'" & p_child_sn & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target10),(Á¶»ç¹æ¹ý¿¡ µû¶ó °¥¸², ½Ç»ç¸¸ °¡Á®¿È) + query = query & "'" & hangmok & "', " 'ºñ¿ëÇ׸ñ(target11) + query = query & "'" & sebu & "', " '¼¼ºÎ³»¿ë(target12) + query = query & "'" & est & "', " 'Á÷Á¢ºñ¿¹»ê(target13) + query = query & "'" & act_sum & "', " '´©ÀûÁýÇà±Ý¾×(target14) + query = query & "'" & gab_cha & "', " 'Â÷¾×(target15) + query = query & "'" & d_cost_type & "', " '½Ç»ç or ¿¬±¸(target16) + query = query & "'" & minus_expence_reason & "', " 'Ãß°¡»çÀ¯(target17) + query = query & "'" & p_child_sn & "', " 'ÀÚ½ÄÇÁ·ÎÁ§Æ®¹øÈ£(target20) + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(9) & "', " 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "', '3') " + 'Response.Write query & "
" + adoconn.execute query + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "°áÀǼ­', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + for i=1 to 9 + if trim(gap(i)) = "" then + gap(i) = " " + end if + next + for i=5 to 7 + if gap(i) = " " then + gap(i) = "0" + end if + next + + '(2014-07-30) °áÀç°¡ ¿Ã¶ó°¡¸é direct_cost Å×À̺íÀÇ act_sum¿¡ ¹Ù·Î ¾÷µ¥ÀÌÆ® ½ÃÅ´. ¹Ý·Á³ª °áÀçÃë¼Ò½Ã¿¡´Â ÇØ´ç ±Ý¾×¸¸Å­ »¬ °ÍÀÓ. + query = " SELECT est_money, act_money " + query = query & " FROM direct_cost " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& d_cost_type &"' " + query = query & " AND p_child_sn = '"& p_child_sn &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + ' Response.Write query & "
" + rsm.Open query, adoConn, 1 + + If rsm.recordCount > 0 Then + act_money = rsm("act_money") + tmp_money + cha_money = act_money - rsm("est_money") + + rsm.close + + query = " UPDATE direct_cost " + query = query & " SET act_money = '"& act_money &"' " + query = query & " ,cha_money = '"& cha_money &"' " + query = query & " WHERE del_yes_no = 'no' " + query = query & " AND cost_type = '"& d_cost_type &"' " + query = query & " AND p_child_sn = '"& p_child_sn &"' " + query = query & " AND hangmok = '"& hangmok&"' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu &"' " + query = query & " ) " + + 'Response.Write query & "
" + adoconn.execute query + + Else + act_money = tmp_money + cha_money = 0 - tmp_money + + rsm.close + + query = " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"& sebu & "' " + rsm.Open query, adoConn, 1 + + tmp_sebu = rsm("d_cost_name") + rsm.close + + query = "insert into direct_cost (" + query = query & " p_sn, krc_no, p_subject, hangmok, sebu, " + query = query & " act_money, cha_money, " + query = query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, write_count,p_subject_group, p_sn_group, cost_type, p_child_sn" + query = query & " ) values (" + query = query & "'" & tmp_p_sn(0) & "', " + query = query & "'" & krc_no & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & hangmok & "', " + query = query & "'" & tmp_sebu & "', " + query = query & "'" & tmp_money & "', " + query = query & "'" & cha_money & "', " + query = query & "'" & date() & "'," + query = query & "'" & time() & "'," + query = query & "'" & session("loginuser") & "', " + query = query & "'" & session("user_number") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_HOST") & "', " + query = query & "'" & 1 & "', " + query = query & "'" & p_subject_group & "', " + query = query & "'" & p_sn_group & "', '" & d_cost_type & "', '" & p_child_sn & "')" + + 'Response.Write query & "
" + adoconn.execute query + End if + if d_krc_no <> "" then + query = "" + query = query & " UPDATE document " + query = query & " SET d_view = 'N' " + query = query & " WHERE d_no = '" & d_krc_no & "' " + + adoconn.execute query + end if + + if uploadform("doc_attach_file").count > 0 Then + Set fso = Server.CreateObject("Scripting.FileSystemObject") + for i=1 To uploadform("doc_attach_file").count + if fso.FolderExists(Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no) = False Then + fso.CreateFolder Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no + End If + fso.MoveFile Server.Mappath("/") & uploadform("doc_attach_file")(i), Server.Mappath("/") & "/Upload/DOC_ATTACH/" & krc_no & "/" & krc_no & "_" & Cstr(i) & ".jpg" + Next + Set fso = Nothing + End If + end if +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + onLoad="clsit();" <% end if %>> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if gap(10) <> "" then + %> + + + + <% + end if + %> + + + + + + + +
+ + + + + +
+ <%if title_type = "ÁöÃâ" then%> + + <%else%> + + <%end if%> + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% If gap(12) <> "" Then %> + + + <% End If %> + + + + + + + + <% if cint(print_type) = 1 then %> + + + + + <% End If %> +
ÇÁ·ÎÁ§Æ® ¸í(¾÷¹«)<%=gap(1)%>- (<%=gap(9) %>)Á¶»ç¹æ¹ý<%=p_method_nm%>
ºñ¿ëÇ׸ñ<%=hangmok_name%>¼¼ºÎ³»¿ë<%=sebu_name%>
ÁõºùÀÏÀÚ<%=gap(3)%>Áõºù¼­·ù<%=gap(4)%>
°ø±Þ°¡¾× <%=gap(5)%> ¿ø rowspan="2" <% End If %>><%=title_type%>ÃÑ¾× rowspan="2" <% End If %>> <%=gap(7)%> ¿ø
ºÎ°¡¼¼¾× <%=gap(6)%> ¿øÁõºù¹øÈ£ <%=gap(12)%>
°Å·¡Ã³<%=gap(8)%>ÀԱݰèÁ + <%if trim(gap(4)) = "¼¼±Ý°è»ê¼­" then + Response.Write "÷ºÎÆÄÀÏ ÂüÁ¶" + else + Response.Write "ÇØ´ç ¾øÀ½" + end if%> +
Áõºù÷ºÎ +
+ <% if uploadform("doc_attach")(1) <> "" Then %> + <% + set objImage = Server.CreateObject("DEXT.ImageProc") + objImage.AutoMakeFolder = True + For i=1 To uploadform("doc_attach").count + if true = objImage.SetSourceFile(uploadform("doc_attach")(i).TempFilePath) then + tmpFileName = "\Upload\DOC_ATTACH\tmp\" & date_time() & "_" & Session("User_Number") & "_" & Cstr(i) & ".jpg" + thumb_image = objImage.SaveasThumbnail(Server.MapPath("/") & tmpFileName, objImage.ImageWidth, objImage.ImageHeight, false) + %> + +
+ +
+ <% + End If + Next + Set objImage = Nothing + %> + <% End If %> +
+
+
+ + + + + + + + + + + + +
Á÷Á¢ºñ ¿¹»ê<%=est%>¿ø´©Àû ÁýÇà ±Ý¾×<%=act_sum%>¿ø
ÁýÇà ½Ã Àܾ×<%=gab_cha%>¿ø ([Àܾ×] = [Á÷Á¢ºñ ¿¹»ê] - [´©ÀûÁýÇà±Ý¾×] - [°ø±Þ°¡¾×])
+
+ + + + + +
ºñ °í (¸Þ¸ð)<%=ViewWord(gap(2))%>
+
+ + + + + +
Ãß°¡ »çÀ¯<%=ViewWord(minus_expence_reason)%>
+
+ + + + + +
ǰÀǹ®¼­<%=gap(10)%>
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + +<% +set uploadform = nothing +%> \ No newline at end of file diff --git a/approval/doc_expense_taxList.asp b/approval/doc_expense_taxList.asp new file mode 100644 index 0000000..f64d38b --- /dev/null +++ b/approval/doc_expense_taxList.asp @@ -0,0 +1,733 @@ + + +<% + Dim Query, i, j + Dim sMonth, NTSConfirmNum, Company + NTSConfirmNum = Request("NTSConfirmNum") + sMonth = Request("sMonth") + Company = Request("Company") + If sMonth = "" Then + If day(date) >= 5 Then + sMonth = Left(date, 7) + Else + sMonth = Left(DateAdd("M", -1, date), 7) + End If + End If + userEmail = "" + If Session("N_Depart") <> "M" Then + userEmail = Session("User_Mail") + End If +%> + +
+ + + +
+
+
+
+
+ + + + + +
+
+
+
+
+ +
+ +
+
+
+ +
+ ´ã´çÀÚ¸ÞÀÏ +
+ +
+ +
+
+
+ +
+
+ ÀÛ¼ºÀÏÀÚ +
+ +
+ »ç¾÷ÀÚ¹øÈ£ +
+ +
+ »óÈ£ +
+ +
+ ´ëÇ¥ÀÚ¸í +
+ +
+ ´ã´çÀÚ¸ÞÀÏ +
+ " readonly> +
+
+
+ ´ëǥǰ¸ñ¸í +
+ +
+ ÇÕ°è±Ý¾× +
+ +
+ °ø±Þ°¡¾× +
+ +
+ ¼¼¾× +
+ +
+ ȸ»ç +
+ +
+
+
+ +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¼±ÅÃȸ»çÀÛ¼ºÀÏÀڹ߱ÞÀÏÀÚÀü¼ÛÀÏÀÚ»ç¾÷ÀÚ¹øÈ£»óÈ£´ëÇ¥ÀÚ¸í´ëǥǰ¸ñ¸í´ã´çÀÚ¸ÞÀÏÇÕ°è±Ý¾×°ø±Þ°¡¾×¼¼¾×ÀÛ¼º°¡´É±Ý¾×ÀÛ¼º°¡´ÉºÎ°¡¼¼
+ +
+
+
+
+
+ + <% + + %> + + +
+ + \ No newline at end of file diff --git a/approval/doc_final.asp b/approval/doc_final.asp new file mode 100644 index 0000000..8fb4eb9 --- /dev/null +++ b/approval/doc_final.asp @@ -0,0 +1,453 @@ + + +<% +%> + +
+ + + +
+

ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎ (´ëÇ¥´Ô)

+
+ + + +
+
+
+
+
+ + <% If Session("teamplace") = "6" Then %> + + <% End If %> +
+
+
+
+
+ Áõºù¿ù +
+ +
+ +
+
+ ÁõºùÁ¾·ù +
+ +
+ ºÎ¼­ +
+ +
+ Ű¿öµå(ÇÁ·ÎÁ§Æ®¸í, °Å·¡Ã³, ºñ¿ëÇ׸ñ, ÀÛ¼ºÀÚ) +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÃѰèÄ«µå/Çö±Ý
ÁöÃâ°áÀǼ­
¼¼±Ý°è»ê¼­
ÁöÃâ°áÀǼ­
ÀΰǺñ
ÁöÃâ°áÀǼ­
ÇØ¿Ü¿ÜÁÖºñ
ÁöÃâ°áÀǼ­
±×·ì¿î¿µºñ¾÷¹«ÀÏÁö
0000000
+ + + + + + + + + + + + + + + + + + + + + + + +
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×È®ÀÎ
+
+
+ +
+
+
+
+
+ + + +
+ + diff --git a/approval/doc_final.asp_250917_cns b/approval/doc_final.asp_250917_cns new file mode 100644 index 0000000..3edf352 --- /dev/null +++ b/approval/doc_final.asp_250917_cns @@ -0,0 +1,449 @@ + + +<% +%> + +
+ + + +
+

ÁöÃâ°áÀǼ­ È®ÀÎ (´ëÇ¥´Ô)

+
+ + + +
+
+
+
+
+ + <% If Session("teamplace") = "6" Then %> + + <% End If %> +
+
+
+
+
+ Áõºù¿ù +
+ +
+ +
+
+ ÁõºùÁ¾·ù +
+ +
+ ºÎ¼­ +
+ +
+ Ű¿öµå(ÇÁ·ÎÁ§Æ®¸í, °Å·¡Ã³, ºñ¿ëÇ׸ñ, ÀÛ¼ºÀÚ) +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÃѰèÄ«µå/Çö±Ý
ÁöÃâ°áÀǼ­
¼¼±Ý°è»ê¼­
ÁöÃâ°áÀǼ­
ÀΰǺñ
ÁöÃâ°áÀǼ­
ÇØ¿Ü¿ÜÁÖºñ
ÁöÃâ°áÀǼ­
±×·ì¿î¿µºñ¾÷¹«ÀÏÁö
0000000
+ + + + + + + + + + + + + + + + + + + + + + + +
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×È®ÀÎ
+
+
+ +
+
+
+
+
+ + + +
+ + diff --git a/approval/doc_final.asp_250923_cns b/approval/doc_final.asp_250923_cns new file mode 100644 index 0000000..8e94366 --- /dev/null +++ b/approval/doc_final.asp_250923_cns @@ -0,0 +1,453 @@ + + +<% +%> + +
+ + + +
+

ÁöÃâ°áÀǼ­/ÀÚ±ÝÁýÇ༭ È®ÀÎ (´ëÇ¥´Ô)

+
+ + + +
+
+
+
+
+ + <% If Session("teamplace") = "6" Then %> + + <% End If %> +
+
+
+
+
+ Áõºù¿ù +
+ +
+ +
+
+ ÁõºùÁ¾·ù +
+ +
+ ºÎ¼­ +
+ +
+ Ű¿öµå(ÇÁ·ÎÁ§Æ®¸í, °Å·¡Ã³, ºñ¿ëÇ׸ñ, ÀÛ¼ºÀÚ) +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
ÃѰèÄ«µå/Çö±Ý
ÁöÃâ°áÀǼ­
¼¼±Ý°è»ê¼­
ÁöÃâ°áÀǼ­
ÀΰǺñ
ÁöÃâ°áÀǼ­
ÇØ¿Ü¿ÜÁÖºñ
ÁöÃâ°áÀǼ­
±×·ì¿î¿µºñ¾÷¹«ÀÏÁö
0000000
+ + + + + + + + + + + + + + + + + + + + + + + +
¹®¼­¹øÈ£ÇÁ·ÎÁ§Æ®¸í°Å·¡Ã³ºÎ¼­ºñ¿ëÇ׸ñ°ø±Þ°¡¾×È®ÀÎ
+
+
+ +
+
+
+
+
+ + + +
+ + diff --git a/approval/doc_list.asp b/approval/doc_list.asp new file mode 100644 index 0000000..8d6da6a --- /dev/null +++ b/approval/doc_list.asp @@ -0,0 +1,472 @@ + + +<% + dim title + dim Query + dim tmpstr2 + dim i + dim max_cnt '¹®¼­³»¿ë Å×ÀÌºí¿¡¼­ ¿øÇÏ´Â ¹®¼­¸¦ °¡Á®¿Â °¹¼ö + dim txt_date 'ÃâÅð±Ùº¸°í¼­ ÀÛ¼º½Ã »ç¿ëµÇ´Â ½ÃÀÛÀÏÀÚ + dim db_table_name + dim Currdate + dim sel_month + + Currdate = year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) + + db_table_name = "¹®¼­³»¿ë" + + title=request("title") + + txt_date = request("txt_date") + sel_month = request("sel_month") + if trim(sel_month) = "" then + sel_month = mid(date,1,7) + end if + + +'¹®¼­¹øÈ£ÀÇ ³âµµ°¡ Çö³âµµ Àΰ͸¸ º¸±â + query = "select * from " & db_table_name + If title = "½Å±Ô ÁöÃâ°áÀǼ­" then + query = query & " where ¹®¼­Á¦¸ñ ='ÁöÃâ°áÀǼ­' " + query = query & " and target16 is not null " + Else + query = query & " where ¹®¼­Á¦¸ñ ='" & title & "' " + End If + query = query & " and login_p_no = '" & Session("User_Number") & "'" + if title = "Á¢´ëºñº¸°í¼­" then + query = query & " and (convert(varchar(7), target3) = '" & sel_month & "' " + else + query = query & " and (substring(¹ß±ÞÀÏ,1,7) = '" & sel_month & "' " + end if + query = query & ") and del_yes_no = 'no' order by ¹®¼­¹øÈ£ desc, ¹ß±Þ½Ã°¢ desc" + + adors.open query, adoconn, adopenstatic, adlockreadonly +%> + +
+ + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + + + + +
+ ¡Ø <% if title = "Á¢´ëºñº¸°í¼­" then response.Write "¸¶ÄÉÆÃºñ" else response.Write title end if%>ÀÇ ±âÁ¸ ÀÔ·Â ÀڷḦ º¸¿©ÁÝ´Ï´Ù.
+ ¡Ø °¡Àå ÃÖ±ÙÀÇ °ÍÀÌ ¸Ç À§¿¡ ÀÖ½À´Ï´Ù. Áï, ÀÛ¼ºÀÏÀÚÀÇ ³»¸²Â÷¼ø ¼ÒÆ®ÀÔ´Ï´Ù.
+ ¡Ø ÀÚ½ÅÀÌ ÀÛ¼ºÇÑ ¹®¼­¸¸ º¸ÀÔ´Ï´Ù.
+
<%if title = "Á¢´ëºñº¸°í¼­" then%>Á¢´ë¿ùº° º¸±â<%else%>ÀÛ¼º¿ùº° º¸±â<%end if%>  + + + <%if title = "½Å±Ô ÁöÃâ°áÀǼ­" then%> +     + ÇÁ·ÎÁ§Æ®ºñ¿ë    + ÀϹݺñ¿ë      + <% End If %> + + +
+ + <% + if title="ÈÞ°¡¿ø" then%> + + + + + + <% + do while not adoRs.eof + %> + + + + + + <%adoRs.movenext + loop + elseif title = "ÈÞÁ÷°è" then%> + + + + + + <% + do while not adoRs.eof + %> + + + + + + <%adoRs.movenext + loop + elseif title = "ÁöÃâ°áÀǼ­" Or title = "½Å±Ô ÁöÃâ°áÀǼ­" or title = "ÀԱݰáÀǼ­" Or title = "¿¹»êÁ¦¾î½Ã½ºÅÛ Å×½ºÆ®" then%> + + + + + + + + + + <% + do while not adoRs.eof + %> + + + + + + + + + + <%adoRs.movenext + loop + elseif title = "Á¢´ëºñº¸°í¼­" then%> + + + + + + + + + + + + <% + do while not adoRs.eof + %> + + + + + + + + + + + + <%adoRs.movenext + loop + elseif title = "ÃâÅð±Ùº¸°í¼­" then%> + + + + + + + + + <% + do while not adoRs.eof + tmpstr= "" + for i=1 to 10 + tmpstr2 = "target" & trim(i) + if trim(adors(tmpstr2)) = "" or isnull(adors(tmpstr2)) then + exit for + end if + tmpstr2 = replace(adors(tmpstr2),"^^", ", ") + tmpstr = tmpstr & " " & tmpstr2 & chr(13) + next + %> + + + + <%tmpstr = split(adors("target1"),"^^") + for i=0 to 5 + if tmpstr(i) = "" then + tmpstr(i) = " " + end if + next + %> + + + + + + <%adoRs.movenext + loop + elseif title = "°¡Áö±Þ±ÝÁöÃâ" or title = "°¡Áö±Þ±ÝÁöÃâ2" or title = "°¡Áö±Þ±ÝÁöÃâ-Á÷Á¢ºñ" then%> + + + + + + + + + + + + <% + if title = "°¡Áö±Þ±ÝÁöÃâ" then + chk = 2 + elseif title = "°¡Áö±Þ±ÝÁöÃâ2" then + chk = 3 + elseif title = "°¡Áö±Þ±ÝÁöÃâ-Á÷Á¢ºñ" then + chk = 4 + end if + do while not adoRs.eof + %> + + + + + + + + + + + + + <%adoRs.movenext + loop + elseif title = "ǰÀǼ­" then%> + + + + + + + + + + <% + do while not adoRs.eof + %> + + + + + + + + + + <%adoRs.movenext + loop + End IF + adoRs.close + %> +
ÀÛ¼ºÀÏÈÞ°¡±â°£ÈÞ°¡»çÀ¯
<%=adors("¹ß±ÞÀÏ")%><%=adors("target1")%>¡­<%=adors("target2")%><%=adors("target3")%>
ÈÞÁ÷»çÀ¯ÈÞÁ÷Èñ¸ÁÀϺ¹Á÷Èñ¸ÁÀÏ
<%=adors("target1")%><%=adors("target2")%><%=adors("target3")%>
ÇÁ·ÎÁ§Æ®¸íÁöÃâÀÏÀÚÁö±Þ¹æ¹ý°ø±Þ°¡¾×ºÎ°¡¼¼¾×°Å·¡Ã³Àμ⿩ºÎ
+ <%tmpstr=adors("target1") + if tmpstr = "" then + tmpstr = " " + end if%> + <%=tmpstr%> + <%=adors("target3")%><%=adors("target4")%><%=formatnumber(adors("target5"),0)%><%=adors("target6")%><%=adors("target8")%><%=adors("print_chk")%>
¹®¼­¹øÈ£»èÁ¦ÇÁ·ÎÁ§Æ®¸íÁ¢´ëÀÏÀÚÁö±Þ¹æ¹ý°ø±Þ°¡¾×ºÎ°¡¼¼¾×°Å·¡Ã³Àμ⿩ºÎ
')"><%=adors("¹®¼­¹øÈ£")%>');" style='CURSOR:pointer;' align="absmiddle"> + <%tmpstr=adors("target1") + if tmpstr = "" then + tmpstr = " " + end if%> + <%=tmpstr%> + <%=adors("target3")%><%=adors("target15")%><%=adors("target4")%><%=adors("target5")%><%=adors("target9")%><%=adors("print_chk")%>
ÀÛ¼ºÀÏÀÛ¼º½Ã°¢Ã¹ÁÙÀÏÀÚùÁÙº¸°í»çÀ¯Ã¹ÁÙÃâ±ÙÁ¶Á¤½Ã°¢Ã¹ÁÙÅð±ÙÁ¶Á¤½Ã°¢
<%=adors("¹ß±ÞÀÏ")%><%=adors("¹ß±Þ½Ã°¢")%><%=tmpstr(0)%><%=tmpstr(3)%><%=tmpstr(4)%><%=tmpstr(5)%>
ÀÛ¼ºÀÏÇÁ·ÎÁ§Æ®¸íÁö±ÞóÁö±Þó´ã´çÀÚÁö±ÞÀÏÀÚÁöÃâ»çÀ¯ÇÕ°è¾×Á¤»êÀÛ¼ºÁ¤»ê¿Ï·á
<%=adors("¹ß±ÞÀÏ")%><%=adors("target12")%><%=adors("target1")%><%=adors("target3")%><%=adors("target4")%><%=adors("target6")%><%=adors("target10")%> + +
ÇÁ·ÎÁ§Æ®¸í³³Ç°ÀÏÀÚ°áÀçÀÏÀÚ°ø±Þ°¡¾×ºÎ°¡¼¼¾×°Å·¡Ã³Àμ⿩ºÎ
+ <%tmpstr=adors("target1") + if tmpstr = "" then + tmpstr = " " + end if%> + <%=tmpstr%> + <%=adors("target3")%><%=adors("target4")%><%=adors("target5")%><%=adors("target6")%><%=adors("target8")%><%=adors("print_chk")%>
+
+ + + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_listall.asp b/approval/doc_listall.asp new file mode 100644 index 0000000..b4123a2 --- /dev/null +++ b/approval/doc_listall.asp @@ -0,0 +1,445 @@ + + +<% +''¹®¼­ÀÇ Á¾·ù´Â dbÀÇ document tableÀÇ group by d_name +dim title() +Max_Title = 26 +dim sel_type +redim title(Max_Title, 3) +dim sel_year +dim doc_year_list() +sel_year = cstr(year(now)) +if request("sel_year") <> "" then + sel_year = request("sel_year") +end if +query = "select distinct ¹®¼­Á¦¸ñ from ¹®¼­³»¿ë order by ¹®¼­Á¦¸ñ" +Rs.Open query, adoConn, 1 +redim title(Rs.recordcount, 3) +title(0, 1) = "Àüü" +i=0 +do while not Rs.eof + i = i + 1 + title(i , 1) = Rs("¹®¼­Á¦¸ñ") + Rs.movenext +loop +Rs.close + +query = "select distinct left(¹ß±ÞÀÏ,4) as ¹ß±ÞÀÏ from ¹®¼­³»¿ë order by left(¹ß±ÞÀÏ,4) desc" +Rs.Open query, adoConn, 1 +redim doc_year_list(Rs.recordCount) +i=0 +do while not Rs.eof + i = i + 1 + doc_year_list(i) = Rs("¹ß±ÞÀÏ") + Rs.movenext +loop +Rs.close + +sel_type = request("sel_type") +if trim(sel_type) = "" then + sel_type = "0" +end if +x = request("x") +p_hotvalue = request("p_hotvalue") +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if +%> + +
+ +
+

¹®¼­ ¸ðÀ½

+
+ + +
+
+
+
+
+
+ <% + query = "" + query = query & " SELECT d_no, d_name, p_sn, part, d_orders, del_yes_no, del_user_name, del_reason, login_À̸§, " + query = query & " d_write_date, login_p_no, target2, target3, target4, target5, target8, target15, target20, target30, " + query = query & " ISNULL(U.use_cost, '') AS use_cost " + query = query & " FROM Document a WITH(NOLOCK) " + query = query & " INNER JOIN ¹®¼­³»¿ë b WITH(NOLOCK) on a.d_no = b.¹®¼­¹øÈ£ " + query = query & " LEFT OUTER JOIN direct_costcode D1 WITH(NOLOCK) ON CONVERT(VARCHAR(5), b.target11) = CONVERT(VARCHAR(5), D1.id) " + query = query & " LEFT OUTER JOIN direct_costcode D2 WITH(NOLOCK) ON CONVERT(VARCHAR(5), b.target12) = CONVERT(VARCHAR(5), D2.id) " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT CONVERT(VARCHAR(20), target9) AS target9, SUM(CONVERT(MONEY, (REPLACE(CONVERT(VARCHAR(50), target5), ',','')))) AS use_cost " + query = query & " FROM ¹®¼­³»¿ë WITH(NOLOCK) " + query = query & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no='no' AND CONVERT(VARCHAR(20), target9) <> '' " + query = query & " GROUP BY CONVERT(VARCHAR(20), target9) " + query = query & " ) U ON b.¹®¼­¹øÈ£ = U.target9 " + query = query & " WHERE d_no LIKE 'KRC-" & sel_year & "%' " + query = query & " AND a.d_orders = b.login_p_no " + If sel_type <> "0" Then + query = query & " AND a.d_name = '" & title(sel_type, 1) & "' " + Else + query = query & " AND a.d_name NOT IN ('¾÷¹«ÀÏÁö', '±â±â¿¹¾à½Åû¼­', '¿¹»óÁ÷Á¢ºñ º¸°í¼­', 'ºÎ¼­ºñ½Åû¼­') " + End If + If p_hotvalue <> "" Then + query = query & " AND ( " + query = query & " b.p_sn LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' OR " + query = query & " a.d_write_name LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' OR " + query = query & " D1.d_cost_name LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' OR " + query = query & " D1.d_cost_name LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' OR " + query = query & " a.d_no LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' OR " + query = query & " b.target8 LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' OR " + query = query & " b.target9 LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' OR " + query = query & " b.target20 LIKE '%" & replace(p_hotvalue, "_", "[_]") & "%' " + query = query & " ) " + End If + query = query & " ORDER BY a.d_sn DESC " + 'end if + 'response.write query + Rs.Open query, adoConn, 1 + tmp_count = Rs.RecordCount + %> + + + + + + + +
+ ¹ß±ÞÀÏ : + ¸ñ·Ï°á°ú : ÃÑ <%=formatnumber(tmp_count,0)%>°³ÀÇ Ç׸ñÀÌ ÀÖ½À´Ï´Ù. +         + <%if tmp_project_chk = "1" OR tmp_admin_chk = "1" then%> + ¹®¼­Á¾·ù + + <%end if%> +     + +    ÀÛ¼ºÀÚ, ÇÁ·ÎÁ§Æ® ÄÚµå, °Å·¡Ã³, Ç׸ñ, ¼¼ºÎ, ¹®¼­¹øÈ£, ǰÀǹ®¼­·Î °Ë»ö °¡´É +
+ + + + + + + + + + <%if tmp_admin_chk = "1" then%> + + <%end if%> + + <% + if Rs.RecordCount > 0 then + Rs.PageSize = 20 + tmp_ok = 1 + PageCount = Rs.PageCount + Rs.absolutepage = tmp_Currentpage + tmp_total_record = Rs.RecordCount + tmp_for = clng(tmp_total_record) - ((clng(tmp_Currentpage) - 1) * Rs.PageSize) + + if Rs.PageSize <= tmp_for then + if Rs.RecordCount <= Rs.PageSize then + tmp_for = Rs.recordcount + else + tmp_for = Rs.PageSize + end if + else + tmp_for = tmp_for + end if + for i = 1 to tmp_for + tmp_txt = "¿Ï·á" + + if Cint(tmp_Currentpage)=1 then + Num=clng(tmp_total_record)- i+1 + else + Num=clng(tmp_total_record) - ((clng(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 + end if + + tmp_flag = mid(Rs("d_no"), 10, 1) + + if Rs("d_name") = "Á÷Á¢ºñ" then + tmpstr = Rs("p_sn") + else + tmpstr = Rs("d_no") + end if + + if Rs("d_name") = "¹®È­Ã¼À°ºñ½Åû¼­" then + tmp_flag = "o2" + end If + if Rs("d_name") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" then + tmp_flag = "t2" + end If + + if tmp_buy_chk = "1" then + if Rs("part") = "1" then + tmp_text = "¹ß¼Û¿Ï·á" + else + tmp_text = "¹Ì¹ß¼Û" + end if + else + if Rs("d_orders") <> Rs("login_p_no") then + tmp_text = "󸮴ë±â" + else + tmp_text = "󸮿Ϸá" + end if + end if + %> + + + + + + + + + + <%if tmp_admin_chk = "1" then + if lcase(Rs("del_yes_no")) = "yes" then + if Rs("del_user_name") = Rs("login_À̸§") then + tmp_text = "Ãë¼Ò" + else + tmp_text = Rs("del_user_name") & " ¹Ý·Á
" & Rs("del_reason") + end if + else + tmp_text = "Á¤»ó" + end if%> + + <%end if%> + + <% + Rs.MoveNext + next + end if + Rs.Close + %> +
No.¹®¼­ºÐ·ù°Å·¡Ã³ÁõºùÀÏÀÛ¼ºÀÏÀÛ¼ºÀÚ¿äûÃë¼Ò¿©ºÎ
<%=Num%>','1','<%=x%>','<%=Rs("p_sn") %>')" class="blue"><% if Rs("d_name") = "ºÎ¼­ºñ½Åû¼­" then response.Write "±×·ì(Àå)Ȱµ¿ºñ" else if Rs("d_name") = "Á¢´ëºñº¸°í¼­" then response.write "¸¶ÄÉÆÃºñ" else response.Write Rs("d_name") end if%> (<%=Rs("d_no")%>) + <% + + if (tmp_project_chk = "1" or tmp_admin_chk = "1") and mid(Rs("d_no"),10,1) = "V" then 'ÇÁ·ÎÁ§Æ® °è¾àº¸°í¼­¸¸ + tmp_subject = "" + if instr(1,Rs("target2"), "^^") > 0 then + tmp_1 = split(Rs("target2"), "^^") + tmp_subject = tmp_1(2) + end if + %> + - <%=tmp_subject%> + <% + end if + %> + <%if Rs("p_sn") <> "" then 'ÇÁ·ÎÁ§Æ® °è¾àº¸°í¼­¸¸%> + <% if Rs("d_name") = "ÁöÃâ°áÀǼ­" then %> + -(<%=Rs("target20")%>) + <% else %> + -(<%=Rs("p_sn")%>) + <% end if %> + <%end if + if mid(Rs("d_name"),1,2) = "ÁöÃâ" or mid(Rs("d_name"),1,2) = "ÀÔ±Ý" or mid(Rs("d_name"),1,3) = "°¡Áö±Þ" or Rs("d_name") = "ǰÀǼ­" or Rs("d_name") = "±³À°Âü°¡½Åû¼­" or _ + Rs("d_name") = "ºÎ¼­ºñ½Åû¼­" or Rs("d_name") = "Á¢´ëºñº¸°í¼­" then + if Rs("d_name") = "ÁöÃâ°áÀǼ­" or Rs("d_name") = "ÀԱݰáÀǼ­" or Rs("d_name") = "±³À°Âü°¡½Åû¼­" or Rs("d_name") = "ǰÀǼ­" then + if not isnull(Rs("target5")) then + tmpstr = formatnumber(Rs("target5"), 0) + end if + elseif Rs("d_name") = "°¡Áö±Þ±ÝÁöÃâ2" or Rs("d_name") = "°¡Áö±Þ±ÝÁöÃâ" then + if not isnull(Rs("target8")) then + tmpstr = Rs("target8") + end if + elseif Rs("d_name") = "°¡Áö±Þ±ÝÁ¤»ê" or Rs("d_name") = "°¡Áö±Þ±ÝÁ¤»ê2" then + tmpstr_spl = split(Rs("target15"),"^^") + tmpstr = formatnumber(tmpstr_spl(1),0) + elseif Rs("d_name") = "ºÎ¼­ºñ½Åû¼­" or Rs("d_name") = "ÁöÃâÁ¤»ê½ÂÀνÅû¼­" then + if not isnull(Rs("target30")) then + tmpstr = formatnumber(Rs("target30"), 0) + end if + elseif Rs("d_name") = "Á¢´ëºñº¸°í¼­" then + if not isnull(Rs("target30")) or Rs("target30") <> 0 then + tmpstr = formatnumber(Rs("target4"), 0) + end if + end if + if tmpstr <> "" then '±Ý¾× ÇÕ°è(vat º°µµ)%> + -(±Ý¾×(Vat º°µµ) : <%=tmpstr%>) + <% + end if + if Rs("d_name") = "ǰÀǼ­" then + %> + -(Àܾ×:<%=FormatNumber(cLng(Rs("target5")) - cLng(Rs("use_cost")), 0)%>) + <% + end if + %> + <%end if%> + + <% if Rs("d_name")="ÁöÃâ°áÀǼ­" or Rs("d_name")="ǰÀǼ­" or Rs("d_name")="ÀÚ±ÝÁýÇ༭" or Rs("d_name")="ÀԱݰáÀǼ­" then %> + <%=Rs("target8") %> + <% end if %> + + <% if Rs("d_name")="ÁöÃâ°áÀǼ­" or Rs("d_name")="ÀÚ±ÝÁýÇ༭" or Rs("d_name")="ÀԱݰáÀǼ­" then%> + <%=Rs("target3")%> + <% end if%> + <%=Rs("d_write_date")%><%=Rs("login_À̸§")%><%=tmp_text%><%=tmp_text%>
+ <%=Pagelist("doc_listall.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&b_type=" & b_type & "&sel_type=" & sel_type & "&p_hotvalue=" & p_hotvalue & "&sel_year=" & sel_year)%> +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_myun2_pay.asp b/approval/doc_myun2_pay.asp new file mode 100644 index 0000000..209c45a --- /dev/null +++ b/approval/doc_myun2_pay.asp @@ -0,0 +1,533 @@ + + + +
+ + +
+

¹®¼­ ÀÛ¼º : ¸éÁ¢¿ø

+
+ + +
+
+
+
+
+<% + web_position = "¹®¼­°áÀç : ¹®¼­ÀÛ¼º" + + dim title + dim Query + dim tmpstr + dim tmpstr2 + dim i + dim max_cnt '¹®¼­³»¿ë Å×ÀÌºí¿¡¼­ ¿øÇÏ´Â ¹®¼­¸¦ °¡Á®¿Â °¹¼ö + dim Max_Width + dim txt_date 'ÃâÅð±Ù º¸°í¼­ ÀÛ¼º½Ã »ç¿ëµÇ´Â ½ÃÀÛÀÏÀÚ + dim db_table_name + dim Currdate + + Currdate = year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) + + db_table_name = "¹®¼­³»¿ë" + + Max_Width =750 + + title=request("title") + + tmp_title = "" + tmp_query = "" + + tmp_title = "¸éÁ¢¿ø ¹× ³»±ÙÁ÷ ÁöÃâ°áÀǼ­" + tmp_query = " and target16 is not null " + + txt_date = request("txt_date") + + tmp_button = "°áÀçÃë¼Ò" + tmp_btn_name = "approval/btn_approval_cancel" + web_position = "¹®¼­°áÀç : ÁøÇ๮¼­" + + x = "1" +%> + + + + + + + + + + + + + +
+
+ + + + + + + + + + +
+
+ + + + +
  + + ³»±ÙÁ÷ + ¸éÁ¢¿ø + + + <%=now() %> +
+
+ + + + + + + + + + <% + set adors2 = server.CreateObject("ADODB.RECORDSET") + + max_cnt = 0 + i = 0 + + Dim total_pay + total_pay = 0 + + mainQuery = " select d_no, p_sn, '2' as pay_type, SUM(pay) as pay, sv " + mainQuery = mainQuery & " from ( " + mainQuery = mainQuery & " select a.attribute05 as d_no, a.p_sn" + mainQuery = mainQuery & " , s_gubun " + mainQuery = mainQuery & " , isnull(SUM(s_sum), 0) as pay " + mainQuery = mainQuery & " , b.p_sv_1 as sv " + mainQuery = mainQuery & " from T_MYUN_PAY as A with(nolock) left outer join (SELECT * FROM V_PROJECT_METHOD with(nolock) WHERE p_field_complete is null) as B on a.p_sn = B.p_child_sn " + mainQuery = mainQuery & " where confirm_yn = 'Y' " + mainQuery = mainQuery & " and A.s_gubun in ('FF','CATI','ETC') " + If Session("Depart_Code") = 12 And Session("teamplace") < 2 Then + mainQuery = mainQuery & " and b.p_sv_1 = '" & Session("User_Number") & "' " + else + mainQuery = mainQuery & " and b.p_child_sn is not null " + End If + mainQuery = mainQuery & " group by a.p_sn, a.attribute05, s_gubun, p_sv_1 " + mainQuery = mainQuery & " ) as T " + mainQuery = mainQuery & " group by d_no, p_sn, sv " + mainQuery = mainQuery & " order by d_no, p_sn " + + '--hwkim ''''' response.write mainQuery + + adors.open mainQuery, adoconn, adopenstatic, adlockreadonly + + + If adors.recordCount > 0 Then + For z = 1 To adors.recordCount + 'Response.Write "z : " & z &"
" + max_cnt = max_cnt + 1 + + approval_flag = 1 + + If Trim(adoRs("d_no")) <> "" Then + approval_flag = 0 + End if + %> + + + <% + pay_apply_username = "" + + query = "select p_name from person with(nolock) where p_no = '" & adoRs("sv") & "' " + adors2.open query, adoconn, adopenstatic, adlockreadonly + + If adors2.recordCount > 0 Then + pay_apply_username = adors2("p_name") + End If + adors2.close + + Dim document_no, document_status + document_no = "" + document_status = "" + + document_no = Trim(adoRs("d_no")) + + query = "SELECT * " + query = query & " FROM ¹®¼­³»¿ë as a with(nolock) " + query = query & " INNER JOIN Document as b with(nolock) on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE a.¹®¼­¹øÈ£='" & document_no & "' " + query = query & " AND b.d_delok = 'N' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + If rsc("d_order_cnt") = "77" Then + document_status = "°áÀç¿Ï·á" + ElseIf rsc("d_order_cnt") = "99" Then + document_status = "¹Ý·Á" + Else + document_status = "°áÀçÁß" + End If + Else + + document_no = "" + approval_flag = 1 + End If + rsc.close + + '//-- 20210705 hwkim + Dim project_name_list : project_name_list = "" + if adoRs("p_sn") = "99999" then + tmp_value = tmp_value & "ÀϹݾ÷¹«" + Else + if len(adoRs("p_sn") ) < 5 then + '///========================= + '///========================= + '2013.1.2 ±èÁ¦¿­ Ãß°¡ : ÀÓ½ÃÇÁ·ÎÁ§Æ®¸¦ ¿ÃÇØ»Ó¸¸ ¾Æ´Ï¶ó ÀüÇØ °Í¿¡¼­µµ ãµµ·Ï ÇÔ + ' ÀÓ½Ã·Î ÇØ¾ßÇÒÁö ¸»¾Æ¾ß ÇÒÁö °í¹ÎÇØ¾ß ÇÔ + query = "select * from project2_pre with(nolock) where p_sn_tmp = '" & adoRs("p_sn") & "'" & _ + " and (substring(write_date, 1, 4) = '" & left(date(), 4) & "' " & _ + " OR substring(write_date, 1, 4) = '" & left(date(), 4) - 1 & "') " + 'Response.Write "query : " & query & "
" + rsc.Open query,adoconn,1 + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc("p_subject_tmp") + rsc.Close + elseif len(adoRs("p_sn") ) > 9 Then + query = "select * from t_project_method with(nolock) where p_child_sn = '" & adoRs("p_sn") & "'" + 'Response.Write "query : " & query & "
" + rsc.Open query,adoconn,1 + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc("p_subject") + rsc.Close + Else + 'query = "select p_subject from V_PROJECT where p_sn = '" & rsc("p_sn") & "'" + query = "select p_subject from V_PROJECT with(nolock) where p_sn = '" & adoRs("p_sn") & "'" + 'Response.Write "query : " & query & "
" + rsc.Open query, adoConn, 1 + If rsc.RecordCount > 0 Then + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc("p_subject") & ", " + End if + rsc.Close + end if + end if + %> + + + + + + + + <% + total_pay = total_pay + CDbl(adoRs("pay")) + %> + + <% + adors.moveNext + next + End if + adoRs.close + max_cnt = max_cnt + 1 + %> + + + + + + + + + +
¼±Åù®¼­¹øÈ£´ã´çÀÚ¼ö´ç±¸ºÐ¼ö´ç¹®¼­»óÅÂ
+ ','<%=adoRs("p_sn")%>','<%=approval_flag%>', '<%=document_no%>','<%=adoRs("sv")%>');"> + <%=document_no%>     <%=project_name_list %><%=pay_apply_username%><% If adoRs("pay_type") = 1 then %> ³»±ÙÁ÷¼ö´ç <% Else %> ¸éÁ¢¿ø¼ö´ç <% End if %><%=FormatNumber(CDbl(adoRs("pay")), 0)%> + <% If document_status = "°áÀçÁß" Then %> ')" style="CURSOR:pointer;"> + <% Else %> <%=document_status%> <% End If %>
ÇÕ°è<%=FormatNumber(total_pay, 0)%>
+
+ + + + + +
+ +



+
+ + + + +
+ + + ¡Ø ¸éÁ¢¿ø & ³»±ÙÁ÷ ¼ö´ç Á¤º¸ ÄÁÆß ÇöȲ ÀÔ´Ï´Ù.
+
+ + ¡Ø ÄÁÆßÇÏÁö ¾ÊÀº µ¥ÀÌÅ͸¦ ³ªÅ¸³»¸ç, ÄÁÆß ÇÏÁö ¾ÊÀº µ¥ÀÌÅÍ´Â ÁöÃâ°áÀǼ­ »ó¿¡ Æ÷ÇÔµÇÁö ¾Ê½À´Ï´Ù.
+
+ + + + + + + + + <% + query = " SELECT 2 as pay_type, 'cati' as gubun, T.p_child_sn, T.prj_code, case when isnull(p_name,'') = '' then '´ã´çÀÚ¹ÌÁ¤' else p_name end as p_name FROM " + query = query & " ( " + query = query & " SELECT s.prj_code, P.prj_name, p.intranet_project as p_child_sn, s_client_jumin, s_client as s_client_no, s_client_name, s_date," + query = query & " c.intranet_pay, C.qc_ok " + + 'query = query & " FROM new_cati.dbo.Sheet1 s " + + query = query & " from ( " + query = query & " select prj_code, s_client, s_tcnt, s_client_jumin, s_client_name, s_date fROM new_cati.dbo.Sheet1 with(nolock) " + query = query & " where s_client_name not in ('Cati_Test', '±èÀÏÁß') " + query = query & " and s_date > '2021-01-01' " + query = query & " ) s " + + 'query = query & " Left Outer Join new_cati.dbo.T_Inspection_Cati c with(nolock) " + query = query & " Left Outer Join ( SELECT prj_code, tel_client_no, intranet_pay, qc_ok, tel_date, tel_cnt,tel_del_yn FROM new_cati.dbo.T_Inspection_Cati with(nolock) WHERE tel_date > ( getdate() - 365) ) C " + query = query & " ON s.prj_code = c.prj_code AND s.s_client = c.tel_client_no AND s.s_tcnt = c.tel_cnt " + 'query = query & " LEFT OUTER JOIN new_cati.dbo.project P with(nolock) " + query = query & " LEFT OUTER JOIN ( SELECT prj_code, prj_name, intranet_project, prj_s_date FROM new_cati.dbo.project with(nolock) WHERE prj_s_date > CONVERT(VARCHAR(10), getdate()-365, 112) ) P " + query = query & " ON S.prj_code = P.prj_code " + query = query & " WHERE c.tel_del_yn = 'N' " + 'query = query & " and s.s_client_name not in ('Cati_Test', '±èÀÏÁß') " + 'query = query & " AND s.prj_code not in (SELECT prj_code FROM new_cati.dbo.project WHERE intranet_project in (SELECT p_child_sn FROM T_PROJECT_METHOD WHERE p_rsch_dept = '91')) " + + query = query & " GROUP BY s.prj_code, P.prj_name, p.intranet_project, s_client_jumin, s_client, s_client_name, s_date, c.intranet_pay, C.qc_ok " + query = query & " ) T " + 'query = query & " left outer join T_MYUN_PAY TMP with(nolock) " + query = query & " left outer join ( SELECT id, confirm_yn FROM T_MYUN_PAY with(nolock) WHERE insert_dt > ( getdate() - 365) ) TMP " + query = query & " ON T.intranet_pay = cast(TMP.id as varchar) " + 'query = query & " left outer join (SELECT * FROM T_PROJECT_METHOD with(nolock) WHERE p_field_complete is null) tpm " + query = query & " left outer join ( SELECT p_child_sn, p_sv_1, p_field_complete FROM T_PROJECT_METHOD with(nolock) WHERE CONVERT(VARCHAR(10), p_input_dt , 120) > CONVERT(VARCHAR(10), getdate()-365, 120) and p_field_complete is null ) tpm " + query = query & " on T.p_child_sn = tpm.p_child_sn " + query = query & " left outer join person p with(nolock) " + query = query & " on tpm.p_sv_1 = p.p_no " + query = query & " where isnull(TMP.confirm_yn, 'N') = 'N' " + query = query & " and isnull(T.p_child_sn,'') <> '' " + query = query & " and left(T.p_child_sn, 2) > '20' " + query = query & " group by T.p_child_sn, T.prj_code, p_name " + + '--hwkim ''''' response.Write query & "


" + + query = query & " union all " + + query = query & " SELECT 2 as pay_type, 'ff' as gubun, T.p_child_sn, T.prj_code, case when isnull(p_name,'') = '' then '´ã´çÀÚ¹ÌÁ¤' else p_name end as p_name " + query = query & " FROM ( " + query = query & " SELECT (case when (select count(a.p_child_sn) from t_project_method a with(nolock) inner join t_project_fcs b on a.p_sn = b.p_sn and a.p_method_cd = b.p_method_cd where b.p_child_sn = RE.p_sn) = 1 then " + query = query & " (select a.p_child_sn from t_project_method a with(nolock) inner join t_project_fcs b with(nolock) on a.p_sn = b.p_sn and a.p_method_cd = b.p_method_cd where b.p_child_sn = RE.p_sn) else RE.p_sn end) as p_child_sn, RE.p_sn as prj_code, " + query = query & " TPM.p_subject, p_name, isnull(cnt,0) - isnull(s_wan, 0) as cha " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT R.p_sn, COUNT(*) as cnt FROM Res R with(nolock) LEFT OUTER JOIN T_INSPECTION_RES TIR with(nolock) ON R.r_sn = TIR.r_sn " + query = query & " WHERE TIR.pass_stat <> 'ERROR' AND DelGubun='N' AND r_error is null AND s_error is null AND m_error is null GROUP BY R.p_sn " + query = query & " ) RE " + query = query & " LEFT OUTER JOIN " + query = query & " ( " + query = query & " SELECT isnull(prj_code, p_sn) as prj_code, sum(s_wan) as s_wan FROM T_MYUN_PAY with(nolock) WHERE confirm_yn ='Y' AND s_gubun = 'FF' GROUP BY isnull(prj_code, p_sn) " + query = query & " ) TMP " + query = query & " ON RE.p_sn = TMP.prj_code " + query = query & " LEFT OUTER JOIN " + query = query & " ( " + query = query & " select tpm.p_subject, isnull(tpf.p_child_sn, tpm.p_child_sn) as p_child_sn, isnull(tpf.p_sv_1, tpm.p_sv_1) as p_sv_1 " + query = query & " from (SELECT * FROM T_PROJECT_METHOD with(nolock) WHERE p_field_complete is null) tpm inner join T_PROJECT_FCS tpf with(nolock) on tpm.p_sn = tpf.p_sn and tpm.p_method_cd = tpf.p_method_cd union all " + query = query & " select p_subject, p_child_sn, p_sv_1 from T_PROJECT_METHOD with(nolock) where p_field_complete is null " + query = query & " ) TPM " + query = query & " ON RE.p_sn = TPM.p_child_sn " + query = query & " left outer join person p with(nolock) " + query = query & " ON TPM.p_sv_1 = p.p_no " + query = query & " WHERE p_subject is not null " + query = query & " ) T " + query = query & " WHERE cha <> '0' " + query = query & " GROUP BY T.p_child_sn, T.prj_code, p_name " + + query = query & " union all " + + query = query & " SELECT 2 as pay_type, 'etc' as gubun, TMP.p_sn as p_child_sn, '' as prj_code, case when isnull(p_name,'') = '' then '´ã´çÀÚ¹ÌÁ¤' else p_name end as p_name FROM " + query = query & " T_MYUN_PAY TMP with(nolock) " + query = query & " left outer join (SELECT p_child_sn, p_sv_1 FROM T_PROJECT_METHOD with(nolock) WHERE p_field_complete is null) tpm on TMP.p_sn = tpm.p_child_sn " + query = query & " left outer join person p with(nolock) on tpm.p_sv_1 = p.p_no " + query = query & " where isnull(TMP.confirm_yn, 'N') = 'N' and isnull(TMP.p_sn,'') <> '' and left(TMP.p_sn, 2) > '15' " + query = query & " and s_gubun = 'ETC' " + query = query & " group by TMP.p_sn, p_name " + + '--hwkim ''''' response.Write query & "
" + + adoRs.open query, adoconn, adopenstatic, adlockreadonly + + Dim project_apply_username + Dim user_NotSeting_cnt + user_NotSeting_cnt = 0 + + 'Response.Write "query : " & query &"
" + + If adors.recordCount > 0 Then + For i = 1 To adors.recordCount + project_apply_username = adoRs("p_name") + + Dim view_flag + view_flag = True + + If Session("Depart_Code") = 12 And Session("teamplace") < 2 Then + If project_apply_username <> "´ã´çÀÚ¹ÌÁ¤" And project_apply_username <> session("loginuser") Then + view_flag = false + End If + End If + + If view_flag = True Then + %> + + + + + + + + <% + End if + adors.moveNext + next + End if + + adoRs.close + %> + + + + +
¹øÈ£¼ö´ç±¸ºÐÇÁ·ÎÁ§Æ®ÄÚµå´ã´çÀÚ
<%=i%><% If adoRs("pay_type") = 1 then %> ³»±ÙÁ÷¼ö´ç <% Else %> ¸éÁ¢¿ø¼ö´ç <% End if %><%=adoRs("p_child_sn")%><% if adoRs("gubun") = "cati" or adoRs("gubun") = "ff" then response.Write "(" & adoRs("prj_code") & ")" end if %><%=project_apply_username%>
+
+
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_myun2_pay_20221226.asp b/approval/doc_myun2_pay_20221226.asp new file mode 100644 index 0000000..706e200 --- /dev/null +++ b/approval/doc_myun2_pay_20221226.asp @@ -0,0 +1,507 @@ + + + +
+ + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + web_position = "¹®¼­°áÀç : ¹®¼­ÀÛ¼º" + + dim title + dim Query + dim tmpstr + dim tmpstr2 + dim i + dim max_cnt '¹®¼­³»¿ë Å×ÀÌºí¿¡¼­ ¿øÇÏ´Â ¹®¼­¸¦ °¡Á®¿Â °¹¼ö + dim Max_Width + dim txt_date 'ÃâÅð±Ù º¸°í¼­ ÀÛ¼º½Ã »ç¿ëµÇ´Â ½ÃÀÛÀÏÀÚ + dim db_table_name + dim Currdate + + Currdate = year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) + + db_table_name = "¹®¼­³»¿ë" + + Max_Width =750 + + title=request("title") + + tmp_title = "" + tmp_query = "" + + tmp_title = "¸éÁ¢¿ø ¹× ³»±ÙÁ÷ ÁöÃâ°áÀǼ­" + tmp_query = " and target16 is not null " + + txt_date = request("txt_date") + + tmp_button = "°áÀçÃë¼Ò" + tmp_btn_name = "approval/btn_approval_cancel" + web_position = "¹®¼­°áÀç : ÁøÇ๮¼­" + + x = "1" +%> + + + + + + + + + + + + + +
+
+ + + + + + + + + + +
+
+ + + + +
  + + ³»±ÙÁ÷ + ¸éÁ¢¿ø + + + +
+
+ + + + + + + + + + <% + set adors2 = server.CreateObject("ADODB.RECORDSET") + + max_cnt = 0 + i = 0 + + Dim total_pay + total_pay = 0 + + mainQuery = " select d_no, p_sn, '2' as pay_type, SUM(pay) as pay, sv " + mainQuery = mainQuery & " from ( " + mainQuery = mainQuery & " select a.attribute05 as d_no, a.p_sn" + mainQuery = mainQuery & " , s_gubun " + mainQuery = mainQuery & " , isnull(SUM(s_sum), 0) as pay " + mainQuery = mainQuery & " , b.p_sv_1 as sv " + mainQuery = mainQuery & " from T_MYUN_PAY as A left outer join (SELECT * FROM V_PROJECT_METHOD WHERE p_field_complete is null) as B on a.p_sn = B.p_child_sn " + mainQuery = mainQuery & " where confirm_yn = 'Y' " + mainQuery = mainQuery & " and A.s_gubun in ('FF','CATI','ETC') " + If Session("Depart_Code") = 12 And Session("teamplace") < 2 Then + mainQuery = mainQuery & " and b.p_sv_1 = '" & Session("User_Number") & "' " + else + mainQuery = mainQuery & " and b.p_child_sn is not null " + End If + mainQuery = mainQuery & " group by a.p_sn, a.attribute05, s_gubun, p_sv_1 " + mainQuery = mainQuery & " ) as T " + mainQuery = mainQuery & " group by d_no, p_sn, sv " + mainQuery = mainQuery & " order by d_no, p_sn " + 'response.write mainQuery + adors.open mainQuery, adoconn, adopenstatic, adlockreadonly + + + If adors.recordCount > 0 Then + For z = 1 To adors.recordCount + 'Response.Write "z : " & z &"
" + max_cnt = max_cnt + 1 + + approval_flag = 1 + + If Trim(adoRs("d_no")) <> "" Then + approval_flag = 0 + End if + %> + + + <% + pay_apply_username = "" + + query = "select p_name from person where p_no = '" & adoRs("sv") & "' " + adors2.open query, adoconn, adopenstatic, adlockreadonly + + If adors2.recordCount > 0 Then + pay_apply_username = adors2("p_name") + End If + adors2.close + + Dim document_no, document_status + document_no = "" + document_status = "" + + document_no = Trim(adoRs("d_no")) + + query = "SELECT * " + query = query & " FROM ¹®¼­³»¿ë as a " + query = query & " INNER JOIN Document as b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE a.¹®¼­¹øÈ£='" & document_no & "' " + query = query & " AND b.d_delok = 'N' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + If rsc("d_order_cnt") = "77" Then + document_status = "°áÀç¿Ï·á" + ElseIf rsc("d_order_cnt") = "99" Then + document_status = "¹Ý·Á" + Else + document_status = "°áÀçÁß" + End If + Else + + document_no = "" + approval_flag = 1 + End If + rsc.close + + '//-- 20210705 hwkim + Dim project_name_list : project_name_list = "" + if adoRs("p_sn") = "99999" then + tmp_value = tmp_value & "ÀϹݾ÷¹«" + Else + if len(adoRs("p_sn") ) < 5 then + '///========================= + '///========================= + '2013.1.2 ±èÁ¦¿­ Ãß°¡ : ÀÓ½ÃÇÁ·ÎÁ§Æ®¸¦ ¿ÃÇØ»Ó¸¸ ¾Æ´Ï¶ó ÀüÇØ °Í¿¡¼­µµ ãµµ·Ï ÇÔ + ' ÀÓ½Ã·Î ÇØ¾ßÇÒÁö ¸»¾Æ¾ß ÇÒÁö °í¹ÎÇØ¾ß ÇÔ + query = "select * from project2_pre where p_sn_tmp = '" & adoRs("p_sn") & "'" & _ + " and (substring(write_date, 1, 4) = '" & left(date(), 4) & "' " & _ + " OR substring(write_date, 1, 4) = '" & left(date(), 4) - 1 & "') " + 'Response.Write "query : " & query & "
" + rsc.Open query,adoconn,1 + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc("p_subject_tmp") + rsc.Close + elseif len(adoRs("p_sn") ) > 9 Then + query = "select * from t_project_method where p_child_sn = '" & adoRs("p_sn") & "'" + 'Response.Write "query : " & query & "
" + rsc.Open query,adoconn,1 + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc("p_subject") + rsc.Close + Else + 'query = "select p_subject from V_PROJECT where p_sn = '" & rsc("p_sn") & "'" + query = "select p_subject from V_PROJECT where p_sn = '" & adoRs("p_sn") & "'" + 'Response.Write "query : " & query & "
" + rsc.Open query, adoConn, 1 + If rsc.RecordCount > 0 Then + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc("p_subject") & ", " + End if + rsc.Close + end if + end if + %> + + + + + + + + <% + total_pay = total_pay + CDbl(adoRs("pay")) + %> + + <% + adors.moveNext + next + End if + adoRs.close + max_cnt = max_cnt + 1 + %> + + + + + + + + + +
¼±Åù®¼­¹øÈ£´ã´çÀÚ¼ö´ç±¸ºÐ¼ö´ç¹®¼­»óÅÂ
+ ','<%=adoRs("p_sn")%>','<%=approval_flag%>', '<%=document_no%>','<%=adoRs("sv")%>');"> + <%=document_no%>     <%=project_name_list %><%=pay_apply_username%><% If adoRs("pay_type") = 1 then %> ³»±ÙÁ÷¼ö´ç <% Else %> ¸éÁ¢¿ø¼ö´ç <% End if %><%=FormatNumber(CDbl(adoRs("pay")), 0)%> + <% If document_status = "°áÀçÁß" Then %> ')" style="CURSOR:pointer;"> + <% Else %> <%=document_status%> <% End If %>
ÇÕ°è<%=FormatNumber(total_pay, 0)%>
+
+ + + + + +
+ +



+
+ + + + +
+ + + ¡Ø ¸éÁ¢¿ø & ³»±ÙÁ÷ ¼ö´ç Á¤º¸ ÄÁÆß ÇöȲ ÀÔ´Ï´Ù.
+
+ + ¡Ø ÄÁÆßÇÏÁö ¾ÊÀº µ¥ÀÌÅ͸¦ ³ªÅ¸³»¸ç, ÄÁÆß ÇÏÁö ¾ÊÀº µ¥ÀÌÅÍ´Â ÁöÃâ°áÀǼ­ »ó¿¡ Æ÷ÇÔµÇÁö ¾Ê½À´Ï´Ù.
+
+ + + + + + + + + <% + query = " SELECT 2 as pay_type, 'cati' as gubun, T.p_child_sn, T.prj_code, case when isnull(p_name,'') = '' then '´ã´çÀÚ¹ÌÁ¤' else p_name end as p_name FROM " + query = query & " ( " + query = query & " SELECT s.prj_code, P.prj_name, p.intranet_project as p_child_sn, s_client_jumin, s_client as s_client_no, s_client_name, s_date," + query = query & " c.intranet_pay, C.qc_ok " + query = query & " FROM new_cati.dbo.Sheet1 s Left Outer Join new_cati.dbo.T_Inspection_Cati c " + query = query & " ON s.prj_code = c.prj_code AND s.s_client = c.tel_client_no AND s.s_tcnt = c.tel_cnt " + query = query & " LEFT OUTER JOIN new_cati.dbo.project P ON S.prj_code = P.prj_code " + query = query & " WHERE s.s_client_name not in ('Cati_Test', '±èÀÏÁß') AND c.tel_del_yn = 'N' " + query = query & " AND s.prj_code not in (SELECT prj_code FROM new_cati.dbo.project WHERE intranet_project in (SELECT p_child_sn FROM T_PROJECT_METHOD WHERE p_rsch_dept = '91')) " + query = query & " GROUP BY s.prj_code, P.prj_name, p.intranet_project, s_client_jumin, s_client, s_client_name, s_date, c.intranet_pay, C.qc_ok " + query = query & " ) T left outer join T_MYUN_PAY TMP ON T.intranet_pay = cast(TMP.id as varchar) " + query = query & " left outer join (SELECT * FROM T_PROJECT_METHOD WHERE p_field_complete is null) tpm on T.p_child_sn = tpm.p_child_sn " + query = query & " left outer join person p on tpm.p_sv_1 = p.p_no " + query = query & " where isnull(TMP.confirm_yn, 'N') = 'N' and isnull(T.p_child_sn,'') <> '' and left(T.p_child_sn, 2) > '15' " + query = query & " group by T.p_child_sn, T.prj_code, p_name " + + query = query & " union all " + + query = query & " SELECT 2 as pay_type, 'ff' as gubun, T.p_child_sn, T.prj_code, case when isnull(p_name,'') = '' then '´ã´çÀÚ¹ÌÁ¤' else p_name end as p_name " + query = query & " FROM ( " + query = query & " SELECT (case when (select count(a.p_child_sn) from t_project_method a inner join t_project_fcs b on a.p_sn = b.p_sn and a.p_method_cd = b.p_method_cd where b.p_child_sn = RE.p_sn) = 1 then " + query = query & " (select a.p_child_sn from t_project_method a inner join t_project_fcs b on a.p_sn = b.p_sn and a.p_method_cd = b.p_method_cd where b.p_child_sn = RE.p_sn) else RE.p_sn end) as p_child_sn, RE.p_sn as prj_code, " + query = query & " TPM.p_subject, p_name, isnull(cnt,0) - isnull(s_wan, 0) as cha " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT R.p_sn, COUNT(*) as cnt FROM Res R LEFT OUTER JOIN T_INSPECTION_RES TIR ON R.r_sn = TIR.r_sn " + query = query & " WHERE TIR.pass_stat <> 'ERROR' AND DelGubun='N' AND r_error is null AND s_error is null AND m_error is null GROUP BY R.p_sn " + query = query & " ) RE " + query = query & " LEFT OUTER JOIN " + query = query & " ( " + query = query & " SELECT isnull(prj_code, p_sn) as prj_code, sum(s_wan) as s_wan FROM T_MYUN_PAY WHERE confirm_yn ='Y' AND s_gubun = 'FF' GROUP BY isnull(prj_code, p_sn) " + query = query & " ) TMP " + query = query & " ON RE.p_sn = TMP.prj_code " + query = query & " LEFT OUTER JOIN " + query = query & " ( " + query = query & " select tpm.p_subject, isnull(tpf.p_child_sn, tpm.p_child_sn) as p_child_sn, isnull(tpf.p_sv_1, tpm.p_sv_1) as p_sv_1 " + query = query & " from (SELECT * FROM T_PROJECT_METHOD WHERE p_field_complete is null) tpm inner join T_PROJECT_FCS tpf on tpm.p_sn = tpf.p_sn and tpm.p_method_cd = tpf.p_method_cd union all " + query = query & " select p_subject, p_child_sn, p_sv_1 from T_PROJECT_METHOD where p_field_complete is null " + query = query & " ) TPM " + query = query & " ON RE.p_sn = TPM.p_child_sn " + query = query & " left outer join person p " + query = query & " ON TPM.p_sv_1 = p.p_no " + query = query & " WHERE p_subject is not null " + query = query & " ) T " + query = query & " WHERE cha <> '0' " + query = query & " GROUP BY T.p_child_sn, T.prj_code, p_name " + + query = query & " union all " + + query = query & " SELECT 2 as pay_type, 'etc' as gubun, TMP.p_sn as p_child_sn, '' as prj_code, case when isnull(p_name,'') = '' then '´ã´çÀÚ¹ÌÁ¤' else p_name end as p_name FROM " + query = query & " T_MYUN_PAY TMP " + query = query & " left outer join (SELECT * FROM T_PROJECT_METHOD WHERE p_field_complete is null) tpm on TMP.p_sn = tpm.p_child_sn " + query = query & " left outer join person p on tpm.p_sv_1 = p.p_no " + query = query & " where isnull(TMP.confirm_yn, 'N') = 'N' and isnull(TMP.p_sn,'') <> '' and left(TMP.p_sn, 2) > '15' " + query = query & " and s_gubun = 'ETC' " + query = query & " group by TMP.p_sn, p_name " + + + 'response.Write query & "
" + adoRs.open query, adoconn, adopenstatic, adlockreadonly + + Dim project_apply_username + Dim user_NotSeting_cnt + user_NotSeting_cnt = 0 + + 'Response.Write "query : " & query &"
" + + If adors.recordCount > 0 Then + For i = 1 To adors.recordCount + project_apply_username = adoRs("p_name") + + Dim view_flag + view_flag = True + + If Session("Depart_Code") = 12 And Session("teamplace") < 2 Then + If project_apply_username <> "´ã´çÀÚ¹ÌÁ¤" And project_apply_username <> session("loginuser") Then + view_flag = false + End If + End If + + If view_flag = True Then + %> + + + + + + + + <% + End if + adors.moveNext + next + End if + + adoRs.close + %> + + + + +
¹øÈ£¼ö´ç±¸ºÐÇÁ·ÎÁ§Æ®ÄÚµå´ã´çÀÚ
<%=i%><% If adoRs("pay_type") = 1 then %> ³»±ÙÁ÷¼ö´ç <% Else %> ¸éÁ¢¿ø¼ö´ç <% End if %><%=adoRs("p_child_sn")%><% if adoRs("gubun") = "cati" or adoRs("gubun") = "ff" then response.Write "(" & adoRs("prj_code") & ")" end if %><%=project_apply_username%>
+
+
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_myun_pay.asp b/approval/doc_myun_pay.asp new file mode 100644 index 0000000..d6b1a4c --- /dev/null +++ b/approval/doc_myun_pay.asp @@ -0,0 +1,478 @@ + + + +
+ + +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + '//-- 20210705 hwkim + set rsc2 = server.CreateObject("ADODB.RECORDSET") + + web_position = "¹®¼­°áÀç : ¹®¼­ÀÛ¼º" + + dim title + dim Query + dim tmpstr + dim tmpstr2 + dim i + dim max_cnt '¹®¼­³»¿ë Å×ÀÌºí¿¡¼­ ¿øÇÏ´Â ¹®¼­¸¦ °¡Á®¿Â °¹¼ö + dim Max_Width + dim db_table_name + dim Currdate + dim sel_month + Currdate = year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) + + db_table_name = "¹®¼­³»¿ë" + + Max_Width =750 + + title=request("title") + sel_month = request("sel_month") + if trim(sel_month) = "" then + sel_month = mid(date,1,7) + end If + + tmp_button = "°áÀçÃë¼Ò" + tmp_btn_name = "approval/btn_approval_cancel" + web_position = "¹®¼­°áÀç : ÁøÇ๮¼­" + + x = "1" +%> + + + + + + + + + + + +
+
+ + + + + + + + + + +
+ + + ¡Ø ¼ö´ç ÁöÃâ°áÀǼ­ÀÇ ±âÁ¸ ÀÔ·Â ÀڷḦ º¸¿©ÁÝ´Ï´Ù.
+
+
+ + + + +
¿ùº° º¸±â  + + ³»±ÙÁ÷ + ¸éÁ¢¿ø + + +
+
+ + + + + + + + + + + + <% + set adors2 = server.CreateObject("ADODB.RECORDSET") + max_cnt = 0 + i = 0 + Dim total_pay, total_lunch, total_dinner + total_pay = 0 + total_lunch = 0 + total_dinner = 0 + + Query = " select d_no, p_sn, pay_type, SUM(pay) as pay, isnull(SUM(lunch), 0) as lunch, isnull(SUM(dinner), 0) as dinner, sv " + Query = Query & " from ( " + Query = Query & " select isnull(A.attribute05,'') as d_no, p_sn, " + Query = Query & " s_gubun, pay_type, LEFT(work_dt, 7) as work_dt, " + Query = Query & " CASE WHEN s_gubun <> 'Ãß°¡¼ö´ç1' and s_gubun <> 'Ãß°¡¼ö´ç2' THEN isnull(SUM(s_sum), 0) ELSE 0 END as pay, " + Query = Query & " CASE WHEN s_gubun = 'Ãß°¡¼ö´ç1' THEN isnull(sum(s_sum), 0) END as lunch, " + Query = Query & " CASE WHEN s_gubun = 'Ãß°¡¼ö´ç2' THEN isnull(sum(s_sum), 0) END as dinner, " + Query = Query & " p_sv_no as sv " + Query = Query & " from (select tn.*, nw.in_time, nw.out_time, nw.p_sebu_code, nw.p_sv_no from T_NEAKEUN_PAY tn left outer join neakeun_work nw on tn.attribute01 = nw.id) as A " + if sel_month = "2022-04" Then + Query = Query & " where ((work_dt between '" & sel_month & "-01' and '" & sel_month & "-25' AND A.in_time + A.out_time + A.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & sel_month & "-16' and cast(DATEADD(m,1,cast('" & sel_month & "-05' as date)) as varchar) " + elseif sel_month > "2022-04" Then + Query = Query & " where ((work_dt between cast(DATEADD(m,-1,cast('" & sel_month & "-26' as date))as varchar) and '" & sel_month & "-25' AND A.in_time + A.out_time + A.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & sel_month & "-06' and cast(DATEADD(m,1,cast('" & sel_month & "-05' as date)) as varchar) " + else + Query = Query & " where ((LEFT(work_dt, 7) = '" & sel_month & "' AND A.in_time + A.out_time + A.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & sel_month & "-16' and cast(DATEADD(m,1,cast('" & sel_month & "-15' as date)) as varchar) " + end if + Query = Query & " AND A.in_time + A.out_time + A.p_sebu_code = '000000004')) " + If (Session("Depart_Code") = 12) or (Session("Depart_Code") = 17) And Session("teamplace") < 3 Then + Query = Query & " and p_sv_no = '" & Session("User_Number") & "' " + end if + Query = Query & " group by A.attribute05, p_sn, s_gubun, pay_type, LEFT(work_dt, 7), p_sv_no " + Query = Query & " ) as T " + Query = Query & " group by d_no, p_sn, pay_type, sv " + + 'response.write Query + + adors.open Query, adoconn, adopenstatic, adlockreadonly + + If adors.recordCount > 0 Then + For z = 1 To adors.recordCount + max_cnt = max_cnt + 1 + + Dim approval_flag + approval_flag = 1 + + If Trim(adoRs("d_no")) <> "" Then + approval_flag = 0 + End if + %> + + <% + Dim pay_apply_username + pay_apply_username = "" + + query = "select p_name from person where p_no = '" & adoRs("sv") & "' " + adors2.open query, adoconn, adopenstatic, adlockreadonly + + If adors2.recordCount > 0 Then + pay_apply_username = adors2("p_name") + End If + adors2.close + + Dim document_no, document_status + document_no = "" + document_status = "" + document_no = Trim(adoRs("d_no")) + + query = "SELECT * " + query = query & " FROM ¹®¼­³»¿ë as a " + query = query & " INNER JOIN Document as b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE a.¹®¼­¹øÈ£='" & document_no & "' " + query = query & " AND b.d_delok = 'N' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + If rsc("d_order_cnt") = "77" Then + document_status = "°áÀç¿Ï·á" + ElseIf rsc("d_order_cnt") = "99" Then + document_status = "¹Ý·Á" + Else + document_status = "°áÀçÁß" + End If + Else + document_no = "" + approval_flag = 1 + End If + rsc.close + + '//-- 20210705 hwkim + Dim project_name_list : project_name_list = "" + if adoRs("p_sn") = "99999" then + tmp_value = tmp_value & "ÀϹݾ÷¹«" + Else + if len(adoRs("p_sn") ) < 5 then + '///========================= + '///========================= + '2013.1.2 ±èÁ¦¿­ Ãß°¡ : ÀÓ½ÃÇÁ·ÎÁ§Æ®¸¦ ¿ÃÇØ»Ó¸¸ ¾Æ´Ï¶ó ÀüÇØ °Í¿¡¼­µµ ãµµ·Ï ÇÔ + ' ÀÓ½Ã·Î ÇØ¾ßÇÒÁö ¸»¾Æ¾ß ÇÒÁö °í¹ÎÇØ¾ß ÇÔ + query = "select * from project2_pre where p_sn_tmp = '" & adoRs("p_sn") & "'" & _ + " and (substring(write_date, 1, 4) = '" & left(date(), 4) & "' " & _ + " OR substring(write_date, 1, 4) = '" & left(date(), 4) - 1 & "') " + 'Response.Write "query : " & query & "
" + rsc2.Open query,adoconn,1 + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc2("p_subject_tmp") + rsc2.Close + elseif len(adoRs("p_sn") ) > 9 Then + query = "select * from t_project_method where p_child_sn = '" & adoRs("p_sn") & "'" + 'Response.Write "query : " & query & "
" + rsc2.Open query,adoconn,1 + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc2("p_subject") + rsc2.Close + Else + 'query = "select p_subject from V_PROJECT where p_sn = '" & rsc("p_sn") & "'" + query = "select p_subject from V_PROJECT where p_sn = '" & adoRs("p_sn") & "'" + 'Response.Write "query : " & query & "
" + rsc2.Open query, adoConn, 1 + If rsc2.RecordCount > 0 Then + project_name_list = " ["& adoRs("p_sn") &"]  "& rsc2("p_subject") & ", " + End if + rsc2.Close + end if + end if + %> + + + + + + + + + <% + total_pay = total_pay + CDbl(adoRs("pay")) + total_lunch = total_lunch + CDbl(adoRs("lunch")) + total_dinner = total_dinner + CDbl(adoRs("dinner")) + %> + + <% + adors.moveNext + next + End if + adoRs.close + + max_cnt = max_cnt + 1 + %> + + + + + + + + + + +
¼±Åù®¼­¹øÈ£´ã´çÀÚ¼ö´ç±¸ºÐ¼ö´çÃß°¡¼ö´ç1Ãß°¡¼ö´ç2¹®¼­»óÅÂ
+ ','<%=adoRs("p_sn")%>','<%=approval_flag%>', '<%=document_no%>','<%=adoRs("sv")%>');" id=radio4 name=radio4> + <%=document_no %>     <%=project_name_list %><%=pay_apply_username%><% If adoRs("pay_type") = 1 then %> ³»±ÙÁ÷¼ö´ç <% Else %> ¸éÁ¢¿ø¼ö´ç <% End if %><%=FormatNumber(CDbl(adoRs("pay")), 0)%><%=FormatNumber(CDbl(adoRs("lunch")), 0)%><%=FormatNumber(CDbl(adoRs("dinner")), 0)%> + <% If document_status = "°áÀçÁß" Then %> + + <% Else %> + <%=document_status%> + <% End If %> +
ÇÕ°è<%=FormatNumber(total_pay, 0)%><%=FormatNumber(total_lunch, 0)%><%=FormatNumber(total_dinner, 0)%><%=FormatNumber((total_pay+total_lunch+total_dinner), 0)%>
+
+ + + + +
+


+
+ + + + +
+ + ¡Ø ¸éÁ¢¿ø & ³»±ÙÁ÷ ¼ö´ç Á¤º¸ ÄÁÆß ÇöȲ ÀÔ´Ï´Ù.
+
+ + ¡Ø ÄÁÆßÇÏÁö ¾ÊÀº µ¥ÀÌÅ͸¦ ³ªÅ¸³»¸ç, ÄÁÆß ÇÏÁö ¾ÊÀº µ¥ÀÌÅÍ´Â ÁöÃâ°áÀǼ­ »ó¿¡ Æ÷ÇÔµÇÁö ¾Ê½À´Ï´Ù.
+
+ + + + + + + + + + <% + query = " select 1 as pay_type, date, A.p_child_sn, " + query = query & " case when P.p_name is null then '´ã´çÀÚ¹ÌÁ¤' else P.p_name end as p_name, COUNT(*) as count " + query = query & " from neakeun_work as A " + query = query & " left outer join person as P on A.p_sv_no = P.p_no " + if sel_month = "2022-04" Then + query = query & " where date between '"&sel_month&"-01' and '"&sel_month&"-25' " + elseif sel_month > "2022-04" Then + query = query & " where date between cast(DATEADD(m,-1,cast('"&sel_month&"-26' as date))as varchar) and '"&sel_month&"-25' " + else + query = query & " where date like '" & sel_month & "%' " + end if + query = query & " and (job_confirm_yn <> 'Y' or job_confirm_yn is null) " + query = query & " and A.in_time + A.out_time <> '00000000' " + query = query & " group by date, A.p_child_sn, P.p_name " + query = query & " order by date " + 'response.Write query + adoRs.open query, adoconn, adopenstatic, adlockreadonly + + Dim project_apply_username + Dim not_confirm_cnt + Dim user_NotSeting_cnt + not_confirm_cnt = 0 '##### ÄÁÆß 'N' or is nullÀÇ °¹¼ö (2018-02-26 ±èÁ¾ÈÖ) + user_NotSeting_cnt = 0 + + If adors.recordCount > 0 Then + For i = 1 To adors.recordCount + project_apply_username = adoRs("p_name") + + Dim view_flag + view_flag = True + + If (Session("Depart_Code") = 12 or Session("Depart_Code") = 17) And Session("teamplace") < 3 Then + If project_apply_username <> session("loginuser") Then + view_flag = false + End If + End If + + If view_flag = True Then + not_confirm_cnt = not_confirm_cnt + 1 + %> + + + + + + + + + + + <% + End if + adors.moveNext + next + + End if + adoRs.close + %> + + + + + +
¹øÈ£¼ö´ç±¸ºÐ¼ö´ç ÀÏÀÚÇÁ·ÎÁ§Æ®ÄÚµåÄÄÆß ¾ÈµÈ °¹¼ö´ã´çÀÚ
<%=i%><% If adoRs("pay_type") = 1 then %> ³»±ÙÁ÷¼ö´ç <% Else %> ¸éÁ¢¿ø¼ö´ç <% End if %><%=adoRs("date")%><%=adoRs("p_child_sn")%><%=adoRs("count")%><%=project_apply_username%>
+
+
+ + +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_myun_pay_detail.asp b/approval/doc_myun_pay_detail.asp new file mode 100644 index 0000000..bcec3ef --- /dev/null +++ b/approval/doc_myun_pay_detail.asp @@ -0,0 +1,462 @@ + +<% + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim db_table_name + dim approval_chk + dim title_type + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + p_child_sn = request("p_child_sn") + pay_type = request("pay_type") + cost_type = request("cost_type") + work_month = request("work_month") + sv = request("sv") + krc_no = request("krc_no") + work_kind = unescape(request("work_kind")) + + If pay_type = 1 Then + title="³»±ÙÁ÷ ¼¼ºÎ³»¿ë ¹× ¿¹»ó´©°è" + title2 = "³»±ÙÁ÷º° ¼¼ºÎÁöÃâ°áÀǺñ¿ë" + Else + title="¸éÁ¢¿ø ¼¼ºÎ³»¿ë ¹× ¿¹»ó´©°è" + End if + + + d_no = request("d_no") + + query = "SELECT * " + query = query & " FROM ¹®¼­³»¿ë as a " + query = query & " INNER JOIN Document as b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE a.¹®¼­¹øÈ£='" & d_no & "' " + query = query & " AND b.d_delok = 'N' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + If rsc("¹®¼­Á¦¸ñ") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" Then + pay_type = "1" + Else + pay_type = "2" + End If + + startDT = rsc("target10") + endDT = rsc("target11") + overMoney_reason = rsc("target17") + End if + + title_type = mid(replace(title," ",""), 1, 7) + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + 'user_name(0) = Session("User_Number") + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date") + gap(4) = request("sel_pay_type") + gap(5) = request("txt_pay") + gap(6) = request("txt_pay_vat") + gap(7) = request("txt_pay_tot") + gap(8) = request("txt_client") + gap(9) = request("txt_p_sn") + gap(10) = request("txt_d_no") + +%> + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + <% + Dim pay_apply_username + pay_apply_username = "" + + set adors2 = server.CreateObject("ADODB.RECORDSET") + query = "select p_name from person where p_no = '" & sv & "' " + adors2.open query, adoconn, adopenstatic, adlockreadonly + + If adors2.recordCount > 0 Then + pay_apply_username = adors2("p_name") + End If + adors2.close + %> + + + + + + + + + +
+ + + + + +
+ + + +
+
+ + + + + + + + + + + + <% + Query = " select p_sn, p_child_sn, p_subject from v_project_method " + Query = Query & " where p_child_sn = '" & p_child_sn & "' " + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Dim tmp_p_subject + tmp_p_subject = "" + if adoRs.recordcount > 0 Then + tmp_p_subject = adoRs("p_subject") + End If + adoRs.close + %> + + +
¼ö´ç °áÀç ±â°£<% + if work_month = "2022-04" Then + Response.Write work_month & "-01 ~ " & work_month & "-25" + elseif work_month > "2022-04" Then + Response.Write DATEADD("m",-1,cdate(work_month & "-26")) & " ~ " & work_month & "-25" + else + Response.Write work_month + end if + %>¼ö´ç ´ã´çÀÚ<%=pay_apply_username%>
ÇÁ·ÎÁ§Æ®ÄÚµå<%=p_child_sn%>ÇÁ·ÎÁ§Æ® ¸í<%=tmp_p_subject%>
+
+ + + + + + + + + + <% + Query = " select p_child_sn, sebu, sum(est_money) as est_money, sum(accumulate_pay) as accumulate_pay, sum(pay) as pay, sum(food_pay) as food_pay " + Query = Query & " from ( " + Query = Query & " select p_child_sn, sebu, convert(numeric(18,0), est_money) as est_money, 0 as accumulate_pay, 0 as pay, 0 as food_pay " + Query = Query & " from ( " + Query = Query & " select * from direct_cost where left(p_sn, 2) >= '14' and hangmok = '49' and del_yes_no = 'no' and sebu != 'ÇØµ¶¿ø' " + Query = Query & " union all " + Query = Query & " select * from direct_cost where left(p_sn, 2) >= '14' and hangmok in ('°¨Ã»','°ËÁõ','¿¡µðÆÃ','ÄÁÅÃ','ÄÚ´õ','ÆÝĪ','ASºñ¿ë') and del_yes_no='no' " + Query = Query & " ) as T1 " + Query = Query & " where p_child_sn = '" & p_child_sn & "' " + + Query = Query & " union all " + + Query = Query & " select p_sn as p_child_sn, case when left(s_gubun, 2) = 'Ãß°¡' then " + Query = Query & " (select top 1 s_gubun from t_neakeun_pay where attribute01 = a.attribute01 and left(s_gubun, 2) <> 'Ãß°¡') +'_'+ s_gubun " + Query = Query & " else s_gubun end as sebu, 0 as est_money, isnull(s_sum, 0) as accumulate_pay, 0 as pay, " + Query = Query & " case when left(s_gubun, 2) <> 'Ãß°¡' then " + Query = Query & " ISNULL((select sum(s_sum) from t_neakeun_pay where attribute01 = a.attribute01 and left(s_gubun, 2) = 'Ãß°¡'),0) " + Query = Query & " else 0 end as food_pay " + Query = Query & " from t_neakeun_pay a " + Query = Query & " where pay_type = 1 and isnull(attribute05,'') <> '' and p_sn = '" & p_child_sn & "' " + + Query = Query & " union all " + + Query = Query & " select a.p_sn as p_child_sn, case when left(s_gubun, 2) = 'Ãß°¡' then " + Query = Query & " (select top 1 s_gubun from t_neakeun_pay where attribute01 = a.attribute01 and left(s_gubun, 2) <> 'Ãß°¡') +'_'+ s_gubun " + Query = Query & " else s_gubun end as sebu, 0 as est_money, 0 as accumulate_pay, isnull(a.s_sum, 0) as pay, 0 as food_pay " + Query = Query & " from t_neakeun_pay a left outer join neakeun_work nw on a.attribute01 = nw.id " + Query = Query & " where attribute01 in ( " + Query = Query & " select attribute01 from t_neakeun_pay np left join neakeun_work w on np.attribute01 = w.id " + Query = Query & " where pay_type = 1 and isnull(a.attribute05,'') = '" & krc_no & "' " + if work_month = "2022-04" Then + Query = Query & " and ((work_dt between '" & work_month & "-01' and '" & work_month & "-25' AND W.in_time + W.out_time + W.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + elseif work_month > "2022-04" Then + Query = Query & " and ((work_dt between cast(DATEADD(m,-1,cast('" & work_month & "-26' as date))as varchar) and '" & work_month & "-25' AND W.in_time + W.out_time + W.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-06' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + else + Query = Query & " and ((LEFT(work_dt, 7) = '" & work_month & "' AND W.in_time + W.out_time + W.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-15' as date)) as varchar) " + end if + Query = Query & " AND W.in_time + W.out_time + W.p_sebu_code = '000000004')) " + + Query = Query & " and a.p_sn = '" & p_child_sn & "' and nw.p_sv_no = '" & sv & "' and s_gubun = '" & work_kind & "') " + + Query = Query & " ) as T2 " + Query = Query & " group by p_child_sn, sebu " + Query = Query & " order by sebu " + + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + Dim total_estimate_money, total_currentMoney, total_Pay, total_chaPay + total_estimate_money = 0 + total_currentMoney = 0 + total_Pay = 0 + total_chaPay = 0 + + Dim minus_money_flag, dataCount + dataCount = 0 + if adoRs.recordcount > 0 Then + dataCount = adoRs.recordcount + do while not adoRs.eof + %> + + + + + + + <% + total_estimate_money = total_estimate_money + CDbl(adoRs("est_money")) + total_currentMoney = total_currentMoney + CDbl(adoRs("accumulate_pay")) + total_Pay = total_Pay + CDbl(adoRs("pay")) + + if instr(1,adoRs("sebu"),"_") = false then + total_chaPay = total_chaPay + CDbl(chaPay) + end if + %> + + <% + adoRs.movenext + loop + end if + adoRs.close + %> + + + + + + + + + + +
ºñ¿ë¼¼ºÎÇ׸ñ¼¼ºÎÁöÃâ°áÀǺñ¿ë¿¹»óÁ÷Á¢ºñ´©Àûºñ¿ë(°áÀçÁß Æ÷ÇÔ)¿¹»óÀܾ×
<%=adoRs("sebu")%><%=FormatNumber(CDbl(adoRs("pay")), 0)%><%if instr(1,adoRs("sebu"),"_") = false then %><%=FormatNumber(CDbl(adoRs("est_money")), 0)%><%end if %><%=FormatNumber(CDbl(adoRs("accumulate_pay")), 0)%> + <% chaPay = CDbl(adoRs("est_money")) - CDbl(adoRs("accumulate_pay")) - CDbl(adoRs("food_pay")) %> + color="red" <% end if %>><%if instr(1,adoRs("sebu"),"_") = false then %><%=FormatNumber(CDbl(chaPay), 0)%><%end if %>
ÇÕ°è<%=FormatNumber(total_Pay, 0)%><%=FormatNumber(total_estimate_money, 0)%><%=FormatNumber(total_currentMoney, 0)%><%=FormatNumber(total_chaPay, 0)%>
°áÀç »ó½Å Àü¿¡´Â ¿¹»ó Àܾ×ÀÌ ´Ù¸£°Ô º¸ÀÏ ¼ö ÀÖ½À´Ï´Ù.
+ + + + + + + + + + + + <% + Query = "" + Query = Query & " SELECT m_name, m_jumin, s_gubun, SUM(s_sum) as s_sum, SUM(add_1) as add_1, SUM(add_2) as add_2 FROM "&VbCrlf + Query = Query & " ( "&VbCrlf + Query = Query & " select a.m_name, a.m_jumin, s_gubun, s_sum, "&VbCrlf + Query = Query & " isnull((select s_sum from t_neakeun_pay where attribute01 = a.attribute01 and s_gubun = 'Ãß°¡¼ö´ç1'), 0) as add_1, "&VbCrlf + Query = Query & " isnull((select s_sum from t_neakeun_pay where attribute01 = a.attribute01 and s_gubun = 'Ãß°¡¼ö´ç2'), 0) as add_2 "&VbCrlf + Query = Query & " from t_neakeun_pay a "&VbCrlf + Query = Query & " left outer join neakeun_work nw on a.attribute01 = nw.id "&VbCrlf + Query = Query & " where pay_type = 1 and isnull(a.attribute05,'') = '" & krc_no & "' " + if work_month = "2022-04" Then + Query = Query & " and ((work_dt between '" & work_month & "-01' and '" & work_month & "-25' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + elseif work_month > "2022-04" Then + Query = Query & " and ((work_dt between cast(DATEADD(m,-1,cast('" & work_month & "-26' as date))as varchar) and '" & work_month & "-25' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-06' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + else + Query = Query & " and ((LEFT(work_dt, 7) = '" & work_month & "' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-15' as date)) as varchar) " + end if + Query = Query & " AND NW.in_time + NW.out_time + NW.p_sebu_code = '000000004')) " + Query = Query & " and a.p_sn = '" & p_child_sn & "' and p_sv_no = '" & sv & "' "&VbCrlf + Query = Query & " and left(s_gubun, 2) <> 'Ãß°¡' and s_gubun = '" & work_kind & "' "&VbCrlf + Query = Query & " ) T "&VbCrlf + Query = Query & " group by m_name, m_jumin, s_gubun "&VbCrlf + Query = Query & " Order by m_name "&VbCrlf + + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + Dim s_sum_sum, add_1_sum, add_2_sum + + if adoRs.recordcount > 0 Then + + do while not adoRs.eof + %> + + + + + + + + + <% + s_sum_sum = s_sum_sum + CDbl(adoRs("s_sum")) + add_1_sum = add_1_sum + CDbl(adoRs("add_1")) + add_2_sum = add_2_sum + CDbl(adoRs("add_2")) + %> + + + + + <% + adoRs.movenext + loop + end if + adoRs.close + %> + + + + + + + + + + + +
+
+ +
+ + \ No newline at end of file diff --git a/approval/doc_myun_pay_detail2.asp b/approval/doc_myun_pay_detail2.asp new file mode 100644 index 0000000..10fe634 --- /dev/null +++ b/approval/doc_myun_pay_detail2.asp @@ -0,0 +1,468 @@ + +<% + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim title2 + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim db_table_name + dim approval_chk + dim title_type + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + p_child_sn = request("p_child_sn") + pay_type = request("pay_type") + cost_type = request("cost_type") + startDT = request("startDT") + endDT = request("endDT") + sv = request("sv") + krc_no = request("krc_no") + +' response.write "pay_type : " & request("pay_type") & "
" +' response.write "startDT : " & request("startDT") & "
" +' response.write "endDT : " & request("endDT") & "
" + + If pay_type = 1 Then + title="³»±ÙÁ÷ ¼¼ºÎ³»¿ë ¹× ¿¹»ó´©°è" + title2 = "³»±ÙÁ÷º° ¼¼ºÎÁöÃâ°áÀǺñ¿ë" + Else + title="¸éÁ¢¿ø ¼¼ºÎ³»¿ë ¹× ¿¹»ó´©°è" + title2 = "¸éÁ¢¿øº° ¼¼ºÎÁöÃâ°áÀǺñ¿ë" + End if + + + d_no = request("d_no") + + query = "SELECT * " + query = query & " FROM ¹®¼­³»¿ë as a " + query = query & " INNER JOIN Document as b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE a.¹®¼­¹øÈ£='" & d_no & "' " + query = query & " AND b.d_delok = 'N' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + If rsc("¹®¼­Á¦¸ñ") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" Then + pay_type = "1" + Else + pay_type = "2" + End If + + startDT = rsc("target10") + endDT = rsc("target11") + overMoney_reason = rsc("target17") + End if + + title_type = mid(replace(title," ",""), 1, 7) + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + 'user_name(0) = Session("User_Number") + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date") + gap(4) = request("sel_pay_type") + gap(5) = request("txt_pay") + gap(6) = request("txt_pay_vat") + gap(7) = request("txt_pay_tot") + gap(8) = request("txt_client") + gap(9) = request("txt_p_sn") + gap(10) = request("txt_d_no") + +' Response.Write "gap(1) : " & gap(1) & "
" +' Response.Write "gap(2) : " & gap(2) & "
" +' Response.Write "gap(3) : " & gap(3) & "
" +' Response.Write "gap(4) : " & gap(4) & "
" +' Response.Write "gap(5) : " & gap(5) & "
" +' Response.Write "gap(6) : " & gap(6) & "
" +' Response.Write "gap(7) : " & gap(7) & "
" +' Response.Write "gap(8) : " & gap(8) & "
" +' Response.Write "gap(9) : " & gap(9) & "
" +' Response.Write "gap(10) : " & gap(10) & "
" +%> + + + +<%=GNB_TITLE%> + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + <% + Dim pay_apply_username + pay_apply_username = "" + + set adors2 = server.CreateObject("ADODB.RECORDSET") + query = "select p_name from person where p_no = '" & sv & "' " + adors2.open query, adoconn, adopenstatic, adlockreadonly + + If adors2.recordCount > 0 Then + pay_apply_username = adors2("p_name") + End If + adors2.close + %> + + + + + +
+ + + + + +
+ + + +
+
+ + + + + + + + + + + + <% + Query = " select p_sn, p_child_sn, p_subject from v_project_method " + Query = Query & " where p_child_sn = '" & p_child_sn & "' " + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Dim tmp_p_subject + tmp_p_subject = "" + if adoRs.recordcount > 0 Then + tmp_p_subject = adoRs("p_subject") + End If + adoRs.close + %> + + +
¼ö´ç °áÀç ±â°£<%if startDT <> "" then %><%=startDT%> ~ <%=endDT%><% else %>ÇÁ·ÎÁ§Æ®´ÜÀ§<%end if %>¼ö´ç ´ã´çÀÚ<%=pay_apply_username%>
ÇÁ·ÎÁ§Æ®ÄÚµå<%=p_child_sn%>ÇÁ·ÎÁ§Æ® ¸í<%=tmp_p_subject%>
+
+ + +
+ + + + + + + + + <% + Query = " select p_method_cd from T_PROJECT_METHOD where p_child_sn = '" & p_child_sn & "' " + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount > 0 Then + p_method_cd = adoRs("p_method_cd") + end if + adoRs.close + %> + <% + Query = " select p_child_sn, sebu, sum(est_money) as est_money, sum(accumulate_pay) as accumulate_pay, sum(pay) as pay " + Query = Query & " from ( " + Query = Query & " select p_child_sn, sebu, convert(numeric(18,0), est_money) as est_money, 0 as accumulate_pay, 0 as pay " + Query = Query & " from ( " + Query = Query & " select * from direct_cost where left(p_sn, 2) >= '15' and hangmok = '48' and del_yes_no = 'no' and p_child_sn = '" & p_child_sn & "' union all" + Query = Query & " select * from direct_cost where left(p_sn, 2) >= '15' and hangmok = '49' and sebu = 'ÇØµ¶¿ø' and del_yes_no = 'no' and p_child_sn = '" & p_child_sn & "' " + Query = Query & " ) as T1 " + + Query = Query & " union all " + + Query = Query & " select p_sn as p_child_sn, est_money as sebu, " + Query = Query & " 0 as est_money, isnull(" + Query = Query & " case when s_gubun = 'FF' then s_sum - s_sum + add_money + (s_pay_unit * (s_wan + add_count)) else s_sum end" + Query = Query & " , 0) as accumulate_pay, 0 as pay " + Query = Query & " from t_myun_pay " + Query = Query & " where pay_type = 2 and isnull(attribute05,'') <> '' and p_sn = '" & p_child_sn & "' " + + Query = Query & " union all " + + Query = Query & " select p_sn as p_child_sn, est_money as sebu, " + Query = Query & " 0 as est_money, 0 as accumulate_pay, isnull(" + Query = Query & " case when s_gubun = 'FF' then s_sum - s_sum + add_money + (s_pay_unit * (s_wan + add_count)) else s_sum end" + Query = Query & " , 0) as pay " + Query = Query & " from t_myun_pay " + Query = Query & " where pay_type = 2 and isnull(attribute05,'') = '" & krc_no & "' and p_sn = '" & p_child_sn & "' and confirm_yn = 'Y' " + + Query = Query & " union all " + + Query = Query & " select '" & p_child_sn & "' as p_child_sn, '±³À°ºñ' as sebu, " + Query = Query & " 0 as est_money, isnull((select sum(s_sum - add_money - (s_pay_unit * (s_wan + add_count))) from T_MYUN_PAY where p_sn = '" & p_child_sn & "' and pay_type = 2 and isnull(attribute05,'') <> '' and s_ot = 'Y' and confirm_yn = 'Y'), 0) as accumulate_pay, 0 as pay " + + Query = Query & " union all " + + Query = Query & " select '" & p_child_sn & "' as p_child_sn, '±³À°ºñ' as sebu, " + Query = Query & " 0 as est_money, 0 as accumulate_pay, isnull((select sum(s_sum - add_money - (s_pay_unit * (s_wan + add_count))) from T_MYUN_PAY where p_sn = '" & p_child_sn & "' and pay_type = 2 and isnull(attribute05,'') = '" & krc_no & "' and s_ot = 'Y' and confirm_yn = 'Y'),'0') as pay " + + Query = Query & " union all " + + Query = Query & " SELECT CONVERT(varchar, target10) AS p_sn, DC.d_cost_name, " + Query = Query & " 0 AS est_money, sum(CONVERT(NUMERIC(18, 0), CONVERT(varchar, target5))) AS accumulate_pay, " + Query = Query & " 0 AS pay " + Query = Query & " FROM ¹®¼­³»¿ë M LEFT JOIN direct_costcode DC ON CONVERT(integer, CONVERT(varchar, M.target12)) = DC.id " + Query = Query & " WHERE del_yes_no='no' AND (target11 LIKE '48' OR (target11 LIKE '49' AND target12 LIKE '77')) " + Query = Query & " AND CONVERT(varchar, target10) = '" & p_child_sn & "' " + Query = Query & " GROUP BY CONVERT(varchar, target10), DC.d_cost_name " + + Query = Query & " ) as T2 " + Query = Query & " group by p_child_sn, sebu " + Query = Query & " order by est_money desc " + + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + Dim total_estimate_money, total_currentMoney, total_Pay, total_chaPay + total_estimate_money = 0 + total_currentMoney = 0 + total_Pay = 0 + total_chaPay = 0 + + Dim minus_money_flag, dataCount + dataCount = 0 + if adoRs.recordcount > 0 Then + dataCount = adoRs.recordcount + do while not adoRs.eof +'-- ¹Ì»ç¿ë if p_method_cd <> "2" and adoRs("sebu") = "±³À°ºñ" Then '-- ÇØ´çÁ¶°ÇÀ¸·Î ±³À°ºñ°¡ ³ª¿À°í ¾È³ª¿À°í ÇÔ(±³À°ºñ¸¦ ¹«Á¶°Ç ³ª¿À°Ô ÇÒ°æ¿ì ÇØ´ç ³»¿ë(Á¶°Ç)À» ÁÖ¼®Ã³¸® ÇÒ°Í!!(20171217) --> ÇÊ¿ä¾ø´Â Á¶°ÇÀÓ + +'-- ¹Ì»ç¿ë else + %> + + + + + + + <% + total_estimate_money = total_estimate_money + CDbl(adoRs("est_money")) + total_currentMoney = total_currentMoney + CDbl(adoRs("accumulate_pay")) + total_Pay = total_Pay + CDbl(adoRs("pay")) + total_chaPay = total_chaPay + CDbl(chaPay) + %> + + <% +'-- ¹Ì»ç¿ë end if + adoRs.movenext + loop + end if + adoRs.close + %> + + + + + + + + + + +
ºñ¿ë¼¼ºÎÇ׸ñ¼¼ºÎÁöÃâ°áÀǺñ¿ë¿¹»óÁ÷Á¢ºñ´©Àûºñ¿ë(°áÀçÁß Æ÷ÇÔ)¿¹»óÀܾ×
<%=adoRs("sebu")%><%=FormatNumber(CDbl(adoRs("pay")), 0)%><%=FormatNumber(CDbl(adoRs("est_money")), 0)%><%=FormatNumber(CDbl(adoRs("accumulate_pay")), 0)%> + <% chaPay = CDbl(adoRs("est_money")) - CDbl(adoRs("accumulate_pay")) %> + color="red" <% end if %>><%=FormatNumber(CDbl(chaPay), 0)%>
ÇÕ°è<%=FormatNumber(total_Pay, 0)%><%=FormatNumber(total_estimate_money, 0)%><%=FormatNumber(total_currentMoney, 0)%><%=FormatNumber(total_chaPay, 0)%>
°áÀç »ó½Å Àü¿¡´Â ¿¹»ó Àܾ×ÀÌ ´Ù¸£°Ô º¸ÀÏ ¼ö ÀÖ½À´Ï´Ù.
+ + + + + + + + + + + + + + + + + + + + + + <% + Query = " select m_name, m_jumin, sum(s_wan) as s_wan, s_pay_unit, count(*) as day_cnt, isnull(money_type, case when T.s_gubun = 'ETC' then '±âŸ' else '' end) as money_type, SUM(food_cost) as food_cost, SUM(s_sum) as s_sum, sum(add_count) as add_count, sum(add_money) as add_money, sum(total_sum) as total_sum, sum(nw_cnt) as nw_cnt from "&VbCrlf + Query = Query & " (select m_name, left(m_jumin,6) as m_jumin, s_wan, s_pay_unit, money_type, s_gubun, "&VbCrlf + Query = Query & " case when money_type = 'ºÎ¼ö' and lunch = 'Y' then 5000 else 0 end + case when money_type = 'ºÎ¼ö' and dinner = 'Y' then 5000 else 0 end + "&VbCrlf + Query = Query & " case when isnull(s_ot,'N') <> 'N' then s_sum - (s_pay_unit * (add_count + s_wan) + add_money) else 0 end as food_cost, "&VbCrlf + Query = Query & " s_sum - (case when money_type = 'ºÎ¼ö' and lunch = 'Y' then 5000 else 0 end + case when money_type = 'ºÎ¼ö' and dinner = 'Y' then 5000 else 0 end + "&VbCrlf + Query = Query & " case when isnull(s_ot,'N') <> 'N' then s_sum - (s_pay_unit * (add_count + s_wan) + add_money) else 0 end ) - (s_pay_unit * add_count) - add_money as s_sum , isnull(add_count,'0') as add_count, add_money, s_sum as total_sum, isnull(nwc.nw_cnt, 0) as nw_cnt "&VbCrlf + Query = Query & " from T_MYUN_PAY TMP "&VbCrlf + Query = Query & " left outer join ( "&VbCrlf + Query = Query & " SELECT neakeun_name, LEFT(neakeun_jumin, 6) as neakeun_jumin, date, COUNT(*) as nw_cnt "&VbCrlf + Query = Query & " FROM neakeun_work "&VbCrlf + Query = Query & " GROUP BY neakeun_name, LEFT(neakeun_jumin, 6), date "&VbCrlf + Query = Query & " ) nwc on TMP.m_name = nwc.neakeun_name AND LEFT(TMP.m_jumin, 6) = nwc.neakeun_jumin AND TMP.work_dt = nwc.date "&VbCrlf + Query = Query & " where pay_type = 2 and isnull(attribute05,'') = '" & krc_no & "' and p_sn = '" & p_child_sn & "' and confirm_yn = 'Y' ) T "&VbCrlf + Query = Query & " group by m_name, m_jumin, s_pay_unit, money_type, s_gubun "&VbCrlf + Query = Query & " order by m_name, money_type, s_pay_unit "&VbCrlf + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + dim total_s_wan + dim total_food_cost, total_total_sum, total_add_count, total_add_money + total_s_wan = 0 + total_food_cost = 0 + total_total_sum = 0 + total_add_count = 0 + total_add_money = 0 + + if adoRs.recordcount > 0 Then + do while not adoRs.eof + %> + + + + + + + + + + + + + <% + total_s_wan = total_s_wan + cdbl(adoRs("s_wan")) + total_food_cost = total_food_cost + cdbl(adoRs("food_cost")) + total_total_sum = total_total_sum + cdbl(adoRs("total_sum")) + total_add_count = total_add_count + cdbl(adoRs("add_count")) + total_add_money = total_add_money + cdbl(adoRs("add_money")) + + adoRs.movenext + loop + end if + adoRs.close + %> + + + + + + + + + + +
+
+
+ + + + + + + +
+ + + \ No newline at end of file diff --git a/approval/doc_myun_pay_detail_ajax.asp b/approval/doc_myun_pay_detail_ajax.asp new file mode 100644 index 0000000..cffef95 --- /dev/null +++ b/approval/doc_myun_pay_detail_ajax.asp @@ -0,0 +1,83 @@ + + +<% + krc_no = request("krc_no") + work_month = request("work_month") + p_child_sn = request("p_child_sn") + sv = request("sv") + n_name = unescape(request("n_name")) + n_jumin = request("n_jumin") + s_gubun = unescape(request("s_gubun")) + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write "" + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + + + query = " " + query = query & " select work_dt, yoil, in_time, out_time, a.m_name, a.m_jumin, s_gubun, " + query = query & " (select top 1 ca.name from T_MYUN_GRADE_HISTORY tg left outer join category ca on tg.m_grade = ca.code and ca.±¸ºÐ='grade' " + query = query & " where tg.m_name=nw.neakeun_name and left(tg.m_jumin,6)=left(nw.neakeun_jumin, 6) and m_grade_dt <= a.work_dt AND attribute01 = a.s_gubun order by m_grade_dt desc, insert_dt desc) as grade, " + query = query & " s_pay_unit, case when job_in_time = 0 then s_wan else job_in_time end as job_in_time, job_out_time, job_add_time, job_add_time_memo, s_sum, " + query = query & " isnull((select s_sum from t_neakeun_pay where attribute01 = a.attribute01 and s_gubun = 'Ãß°¡¼ö´ç1'), 0) as add_1, " + query = query & " isnull((select s_sum from t_neakeun_pay where attribute01 = a.attribute01 and s_gubun = 'Ãß°¡¼ö´ç2'), 0) as add_2 " + query = query & " from t_neakeun_pay a " + query = query & " left outer join neakeun_work nw on a.attribute01 = nw.id " + query = query & " where pay_type = 1 and isnull(a.attribute05,'') = '" & krc_no & "' " + if work_month = "2022-04" Then + Query = Query & " and ((work_dt between '" & work_month & "-01' and '" & work_month & "-25' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + elseif work_month > "2022-04" Then + Query = Query & " and ((work_dt between cast(DATEADD(m,-1,cast('" & work_month & "-26' as date))as varchar) and '" & work_month & "-25' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-06' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + else + Query = Query & " and ((LEFT(work_dt, 7) = '" & work_month & "' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-15' as date)) as varchar) " + end if + Query = Query & " AND NW.in_time + NW.out_time + NW.p_sebu_code = '000000004')) " + query = query & " and a.p_sn = '" & p_child_sn & "' and p_sv_no = '" & sv & "' " + query = query & " and a.m_name = '" & n_name & "' and left(a.m_jumin, 6) = '" & n_jumin & "' " + query = query & " and left(s_gubun, 2) <> 'Ãß°¡' and s_gubun = '" & s_gubun & "' " + query = query & " Order by work_dt " + + rsp.Open query, adoConn, 1 + + do while not rsp.eof + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + rsp.movenext + loop + rsp.close + response.write "
³¯Â¥¿äÀÏÃâ±ÙÅð±Ùµî±Þ´Ü°¡±Ù¹«
½Ã°£
Ãʰú
±Ù¹«
Ãß°¡
½Ã°£
Ãß°¡
»çÀ¯
¼ö´çÃß°¡
¼ö´ç1
Ãß°¡
¼ö´ç2
" & rsp("work_dt") & "" & rsp("yoil") & "" & rsp("in_time") & "" & rsp("out_time") & "" & rsp("grade") & "" & round(formatNumberDbl(rsp("s_pay_unit")), 2) & "" & formatNumberDbl(rsp("job_in_time")) & "" & rsp("job_out_time") & "" & rsp("job_add_time") & "" & rsp("job_add_time_memo") & "" & FormatNumber(CDbl(rsp("s_sum")), 0) & "" & FormatNumber(CDbl(rsp("add_1")), 0) & "" & FormatNumber(CDbl(rsp("add_2")), 0) & "
" +%> \ No newline at end of file diff --git a/approval/doc_myun_pay_detail_reason.asp b/approval/doc_myun_pay_detail_reason.asp new file mode 100644 index 0000000..8c34bcd --- /dev/null +++ b/approval/doc_myun_pay_detail_reason.asp @@ -0,0 +1,98 @@ + +<% + dim Query + dim i + dim p_child_sn + dim d_no + dim m_name + dim m_jumin + dim gubun + + p_child_sn = request("p_child_sn") + d_no = request("d_no") + m_name = request("m_name") + m_jumin = request("m_jumin") + +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + <% + Query = "" + + Query = Query & " SELECT p_sn, m_name, m_jumin, work_dt, s_gubun, s_sum, add_count, add_count_memo, add_money, add_money_memo " + Query = Query & " FROM " + Query = Query & " ( " + Query = Query & " SELECT TNP.p_sn, m_name, m_jumin, work_dt, s_gubun, s_sum, isnull(convert(varchar(15), job_add_time), '') as add_count, isnull(convert(varchar(200), job_add_time_memo), '') as add_count_memo, '' as add_money, '' as add_money_memo, attribute05 " + Query = Query & " FROM T_NEAKEUN_PAY TNP LEFT OUTER JOIN neakeun_work nw ON TNP.attribute01 = CONVERT(varchar(15), nw.id) " + Query = Query & " UNION ALL " + Query = Query & " SELECT p_sn, m_name, m_jumin, work_dt, s_gubun, s_sum, isnull(convert(varchar(15), add_count), ''), isnull(convert(varchar(200), add_count_memo), ''), convert(varchar(15), add_money), convert(varchar(200), add_money_memo), attribute05 " + Query = Query & " FROM T_MYUN_PAY " + Query = Query & " ) T " + Query = Query & " WHERE p_sn = '" & p_child_sn & "' AND attribute05 = '" & d_no & "' AND m_name='" & m_name & "' AND LEFT(m_jumin, 6) = '" & m_jumin & "' " + Query = Query & " AND (add_count > '0' OR add_money > '0') " + + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount > 0 Then + do while not adoRs.eof + %> + + + + + + + + + + + + + <% + adoRs.movenext + loop + end if + adoRs.close + %> + + + +
+ »çÀ¯ ³»¿ª º¸±â +
ÇÁ·ÎÁ§Æ®¼º¸í»ý³â¿ùÀϾ÷¹«³¯Â¥¾÷¹«±¸ºÐÃß°¡ºÎ¼öÃß°¡ºÎ¼ö»çÀ¯Ãß°¡¼ö´çÃß°¡¼ö´ç»çÀ¯
<%=adoRs("p_sn") %><%=adoRs("m_name") %><%=LEFT(adoRs("m_jumin"), 6) %><%=adoRs("work_dt") %><%=adoRs("s_gubun") %><%=adoRs("add_count") %><%=adoRs("add_count_memo") %> <%=FormatNumber(adoRs("add_money"), 0) %><%=adoRs("add_money_memo") %> 
+
+ + \ No newline at end of file diff --git a/approval/doc_myun_pay_print.asp b/approval/doc_myun_pay_print.asp new file mode 100644 index 0000000..b6d4f5f --- /dev/null +++ b/approval/doc_myun_pay_print.asp @@ -0,0 +1,1087 @@ + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim approval_chk + dim title_type + + dim d_p_subject + dim d_p_child_sn + dim d_estimate_money + dim d_currentMoney + dim d_totalPay + dim d_chaPay + + + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + pay_type = request("pay_type") + p_sn_c = request("p_sn_c") + work_month = request("work_month") + sv = request("sv") + print_type = request("print_type") + + dim pay_month + dim key_day + + if Session("loginuser") = "½Å»ó¿î" or Session("loginuser") = "¾ç¿µÀº" then + sql = "select ver as key_day from information where program='ÀÎÆ®¶ó³ÝÆäÀÌÀԷ±âÁس¯ÀÚ(°æ¿µÁö¿ø½Ç)'" + elseif Session("loginuser") = "±èÈ«±Ù" then + sql = "select ver as key_day from information where program='ÀÎÆ®¶ó³ÝÆäÀÌÀԷ±âÁس¯ÀÚ(±èÈ«±Ù¸¸)'" + else + sql = "select ver as key_day from information where program='ÀÎÆ®¶ó³ÝÆäÀÌÀԷ±âÁس¯ÀÚ(ÀÚ·áÁ¶»çºÎ)'" + end if + rsc.open sql, adoConn,adopenstatic, adlockreadonly + key_day = rsc.fields("key_day") + rsc.close + + + if cint(day(date)) >= 1 and cint(day(date)) <= cint(key_day) then '1ÀÏ ¿¡¼­ 5ÀÏ »çÀ̸é Á¾·á³¯Â¥°¡ ±Ý¹ø´Þ 5ÀÏÀÎ°Í Ã£±â + if cint(month(date)) = 1 then '1¿ù À̸é Àü³âµµ 12¿ù ÀÚ·á + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) & "-01-15" + else + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) & "-" & zeroformat(month(date),2) & "-15" + end If + else + if cint(month(date)) = 12 then '12¿ù À̸é Á¾·á³¯Â¥°¡ ´ÙÀ½³âµµ 1¿ù5ÀÏ ÀÎ°Í Ã£±â + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) + 1 & "-01-15" + Else + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) & "-" & zeroformat(month(date)+1,2) & "-15" + end If + end if + + If pay_type = 1 Then + title="³»±ÙÁ÷ ¼ö´ç ÁöÃâ°áÀǼ­" + Else + title="¸éÁ¢¿ø ¼ö´ç ÁöÃâ°áÀǼ­" + End if + + d_no = request("d_no") + If cint(print_type) = 0 Then + + + query = "SELECT * " + query = query & " FROM ¹®¼­³»¿ë as a " + query = query & " INNER JOIN Document as b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE a.¹®¼­¹øÈ£='" & d_no & "' " + query = query & " AND b.d_delok = 'N' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + If rsc("¹®¼­Á¦¸ñ") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" Then + pay_type = "1" + Else + pay_type = "2" + End If + tmp_d_order_cnt = rsc("d_order_cnt") + startDT = rsc("target10") + endDT = rsc("target11") + overMoney_reason = rsc("target17") + End if + End if + + title_type = mid(replace(title," ",""), 1, 7) + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + 'user_name(0) = Session("User_Number") + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date") + gap(4) = request("sel_pay_type") + gap(5) = request("txt_pay") + gap(6) = request("txt_pay_vat") + gap(7) = request("txt_pay_tot") + gap(8) = request("txt_client") + gap(9) = request("txt_p_sn") + gap(10) = request("txt_d_no") + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + if cint(print_type) = 2 then + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from ¹®¼­³»¿ë " + query = query & " where ¹®¼­¹øÈ£ like 'KRC-" & year(date) & "-t-%' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end If + + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "t-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + 'Response.Write "krc_no : " & krc_no & "
" + + tmp_p_sn = split(gap(9),",") + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + + dataCount = request("dataCount") + overMoney_reason = "" + d_estimate_money = "" + d_currentMoney = "" + d_totalPay = "" + d_chaPay = "" + d_p_child_sn = "" + d_p_subject = "" + + Dim overMoney_reason_count + overMoney_reason_count = 0 + + For i = 1 To request("overMoney_reason").count + If Trim(request("overMoney_reason")(i)) <> "" Then + overMoney_reason_count = overMoney_reason_count + 1 + End if + d_p_subject = d_p_subject + ( cstr(i) + "^^" + request("p_subject")(i) + "^//^" ) + d_p_child_sn = d_p_child_sn + ( cstr(i) + "^^" + request("p_sn")(i) + "^//^" ) + overMoney_reason = overMoney_reason + ( cstr(i) + "^^" + request("overMoney_reason")(i) + "^//^" ) + d_estimate_money = d_estimate_money + ( cstr(i) + "^^" + request("estimate_money")(i) + "^//^" ) + d_currentMoney = d_currentMoney + ( cstr(i) + "^^" + request("currentMoney")(i) + "^//^" ) + d_totalPay = d_totalPay + ( cstr(i) + "^^" + request("totalPay")(i) + "^//^" ) + d_chaPay = d_chaPay + ( cstr(i) + "^^" + request("chaPay")(i) + "^//^" ) + Next + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "°áÀǼ­', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + adoconn.execute query + + query = "insert into ¹®¼­³»¿ë (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target10, target11, target12, target13, target14, target15, target16, target17, target20, target21, target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & gap(7) & "', " + query = query & "'" & gap(8) & "', " + query = query & "'" & gap(10) & "', " + + query = query & "'" & work_month & "', " + query = query & "'" & work_month & "', " + query = query & "'" & sv & "', " + query = query & "'" & d_estimate_money & "', " + query = query & "'" & d_currentMoney & "', " + query = query & "'" & d_totalPay & "', " + query = query & "'" & d_chaPay & "', " + query = query & "'" & overMoney_reason & "', " + query = query & "'" & d_p_child_sn & "', " + query = query & "'" & d_p_subject & "', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(9) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" + 'Response.Write query & "
" + adoconn.execute query + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + for i=1 to 9 + if trim(gap(i)) = "" then + gap(i) = " " + end if + Next + + for i=5 to 7 + if gap(i) = " " then + gap(i) = "0" + end if + next + + If replace(title, " ", "") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" Or replace(title, " ", "") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" Then + + query = " Update man " + query = query & " set m_last_work_date = convert(varchar(10), GETDATE(), 23) " + query = query & " where id in " + query = query & " (SELECT (select id from man where m_name=T.m_name and left(m_jumin,6)+'0000000' = T.m_jumin) as id FROM " + query = query & " (select tn.*, nw.in_time, nw.out_time, nw.p_sebu_code, p_sv_no from T_NEAKEUN_PAY tn left outer join neakeun_work nw on tn.attribute01 = nw.id) T " + if work_month = "2022-04" Then + query = query & " where ((work_dt between '" & work_month & "-01' and '" & work_month & "-25' AND T.in_time + T.out_time + T.p_sebu_code <> '000000004') OR " + query = query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + elseif work_month > "2022-04" Then + query = query & " where ((work_dt between cast(DATEADD(m,-1,cast('" & work_month & "-26' as date))as varchar) and '" & work_month & "-25' AND T.in_time + T.out_time + T.p_sebu_code <> '000000004') OR " + query = query & " (work_dt between '" & work_month & "-06' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + else + query = query & " where ((LEFT(work_dt, 7) = '" & work_month & "' AND T.in_time + T.out_time + T.p_sebu_code <> '000000004') OR " + query = query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-15' as date)) as varchar) " + end if + query = query & " AND T.in_time + T.out_time + T.p_sebu_code = '000000004')) " + query = query & " and p_sn = '" & p_sn_c & "' and isnull(T.attribute05,'') = '' " + query = query & " and p_sv_no = '" & sv & "' " + query = query & " group by m_name, m_jumin) " + adoconn.execute query + + query = " UPDATE t_neakeun_pay " + query = query & " SET attribute05 = '" & krc_no & "' , pay_month = '" & pay_month & "' " + query = query & " WHERE id in (SELECT T.id FROM " + query = query & " (select tn.*, nw.in_time, nw.out_time, nw.p_sebu_code, p_sv_no from T_NEAKEUN_PAY tn left outer join neakeun_work nw on tn.attribute01 = nw.id) T " + if work_month = "2022-04" Then + query = query & " where ((work_dt between '" & work_month & "-01' and '" & work_month & "-25' AND T.in_time + T.out_time + T.p_sebu_code <> '000000004') OR " + query = query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + elseif work_month > "2022-04" Then + query = query & " where ((work_dt between cast(DATEADD(m,-1,cast('" & work_month & "-26' as date))as varchar) and '" & work_month & "-25' AND T.in_time + T.out_time + T.p_sebu_code <> '000000004') OR " + query = query & " (work_dt between '" & work_month & "-06' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + else + query = query & " where ((LEFT(work_dt, 7) = '" & work_month & "' AND T.in_time + T.out_time + T.p_sebu_code <> '000000004') OR " + query = query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-15' as date)) as varchar) " + end if + query = query & " AND T.in_time + T.out_time + T.p_sebu_code = '000000004')) " + query = query & " and p_sn = '" & p_sn_c & "' and isnull(T.attribute05,'') = '' " + query = query & " and p_sv_no = '" & sv & "' " + query = query & " group by T.id, m_name, m_jumin, LEFT(work_dt, 7)) " + adoconn.execute query + End if + + '2014-12-26 ¸éÁ¢¿ø, ³»±ÙÁ÷ ÁöÃâ °áÀǼ­ ÀÏ °æ¿ì ------------------------------------ + If d_order_cnt = 77 Then + if tmp_d_order_cnt <> "77" then + + set dbin = server.CreateObject("ADODB.CONNECTION") + + query = " SELECT t.p_sn, s_gubun, SUM(s_sum) as s_sum " + query = query & " FROM (select tmp.p_sn, tmp.m_name, tmp.m_jumin, tmp.work_dt, " + query = query & " case when tmp.s_gubun like 'Ãß°¡%' then ( " + query = query & " select top 1 s_gubun from t_neakeun_pay " + query = query & " where attribute01 = tmp.attribute01 and s_gubun not like 'Ãß°¡%' order by s_wan desc ) " + query = query & " else tmp.s_gubun end as s_gubun, s_sum, attribute01, attribute05 from t_neakeun_pay tmp) t " + query = query & " left outer join neakeun_work nw on t.attribute01 = nw.id " + query = query & " WHERE isnull(t.attribute05,'') = '" & krc_no & "' " + query = query & " group by s_gubun, t.p_sn " + + rsc.open query, adoconn,adopenstatic, adlockreadonly + do while not rsc.eof + directQuery = " UPDATE direct_cost " + directQuery = directQuery & " set act_money = act_money + " & rsc("s_sum") & " , " + directQuery = directQuery & " cha_money = cha_money + " & rsc("s_sum") & " " + directQuery = directQuery & " where p_child_sn = '" & rsc("p_sn") & "' " + directQuery = directQuery & " and del_yes_no = 'no' and sebu = '" & rsc("s_gubun") & "' " + + dbin.Open adoConn + dbin.Execute directQuery, i + dbin.Close + + if i < 1 then + Query = "select ¹®¼­¹øÈ£ as krc_no from ¹®¼­³»¿ë " + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + + Rs.open Query, adoconn,adopenstatic, adlockreadonly + + if Rs.recordcount <= 0 then + krc_no = 0 + else + Rs.movelast + tmpstr = split(trim(Rs("krc_no")),"-") + krc_no = tmpstr(3) + end if + Rs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "X-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + Query = " insert into direct_cost(p_sn, krc_no, p_subject, hangmok, sebu, act_money, " + Query = Query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, del_yes_no, cost_type, p_child_sn) " + Query = Query & " values( " + Query = Query & " left('" & rsc("p_sn") & "',7), " + Query = Query & " '" & krc_no & "', " + Query = Query & " (select p_subject from T_PROJECT_METHOD where p_child_sn = '" & rsc("p_sn") & "'), " + Query = Query & " '49', " + Query = Query & " '" & rsc("s_gubun") & "', " + Query = Query & " '" & rsc("s_sum") & "', " + Query = Query & " convert(char(10),GETDATE(),23), " + Query = Query & " convert(char(10),GETDATE(),24), " + Query = Query & " '"& Session("loginuser") &"', " + Query = Query & " '"& Session("User_Number") &"', " + Query = Query & " '"& Session("USERIP") &"', " + Query = Query & " 'no', " + Query = Query & " 'field', " + Query = Query & " '" & rsc("p_sn") & "') " + + 'Response.Write "Query :" & Query + dbin.Open adoConn + dbin.Execute Query + dbin.Close + end if + + rsc.movenext + loop + rsc.close + Else + alert2 "ÀÌ¹Ì °áÀç°¡ ¿Ï·áµÈ ¹®¼­ÀÔ´Ï´Ù." + End if + End if + '---------------------------------------------------------------------------------- + + + elseif cint(print_type) = 1 then + + end if +%> + + + +<%=GNB_TITLE%> + + + + + + + + + +
+ onLoad="clsit();" <% end if %>> + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ <%if approval_chk = "true" then%> + + <%else + Response.Write "º»ºÎ°¡ È¥ÀçµÈ ÇÁ·ÎÁ§Æ®´Â °áÀç »ó½ÅÀÌ ¾ÈµË´Ï´Ù. º»ºÎ¸¦ ±¸ºÐÇϼ¼¿ä" + end if%> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + Dim pay_apply_username + pay_apply_username = "" + + set adors2 = server.CreateObject("ADODB.RECORDSET") + query = "select p_name from person where p_no = '" & sv & "' " + adors2.open query, adoconn, adopenstatic, adlockreadonly + + If adors2.recordCount > 0 Then + pay_apply_username = adors2("p_name") + End If + adors2.close + %> + + + + + + + + + + + + + +
+ + + + + +
+ <%=title%> + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + +
¼ö´ç °áÀç ±â°£<% + if work_month = "2022-04" Then + Response.Write work_month & "-01 ~ " & work_month & "-25" + elseif work_month > "2022-04" Then + Response.Write DATEADD("m",-1,cdate(work_month & "-26")) & " ~ " & work_month & "-25" + else + Response.Write work_month + end if + %>¼ö´ç ´ã´çÀÚ<%=pay_apply_username%>
+
+ + + + + + + + + + + <% + Query = "select d_no, p_sn, isnull(p_subject, (select p_subject from V_PROJECT_METHOD where p_sn = T.p_sn )) as p_subject, s_gubun, isnull(SUM(pay), 0) as pay, isnull(SUM(lunch), 0) as lunch, isnull(SUM(dinner), 0) as dinner " + Query = Query & " ,isnull(Case when p_progress_status != '008' then '[¼öÇà°èȹ¼­ ¹Ì°áÀç]' end,'') as p_progress_status " + Query = Query & " ,isnull(cast(id as varchar(100)),'') as nw " + Query = Query & "from ( " + Query = Query & " select isnull(A.attribute05,'') as d_no , A.p_sn, C.p_subject " + Query = Query & " , s_gubun, pay_type " + Query = Query & " , CASE WHEN s_gubun <> 'Ãß°¡¼ö´ç1' and s_gubun <> 'Ãß°¡¼ö´ç2' THEN isnull(SUM(s_sum), 0) END as pay " + Query = Query & " , CASE WHEN s_gubun = 'Ãß°¡¼ö´ç1' THEN isnull(sum(s_wan), 0) * (select cost from t_neakeun_pay_COST where type = 'lunch') END as lunch " + Query = Query & " , CASE WHEN s_gubun = 'Ãß°¡¼ö´ç2' THEN isnull(sum(s_wan), 0) * (select cost from t_neakeun_pay_COST where type = 'dinner') END as dinner " + Query = Query & " , p_progress_status, CASE WHEN nw.id IS NULL THEN 'N' else 'Y' end AS id " + Query = Query & " from " + Query = Query & " ( " + Query = Query & " select tmp.p_sn, tmp.m_name, tmp.m_jumin, tmp.work_dt, tmp.attribute01, tmp.attribute05, tmp.pay_type, tmp.s_wan, " + Query = Query & " case when tmp.s_gubun like 'Ãß°¡%' then " + Query = Query & " ( " + Query = Query & " select top 1 s_gubun " + Query = Query & " from t_neakeun_pay " + Query = Query & " where attribute01 = tmp.attribute01 " + Query = Query & " and p_sn = tmp.p_sn and s_gubun not like 'Ãß°¡%' " + Query = Query & " order by s_wan desc " + Query = Query & " ) " + Query = Query & " else tmp.s_gubun end as s_gubun, s_sum " + Query = Query & " from t_neakeun_pay tmp " + Query = Query & " ) as A " + Query = Query & " left outer join v_project as B " + Query = Query & " on A.p_sn = B.p_sn " + Query = Query & " left outer join v_project_method as C " + Query = Query & " on A.p_sn = C.p_child_sn " + Query = Query & " left outer join neakeun_work nw on a.attribute01 = nw.id " + Query = Query & " where pay_type = 1 " + if work_month = "2022-04" Then + Query = Query & " and ((work_dt between '" & work_month & "-01' and '" & work_month & "-25' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + elseif work_month > "2022-04" Then + Query = Query & " and ((work_dt between cast(DATEADD(m,-1,cast('" & work_month & "-26' as date))as varchar) and '" & work_month & "-25' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-06' and cast(DATEADD(m,1,cast('" & work_month & "-05' as date)) as varchar) " + else + Query = Query & " and ((LEFT(work_dt, 7) = '" & work_month & "' AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') OR " + Query = Query & " (work_dt between '" & work_month & "-16' and cast(DATEADD(m,1,cast('" & work_month & "-15' as date)) as varchar) " + end if + Query = Query & " AND NW.in_time + NW.out_time + NW.p_sebu_code = '000000004')) " + Query = Query & " and p_sv_no = '" & sv & "' and A.p_sn = '"& p_sn_c &"' " + Query = Query & " group by isnull(A.attribute05,'') ,A.p_sn, C.p_subject, s_gubun, pay_type, p_progress_status, nw.id " + Query = Query & ") as T " + Query = Query & "where d_no = '" & d_no & "' " + Query = Query & "group by d_no, p_sn, p_subject, s_gubun, pay_type, p_progress_status, id " + + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + Dim total_estimate_money, total_currentMoney, total_Pay, total_chaPay + total_estimate_money = 0 + total_currentMoney = 0 + total_Pay = 0 + total_chaPay = 0 + + Dim minus_money_flag, dataCount + dataCount = 0 + if adoRs.recordcount > 0 Then + dataCount = adoRs.recordcount + do while not adoRs.eof + minus_money_flag = False + + Query = "select p_sn, p_child_sn, SUM(convert(numeric(18,0), est_money)) as est_money from ( " + Query = Query & " select * from direct_cost where p_sn like '" & Left(adoRs("p_sn"), 2) & "%' and hangmok = '49' and del_yes_no = 'no' and sebu = '" & adoRs("s_gubun") & "' " + Query = Query & ") as T " + If Len(adoRs("p_sn")) > 9 Then + Query = Query & "where p_child_sn = '" & adoRs("p_sn") & "' " + Else + Query = Query & "where p_sn = '" & adoRs("p_sn") & "' " + End If + Query = Query & "group by p_sn, p_child_sn " + + 'response.Write query & "
" + + adors2.open Query, adoconn,adopenstatic, adlockreadonly + Dim estimate_money + estimate_money = 0 + if adors2.recordcount > 0 Then + estimate_money = adors2("est_money") + End If + adors2.close + + Query = "" + Query = Query & " select p_sn, isnull(sum(s_sum), 0) as pay " + Query = Query & " from " + Query = Query & " ( " + Query = Query & " select tmp.p_sn, tmp.m_name, tmp.m_jumin, tmp.work_dt, " + Query = Query & " case when tmp.s_gubun like 'Ãß°¡%' then " + Query = Query & " ( " + Query = Query & " select top 1 s_gubun " + Query = Query & " from t_neakeun_pay " + Query = Query & " where attribute01 = tmp.attribute01 " + Query = Query & " and p_sn = tmp.p_sn and s_gubun not like 'Ãß°¡%' " + Query = Query & " order by s_wan desc " + Query = Query & " ) " + Query = Query & " else tmp.s_gubun end as s_gubun, s_sum " + Query = Query & " from t_neakeun_pay tmp " + Query = Query & " where isnull(pay_month,'') <> '' " + Query = Query & " and isnull(attribute05,'') <> '' " + Query = Query & " and p_sn = '" & adoRs("p_sn") & "' " + Query = Query & " ) T " + Query = Query & " where s_gubun = '" & adoRs("s_gubun") & "' " + Query = Query & " group by p_sn " + + 'response.Write query & "
" + adors2.open Query, adoconn,adopenstatic, adlockreadonly + Dim currentMoney + currentMoney = 0 + + if adors2.recordcount > 0 Then + currentMoney = adors2("pay") + End If + + 'response.Write adors2.recordcount & "//" & currentMoney & "
" + adors2.close + + + Dim totalPay, chaPay + totalPay = CDbl(adoRs("pay"))+CDbl(adoRs("lunch"))+CDbl(adoRs("dinner")) + chaPay = CDbl(estimate_money) - CDbl(currentMoney) - CDbl(totalPay) + + If CDbl(estimate_money) * 1.03 - CDbl(currentMoney) - CDbl(totalPay) < 0 Then ' ¿¹»êÀÇ 3ÇÁ·Î¸¦ ´õ ÁÜ + minus_money_flag = true + End if + %> + + + + + + + + <% + total_estimate_money = total_estimate_money + CDbl(estimate_money) + total_currentMoney = total_currentMoney + CDbl(currentMoney) + total_Pay = total_Pay + CDbl(totalPay) + total_chaPay = total_chaPay + CDbl(chaPay) + %> + + <% + adoRs.movenext + loop + end if + adoRs.close + %> + + + + + + + + +
ÇÁ·ÎÁ§Æ®¿¹»óÁ÷Á¢ºñ´©Àûºñ¿ëÁöÃâ°áÀǺñ¿ë¿¹»óÀܾ׻çÀ¯
+ [<%=adoRs("p_sn")%>]  + <%if session("depart_code") = "0" or session("depart_code") = "18" or (session("depart_code") = "12") then %> + ', '<%=work_month%>', '<%=sv%>', 1, '<%="field"%>', '<%= d_no %>', '<%=adoRs("s_gubun") %>')"> + <%end if %> +
<%=adoRs("p_subject")%>
+ color="red" <% end if %>><%=adoRs("p_progress_status")%> + <% if adoRs("nw") = "" then %> + color="red" <% end if %>>¢À¢¿¾÷¹«ÀÏÁö ¾øÀ½¢¿¢À + <% end if %> +
+ (<%=adoRs("s_gubun") %>) + " /> + " /> + (<%=adoRs("s_gubun") %>)" /> + " /> +
<%=FormatNumber(CDbl(estimate_money), 0)%><%=FormatNumber(CDbl(currentMoney), 0)%><%=FormatNumber(CDbl(totalPay), 0)%> color="red" <% end if %>><%=FormatNumber(CDbl(chaPay), 0)%> + + + + + + + + + readonly <% End If %> /> +
ÇÕ°è<%=FormatNumber(total_estimate_money, 0)%><%=FormatNumber(total_currentMoney, 0)%><%=FormatNumber(total_Pay, 0)%><%=FormatNumber(total_chaPay, 0)%> 
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/approval/doc_myun_pay_print2.asp b/approval/doc_myun_pay_print2.asp new file mode 100644 index 0000000..be8d441 --- /dev/null +++ b/approval/doc_myun_pay_print2.asp @@ -0,0 +1,996 @@ + +<% +''//===================== +''//===================== +''2013³â 9¿ù 27ÀÏÀÚ·Î +' ÁöÃâ °áÀǼ­¿¡ ÀԱݰáÀǼ­¸¦ Ãß°¡ÇÏ¿© 2°³¹®¼­¸¦ °°Àº ÇÁ·Î±×·¥¿¡¼­ ±¸µ¿ +'' ±¸ºÐÀº titie¿Í title_type·Î ±¸ºÐ +''//===================== +''//===================== + + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap(10) '1:ÇÁ·ÎÁ§Æ® ÄÚµå, 2:ÁöÃâ(ÀÔ±Ý)¸ñÀû, 3:ÁöÃâ(ÀÔ±Ý)ÀÏÀÚ, 4:ÁöÃâ(ÀÔ±Ý)¹æ¹ý, 5:°ø±Þ°¡¾×, 6:ºÎ°¡¼¼¾×, 7:ÃѾ×, 8:°Å·¡Ã³, 9:ÇÁ·ÎÁ§Æ® ÄÚµå, 10:ǰÀǼ­ ¹®¼­¹øÈ£ + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + dim approval_chk + dim title_type + dim p_sn + dim d_p_subject + dim d_p_child_sn + dim d_estimate_money + dim d_currentMoney + dim d_totalPay + dim d_chaPay + dim d_sotPay + + db_table_name = "¹®¼­³»¿ë" + approval_chk = "true" + + pay_type = request("pay_type") + startDT = request("startDT") + endDT = request("endDT") + sv = request("sv") + print_type = request("print_type") + p_sn = request("p_sn") + +' response.write "pay_type : " & request("pay_type") & "
" +' response.write "startDT : " & request("startDT") & "
" +' response.write "endDT : " & request("endDT") & "
" +' response.write "print_type : " & request("print_type") & "
" + dim pay_month + dim key_day + + if Session("loginuser") = "½Å»ó¿î" or Session("loginuser") = "¾ç¿µÀº" then + sql = "select ver as key_day from information where program='ÀÎÆ®¶ó³ÝÆäÀÌÀԷ±âÁس¯ÀÚ(°æ¿µÁö¿ø½Ç)'" + elseif Session("loginuser") = "±èÈ«±Ù" then + sql = "select ver as key_day from information where program='ÀÎÆ®¶ó³ÝÆäÀÌÀԷ±âÁس¯ÀÚ(±èÈ«±Ù¸¸)'" + else + sql = "select ver as key_day from information where program='ÀÎÆ®¶ó³ÝÆäÀÌÀԷ±âÁس¯ÀÚ(ÀÚ·áÁ¶»çºÎ)'" + end if + rsc.open sql, adoConn,adopenstatic, adlockreadonly + key_day = rsc.fields("key_day") + rsc.close + + + if cint(day(date)) >= 1 and cint(day(date)) <= cint(key_day) then '1ÀÏ ¿¡¼­ 5ÀÏ »çÀ̸é Á¾·á³¯Â¥°¡ ±Ý¹ø´Þ 5ÀÏÀÎ°Í Ã£±â + if cint(month(date)) = 1 then '1¿ù À̸é Àü³âµµ 12¿ù ÀÚ·á + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) & "-01-15" + else + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) & "-" & zeroformat(month(date),2) & "-15" + end If + else + if cint(month(date)) = 12 then '12¿ù À̸é Á¾·á³¯Â¥°¡ ´ÙÀ½³âµµ 1¿ù5ÀÏ ÀÎ°Í Ã£±â + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) + 1 & "-01-15" + Else + '¼ö´ç ÀԷ½à ±âÁØÀÌ µÇ´Â ³¯Â¥~! ½±°Ô ¸»Çؼ­ ¼ö´ç Áö±Þ ³¯Â¥°¡ µÈ´Ù~! + pay_month = year(date) & "-" & zeroformat(month(date)+1,2) & "-15" + end If + end if + + If pay_type = 1 Then + title="³»±ÙÁ÷ ¼ö´ç ÁöÃâ°áÀǼ­" + Else + title="¸éÁ¢¿ø ¼ö´ç ÁöÃâ°áÀǼ­" + End if + + + If cint(print_type) = 0 Then + d_no = request("d_no") + + query = "SELECT * " + query = query & " FROM ¹®¼­³»¿ë as a " + query = query & " INNER JOIN Document as b on a.¹®¼­¹øÈ£ = b.d_no " + query = query & " WHERE a.¹®¼­¹øÈ£='" & d_no & "' " + query = query & " AND b.d_delok = 'N' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + If rsc("¹®¼­Á¦¸ñ") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" Then + pay_type = "1" + Else + pay_type = "2" + End If + tmp_d_order_cnt = rsc("d_order_cnt") + startDT = rsc("target10") + endDT = rsc("target11") + overMoney_reason = rsc("target17") + End if + End if + + title_type = mid(replace(title," ",""), 1, 7) + + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + 'user_name(0) = Session("User_Number") + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + gap(1) = request("txt_prj_name") + gap(2) = request("txt_pay_target") + gap(3) = request("txt_date") + gap(4) = request("sel_pay_type") + gap(5) = request("txt_pay") + gap(6) = request("txt_pay_vat") + gap(7) = request("txt_pay_tot") + gap(8) = request("txt_client") + gap(9) = request("txt_p_sn") + gap(10) = request("txt_d_no") + +' Response.Write "gap(1) : " & gap(1) & "
" +' Response.Write "gap(2) : " & gap(2) & "
" +' Response.Write "gap(3) : " & gap(3) & "
" +' Response.Write "gap(4) : " & gap(4) & "
" +' Response.Write "gap(5) : " & gap(5) & "
" +' Response.Write "gap(6) : " & gap(6) & "
" +' Response.Write "gap(7) : " & gap(7) & "
" +' Response.Write "gap(8) : " & gap(8) & "
" +' Response.Write "gap(9) : " & gap(9) & "
" +' Response.Write "gap(10) : " & gap(10) & "
" + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + +' Response.Write "tmp_txt1 : " & tmp_txt1 & "
" +' Response.Write "tmp_txt2 : " & tmp_txt2 & "
" +' Response.Write "tmp_txt3 : " & tmp_txt3 & "
" +' Response.Write "tmp_txt4 : " & tmp_txt4 & "
" +' Response.Write "tmp_txt5 : " & tmp_txt5 & "
" +' Response.Write "tmp_txt6 : " & tmp_txt6 & "
" +' Response.Write "tmp_txt7 : " & tmp_txt7 & "
" +' Response.Write "tmp_txt8 : " & tmp_txt8 & "
" +' Response.Write "tmp_txt9 : " & tmp_txt9 & "
" +' Response.Write "tmp_txt10 : " & tmp_txt10 & "
" + + if cint(print_type) = 2 then + '¸ÕÀú Áö Ãâ °á ÀÇ ¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from ¹®¼­³»¿ë " + query = query & " where ¹®¼­¹øÈ£ like 'KRC-" & year(date) & "-t-%' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end If + + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "t-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + 'Response.Write "krc_no : " & krc_no & "
" + + tmp_p_sn = split(gap(9),",") + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + '==================================================================== + dataCount = request("dataCount") + overMoney_reason = "" + d_estimate_money = "" + d_currentMoney = "" + d_totalPay = "" + d_chaPay = "" + d_p_child_sn = "" + d_p_subject = "" + + Dim overMoney_reason_count + overMoney_reason_count = 0 + + For i = 1 To request("overMoney_reason").count + If Trim(request("overMoney_reason")(i)) <> "" Then + overMoney_reason_count = overMoney_reason_count + 1 + End if + d_p_subject = d_p_subject + ( cstr(i) + "^^" + request("p_subject")(i) + "^//^" ) + d_p_child_sn = d_p_child_sn + ( cstr(i) + "^^" + request("p_sn")(i) + "^//^" ) + overMoney_reason = overMoney_reason + ( cstr(i) + "^^" + request("overMoney_reason")(i) + "^//^" ) + d_estimate_money = d_estimate_money + ( cstr(i) + "^^" + request("estimate_money")(i) + "^//^" ) + d_currentMoney = d_currentMoney + ( cstr(i) + "^^" + request("currentMoney")(i) + "^//^" ) + d_totalPay = d_totalPay + ( cstr(i) + "^^" + request("totalPay")(i) + "^//^" ) + d_chaPay = d_chaPay + ( cstr(i) + "^^" + request("chaPay")(i) + "^//^" ) + Next + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & title_type & "°áÀǼ­', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + +'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + + '//======================== + '³»¿ë ÀúÀåÇϱâ + '- GET ¹æ½ÄÀ¸·Î ³Ñ°åÀ» °æ¿ì. + 'request.QueryString("aa") + '- POST ¹æ½ÄÀ¸·Î ³Ñ°åÀ» °æ¿ì. + 'request.Form("aa") + '- GET ¹æ½Ä, POST ¹æ½Ä µÑ´Ù °¡´É. + 'request("aa") + + query = "insert into ¹®¼­³»¿ë (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target10, target11, target12, target13, target14, target15, target16, target17, target20, target21, target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & CheckWord(gap(2)) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & gap(7) & "', " + query = query & "'" & gap(8) & "', " + query = query & "'" & gap(10) & "', " + + query = query & "'" & startDT & "', " + query = query & "'" & endDT & "', " + query = query & "'" & sv & "', " + query = query & "'" & d_estimate_money & "', " + query = query & "'" & d_currentMoney & "', " + query = query & "'" & d_totalPay & "', " + query = query & "'" & d_chaPay & "', " + query = query & "'" & overMoney_reason & "', " + + query = query & "'" & d_p_child_sn & "', " + query = query & "'" & d_p_subject & "', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(9) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " +'Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" +'Response.Write query & "
" + adoconn.execute query + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(3) = mid(gap(3),1,4) & "³â " & mid(gap(3),6,2) & "¿ù " & mid(gap(3),9,2) & "ÀÏ" + for i=1 to 9 + if trim(gap(i)) = "" then + gap(i) = " " + end if + Next + + for i=5 to 7 + if gap(i) = " " then + gap(i) = "0" + end if + next + + 'response.write "krc_no : " & krc_no & "
" + 'response.write "title : " & replace(title, " ", "") & "
" + 'response.write "startDT : " & startDT & "
" + 'response.write "endDT : " & endDT & "
" + 'response.write "sv : " & sv & "
" + + + If replace(title, " ", "") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" Or replace(title, " ", "") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" Then + + query = "Update man " + query = query & " set m_last_work_date = convert(varchar(10), GETDATE(), 23) " + query = query & " where id in " + query = query & "(SELECT (select id from man where m_name=T.m_name and left(m_jumin,6)+'0000000' = T.m_jumin) as id FROM " + query = query & "T_myun_pay T " + query = query & "WHERE p_sn = '" & p_sn & "' and isnull(attribute05,'') = '' " + query = query & " group by m_name, m_jumin) " + + adoconn.execute query + + query = "UPDATE t_myun_pay " + query = query & "SET attribute05 = '" & krc_no & "' , pay_month = '" & pay_month & "' " + query = query & "WHERE p_sn = '" & p_sn & "' and isnull(attribute05,'') = '' and confirm_yn = 'Y' " + + adoconn.execute query + End if + + + + '2014-12-26 ¸éÁ¢¿ø, ³»±ÙÁ÷ ÁöÃâ °áÀǼ­ ÀÏ °æ¿ì ------------------------------------ + If d_order_cnt = 77 Then + if tmp_d_order_cnt <> "77" then + + set dbin = server.CreateObject("ADODB.CONNECTION") + + query = " SELECT p_sn, s_gubun, SUM(s_sum) as s_sum " + query = query & " FROM " + query = query & " ( " + query = query & " select p_sn, m_name, m_jumin, work_dt, est_money as s_gubun, " + query = query & " case when s_gubun = 'ff' then s_pay_unit * (s_wan + add_count) + add_money else s_sum end as s_sum, " + query = query & " attribute05, confirm_yn, s_ot " + query = query & " from t_myun_pay " + query = query & " union all " + query = query & " select p_sn, m_name, m_jumin, work_dt, '±³À°ºñ' as s_gubun, " + query = query & " case when s_gubun = 'ff' then s_sum - s_pay_unit * (s_wan + add_count) - add_money else 0 end as s_sum, " + query = query & " attribute05, confirm_yn, s_ot " + query = query & " from t_myun_pay " + query = query & " ) t " + query = query & " WHERE p_sn = '" & p_sn & "' and isnull(attribute05,'') = '" & krc_no & "' and confirm_yn = 'Y' " + query = query & " group by s_gubun, p_sn " + + rsc.open query, adoconn,adopenstatic, adlockreadonly + do while not rsc.eof + directQuery = " UPDATE direct_cost " + directQuery = directQuery & " set act_money = act_money + " & rsc("s_sum") & " , " + directQuery = directQuery & " cha_money = cha_money + " & rsc("s_sum") & " " + directQuery = directQuery & " where p_child_sn = '" & rsc("p_sn") & "' " + directQuery = directQuery & " and del_yes_no = 'no' and sebu = '" & rsc("s_gubun") & "' " + + adoConn.Execute directQuery, i + + if i < 1 then + Query = "select ¹®¼­¹øÈ£ as krc_no from ¹®¼­³»¿ë " + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + + Rs.open Query, adoconn,adopenstatic, adlockreadonly + + if Rs.recordcount <= 0 then + krc_no = 0 + else + Rs.movelast + tmpstr = split(trim(Rs("krc_no")),"-") + krc_no = tmpstr(3) + end if + Rs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "X-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + Query = " insert into direct_cost(p_sn, krc_no, p_subject, hangmok, sebu, act_money, " + Query = Query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, del_yes_no, cost_type, p_child_sn) " + Query = Query & " values( " + Query = Query & " left('" & rsc("p_sn") & "',7), " + Query = Query & " '" & krc_no & "', " + Query = Query & " (select p_subject from T_PROJECT_METHOD where p_child_sn = '" & rsc("p_sn") & "'), " + Query = Query & " '48', " + Query = Query & " '" & rsc("s_gubun") & "', " + Query = Query & " '" & rsc("s_sum") & "', " + Query = Query & " convert(char(10),GETDATE(),23), " + Query = Query & " convert(char(10),GETDATE(),24), " + Query = Query & " '"& Session("loginuser") &"', " + Query = Query & " '"& Session("User_Number") &"', " + Query = Query & " '"& Session("USERIP") &"', " + Query = Query & " 'no', " + Query = Query & " 'field', " + Query = Query & " '" & rsc("p_sn") & "') " + + 'Response.Write "Query :" & Query + 'dbin.Open adoConn + adoConn.Execute Query + 'dbin.Close + end if + rsc.movenext + loop + rsc.close + else + alert2 "ÀÌ¹Ì °áÀç°¡ ¿Ï·áµÈ ¹®¼­ÀÔ´Ï´Ù." + end if + End if + '---------------------------------------------------------------------------------- + + + elseif cint(print_type) = 1 then + + end if +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + + + onLoad="clsit();" <% end if %>> + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ <%if approval_chk = "true" then%> + + <%else + Response.Write "º»ºÎ°¡ È¥ÀçµÈ ÇÁ·ÎÁ§Æ®´Â °áÀç »ó½ÅÀÌ ¾ÈµË´Ï´Ù. º»ºÎ¸¦ ±¸ºÐÇϼ¼¿ä" + end if%> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + Dim pay_apply_username + pay_apply_username = "" + + set adors2 = server.CreateObject("ADODB.RECORDSET") + query = "select p_name from person where p_no = '" & sv & "' " + adors2.open query, adoconn, adopenstatic, adlockreadonly + + If adors2.recordCount > 0 Then + pay_apply_username = adors2("p_name") + End If + adors2.close + %> + + + + + + + + + + + + + +
+ + + + + +
+ <%=title%> + + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ ÇÁ·ÎÁ§Æ®(¾÷¹«)¿Í °ü·ÃÇÏ¿©, <%=title_type%>À» °áÀÇÇÏ¿À´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + +
¼ö´ç °áÀç ±â°£<%if startDT <> "" then %><%=startDT%> ~ <%=endDT%><% else %>ÇÁ·ÎÁ§Æ®´ÜÀ§<%end if %>¼ö´ç ´ã´çÀÚ<%=pay_apply_username%>
+
+ + + + + + + + + + + <% + Query = "select p_sn, isnull(p_subject, (select p_subject from V_PROJECT_METHOD where p_sn = T.p_sn )) as p_subject, isnull(SUM(pay), 0) as pay " + Query = Query & "from ( " + Query = Query & " select isnull(A.attribute05,'') as d_no, A.p_sn, C.p_subject, s_gubun, '2' as pay_type, isnull(SUM(s_sum), 0) as pay " + Query = Query & " from t_myun_pay as A " + Query = Query & " left outer join v_project as B " + Query = Query & " on A.p_sn = B.p_sn " + Query = Query & " left outer join v_project_method as C " + Query = Query & " on A.p_sn = C.p_child_sn " + Query = Query & " where A.p_sn = '" & p_sn & "' and isnull(A.attribute05,'') = '' " + Query = Query & " and A.s_gubun in ('FF', 'CATI', 'ETC') and confirm_yn = 'Y' " + Query = Query & " group by isnull(A.attribute05,''), A.p_sn, C.p_subject, s_gubun " + Query = Query & ") as T " + Query = Query & "group by p_sn, p_subject " + + 'Response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + Dim total_estimate_money, total_currentMoney, total_Pay, total_chaPay, total_sum + total_estimate_money = 0 + total_currentMoney = 0 + total_Pay = 0 + total_chaPay = 0 + total_sum = 0 + + Dim minus_money_flag, dataCount + dataCount = 0 + if adoRs.recordcount > 0 Then + dataCount = adoRs.recordcount + do while not adoRs.eof + minus_money_flag = False + + Query = "select p_sn, p_child_sn, SUM(convert(numeric(18,0), est_money)) as est_money from ( " + Query = Query & " select * from direct_cost where p_sn like '" & Left(adoRs("p_sn"), 2) & "%' and hangmok = '48' and del_yes_no = 'no' union all" + Query = Query & " select * from direct_cost where p_sn like '" & Left(adoRs("p_sn"), 2) & "%' and hangmok = '49' and sebu = 'ÇØµ¶¿ø' and del_yes_no = 'no' " + Query = Query & ") as T " + If Len(adoRs("p_sn")) > 9 Then + Query = Query & "where p_child_sn = '" & adoRs("p_sn") & "' " + Else + Query = Query & "where p_sn = '" & adoRs("p_sn") & "' " + End If + Query = Query & "group by p_sn, p_child_sn " + + 'response.Write query + + adors2.open Query, adoconn,adopenstatic, adlockreadonly + Dim estimate_money + estimate_money = 0 + if adors2.recordcount > 0 Then + estimate_money = adors2("est_money") + End If + adors2.close + Query = "SELECT p_sn, SUM(pay) AS pay FROM " + Query = Query & "( " + Query = Query & "select p_sn, isnull(sum(s_sum), 0) as pay from t_myun_pay " + Query = Query & "where pay_type = 2 " + Query = Query & "and isnull(pay_month,'') <> '' " + Query = Query & "and p_sn = '" & adoRs("p_sn") & "' " + Query = Query & "group by p_sn " + + Query = Query & "UNION ALL " + + Query = Query & "SELECT CONVERT(varchar, target10) AS p_sn, " + Query = Query & " sum(CONVERT(NUMERIC(18, 0), CONVERT(varchar, target5))) AS pay " + Query = Query & "FROM ¹®¼­³»¿ë " + Query = Query & "WHERE del_yes_no='no' AND (target11 LIKE '48' OR (target11 LIKE '49' AND target12 LIKE '77')) " + Query = Query & "AND CONVERT(varchar, target10) = '" & adoRs("p_sn") & "' " + Query = Query & "GROUP BY CONVERT(varchar, target10) " + Query = Query & ") T " + Query = Query & "GROUP BY p_sn " + 'response.Write query & "
" + + adors2.open Query, adoconn,adopenstatic, adlockreadonly + Dim currentMoney + currentMoney = 0 + + if adors2.recordcount > 0 Then + currentMoney = adors2("pay") + End If + + 'response.Write adors2.recordcount & "//" & currentMoney & "
" + adors2.close + + + Dim totalPay, chaPay + totalPay = CDbl(adoRs("pay")) + chaPay = CDbl(estimate_money) - CDbl(currentMoney) - CDbl(totalPay) + + If chaPay < 0 Then + minus_money_flag = true + End if + %> + + + + + + + + <% + total_estimate_money = total_estimate_money + CDbl(estimate_money) + total_currentMoney = total_currentMoney + CDbl(currentMoney) + total_Pay = total_Pay + CDbl(totalPay) + total_chaPay = total_chaPay + CDbl(chaPay) + %> + + <% + adoRs.movenext + loop + end if + adoRs.close + %> + + + + + + + + +
ÇÁ·ÎÁ§Æ®¿¹»óÁ÷Á¢ºñ´©Àûºñ¿ëÁöÃâ°áÀǺñ¿ë¿¹»óÀܾ׻çÀ¯
+ [<%=adoRs("p_sn")%>]  + ', '<%=startDT%>', '<%=endDT%>', '<%=sv%>', 2, '<%="field"%>', '<%= d_no %>')"> +
<%=adoRs("p_subject")%> +
+ " /> + " /> +
<%=FormatNumber(CDbl(estimate_money), 0)%><%=FormatNumber(CDbl(currentMoney), 0)%><%=FormatNumber(CDbl(totalPay), 0)%> color="red" <% end if %>><%=FormatNumber(CDbl(chaPay), 0)%> + + + + + + readonly <% End If %> /> +
ÇÕ°è<%=FormatNumber(total_estimate_money, 0)%><%=FormatNumber(total_currentMoney, 0)%><%=FormatNumber(total_Pay, 0)%><%=FormatNumber(total_chaPay, 0)%> 
+
+
	¿µ ¼ö ÀÏ ÀÚ :                  ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                                   (ìÔ)
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/approval/doc_prepayment2.asp b/approval/doc_prepayment2.asp new file mode 100644 index 0000000..11a6d83 --- /dev/null +++ b/approval/doc_prepayment2.asp @@ -0,0 +1,512 @@ + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim krc_no + dim gap(23)'1:Áö±Þó, 2:Áö±ÞóÀüÈ­¹øÈ£, 3:Áö±Þó´ã´çÀÚ, 4:Áö±ÞÀÏÀÚ, 5:Á¤»êÀÏÀÚ, 6:ÁöÃâ»çÀ¯, + '7:°¡Áö±Þ±Ý³»¿ª, 8:°ø±Þ°¡¾×, 9:ºÎ°¡¼¼¾×, 10:°¡Áö±Þ±ÝÇÕ°è¾×, 11:¼¼ºÎ³»¿ª, 12:ÇÁ·ÎÁ§Æ®¸í, 13:ÇÁ·ÎÁ§Æ®¹øÈ£ + '14:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 15:1¹øÂ°±Ý¾× + '16:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 17:1¹øÂ°±Ý¾× + '18:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 19:1¹øÂ°±Ý¾× + '20:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 21:1¹øÂ°±Ý¾× + '22:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 23:1¹øÂ°±Ý¾× + dim kijun_date '°¡Áö±Þ±Ý³»¿ªÀ» ¹Ù²Ù¾î¼­ »ç¿ëÇϴ±âÁس¯ÀÚ + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + kijun_date = "2009-09-30" + + + title="°¡Áö±Þ±ÝÁöÃâ2" + Max_Width =750 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = adors("target2") + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = ViewWord(adors("target7")) + gap(8) = adors("target8") + gap(9) = adors("target9") + gap(10) = adors("target10") + gap(11) = (adors("target11")) + gap(12) = adors("target12") + gap(13) = adors("target13") + gap(14) = adors("target19") + gap(15) = adors("target20") + gap(16) = adors("target21") + gap(17) = adors("target22") + gap(18) = adors("target23") + gap(19) = adors("target24") + gap(20) = adors("target25") + gap(21) = adors("target26") + gap(22) = adors("target27") + gap(23) = adors("target28") + adoRs.close + else + gap(2) = "--" + end if + +''//================= +''//================= + + + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +%> + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + °¡Áö±Þ±ÝÁöÃâ(¿î¿µº»ºÎ Àü¿ë) ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
°¡Áö±Þ±Ý ÁöÃâ ³»¿ª¼­
Áö±Þó +
+ <%tmpstr = split(gap(2),"-")%> + Tel. + - + - + +
°¡Áö±Þ±Ý ³»¿ª + <%if FormatDateTime(date,0) >= kijun_date then%> + + + + + + <%for i=1 to 5%> + + + + + <%next%> +
Ç׸ñ±Ý¾×
+ <%else%> + + <%end if%> +
Áö±Þó ´ã´çÀÚ + +
Áö±ÞÀÏÀÚ + + +
Á¤»ê ¿¹Á¤ÀÏ + + +
ÁöÃâ»çÀ¯ + + °ø±Þ°¡¾× + ¿ø +
ÇÁ·ÎÁ§Æ® + + + + ºÎ°¡¼¼¾×
+ ¿ø +
ÁöÃâ ¹ßÀÇÀÚ + <%=user_name(1)%> + °¡Áö±Þ ÇÕ°è¾× + ¿ø +
+ +
+
+ + <%if trim(krc_no) <> "" then%> + + <%end if%> + +
+
+ + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_prepayment2_ex.asp b/approval/doc_prepayment2_ex.asp new file mode 100644 index 0000000..e1c0f45 --- /dev/null +++ b/approval/doc_prepayment2_ex.asp @@ -0,0 +1,538 @@ + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + dim tmpstr + dim Query + dim i, j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim krc_no + dim gap(23) + dim gap_real(62) + dim tabindex + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + + title="°¡Áö±Þ±ÝÁ¤»ê2" + Max_Width =750 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + gap(2) = "--" 'ÀüÈ­¹øÈ£ 'split¶§¹®¿¡ + if krc_no <> "" then ''°¡Áö±ÞÁ¤»êÀε¥ °¡Áö±ÞÁöÃâ°áÀǼ­ÀÇ ¹®¼­¹øÈ£¸¦ ±âÁØÀ¸·Î ÀÏ´ÜÀº °¡Áö±ÞÁöÃâ°áÀǼ­ ³»¿ëÀ» °¡Á®¿À±â + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = adors("target2") + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = ViewWord(adors("target7")) + gap(8) = adors("target8") + gap(9) = adors("target9") + gap(10) = adors("target10") + gap(11) = ViewWord(adors("target11")) + gap(12) = adors("target12") + + gap(14) = adors("target19") + gap(15) = adors("target20") + gap(16) = adors("target21") + gap(17) = adors("target22") + gap(18) = adors("target23") + gap(19) = adors("target24") + gap(20) = adors("target25") + gap(21) = adors("target26") + gap(22) = adors("target27") + gap(23) = adors("target28") + adoRs.close + + + query = "select * from " & db_table_name & " " + query = query & " where target16 like '" & krc_no & "%'" + 'Response.Write query & "
" + adors.open query, adoconn, adopenstatic, adlockreadonly + if adoRs.recordcount > 0 then + 'alert("¿Â´Ù") + tmpstr = split(adors("target12"),"^^") + 'Response.Write adors("target12") & "
" + for i=0 to ubound(tmpstr)-1 + gap_real(i+1) = tmpstr(i) + next + tmpstr = split(adors("target13"),"^^") + 'Response.Write adors("target13") & "
" + for i=0 to ubound(tmpstr)-1 + gap_real(i+25) = tmpstr(i) + next + tmpstr = split(adors("target14"),"^^") + 'Response.Write adors("target14") & "
" + for i=0 to ubound(tmpstr)-1 + gap_real(i+37) = tmpstr(i) + next + tmpstr = split(adors("target15"),"^^") + 'Response.Write adors("target15") & "
" + for i=0 to ubound(tmpstr)-1 + gap_real(i+49) = tmpstr(i) + next + gap_real(49) = replace(gap_real(49),"³â ", "-") + gap_real(49) = replace(gap_real(49),"¿ù ", "-") + gap_real(49) = replace(gap_real(49),"ÀÏ", "") + end if + adoRs.close + end if + gap_real(1) = "»ç·Êºñ" + gap_real(3) = "¿î¹Ýºñ" + gap_real(5) = "ÀÓ´ë·á" + gap_real(7) = "º¹»çºñ" + gap_real(9) = "½Ä ´ë" + gap_real(11) = "´Ù°úºñ" + gap_real(13) = "±³Åëºñ" + gap_real(15) = "¿ìÆí·á" + gap_real(25) = "Ç×°ø·á" + gap_real(27) = "±³Åëºñ" + gap_real(29) = "¼÷¹Ú·á" + gap_real(31) = "¼±¹°ºñ" + gap_real(33) = "½Ä ´ë" + gap_real(35) = "±â Ÿ" + for i=1 to 52 + if trim(gap_real(i)) = "" then + gap_real(i) = "" + end if + next + + +''//================= +''//================= + + + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +%> + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + +
+ + °¡Áö±Þ±ÝÁ¤»ê(¿î¿µº»ºÎ Àü¿ë) ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. ÇÁ·ÎÁ§Æ®¸í¿¡ Ư¼ö¹®ÀÚ¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
°¡Áö±Þ±Ý Á¤»ê ³»¿ª¼­
Áö±Þó + + <%=gap(1)%> + <%tmpstr = split(gap(2),"-")%> + Tel. + <%=tmpstr(0)%> - <%=tmpstr(1)%> - <%=tmpstr(2)%> + + °¡Áö±Þ±Ý ³»¿ª + <%if not (trim(gap(7)) = " " or trim(gap(7)) = "") then%> + <%=ViewWord(gap(7))%> + <%else%> + + + + + + <%for i=1 to 5%> + + <%if trim(gap(14+((i-1)*2))) = "" then%> + + + <% else %> + + + <% end if %> + + <%next%> +
Ç׸ñ±Ý¾×
  <%=gap(14+((i-1)*2))%>\ <%=gap(15+((i-1)*2))%>
+ <%end if%> +
Áö±Þó ´ã´çÀÚ + + <%=gap(3)%> + +
Áö±ÞÀÏÀÚ + + <%=gap(4)%> + +
Á¤»ê ¿¹Á¤ÀÏ + + <%=gap(5)%> + +
ÁöÃâ»çÀ¯ + + <%=gap(6)%> + + °ø±Þ°¡¾× + + <%=gap(8)%> ¿ø + +
ÇÁ·ÎÁ§Æ® + <%=gap(12)%> + ºÎ°¡¼¼¾× + <%=gap(9)%> ¿ø +
ÁöÃâ ¹ßÀÇÀÚ + <%=user_name(1)%> + °¡Áö±Þ ÇÕ°è¾× + <%=gap(10)%> ¿ø +
+ + + + + + + <% + tabindex = 11 + for i=1 to 2 '»ç·Êºñ, ¿î¹Ýºñ + + tabindex = tabindex + 1 + %> + + <%tabindex = tabindex + 1%> + + <% + next + %> + + <%for i=1 to 3%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 'ÀÓ´ë·áºÎÅÍ ¿ìÆí·á±îÁö + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1%> + + <%next%> + + <%next%> + <%for i=4 to 5%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 '¿©ºÐ4°³ + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1'%> + + <%next%> + + <%next%> + + + + + <% + for i=13 to 14 'Ç×°ø·áºÎÅÍ ±³Åëºñ±îÁö + tabindex = tabindex + 1 + %> + + <%tabindex = tabindex + 1%> + + <% + next + %> + + <%for i=7 to 8%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 '¼÷¹Ù·á ºÎÅÍ ±âŸ±îÁö + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1'%> + + <%next%> + + <%next%> + + + + + <% + for i=19 to 20 + tabindex = tabindex + 1 + %> + + <%tabindex = tabindex + 1%> + + <% + next + %> + + <%for i=10 to 11%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1'%> + + <%next%> + + <%next%> + + + + <%tabindex = tabindex + 1'%> + + + + + + + + + + + + + + + + + + + +
¼¼ ºÎ Á¤ »ê ³» ¿ª (Áø Çà ºñ)
+  ¿ø +
+  ¿ø +
+  ¿ø +
¼¼ ºÎ Á¤ »ê ³» ¿ª (Ãâ Àå ºñ)
+  ¿ø +
+  ¿ø +
¼¼ ºÎ Á¤ »ê ³» ¿ª (±â Ÿ)
+  ¿ø +
+  ¿ø +
Á¤ »ê ³» ¿ª
Á¤»êÀÏÀÚ + + +
°¡Áö±Þ Á¤»ê + ÃÑ»ç¿ë ±Ý¾× + +  ¿ø +
+ + +  ¿ø +
ºñ °í
+ +
+
+ + +
+
+ + + <% + 'ÇÁ·Î±×·¥ÀÌ ±¸·Á¼­ ¾Æ·¡ÀÇ È÷µç °ªÀº ¹Ýµå½Ã ¿©±â¿¡ À§Ä¡ÇØ¾ß ÇÔ.. + 'À§·Î ¿Ã¸®¸é ÀúÀåµÇ´Â °ªÀÌ ¾î±ß³². + %> + "> + + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_prepayment2_ex_print.asp b/approval/doc_prepayment2_ex_print.asp new file mode 100644 index 0000000..9e052f7 --- /dev/null +++ b/approval/doc_prepayment2_ex_print.asp @@ -0,0 +1,843 @@ + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + dim tmpstr + dim Query + dim i, j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim krc_no 'Á¤»ê¼­ÀÇ ¹®¼­¹øÈ£ + dim krc_no_estimate '°¡Áö±Þ±ÝÁöÃâ°áÀǼ­ÀÇ ¹®¼­¹øÈ£ + dim gap(27) + dim gap_real(65) + dim print_type + dim tabindex + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + title="°¡Áö±Þ±ÝÁ¤»ê2" + Max_Width =750 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â(°¡Áö±Þ±ÝÁöÃâ°áÀǼ­ÀÇ ³»¿ë °¡Á®¿À±â + krc_no_estimate=request("krc_no_estimate") + gap(2) = "--" ' 'ÀüÈ­¹øÈ£ 'split¶§¹®¿¡ + if krc_no_estimate <> "" then '°¡Áö±ÞÁ¤»êÀε¥ °¡Áö±ÞÁöÃâ°áÀǼ­ÀÇ ¹®¼­¹øÈ£¸¦ ±âÁØÀ¸·Î ÀÏ´ÜÀº °¡Áö±ÞÁöÃâ°áÀǼ­ ³»¿ëÀ» °¡Á®¿À±â + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no_estimate & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = adors("target2") + gap(3) = adors("target3") + gap(4) = adors("target4") + gap(5) = adors("target5") + gap(6) = adors("target6") + gap(7) = ViewWord(adors("target7")) + gap(8) = adors("target8") + gap(9) = adors("target9") + gap(10) = adors("target10") + gap(11) = ViewWord(adors("target11")) + gap(16) = adors("target12") + gap(17) = adors("target13") + + gap(18) = adors("target19") + gap(19) = adors("target20") + gap(20) = adors("target21") + gap(21) = adors("target22") + gap(22) = adors("target23") + gap(23) = adors("target24") + gap(24) = adors("target25") + gap(25) = adors("target26") + gap(26) = adors("target27") + gap(27) = adors("target28") + + adoRs.close + end if + + print_type = request("print_type") + tmpstr = split(request("txt_target"),",") + gap(11) = request("txt_target08") + + if print_type = "1" then + for i=1 to ubound(tmpstr) + gap_real(i) = tmpstr(i) + 'Response.Write i & " => " & gap_real(i) & "'
" + next + elseif print_type = "2" then + for i=1 to ubound(tmpstr)-12 + gap_real(i) = tmpstr(i+12) + 'Response.Write i & " => " & gap_real(i) & "'
" + next + end if +' Response.Write tmpstr(0) & "'
" + + + +''//================= +''//================= + + + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + tmp_txt11 = request("tmp_txt11") + tmp_txt12 = request("tmp_txt12") + 'Response.Write "tmp_txt1 : " & tmp_txt1 & "
" + + if cint(print_type) = 2 then + + + '¸ÕÀú °¡Áö±Þ±ÝÁ¤»ê¼­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "5-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + '''ÁøÇàºñ + gap(12) = "" + for i=1 to 24 step 2 + gap(12) = gap(12) & gap_real(i) & "^^" & gap_real(i+1) & "^^" + 'Response.Write gap(12) & "
" + next + + ''ÃâÀåºñ + gap(13)="" + for i=25 to 36 step 2 + gap(13) = gap(13) & gap_real(i) & "^^" & gap_real(i+1) & "^^" + next + + ''±âŸ + gap(14)="" + for i=37 to 47 step 2 + gap(14) = gap(14) & gap_real(i) & "^^" & gap_real(i+1) & "^^" + next + + ''Á¤»ê³»¿ª + gap(15)="" + for i=48 to 51 + gap(15) = gap(15) & gap_real(i+1) & "^^" + next + +' Response.Write "12 => '" & gap(12) & "
" +' Response.Write "13 => '" & gap(13) & "
" +' Response.Write "14 => '" & gap(14) & "
" +' Response.Write "15 => '" & gap(15) & "
" + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 & "^^" & tmp_txt6 + target100 = tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 & "^^" & tmp_txt11 & "^^" & tmp_txt12 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & replace(title, " ", "") & "', '" & Session("loginuser") & "', '" & date() & "', '16', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + + '//======================== + '³»¿ë ÀúÀåÇϱâ + 'ÀÏ´Ü ±âÁ¸¿¡ ÀúÀåµÈ °¡Áö±Þ±ÝÁ¤»ê¼­´Â Áö¿ì°í + '¿Ö³ÄÇÏ¸é °¡Áö±Þ±ÝÁ¤»ê¼­´Â °¡Áö±Þ±ÝÁöÃâ°áÀǼ­¿Í 1´ë1À̱⿡ + 'query = "select ¹®¼­¹øÈ£ from " & db_table_name & " where target16 like '" & krc_no_estimate & "%'" + 'adoRs.open Query, adoconn,adopenstatic, adlockreadonly + 'if adoRs.recordcount > 0 then + ' krc_no = adors("¹®¼­¹øÈ£") + 'end if + 'adoRs.close + + 'query = "delete from " & db_table_name & " where target16 like '" & krc_no_estimate & "%'" + 'adoconn.execute query + + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target10, target11, " + query = query & " target12, target13, target14, target15, target16, target17, target18," + query = query & " target19, target20, target21, target22, target23, target24, target25, target26, target27, target28, "'°¡Áö±Þ±ÝÀÇ ¼¼ºÎ³»¿ª(2009-10-01) + + query = query & " target97,target98,target99,target100, " + query = query & " p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + + query = query & "'" & gap(1) & "', " + query = query & "'" & gap(2) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & CheckWord(gap(7)) & "', " + query = query & "'" & gap(8) & "', " + query = query & "'" & gap(9) & "', " + query = query & "'" & gap(10) & "', " + + query = query & "'" & CheckWord(replace(gap(11),chr(13),"
")) & "', " + query = query & "'" & gap(12) & "', " + query = query & "'" & gap(13) & "', " + query = query & "'" & gap(14) & "', " + query = query & "'" & gap(15) & "', " + query = query & "'" & krc_no_estimate & "', " + + query = query & "'" & gap(16) & "', " + query = query & "'" & gap(17) & "', " + for i= 18 to 27''°¡Áö±Þ±ÝÀÇ ¼¼ºÎ³»¿ª(2009-10-01) + query = query & "'" & gap(i) & "', " + next + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(17) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + 'Response.Write query & "
" +' if session("loginuser") = "±èÈ«±Ù" or session("loginuser") = "°­µÎÇü" then + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" + adoconn.execute query + + + + end if + +%> + + + + + +<%if cint(print_type) = 2 then%> + +<% end if %> + +
+ + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = "Àü°á" + tmp_txt6 = tmp_txt + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = month(now()) & " / " & day(now()) + tmp_txt12 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = tmp_txt + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = "/" + elseif my_pos = 1 OR my_pos = 2 then 'ÆÀ ÆÀ¿ø, ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = month(now()) & " / " & day(now()) + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = month(now()) & " / " & day(now()) + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = "/" + end if + %> + + + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(½Ç»ç)±â¾È/½ÂÀÎ(ÀÓ¿ø)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»Àκμ­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt7%><%=tmp_txt9%><%=tmp_txt11%><%=tmp_txt12%>////
+
+
°¡Áö±Þ±Ý Á¤»ê ³»¿ª¼­
Áö±Þó + + <%=gap(1)%> + <%tmpstr = split(gap(2),"-")%> + Tel. + <%=tmpstr(0)%> - <%=tmpstr(1)%> - <%=tmpstr(2)%> + + °¡Áö±Þ±Ý ³»¿ª + <%if not (trim(gap(7)) = " " or trim(gap(7)) = "") then%> + <%=ViewWord(gap(7))%> + <%else%> + + + + + + <%for i=1 to 5%> + + <%if trim(gap(18+((i-1)*2))) = "" then%> + + + <% else %> + + + <% end if %> + + <%next%> +
Ç׸ñ±Ý¾×
  <%=gap(18+((i-1)*2))%>\ <%=gap(19+((i-1)*2))%>
+ <%end if%> +
Áö±Þó ´ã´çÀÚ + + <%=gap(3)%> + +
Áö±ÞÀÏÀÚ + + <%=gap(4)%> + +
Á¤»ê ¿¹Á¤ÀÏ + + <%=gap(5)%> + +
ÁöÃâ»çÀ¯ + + <%=gap(6)%> + + °è + + <%=gap(8)%> ¿ø + +
ÇÁ·ÎÁ§Æ® + <%=gap(16)%> + ºÎ°¡¼¼¾× + <%=gap(9)%> ¿ø +
ÁöÃâ ¹ßÀÇÀÚ + <%=user_name(1)%> + °¡Áö±Þ ÇÕ°è¾× + <%=gap(10)%> ¿ø +
+ ",chr(13))%>"> + + + + + + <% + 'Response.Write "gap_real = " & gap_real(13) & "
" + tabindex = 11 + for i=1 to 2 '»ç·Êºñ, ¿î¹Ýºñ + + tabindex = tabindex + 1 + %> + + <%tabindex = tabindex + 1%> + + <% + next + %> + + <%for i=1 to 3%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 'ÀÓ´ë·áºÎÅÍ ¿ìÆí·á±îÁö + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1%> + + <%next%> + + <%next%> + <%for i=4 to 5%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 '¿©ºÐ4°³ + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1'%> + + <%next%> + + <%next%> + + + + + <% + for i=13 to 14 'Ç×°ø·áºÎÅÍ ±³Åëºñ±îÁö + tabindex = tabindex + 1 + %> + + <%tabindex = tabindex + 1%> + + <% + next + %> + + <%for i=7 to 8%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 '¼÷¹Ù·á ºÎÅÍ ±âŸ±îÁö + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1'%> + + <%next%> + + <%next%> + + + + + <% + for i=19 to 20 + tabindex = tabindex + 1 + %> + + <%tabindex = tabindex + 1%> + + <% + next + %> + + <%for i=10 to 11%> + + <%for j=(i-1) * 2+3 to (i-1) * 2+4 + tabindex = tabindex + 1'%> + + <%tabindex = tabindex + 1'%> + + <%next%> + + <%next%> + + + + <%tabindex = tabindex + 1'%> + + + + + + + + + + + + + + + + + + + + <%if print_type=2 then%> + + + + <%end if%> + + + +
¼¼ ºÎ Á¤ »ê ³» ¿ª (Áø Çà ºñ)
+  ¿ø +
+  ¿ø +
+  ¿ø +
¼¼ ºÎ Á¤ »ê ³» ¿ª (Ãâ Àå ºñ)
+  ¿ø +
+  ¿ø +
¼¼ ºÎ Á¤ »ê ³» ¿ª (±â Ÿ)
+  ¿ø +
+  ¿ø +
Á¤ »ê ³» ¿ª
Á¤»êÀÏÀÚ + + +
°¡Áö±Þ Á¤»ê + ÃÑ»ç¿ë ±Ý¾× + +  ¿ø +
+ + +  ¿ø +
ºñ °í
+ +
+
	¿µ ¼ö ÀÏ ÀÚ :              ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                               (ìÔ)
+
+
+
+ + <% + 'ÇÁ·Î±×·¥ÀÌ ±¸·Á¼­ ¾Æ·¡ÀÇ È÷µç °ªÀº ¹Ýµå½Ã ¿©±â¿¡ À§Ä¡ÇØ¾ß ÇÔ.. + 'À§·Î ¿Ã¸®¸é ÀúÀåµÇ´Â °ªÀÌ ¾î±ß³². + %> + + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_prepayment2_print.asp b/approval/doc_prepayment2_print.asp new file mode 100644 index 0000000..a5e2d16 --- /dev/null +++ b/approval/doc_prepayment2_print.asp @@ -0,0 +1,646 @@ + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim gap(23)'1:Áö±Þó, 2:Áö±ÞóÀüÈ­¹øÈ£, 3:Áö±Þó´ã´çÀÚ, 4:Áö±ÞÀÏÀÚ, 5:Á¤»êÀÏÀÚ, 6:ÁöÃâ»çÀ¯, + '7:°¡Áö±Þ±Ý³»¿ª, 8:°ø±Þ°¡¾×, 9:ºÎ°¡¼¼¾×, 10:°¡Áö±Þ±ÝÇÕ°è¾×, 11:¼¼ºÎ³»¿ª, 12:ÇÁ·ÎÁ§Æ®¸í, 13:ÇÁ·ÎÁ§Æ®¹øÈ£ + '14:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 15:1¹øÂ°±Ý¾× + '16:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 17:1¹øÂ°±Ý¾× + '18:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 19:1¹øÂ°±Ý¾× + '20:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 21:1¹øÂ°±Ý¾× + '22:°¡Áö±Þ±Ý³»¿ªÀÇ 1¹Ý° Ç׸ñ, 23:1¹øÂ°±Ý¾× + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + + title="°¡Áö±Þ±ÝÁöÃâ2"'°áÀǼ­" + Max_Width =750 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + + gap(1) = request("txt_target01") + gap(2) = request("txt_tel_num_1") & "-" & request("txt_tel_num_2") & "-" & request("txt_tel_num_3") + gap(3) = request("txt_target02") + gap(4) = request("txt_date_1") + gap(5) = request("txt_date_2") + gap(6) = request("txt_target03") + gap(7) = request("txt_target04") + gap(8) = request("txt_target05") + gap(9) = request("txt_target06") + gap(10) = request("txt_target07") + gap(11) = request("txt_target08") + gap(12) = request("txt_target09") + gap(13) = request("txt_target10") +' Response.Write "'gap(11)" & replace(gap(11),chr(13),"
") & "
" + + gap(14) =request("hangmok")(1) + gap(15) = request("hangmok_money")(1) + gap(16) = request("hangmok")(2) + gap(17) = request("hangmok_money")(2) + gap(18) = request("hangmok")(3) + gap(19) = request("hangmok_money")(3) + gap(20) = request("hangmok")(4) + gap(21) = request("hangmok_money")(4) + gap(22) = request("hangmok")(5) + gap(23) = request("hangmok_money")(5) + + + print_type = request("print_type") + 'Response.Write "gap : " & request("txt_target10") & "
" + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + tmp_txt11 = request("tmp_txt11") + tmp_txt12 = request("tmp_txt12") + + if cint(print_type) = 2 then + '¸ÕÀú °¡Áö±Þ±ÝÁöÃâ°áÀǼ­ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + 'Response.Write "query : " & query & "
" + + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + 'alert(adors("krc_no")) + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "4-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + tmp_money = int(replace(gap(8), ",", "")) + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 & "^^" & tmp_txt6 + target100 = tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 & "^^" & tmp_txt11 & "^^" & tmp_txt12 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '" & replace(title, " ", "") & "', '" & Session("loginuser") & "', '" & date() & "', '11', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target6, target7, target8, target9, target10, target11, target12, target13, " + query = query & " target19, target20, target21, target22, target23, target24, target25, target26, target27, target28, " + + query = query & " target97,target98,target99,target100, " + query = query & " p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & gap(2) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "', " + query = query & "'" & gap(5) & "', " + query = query & "'" & gap(6) & "', " + query = query & "'" & CheckWord(gap(7)) & "', " + query = query & "'" & gap(8) & "', " + query = query & "'" & gap(9) & "', " + query = query & "'" & gap(10) & "', " + query = query & "'" & gap(11) & "', " + for i=12 to 23 + query = query & "'" & gap(i) & "', " + next + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & gap(13) & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " +' Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" + adoconn.execute query + + + + ''³¯ÀÚ¸¦ '-'¿¡¼­ ³â,¿ù·Î ±³Ã¼ + gap(4) = mid(gap(4),1,4) & "³â " & mid(gap(4),6,2) & "¿ù " & mid(gap(4),9,2) & "ÀÏ" + gap(5) = mid(gap(5),1,4) & "³â " & mid(gap(5),6,2) & "¿ù " & mid(gap(5),9,2) & "ÀÏ" + for i=1 to 11 + if trim(gap(i)) ="" then + gap(i) = " " + end if + next + ''±Ý¾×ÀÌ ¾øÀ¸¸é 0¿øÀ¸·Î + for i=8 to 10 + if gap(i) = " " then + gap(i) = "0" + end if + next + ''±Ý¾×ÀÌ ¾øÀ¸¸é 0¿øÀ¸·Î + for i=15 to 23 step 2 + if gap(i) = " " then + gap(i) = "0" + end if + next + + end if + +%> + + + +<%if cint(print_type) = 2 then%> + +<% end if %> + +
+ + + <%tmpstr = split(gap(2),"-")%> + + + + + + + + + + + + + ")%>"> + + + + <%for i=1 to 5%> + + + <%next%> + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = "Àü°á" + tmp_txt6 = tmp_txt + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = month(now()) & " / " & day(now()) + tmp_txt12 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = tmp_txt + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = "/" + elseif my_pos = 1 OR my_pos = 2 then 'ÆÀ ÆÀ¿ø, ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = month(now()) & " / " & day(now()) + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = " " + tmp_txt7 = month(now()) & " / " & day(now()) + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + tmp_txt11 = "/" + tmp_txt12 = "/" + end if + %> + + + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(½Ç»ç)±â¾È/½ÂÀÎ(ÀÓ¿ø)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»Àκμ­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt7%><%=tmp_txt9%><%=tmp_txt11%><%=tmp_txt12%>////
+
+
°¡Áö±Þ±Ý ÁöÃâ ³»¿ª¼­
Áö±Þó + + <%=gap(1)%> + <%tmpstr = split(gap(2),"-")%> + Tel. + <%=tmpstr(0)%> - <%=tmpstr(1)%> - <%=tmpstr(2)%> + + °¡Áö±Þ±Ý ³»¿ª + <%if not (trim(gap(7)) = " " or trim(gap(7)) = "") then%> + <%=ViewWord(gap(7))%> + <%else%> + + + + + + <%for i=1 to 5%> + + <%if trim(gap(14+((i-1)*2))) = "" then%> + + + <% else %> + + + <% end if %> + + <%next%> +
Ç׸ñ±Ý¾×
  <%=gap(14+((i-1)*2))%>\ <%=gap(15+((i-1)*2))%>
+ <%end if%> +
Áö±Þó ´ã´çÀÚ + + <%=gap(3)%> + +
Áö±ÞÀÏÀÚ + + <%=gap(4)%> + +
Á¤»ê ¿¹Á¤ÀÏ + + <%=gap(5)%> + +
ÁöÃâ»çÀ¯ + + <%=gap(6)%> + + °ø±Þ°¡¾× + + <%=gap(8)%> ¿ø + +
ÇÁ·ÎÁ§Æ® + <%=gap(12)%> + ºÎ°¡¼¼¾× + <%=gap(9)%> ¿ø +
ÁöÃâ ¹ßÀÇÀÚ + <%=user_name(1)%> + °¡Áö±Þ ÇÕ°è¾× + <%=gap(10)%> ¿ø +
+ +
+
	¿µ ¼ö ÀÏ ÀÚ :              ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                               (ìÔ)
+
+
+
+ + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_select.asp b/approval/doc_select.asp new file mode 100644 index 0000000..df265a2 --- /dev/null +++ b/approval/doc_select.asp @@ -0,0 +1,237 @@ + + +<% +dim i, j +dim title() +dim st_date, end_date +dim Max_Title +dim Query +dim krft_send + +Max_Title = 29 +redim title(Max_Title, 3) + +title(1, 1) = "ÈÞ °¡ ¿ø" '2022-01-02 KOWORKS µµÀÔÀ¸·Î »ç¿ë Áß´Ü +title(2, 1) = "DELFax Ä¿¹ö" +title(3, 1) = "DEL°ø¹®(¿ÜºÎÁ¦Ãâ¿ë)" +title(4, 1) = "DELº¯°æ ½Åû¿ø" +title(5, 1) = "ÈÞ Á÷ °è" '2022-01-02 KOWORKS µµÀÔÀ¸·Î »ç¿ë Áß´Ü +title(6, 1) = "DELº¹ Á÷ °è" +title(7, 1) = "DEL»ç Á÷ ¿ø" +title(8, 1) = "ÁöÃâ°áÀǼ­" +title(9, 1) = "¸¶ÄÉÆÃºñ" +title(10, 1) = "DELÁöÃâÁ¤»ê½ÂÀνÅû¼­" '2014-08-10 À̹®¼­ »ç¿ëÀ» Áß´Ü +title(11, 1) = "DEL¾÷¹«ÀÏÁö ±â·Ï ºñ¿ë Á¤»ê" '2014-08-10 À̹®¼­ »ç¿ëÀ» Áß´Ü +title(12, 1) = "ÃâÅð±Ùº¸°í¼­" '2022-01-02 KOWORKS µµÀÔÀ¸·Î »ç¿ë Áß´Ü +title(13, 1) = "DEL°¡Áö±Þ±Ý" +title(14, 1) = "DELÂ÷·®¿îÇàÀÏÁö" +title(15, 1) = "DELÁ÷Á¢ºñ ¼öÁ¤ ½Åû¼­" +title(16, 1) = "DEL±³À° Âü°¡ ½Åû¼­" +title(17, 1) = "DEL¹°Ç°±¸¸Å¼­" +title(18, 1) = "DELºÎ¼­ºñ½Åû¼­" +title(19, 1) = "ǰ ÀÇ ¼­" +title(20, 1) = "DELÃâÀåǰÀǼ­" +title(21, 1) = "DEL¿ÜÁֽǻçÀÇ·Ú¼­" +title(22, 1) = "DELÃâÀ庸°í¼­" +title(23, 1) = "°¡Áö±Þ±Ý-¿î¿µº»ºÎ¿ë" +title(24, 1) = "DELÀԱݰáÀǼ­" '¾ç¿µÀº Àü¿ë +title(25, 1) = "DEL°¡Áö±Þ±Ý2" +title(26, 1) = "½Å±Ô ÁöÃâ°áÀǼ­" +title(27, 1) = "DEL¹®È­Ã¼À°ºñ½Åû¼­" +title(28, 1) = "ÀÚ±ÝÁýÇ༭" '¾ç¿µÀº Àü¿ë +title(29, 1) = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" '¾ç¿µÀº Àü¿ë + +title(1, 2) = "ÈÞ°¡¿øÀ» Á¦Ãâ ÇϰíÀÚ ÇÒ ¶§ »ç¿ë" +title(2, 2) = "Fax¸¦ º¸³¾°íÀÚ ÇÒ ¶§ »ç¿ëÇÏ´Â ÆÑ½º Ä¿¹ö" +title(3, 2) = "´Ù¸¥ ȸ»ç¿¡ ÇùÁ¶ °ø¹®À» ¹ß¼Û ÇÒ ¶§ »ç¿ë" +title(4, 2) = "°³ÀÎ ½Å»óÀÇ º¯°æ »çÇ×(ÁÖ¼Ò µî)ÀÌ ¹ß»ý ÇÒ ¶§ »ç¿ë" +title(5, 2) = "°³ÀÎ ½Å»óÀÇ ÀÌÀ¯·Î ÈÞÁ÷°èÀ» Á¦Ãâ ÇÒ ¶§ »ç¿ë" +title(6, 2) = "ÈÞÁ÷°è Á¦Ãâ ÈÄ º¹Á÷ ÇÒ ¶§ »ç¿ë" +title(7, 2) = "ȸ»ç¸¦ »çÁ÷ ÇϰíÀÚ ÇÒ °æ¿ì »ç¿ë" +title(8, 2) = "¹°Ç° ±¸¸Å, ¿ÜÁÖºñ, Gift,Åùèºñ µîÀÇ ÇÁ·ÎÁ§Æ®°ü·Ã(±¸¸Å ½Åû¼­)" +title(9, 2) = "¸¶ÄÉÆÃºñ Àӽà ¹®¼­ ÀÛ¼º" +title(10, 2) = "±³Åëºñ,½Ä´ë µîÀÇ °³ÀÎ Ãâ³³¿ë" +title(11, 2) = "¾÷¹«ÀÏÁö ±â·Ï ºñ¿ë Á¤»ê(¾÷¹«ÀÏÁö °ü·Ã)" +title(12, 2) = "ÃâÅð±Ù ½Ã°¢ÀÌ Æ²¸±°æ¿ì »ç¿ë" +title(13, 2) = "°¡Áö±Þ±Ý ½Å±Ô ÀÛ¼º ¹× Á¤»ê(¿¬±¸º»ºÎ Àü¿ë)" +title(14, 2) = "¾÷¹«»ó Â÷·®Àº ¿îÇà½Ã »ç¿ë" +title(15, 2) = "Á÷Á¢ºñ¸¦ ¼öÁ¤ ÇϰíÀÚ ÇÒ ¶§ »ç¿ë" +title(16, 2) = "¿ÜºÎ±³À° Âü°¡¸¦ ÇϰíÀÚ ÇÒ ¶§ »ç¿ë" +title(17, 2) = "¹°Ç° ±¸¸Å¸¦ ÇϰíÀÚ ÇÒ ¶§ »ç¿ë" +title(18, 2) = "ºÎ¼­ºñ Àü¿ë" +title(19, 2) = "ǰÀǸ¦ ¿Ã¸®°íÀÚ ÇÒ ¶§ »ç¿ë" +title(20, 2) = "ÃâÀå ǰÀǸ¦ ¿Ã¸®°íÀÚ ÇÒ ¶§ »ç¿ë" +title(21, 2) = "½Ç»ç ¿ÜÁÖ Ç°ÀǸ¦ ¿Ã¸®°íÀÚ ÇÒ ¶§ »ç¿ë" +title(22, 2) = "ÃâÀå °á°ú º¸°í¸¦ ¿Ã¸®°íÀÚ ÇÒ ¶§ »ç¿ë" +title(23, 2) = "°¡Áö±Þ±Ý ½Å±Ô ÀÛ¼º ¹× Á¤»ê(¿î¿µº»ºÎ Àü¿ë)" +title(24, 2) = "ÀÔ±Ý °áÀǼ­(¾ç¿µÀº Àü¿ë)" +title(25, 2) = "Á÷Á¢ºñ °ü·Ã °¡Áö±Þ±Ý ½Å±Ô ÀÛ¼º ¹× Á¤»ê" +title(26, 2) = "¿¹»óÁ÷Á¢ºñ¿¡ ´ëÇÑ ÁöÃâ°áÀǼ­" +title(27, 2) = "¹®È­Ã¼À°ºñ½Åû¼­" +title(28, 2) = "Ä«µå °áÁ¦ÇÑ ³»¿ªÀ» ¹®¼­·Î ±â·Ï" '¾ç¿µÀº Àü¿ë +title(29, 2) = "³»±ÙÁ÷/¸éÁ¢¿ø ¼ö´çÁöÃâ°áÀǼ­" '¾ç¿µÀº Àü¿ë +%> + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+
+ + + + + + + <% + for i=1 to Max_Title + + tmp_view = "1" + + if (i = 7 OR i = 14 OR i = 17) AND tmp_admin_chk = "0" then '¹°Ç°±¸¸Å¼­(ÇöÀç¾Èº¸ÀÓ), »çÁ÷¼­, ¾÷¹«ÀÏÁö ±â·Ï ºñ¿ë Á¤»ê, Â÷·®¿îÇàÀÏÁö + tmp_view = "0" + end If + + if i = 21 then '¿ÜÁÖÀÇ·Ú¼­(¾îµå¹Î°ú ½Ç»çºÎ¼­À常 º¸ÀÓ) + if (int(tmp_ess(3, 2)) = Session("User_Number") or tmp_admin_chk = "0") then + tmp_view = "0" + end if + end If + if i = 13 AND (int(Session("Depart_Code")) > 10 AND int(Session("Depart_Code")) < 20 AND tmp_admin_chk <> "1") then '°¡Áö±Þ±Ý(¿¬±¸º»ºÎ¿ë) + tmp_view = "0" + end If + 'Koworks µµÀÔÀ¸·Î ÀÎÇÏ¿© IT and °æ¿µ¹®È­º»ºÎ ¸»°í´Â ¹ÌÁ¦½Ã + if i = 1 AND (int(Session("Depart_Code")) <> 18) then + tmp_view = "0" + end if + 'Koworks µµÀÔÀ¸·Î ÀÎÇÏ¿© IT and °æ¿µ¹®È­º»ºÎ ¸»°í´Â ¹ÌÁ¦½Ã + if i = 5 AND (int(Session("Depart_Code")) <> 18) then + tmp_view = "0" + end if + 'Koworks µµÀÔÀ¸·Î ÀÎÇÏ¿© IT and °æ¿µ¹®È­º»ºÎ ¸»°í´Â ¹ÌÁ¦½Ã + if i = 12 AND (int(Session("Depart_Code")) <> 18) then + tmp_view = "0" + end if + if i = 13 then + tmp_view = "0" + end if + + if i = 22 then + tmp_view = "0" ''''2014-07-08 ÃâÀ庸°í¼­ ºÎȰ~! 2020-01-23 ÃâÀ庸°í¼­ Àç»ç¸Á + end If + + if i = 23 AND ((int(Session("Depart_Code")) < 10 OR int(Session("Depart_Code")) >= 20) AND tmp_admin_chk <> "1" AND 1=2) then '°¡Áö±Þ±Ý(¿î¿µº»ºÎ¿ë) + tmp_view="0" + end if + + if i = 24 then + if (Session("loginuser") = "¾ç¿µÀº" or session("admin_ip") = Request.ServerVariables("remote_addr")) then 'ÀÔ±ÝÀÇ·Ú¼­(¾ç¿µÀºÀü¿ë) + tmp_view = "1" + else + tmp_view = "0" + end if + end If + + if i = 28 Or i = 29 then + If (int(Session("Depart_Code")) = 12 Or int(Session("Depart_Code")) = 18 Or int(Session("Depart_Code")) = 17 Or session("admin_ip") = Request.ServerVariables("remote_addr")) then 'ÀÚ±ÝÁýÇ༭, ³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­ + tmp_view = "1" + else + tmp_view = "0" + end if + end if + + if i = 27 or i = 4 then + tmp_view = "0" + end if + + if i = 18 then + tmp_view = "0" + end if + + If Left(title(i, 1), 3) <> "DEL" Then + if month(now()) < 10 then + temp_approval_activity_date = "0" & month(now()) + else + temp_approval_activity_date = month(now()) + end if + + if day(now()) < 10 then + temp_approval_activity_date = temp_approval_activity_date & "-0" & day(now()) + else + temp_approval_activity_date = temp_approval_activity_date & "-" & day(now()) + end if + + if Not ((title(i, 1) = "ºÎ¼­ºñ½Åû¼­" and Session("teamplace") < 3) or (tmp_view = "0" Or ((title(i, 1) = "ÁöÃâÁ¤»ê½ÂÀνÅû¼­" Or title(i, 1) = "Á÷Á¢ºñ ¼öÁ¤ ½Åû¼­" Or title(i, 1) = "¾÷¹«ÀÏÁö ±â·Ï ºñ¿ë Á¤»ê" Or title(i, 1) = "ÁöÃâ°áÀǼ­" Or title(i, 1) = "Á¢´ëºñº¸°í¼­")) And clng(year(now()) & replace(temp_approval_activity_date, "-", "")) > 20140805 )) then + %> + + + + + <% + End If + End If + next + %> + + + +
+ ȸ»ç³» °¢Á¾ ¹®¼­¸¦ ÀÛ¼ºÇÏ´Â ºÎºÐÀÔ´Ï´Ù. ¿øÇϽô Ç׸ñÀ» ¼±ÅÃÈÄ ÀÛ¼º ¹öưÀ» Ŭ¸¯ Çϼ¼¿ä. +
  <%= title(i, 1)%><%= title(i, 2)%>
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_timeoff.asp b/approval/doc_timeoff.asp new file mode 100644 index 0000000..f5ed238 --- /dev/null +++ b/approval/doc_timeoff.asp @@ -0,0 +1,255 @@ + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim krc_no + dim gap(3) + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + + title="ÈÞ Á÷ °è" + Max_Width =750 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = adors("target2") + gap(3) = adors("target3") + adoRs.close + end if + +''//================= +''//================= + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close +%> + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + ÈÞÁ÷°è ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
»ó±â º»ÀÎÀº ´ÙÀ½°ú °°ÀÌ ÈÞÁ÷ÇϰíÀÚ ÇÏ¿À´Ï Àç°¡ÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ÈÞ Á÷ »ç À¯ <Áø´Ü¼­µî Áõºù÷ºÎ>
ÈÞ Á÷ Èñ ¸Á ÀÏ + + ºÎÅÍ +
º¹ Á÷ Èñ ¸Á ÀÏ + + ±îÁö +
+ £ª »ó±â ÈÞÁ÷ ó¸® ±âÁØÀº ÀÎ»ç ±ÔÁ¤ Á¦ 13Á¶ ¹× ±Þ¿© ±ÔÁ¤ Á¦ 10Á¶¿¡ ÀǰÅÇÕ´Ï´Ù. +
+ + ½Å û ÀÏ : <%=Curr_date%>

+ ½Å û ÀÎ : <%=user_name(1)%> (ìÔ) +
+
+
+ £ªº¹Á÷¿¹Á¤ÀÏ ÀüÀÌ¶óµµ ±× »çÀ¯°¡ ÇØ¼ÒµÇ¾î º¹Á÷°è¸¦ Á¦ÃâÇßÀ» °æ¿ì, ½É»ç¸¦ °ÅÃÄ º¹Á÷µÉ ¼ö ÀÖ½À´Ï´Ù.
+ £ªº» ÈÞÁ÷°èÀÇ º¹Á÷¿¹Á¤ÀÏ¿¡ ±Ù°ÅÇÏ¿© º¹Á÷ÀÏ¿¡ °æ¿µÁö¿ø½Ç·Î º¹Á÷»ç½ÇÀ» Å뺸(º¹Á÷°èÁ¦Ãâ)ÇÏÁö ¾Æ´ÏÇϸé
+ + Åð»çÀÇ»ç·Î °£ÁÖÇÏ¿© º°µµÀÇ ÀýÂ÷ ¾øÀÌ ÃÖÁ¾ Åð»ç ó¸®ÇÕ´Ï´Ù.
+ £ªÈÞÁ÷ ¿¬Àå »çÀ¯°¡ ¹ß»ýÇÒ °æ¿ì º¹Á÷ÀÏ 1ÁÖÀϰ£ Àü¿¡ ÈÞÁ÷°è¸¦ ´Ù½Ã Á¦ÃâÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ £ªº¹Á÷ ÈÄ¶óµµ ÈÞÁ÷ »çÀ¯°¡ ÇØ¼ÒµÇÁö ¾Æ´ÏÇÑ °æ¿ì¿¡´Â º»ÀÎÀÇ Èñ¸Á¿¡ µû¶ó ÈÞÁ÷°è¸¦ Á¦Ãâ, ÈÞÁ÷ÀÇ ¿¬Àå ¶Ç´Â Àç½ÅûÀ» ÇÏ¿©¾ß ÇÕ´Ï´Ù. +
+ + +
+
+ + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_timeoff_print.asp b/approval/doc_timeoff_print.asp new file mode 100644 index 0000000..d943609 --- /dev/null +++ b/approval/doc_timeoff_print.asp @@ -0,0 +1,468 @@ + + +<% + dim doc_type : doc_type = "doc_timeoff_print" + + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim gap(3) '3:ÈÞÁ÷ÀÌÀ¯, 1:ÈÞÁ÷ÀÏ, 2:º¹Á÷(Èñ¸Á)ÀÏ '20110307 : ºÎÀç ·ÎÁ÷½Ã ÈÞ°¡¿ø°ú °°ÀÌ °Ë»öÇϱâ À§ÇØ ¼ø¼­¸¦ ±³Ã¼ + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + + title="ÈÞ Á÷ °è" + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + +''///================ + gap(3) = request("txt_reason") + gap(1) = request("txt_holiday_start_date") + gap(2) = request("txt_holiday_end_date") + print_type = request("print_type") + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + if cint(print_type) = 2 then + + '¸ÕÀú ÈÞÁ÷°èÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "E-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', 'ÈÞÁ÷°è', '" & Session("loginuser") & "', '" & date() & "', '7', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target97, target98, target99, target100, " + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & gap(2) & "', " + query = query & "'" & gap(3) & "', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + 'Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'ÈÞÁ÷°èÀμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" + 'adoconn.execute query + end if +%> + + + +<%=GNB_TITLE%> + + + + + + onLoad="win_close2();" <% end if %>> + +
+ + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + <% + 'my_pos = "1" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
»ó±â º»ÀÎÀº ´ÙÀ½°ú °°ÀÌ ÈÞÁ÷ÇϰíÀÚ ÇÏ¿À´Ï Àç°¡ÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ÈÞ Á÷ »ç À¯<%=gap(3)%>   <Áø´Ü¼­µî Áõºù÷ºÎ>
ÈÞÁ÷Èñ¸ÁÀÏ<%=mid(gap(1),1,4)%>³â <%=mid(gap(1),6,2)%>¿ù <%=mid(gap(1),9,2)%>ÀÏ
º¹Á÷Èñ¸ÁÀÏ<%=mid(gap(2),1,4)%>³â <%=mid(gap(2),6,2)%>¿ù <%=mid(gap(2),9,2)%>ÀÏ
󠸮 ±â ÁØ + + ¹«±Þ(           ) / À¯±Þ(           )% +    <°æ¿µÁö¿ø½Ç ±âÀç> + +
+
	½Å  û  ÀÏ  :       <%=Curr_date%>
+
	½Å  û  ÀÎ  :              <%=user_name(1)%>     (ìÔ)
+
+
+ £ªº¹Á÷¿¹Á¤ÀÏ ÀüÀÌ¶óµµ ±× »çÀ¯°¡ ÇØ¼ÒµÇ¾î º¹Á÷°è¸¦ Á¦ÃâÇßÀ» °æ¿ì, ½É»ç¸¦ °ÅÃÄ º¹Á÷µÉ ¼ö ÀÖ½À´Ï´Ù.
+ £ªº» ÈÞÁ÷°èÀÇ º¹Á÷¿¹Á¤ÀÏ¿¡ ±Ù°ÅÇÏ¿© º¹Á÷ÀÏ¿¡ °æ¿µÁö¿ø½Ç·Î º¹Á÷»ç½ÇÀ» Å뺸(º¹Á÷°èÁ¦Ãâ)ÇÏÁö ¾Æ´ÏÇϸé
   Åð»çÀÇ»ç·Î °£ÁÖÇÏ¿© º°µµÀÇ ÀýÂ÷ ¾øÀÌ ÃÖÁ¾ Åð»ç ó¸®ÇÕ´Ï´Ù.
+ £ªÈÞÁ÷ ¿¬Àå »çÀ¯°¡ ¹ß»ýÇÒ °æ¿ì º¹Á÷ÀÏ 1ÁÖÀϰ£ Àü¿¡ ÈÞÁ÷°è¸¦ ´Ù½Ã Á¦ÃâÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ £ªº¹Á÷ ÈÄ¶óµµ ÈÞÁ÷ »çÀ¯°¡ ÇØ¼ÒµÇÁö ¾Æ´ÏÇÑ °æ¿ì¿¡´Â º»ÀÎÀÇ Èñ¸Á¿¡ µû¶ó ÈÞÁ÷°è¸¦ Á¦Ãâ, ÈÞÁ÷ÀÇ ¿¬Àå ¶Ç´Â Àç½ÅûÀ» ÇÏ¿©¾ß ÇÕ´Ï´Ù. +
+
+ +
+ + + + + + \ No newline at end of file diff --git a/approval/doc_vacation.asp b/approval/doc_vacation.asp new file mode 100644 index 0000000..d4fd476 --- /dev/null +++ b/approval/doc_vacation.asp @@ -0,0 +1,808 @@ + + + +
+ +
+

¹®¼­ ÀÛ¼º

+
+ + +
+
+
+
+
+<% + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim holiday_title(11) 'ÈÞ°¡¿øÀÎ + dim krc_no + dim gap(27) '1:ÈÞ°¡ ½ÃÀÛÀÏ, 2:ÈÞ°¡ Á¾·áÀÏ, 3:¿øÀÎ, , 26:Ç༱Áö, 27:ºñ»ó¿¬¶ô¸Á + dim db_table_name + dim user_insert ' ÀÔ»çÀÏ + + db_table_name = "¹®¼­³»¿ë" + title="ÈÞ °¡ ¿ø" + Max_Width =750 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + +''//================= + holiday_title(1) = "¿¬Â÷ ÈÞ°¡" + holiday_title(2) = "¿ÀÀü ¹ÝÂ÷" + holiday_title(3) = "¿ÀÈÄ ¹ÝÂ÷" + holiday_title(4) = "°ø°¡(1ÀÏ 4½Ã°£ ÀÌ»ó °øÀûÀÎ ¼ÒÁý±³À°, ¿¹ºñ±ºÈÆ·Ã, ¹Î¹æÀ§±³À° µî)" + holiday_title(5) = "º´°¡(7ÀÏ ÀÌ»óÀÇ ÈÞ°¡Àϼö ¹× Áø´Ü¼­¿¡ ÀÇÇÔ)" + holiday_title(6) = "Æ÷»ó ÈÞ°¡" + holiday_title(7) = "¾È½Ä ÈÞ°¡" + holiday_title(8) = "°æÁ¶ ÈÞ°¡" + holiday_title(9) = "»êÀüÈÄ ÈÞ°¡(»êÀüÈÄ ÃÑ90ÀÏÁß »êÈÄ 45ÀÏ È®º¸)" + holiday_title(10) = ""'"´ëü ÈÞ¹«" + holiday_title(11) = "±âŸ ÈÞ°¡" +''//=============== + +''///============ +''¿¬Â÷ÇöȲ°¡Á®¿À±â + 'call holiday_count(Session("User_Number"), LEFT(date, 10)) + gap(4) = "0" + gap(5) = "0" +''//================= +''//================= +'''''°ú°Å Áö³­±â·Ï °¡Á®¿À±â + krc_no=request("krc_no") + if krc_no <> "" then + query = "select * from " & db_table_name + query = query & " where ¹®¼­¹øÈ£ = '" & krc_no & "'" + adors.open query, adoconn, adopenstatic, adlockreadonly + gap(1) = adors("target1") + gap(2) = adors("target2") + gap(3) = adors("target3") + if mid(adors("target5"),1,2) <> "^^" then '°ø°¡ + tmpstr = split(adors("target5"),"^^") + gap(6) = tmpstr(0) + gap(7) = tmpstr(1) + gap(8) = tmpstr(2) + end if + if mid(adors("target6"),1,2) <> "^^" then 'º´°¡ + tmpstr = split(adors("target6"),"^^") + gap(9) = tmpstr(0) + gap(10) = tmpstr(1) + gap(11) = tmpstr(3) + gap(12) = tmpstr(4) + gap(13) = tmpstr(5) + end if + if not isnull(adors("target7")) then 'Æ÷»ó/¾È½Ä/±âŸÈÞ°¡ + gap(14) = adors("target7") + end if + if mid(adors("target8"),1,2) <> "^^" then '°æÁ¶ÈÞ°¡ + tmpstr = split(adors("target8"),"^^") + gap(15) = tmpstr(0) + gap(16) = tmpstr(1) + gap(17) = tmpstr(2) + end if + if mid(adors("target9"),1,2) <> "^^" then '»êÀüÈÞ°¡ + tmpstr = split(adors("target9"),"^^") + gap(18) = tmpstr(0) + gap(19) = tmpstr(1) + end if + gap(20) = adors("target10") + gap(26) = adors("target11") + gap(27) = adors("target12") + adoRs.close + end if + + +''//================= +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close +%> + + +
+ + + + + + + + + + + + + +
+ ÈÞ°¡¿ø ÀÛ¼ºÆäÀÌÁöÀÔ´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
»ó±â º»ÀÎÀº ´ÙÀ½°ú °°ÀÌ ÈÞ°¡¿øÀ» Á¦ÃâÇÏ¿À´Ï Àç°¡ÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
ÈÞ °¡ ±â °£ + + ºÎÅÍ     + + ±îÁö +
ÈÞ °¡ »ç À¯ + + checked + <%end if%>> <%=holiday_title(1)%> 
+ <% + for i=2 to ubound(holiday_title)%> + <% if trim(holiday_title(i)) <> "" Then %> + + checked + <%end if%> + <% + if (i = 11 and gap(5) <> "0") then + %> + disabled + <%end if %> + > <%=holiday_title(i)%> 
+ <% Else %> + + <% End If %> + <%next%> +
+ + + + + + + +
 
ºñ »ó ¿¬ ¶ô + ºñ»ó ¿¬¶ô +
+ ±âŸ »çÇ× +
+ <µ¿ÇàÀÎÀÌ ÀÖÀ» °æ¿ì µ¿ÇàÀÎÀÇ ºñ»ó¿¬¶ôóµµ ¸í±â> +
+
£ª»ó±â ÈÞ°¡ ºÎ¿© ±âÁØÀº Ãë¾÷±ÔÄ¢ Á¦ 4 Àå(ÈÞÀÏ ¹× ÈÞ°¡) ±âÁØ¿¡ ÀǰÅÇÕ´Ï´Ù.
+ + +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/doc_vacation_ajax.asp b/approval/doc_vacation_ajax.asp new file mode 100644 index 0000000..239f807 --- /dev/null +++ b/approval/doc_vacation_ajax.asp @@ -0,0 +1,22 @@ + + +<% +p_no = request("p_no") +selDate = request("seldate") +if selDate = "" then + selDate = left(date, 10) +end if +seasion = request("season") + +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +if seasion = "" Then + Call holiday_count(p_no, selDate) + response.write Holyday_year(1) & "|" & (CSng(Holyday_year(1)) - CSng(Holyday_year(2))) +Else + response.write getSeason(p_no, selDate) +End if +%> \ No newline at end of file diff --git a/approval/doc_vacation_print.asp b/approval/doc_vacation_print.asp new file mode 100644 index 0000000..8922814 --- /dev/null +++ b/approval/doc_vacation_print.asp @@ -0,0 +1,743 @@ + + +<% +'2012-01-26 ¼öÁ¤ : ÈÞ°¡¿øÀº ¹«Á¶°Ç ÀÓ¿ø±îÁö + dim doc_type : doc_type = "doc_vacation_print" + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim gap(28) '1:ÈÞ°¡ ½ÃÀÛÀÏ, 2:ÈÞ°¡ Á¾·áÀÏ, 3:¿øÀÎ, , 26:Ç༱Áö, 27:ºñ»ó¿¬¶ô¸Á + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + + dim tmp_cnt + dim tmp_record_cnt + dim tmp_save_checked + dim tmp_work_date + + db_table_name = "¹®¼­³»¿ë" + + title="ÈÞ °¡ ¿ø" + Max_Width =750 + Curr_date = year(date) & "³â " & month(date) & "¿ù " & day(date) & "ÀÏ" + + set rsm = server.CreateObject("ADODB.RECORDSET") + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + gap(1) = request("txt_holiday_start_date") + gap(2) = request("txt_holiday_end_date") + gap(3) = request("opt_reason") + gap(4) = request("txt_target01") + gap(5) = request("txt_target02") + gap(6) = request("txt_target03") + gap(7) = request("txt_target04") + gap(8) = request("txt_target05") + gap(9) = request("txt_target06") + gap(10) = request("txt_target07") + gap(11) = request("txt_target08") + gap(12) = request("txt_target09") + gap(13) = request("txt_target10") + if gap(13)="0" then + gap(13) = "¿©" + elseif gap(13)="1" then + gap(13) = "ºÎ" + else + gap(13) = "" + end if + gap(14) = request("txt_target11") + gap(15) = request("txt_target12") + gap(16) = request("txt_target13") + gap(17) = request("txt_target14") + gap(18) = request("txt_target15") + gap(19) = request("txt_target16") + gap(20) = request("txt_target17") + gap(21) = request("txt_target18") + gap(22) = request("txt_target19") + gap(23) = request("txt_target20") + gap(24) = request("txt_target21") + gap(25) = request("txt_target22") + gap(26) = request("txt_target23") + gap(27) = request("txt_target24") + + print_type = request("print_type") + 'Response.Write gap(20) & "454545534
" + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + dim holiday_cnt 'À̹ø¿¡ »ç¿ëÇϰíÀÚ ÇÏ´Â ÈÞ°¡ ÀÏÀÚ ¼ö + dim condate + holiday_cnt = 0 + cnt = cint(cdate(gap(2))-cdate(gap(1))) + for k=0 to cnt + condate = cdate(cdate(gap(1)) + k) + if weekday(condate) >= 2 and weekday(condate) <= 6 then + call day_off_chk(year(condate), month(condate), day(condate)) + + if day_off = "false" then + holiday_cnt = holiday_cnt + 1 + end if + end if + next + if instr(1, tmpstr,"¹ÝÂ÷") > 0 then '¹ÝÂ÷À̸é + holiday_cnt = cint(holiday_cnt) - 0.5 + end if + + if cint(print_type) = 2 then + '¸ÕÀú ÈÞ°¡¿øÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "F-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', 'ÈÞ°¡¿ø', '" & Session("loginuser") & "', '" & date() & "', '1', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + adoconn.execute query + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, target6, " + query = query & " target7, target8, target9, target10, target11, target12, target13, target97, target98, target99, target100," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & gap(1) & "', " + query = query & "'" & gap(2) & "', " + query = query & "'" & gap(3) & "', " + query = query & "'" & gap(4) & "^^" & gap(5) & "', " '±Ý³âÃѳâÂ÷»ç¿ë°¡´ÉÀϼö, ±Ý³âÃÑ¿¬Â÷³²ÀºÀϼö + query = query & "'" & gap(6) & "^^" & gap(7) & "^^" & gap(8) & "', " '°ø°¡ + query = query & "'" & gap(9) & "^^" & gap(10) & "^^" & gap(11) & "^^" & gap(12) & "^^" & gap(13) & "', " 'º´°¡ + query = query & "'" & gap(14) & "', " 'Æ÷»ó/¾È½Ä/±âŸÈÞ°¡ + query = query & "'" & gap(15) & "^^" & gap(16) & "^^" & gap(17) & "', " '°æÁ¶ + query = query & "'" & gap(18) & "^^" & gap(19) & "', " '»êÀüÈÞ°¡ + query = query & "'" & gap(20) & "', " '´ëüÈÞ¹« + query = query & "'" & gap(26) & "', " 'ºñ»ó¿¬¶ô¸Á + query = query & "'" & gap(27) & "', " '±âŸ»çÇ× + query = query & "'', " 'ÇØ´ç ¿¬Â÷ ¿¬µµ ********* »èÁ¦ + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + + adoconn.execute query + + if d_order_cnt = 77 then + '´ã´çÀÚ Ã³¸®½Ã ÀÚµ¿À¸·Î jobÅ×ÀÌºí¿¡ »ðÀÔÇØ ÁÜ + 'tmp_1 Job_Code, tmp_2 ¾÷¹« ½Ã°£(h) + if gap(3) = "¿¬Â÷ ÈÞ°¡" then + tmp_1 = "8" + tmp_2 = "8" + elseif gap(3) = "¿ÀÀü ¹ÝÂ÷" then + tmp_1 = "10" + tmp_2 = "4" + elseif gap(3) = "¿ÀÈÄ ¹ÝÂ÷" then + tmp_1 = "11" + tmp_2 = "4" + elseif instr(1, gap(3), "°ø°¡") then + tmp_1 = "18" + tmp_2 = "8" + elseif instr(1, gap(3), "º´°¡") then + tmp_1 = "12" + tmp_2 = "8" + elseif gap(3) = "Æ÷»ó ÈÞ°¡" then + tmp_1 = "14" + tmp_2 = "8" + elseif gap(3) = "¾È½Ä ÈÞ°¡" then + tmp_1 = "15" + tmp_2 = "8" + elseif gap(3) = "°æÁ¶ ÈÞ°¡" then + tmp_1 = "16" + tmp_2 = "8" + elseif instr(1, gap(3), "»êÀü") then + tmp_1 = "17" + tmp_2 = "8" + elseif gap(3) = "´ëü ÈÞ¹«" then + tmp_1 = "9" + tmp_2 = "8" + elseif gap(3) = "±âŸ ÈÞ°¡" then + tmp_1 = "19" + tmp_2 = "8" + end if + + for i = cdate(gap(1)) to cdate(gap(2)) + Call day_off_chk(year(i), month(i), day(i)) + if day_off <> "true" then + p_no = Session("User_Number") ''°áÀç »ó½ÅÀÚ »ç¹ø + + query = " SELECT * " + query = query & " FROM Job_List " + query = query & " WHERE p_no = '" & p_no & "' " + query = query & " AND j_contents = '" & tmp_1 & "' " + query = query & " AND j_date = '" & i & "' " + query = query & " AND j_Flag = '1' " + + adoRs.Open Query, adoConn,1' adOpenStatic, adLockReadOnly + If adoRs.RecordCount > 0 Then + tmp_proc = "1" + else + tmp_proc = "0" + End If + adoRs.Close + '+++++++++++------------------------------------------------ + if tmp_proc = "0" then + query = " " + query = query & " INSERT INTO Job_List(p_no, j_date, j_p_sn, j_contents, j_time, j_ip) VALUES " + query = query & " (" & p_no & ", '" & i & "', '99999', " & tmp_1 & ", " & tmp_2 & ", '" & Request.ServerVariables("REMOTE_ADDR") & "') " + adoconn.execute query + End if + End if + Next + end if + end if +%> + + + +<%=GNB_TITLE%> + + + + + + onLoad="clsit();" <% end if %>> + +
+ + + + + + + + + + + + + "> + + + + + + + "> + + + + + + + + + + + +
+ + <%if cint(print_type) = 1 then%> + + + + <%end if%> + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 5 then 'ÀÓ¿ø(º»ºÎÀå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå(ºÎ¼­Àå) + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 0 or my_pos = 1 Or my_pos = 10 then 'ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
»ó±â º»ÀÎÀº ´ÙÀ½°ú °°ÀÌ ÈÞ°¡¿øÀ» Á¦ÃâÇÏ¿À´Ï Àç°¡ÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + + + + + + + + + + +
ÈÞ°¡±â°£<%=mid(gap(1),1,4)%>³â <%=mid(gap(1),6,2)%>¿ù <%=mid(gap(1),9,2)%>ÀϺÎÅÍ   <%=mid(gap(2),1,4)%>³â <%=mid(gap(2),6,2)%>¿ù <%=mid(gap(2),9,2)%>ÀϱîÁö
ÈÞ°¡¿øÀÎ<%=gap(3)%>
¼¼ºÎ³»¿ë + + <%tmpstr = replace(gap(3), " ","") + if mid(tmpstr,1,2) = "¿¬Â÷" or instr(1, tmpstr,"¹ÝÂ÷") > 0 then + if instr(1, tmpstr,"¹ÝÂ÷") > 0 then '¹ÝÂ÷À̸é + holiday_cnt = cint(holiday_cnt) - 0.5 + end if%> + +  * ÃÑ¿¬Â÷ Àϼö <%=gap(4)%>ÀÏ
+  * »ç¿ëÀü ÀÜ¿© Àϼö <%=gap(5)%>ÀÏ
+  * »ç¿ëÈÄ ÀÜ¿© Àϼö <%=gap(5) - holiday_cnt%>ÀÏ
+ <%elseif mid(tmpstr,1,2) = "°ø°¡" then%> +  * ¼¼ºÎ ¿øÀÎ : <%=gap(6)%>
+  * ±³À° ½Ã°£ : <%=gap(7)%>
+  * ±³À° Àå¼Ò : <%=gap(8)%> + <%elseif mid(tmpstr,1,2) = "º´°¡" then%> +  * Áø´Ü º´¸í : <%=gap(9)%>
+  * Áø°£ ±â°£ : <%=mid(gap(10),1,4)%>³â <%=mid(gap(10),6,2)%>¿ù <%=mid(gap(10),9,2)%>ÀϺÎÅÍ   <%=mid(gap(11),1,4)%>³â <%=mid(gap(11),6,2)%>¿ù <%=mid(gap(11),9,2)%>ÀϱîÁö
+  * Áø´Ü ±â°ü : <%=gap(12)%>
+  * ÀÔ¿ø ¿©ºÎ : <%=gap(13)%> + <%elseif mid(tmpstr,1,2) = "Æ÷»ó" or mid(tmpstr,1,2) = "¾È½Ä" or mid(tmpstr,1,2) = "±âŸ" then%> +  * <%=gap(14)%> + <%elseif mid(tmpstr,1,2) = "°æÁ¶" then%> +  * °æ Á¶ »ç À¯ : <%=gap(15)%>
+  * º»Àΰú°ü°è : <%=gap(16)%>
+  * °æ Á¶ ÀÏ ÀÚ : <%=gap(17)%> + <%elseif mid(tmpstr,1,2) = "»êÀü" then%> +  * Ãâ»ê ¿¹Á¤ÀÏ : <%=gap(18)%>
+  * Ãâ»êÈÄ °Å¼Ò : <%=gap(19)%> + <%elseif mid(tmpstr,1,2) = "´ëü" then%> +  * <%=gap(20)%> + <%end if%> +
+ +
ºñ»ó¿¬¶ô µî + + £ª ºñ»ó ¿¬¶ô : <%=gap(26)%>
+ £ª ±âŸ »çÇ× : <%=gap(27)%>
+
+ <µ¿ÇàÀÎÀÌ ÀÖÀ» °æ¿ì µ¿ÇàÀÎÀÇ ºñ»ó¿¬¶ôóµµ ¸í±â> +
+
+
	½Å  û  ÀÏ  :          <%=Curr_date%>
+
	½Å  û  ÀÎ  :              <%=user_name(1)%>     (ìÔ)
+
+
£ª»ó±â ÈÞ°¡ ºÎ¿© ±âÁØÀº Ãë¾÷±ÔÄ¢ Á¦ 4 Àå(ÈÞÀÏ ¹× ÈÞ°¡) ±âÁØ¿¡ ÀǰÅÇÕ´Ï´Ù.
+
+ +
+ + + + + + \ No newline at end of file diff --git a/approval/douzone_excel.asp b/approval/douzone_excel.asp new file mode 100644 index 0000000..d8dcb08 --- /dev/null +++ b/approval/douzone_excel.asp @@ -0,0 +1,251 @@ + + +<% + +%> + +
+ + +
+

ÀÚµ¿ÀüÇ¥

+
+ + + +
+
+
+
+
+
+
+ Áõºù¿ù +
+ +
+ +
+
+ Ű¿öµå (¸ðµç Ç׸ñ) +
+ +
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ȸ»çÄÚµå»ç¾÷ÀåÄÚµåÀڷᱸºÐÀüÇ¥À¯Çü¹ß»ýÀÏÀÚ°ú¼¼±¸ºÐ°ø±Þ°¡¾×ºÎ°¡¼¼ÇÕ°è¾×¿Ü»ó/¹ÌÁö±Þ±Ý»ç¾÷ÀÚ¹øÈ£Ç°Àdz»¿ªÀû¿ä³»¿ª»ç¿ëºÎ¼­ÇÁ·ÎÁ§Æ®ÇÁ·ÎÁ§Æ®ÄÚµå»çÀ¯±¸ºÐÀüÀÚ¿©ºÎ
CO_CDIN_DIV_CDACCT_TYACCT_FGREF_DTTAX_FGCLSG_AMCLSV_AMCLSH_AMMISU_AMREG_NBISU_DOCRMK_DCCT_DEPTPJT_CD NONSUB_TYJEONJA_YN
+
+
+
+
+
+
+ + <% + + %> + + +
+ + \ No newline at end of file diff --git a/approval/help.asp b/approval/help.asp new file mode 100644 index 0000000..e4fdd71 --- /dev/null +++ b/approval/help.asp @@ -0,0 +1,142 @@ +<% +'================================================================================== +'help_pmsÆú´õ¿¡ ÀÖ´Â ¸ðµç ±×¸²ÆÄÀÏÀ» Àоî¿È +'---------------------------------------------------------------------------------- +Dim tmp_folder(50) + +function getFolder(sPath, iDepth, bSonFdr, bShowFile) + Dim fso, objFolder + Dim folders, folder + Dim files, file + + Dim sSpace + sSpace = "" + + for i=0 to iDepth + sSpace = sSpace & ":tab:" + next + + + Set fso = CreateObject("Scripting.FileSystemObject") + Set objFolder = fso.GetFolder(sPath) + set fso = nothing + set folders = objFolder.SubFolders + Set files = objFolder.Files + set objFolder = nothing + For Each folder in folders + 'response.write sSpace& "[Æú]" &folder.name & "
"& vbCRLF + + 'ÇØ´ç Æú´õÀÇ ÆÄÀÏ + Set fso = CreateObject("Scripting.FileSystemObject") + Set objFolder = fso.GetFolder(sPath & "\" & folder.name) + set fso = nothing + Set hfiles = objFolder.Files + tmp_folder(0) = sPath & folder.name + i = 1 + For Each file in hfiles + 'response.write sSpace& "[ÆÄ]" &file.name & "
"& vbCRLF + tmp_folder(i) = file.name + i = i + 1 + Next + + '++ ÇÏÀ§Æú´õ + if bSonFdr then + call getFolder(sPath&"\"&folder.name, iDepth+1, bSonFdr, bShowFile) + end if + Next + + '++ ÆÄÀϵµ º¸¿©Áشٸé + if bShowFile then + i = 1 + For Each file in files + 'response.write sSpace& "[ÆÄ]" &file.name & "
"& vbCRLF + 'gif ÆÄÀÏÀÌ ¾Æ´Ñ °ÍÀº ÀúÀåÇÏÁö ¾Êµµ·Ï ÇÔ + if right(file.name, 3) = "gif" then + tmp_folder(i) = file.name + i = i + 1 + end if + Next + end if +end function + +RootDir = Server.MapPath(".") & "\help\" 'imageÆÄÀÏÀÌ Á¸ÀçÇÏ´Â Æú´õ + +tmp_f = getFolder(RootDir, 0, false, true) + +tmp = 0 +for i = 1 to ubound(tmp_folder) + if tmp_folder(i) <> "" then + tmp_folder(0) = replace(tmp_folder(0),"\","/") + 'Response.Write "" & tmp_folder(j,i) & "
" + 'Response.Write tmp_folder(i) & "
" + tmp = tmp + 1 + end if +next + +if tmp = 0 then + Response.Write "
ÆÄÀÏÀÌ ¾ø½À´Ï´Ù
" +end if +'================================================================================== + +if trim(request("w")) <> "" then + tmp_i = request("w") +else + tmp_i = 1 +end if + +if int(tmp_i) >= int(tmp) then + tmp_i_go = 1 +else + tmp_i_go = int(tmp_i) + 1 +end if + +if int(tmp_i) <= 1 then + tmp_i_back = tmp +else + tmp_i_back = int(tmp_i) - 1 +end if + +%> + + + +
+ + + + + + + + + + +
+ + ±×¸²À» Ŭ¸¯ÇϽøé âÀÌ ´ÝÈü´Ï´Ù. + + +   + +
+
+ + ±×¸²À» Ŭ¸¯ÇϽøé âÀÌ ´ÝÈü´Ï´Ù. + + +   + +
+ +
+ + \ No newline at end of file diff --git a/approval/inc_approval.asp b/approval/inc_approval.asp new file mode 100644 index 0000000..bcca9c2 --- /dev/null +++ b/approval/inc_approval.asp @@ -0,0 +1,119 @@ + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + 'tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + 'tmp_txt = "" + if my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
\ No newline at end of file diff --git a/approval/inc_logo.asp b/approval/inc_logo.asp new file mode 100644 index 0000000..e45d53a --- /dev/null +++ b/approval/inc_logo.asp @@ -0,0 +1,176 @@ +<% +Dim lors +Dim loQuery +Dim loi +Dim loj + +Set lors = server.CreateObject("ADODB.RECORDSET") +loQuery = "" + +'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +if split(request.servervariables("HTTP_url"), "/")(2) = "approval" then + + if IsArray(user_name) = true then + if user_name(4) = "PnC" then + sel_logo="pnc" + end if + end if + + if IsArray(target21) = true then + if trim(split(split(target21(1), "^//^")(0), "^^")(1)) = "9999034" then + sel_logo="pnc" + end if + if InStr(1, trim(split(split(target21(1), "^//^")(0), "^^")(1)), "_") > 0 then + loQuery = "" + loQuery = loQuery & " SELECT p_rsch_dept FROM project2.dbo.V_PROJECT_METHOD Where p_child_sn = '" & trim(split(split(target21(1), "^//^")(0), "^^")(1)) & "' " + lors.open loQuery, adoconn,adopenstatic, adlockreadonly + if lors.recordCount > 0 then + if lors("p_rsch_dept") = "34" then + sel_logo="pnc" + end if + end if + lors.close + end if + elseif isArray(gap) = true then + if title <> "ºÎ¼­ºñ½Åû¼­" and title <> "ÃâÅð±Ùº¸°í¼­" then + if UBound(gap) > 8 Then + if trim(gap(9)) <> "" then + if trim(gap(9)) = "9999034" then + sel_logo="pnc" + end if + if InStr(1, trim(gap(9)), "_") > -1 then + loQuery = "" + loQuery = loQuery & " SELECT p_rsch_dept FROM project2.dbo.V_PROJECT_METHOD Where p_child_sn = '" & trim(gap(9)) & "' " + lors.open loQuery, adoconn,adopenstatic, adlockreadonly + if lors.recordCount > 0 then + if lors("p_rsch_dept") = "34" then + sel_logo="pnc" + end if + end if + lors.close + end if + if InStr(1, trim(gap(9)), ",") > -1 then + For loi=0 To uBound(split(trim(gap(9)), ",")) + if split(trim(gap(9)), ",")(loi) = "9999034" then + sel_logo="pnc" + end if + Next + end if + end if + end if + end if + end if + + if trim(p_child_sn) <> "" then + loQuery = "" + loQuery = loQuery & " SELECT p_rsch_dept FROM project2.dbo.V_PROJECT_METHOD Where p_child_sn = '" & trim(p_child_sn) & "' " + lors.open loQuery, adoconn,adopenstatic, adlockreadonly + if lors.recordCount > 0 then + if lors("p_rsch_dept") = "34" then + sel_logo="pnc" + end if + end if + lors.close + end if + + + +end if +'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +if split(request.servervariables("HTTP_url"), "/")(2) = "ess" then + + if IsArray(user_name) = true then + if user_name(4) = "PnC" then + sel_logo="pnc" + end if + end if + if IsArray(tmp_2) = true then + if tmp_2(0) = "PnC" then + sel_logo="pnc" + end if + end if + if IsArray(gap) = true Then + if title <> "ºÎ¼­ºñ½Åû¼­" and title <> "ÃâÅð±Ùº¸°í¼­" then + if mid(krc_no, 10,1) = "A" then + For loi = 1 To contents_cnt + if trim(gap(loi,1)) = "9999034" then + sel_logo="pnc" + end if + if InStr(1, trim(gap(loi,1)), "_") > -1 then + loQuery = "" + loQuery = loQuery & " SELECT p_rsch_dept FROM project2.dbo.V_PROJECT_METHOD Where p_child_sn = '" & trim(gap(loi,1)) & "' " + lors.open loQuery, adoconn,adopenstatic, adlockreadonly + if lors.recordCount > 0 then + if lors("p_rsch_dept") = "34" then + sel_logo="pnc" + end if + end if + lors.close + end if + if InStr(1, trim(gap(loi,1)), ",") > -1 then + For loj=0 To uBound(split(trim(gap(loi,1)), ",")) + if split(trim(gap(loi,1)), ",")(loj) = "9999034" then + sel_logo="pnc" + end if + Next + end if + Next + else + if UBound(gap) >= 9 Then + if InStr(1, trim(gap(9)), ",") > -1 then + For loj=0 To uBound(split(trim(gap(9)), ",")) + if split(trim(gap(9)), ",")(loj) = "9999034" then + sel_logo="pnc" + end if + Next + end if + end if + end if + end if + End If +end if +'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +if split(request.servervariables("HTTP_url"), "/")(2) = "management" then + + if IsArray(target_gap) = true then + if uBound(target_gap) > 5 then + if target_gap(5) = "PnC" then + sel_logo="pnc" + end if + else + loQuery = "" + loQuery = loQuery & " SELECT p_depart FROM project2.dbo.PERSON Where p_no = '" & trim(target_gap(0)) & "' " + lors.open loQuery, adoconn,adopenstatic, adlockreadonly + if lors.recordCount > 0 then + if lors("p_depart") = "34" then + sel_logo="pnc" + end if + end if + lors.close + end if + end if + +end if +'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +if split(request.servervariables("HTTP_url"), "/")(2) = "project" then + + if tmp_teamname = "PnC" then + sel_logo="pnc" + end if + +end if +'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +if split(request.servervariables("HTTP_url"), "/")(2) = "business" then + + if IsArray(user_name) = true then + if user_name(4) = "PnC" then + sel_logo="pnc" + end if + end if + +end if +%> + +<% +Set lors = Nothing +%> \ No newline at end of file diff --git a/approval/inc_payapproval.asp b/approval/inc_payapproval.asp new file mode 100644 index 0000000..844e9ea --- /dev/null +++ b/approval/inc_payapproval.asp @@ -0,0 +1,78 @@ +<% + dim blank_off_title + blank_off_title = replace(title," ","") + + tmp_type = "1" + if blank_off_title = "ǰÀǼ­" or blank_off_title = "ÈÞÁ÷°è" then + tmp_type = "3" + elseif blank_off_title = "Á¢´ëºñº¸°í¼­" then + tmp_type = "0" + elseif blank_off_title = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" or blank_off_title = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" then + If overMoney_reason_count > 0 Then + tmp_type = "3" + End If + elseif blank_off_title = "ÇÁ·ÎÁ§Æ®°è¾à¾×¼öÁ¤" Then + tmp_type = "2" + elseif blank_off_title = "ÁöÃâ°áÀǼ­" Then + '¹Ì·¡ÀÇ °ü¸®ÀÚ¿¡°Ô.... ¹Ì¾ÈÇÏ´Ù.. ³ªµµ Àß ¸ð¸£°Ú´Ù ÃÖ´ëÇÑ ¿À·ù ¾È³ª´Â ¼±¿¡¼­ ÇØ°áÇÒ ¼ö ÀÖ´Â°Ô ÀÌ ¹æ¹ýÀ̾ú´Ù...... + IF doc_type <> "doc_expense_print_2014" Then + '20240129 ¹ÚÁؼº ÀÏ¹Ý ÁöÃâ°áÀǼ­ ±âÁ¸ ¶óÀο¡¼­ ºÐ¸® ÈÄ °áÀç¶óÀÎ ½Å¼³ + '¿©±â°¡ ÀϹÝÀÌ´Ù + tmp_type = "8" + ELSE + '20240129 ¹ÚÁؼº ÇÁ·ÎÁ§Æ® ÁöÃâ°áÀǼ­ ±âÁ¸ ¶óÀο¡¼­ ºÐ¸® ÈÄ °áÀç¶óÀÎ ½Å¼³ + '¿©±â°¡ ÇÁ·ÎÁ§Æ®´Ù + tmp_type = "9" + End IF + end If + + 'if blank_off_title = "ÁöÃâ°áÀǼ­" Then + If(hangmok = "167" Or hangmok = "202") Then ' Ç׸ñ - ¿¹¼ö±Ý, ¿¹¼ö±Ýȯ±Þ" '//-- 2023-02-13 hwkim, ÀÚ°¡Àü°á·Î ¿äûµå·ÈÀ¸³ª, 1Â÷ »óÀ§ÀÚ °áÀç·Î º¯°æ + 'tmp_type = "0" + tmp_type = "1" + End If + + If Session("N_depart") = "M" And (hangmok = "167" Or hangmok = "202") Then ' Ç׸ñ - ¿¹¼ö±Ý, ¿¹¼ö±Ýȯ±Þ" + tmp_type = "0" + End If + + ' Á¶±âÇý ´ëü ¹Ú¹Ì¼±, ±èÇöÁ¤, À̼­À± + If (sebu = "135" or sebu="204" or sebu="240") And (Session("User_Number") = "20250201" OR Session("User_Number") = "20191202" OR Session("User_Number") = "20220901") Then ' µµ¼­Àμâºñ, Àâ¼Õ½Ç + tmp_type = "0" + End If + + If sebu="268" Then '#### ¼öÀÔÀÎÁö¼¼ + tmp_type = "0" + End If + + if sebu="114" or sebu="173" then '±Þ¿©, 4´ëº¸Çè·á ´ëÇ¥´Ô±îÁö + tmp_type = "3" + end If + + '##### ÀüÀÚ°áÀç ¹®¼­ Á¾·ù¿¡ µû¶ó Ãß°¡ Àû¿ë ÄÚµå + Select case doc_type + '##### ÁöÃâ°áÀǼ­(ÇÁ·ÎÁ§Æ®) + case "doc_expense_print_2014" + If d_cost_type <> "support" Then + if gab_cha < 0 then + tmp_type = "3" + end If + End if + case "project_report" + if rschname = "90" Then + tmp_type = "2" + End If + End Select + + + + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.79" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" )then + response.write "
REMOTE_ADDR = "& Request.ServerVariables("REMOTE_ADDR") + response.write "
blank_off_title = "& blank_off_title + response.write "
tmp_type = "& tmp_type + response.write "
doc_type = "& doc_type + response.write "
d_cost_type = "& d_cost_type + response.write "
gab_cha = "& gab_cha + end if + +%> \ No newline at end of file diff --git a/approval/inc_payapproval_line.asp b/approval/inc_payapproval_line.asp new file mode 100644 index 0000000..b274eaf --- /dev/null +++ b/approval/inc_payapproval_line.asp @@ -0,0 +1,213 @@ +<% + Dim d_code : d_code = Session("Depart_Code") + + d_order1 = tmp_txt1 + d_order2 = tmp_txt2 + d_order3 = tmp_txt3 + d_order4 = tmp_txt4 + d_order5 = tmp_txt5 + d_order6 = "Àü°á" + d_order7 = "Àü°á" + d_order8 = "Àü°á" + d_order9 = "Àü°á" + d_order10 = "Àü°á" + + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.81" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" or Request.ServerVariables("REMOTE_ADDR") = "::1" )then + response.write "
d_code = "& d_code + response.write "
"& tmp_dcode(d_code, 1) + response.write "
"& tmp_dcode(d_code, 2) + response.write "
tmp_type = "& tmp_type + response.write "
my_pos = "& my_pos + response.write "
tmp_txt = "& tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) + response.write "
tmp_txt = "& tmp_ess(tmp_dcode(d_code, 1), 0) + response.write "
" + end if + + '#####»çȸ¿©·ÐÁ¶»ç ¼¾ÅÍ ÇϵåÄÚµù + if d_code = "90" then + '##### º»ºÎÀå ±âÁØ ¾µÀÏÀº ¾ø°ÚÁö¸¸ º»ºÎÀåÀÌ ¿øºÎ»çÀå´ÔÀÏ Å×´Ï ¸ðµç¹®¼­ Àü°á + if my_pos = 5 then + d_order5 = "Àü°á" + d_order_cnt = 77 + else + '##### ±×¿Ü ÆÀÀå ÆÀ¿ø + d_order3 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = "Àü°á" + d_order_cnt = 4 + end if + '#####ÆÛºí¸¯R&D ¼¾ÅÍ ÇϵåÄÚµù + ' elseif d_code = "91" then + ' if my_pos = 5 then + ' d_order5 = "Àü°á" + ' d_order_cnt = 6 + ' else + ' '##### ±×¿Ü ÆÀÀå ÆÀ¿ø + ' d_order3 = tmp_ess(tmp_dcode(d_code, 1), 0) + ' d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + ' d_order5 = "Àü°á" + ' d_order_cnt = 4 + ' end if + else + + '#####ÆÀ¿ø ±âÁØ + ' my_pos ¿¬±¸ ±×·ìÀå Âʵµ ¿¬°áµÇ¾î À־ ¹Ù²Ù¸é x + if my_pos = 0 or my_pos = 1 or my_pos = 2 or my_pos = 10 then + if Session("N_depart") = "M" Then + ' if Session("User_Number") = "20210403" OR Session("User_Number") = "20220504" OR Session("User_Number") = "20240401" Then '¹®º½ÀÌ, Á¶¿¹ÁÖ, ±èÇý¶õ + ' tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20250201" ' Á¶±âÇý À°¾ÆÈÞÁ÷À¸·Î ´ëü ¹Ú¹Ì¼± + ' End If + if Session("User_Number") = "20240208" OR Session("User_Number") = "20231201" OR Session("User_Number") = "20240401" OR Session("User_Number") = "20250602" OR Session("User_Number") = "20250702" Then '±è½Â³², »ç°æÁø, ±èÇý¶õ, ·ùµµ¿µ + tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20191202" '±èÇöÁ¤ + End If + ' if Session("User_Number") = "20200202" OR Session("User_Number") = "20230402" Then '°­¿¹¸², ±è¿¹Áø + ' tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20220901" 'À̼­À± + ' End If + + if Session("User_Number") = "20191202" Then 'OR Session("User_Number") = "20250201" OR Session("User_Number") = "20220901" Then ' ±èÇöÁ¤, À°¾ÆÈÞÁ÷À¸·Î ´ëü ¹Ú¹Ì¼±, À̼­À± + tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "Àü°á" + if tmp_type <> "0" Then + tmp_type = "3" + End If + End If + End if + '±Ý¾×°ü·Ã ¿¹¹ÎÇÏ¿© ÃÖÁ¤½É º»ºÎÀå´Ô²² Àϰý °¡µµ·Ï ÇÔ. + 'if Session("User_Number") = "20200103" OR Session("User_Number") = "20220407" OR Session("User_Number") = "20200807" OR Session("User_Number") = "20230502" Then 'Á¶¹Î¾Æ, ÀÌÇϳª, ÇÏÁöÀ±, Á¤ÇѺñ - DIN ÆÛºí¸¯±×·ì + ' tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20200801" 'À¯µµÇö + 'End If + 'if Session("User_Number") = "20191104" OR Session("User_Number") = "20200301" Then 'ÃÖ¼­À±, ÀüÈñ¼ö - DIN ¸¶ÄÉÆÃ±×·ì + ' tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20210405" '±èÈñÁ¤ + 'End If + 'if Session("User_Number") = "20200106" OR Session("User_Number") = "20211103" Then 'ÀÌÀç°æ, ÀÌÇöÁö - DIN QC + ' tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20181009" '°ø¹Ì¾Ö + 'End If + + if Session("User_Number") = "20150302" Then 'ÃÖȯ ¼­°­½Å OR Session("User_Number") = "20210801" + tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20210107" '½Å»ó¿í + End If + + ' if Session("User_Number") = "20230906" Then '³²°ü¿ì + ' tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) = "20190601" 'ÀÌÇýÁø + ' End If + + if tmp_type = "1" or tmp_type = "4" then + d_order3 = tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) + d_order4 = "Àü°á" + d_order5 = "Àü°á" + d_order_cnt = 3 + elseif tmp_type = "2" then + d_order3 = tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = "Àü°á" + d_order_cnt = 3 + elseif tmp_type = "3" then + d_order3 = tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = tmp_ess(0, 0) + d_order_cnt = 3 + elseif tmp_type = "0" Then + d_order3 = "Àü°á" + d_order4 = "Àü°á" + d_order5 = "Àü°á" + d_order_cnt = 77 + elseif tmp_type = "8" Then 'ÀÏ¹Ý ÁöÃâ°áÀǼ­ + d_order3 = tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) + d_order4 = "Àü°á" + d_order5 = "Àü°á" + d_order_cnt = 3 + elseif tmp_type = "9" Then 'ÇÁ·ÎÁ§Æ® ÁöÃâ°áÀǼ­ + d_order3 = tmp_ess(tmp_dcode(d_code, 1), tmp_dcode(d_code, 2)) + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = "Àü°á" + d_order_cnt = 3 + end if + '##### ¼ÕÈ£Áø + 'elseif Session("User_Number") = "20230905" then + ' d_order4 = "Àü°á" + ' if tmp_type = "2" or tmp_type="0" then + ' d_order5 = "Àü°á" + ' d_order_cnt = 77 + ' elseif tmp_type = "3" or tmp_type = "1" then + ' d_order5 = tmp_ess(0, 0) + ' d_order_cnt = 5 + ' end if + + '##### ÃÖÁ¤½É + 'elseif Session("User_Number") = "20151203" then + ' if tmp_type = "2" or tmp_type="0" then + ' d_order5 = "Àü°á" + ' d_order_cnt = 77 + ' elseif tmp_type = "3" or tmp_type = "1" then + ' d_order5 = tmp_ess(0, 0) + ' d_order_cnt = 5 + ' elseif tmp_type = "8" Then 'ÀÏ¹Ý ÁöÃâ°áÀǼ­ + ' d_order5 = tmp_ess(0, 0) + ' d_order_cnt = 5 + ' elseif tmp_type = "9" Then 'ÇÁ·ÎÁ§Æ® ÁöÃâ°áÀǼ­ + ' d_order5 = tmp_ess(0, 0) + ' d_order_cnt = 5 + ' end if + + '##### ÆÀÀå(ºÎ¼­Àå) ±âÁØ + elseif my_pos = 3 Or my_pos = 4 then + if tmp_type = "1" or tmp_type = "4" or tmp_type = "2" then + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = "Àü°á" + d_order_cnt = 4 + elseif tmp_type = "3" then + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = tmp_ess(0, 0) + d_order_cnt = 4 + elseif tmp_type = "0" Then + d_order4 = "Àü°á" + d_order5 = "Àü°á" + d_order_cnt = 77 + elseif tmp_type = "8" Then 'ÀÏ¹Ý ÁöÃâ°áÀǼ­ + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = "Àü°á" + d_order_cnt = 4 + elseif tmp_type = "9" Then 'ÇÁ·ÎÁ§Æ® ÁöÃâ°áÀǼ­ + d_order4 = tmp_ess(tmp_dcode(d_code, 1), 0) + d_order5 = "Àü°á" + d_order_cnt = 4 + end if + '##### ÀÓ¿ø(º»ºÎÀå) ±âÁØ + elseif my_pos = 5 then + if tmp_type = "2" or tmp_type="0" then + d_order5 = "Àü°á" + d_order_cnt = 77 + elseif tmp_type = "3" or tmp_type = "1" then + d_order5 = tmp_ess(0, 0) + d_order_cnt = 5 + elseif tmp_type = "8" Then 'ÀÏ¹Ý ÁöÃâ°áÀǼ­ + d_order5 = tmp_ess(0, 0) + d_order_cnt = 5 + elseif tmp_type = "9" Then 'ÇÁ·ÎÁ§Æ® ÁöÃâ°áÀǼ­ + d_order5 = tmp_ess(0, 0) + d_order_cnt = 5 + end if + + '##### ´ëÇ¥ ±âÁØ + elseif my_pos = 6 then + d_order_cnt = 77 + end if + end if + + if instr(1, d_order1, "
") then + tmp = split(d_order1, "
") + d_order1 = tmp(2) + elseif instr(1, d_order2, "
") then + tmp = split(d_order2, "
") + d_order2 = tmp(2) + elseif instr(1, d_order3, "
") then + tmp = split(d_order3, "
") + d_order3 = tmp(2) + elseif instr(1, d_order4, "
") then + tmp = split(d_order4, "
") + d_order4 = tmp(2) + elseif instr(1, d_order5, "
") then + tmp = split(d_order5, "
") + d_order5 = tmp(2) + end if + +%> \ No newline at end of file diff --git a/approval/inc_preapproval.asp b/approval/inc_preapproval.asp new file mode 100644 index 0000000..f2364c0 --- /dev/null +++ b/approval/inc_preapproval.asp @@ -0,0 +1,78 @@ +<% + 'ÆÀÀå = ºÎ¼­Àå + if cstr(d_order2) = cstr(d_order3) AND cstr(d_order2) <> "" AND cstr(d_order2) <> "Àü°á" then + d_order2 = "Àü°á" + tmp_txt2 = "Àü°á" + end if + + 'ºÎ¼­Àå = ÀÓ¿ø + if cstr(d_order3) = cstr(d_order4) AND cstr(d_order3) <> "" AND cstr(d_order3) <> "Àü°á" then + d_order3 = "Àü°á" + tmp_txt3 = "Àü°á" + end if + + 'ÀÓ¿ø = ºÎȸÀå + if cstr(d_order4) = cstr(d_order5) AND cstr(d_order4) <> "" AND cstr(d_order4) <> "Àü°á" then + d_order4 = "Àü°á" + tmp_txt4 = "Àü°á" + end if + + 'ÀÓ¿ø = ºÎȸÀå(Á÷Á¢ºñ¿ë) + if cstr(d_order5) = cstr(d_order6) AND cstr(d_order5) <> "" AND cstr(d_order5) <> "Àü°á" then + d_order5 = "Àü°á" + tmp_txt5 = "Àü°á" + end if + + '########################################################################### + + if d_order2 = "Àü°á" and d_order_cnt = 2 Then + tmp_txt2 = "Àü°á" + d_order_cnt = 3 + end if + + if d_order3 = "Àü°á" and d_order_cnt = 3 Then + tmp_txt3 = "Àü°á" + d_order_cnt = 4 + 'Á¤°­¿í : 2014-08-05 7ÆÀ ÆÀÀåÀÌ ºÎÀçÀ̱⠶§¹®¿¡, ´ÙÀ½ °áÀçÀÚÀÎ º»ºÎÀå(ÀÓ¿ø)À¸·Î °áÀç + If d_order4 = "Àü°á" Then + d_order4 = tmp_ess(tmp_dcode(Session("Depart_Code"), 1), 0) 'ÀÓ¿ø(º»ºÎÀå) + End if + end if + + if d_order4 = "Àü°á" and d_order_cnt = 4 Then + tmp_txt4 = "Àü°á" + d_order_cnt = 5 + end if + + if d_order5 = "Àü°á" and d_order_cnt = 5 Then + tmp_txt5 = "Àü°á" + d_order_cnt = 77 + Else + 'Á¤°­¿í : 2014-04-10 ÀÓ¿øÀÌ ºÎÀçÀÎ °ü°è·Î, ÀÓ¿øÀÌ ºÎÀçÀ̸鼭 ´ëÇ¥ÀÌ»ç±îÁö °áÀçÀ̸é ÀÓ¿øÀº Àü°á + if d_order4 = "Àü°á" and d_order_cnt = 5 then + tmp_txt4 = "Àü°á" + d_order4 = "Àü°á" + d_order5 = "20190301" + end If + End If + + '//-- Á¶¿ìö ´ëÇ¥´ÔÀ¸·Î ġȯ 20190301 + if d_order5 = "20080101" And blank_off_title = "¾÷¹«ÀÏÁö" then + d_order5 = "20190301" + end If + + select case d_order_cnt + case 1 + d_orders = d_order1 + case 2 + d_orders = d_order2 + case 3 + d_orders = d_order3 + case 4 + d_orders = d_order4 + case 5 + d_orders = d_order5 + case 77 + d_orders = Session("User_Number") + end select +%> \ No newline at end of file diff --git a/approval/mainpage_2014.asp b/approval/mainpage_2014.asp new file mode 100644 index 0000000..83e6aef --- /dev/null +++ b/approval/mainpage_2014.asp @@ -0,0 +1,711 @@ + + +<% +dim xadmin, xadmintxt +if fnc_user_level("0","¿Ï·á¹®¼­¼öÁ¤»èÁ¦",Request.ServerVariables("REMOTE_ADDR"))="1" and request.item("x")="2" then +xadmin="1" '-- ¼öÁ¤/»èÁ¦°¡´É(1) +xadmin_print="(1) ÈÞ°¡ »èÁ¦½Ã: ÇØ´ç ¾÷¹«ÀÏÁö¿¡ ÈÞ°¡°¡ »èÁ¦µÇ¹Ç·Î ÇØ´ç³¯Â¥ ¾÷¹«ÀÏÁö °áÀçÀ¯¹«¸¦ È®ÀÎÇÒ°Í (Àçµî·ÏÀÌ ÇÊ¿äÇѰæ¿ì µî·ÏÀÚ°¡ »èÁ¦ÈÄ Àçµî·Ï Çϵµ·Ï ÇÒ°Í)
" +end if + +'@@@@@ »èÁ¦Ã³¸® ¡é @@@@@@@@@@@ + +dim xState : xState=replace(replace(replace(replace(request("toState"),"'",""),"""","")," ","")," ","") +dim xd_no : xd_no=replace(replace(replace(replace(request("d_no"),"'",""),"""","")," ","")," ","") + +dim sql +select case xState + case "del" + sql="" + sql=sql&" Declare @start_dt Varchar(10) "&vbCrLf + sql=sql&" Declare @end_dt Varchar(10) "&vbCrLf + sql=sql&" Declare @user_no Varchar(8) "&vbCrLf + sql=sql&" Declare @d_no Varchar(20) "&vbCrLf + + '-- ¹®¼­¹øÈ£ + sql=sql&" Set @d_no = '"&xd_no&"' "&vbCrLf + '-- ÈÞ°¡Àϰæ¿ì ÈÞ°¡±â°£ Á¤º¸ + sql=sql&" SELECT @start_dt = Convert(varchar(10), target1), @end_dt = Convert(varchar(10), target2), @user_no = Convert(varchar(8), login_p_no) FROM ¹®¼­³»¿ë WHERE ¹®¼­Á¦¸ñ='ÈÞ°¡¿ø' AND ¹®¼­¹øÈ£= @d_no "&vbCrLf + + sql=sql&" UPDATE ¹®¼­³»¿ë SET del_yes_no = 'yes' "&vbCrLf + sql=sql&" WHERE ¹®¼­¹øÈ£ IN (SELECT d_no FROM cost_account WHERE job_prj_id IN (SELECT id FROM Job WHERE j_date BETWEEN @start_dt AND @end_dt AND j_p_no=@user_no AND j_detail_code > '0')) "&vbCrLf + sql=sql&" UPDATE Document SET d_delok='Y' "&vbCrLf + sql=sql&" WHERE d_no IN (SELECT d_no FROM cost_account WHERE job_prj_id IN (SELECT id FROM Job WHERE j_date BETWEEN @start_dt AND @end_dt AND j_p_no=@user_no AND j_detail_code > '0')) "&vbCrLf + sql=sql&" DELETE cost_account WHERE job_prj_id IN (SELECT id FROM Job WHERE j_date BETWEEN @start_dt AND @end_dt AND j_p_no=@user_no AND j_detail_code > '0') "&vbCrLf + sql=sql&" DELETE Job WHERE j_date BETWEEN @start_dt AND @end_dt AND j_p_no=@user_no AND j_detail_code > '0' "&vbCrLf + adoconn.execute sql + + '-- ÀüÇ¥ »èÁ¦Ã³¸® + '--(1) + sql="" + sql=sql&" update ¹®¼­³»¿ë set " + sql=sql&" del_yes_no = 'yes' " + sql=sql&" where ¹®¼­¹øÈ£='"&xd_no&"' " + '--(2) + sql=sql&" update Document set " + sql=sql&" d_delok='Y' " + sql=sql&" where d_no='"&xd_no&"' " + '--(3) + 'sql=sql&" update direct_cost set " + 'sql=sql&" del_yes_no='yes' " + 'sql=sql&" where krc_no='"&xd_no&"' " + adoconn.execute sql + + If UCASE(Mid(xd_no, 10, 1)) = "I" Then + sql=""&VbCrlf + sql = sql & " update direct_cost set "&VbCrlf + sql = sql & " act_money = "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " select act_money from direct_cost where del_yes_no = 'no' and p_child_sn = (select CAST(target10 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and hangmok = (select CAST(target11 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and sebu = (select d_cost_name from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 AS varchar(100)) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and cost_type = (select CAST(target16 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " ) - (select CAST(CAST(target5 AS varchar(100)) AS INT) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"'), "&VbCrlf + sql = sql & " cha_money = "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " select cha_money from direct_cost where del_yes_no = 'no' and p_child_sn = (select CAST(target10 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and hangmok = (select CAST(target11 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and sebu = (select d_cost_name from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 AS varchar(100)) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and cost_type = (select CAST(target16 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " ) - (select CAST(CAST(target5 AS varchar(100)) AS INT) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " where del_yes_no = 'no' and p_child_sn = (select CAST(target10 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and hangmok = (select CAST(target11 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and sebu = (select d_cost_name from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 AS varchar(100)) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + sql = sql & " and cost_type = (select CAST(target16 AS varchar(100)) from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = '"&xd_no&"') "&VbCrlf + adoconn.execute sql + End If + If UCASE(Mid(xd_no, 10, 1)) = "A" Then + sql = " " + sql = sql & " update direct_cost " + sql = sql & " set direct_cost.act_money = convert(money, direct_cost.act_money) - B.cost, direct_cost.cha_money = convert(money, direct_cost.cha_money) - B.cost " + sql = sql & " from ( " + sql = sql & " select p_child_sn, hangmok, sebu, sum(cost) as cost from " + sql = sql & " ( " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target21, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target21, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target22, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target22, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target23, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target23, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target24, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target24, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target25, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target25, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target26, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target26, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target27, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target27, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target28, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target28, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target29, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target29, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target30, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target30, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target31, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target31, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target32, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target32, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target33, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target33, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target34, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target34, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target35, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target35, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target36, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target36, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target37, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target37, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target38, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target38, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target39, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target39, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target40, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target40, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target41, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target41, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target42, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target42, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target43, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target43, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target44, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target44, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target45, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target45, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target46, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target46, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target47, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target47, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target48, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target48, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target49, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target49, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' union all " + sql = sql & " select A.p_child_sn, A.hangmok, A.sebu, B.act_money, B.cha_money , A.cost " + sql = sql & " from " + sql = sql & " ( select CAST(dbo.split(dbo.split(target50, '^//^', 1), '^^', 2) as varchar) as p_child_sn, " + sql = sql & " CAST(replace(dbo.split(target50, '^//^', 2), ',', '') as int) as cost, " + sql = sql & " CAST(target11 as varchar) as hangmok, d_cost_name as sebu " + sql = sql & " from ¹®¼­³»¿ë a left outer join direct_costcode dc on CAST(target12 as varchar) = dc.id where ¹®¼­¹øÈ£ = '"&xd_no&"' " + sql = sql & " ) A left outer join direct_cost B on A.p_child_sn = B.p_child_sn and A.hangmok = B.hangmok and A.sebu = B.sebu where B.del_yes_no='no' " + sql = sql & " ) M group by p_child_sn, hangmok, sebu " + sql = sql & " ) B " + sql = sql & " where direct_cost.p_child_sn = B.p_child_sn and direct_cost.hangmok = B.hangmok and direct_cost.sebu = B.sebu and direct_cost.del_yes_no = 'no' " + adoconn.execute sql + End If +end select +'@@@@@ »èÁ¦Ã³¸® ¡è @@@@@@@@@@@ + +x= request("x") +if x = "99" then + x = "3" +end if + +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if + +if x = "1" then + tmp_bg_color = "#FFE3EE" + tmp_button = "°áÀçÃë¼Ò" + tmp_btn_name = "approval/btn_approval_cancel" + web_position = "ÁøÇà ¹®¼­" +elseif x = "2" then + tmp_bg_color = "#FFE4B5" + tmp_button = "¸ñ·Ï»èÁ¦" + tmp_btn_name = "common/btn_list_del" + web_position = "¿Ï·á ¹®¼­" +elseif x = "3" then + tmp_bg_color = "#FFF8F4" + tmp_button = "¸ñ·Ï»èÁ¦" + tmp_btn_name = "common/btn_list_del" + web_position = "¹Ý·Á ¹®¼­" +elseif x = "4" then + web_position = "¹Ý·ÁÇÑ ¹®¼­" +elseif x = "all" then + tmp_bg_color = "#FFE4B5" + tmp_button = "¸ñ·Ï»èÁ¦" + tmp_btn_name = "common/btn_list_del" + web_position = "¹®¼­°áÀç : ¿Ï·á¹®¼­ - ÀüÁ÷¿ø" +end if +%> + +
+ +
+

<%=web_position%>

+
+ + +
+
+
+
+
+
+ + <% + query = " SELECT * " + query = query & " FROM Document a WITH(NOLOCK) " + query = query & " INNER JOIN ¹®¼­³»¿ë b WITH(NOLOCK) on a.d_no = b.¹®¼­¹øÈ£ " + if x <> "4" then '¹Ý·ÁÇÑ ¹®¼­´Â ÀÛ¼ºÀÚ¸¦ ¾Èµû¶ó°¨. + query = query & "WHERE b.login_p_no = '" & Session("User_Number") & "' " + else + query = query & "WHERE del_user_name = '" & Session("loginuser") & "' " + end if + if x = "1" then + query = query & " AND (a.d_order_cnt <> '77' or (a.d_order_cnt = '77' and a.d_orders <> '" & Session("User_Number") & "') ) " + query = query & " AND a.d_order_cnt <> '99' " + query = query & " AND b.del_yes_no = 'no' " + elseif x = "2" then '󸮿Ϸá + query = query & " AND a.d_order_cnt = '77' " + query = query & " AND a.d_orders = '" & Session("User_Number") & "' " + query = query & " AND b.del_yes_no = 'no' " + elseif x = "3" then '¹Ý·Á + query = query & " AND a.d_order_cnt = '99' " + elseif x = "4" then '¹Ý·ÁÇÑ ¹®¼­ + query = query & " AND a.d_order_cnt = '99' " + query = query & " AND b.del_yes_no = 'yes' " + end if + query = query & " AND a.d_view = 'Y' " + query = query & " AND b.¹®¼­Á¦¸ñ <> '¾÷¹«ÀÏÁö' AND b.¹®¼­Á¦¸ñ <> 'ºÎ¼­ºñ½Åû¼­' AND b.¹®¼­Á¦¸ñ <> 'Á¢´ëºñº¸°í¼­' " + query = query & "ORDER BY a.d_sn DESC " + + Rs.Open query, adoConn, 1 + tmp_count = Rs.RecordCount + %> + <%=xadmin_print%> + + + + + <%If x="1" Then %> + + + + <%End if%> + + + +
¸ñ·Ï°á°ú : ÃÑ <%=tmp_count%>°³ÀÇ Ç׸ñÀÌ ÀÖ½À´Ï´Ù.
¡Ø ÇÁ·ÎÁ§Æ® Á÷Á¢ºñÀÇ °æ¿ì ÀüÀÚ°áÀç »ó½Å½Ã, Á÷Á¢ºñ¿¡ ÇÕ»ê µÇ¹Ç·Î °áÀçÁß "°áÀçÃë¼Ò"°¡ ºÒ°¡´É ÇÕ´Ï´Ù
+ + + + + + + + + + + + <% + if Rs.RecordCount > 0 then + + Rs.PageSize = 20 + tmp_ok = 1 + PageCount = Rs.PageCount + Rs.absolutepage = tmp_Currentpage + tmp_total_record = Rs.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) + + if Rs.PageSize <= tmp_for then + if Rs.RecordCount <= Rs.PageSize then + tmp_for = Rs.recordcount + else + tmp_for = Rs.PageSize + end if + else + tmp_for = tmp_for + end if + + for i = 1 to tmp_for + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 + end if + + if x = "1" then + if Rs("d_order_cnt") = "7" then + tmp_txt = "°ü¸® ºÎ¼­Àå" + elseif Rs("d_order_cnt") = "6" then + tmp_txt = "°ü¸®ÀÚ" + elseif Rs("d_order_cnt") = "5" then + tmp_txt = "´ëÇ¥ÀÌ»ç" + elseif Rs("d_order_cnt") = "4" then + tmp_txt = "ÀÓ¿ø" + elseif Rs("d_order_cnt") = "3" then + tmp_txt = "ºÎ¼­Àå" + elseif Rs("d_order_cnt") = "2" then + tmp_txt = "ÆÀÀå" + elseif Rs("d_order_cnt") = "77" then + tmp_txt = "°æ¿µÁö¿ø½Ç ó¸®Áß" + end if + elseif x = "2" then + tmp_txt = "¿Ï·á" + elseif x = "3" or x = "4" then + tmp_txt = "¹Ý·Á" + x = "99" + end if + + tmp_flag = mid(Rs("d_no"), 10, 1) + if Rs("d_name") = "Á÷Á¢ºñ" then + tmpstr = Rs("p_sn") + else + tmpstr = Rs("d_no") + end If + + if Rs("d_name") = "¹®È­Ã¼À°ºñ½Åû¼­" then + tmp_flag = "o2" + end If + if Rs("d_name") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" then + tmp_flag = "t2" + end If + + if (tmp_admin_chk = "1" OR Session("loginuser") = "¾ç¿µÀº") AND Rs("¹®¼­Á¦¸ñ") = "ÁöÃâ°áÀǼ­" then + tmp_value = " - " & FormatNumber(Replace(Rs("target5"), ",", ""), 0) + elseif (tmp_admin_chk = "1" OR Session("loginuser") = "¾ç¿µÀº") AND Rs("¹®¼­Á¦¸ñ") = "ǰÀǼ­" then + tmp_value = " - " & FormatNumber(Replace(Rs("target5"), ",", ""), 0) & " [" & LEFT(Rs("target9"),20) & "]" + else + tmp_value = "" + end if + if not (isnull(Rs("p_sn")) or trim(Rs("p_sn")) = "") or right(Rs("¹®¼­Á¦¸ñ"), 7) = "¼ö´çÁöÃâ°áÀǼ­" then + tmp_value = tmp_value & " ¡ß(" + if right(Rs("¹®¼­Á¦¸ñ"), 7) = "¼ö´çÁöÃâ°áÀǼ­" then + tmp_value = tmp_value & "[" & mid(Rs("target20"), 4, 11) & "]   " & split(split(Rs("target21"), "^//^")(0), "^^")(1) + else + if instr(1,Rs("p_sn"),",") > 0 then + tmpstr = split(Rs("p_sn"),",") + for j = 0 to ubound(tmpstr) - 1 + if tmpstr(j) = "99999" then + tmp_value = tmp_value & "ÀϹݾ÷¹«" + Else + if len(tmpstr(j) ) < 5 then + query = "select * from project2_pre where p_sn_tmp = '" & tmpstr(j) & "'" & _ + " and (substring(write_date, 1, 4) = '" & left(date(), 4) & "' " & _ + " OR substring(write_date, 1, 4) = '" & left(date(), 4) - 1 & "') " + 'Response.Write "query : " & query & "
" + Adors.Open query,adoconn,1 + tmp_value = tmp_value & Adors("p_subject_tmp") + Adors.Close + elseif len(tmpstr(j)) > 9 Then + query = "select * from t_project_method where p_child_sn = '" & tmpstr(j) & "'" + 'Response.Write "query : " & query & "
" + Adors.Open query,adoconn,1 + tmp_value = tmp_value & Adors("p_subject") + Adors.Close + Else + query = "select p_subject from V_PROJECT where p_sn = '" & tmpstr(j) & "'" + 'Response.Write "query : " & query & "
" + Adors.Open query, adoConn, 1 + If Adors.RecordCount > 0 Then + tmp_value = tmp_value & Adors("p_subject") & ", " + End if + Adors.Close + end if + end if + next + else + if Rs("p_sn") = "99999" then + tmp_value = tmp_value & "ÀϹݾ÷¹«" + elseif len(Rs("p_sn")) < 5 then + query = "select * from project2_pre where p_sn_tmp = '" & Rs("p_sn") & "'" & _ + " and (substring(write_date, 1, 4) = '" & left(date(), 4) & "' " & _ + " OR substring(write_date, 1, 4) = '" & left(date(), 4) - 1 & "') " + 'Response.Write query & "
" + Adors.Open query,adoconn,1 + tmp_value = tmp_value & Adors("p_subject_tmp") + Adors.Close + elseif len(Rs("p_sn")) > 9 Then + query = "select * from t_project_method where p_child_sn = '" & Rs("p_sn") & "'" + 'Response.Write "query : " & query & "
" + Adors.Open query,adoconn,1 + if Adors.recordCount > 0 Then + tmp_value = tmp_value & Adors("p_subject") + End if + Adors.Close + else + query = "select p_subject from V_PROJECT where p_sn = '" & Rs("p_sn") & "'" + 'Response.Write query & "
" + Adors.Open query,adoconn,1 + If Adors.RecordCount > 0 Then + tmp_value = tmp_value & Adors("p_subject") + End if + Adors.Close + end if + end if + end if + tmp_value = tmp_value & ")" + end If + + If tmp_value = "¡ß()" Then + tmp_value = "" + End if + %> + + + + + + + + <% if x <> 99 and x = 1 and (Rs("¹®¼­Á¦¸ñ") <> "ÁöÃâ°áÀǼ­" or (Rs("¹®¼­Á¦¸ñ") = "ÁöÃâ°áÀǼ­" and Rs("target20") = "") ) then%> + + <% else %> + + <% end if %> + + + <% + Rs.MoveNext + next + end if + Rs.Close + %> +
No.¹®¼­ºÐ·ù°Å·¡Ã³ÁõºùÀÏÀÛ¼ºÀÏ󸮿äûÀμ⿩ºÎ
<%=Num%> + + <% if xadmin="1" and request.item("x")="2" then %> + <%select case UCase(tmp_flag)%> + <%case "I","A"%> + ','1','<%=x%>', '<%=Rs("p_sn")%>','del')" >[»èÁ¦] + <%end select %> + <%select case UCase(tmp_flag)%> + <%case "I","A"%> +  /  + ','1','<%=x%>', '<%=Rs("p_sn")%>','edit')" >[¼öÁ¤]   + <%end select %> + <%end if %> + + ','1','<%=x%>', '<%=Rs("p_sn")%>','')" class="blue"><%if Rs("d_name") = "ºÎ¼­ºñ½Åû¼­" then response.Write "±×·ì(Àå)Ȱµ¿ºñ" & "[" & Rs("d_no") & "]" & tmp_value else response.Write Rs("d_name") & "[" & Rs("d_no") & "]" & tmp_value end if %> + <% if Rs("¹®¼­Á¦¸ñ")="ÁöÃâ°áÀǼ­" or Rs("¹®¼­Á¦¸ñ")="ǰÀǼ­" or Rs("¹®¼­Á¦¸ñ")="ÀÚ±ÝÁýÇ༭" or Rs("¹®¼­Á¦¸ñ")="ÀԱݰáÀǼ­" then %> + <%=Rs("target8") %> + <% end if %> + + <% if Rs("¹®¼­Á¦¸ñ")="ÁöÃâ°áÀǼ­" or Rs("¹®¼­Á¦¸ñ")="ÀÚ±ÝÁýÇ༭" then%> + <%=Rs("target3")%> + <% end if%> + <%=Rs("d_write_date")%><%=tmp_txt%> + ','<%=x%>')" style="CURSOR:pointer;"> + <%=Rs("print_chk")%>
+ <%=Pagelist("mainpage_2014.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&b_type=" & b_type &"&x=" & request("x"))%> +
+
+
+
+
+
+
+ + + +
+ + diff --git a/approval/pdf/220926_세금계산서_지출결ì�˜ì„œ_작성안내(최종).pdf b/approval/pdf/220926_세금계산서_지출결ì�˜ì„œ_작성안내(최종).pdf new file mode 100644 index 0000000..c8ab486 Binary files /dev/null and b/approval/pdf/220926_세금계산서_지출결ì�˜ì„œ_작성안내(최종).pdf differ diff --git a/approval/pdf/220929_세금계산서 지출결ì�˜ì„œ 작성안내(최종).pdf b/approval/pdf/220929_세금계산서 지출결ì�˜ì„œ 작성안내(최종).pdf new file mode 100644 index 0000000..33e49d4 Binary files /dev/null and b/approval/pdf/220929_세금계산서 지출결ì�˜ì„œ 작성안내(최종).pdf differ diff --git a/approval/request_2014.asp b/approval/request_2014.asp new file mode 100644 index 0000000..b095d29 --- /dev/null +++ b/approval/request_2014.asp @@ -0,0 +1,263 @@ + + +<% +x = request("x") + +if x = "1" then + tmp_bg_color = "#FFE3EE" + web_position = "¿äû ¹®¼­" +elseif x = "2" then + tmp_bg_color = "#FFE4B5" + web_position = "ó¸® ¹®¼­" +elseif x = "all" then + tmp_bg_color = "#FFE3EE" + web_position = "¿äû ¹®¼­ - ÀüÁ÷¿ø" +end if + +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if +%> + +
+ +
+

<%=web_position%>

+
+ + +
+
+
+
+
+ <% + query = "SELECT RANK() OVER(PARTITION BY d_name, d_write_name order by ¹®¼­¹øÈ£) as ran, * " + query = query & "FROM Document a " + query = query & "INNER JOIN ¹®¼­³»¿ë b on a.d_no = b.¹®¼­¹øÈ£ " + query = query & "WHERE a.d_delok='N' " + query = query & "AND b.del_yes_no = 'no' " + query = query & "AND a.d_view='Y' " + query = query & "AND a.d_write_date > convert(varchar(10), DateAdd(m, -3, GETDATE()), 120) " + query = query & "AND b.¹®¼­Á¦¸ñ <> '¾÷¹«ÀÏÁö' " + if x = "1" or x = "all" then + query = query & " AND a.d_order_cnt <> '77' " + query = query & " AND a.d_order_cnt <> '99' " + '@@ ºÎ¼­ºñ½Åû¼­, Á¢´ëºñº¸°í¼­´Â ¾÷¹«ÀÏÁö·Î ó¸®ÇϹǷΠÁ¦¿Ü @@ + query = query & " AND b.¹®¼­Á¦¸ñ <> 'ºÎ¼­ºñ½Åû¼­' AND b.¹®¼­Á¦¸ñ <> 'Á¢´ëºñº¸°í¼­' " + elseif x = "2" then + query = query & " AND a.d_order_cnt = '77' " + '¼¼±Ý°è»ê¼­ ´ã´çÀÚ¿Í ÈÞ°¡¿ø, ÃâÅð±Ùº¸°í¼­ ÀÛ¼ºÀÚ´Â ÀÚ½ÅÀÌ ³½ °áÀç¹®¼­´Â Ç¥½Ã°¡ ¾ÈµÇ´Â ¿À·ùÀÖÀ½ ¤» + if tmp_admin_chk <> "1" then '(°³¹ßÀÚ°¡ ¸ðµç ¿äû¹®¼­¸¦ º¸°í ½ÍÀ» ¶§ ÁÖ¼® ÇØÁ¦) + query = query & " AND b.login_p_no <> '" & Session("User_Number") & "' " + end if + end if + if x = "1" or x = "2" then + if Session("user_number") = "20190301" then + 'query = query & " AND a.d_orders in ('" & Session("User_Number") & "', '20080101') " + query = query & " AND a.d_orders = '" & Session("User_Number") & "' " + elseif Session("user_number") = "20080101" then + 'query = query & " AND a.d_orders in ('" & Session("User_Number") & "', '20190301') " + query = query & " AND a.d_orders in ('" & Session("User_Number") & "') " + else + query = query & " AND a.d_orders = '" & Session("User_Number") & "' " + end if + + if x = "1" and (Session("user_number") = "20190301" or Session("user_number") = "20080101") then + query = query & " AND dbo.SPLIT(b.target99, '^^', 5) NOT LIKE '%" & Session("loginuser") & "%' " + query = query & " AND dbo.SPLIT(b.target99, '^^', 6) NOT LIKE '%" & Session("loginuser") & "%' " + end if + end if + + query = query & "ORDER BY a.d_sn DESC " +'response.Write query + Rs.Open query, adoConn, 1 + tmp_count = Rs.RecordCount + %> + + + + + + + +
¸ñ·Ï°á°ú : ÃÑ <%=tmp_count%>°³ÀÇ Ç׸ñÀÌ ÀÖ½À´Ï´Ù.
+ + + + + + + + <% + if Rs.RecordCount > 0 then + Rs.PageSize = 20 + tmp_ok = 1 + PageCount = Rs.PageCount + Rs.absolutepage = tmp_Currentpage + tmp_total_record = Rs.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) + + if Rs.PageSize <= tmp_for then + if Rs.RecordCount <= Rs.PageSize then + tmp_for = Rs.recordcount + else + tmp_for = Rs.PageSize + end if + else + tmp_for = tmp_for + end if + + for i = 1 to tmp_for + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 + end if + + tmp_flag = mid(Rs("d_no"), 10, 1) + if Rs("d_name") = "Á÷Á¢ºñ" then + tmpstr = Rs("p_sn") + else + tmpstr = Rs("d_no") + end If + + if Rs("d_name") = "¹®È­Ã¼À°ºñ½Åû¼­" then + tmp_flag = "o2" + end If + + if Rs("d_name") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" then + tmp_flag = "t2" + end If + tmp_value="" + if right(Rs("¹®¼­Á¦¸ñ"), 7) = "¼ö´çÁöÃâ°áÀǼ­" then + tmp_value = tmp_value & "  [" & mid(Rs("target20"), 4, 11) & "]   " & split(split(Rs("target21"), "^//^")(0), "^^")(1) + end If + %> + + + + + + + + <% + Rs.MoveNext + next + end if + Rs.Close + %> +
No.¹®¼­Á¦¸ñÀÛ¼ºÀÚÀÛ¼ºÀÏ
<%=Num%>','0','','<%=Rs("p_sn") %>', '<%=Rs("ran") %>')" class="blue"><% if Rs("d_name") = "ºÎ¼­ºñ½Åû¼­" then response.Write "±×·ì(Àå)Ȱµ¿ºñ" else response.Write Rs("d_name") end if%>[<%=Rs("d_no")%>]<%=tmp_value%><%=Rs("login_À̸§")%><%=Rs("d_write_date")%>
+ <%=Pagelist("request_2014.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&x=" & x)%> +
+
+
+
+
+
+ + + +
+ + diff --git a/approval/update_project_money.asp b/approval/update_project_money.asp new file mode 100644 index 0000000..50b75d9 --- /dev/null +++ b/approval/update_project_money.asp @@ -0,0 +1,612 @@ + +<% + dim tmpstr + dim Query + dim i + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Max_Width + dim title + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim krc_no + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim db_table_name + + db_table_name = "¹®¼­³»¿ë" + + title="ÇÁ·ÎÁ§Æ®°è¾à¾×¼öÁ¤" + Max_Width =750 + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + set rsp = server.CreateObject("ADODB.RECORDSET") + + +''//=============== +''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + Query = "select * from company" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + +''///=============== +''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + +''////////======================== +''°ª°¡Á®¿À±â + + print_type = request("print_type") + + + + 'Response.Write "no : " & krc_no & "
" + + if cint(print_type) = 2 then + '¸ÕÀú ÇÁ·ÎÁ§Æ®°è¾à¾×¼öÁ¤ÀÇ ¹®¼­¹øÈ£ »ý¼º + ''///=============== + ''¹®¼­¹øÈ£ Á¤º¸ + Query = "select ¹®¼­¹øÈ£ as krc_no from " & db_table_name + query = query & " where ¹®¼­Á¦¸ñ = '" & replace(title, " ", "") & "' " + query = query & " and substring(¹®¼­¹øÈ£,5,4) = '" & year(date) & "' " + query = query & " order by ¹®¼­¹øÈ£" + 'response.Write query & "
" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "u-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + tmp_txt1 = request("tmp_txt1") + tmp_txt2 = request("tmp_txt2") + tmp_txt3 = request("tmp_txt3") + tmp_txt4 = request("tmp_txt4") + tmp_txt5 = request("tmp_txt5") + tmp_txt6 = request("tmp_txt6") + tmp_txt7 = request("tmp_txt7") + tmp_txt8 = request("tmp_txt8") + tmp_txt9 = request("tmp_txt9") + tmp_txt10 = request("tmp_txt10") + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', 'ÇÁ·ÎÁ§Æ®°è¾à¾×¼öÁ¤', '" & Session("loginuser") & "', '" & date() & "', '10', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " + query = query & " 'Y', 'N') " + + 'Response.Write query & "
" + adoconn.execute query + '==================================================================== + + + '//======================== + '³»¿ë ÀúÀåÇϱâ + query = "insert into " & db_table_name & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, target1, target2, target3, target4, target5, " + query = query & " target97,target98,target99,target100,p_sn, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & request("updateMoney") & "', " + query = query & "'" & request("p_sur_memo") & "', " + query = query & "'" & request("currentMoney") & "', " + query = query & "'" & request("total_cost") & "', " + query = query & "'" & request("updateTotalMoney") & "', " + + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + + query = query & "'" & request("p_child_sn") & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "') " + 'Response.Write query & "
" + adoconn.execute query + + ''·Î±×ÀúÀå + query = "insert into " & db_table_name & "_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & krc_no & "', " + query = query & "'" & replace(title, " ", "") & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & replace(title, " ", "") & "Àμâ', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" &Session("USERIP") & "')" + if Request.ServerVariables("REMOTE_ADD") = "10.10.17.52" OR Request.ServerVariables("REMOTE_ADD") = "10.10.17.51" then + else + adoconn.execute query + end if + + If d_order_cnt = "77" then + query = " update t_project_method " + query = query & " set p_cont_cost = '"& request("updateMoney") &"' " + query = query & " where p_child_sn = '"& request("p_child_sn") &"' " + + adoconn.execute query + + query = " update t_project_base " + query = query & " set p_total_cost = '"& request("updateTotalMoney") &"' " + query = query & " where p_sn = '"& left(request("p_child_sn"), 7) &"' " + + adoconn.execute query + end if + end if + +%> + + + +<%=GNB_TITLE%> + + + + + + onLoad="clsit();" <% end if %>> + +
+ + + + +
+ + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + query = " select tpmc.p_method_nm, tpm.*, tpb.p_total_cost, (select isnull(sum(p_cont_cost), '') from t_project_method where p_sn = tpm.p_sn and p_child_sn <> tpm.p_child_sn) as else_cost " + query = query & " FROM T_PROJECT_METHOD tpm left outer join T_PROJECT_METHOD_CD tpmc on tpm.p_method_cd = tpmc.p_method_cd inner join T_PROJECT_BASE tpb on tpm.p_sn = tpb.p_sn " + query = query & " where tpm.p_child_sn = '" & request("p_child_sn") & "' " + query = query & " " + + 'response.Write query + rsp.Open query, adoConn, 1 + + Dim p_cont_cost + Dim total_cost + Dim else_cost + + If rsp.RecordCount > 0 then + if rsp("p_cont_cost") <> "" then + tmp_len = len(rsp("p_cont_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + p_cont_cost = "," & p_cont_cost + end if + p_cont_cost = left(right(rsp("p_cont_cost"),i), 1) & p_cont_cost + next + Else + p_cont_cost = 0 + end If + + if rsp("p_total_cost") <> "" then + tmp_len = len(rsp("p_total_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + total_cost = "," & total_cost + end if + total_cost = left(right(rsp("p_total_cost"),i), 1) & total_cost + next + Else + total_cost = 0 + end If + + if rsp("else_cost") <> "" then + else_cost = rsp("else_cost") + else + else_cost = 0 + end if + End If + + + + %> + + + + + + + + + <% rsp.close %> + + + + + + + + +
+ + + + + +
+ + <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if%> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = "Àü°á" + tmp_txt5 = tmp_txt + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+
+
°á ÀÇ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
ÇϱâÀÇ »çÀ¯·Î ÀÎÇØ, °è¾à¾×À» ¼öÁ¤ÇϰíÀÚ ÇÏ´Ï ½ÂÀÎÇÏ¿© Áֽñ⠹ٶø´Ï´Ù.
+ + + + + + + + + + +
ÇÁ·ÎÁ§Æ® ¹øÈ£ + " /> + <%=rsp("p_child_sn") %> +
ÇÁ·ÎÁ§Æ® ¸í(¾÷¹«)<%=rsp("p_subject") %>
+
+ + + + + + + + + + + + + + + + + + +
Á¶»ç¹æ¹ý<%=rsp("p_method_nm") %>°è¾àÀÏÀÚ<%=rsp("p_decide_date") %>
±âÁ¸°è¾à¾× + + "/> + <%=p_cont_cost %>¿ø
(Àüü¼öÁֱݾ×:<%=total_cost %>¿ø) +
¼öÁ¤°è¾à¾× + ¿ø
+ (Àüü¼öÁֱݾ×:¿ø) +
+
»çÀ¯ + +
+
+
 
+
 
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/approval/view_del4_ok.asp b/approval/view_del4_ok.asp new file mode 100644 index 0000000..74d7eba --- /dev/null +++ b/approval/view_del4_ok.asp @@ -0,0 +1,92 @@ + +<% +set rsd = server.CreateObject("ADODB.RECORDSET") + +d_no = request("d_no") +x = request("x") +y = request("y") + +query = "SELECT * " +query = query & "FROM Document as a " +query = query & " INNER JOIN ¹®¼­³»¿ë as b on a.d_no = b.¹®¼­¹øÈ£ " +query = query & "WHERE a.d_no='" & d_no & "' " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + if rsc("d_order_cnt") <> "77" then + if x = "1" then + + query = "UPDATE Document " + query = query & "SET " + query = query & " d_delok = 'Y', " + query = query & " d_view = 'N' " + query = query & "WHERE d_no = '" & d_no & "' " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + if rsc("d_name") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" then + query = "UPDATE t_neakeun_pay " + elseif rsc("d_name") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" then + query = "UPDATE t_myun_pay " + end if + query = query & "SET attribute05 = NULL , pay_month = '' " + query = query & "WHERE attribute05 = '"& d_no &"' " + + adoconn.execute query + '---------------------------------------------------------------------------------------------- + '---------------------------------------------------------------------------------------------- + + query = "UPDATE ¹®¼­³»¿ë " + query = query & "SET " + query = query & " del_yes_no = 'yes', " & _ + " del_date = '" & date() & "', " & _ + " del_time = '" & time() & "', " & _ + " del_reason = 'º»ÀÎÃë¼Ò', " & _ + " del_user_name = '" & session("loginuser") & "', " & _ + " del_ip = '" & Request.ServerVariables("REMOTE_ADDR") & "' " + query = query & "WHERE ¹®¼­¹øÈ£ = '" & d_no & "' " + end if + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + %> + + + + + + + + + + +
+ + + +<% + else + alert2 "ÀÌ¹Ì ¿Ï·áµÈ ¹®¼­ÀÔ´Ï´Ù." + end if +else + alert2 "DB ¿¡·¯. °ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇϼ¼¿ä" +end if +rsc.Close +%> \ No newline at end of file diff --git a/approval/view_del_ok.asp b/approval/view_del_ok.asp new file mode 100644 index 0000000..7566218 --- /dev/null +++ b/approval/view_del_ok.asp @@ -0,0 +1,323 @@ + +<% +set rsd = server.CreateObject("ADODB.RECORDSET") + +d_no = request("d_no") +x = request("x") + +query = "SELECT * " +query = query & "FROM Document as a " +query = query & " INNER JOIN ¹®¼­³»¿ë as b on a.d_no = b.¹®¼­¹øÈ£ " +query = query & "WHERE a.d_no='" & d_no & "' " + +if Request.ServerVariables("REMOTE_ADDR") = "::1" then + 'Response.Write query & "
" +end if +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + if rsc("d_delok") = "Y" then + response.Write "" + else + if x = "1" then + '°áÀçÃë¼Ò d_delok = '1' del_yes_no = 'yes' + query = "UPDATE Document " + query = query & "SET " + query = query & " d_delok = 'Y', " + query = query & " d_view = 'N' " + query = query & "WHERE d_no = '" & d_no & "' " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + '### cost_account Å×ÀÌºí¿¡ ÇØ´ç¹®¼­ ¹øÈ£ÀÇ ·¹Äڵ尡 ÀÖ´Ù¸é °áÀç󸮰¡ ¾ÈµÈ°É·Î ۰ªÀ» º¯°æÇÔ + '### ÁöÃâÁ¤»ê½ÂÀνÅû¼­¸¦ Ãë¼ÒÇÒ ¶§¸¸ ۰ªÀ» º¯°æÇÔ + if rsc("d_name") = "ÁöÃâÁ¤»ê½ÂÀνÅû¼­" then + query = "UPDATE cost_account " + query = query & "SET " + query = query & " approval = 'no' " + query = query & "WHERE d_no = '" & d_no & "' " + + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + end if + + '---------------------------------------------------------------------------------------------- + '#### Á÷Á¢ºñ °áÀç Ãë¼Ò½Ã direct_cost_cc Å×ÀÌºí °ªµµ º¯°æ + if rsc("d_name") = "Á÷Á¢ºñ" then + + query = "UPDATE direct_cost_cc " + query = query & "SET " + query = query & " d_viewok = 'N' " + query = query & "WHERE d_no = '" & d_no & "' " + + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + end if + '---------------------------------------------------------------------------------------------- + + '---------------------------------------------------------------------------------------------- + '####(2015-12-07) ³»±ÙÁ÷ ÁöÃâ°áÀǼ­ Ãë¼Ò½Ã T_neakeun_pay¿¡ ÀÖ´ø Pay_month¿Í attribute05¸¦ »«´Ù. + if rsc("d_name") = "³»±ÙÁ÷¼ö´çÁöÃâ°áÀǼ­" then + + query = " UPDATE T_NEAKEUN_PAY " + query = query & " SET pay_month = '', attribute05 = null " + query = query & " WHERE attribute05 = '" & d_no & "' " + + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + End if + '---------------------------------------------------------------------------------------------- + + '---------------------------------------------------------------------------------------------- + '####(2015-12-07) ³»±ÙÁ÷ ÁöÃâ°áÀǼ­ Ãë¼Ò½Ã T_neakeun_pay¿¡ ÀÖ´ø Pay_month¿Í attribute05¸¦ »«´Ù. + if rsc("d_name") = "¸éÁ¢¿ø¼ö´çÁöÃâ°áÀǼ­" then + + query = " UPDATE T_MYUN_PAY " + query = query & " SET pay_month = '', attribute05 = null " + query = query & " WHERE attribute05 = '" & d_no & "' " + + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + End if + '---------------------------------------------------------------------------------------------- + + '---------------------------------------------------------------------------------------------- + '#### ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­ °áÀç Ãë¼Ò½Ã t_project_method Å×ÀÌºí °ªµµ º¯°æ + if rsc("d_name") = "ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­" then + '''select * from ¹®¼­³»¿ë where ¹®¼­¹øÈ£ = 'KRC-2014-V-00331' + query = "select ¹®¼­¹øÈ£, p_sn, p_child_sn, d_order_cnt " + query = query & "FROM ¹®¼­³»¿ë as A " + query = query & "LEFT OUTER JOIN Document AS B " + query = query & "ON A.¹®¼­¹øÈ£ = B.d_no " + query = query & "where ¹®¼­¹øÈ£ = '" & d_no & "' " + + if Request.ServerVariables("REMOTE_ADDR") = "10.10.14.53" then + 'Response.Write query & "
" + end If + + rsd.Open query, adoConn, 1 + if rsd.RecordCount > 0 Then + If rsd("d_order_cnt") <> "99" Then + tmp_p_sub_type = rsd("p_child_sn") + + query = "UPDATE T_PROJECT_METHOD " + query = query & "SET " + query = query & " p_progress_status = '006' " + query = query & "WHERE p_sn = '" &rsd("p_sn") & "' " + + If InStr(tmp_p_sub_type, "_C") > 7 Then + query = query & "and p_sub_type = 'C' " + query = query & "and p_child_sn = '" & rsd("p_child_sn") & "' " + Else + query = query & "and p_sub_type = 'M' " + End if + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + End If + End If + rsd.close + end if + If rsc("d_name") = "±â±â¿¹¾à½Åû¼­" Then + query = " " + query = query & " Update Krc_device " + query = query & " Set T_STATUS = '' " + query = query & " , T_P_SN = '' " + query = query & " , T_P_NO = '' " + query = query & " , T_COL_DATE = '' " + query = query & " , KRC_NO = '' " + query = query & " Where KRC_NO = '" & d_no & "' " + query = query & " And T_USE_YN = 'Y' " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + end if + '---------------------------------------------------------------------------------------------- + '####(2014-07-31) ÁöÃâ°áÀǼ­ Ãë¼Ò½Ã direct_cost¿¡ ³Ö¾ú´ø act_money¸¦ »«´Ù. + 'response.Write "rsc('d_name'): " & rsc("d_name") &"
" + 'response.Write "left(rsc('p_sn'),4): " & left(rsc("p_sn"),4) &"
" + 'response.Write "left(rsc('p_sn'),4): " & left(rsc("p_sn"),4) &"
" + + if rsc("d_name") = "ÁöÃâ°áÀǼ­" then + If Mid(rsc("d_no"), 10, 1) = "A" Then + Dim tmp_rowData + Dim gap(30, 10) + + If rsc("target16") <> "common" Then + for i=1 to 30 + tmp_rowData = rsc("target"& CStr(20 + i)) + If Trim(tmp_rowData) <> "" Then + 'response.Write "tmp_rowData : " & tmp_rowData &"
" + contents_cnt = contents_cnt + 1 + tmp_Arr = split(tmp_rowData, "^//^") + replaceStr = CStr(i)+"^^" + gap(i, 1) = tmp_Arr(0) 'ÇÁ·ÎÁ§Æ® ¸í + gap(i, 1) = Replace(gap(i, 1), replaceStr, "") + gap(i, 2) = tmp_Arr(4) '¸Þ¸ð + gap(i, 3) = "" ' + gap(i, 4) = "" ' + gap(i, 5) = tmp_Arr(1) '°ø±Þ°¡¾× + gap(i, 6) = tmp_Arr(2) 'ºÎ°¡¼¼¾× + gap(i, 7) = tmp_Arr(3) 'ÀÔ±ÝÃÑ¾× + gap(i, 8) = "" ' + gap(i, 9) = gap(i, 1) 'ÇÁ·ÎÁ§Æ® ¹øÈ£ + gap(i, 10) = tmp_Arr(4) 'ºñ°í³»¿ë + + query = " SELECT est_money, act_money " + query = query & " FROM direct_cost " + query = query & " WHERE p_child_sn = '"& gap(i, 9) &"' " + query = query & " AND hangmok = '"&rsc("target11")&"' " + query = query & " AND del_yes_no = 'no' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"&rsc("target12")&"' " + query = query & " ) " + + rsd.Open query, adoConn, 1 + + act_money = clng(rsd("act_money")) - CDbl(Replace(gap(i, 5), ",", "")) + cha_money = rsd("est_money") - act_money + + 'Response.Write "1 : " & rsd("act_money") & "
" + 'Response.Write "2 : " & rsc("target5") & "
" + 'Response.Write "3 : " & act_money & "
" + rsd.close + + query = " UPDATE direct_cost " + query = query & " SET act_money = '"& act_money &"' " + query = query & " ,cha_money = '"& cha_money &"' " + query = query & " WHERE p_child_sn = '"& gap(i, 9) &"' " + query = query & " AND hangmok = '"&rsc("target11")&"' " + query = query & " AND del_yes_no = 'no' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"&rsc("target12")&"' " + query = query & " ) " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + End if + Next + End if + ElseIf left(rsc("p_sn"),4) > "1406" and left(rsc("p_sn"),4) <> "9999" then + query = " SELECT est_money, act_money " + query = query & " FROM direct_cost " + query = query & " WHERE p_child_sn = '"& rsc("target10")&"' " + query = query & " AND hangmok = '"&rsc("target11")&"' " + query = query & " AND del_yes_no = 'no' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"&rsc("target12")&"' " + query = query & " ) " + + rsd.Open query, adoConn, 1 + + act_money = clng(rsd("act_money")) - rsc("target5") + cha_money = rsd("est_money") - act_money + + 'Response.Write "1 : " & rsd("act_money") & "
" + 'Response.Write "2 : " & rsc("target5") & "
" + 'Response.Write "3 : " & act_money & "
" + rsd.close + + query = " UPDATE direct_cost " + query = query & " SET act_money = '"& act_money &"' " + query = query & " ,cha_money = '"& cha_money &"' " + query = query & " WHERE p_child_sn = '"& rsc("target10")&"' " + query = query & " AND hangmok = '"&rsc("target11")&"' " + query = query & " AND del_yes_no = 'no' " + query = query & " AND sebu = ( " + query = query & " SELECT d_cost_name " + query = query & " FROM direct_costcode " + query = query & " WHERE id = '"&rsc("target12")&"' " + query = query & " ) " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + End if + end if + '---------------------------------------------------------------------------------------------- + '---------------------------------------------------------------------------------------------- + + query = "UPDATE ¹®¼­³»¿ë " + query = query & "SET " + query = query & " del_yes_no = 'yes', " & _ + " del_date = '" & date() & "', " & _ + " del_time = '" & time() & "', " & _ + " del_reason = 'º»ÀÎÃë¼Ò', " & _ + " del_user_name = '" & session("loginuser") & "', " & _ + " del_ip = '" & Request.ServerVariables("REMOTE_ADDR") & "' " + query = query & "WHERE ¹®¼­¹øÈ£ = '" & d_no & "' " + + elseif x = "2" or x = "3" then + 'd_view¸¦ N·Î ±³Ã¼ + query = "UPDATE Document " + query = query & "SET " + query = query & " d_view = 'N' " + query = query & "WHERE d_no = '" & d_no & "' " + end if + + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + end if +%> + + + + + + + + + + + + + + +<% + +else + alert2 "DB ¿¡·¯. °ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇϼ¼¿ä" +end if 'if rsc.RecordCount > 0 then +rsc.Close +%> \ No newline at end of file diff --git a/approval/view_pass.asp b/approval/view_pass.asp new file mode 100644 index 0000000..a96bc54 --- /dev/null +++ b/approval/view_pass.asp @@ -0,0 +1,170 @@ + + +<% +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if +%> + +
+ +
+

ºÎÀç ¹®¼­

+
+ + +
+
+
+
+
+ + <% + query = "SELECT A.d_sn, A.d_no, B.¹®¼­Á¦¸ñ, B.p_sn, A.d_orders, A.d_write_date, A.d_view, A.d_delok " + query = query & "FROM [Document_pass] as A " + query = query & "LEFT OUTER JOIN ¹®¼­³»¿ë as B " + query = query & "ON A.d_no = B.¹®¼­¹øÈ£ " + query = query & "WHERE A.d_delok = 'N' " + query = query & " AND A.d_view = 'Y' " + query = query & " AND A.d_orders = '" & Session("User_Number") & "' " + query = query & "ORDER BY A.d_sn DESC " + + Rs.Open query, adoConn, 1 + tmp_count = Rs.RecordCount + %> + + + + + + + +
¸ñ·Ï°á°ú : ÃÑ <%=tmp_count%>°³ÀÇ Ç׸ñÀÌ ÀÖ½À´Ï´Ù.
+ + + + + + + <% + if Rs.RecordCount > 0 then + + Rs.PageSize = 20 + tmp_ok = 1 + PageCount = Rs.PageCount + Rs.absolutepage = tmp_Currentpage + tmp_total_record = Rs.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) + + if Rs.PageSize <= tmp_for then + if Rs.RecordCount <= Rs.PageSize then + tmp_for = Rs.recordcount + else + tmp_for = Rs.PageSize + end if + else + tmp_for = tmp_for + end if + + for i = 1 to tmp_for + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 + end if + + if i mod 2 = 1 then + tmp_bgcolor = "#ffffff" + else + tmp_bgcolor = "#dbe9f2" + end if + + tmp_flag = mid(Rs("d_no"), 10, 1) + + %> + + + + + + + <% + Rs.MoveNext + next + end if + Rs.Close + %> +
No.¹®¼­ºÐ·ùó¸®ÀÏ
<%=Num%>','1','<%=x%>', '<%=Rs("p_sn")%>')" class="blue"><%if Rs("¹®¼­Á¦¸ñ") = "ºÎ¼­ºñ½Åû¼­" then response.Write "±×·ì(Àå)Ȱµ¿ºñ" else response.Write Rs("¹®¼­Á¦¸ñ") end if%><%=Rs("d_write_date")%>
+ <%=Pagelist("view_pass.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&b_type=" & b_type &"&x=" & x)%> +
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/approval/work.asp b/approval/work.asp new file mode 100644 index 0000000..91244b0 --- /dev/null +++ b/approval/work.asp @@ -0,0 +1,53 @@ + + +<%'#################################################### +'°¢Á¤ 󸮸¦ À§ÇÑ ÆäÀÌÁö +'1. °¡Áö±Þ±Ý Á¤»ê ¿Ï·á/¹Ì¿Ï·á¸¦ ó¸® +'#################################################### + + + Response.Expires = 0 + 'Response.Buffer = false + + + d_no = request("d_no") + + title = request("title") + part = request("part") + arr = request("arr") + + + if instr(1, part, ",") then + tmp = split(part, ",") + tmp_part= trim(tmp(int(arr) - 1)) + else + tmp_part= part + end if + + query = "UPDATE ¹®¼­³»¿ë " + query = query & "SET " + query = query & " part = '" & tmp_part & "' " + query = query & "WHERE ¹®¼­¹øÈ£ = '" & d_no & "' " + + adoconn.execute query + + %> + + + + + + + + + + + + diff --git a/barobill/BaroService_TI.asp b/barobill/BaroService_TI.asp new file mode 100644 index 0000000..7fbb807 --- /dev/null +++ b/barobill/BaroService_TI.asp @@ -0,0 +1,689 @@ +<% +'================================================================================================ +'¹Ù·Îºô ÀüÀÚ¼¼±Ý°è»ê¼­ ¿¬µ¿¼­ºñ½º +'version : 3.8 (2015-10) +' +'¹Ù·Îºô ¿¬µ¿°³¹ßÁö¿ø »çÀÌÆ® +'http://dev.barobill.co.kr/ +'================================================================================================ +Class BaroService_TI + + Private BAROSERVICE_URL + + '------------------------------------------------------------------------------------------------ + ' »ý¼ºÀÚ + '------------------------------------------------------------------------------------------------ + Private Sub Class_Initialize() + + '------------------------------------------------------------------------------------------------ + '¹Ù·Îºô ¿¬µ¿¼­ºñ½º À¥¼­ºñ½º ÂüÁ¶(WebService Reference) URL + 'BAROSERVICE_URL = "http://testws.baroservice.com/TI.asmx?WSDL" 'Å×½ºÆ®º£µå¿ë + BAROSERVICE_URL = "http://ws.baroservice.com/TI.asmx?WSDL" '½Ç¼­ºñ½º¿ë + + End Sub + + '------------------------------------------------------------------------------------------------ + ' ¼Ò¸êÀÚ + '------------------------------------------------------------------------------------------------ + Private Sub Class_Terminate() + BAROSERVICE_URL = "" + End Sub + + '------------------------------------------------------------------------------------------------ + ' Åë½Å + '------------------------------------------------------------------------------------------------ + + 'SOAP Åë½Å ½ÇÇà + Private Function BaroService_SOAPCALL(ByVal FunctionName, ByVal SOAPBODY) + + Set xmlHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") + xmlHTTP.open "POST", BAROSERVICE_URL, False + xmlHTTP.setRequestHeader "Content-Type", "text/xml; charset=utf-8" + xmlHTTP.setRequestHeader "SOAPAction", "http://ws.baroservice.com/" & FunctionName + xmlHTTP.send _ + "" & _ + "" & _ + " " & _ + SOAPBODY & _ + " " & _ + "" + + If xmlHTTP.status <> 200 Then + BaroService_SOAPCALL = "" + Exit Function + End If + + BaroService_SOAPCALL = xmlHTTP.responsetext + + End Function + + 'Ư¼ö¹®ÀÚ Ä¡È¯ + Private Function ReplaceSpecialString(ByVal Str) + + If IsNull(Str) Then + ReplaceSpecialString = "" + Exit Function + End If + Output = Replace(Str,"&","&") + Output = Replace(Output,"<","<") + Output = Replace(Output,">",">") + + ReplaceSpecialString = Output + + End Function + + '³ëµå °ª ¹Ýȯ + Private Function GetNodeText(ByVal Node, ByVal Path) + If Node is nothing Then + GetNodeText = "" + Else + Set CheckNode = Node.selectsinglenode(Path) + If Not CheckNode Is Nothing Then + GetNodeText = CheckNode.text + Else + GetNodeText = "" + End If + End If + End Function + + '¿À·ùÄÚµå ³»¿ë ¹Ýȯ + Public Function GetErrString(ByVal CERTKEY, ByVal ErrCode) + + If ErrCode = "-9999" Then + GetErrString = "SOAPÅë½Å ¿À·ù

1. ¿¬µ¿¼­ºñ½º ÂüÁ¶URLÀ» È®ÀÎÇϽʽÿÀ.
2. È£ÃâÇÏ´Â ¿¬µ¿ÇÔ¼öÀÇ ÆÄ¶ó¸ÞÅ͸¦ È®ÀÎÇϽʽÿÀ." + Else + SOAPBODY = _ + " " & _ + " " & CERTKEY & "" & _ + " " & ErrCode & "" & _ + " " + Result = BaroService_SOAPCALL("GetErrString",SOAPBODY) + + If Result <> "" Then + Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument") + xmlDoc.Loadxml(Result) + + GetErrString = xmldoc.selectsinglenode("//GetErrStringResult").text + Else + GetErrString = "SOAPÅë½Å ¿À·ù

1. ¿¬µ¿¼­ºñ½º ÂüÁ¶URLÀ» È®ÀÎÇϽʽÿÀ.
2. È£ÃâÇÏ´Â ¿¬µ¿ÇÔ¼öÀÇ ÆÄ¶ó¸ÞÅ͸¦ È®ÀÎÇϽʽÿÀ." + End If + End If + + End Function + + 'Ping + Public Function Ping() + + SOAPBODY = _ + " " + Result = BaroService_SOAPCALL("Ping",SOAPBODY) + + If Result <> "" Then + Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument") + xmlDoc.Loadxml(Result) + + Ping = Result + Else + Ping = "-9999" + End If + + End Function + + '------------------------------------------------------------------------------------------------ + ' ÀüÀÚ¼¼±Ý°è»ê¼­ °ü·Ã API + '------------------------------------------------------------------------------------------------ + '¹®¼­Á¤º¸NK + Public Function GetTaxInvoiceNK(ByVal CERTKEY, ByVal CorpNum, ByVal NTSConfirmNum) + + SOAPBODY = _ + " " & _ + " " & CERTKEY & "" & _ + " " & ReplaceSpecialString(CorpNum) & "" & _ + " " & ReplaceSpecialString(NTSConfirmNum) & "" & _ + " " + Result = BaroService_SOAPCALL("GetTaxInvoiceNK",SOAPBODY) + + Dim clsTI + Set clsTI = New TaxInvoice + + If Result <> "" Then + Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument") + xmlDoc.Loadxml(Result) + + Set NodeList = xmlDoc.selectNodes("//GetTaxInvoiceNKResult") + If NodeList.length > 0 Then + + clsTI.InvoiceKey = GetNodeText(NodeList(0),"./InvoiceKey") + clsTI.InvoiceeASPEmail = GetNodeText(NodeList(0),"./InvoiceeASPEmail") + clsTI.IssueDirection = GetNodeText(NodeList(0),"./IssueDirection") + clsTI.TaxInvoiceType = GetNodeText(NodeList(0),"./TaxInvoiceType") + clsTI.TaxType = GetNodeText(NodeList(0),"./TaxType") + clsTI.TaxCalcType = GetNodeText(NodeList(0),"./TaxCalcType") + clsTI.PurposeType = GetNodeText(NodeList(0),"./PurposeType") + clsTI.ModifyCode = GetNodeText(NodeList(0),"./ModifyCode") + clsTI.Kwon = GetNodeText(NodeList(0),"./Kwon") + clsTI.Ho = GetNodeText(NodeList(0),"./Ho") + clsTI.SerialNum = GetNodeText(NodeList(0),"./SerialNum") + clsTI.Cash = GetNodeText(NodeList(0),"./Cash") + clsTI.ChkBill = GetNodeText(NodeList(0),"./ChkBill") + clsTI.Note = GetNodeText(NodeList(0),"./Note") + clsTI.Credit = GetNodeText(NodeList(0),"./Credit") + clsTI.WriteDate = GetNodeText(NodeList(0),"./WriteDate") + clsTI.AmountTotal = GetNodeText(NodeList(0),"./AmountTotal") + clsTI.TaxTotal = GetNodeText(NodeList(0),"./TaxTotal") + clsTI.TotalAmount = GetNodeText(NodeList(0),"./TotalAmount") + clsTI.Remark1 = GetNodeText(NodeList(0),"./Remark1") + clsTI.Remark2 = GetNodeText(NodeList(0),"./Remark2") + clsTI.Remark3 = GetNodeText(NodeList(0),"./Remark3") + + Set clsTI.InvoicerParty = New InvoiceParty + Set NodeInvoicerList = xmlDoc.selectNodes("//InvoicerParty") + clsTI.InvoicerParty.MgtNum = GetNodeText(NodeInvoicerList(0),"./MgtNum") + clsTI.InvoicerParty.CorpNum = GetNodeText(NodeInvoicerList(0),"./CorpNum") + clsTI.InvoicerParty.TaxRegID = GetNodeText(NodeInvoicerList(0),"./TaxRegID") + clsTI.InvoicerParty.CorpName = GetNodeText(NodeInvoicerList(0),"./CorpName") + clsTI.InvoicerParty.CEOName = GetNodeText(NodeInvoicerList(0),"./CEOName") + clsTI.InvoicerParty.Addr = GetNodeText(NodeInvoicerList(0),"./Addr") + clsTI.InvoicerParty.BizClass = GetNodeText(NodeInvoicerList(0),"./BizClass") + clsTI.InvoicerParty.BizType = GetNodeText(NodeInvoicerList(0),"./BizType") + clsTI.InvoicerParty.ContactID = GetNodeText(NodeInvoicerList(0),"./ContactID") + clsTI.InvoicerParty.ContactName = GetNodeText(NodeInvoicerList(0),"./ContactName") + clsTI.InvoicerParty.TEL = GetNodeText(NodeInvoicerList(0),"./TEL") + clsTI.InvoicerParty.HP = GetNodeText(NodeInvoicerList(0),"./HP") + clsTI.InvoicerParty.Email = GetNodeText(NodeInvoicerList(0),"./Email") + + Set clsTI.InvoiceeParty = New InvoiceParty + Set NodeInvoiceeList = xmlDoc.selectNodes("//InvoiceeParty") + clsTI.InvoiceeParty.MgtNum = GetNodeText(NodeInvoiceeList(0),"./MgtNum") + clsTI.InvoiceeParty.CorpNum = GetNodeText(NodeInvoiceeList(0),"./CorpNum") + clsTI.InvoiceeParty.TaxRegID = GetNodeText(NodeInvoiceeList(0),"./TaxRegID") + clsTI.InvoiceeParty.CorpName = GetNodeText(NodeInvoiceeList(0),"./CorpName") + clsTI.InvoiceeParty.CEOName = GetNodeText(NodeInvoiceeList(0),"./CEOName") + clsTI.InvoiceeParty.Addr = GetNodeText(NodeInvoiceeList(0),"./Addr") + clsTI.InvoiceeParty.BizClass = GetNodeText(NodeInvoiceeList(0),"./BizClass") + clsTI.InvoiceeParty.BizType = GetNodeText(NodeInvoiceeList(0),"./BizType") + clsTI.InvoiceeParty.ContactID = GetNodeText(NodeInvoiceeList(0),"./ContactID") + clsTI.InvoiceeParty.ContactName = GetNodeText(NodeInvoiceeList(0),"./ContactName") + clsTI.InvoiceeParty.TEL = GetNodeText(NodeInvoiceeList(0),"./TEL") + clsTI.InvoiceeParty.HP = GetNodeText(NodeInvoiceeList(0),"./HP") + clsTI.InvoiceeParty.Email = GetNodeText(NodeInvoiceeList(0),"./Email") + + Set clsTI.BrokerParty = New InvoiceParty + Set NodeBrokerList = xmlDoc.selectNodes("//BrokerParty") + clsTI.BrokerParty.MgtNum = GetNodeText(NodeBrokerList(0),"./MgtNum") + clsTI.BrokerParty.CorpNum = GetNodeText(NodeBrokerList(0),"./CorpNum") + clsTI.BrokerParty.TaxRegID = GetNodeText(NodeBrokerList(0),"./TaxRegID") + clsTI.BrokerParty.CorpName = GetNodeText(NodeBrokerList(0),"./CorpName") + clsTI.BrokerParty.CEOName = GetNodeText(NodeBrokerList(0),"./CEOName") + clsTI.BrokerParty.Addr = GetNodeText(NodeBrokerList(0),"./Addr") + clsTI.BrokerParty.BizClass = GetNodeText(NodeBrokerList(0),"./BizClass") + clsTI.BrokerParty.BizType = GetNodeText(NodeBrokerList(0),"./BizType") + clsTI.BrokerParty.ContactID = GetNodeText(NodeBrokerList(0),"./ContactID") + clsTI.BrokerParty.ContactName = GetNodeText(NodeBrokerList(0),"./ContactName") + clsTI.BrokerParty.TEL = GetNodeText(NodeBrokerList(0),"./TEL") + clsTI.BrokerParty.HP = GetNodeText(NodeBrokerList(0),"./HP") + clsTI.BrokerParty.Email = GetNodeText(NodeBrokerList(0),"./Email") + + Set NodeItemList = xmldoc.selectNodes("//TaxInvoiceTradeLineItem") + If NodeItemList.length > 0 Then + Dim ItemList(), clsItem + ReDim ItemList(NodeItemList.length - 1) + + For i = 0 To NodeItemList.length - 1 + Set clsItem = New TaxInvoiceTradeLineItem + clsItem.PurchaseExpiry = GetNodeText(NodeItemList(i), "./PurchaseExpiry") + clsItem.Name = GetNodeText(NodeItemList(i), "./Name") + clsItem.Information = GetNodeText(NodeItemList(i), "./Information") + clsItem.ChargeableUnit = GetNodeText(NodeItemList(i), "./ChargeableUnit") + clsItem.UnitPrice = GetNodeText(NodeItemList(i), "./UnitPrice") + clsItem.Amount = GetNodeText(NodeItemList(i), "./Amount") + clsItem.Tax = GetNodeText(NodeItemList(i), "./Tax") + clsItem.Description = GetNodeText(NodeItemList(i), "./Description") + + Set ItemList(i) = clsItem + Next + clsTI.TaxInvoiceTradeLineItems = ItemList + Else + clsTI.TaxInvoiceTradeLineItems = Null + End If + + End If + + Set GetTaxInvoiceNK = clsTI + Else + Set GetTaxInvoiceNK = clsTI + End If + + End Function + + '¹®¼­ ³»¿ëº¸±â ÆË¾÷ URL (±¹¼¼Ã»½ÂÀιøÈ£) + Public Function GetTaxInvoicePopUpURLNK(ByVal CERTKEY, ByVal CorpNum, ByVal NTSConfirmNum, ByVal UserID, ByVal PWD) + + SOAPBODY = _ + " " & _ + " " & CERTKEY & "" & _ + " " & ReplaceSpecialString(CorpNum) & "" & _ + " " & ReplaceSpecialString(NTSConfirmNum) & "" & _ + " " & ReplaceSpecialString(UserID) & "" & _ + " " & ReplaceSpecialString(PWD) & "" & _ + " " + Result = BaroService_SOAPCALL("GetTaxInvoicePopUpURLNK",SOAPBODY) + + If Result <> "" Then + Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument") + xmlDoc.Loadxml(Result) + + GetTaxInvoicePopUpURLNK = xmldoc.selectsinglenode("//GetTaxInvoicePopUpURLNKResult").text + Else + GetTaxInvoicePopUpURLNK = "-9999" + End If + + End Function + + '¿ùº° ±¹¼¼Ã» ¼¼±Ý°è»ê¼­ ¸ÅÀÔ ³»¿ª (´ëǥǰ¸ñ Æ÷ÇÔ) + Public Function GetMonthlyTaxInvoicePurchaseList(ByVal CERTKEY, ByVal CorpNum, ByVal UserID, ByVal TaxType, ByVal DateType, ByVal BaseMonth, ByVal CountPerPage, ByVal CurrentPage, ByVal OrderDirection) + + SOAPBODY = _ + " " & _ + " " & CERTKEY & "" & _ + " " & ReplaceSpecialString(CorpNum) & "" & _ + " " & ReplaceSpecialString(UserID) & "" & _ + " " & ReplaceSpecialString(TaxType) & "" & _ + " " & ReplaceSpecialString(DateType) & "" & _ + " " & ReplaceSpecialString(BaseMonth) & "" & _ + " " & ReplaceSpecialString(CountPerPage) & "" & _ + " " & ReplaceSpecialString(CurrentPage) & "" & _ + " " & ReplaceSpecialString(OrderDirection) & "" & _ + " " + Result = BaroService_SOAPCALL("GetMonthlyTaxInvoicePurchaseList", SOAPBODY) + + + If (Result <> "") Then + Set xmlDoc = CreateObject("MSXML2.DOMDocument") + + xmlDoc.Loadxml (Result) + + Set SimpleTaxInvoiceExs = xmlDoc.selectNodes("//SimpleTaxInvoiceEx") + + Dim newPagedTaxInvoiceEx + + Set newPagedTaxInvoiceEx = New PagedTaxInvoiceEx + + Set NodeList = xmlDoc.selectsinglenode("//GetMonthlyTaxInvoicePurchaseListResult") + + newPagedTaxInvoiceEx.CurrentPage = NodeList.selectsinglenode("./CurrentPage").Text + newPagedTaxInvoiceEx.MaxIndex = NodeList.selectsinglenode("./MaxIndex").Text + newPagedTaxInvoiceEx.CountPerPage = NodeList.selectsinglenode("./CountPerPage").Text + newPagedTaxInvoiceEx.MaxPageNum = NodeList.selectsinglenode("./MaxPageNum").Text + + + Dim SimpleTaxInvoiceExList() + + If SimpleTaxInvoiceExs.Length > 0 Then + ReDim SimpleTaxInvoiceExList(SimpleTaxInvoiceExs.Length - 1) + + Dim newSimpleTaxInvoiceEx + + For i = 0 To SimpleTaxInvoiceExs.Length - 1 + + Set newSimpleTaxInvoiceEx = New SimpleTaxInvoiceEx + + newSimpleTaxInvoiceEx.NTSSendKey = SimpleTaxInvoiceExs(i).selectsinglenode("./NTSSendKey").Text + newSimpleTaxInvoiceEx.NTSSendDT = SimpleTaxInvoiceExs(i).selectsinglenode("./NTSSendDT").Text + newSimpleTaxInvoiceEx.IssueDT = SimpleTaxInvoiceExs(i).selectsinglenode("./IssueDT").Text + newSimpleTaxInvoiceEx.WriteDate = SimpleTaxInvoiceExs(i).selectsinglenode("./WriteDate").Text + newSimpleTaxInvoiceEx.ModifyCode = SimpleTaxInvoiceExs(i).selectsinglenode("./ModifyCode").Text + newSimpleTaxInvoiceEx.TaxType = SimpleTaxInvoiceExs(i).selectsinglenode("./TaxType").Text + newSimpleTaxInvoiceEx.PurposeType = SimpleTaxInvoiceExs(i).selectsinglenode("./PurposeType").Text + + newSimpleTaxInvoiceEx.InvoicerCorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerCorpNum").Text + newSimpleTaxInvoiceEx.InvoicerTaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerTaxRegID").Text + newSimpleTaxInvoiceEx.InvoicerCorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerCorpName").Text + newSimpleTaxInvoiceEx.InvoicerCEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerCEOName").Text + newSimpleTaxInvoiceEx.InvoicerAddr = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerAddr").Text + newSimpleTaxInvoiceEx.InvoicerBizType = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerBizType").Text + newSimpleTaxInvoiceEx.InvoicerBizClass = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerBizClass").Text + newSimpleTaxInvoiceEx.InvoicerContactName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerContactName").Text + newSimpleTaxInvoiceEx.InvoicerEmail = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerEmail").Text + + newSimpleTaxInvoiceEx.InvoiceeCorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeCorpNum").Text + newSimpleTaxInvoiceEx.InvoiceeTaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeTaxRegID").Text + newSimpleTaxInvoiceEx.InvoiceeCorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeCorpName").Text + newSimpleTaxInvoiceEx.InvoiceeCEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeCEOName").Text + newSimpleTaxInvoiceEx.InvoiceeAddr = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeAddr").Text + newSimpleTaxInvoiceEx.InvoiceeBizType = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeBizType").Text + newSimpleTaxInvoiceEx.InvoiceeBizClass = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeBizClass").Text + newSimpleTaxInvoiceEx.InvoiceeContactName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeContactName").Text + newSimpleTaxInvoiceEx.InvoiceeEmail = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeEmail").Text + + newSimpleTaxInvoiceEx.BrokerCorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerCorpNum").Text + newSimpleTaxInvoiceEx.BrokerTaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerTaxRegID").Text + newSimpleTaxInvoiceEx.BrokerCorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerCorpName").Text + newSimpleTaxInvoiceEx.BrokerCEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerCEOName").Text + newSimpleTaxInvoiceEx.BrokerAddr = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerAddr").Text + newSimpleTaxInvoiceEx.BrokerBizType = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerBizType").Text + newSimpleTaxInvoiceEx.BrokerBizClass = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerBizClass").Text + newSimpleTaxInvoiceEx.BrokerContactName = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerContactName").Text + newSimpleTaxInvoiceEx.BrokerEmail = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerEmail").Text + + newSimpleTaxInvoiceEx.AmountTotal = SimpleTaxInvoiceExs(i).selectsinglenode("./AmountTotal").Text + newSimpleTaxInvoiceEx.TaxTotal = SimpleTaxInvoiceExs(i).selectsinglenode("./TaxTotal").Text + newSimpleTaxInvoiceEx.TotalAmount = SimpleTaxInvoiceExs(i).selectsinglenode("./TotalAmount").Text + newSimpleTaxInvoiceEx.Cash = SimpleTaxInvoiceExs(i).selectsinglenode("./Cash").Text + newSimpleTaxInvoiceEx.ChkBill = SimpleTaxInvoiceExs(i).selectsinglenode("./ChkBill").Text + newSimpleTaxInvoiceEx.Note = SimpleTaxInvoiceExs(i).selectsinglenode("./Note").Text + newSimpleTaxInvoiceEx.Credit = SimpleTaxInvoiceExs(i).selectsinglenode("./Credit").Text + newSimpleTaxInvoiceEx.Remark1 = SimpleTaxInvoiceExs(i).selectsinglenode("./Remark1").Text + newSimpleTaxInvoiceEx.Remark2 = SimpleTaxInvoiceExs(i).selectsinglenode("./Remark2").Text + newSimpleTaxInvoiceEx.Remark3 = SimpleTaxInvoiceExs(i).selectsinglenode("./Remark3").Text + newSimpleTaxInvoiceEx.ItemName = SimpleTaxInvoiceExs(i).selectsinglenode("./ItemName").Text + + newSimpleTaxInvoiceEx.CorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./CorpNum").Text + newSimpleTaxInvoiceEx.TaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./TaxRegID").Text + newSimpleTaxInvoiceEx.CorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./CorpName").Text + newSimpleTaxInvoiceEx.CEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./CEOName").Text + + Set SimpleTaxInvoiceExList(i) = newSimpleTaxInvoiceEx + + Next + + newPagedTaxInvoiceEx.SimpleTaxInvoiceExList = SimpleTaxInvoiceExList + Else + newPagedTaxInvoiceEx.SimpleTaxInvoiceExList = Null + End If + + Set GetMonthlyTaxInvoicePurchaseList = newPagedTaxInvoiceEx + Else + Set GetMonthlyTaxInvoicePurchaseList = newPagedTaxInvoiceEx + End If + + End Function + +End Class + +'¹Ù·Îºô ÀüÀÚ¼¼±Ý°è»ê¼­ Ŭ·¡½º +Class TaxInvoice + + Public InvoiceKey + Public InvoicerParty + Public InvoiceeParty + Public BrokerParty + Public InvoiceeASPEmail + Public IssueDirection + Public TaxInvoiceType + Public TaxType + Public TaxCalcType + Public PurposeType + Public ModifyCode + Public Kwon + Public Ho + Public SerialNum + Public Cash + Public ChkBill + Public Note + Public Credit + Public WriteDate + Public AmountTotal + Public TaxTotal + Public TotalAmount + Public Remark1 + Public Remark2 + Public Remark3 + Public TaxInvoiceTradeLineItems + + Public Function toJson() + tmpStr = "{" + tmpStr = tmpStr & """InvoiceKey"":"""& InvoiceKey &"""," + tmpStr = tmpStr & """InvoicerParty"":"& InvoicerParty.toJson() &"," + tmpStr = tmpStr & """InvoiceeParty"":"& InvoiceeParty.toJson() &"," + tmpStr = tmpStr & """BrokerParty"":"& BrokerParty.toJson() &"," + tmpStr = tmpStr & """InvoiceeASPEmail"":"""& InvoiceeASPEmail &"""," + tmpStr = tmpStr & """IssueDirection"":"""& IssueDirection &"""," + tmpStr = tmpStr & """TaxInvoiceType"":"""& TaxInvoiceType &"""," + tmpStr = tmpStr & """TaxType"":"""& TaxType &"""," + tmpStr = tmpStr & """TaxCalcType"":"""& TaxCalcType &"""," + tmpStr = tmpStr & """PurposeType"":"""& PurposeType &"""," + tmpStr = tmpStr & """ModifyCode"":"""& ModifyCode &"""," + tmpStr = tmpStr & """Kwon"":"""& Kwon &"""," + tmpStr = tmpStr & """Ho"":"""& Ho &"""," + tmpStr = tmpStr & """SerialNum"":"""& SerialNum &"""," + tmpStr = tmpStr & """Cash"":"""& Cash &"""," + tmpStr = tmpStr & """ChkBill"":"""& ChkBill &"""," + tmpStr = tmpStr & """Note"":"""& Note &"""," + tmpStr = tmpStr & """Credit"":"""& Credit &"""," + tmpStr = tmpStr & """WriteDate"":"""& WriteDate &"""," + tmpStr = tmpStr & """AmountTotal"":"""& AmountTotal &"""," + tmpStr = tmpStr & """TaxTotal"":"""& TaxTotal &"""," + tmpStr = tmpStr & """TotalAmount"":"""& TotalAmount &"""," + tmpStr = tmpStr & """Remark1"":"""& Remark1 &"""," + tmpStr = tmpStr & """Remark2"":"""& Remark2 &"""," + tmpStr = tmpStr & """Remark3"":"""& Remark3 &"""," + tmpStr = tmpStr & """TaxInvoiceTradeLineItems"":"& arrJson(TaxInvoiceTradeLineItems) &"," + tmpStr = mid(tmpStr, 1, len(tmpStr)-1) + tmpStr = tmpStr & "}" + toJson = tmpStr + End Function + +End Class + +'¹Ù·Îºô ÀüÀÚ¼¼±Ý°è»ê¼­ Party Ŭ·¡½º +Class InvoiceParty + + Public ContactID + Public CorpNum + Public MgtNum + Public CorpName + Public TaxRegID + Public CEOName + Public Addr + Public BizClass + Public BizType + Public ContactName + Public TEL + Public HP + Public Email + + Public Function toJson() + tmpStr = "{" + tmpStr = tmpStr & """ContactID"":"""& ContactID &"""," + tmpStr = tmpStr & """CorpNum"":"""& CorpNum &"""," + tmpStr = tmpStr & """MgtNum"":"""& MgtNum &"""," + tmpStr = tmpStr & """CorpName"":"""& CorpName &"""," + tmpStr = tmpStr & """TaxRegID"":"""& TaxRegID &"""," + tmpStr = tmpStr & """CEOName"":"""& CEOName &"""," + tmpStr = tmpStr & """Addr"":"""& Addr &"""," + tmpStr = tmpStr & """BizClass"":"""& BizClass &"""," + tmpStr = tmpStr & """BizType"":"""& BizType &"""," + tmpStr = tmpStr & """ContactName"":"""& ContactName &"""," + tmpStr = tmpStr & """TEL"":"""& TEL &"""," + tmpStr = tmpStr & """HP"":"""& HP &"""," + tmpStr = tmpStr & """Email"":"""& Email &"""," + tmpStr = mid(tmpStr, 1, len(tmpStr)-1) + tmpStr = tmpStr & "}" + toJson = tmpStr + End Function + +End Class + +'¹Ù·Îºô ÀüÀÚ¼¼±Ý°è»ê¼­ ǰ¸ñ Ŭ·¡½º +Class TaxInvoiceTradeLineItem + + Public PurchaseExpiry + Public Name + Public Information + Public ChargeableUnit + Public UnitPrice + Public Amount + Public Tax + Public Description + + Public Function toJson() + tmpStr = "{" + tmpStr = tmpStr & """PurchaseExpiry"":"""& PurchaseExpiry &"""," + tmpStr = tmpStr & """Name"":"""& Name &"""," + tmpStr = tmpStr & """Information"":"""& Information &"""," + tmpStr = tmpStr & """ChargeableUnit"":"""& ChargeableUnit &"""," + tmpStr = tmpStr & """UnitPrice"":"""& UnitPrice &"""," + tmpStr = tmpStr & """Amount"":"""& Amount &"""," + tmpStr = tmpStr & """Tax"":"""& Tax &"""," + tmpStr = tmpStr & """Description"":"""& Description &"""," + tmpStr = mid(tmpStr, 1, len(tmpStr)-1) + tmpStr = tmpStr & "}" + toJson = tmpStr + End Function + +End Class + +'¹Ù·Îºô ±¹¼¼Ã» ¸ÅÃâ,¸ÅÀÔ ³»¿ª (´ëǥǰ¸ñ Ãß°¡) +Class PagedTaxInvoiceEx + + Public CurrentPage + Public MaxIndex + Public CountPerPage + Public MaxPageNum + Public SimpleTaxInvoiceExList + + Public Function toJson() + tmpStr = "{" + tmpStr = tmpStr & """CurrentPage"":"""& CurrentPage &"""," + tmpStr = tmpStr & """MaxIndex"":"""& MaxIndex &"""," + tmpStr = tmpStr & """CountPerPage"":"""& CountPerPage &"""," + tmpStr = tmpStr & """MaxPageNum"":"""& MaxPageNum &"""," + tmpStr = tmpStr & """SimpleTaxInvoiceExList"":"& arrJson(SimpleTaxInvoiceExList) &"," + tmpStr = mid(tmpStr, 1, len(tmpStr)-1) + tmpStr = tmpStr & "}" + toJson = tmpStr + End Function + +End Class + +'¹Ù·Îºô ±¹¼¼Ã» ¸ÅÃâ,¸ÅÀÔ ³»¿ª - ½ÉÇà (´ëǥǰ¸ñ Ãß°¡) +Class SimpleTaxInvoiceEx + + Public NTSSendKey + Public NTSSendDT + Public IssueDT + Public WriteDate + Public ModifyCode + Public TaxType + Public PurposeType + Public InvoicerCorpNum + Public InvoicerTaxRegID + Public InvoicerCorpName + Public InvoicerCEOName + Public InvoicerAddr + Public InvoicerBizType + Public InvoicerBizClass + Public InvoicerContactName + Public InvoicerEmail + Public InvoiceeCorpNum + Public InvoiceeTaxRegID + Public InvoiceeCorpName + Public InvoiceeCEOName + Public InvoiceeAddr + Public InvoiceeBizType + Public InvoiceeBizClass + Public InvoiceeContactName + Public InvoiceeEmail + Public BrokerCorpNum + Public BrokerTaxRegID + Public BrokerCorpName + Public BrokerCEOName + Public BrokerAddr + Public BrokerBizType + Public BrokerBizClass + Public BrokerContactName + Public BrokerEmail + Public AmountTotal + Public TaxTotal + Public TotalAmount + Public Cash + Public ChkBill + Public Note + Public Credit + Public Remark1 + Public Remark2 + Public Remark3 + Public ItemName + Public CorpNum + Public TaxRegID + Public CorpName + Public CEOName + + Public Function toJson() + tmpStr = "{" + tmpStr = tmpStr & """NTSSendKey"":"""& NTSSendKey &"""," + tmpStr = tmpStr & """NTSSendDT"":"""& NTSSendDT &"""," + tmpStr = tmpStr & """IssueDT"":"""& IssueDT &"""," + tmpStr = tmpStr & """WriteDate"":"""& WriteDate &"""," + tmpStr = tmpStr & """ModifyCode"":"""& ModifyCode &"""," + tmpStr = tmpStr & """TaxType"":"""& TaxType &"""," + tmpStr = tmpStr & """PurposeType"":"""& PurposeType &"""," + tmpStr = tmpStr & """InvoicerCorpNum"":"""& InvoicerCorpNum &"""," + tmpStr = tmpStr & """InvoicerTaxRegID"":"""& InvoicerTaxRegID &"""," + tmpStr = tmpStr & """InvoicerCorpName"":"""& InvoicerCorpName &"""," + tmpStr = tmpStr & """InvoicerCEOName"":"""& InvoicerCEOName &"""," + tmpStr = tmpStr & """InvoicerAddr"":"""& InvoicerAddr &"""," + tmpStr = tmpStr & """InvoicerBizType"":"""& InvoicerBizType &"""," + tmpStr = tmpStr & """InvoicerBizClass"":"""& InvoicerBizClass &"""," + tmpStr = tmpStr & """InvoicerContactName"":"""& InvoicerContactName &"""," + tmpStr = tmpStr & """InvoicerEmail"":"""& InvoicerEmail &"""," + tmpStr = tmpStr & """InvoiceeCorpNum"":"""& InvoiceeCorpNum &"""," + tmpStr = tmpStr & """InvoiceeTaxRegID"":"""& InvoiceeTaxRegID &"""," + tmpStr = tmpStr & """InvoiceeCorpName"":"""& InvoiceeCorpName &"""," + tmpStr = tmpStr & """InvoiceeCEOName"":"""& InvoiceeCEOName &"""," + tmpStr = tmpStr & """InvoiceeAddr"":"""& InvoiceeAddr &"""," + tmpStr = tmpStr & """InvoiceeBizType"":"""& InvoiceeBizType &"""," + tmpStr = tmpStr & """InvoiceeBizClass"":"""& InvoiceeBizClass &"""," + tmpStr = tmpStr & """InvoiceeContactName"":"""& InvoiceeContactName &"""," + tmpStr = tmpStr & """InvoiceeEmail"":"""& InvoiceeEmail &"""," + tmpStr = tmpStr & """BrokerCorpNum"":"""& BrokerCorpNum &"""," + tmpStr = tmpStr & """BrokerTaxRegID"":"""& BrokerTaxRegID &"""," + tmpStr = tmpStr & """BrokerCorpName"":"""& BrokerCorpName &"""," + tmpStr = tmpStr & """BrokerCEOName"":"""& BrokerCEOName &"""," + tmpStr = tmpStr & """BrokerAddr"":"""& BrokerAddr &"""," + tmpStr = tmpStr & """BrokerBizType"":"""& BrokerBizType &"""," + tmpStr = tmpStr & """BrokerBizClass"":"""& BrokerBizClass &"""," + tmpStr = tmpStr & """BrokerContactName"":"""& BrokerContactName &"""," + tmpStr = tmpStr & """BrokerEmail"":"""& BrokerEmail &"""," + tmpStr = tmpStr & """AmountTotal"":"""& AmountTotal &"""," + tmpStr = tmpStr & """TaxTotal"":"""& TaxTotal &"""," + tmpStr = tmpStr & """TotalAmount"":"""& TotalAmount &"""," + tmpStr = tmpStr & """Cash"":"""& Cash &"""," + tmpStr = tmpStr & """ChkBill"":"""& ChkBill &"""," + tmpStr = tmpStr & """Note"":"""& Note &"""," + tmpStr = tmpStr & """Credit"":"""& Credit &"""," + tmpStr = tmpStr & """Remark1"":"""& Remark1 &"""," + tmpStr = tmpStr & """Remark2"":"""& Remark2 &"""," + tmpStr = tmpStr & """Remark3"":"""& Remark3 &"""," + tmpStr = tmpStr & """ItemName"":"""& ItemName &"""," + tmpStr = tmpStr & """CorpNum"":"""& CorpNum &"""," + tmpStr = tmpStr & """TaxRegID"":"""& TaxRegID &"""," + tmpStr = tmpStr & """CorpName"":"""& CorpName &"""," + tmpStr = tmpStr & """CEOName"":"""& CEOName &"""," + tmpStr = mid(tmpStr, 1, len(tmpStr)-1) + tmpStr = tmpStr & "}" + toJson = tmpStr + End Function + +End Class + +Function arrJson(ByVal arr) + If isArray(arr) = True Then + tmpStr = "[" + For i=0 To UBound(arr) + If VarType(arr(i)) = 9 Then + tmpStr = tmpStr & arr(i).toJson() & "," + Else + tmpStr = tmpStr & arr(i) & "," + End If + Next + tmpStr = mid(tmpStr, 1, len(tmpStr)-1) + tmpStr = tmpStr & "]" + arrJson = tmpStr + Else + arrJson = "[]" + End If +End Function + +%> \ No newline at end of file diff --git a/barobill/baro_api.asp b/barobill/baro_api.asp new file mode 100644 index 0000000..30ea3d3 --- /dev/null +++ b/barobill/baro_api.asp @@ -0,0 +1,174 @@ + + +<% +Response.CharSet = "EUC-KR" 'ÇÑ±Û +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +Set BST = New BaroService_TI + +Select Case Request("Company") + Case "kri" + CERTKEY = "2485FCBA-A2A2-4803-84DF-C39B7E1C7F74" 'ÀÎÁõŰ + CorpNum = "2148156664" '¹Ù·Îºô ȸ¿ø »ç¾÷ÀÚ¹øÈ£ ('-' Á¦¿Ü, 10ÀÚ¸®) + UserID = "kriit_1" '¹Ù·Îºô ȸ¿ø ¾ÆÀ̵ð + + Case "krc" + CERTKEY = "5E5BFD5F-DE1B-4582-8FB5-B8052EF2F183" 'ÀÎÁõŰ + CorpNum = "4068104391" '¹Ù·Îºô ȸ¿ø »ç¾÷ÀÚ¹øÈ£ ('-' Á¦¿Ü, 10ÀÚ¸®) + UserID = "kriit_2" '¹Ù·Îºô ȸ¿ø ¾ÆÀ̵ð + + Case "krt" + CERTKEY = "B0EBFC53-5CC8-4DD9-8486-A660DC930B61" 'ÀÎÁõŰ + CorpNum = "5238101665" '¹Ù·Îºô ȸ¿ø »ç¾÷ÀÚ¹øÈ£ ('-' Á¦¿Ü, 10ÀÚ¸®) + UserID = "kriit_3" '¹Ù·Îºô ȸ¿ø ¾ÆÀ̵ð + + Case "krd" + CERTKEY = "B0EBFC53-5CC8-4DD9-8486-A660DC930B61" 'ÀÎÁõŰ + CorpNum = "5238101665" '¹Ù·Îºô ȸ¿ø »ç¾÷ÀÚ¹øÈ£ ('-' Á¦¿Ü, 10ÀÚ¸®) + UserID = "kriit_3" '¹Ù·Îºô ȸ¿ø ¾ÆÀ̵ð + +End Select +NTSConfirmNum = Request("NTSConfirmNum") '±¹¼¼Ã» ½ÂÀιøÈ£ +PWD = "" '¹Ù·Îºô ȸ¿ø ºñ¹Ð¹øÈ£ +TaxType = 1 '°ú¼¼ÇüÅÂ, 1:°ú¼¼+¿µ¼¼ 3:¸é¼¼ +DateType = 1 'Á¶È¸±âÁØ, 1:ÀÛ¼ºÀÏÀÚ 2:¹ßÇàÀÏÀÚ +BaseMonth = Request("sMonth") '±âÁØ¿ù +If BaseMonth <> "" Then + BaseMonth = Replace(BaseMonth, "-", "") +End If +CountPerPage = 100 'ÆäÀÌÁö´ç °¹¼ö +CurrentPage = Request("sPage") 'ÇöÀçÆäÀÌÁö +If CurrentPage = "" Then CurrentPage = 1 +OrderDirection = 2 '1:ASC 2:DESC + +Select Case Request("command") + Case "GetTaxInvoiceNK" '¹®¼­ Á¤º¸ + Set Result = BST.GetTaxInvoiceNK(CERTKEY, CorpNum, NTSConfirmNum) + + Response.write Result.toJson() + + Case "GetMonthlyTaxInvoicePurchaseList" '¿ùº° ¸ÅÀÔ ¼¼±Ý°è»ê¼­ Á¶È¸ [±¹¼¼Ã» Àü¼Û¿Ï·á °Ç¸¸] (´ëǥǰ¸ñ Æ÷ÇÔ) + Set Result = BST.GetMonthlyTaxInvoicePurchaseList(CERTKEY, CorpNum, UserID, TaxType, DateType, BaseMonth, CountPerPage, CurrentPage, OrderDirection) + + Response.write Result.toJson() + + Case "GetTaxInvoicePopUpURLNK" '¹®¼­ ³»¿ëº¸±â ÆË¾÷ URL + Result = BST.GetTaxInvoicePopUpURLNK(CERTKEY, CorpNum, NTSConfirmNum, UserID, PWD) + + Response.write Result + + Case "GetTaxInvoiceHistory" 'ÀÎÆ®¶ó³Ý¿¡ µî·ÏµÈ ¼¼±Ý°è»ê¼­º° »ç¿ë ±Ý¾× Á¶È¸ + SQL = "" + SQL = SQL & " SELECT CONVERT(varchar(10), target3) AS writeDate, CONVERT(varchar(100), target18) AS taxNum, " + SQL = SQL & " SUM(CONVERT(money, CONVERT(varchar(100), target5))) AS AmountTotal, " + SQL = SQL & " SUM(CONVERT(money, REPLACE(CONVERT(varchar(100), target6), ',', ''))) AS TaxTotal, " + SQL = SQL & " SUM(CONVERT(money, REPLACE(CONVERT(varchar(100), target7), ',', ''))) AS TotalAmount " + SQL = SQL & " FROM ¹®¼­³»¿ë WITH(NOLOCK) " + SQL = SQL & " WHERE ¹®¼­Á¦¸ñ='ÁöÃâ°áÀǼ­' AND del_yes_no = 'no' " + SQL = SQL & " AND target4 LIKE '¼¼±Ý°è»ê¼­' " + If BaseMonth <> "" Then + SQL = SQL & " AND Replace(CONVERT(varchar(7), target3), '-', '') LIKE '" & BaseMonth & "%' " + SQL = SQL & " AND target18 NOT LIKE '' " + End If + If NTSConfirmNum <> "" Then + SQL = SQL & " AND target18 LIKE '" & NTSConfirmNum & "' " + End If + SQL = SQL & " GROUP BY CONVERT(varchar(10), target3), CONVERT(varchar(100), target18) " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """writeDate"":""" & Adors("writeDate") & """," + Response.Write """taxNum"":""" & Adors("taxNum") & """," + Response.Write """AmountTotal"":""" & Adors("AmountTotal") & """," + Response.Write """TaxTotal"":""" & Adors("TaxTotal") & """," + Response.Write """TotalAmount"":""" & Adors("TotalAmount") & """" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.Close + + Case "SetPaperTax" + SQL = "" + SQL = SQL & " INSERT INTO T_PAPER_TAX ( " + SQL = SQL & " paperTaxNum, Company, WriteDate, " + SQL = SQL & " CorpNum, CorpName, CEOName, " + SQL = SQL & " Items, AmountTotal, TaxTotal, TotalAmount, " + SQL = SQL & " WriteUser, insert_user, insert_ip " + SQL = SQL & " ) VALUES ( " + SQL = SQL & " '"& Request("paperTaxNum") &"', '"& Request("Company") &"', '"& Request("WriteDate") &"', " + SQL = SQL & " '"& Request("CorpNum") &"', '"& URLDecode(Request("CorpName")) &"', '"& URLDecode(Request("CEOName")) &"', " + SQL = SQL & " '"& URLDecode(Request("Items")) &"', '"& Request("AmountTotal") &"', '"& Request("TaxTotal") &"', '"& Request("TotalAmount") &"', " + SQL = SQL & " '"& Request("WriteUser") &"', '"& Session("User_Number") &"', '"& clientIp &"' " + SQL = SQL & " ) " + adoConn.Execute SQL + + Response.Write "1" + + Case "GetPaperTax" + SQL = "" + SQL = SQL & " SELECT id, paperTaxNum, WriteDate, Company, CorpNum, CorpName, CEOName, " + SQL = SQL & " Items, AmountTotal, TaxTotal, TotalAmount, WriteUser " + SQL = SQL & " FROM T_PAPER_TAX " + SQL = SQL & " WHERE flag = '1' " + SQL = SQL & " ORDER BY id DESC " + + Adors.Open SQL, adoConn, 1 + If Adors.recordCount > 0 Then + Response.Write "[" + Do While Not Adors.Eof + Response.Write "{" + Response.Write """id"":"""& Adors("id") &"""," + Response.Write """paperTaxNum"":"""& Adors("paperTaxNum") &"""," + Response.Write """WriteDate"":"""& Adors("WriteDate") &"""," + Response.Write """Company"":"""& Adors("Company") &"""," + Response.Write """CorpNum"":"""& Adors("CorpNum") &"""," + Response.Write """CorpName"":"""& Adors("CorpName") &"""," + Response.Write """CEOName"":"""& Adors("CEOName") &"""," + Response.Write """Items"":"""& Adors("Items") &"""," + Response.Write """AmountTotal"":"""& Adors("AmountTotal") &"""," + Response.Write """TaxTotal"":"""& Adors("TaxTotal") &"""," + Response.Write """TotalAmount"":"""& Adors("TotalAmount") &"""," + Response.Write """WriteUser"":"""& Adors("WriteUser") &"""" + Response.Write "}" + Adors.MoveNext + If Not Adors.Eof Then + Response.Write "," + End If + Loop + Response.Write "]" + Else + Response.Write "[]" + End IF + Adors.Close + + Case "DeletePaperTax" + SQL = "" + SQL = SQL & " UPDATE T_PAPER_TAX SET flag = '0' WHERE id = '"& Request("id") &"' " + adoConn.Execute SQL + + Response.Write "1" + + Case Else + Response.Write "0" +End Select + +Function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing +End Function +%> diff --git a/barobill/convImg/barobill.css b/barobill/convImg/barobill.css new file mode 100644 index 0000000..2fee711 --- /dev/null +++ b/barobill/convImg/barobill.css @@ -0,0 +1,521 @@ +@charset "utf-8"; + +/********/ +/* base */ +/********/ +* { box-sizing:border-box; } +html { margin:0 auto; height:100%; overflow-y:scroll; } +body { height:100%; padding:0; margin:0; font-family:'malgun gothic','ë§‘ì�€ 고딕',"Apple SD Gothic Neo"; font-size:12px; line-height:1; text-align:left; background-color:#FFF; color:#272727; } +h1, h2, h3, h4, h5 { margin:0; padding:0; } +h1 { font-size:22px; } +h2 { font-size:18px; } +h3 { font-size:16px; } +h4 { font-size:14px; } +h5 { font-size:12px; } +p { margin:0; padding:0; } +a { color:inherit; text-decoration:none; } +a:link, a:visited, a:hover, a:active { text-decoration:none; } +div, ul, li, dl, dd, dt, p, table, th, td { padding:0; margin:0; word-break: break-all; } +ul, ol, dl { list-style:none; padding:0; margin:0; } +li, dt, dd { margin:0; padding:0; list-style:inherit; } +table { width:100%; table-layout:fixed; border-collapse:separate; word-break:break-all; border-spacing:0; } +form { margin:0; } +input { margin:0; padding:0; outline:none; } +img { border:none; } +hr { height:0px; border-top:1px solid #DEDEDE; border-left:0px; border-bottom:0px; border-right:0px; } +label { cursor: pointer; vertical-align:baseline; } + +/********/ +/* util */ +/********/ +.n { font-weight: normal !important; } +.b { font-weight: bold !important; } +.u { text-decoration: underline !important; } +.s { text-decoration: line-through !important; } +.i { font-style: italic !important; } + +.ls { letter-spacing: -1px !important; } +.ls0 { letter-spacing: 0px !important; } +.ls1 { letter-spacing: 1px !important; } + +.a_l { text-align:left !important; } +.a_c { text-align:center !important; } +.a_r { text-align:right !important; } + +.floatl { float:left; } +.floatr { float:right; } +.clearl { clear:left; } +.clearr { clear:right; } +.clearb { clear:both; } +.pos_rel { position:relative; z-index:998; } +.pos_abs { position:absolute; z-index:999; } +.valignt { vertical-align:top !important; } +.valignm { vertical-align:middle !important; } +.valignb { vertical-align:bottom !important; } + +div.gap { font-size:0px; line-height:0px; height:10px; } +::-ms-clear { display: none; } + +.cursor-pointer { cursor: pointer !important;} +.text { cursor: text !important;} +.none { display: none !important;} +.block { display: block !important;} +.hide { visibility: hidden !important;} +.show { visibility: visible !important;} +.scroll { scrollbar-face-color:#FFFFFF; scrollbar-base-color:#FFFFFF; scrollbar-arrow-color:#7f7f7f; scrollbar-track-color:#F9F9F9; scrollbar-shadow-color:#FAFAFA; scrollbar-highlight-color:#FFFFFF; scrollbar-3dlight-color:#BEBEBE; scrollbar-darkshadow-color:#D1D1D1; } + +.black { color:#000 !important;} +.black1 { color:#555 !important;} +.red1 { color:#FF7A59 !important;} +.red2 { color:#f9423c !important;} +.red3 { color:#f11c2b !important;} +.blue1 { color:#4095FF !important;} +.blue2 { color:#166cec !important;} +.blue3 { color:#1443b1 !important;/*color:#05528A !important;*/} +.green1 { color:#218D44 !important;} +.green2 { color:#4D7A16 !important;} +.gray1 { color:#CACACA !important;} +.gray2 { color:#999 !important;} +.gray3 { color:#777 !important;} +.white1 { color:#FFF !important;} +.white2 { color:#F9F9F9 !important;} +.orange1 { color:#E76100 !important;} +.yellow1 { color:#FFFF4A !important;} + +.bggray { background-color:#F0F0F0; } +.bgcyan { background-color:#EDFBEC; } +.bglemon { background-color:#FEFBE4; } + +.dotum { font-family: Dotum, dotum, tahoma, sans-serif !important; } +.batang { font-family: Batang, batang, tahoma, sans-serif !important; } +.malgun { font-family:'malgun gothic','ë§‘ì�€ 고딕',"Apple SD Gothic Neo" !important; } +.noto { font-family: 'Noto Sans KR','malgun gothic','ë§‘ì�€ 고딕',"Apple SD Gothic Neo" !important; } +.eng_only { ime-mode:disabled; } +.kor { ime-mode:active; } +.ucase { text-transform:uppercase; } +.lcase { text-transform:lowercase; } + +.f10 { font-size:10px !important;} +.f11 { font-size:11px !important;} +.f12 { font-size:12px !important;} +.f13 { font-size:13px !important;} +.f14 { font-size:14px !important;} +.f15 { font-size:15px !important;} +.f16 { font-size:16px !important;} +.f17 { font-size:17px !important;} +.f18 { font-size:18px !important;} +.f19 { font-size:19px !important;} +.f20 { font-size:20px !important;} +.f21 { font-size:21px !important;} +.f22 { font-size:22px !important;} +.f23 { font-size:23px !important;} +.f24 { font-size:24px !important;} +.f25 { font-size:25px !important;} +.f26 { font-size:26px !important;} +.f27 { font-size:27px !important;} +.f28 { font-size:28px !important;} +.f29 { font-size:29px !important;} +.f30 { font-size:30px !important;} +.f31 { font-size:31px !important;} +.f32 { font-size:32px !important;} +.f33 { font-size:33px !important;} +.f34 { font-size:34px !important;} +.f35 { font-size:35px !important;} +.f36 { font-size:36px !important;} +.f37 { font-size:37px !important;} +.f38 { font-size:38px !important;} +.f39 { font-size:39px !important;} +.f40 { font-size:40px !important;} + +.lh14 { line-height:14px !important; } +.lh15 { line-height:15px !important; } +.lh16 { line-height:16px !important; } +.lh17 { line-height:17px !important; } +.lh18 { line-height:18px !important; } +.lh19 { line-height:19px !important; } +.lh20 { line-height:20px !important; } +.lh21 { line-height:21px !important; } +.lh22 { line-height:22px !important; } +.lh23 { line-height:23px !important; } +.lh24 { line-height:24px !important; } +.lh25 { line-height:25px !important; } +.lh26 { line-height:26px !important; } +.lh27 { line-height:27px !important; } +.lh28 { line-height:28px !important; } +.lh29 { line-height:29px !important; } +.lh30 { line-height:30px !important; } +.lh31 { line-height:31px !important; } +.lh32 { line-height:32px !important; } +.lh33 { line-height:33px !important; } +.lh34 { line-height:34px !important; } +.lh35 { line-height:35px !important; } +.lh36 { line-height:36px !important; } +.lh37 { line-height:37px !important; } +.lh38 { line-height:38px !important; } +.lh39 { line-height:39px !important; } +.lh40 { line-height:40px !important; } + +.p0 { padding:0px !important; } +.p1 { padding:1px !important; } +.p2 { padding:2px !important; } +.p3 { padding:3px !important; } +.p4 { padding:4px !important; } +.p5 { padding:5px !important; } +.p6 { padding:6px !important; } +.p7 { padding:7px !important; } +.p8 { padding:8px !important; } +.p9 { padding:9px !important; } +.p10 { padding:10px !important; } +.p11 { padding:11px !important; } +.p12 { padding:12px !important; } +.p13 { padding:13px !important; } +.p14 { padding:14px !important; } +.p15 { padding:15px !important; } +.p16 { padding:16px !important; } +.p17 { padding:17px !important; } +.p18 { padding:18px !important; } +.p19 { padding:19px !important; } +.p20 { padding:20px !important; } +.p25 { padding:25px !important; } +.p30 { padding:30px !important; } +.p35 { padding:35px !important; } +.p40 { padding:40px !important; } +.p45 { padding:45px !important; } +.p50 { padding:50px !important; } +.p60 { padding:60px !important; } +.p70 { padding:70px !important; } +.p80 { padding:80px !important; } +.p90 { padding:90px !important; } +.p100 { padding:100px !important; } + +.pt0 { padding-top:0px !important; } +.pt1 { padding-top:1px !important; } +.pt2 { padding-top:2px !important; } +.pt3 { padding-top:3px !important; } +.pt4 { padding-top:4px !important; } +.pt5 { padding-top:5px !important; } +.pt6 { padding-top:6px !important; } +.pt7 { padding-top:7px !important; } +.pt8 { padding-top:8px !important; } +.pt9 { padding-top:9px !important; } +.pt10 { padding-top:10px !important; } +.pt11 { padding-top:11px !important; } +.pt12 { padding-top:12px !important; } +.pt13 { padding-top:13px !important; } +.pt14 { padding-top:14px !important; } +.pt15 { padding-top:15px !important; } +.pt16 { padding-top:16px !important; } +.pt17 { padding-top:17px !important; } +.pt18 { padding-top:18px !important; } +.pt19 { padding-top:19px !important; } +.pt20 { padding-top:20px !important; } +.pt25 { padding-top:25px !important; } +.pt30 { padding-top:30px !important; } +.pt35 { padding-top:35px !important; } +.pt40 { padding-top:40px !important; } +.pt45 { padding-top:45px !important; } +.pt50 { padding-top:50px !important; } +.pt60 { padding-top:60px !important; } +.pt70 { padding-top:70px !important; } +.pt80 { padding-top:80px !important; } +.pt90 { padding-top:90px !important; } +.pt100 { padding-top:100px !important; } + +.pr0 { padding-right:0px !important; } +.pr1 { padding-right:1px !important; } +.pr2 { padding-right:2px !important; } +.pr3 { padding-right:3px !important; } +.pr4 { padding-right:4px !important; } +.pr5 { padding-right:5px !important; } +.pr6 { padding-right:6px !important; } +.pr7 { padding-right:7px !important; } +.pr8 { padding-right:8px !important; } +.pr9 { padding-right:9px !important; } +.pr10 { padding-right:10px !important; } +.pr11 { padding-right:11px !important; } +.pr12 { padding-right:12px !important; } +.pr13 { padding-right:13px !important; } +.pr14 { padding-right:14px !important; } +.pr15 { padding-right:15px !important; } +.pr16 { padding-right:16px !important; } +.pr17 { padding-right:17px !important; } +.pr18 { padding-right:18px !important; } +.pr19 { padding-right:19px !important; } +.pr20 { padding-right:20px !important; } +.pr25 { padding-right:25px !important; } +.pr30 { padding-right:30px !important; } +.pr35 { padding-right:35px !important; } +.pr40 { padding-right:40px !important; } +.pr45 { padding-right:45px !important; } +.pr50 { padding-right:50px !important; } +.pr60 { padding-right:60px !important; } +.pr70 { padding-right:70px !important; } +.pr80 { padding-right:80px !important; } +.pr90 { padding-right:90px !important; } +.pr100 { padding-right:100px !important; } +.pr110 { padding-right:110px !important; } +.pr120 { padding-right:120px !important; } +.pr130 { padding-right:130px !important; } +.pr140 { padding-right:140px !important; } + +.pb0 { padding-bottom:0px !important; } +.pb1 { padding-bottom:1px !important; } +.pb2 { padding-bottom:2px !important; } +.pb3 { padding-bottom:3px !important; } +.pb4 { padding-bottom:4px !important; } +.pb5 { padding-bottom:5px !important; } +.pb6 { padding-bottom:6px !important; } +.pb7 { padding-bottom:7px !important; } +.pb8 { padding-bottom:8px !important; } +.pb9 { padding-bottom:9px !important; } +.pb10 { padding-bottom:10px !important; } +.pb11 { padding-bottom:11px !important; } +.pb12 { padding-bottom:12px !important; } +.pb13 { padding-bottom:13px !important; } +.pb14 { padding-bottom:14px !important; } +.pb15 { padding-bottom:15px !important; } +.pb16 { padding-bottom:16px !important; } +.pb17 { padding-bottom:17px !important; } +.pb18 { padding-bottom:18px !important; } +.pb19 { padding-bottom:19px !important; } +.pb20 { padding-bottom:20px !important; } +.pb25 { padding-bottom:25px !important; } +.pb30 { padding-bottom:30px !important; } +.pb35 { padding-bottom:35px !important; } +.pb40 { padding-bottom:40px !important; } +.pb45 { padding-bottom:45px !important; } +.pb50 { padding-bottom:50px !important; } +.pb60 { padding-bottom:60px !important; } +.pb70 { padding-bottom:70px !important; } +.pb80 { padding-bottom:80px !important; } +.pb90 { padding-bottom:90px !important; } +.pb100 { padding-bottom:100px !important; } + +.pl0 { padding-left:0px !important; } +.pl1 { padding-left:1px !important; } +.pl2 { padding-left:2px !important; } +.pl3 { padding-left:3px !important; } +.pl4 { padding-left:4px !important; } +.pl5 { padding-left:5px !important; } +.pl6 { padding-left:6px !important; } +.pl7 { padding-left:7px !important; } +.pl8 { padding-left:8px !important; } +.pl9 { padding-left:9px !important; } +.pl10 { padding-left:10px !important; } +.pl11 { padding-left:11px !important; } +.pl12 { padding-left:12px !important; } +.pl13 { padding-left:13px !important; } +.pl14 { padding-left:14px !important; } +.pl15 { padding-left:15px !important; } +.pl16 { padding-left:16px !important; } +.pl17 { padding-left:17px !important; } +.pl18 { padding-left:18px !important; } +.pl19 { padding-left:19px !important; } +.pl20 { padding-left:20px !important; } +.pl25 { padding-left:25px !important; } +.pl30 { padding-left:30px !important; } +.pl35 { padding-left:35px !important; } +.pl40 { padding-left:40px !important; } +.pl45 { padding-left:45px !important; } +.pl50 { padding-left:50px !important; } +.pl60 { padding-left:60px !important; } +.pl70 { padding-left:70px !important; } +.pl80 { padding-left:80px !important; } +.pl90 { padding-left:90px !important; } +.pl100 { padding-left:100px !important; } +.pl110 { padding-left:110px !important; } +.pl120 { padding-left:120px !important; } +.pl130 { padding-left:130px !important; } +.pl140 { padding-left:140px !important; } + +.m0 { margin:0px !important; } +.m1 { margin:1px !important; } +.m2 { margin:2px !important; } +.m3 { margin:3px !important; } +.m4 { margin:4px !important; } +.m5 { margin:5px !important; } +.m6 { margin:6px !important; } +.m7 { margin:7px !important; } +.m8 { margin:8px !important; } +.m9 { margin:9px !important; } +.m10 { margin:10px !important; } +.m11 { margin:11px !important; } +.m12 { margin:12px !important; } +.m13 { margin:13px !important; } +.m14 { margin:14px !important; } +.m15 { margin:15px !important; } +.m16 { margin:16px !important; } +.m17 { margin:17px !important; } +.m18 { margin:18px !important; } +.m19 { margin:19px !important; } +.m20 { margin:20px !important; } +.m25 { margin:25px !important; } +.m30 { margin:30px !important; } +.m35 { margin:35px !important; } +.m40 { margin:40px !important; } +.m45 { margin:45px !important; } +.m50 { margin:50px !important; } +.m60 { margin:60px !important; } +.m70 { margin:70px !important; } +.m80 { margin:80px !important; } +.m90 { margin:90px !important; } +.m100 { margin:100px !important; } + +.mt0 { margin-top:0px !important; } +.mt1 { margin-top:1px !important; } +.mt2 { margin-top:2px !important; } +.mt3 { margin-top:3px !important; } +.mt4 { margin-top:4px !important; } +.mt5 { margin-top:5px !important; } +.mt6 { margin-top:6px !important; } +.mt7 { margin-top:7px !important; } +.mt8 { margin-top:8px !important; } +.mt9 { margin-top:9px !important; } +.mt10 { margin-top:10px !important; } +.mt11 { margin-top:11px !important; } +.mt12 { margin-top:12px !important; } +.mt13 { margin-top:13px !important; } +.mt14 { margin-top:14px !important; } +.mt15 { margin-top:15px !important; } +.mt16 { margin-top:16px !important; } +.mt17 { margin-top:17px !important; } +.mt18 { margin-top:18px !important; } +.mt19 { margin-top:19px !important; } +.mt20 { margin-top:20px !important; } +.mt25 { margin-top:25px !important; } +.mt30 { margin-top:30px !important; } +.mt35 { margin-top:35px !important; } +.mt40 { margin-top:40px !important; } +.mt45 { margin-top:45px !important; } +.mt50 { margin-top:50px !important; } +.mt60 { margin-top:60px !important; } +.mt70 { margin-top:70px !important; } +.mt80 { margin-top:80px !important; } +.mt90 { margin-top:90px !important; } +.mt100 { margin-top:100px !important; } + +.mr0 { margin-right:0px !important; } +.mr1 { margin-right:1px !important; } +.mr2 { margin-right:2px !important; } +.mr3 { margin-right:3px !important; } +.mr4 { margin-right:4px !important; } +.mr5 { margin-right:5px !important; } +.mr6 { margin-right:6px !important; } +.mr7 { margin-right:7px !important; } +.mr8 { margin-right:8px !important; } +.mr9 { margin-right:9px !important; } +.mr10 { margin-right:10px !important; } +.mr11 { margin-right:11px !important; } +.mr12 { margin-right:12px !important; } +.mr13 { margin-right:13px !important; } +.mr14 { margin-right:14px !important; } +.mr15 { margin-right:15px !important; } +.mr16 { margin-right:16px !important; } +.mr17 { margin-right:17px !important; } +.mr18 { margin-right:18px !important; } +.mr19 { margin-right:19px !important; } +.mr20 { margin-right:20px !important; } +.mr25 { margin-right:25px !important; } +.mr30 { margin-right:30px !important; } +.mr35 { margin-right:35px !important; } +.mr40 { margin-right:40px !important; } +.mr45 { margin-right:45px !important; } +.mr50 { margin-right:50px !important; } +.mr60 { margin-right:60px !important; } +.mr70 { margin-right:70px !important; } +.mr80 { margin-right:80px !important; } +.mr90 { margin-right:90px !important; } +.mr100 { margin-right:100px !important; } + +.mb0 { margin-bottom:0px !important; } +.mb1 { margin-bottom:1px !important; } +.mb2 { margin-bottom:2px !important; } +.mb3 { margin-bottom:3px !important; } +.mb4 { margin-bottom:4px !important; } +.mb5 { margin-bottom:5px !important; } +.mb6 { margin-bottom:6px !important; } +.mb7 { margin-bottom:7px !important; } +.mb8 { margin-bottom:8px !important; } +.mb9 { margin-bottom:9px !important; } +.mb10 { margin-bottom:10px !important; } +.mb11 { margin-bottom:11px !important; } +.mb12 { margin-bottom:12px !important; } +.mb13 { margin-bottom:13px !important; } +.mb14 { margin-bottom:14px !important; } +.mb15 { margin-bottom:15px !important; } +.mb16 { margin-bottom:16px !important; } +.mb17 { margin-bottom:17px !important; } +.mb18 { margin-bottom:18px !important; } +.mb19 { margin-bottom:19px !important; } +.mb20 { margin-bottom:20px !important; } +.mb25 { margin-bottom:25px !important; } +.mb30 { margin-bottom:30px !important; } +.mb35 { margin-bottom:35px !important; } +.mb40 { margin-bottom:40px !important; } +.mb45 { margin-bottom:45px !important; } +.mb50 { margin-bottom:50px !important; } +.mb60 { margin-bottom:60px !important; } +.mb70 { margin-bottom:70px !important; } +.mb80 { margin-bottom:80px !important; } +.mb90 { margin-bottom:90px !important; } +.mb100 { margin-bottom:100px !important; } + +.ml0 { margin-left:0px !important; } +.ml1 { margin-left:1px !important; } +.ml2 { margin-left:2px !important; } +.ml3 { margin-left:3px !important; } +.ml4 { margin-left:4px !important; } +.ml5 { margin-left:5px !important; } +.ml6 { margin-left:6px !important; } +.ml7 { margin-left:7px !important; } +.ml8 { margin-left:8px !important; } +.ml9 { margin-left:9px !important; } +.ml10 { margin-left:10px !important; } +.ml11 { margin-left:11px !important; } +.ml12 { margin-left:12px !important; } +.ml13 { margin-left:13px !important; } +.ml14 { margin-left:14px !important; } +.ml15 { margin-left:15px !important; } +.ml16 { margin-left:16px !important; } +.ml17 { margin-left:17px !important; } +.ml18 { margin-left:18px !important; } +.ml19 { margin-left:19px !important; } +.ml20 { margin-left:20px !important; } +.ml25 { margin-left:25px !important; } +.ml30 { margin-left:30px !important; } +.ml35 { margin-left:35px !important; } +.ml40 { margin-left:40px !important; } +.ml45 { margin-left:45px !important; } +.ml50 { margin-left:50px !important; } +.ml60 { margin-left:60px !important; } +.ml70 { margin-left:70px !important; } +.ml80 { margin-left:80px !important; } +.ml90 { margin-left:90px !important; } +.ml100 { margin-left:100px !important; } + +.b0 { border-width:0 !important; } +.b1 { border-width:1px !important; } +.b2 { border-width:2px !important; } + +.bt0 { border-top-width:0 !important; } +.bt1 { border-top-width:1px !important; } +.bt2 { border-top-width:2px !important; } + +.br0 { border-right-width:0 !important; } +.br1 { border-right-width:1px !important; } +.br2 { border-right-width:2px !important; } + +.bb0 { border-bottom-width:0 !important; } +.bb1 { border-bottom-width:1px !important; } +.bb2 { border-bottom-width:2px !important; } + +.bl0 { border-left-width:0 !important; } +.bl1 { border-left-width:1px !important; } +.bl2 { border-left-width:2px !important; } + +/*************/ +/* recaptcha */ +/*************/ +.grecaptcha-badge { + visibility: hidden; +} \ No newline at end of file diff --git a/barobill/convImg/createTaxFile.asp b/barobill/convImg/createTaxFile.asp new file mode 100644 index 0000000..88e8e88 --- /dev/null +++ b/barobill/convImg/createTaxFile.asp @@ -0,0 +1,23 @@ +<% @Language="VBScript" CODEPAGE="65001" %> +<% + imgData = Request("imgdata") + ntsNum = Request("ntsnum") + + filepath = "/UpLoad/DOC_ATTACH/tax/" & ntsNum & "_img.jpg" + + Set CAPIUtil = Server.CreateObject("CAPICOM.Utilities") + + strEncoded = imgdata + + Set Stream = Server.CreateObject("ADODB.Stream") + strDecoded = CAPIUtil.Base64Decode(strEncoded) '디코딩. + strFile2 = CAPIUtil.BinaryStringToByteArray(strDecoded) 'ByteArry로 변환 + Stream.Type = 1 + Stream.Open + Stream.Write strFile2 + Stream.SaveToFile Server.MapPath(filepath), 2 + Stream.Close + Set Stream = nothing + + Response.Write filepath +%> \ No newline at end of file diff --git a/barobill/convImg/createTaxImg.asp b/barobill/convImg/createTaxImg.asp new file mode 100644 index 0000000..92a5560 --- /dev/null +++ b/barobill/convImg/createTaxImg.asp @@ -0,0 +1,43 @@ +<% @Language="VBScript" CODEPAGE="65001" %> +<% + ntsUrl = Request("ntsurl") + ntsNum = Request("ntsnum") +%> + + + + + + +
+
+
+
\ No newline at end of file diff --git a/barobill/convImg/dti.css b/barobill/convImg/dti.css new file mode 100644 index 0000000..2f99d6e --- /dev/null +++ b/barobill/convImg/dti.css @@ -0,0 +1,616 @@ +@charset "utf-8"; + +/*****************/ +/* invoice-write */ +/*****************/ +.invoice-write { + position:relative; + font-size:12px; +} + +.invoice-write .form-container { + border-top:2px solid #dedede; + border-bottom:2px solid #dedede; +} +.invoice-write.invoice-write-red .form-container { + border-color:#a1a1ab; +} +.invoice-write.invoice-write-blue .form-container { + border-color:#a1a1ab; +} + +.invoice-write .table-invoice th, +.invoice-write .table-invoice td { + border:1px solid #dedede; + border-top-width:0; + border-left-width:0; + padding:3px; + height:31px; +} +.invoice-write .table-invoice th { + color:#474747; +} +.invoice-write .table-invoice th.bt, +.invoice-write .table-invoice td.bt { + border-top-width:2px; + border-top-color:#a1a1ab; +} + +.invoice-write .table-invoice th { + background-color:#f3f5f4; + font-weight:normal; +} +.invoice-write .table-invoice th.bg-n, +.invoice-write .table-invoice td.bg-n { + background-color:transparent !important; +} + +.invoice-write .table-invoice th.invoicer, +.invoice-write .table-invoice td.invoicer { + border-bottom-color:#f9b2c4; + border-right-color:#f9b2c4; +} +.invoice-write .table-invoice th.invoicer { + background-color:#fef4f5; + color:#f03347; +} +.invoice-write .table-invoice th.invoicer.title { + background-color:#ffc4ca; + color:#ff2c4c; + font-weight:bold; +} +.invoice-write .table-invoice th.invoicer.bt, +.invoice-write .table-invoice td.invoicer.bt { + border-top-color:#f9b1b4; +} + +.invoice-write .table-invoice th.invoicee, +.invoice-write .table-invoice td.invoicee { + border-bottom-color:#b1c8f2; + border-right-color:#b1c8f2; +} +.invoice-write .table-invoice th.invoicee { + background-color:#e9f3ff; + color:#526b93; +} +.invoice-write .table-invoice th.invoicee.title { + background-color:#c4dcff; + color:#3465b2; + font-weight:bold; +} +.invoice-write .table-invoice th.invoicee.bt, +.invoice-write .table-invoice td.invoicee.bt { + border-top-color:#b0ccfe; +} + +.invoice-write .table-invoice .invoice-items td { + height:30px; +} + +.invoice-write .table-invoice input[type=text] { + height:100%; + min-height:20px; +} +.invoice-write .table-invoice input[type=text].truster-tax-reg-id { + height:20px; +} + +.invoice-write .table-invoice textarea { + overflow:hidden; + min-height:35px; +} + +/****************/ +/* invoice-view */ +/****************/ +.invoice-view { + position:relative; + font-size:12px; +} +.invoice-view.invoice-view-red .form-header, +.invoice-view.invoice-view-red .form-header *, +.invoice-view.invoice-view-red .form-body, +.invoice-view.invoice-view-red .form-body *, +.invoice-view.invoice-view-red .form-footer, +.invoice-view.invoice-view-red .form-footer *, +.invoice-view.invoice-view-red .form-description, +.invoice-view.invoice-view-red .form-description *, +.invoice-view.invoice-view-red .form-description2, +.invoice-view.invoice-view-red .form-description2 * { + color:#d13827; +} +.invoice-view.invoice-view-blue .form-header, +.invoice-view.invoice-view-blue .form-header *, +.invoice-view.invoice-view-blue .form-body, +.invoice-view.invoice-view-blue .form-body *, +.invoice-view.invoice-view-blue .form-footer, +.invoice-view.invoice-view-blue .form-footer *, +.invoice-view.invoice-view-blue .form-description, +.invoice-view.invoice-view-blue .form-description *, +.invoice-view.invoice-view-blue .form-description2, +.invoice-view.invoice-view-blue .form-description2 * { + color:#0068a5; +} + +/* watermark */ +.invoice-view .watermark-container { + position:relative; + width:100%; + height:0px; + line-height:0px; + font-size:0px; + z-index:997; +} +.invoice-view .watermark-container .watermark { + position:absolute; + top:105px; +} +.invoice-view .watermark-container .watermark img { + width:340px; +} +.invoice-view .watermark-container .watermark.watermark1{ + left:35px; +} +.invoice-view .watermark-container .watermark.watermark2{ + right:15px; +} + +/* seal */ +.invoice-view .seal-container{ + position:relative; + z-index:998; + width:100%; + height:0px; + font-size:0px; + line-height:0px; +} +.invoice-view .seal-container .seal { + position: absolute; +} +.invoice-view .seal-container .seal.truster { + top: 243px; + right: 0px; +} +.invoice-view .seal-container .seal.ti { + top: 87px; + left: 370px; +} + +/* form-header */ +.invoice-view .form-header { + position:relative; + z-index:999; + height:17px; + text-align:right; +} +.invoice-view .form-header .ntsconfirmnum { + position:absolute; + top:0; + right:0; + line-height:1; +} + +/* form-body */ +.invoice-view .form-body { + position:relative; + z-index:998; + box-sizing:content-box; +} +.invoice-view .form-body * { box-sizing:content-box; letter-spacing:0; } + +.invoice-view .form-body { + border:2px solid #dedede; +} +.invoice-view.invoice-view-red .form-body { + border-color:#d13827; +} +.invoice-view.invoice-view-blue .form-body { + border-color:#0068a5; +} + +.invoice-view .form-container .table-invoice { + width:100%; + border-spacing:0px 0px; +} +.invoice-view .form-container .table-invoice th, +.invoice-view .form-container .table-invoice td { + font-weight:normal; + padding:2px 0; + height:20px; +} +.invoice-view .form-container .table-invoice td { + color:#000; +} +.invoice-view .form-container .table-invoice th.a_l, +.invoice-view .form-container .table-invoice td.a_l { + padding-left:3px !important; +} +.invoice-view .form-container .table-invoice th.a_r, +.invoice-view .form-container .table-invoice td.a_r { + padding-right:3px !important; +} +.invoice-view .form-container .table-invoice th.bg-n, +.invoice-view .form-container .table-invoice td.bg-n { + background-color:transparent !important; +} + +.invoice-view .form-container .table-invoice th, +.invoice-view .form-container .table-invoice td { + border-right:1px solid #a0a0a0; + border-bottom:1px solid #a0a0a0; +} +.invoice-view .form-container .table-invoice th, +.invoice-view .form-container .table-invoice td.th { + background-color:#f5f5f5; +} +.invoice-view .form-container .table-invoice th.br, +.invoice-view .form-container .table-invoice td.br { + border-right-color:#333; +} +.invoice-view .form-container .table-invoice th.bb, +.invoice-view .form-container .table-invoice td.bb { + border-bottom-color:#333; +} + +.invoice-view .form-container .table-invoice .invoice-items tr td .detailtext { + color:#000; +} + +.invoice-view.invoice-view-red .form-container .table-invoice th, +.invoice-view.invoice-view-red .form-container .table-invoice td { + border-right-color:#e6a9a6; + border-bottom-color:#e6a9a6; +} +.invoice-view.invoice-view-red .form-container .table-invoice th, +.invoice-view.invoice-view-red .form-container .table-invoice td.th { + background-color:#faf4f4; +} +.invoice-view.invoice-view-red .form-container .table-invoice th { + color:#d13827; +} +.invoice-view.invoice-view-red .form-container .table-invoice th.br, +.invoice-view.invoice-view-red .form-container .table-invoice td.br { + border-right-color:#d13827; +} +.invoice-view.invoice-view-red .form-container .table-invoice th.bb, +.invoice-view.invoice-view-red .form-container .table-invoice td.bb { + border-bottom-color:#d13827; +} + +.invoice-view.invoice-view-blue .form-container .table-invoice th, +.invoice-view.invoice-view-blue .form-container .table-invoice td { + border-right-color:#80b4cc; + border-bottom-color:#80b4cc; +} +.invoice-view.invoice-view-blue .form-container .table-invoice th, +.invoice-view.invoice-view-blue .form-container .table-invoice td.th { + background-color:#edf2f8; +} +.invoice-view.invoice-view-blue .form-container .table-invoice th { + color:#0068a5; +} +.invoice-view.invoice-view-blue .form-container .table-invoice th.br, +.invoice-view.invoice-view-blue .form-container .table-invoice td.br { + border-right-color:#0068a5; +} +.invoice-view.invoice-view-blue .form-container .table-invoice th.bb, +.invoice-view.invoice-view-blue .form-container .table-invoice td.bb { + border-bottom-color:#0068a5; +} + +/* form-footer */ +.invoice-view .form-footer { + position:relative; + height:17px; + font-size:12px; +} +.invoice-view .form-footer .mgtnum { + position:absolute; + top:0; + left:0; + width:100%; + text-align:center; + letter-spacing:0; +} + +/* stamp */ +.invoice-view .stamp-container { + position:relative; + z-index:998; + height:0px; + font-size:0px; + line-height:0px; +} +.invoice-view .stamp-container .stamp { + position:absolute; + top:-77px; + right:120px; + width:134px; + height:134px; +} +.invoice-view .stamp-container .stamp img { + width:100%; + height:100%; +} +.invoice-view .stamp-container .stamp .stamp-datetime{ + position:absolute; + top:90px; + left:0px; + width:100%; + font-weight:bold; + font-size:12px; + line-height:12px; + letter-spacing: 0; + text-align:center; +} +.invoice-view .stamp-container .stamp.stamp-red .stamp-datetime { + color:#F14A55; +} +.invoice-view .stamp-container .stamp.stamp-blue .stamp-datetime { + color:#566CC0; +} + +/* form-description */ +.form-description { + color:#000 !important; +} + +/* form-description2 */ +.form-description2 { + margin-top:10px; + padding:3px 5px 3px 5px; + border:2px solid #555; +} + +/* attached-highlight */ +.attached-highlight.on { + background: #b7e8ff; +} + +/**************************/ +/* invoice-view-for-print */ +/**************************/ +.invoice-view.invoice-view-for-print * { + font-family:dotum, sans-serif; + letter-spacing:-1px; +} +.invoice-view.invoice-view-for-print.invoice-view-red .form-header, +.invoice-view.invoice-view-for-print.invoice-view-red .form-header *, +.invoice-view.invoice-view-for-print.invoice-view-red .form-body, +.invoice-view.invoice-view-for-print.invoice-view-red .form-body *, +.invoice-view.invoice-view-for-print.invoice-view-red .form-footer, +.invoice-view.invoice-view-for-print.invoice-view-red .form-footer *, +.invoice-view.invoice-view-for-print.invoice-view-red .form-description, +.invoice-view.invoice-view-for-print.invoice-view-red .form-description *, +.invoice-view.invoice-view-for-print.invoice-view-red .form-description2, +.invoice-view.invoice-view-for-print.invoice-view-red .form-description2 * { + color:red; +} +.invoice-view.invoice-view-for-print.invoice-view-blue .form-header, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-header *, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-body, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-body *, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-footer, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-footer *, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-description, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-description *, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-description2, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-description2 * { + color:blue; +} + +/* watermark */ +.invoice-view.invoice-view-for-print .watermark-container .watermark { + top:65px; +} +.invoice-view.invoice-view-for-print .watermark-container .watermark img { + width:270px; +} +.invoice-view.invoice-view-for-print .watermark-container .watermark.watermark1 { + left:35px; +} +.invoice-view.invoice-view-for-print .watermark-container .watermark.watermark2 { + right:15px; +} + +/* seal */ +.invoice-view.invoice-view-for-print .seal-container .seal.truster { + top: 142px; + right: 0px; +} +.invoice-view.invoice-view-for-print .seal-container .seal.ti { + top: 60px; + left: 310px; +} + +/* form-header */ +.invoice-view.invoice-view-for-print .form-header { + height:12px; + font-size:11px; +} + +/* form-body */ +.invoice-view .form-body { + border-color:#000; +} +.invoice-view.invoice-view-for-print.invoice-view-red .form-body { + border-color:red; +} +.invoice-view.invoice-view-for-print.invoice-view-blue .form-body { + border-color:blue; +} + +.invoice-view.invoice-view-for-print .form-container .table-invoice th, +.invoice-view.invoice-view-for-print .form-container .table-invoice td { + padding:0; + line-height:14px; + height:18px; +} +.invoice-view.invoice-view-for-print .form-container .table-invoice td, +.invoice-view.invoice-view-for-print .form-container .table-invoice td * { + color:#000; +} +.invoice-view.invoice-view-for-print .form-container .table-invoice .invoice-items tr td { + font-size:10px; + height:20px; +} +.invoice-view.invoice-view-for-print .form-container .table-invoice .invoice-items tr td .detailtext { + overflow: hidden; + max-height: 21px; + margin-top: -1px; + line-height: 10px; +} + +.invoice-view.invoice-view-for-print.invoice-view-red .form-container .table-invoice th, +.invoice-view.invoice-view-for-print.invoice-view-red .form-container .table-invoice td { + border-color:red !important; + background:none; +} +.invoice-view.invoice-view-for-print.invoice-view-red .form-container .table-invoice th { + color:red !important; +} + +.invoice-view.invoice-view-for-print.invoice-view-blue .form-container .table-invoice th, +.invoice-view.invoice-view-for-print.invoice-view-blue .form-container .table-invoice td { + border-color:blue !important; + background:none; +} +.invoice-view.invoice-view-for-print.invoice-view-blue .form-container .table-invoice th { + color:blue !important; +} + +/* stamp */ +.invoice-view.invoice-view-for-print .stamp-container .stamp { + width:110px; + height:110px; +} +.invoice-view.invoice-view-for-print .stamp-container .stamp .stamp-datetime{ + top:72px; +} + +/* form-description */ +.invoice-view.invoice-view-for-print .form-description { + padding-top:3px; + font-size:11px; + line-height:13px; +} + +/******************/ +/* summation-view */ +/******************/ +.summation-view { + font-size:12px; + box-sizing:content-box; +} +.summation-view * { box-sizing:content-box; letter-spacing:0; } + +/* watermark */ +.summation-view .watermark-container { + position:relative; + z-index:998; + width:100%; + height:0px; + font-size:0px; + line-height:0px; +} +.summation-view .watermark-container .watermark{ + position:absolute; + top:350px; + left:0px; + width:100%; + text-align:center; +} + +/* form-body */ +.summation-view .form-body { + position:relative; + z-index:998; + box-sizing:content-box; +} +.summation-view .form-body * { box-sizing:content-box; letter-spacing:0; } + +.summation-view .form-body { + position:relative; + z-index:999; + padding:20px; + border:1px solid #999; +} +.summation-view .form-body .table-summation { + width:100%; +} +.summation-view .form-body .table-summation th, +.summation-view .form-body .table-summation td { + height:21px; + padding:3px 0; + border-right:1px solid #aaa; + border-bottom:1px solid #aaa; +} +.summation-view .form-body .table-summation th.bb, +.summation-view .form-body .table-summation td.bb { + border-bottom-color:#666; +} +.summation-view .form-body .table-summation th.a_l, +.summation-view .form-body .table-summation td.a_l { + padding-left:3px; +} +.summation-view .form-body .table-summation th.a_r, +.summation-view .form-body .table-summation td.a_r { + padding-right:3px; +} +.summation-view .form-body .table-summation .table-summation-detail { + height:250px; + border-top:1px solid #666; + border-bottom:1px solid #666; + overflow-y:scroll; +} + +/****************************/ +/* summation-view-for-print */ +/****************************/ + +/* watermark */ +.summation-view.summation-view-for-print .watermark-container .watermark{ + top:340px; +} + +/* form-body */ +.summation-view.summation-view-for-print .form-body { + border:none; + padding:0; + font-family:batang,sans-serif; +} +.summation-view.summation-view-for-print .form-body .table-summation th, +.summation-view.summation-view-for-print .form-body .table-summation td { + border-right-color:#999; + border-bottom-color:#999; +} +.summation-view.summation-view-for-print .form-body .table-summation th.bt1, +.summation-view.summation-view-for-print .form-body .table-summation td.bt1 { + border-top:1px solid #999; +} +.summation-view.summation-view-for-print .form-body .table-summation th.bl1, +.summation-view.summation-view-for-print .form-body .table-summation td.bl1 { + border-left:1px solid #999; +} +.summation-view.summation-view-for-print .form-body .table-summation th.bb, +.summation-view.summation-view-for-print .form-body .table-summation td.bb { + border-bottom-color:#000; +} + +/************************/ +/* modify code selector */ +/************************/ +.modify-codes table th, +.modify-codes table td { + padding:12px 25px; + border:1px solid #eaedf4; + font-size:13px; + line-height:1.5; +} +.modify-codes table th { + padding-left:0; + padding-right:0; + color: #213859; + background-color:#e8eefa; + text-align:center; +} diff --git a/barobill/convImg/layout.css b/barobill/convImg/layout.css new file mode 100644 index 0000000..815a577 --- /dev/null +++ b/barobill/convImg/layout.css @@ -0,0 +1,3787 @@ +@charset "utf-8"; + +/**********/ +/* layout */ +/**********/ +.wrapper { + position:relative; + width:1048px; + height:100%; + margin:0 auto; +} + +/* area-banner */ +#area-banner .issue-close-date { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:18px; + background-color:#3366e2; + color:#fff; + text-align:center; + letter-spacing: 1px; +} +#area-banner .issue-close-date .wrapper { + height:60px; + padding:15px 0; +} +#area-banner .issue-close-date .wrapper p .month { + display: inline-block; + height:28px; + padding:5px 12px 0 12px; + border-radius: 14px; + background-color:#ffce1a; + color:#002d93; +} +#area-banner .issue-close-date .wrapper:before { + content: url('https://image.barobill.co.kr/v7/banner/bg-left.gif'); + position:absolute; + top:0; + left:0; +} +#area-banner .issue-close-date .wrapper:after { + content: url('https://image.barobill.co.kr/v7/banner/bg-right.gif'); + position:absolute; + top:0; + right:50px; +} +#area-banner .issue-close-date .wrapper .banner-close-btn { + position:absolute; + top:15px; + right:0; + width:30px; + height:30px; + background: url('https://image.barobill.co.kr/v7/banner/close-btn.gif') no-repeat; +} + +/* area-top */ +#area-top { + height:40px; + background-color:#2f2024; + color:#fff; +} +#area-top.DEV {background-color:#0e144e;} +#area-top.TEB {background-color:#063b1e;} + +#area-top .deploylevel { + position:absolute; + top:50%; + left:0; + margin-top:-8px; + font-size:14px; + color:#a7a7a7; +} +#area-top.DEV .deploylevel {color:#c2d5ff;} +#area-top.TEB .deploylevel {color:#8dd34c;} + +#area-top .server-addr { + position:absolute; + top:0; + left:50%; + width:100px; + margin-left:-50px; + color:#20242f; + text-align:center; +} + +#area-top .links { + float:left; + height:100%; + top:0; + right:0; +} +#area-top .links > a { + display:inline-block; + height:100%; + line-height:1; +} +#area-top .links > a > span { + display:block; + padding-top:13px; +} +#area-top .links > a:hover { + text-decoration: underline; +} +#area-top .links .split { + border-left:1px solid #494d56; + padding-right:14px; + margin-left:13px; +} + +#area-top .login { + position:absolute; + height:100%; + top:0; + right:0; +} +#area-top .login .join { + float:left; + margin-top:8px; +} +#area-top .login .join .btn { + border-radius:13px; + height:22px; + padding-top:4px; + line-height:1; +} + +#area-top .logged-in { + position:absolute; + top:0; + right:0; + height:100%; +} +#area-top .logged-in .info { + position: relative; +} +#area-top .logged-in .info .menus { + display:none; + position:absolute; + z-index:1500; + top:34px; + right:-15px; + width:160px; + padding:5px 0; + border:1px solid #f0f0f1; + border-radius: 5px; + background:#fff; + box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3); +} +#area-top .logged-in .info .menus li.line { + height:5px; + margin-bottom:4px; + border-bottom:1px solid #edeef2; +} +#area-top .logged-in .info .menus li a { + display:block; + padding:8px 0 8px 20px; + color:#252525; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:13px; +} +#area-top .logged-in .info .menus li a:hover { + text-decoration: underline; +} +#area-top .logged-in .info .menus li a.logout { + background: url('https://image.barobill.co.kr/v7/layout/top-logout.png') no-repeat 90% center; +} + +#area-top .logged-in .point { + float:left; + margin-right:11px; +} +#area-top .logged-in .point > span { + display:block; + padding-top:9px; +} +#area-top .logged-in .point > span .icon { + display:inline-block; + width:20px; + height:20px; + padding-top:4px; + background: url('https://image.barobill.co.kr/v7/layout/top-point.png') no-repeat; +} +#area-top .logged-in .point > span .amount { + position:relative; + font-size:14px; + font-weight:bold; + color:#ffd456; +} +#area-top .logged-in .point .amount-detail { + display:none; + position:absolute; + z-index:1500; + top:34px; + right:0; + padding: 7px 10px; + border:1px solid #f0f0f1; + border-radius: 5px; + background:#fff; + box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3); + font-size:12px; + color:#000; +} + +#area-top .logged-in .settle { + float:left; + margin-top:8px; +} +#area-top .logged-in .settle .btn { + border-radius:13px; + height:22px; + padding-top:4px; + line-height:1; +} + +/* area-gnb */ +#area-gnb { + position:relative; + height:0; +} + +#area-gnb .gnb-container { + position:absolute; + z-index:1000; + top:0; + left:0; + width:100%; + height:90px; + border-bottom:1px solid #dae1ec; + background-color:#fff; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + color:#000; + letter-spacing: -1px; +} + +#area-gnb .gnb-container .gnb{ + height:100%; +} +#area-gnb .gnb-container .gnb .logo { + display:block; + position:absolute; + top:50%; + left:0; + width:150px; + height:31px; + margin-top:-15px; + background:url('https://image.barobill.co.kr/v7/layout/gnb-logo.png') no-repeat 0 -31px; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 { + position:absolute; + top:0; + right:0; + height:100%; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li { + position:relative; + float:left; + height:100%; + margin:0 36px; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li a { + display:block; + margin-top:30px; + padding:5px 0; + font-size: 17px; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li .line { + display:none; + position:absolute; + z-index:1001; + bottom:-1px; + left:0; + width:100%; + border-bottom:2px solid #072e98; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li.all { + margin-right:0; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li.all a { + width:24px; + height:18px; + padding:0; + margin-top:36px; + background:url('https://image.barobill.co.kr/v7/layout/gnb-all-menu.png') no-repeat; + background-position: 0 -18px; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li.on { + float:left; + height:100%; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li.on a { + color:#012c9b; + font-weight:bold; +} +#area-gnb .gnb-container .gnb .gnb-navi-m1 li.on .line { + display:block; +} + +#area-gnb .gnb-container.gnb-container-transparent { + background-color: transparent; + border-color: transparent; +} +#area-gnb .gnb-container.gnb-container-transparent .gnb .logo { + background-position: 0 0; +} +#area-gnb .gnb-container.gnb-container-transparent .gnb .gnb-navi-m1 li.all a { + background-position: 0 0; +} +#area-gnb .gnb-container.gnb-container-transparent .gnb .gnb-navi-m1 { + color:#fff; +} + +#area-gnb .gnb-container .gnb .gnb-dropdown { + display:none; + position:absolute; + z-index:1000; + top:90px; + left:0; + width:100%; + color:#000; + box-shadow: 0 10px 10px 0 rgba(0,0,0,0.3); +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-dropdown-bg1 { + position:absolute; + top:0; + left:0; + width:50%; + height:100%; + background-color:#edeef1; + overflow:hidden; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-dropdown-bg1:before { + content: url("https://image.barobill.co.kr/v7/layout/gnb-dropdown-bg-img.png"); + position:absolute; + bottom:0; + right:400px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-dropdown-bg1:after { + content: url("https://image.barobill.co.kr/v7/layout/gnb-dropdown-bg-img2.png"); + position:absolute; + top:15px; + right:300px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-dropdown-bg2 { + position:absolute; + top:0; + right:0; + width:50%; + height:100%; + background-color:#fff; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info { + display:none; + position:absolute; + top:0; + left:0; + width:230px; + height:100%; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info h2 { + margin-top:40px; + font-size:22px; + font-weight:normal; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info h2:after { + content:""; + display:block; + width:30px; + height:20px; + border-bottom:1px solid #262626; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info .gnb-navi-quick { + padding-top:12px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info .gnb-navi-quick li { + padding:8px 0; + font-size:14px; + color:#5a5a5a; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info .gnb-navi-quick li:hover { + text-decoration: underline; + color:#012b97; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info .gnb-navi-quick li a div { + display:inline-block; + margin-left:5px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info .gnb-navi-quick.gnb-navi-quick-l { + padding-top:40px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .info .gnb-navi-quick.gnb-navi-quick-l li { + font-size:18px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi { + min-height:230px; + padding-left:40px; + margin-left:242px; + background-color:#fff; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 { + display:none; + width:780px; + padding:40px 0 10px 0; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 h3 { + position:relative; + padding-bottom:20px; + margin-bottom:25px; + border-bottom:1px solid #f2f0f2; + font-size:22px; + font-weight:normal; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 h3 div { + display:inline-block; + margin-left:5px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 h3:after { + content: ""; + display:block; + position:absolute; + bottom:-1px; + left:0; + width:30px; + border-bottom:1px solid #012d9a; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li { + float:left; + width:195px; + padding:0 0 30px 0; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li h4 { + margin-bottom:15px; + font-size:17px; + font-weight:normal; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li .gnb-navi-m3 > li { + padding:5px 0; + font-size:14px; + color:#6a6a6a; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li a, +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li .gnb-navi-m3 > li a { + display:block; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li .gnb-navi-m3 > li a.new-window:after { + content: url('https://image.barobill.co.kr/v7/layout/gnb-new-window.png'); + margin-left:7px; +} +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li a:hover, +#area-gnb .gnb-container .gnb .gnb-dropdown .gnb-navi .navi .gnb-navi-m2 ul > li .gnb-navi-m3 > li a:hover { + text-decoration: underline; + color:#012b97; +} +#area-gnb .gnb-container .gnb .gnb-dropdown.gnb-dropdown-all .gnb-dropdown-bg1 { + background-color:#3366e2; +} +#area-gnb .gnb-container .gnb .gnb-dropdown.gnb-dropdown-all .gnb-navi .info .gnb-navi-quick li { + color:#fff; +} +#area-gnb .gnb-container .gnb .gnb-dropdown.gnb-dropdown-all .gnb-navi .navi { + max-height:500px; + overflow-x:hidden; + overflow-y:scroll; + -ms-overflow-style: none; + overflow: -moz-scrollbars-none; +} +#area-gnb .gnb-container .gnb .gnb-dropdown.gnb-dropdown-all .gnb-navi .navi::-webkit-scrollbar { width: 0 !important; } +#area-gnb .gnb-container .gnb .gnb-dropdown.gnb-dropdown-all .gnb-navi .navi .gnb-navi-m2 { + padding-bottom:0; +} + +/* area-right-fixed */ +#area-right-fixed { + position:fixed; + z-index:1400; + top:40%; + right:10px; +} + +#area-right-fixed .quick-btns .btn { + width:70px; + height:70px; + padding:15px 0 0 0; + margin-bottom:10px; + border-radius:50%; + color:#fff; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:12px; + font-weight:bold; + line-height:1; + text-align:center; + box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3); + cursor:pointer; +} +#area-right-fixed .quick-btns .btn.review-btn { + height:70px; + padding-top:40px; + background-image: url('https://image.barobill.co.kr/v7/layout/right-fixed-review.png'); + background-repeat: no-repeat; + background-position: center 10px; +} +#area-right-fixed .quick-btns .btn.remote-btn { + height:70px; + padding-top:40px; + background-image: url('https://image.barobill.co.kr/v7/layout/right-fixed-remote.png'); + background-repeat: no-repeat; + background-position: center 10px; +} +#area-right-fixed .quick-btns .btn .arrow { + display:inline-block; + font-size:10px; + margin-bottom:5px; +} + +/* area-body */ +#area-body { + margin-top:90px; + background-color:#fff; + overflow:auto; +} + +#area-body.area-body-gray { + background-color:#f9fbff; +} + +#area-body.area-body-gray:after { + content: ''; + position:absolute; + z-index: 0; + top:160px; + left:50%; + width:396px; + height:401px; + margin-left:250px; + background:url('https://image.barobill.co.kr/v7/layout/body-pattern-triangle3.png') no-repeat; +} + +/* area-body area-snb */ +#area-body #area-snb { + float:left; + width:185px; + min-height:500px; + margin:25px 0 80px 0; +} +#area-body #area-snb ul.snb-container { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus { + padding:3px 20px; + margin-bottom:15px; + border:1px solid #c9d3e2; + border-radius:11px; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus > li { + position:relative; + height:37px; + border-top:1px solid #e9f3f9; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus > li:first-child { + border-top:0; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus > li > a{ + display:block; + position:absolute; + top:3px; + right:-10px; + bottom:3px; + left:-10px; + padding:0 10px; + border-radius:5px; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus > li > a .snb-menu-title { + float:left; + margin-top:8px; + font-size:14px; + line-height:14px; + letter-spacing: -1px; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus > li > a .snb-menu-cnt { + float:left; + min-width:17px; + height:17px; + padding:3px 6px 0 5px; + margin-top:7px; + margin-left:7px; + border-radius: 8px; + background-color:#2e71e8; + color:#fff; + font-size:11px; + font-weight:normal; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus > li > a .snb-menu-arrow { + position:absolute; + top:50%; + right:10px; + width:4px; + height:5px; + margin-top:-3px; + background: url('https://image.barobill.co.kr/v7/layout/arrow_off.png') no-repeat; +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus > li > a.new-window:after { + content: url('https://image.barobill.co.kr/v7/layout/gnb-new-window.png'); + float:left; + margin-top:10px; + margin-left:10px; +} + +#area-body #area-snb ul.snb-container > li > ul.snb-menus.on { + box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1); +} +#area-body #area-snb ul.snb-container > li > ul.snb-menus.on > li.on > a { + background-color:#e8f5fe; + font-weight:bold; + color:#186ddd; +} + +#area-body #area-snb .csc { + height:110px; + padding:30px 0 0 0; + margin-top:30px; + border-radius:5px; + background:#f2f2f3 url('https://image.barobill.co.kr/v7/layout/snb-cs-bg.png') no-repeat right 23px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + text-align:center; +} +#area-body #area-snb .csc h3 { + font-size:15px; + font-weight:normal; + margin-bottom:10px; + color:#05327a; +} +#area-body #area-snb .csc h2 { + font-size:28px; + font-weight:normal; + color:#000; +} + +/* area-body area-title */ +#area-body #area-title { + position:relative; + float:right; + width:830px; + height:40px; + margin-top:30px; + border-bottom:1px solid #e1e1e1; +} +#area-body #area-title.area-title-full, +#area-body #area-title.area-title-medium, +#area-body #area-title.area-title-small { + float:none; + height:160px; + margin:0; + border:none; +} +#area-body #area-title.area-title-full { + width:100%; +} +#area-body #area-title.area-title-medium { + width:830px; + margin:0 auto; +} +#area-body #area-title.area-title-small { + width:780px; + margin:0 auto; +} +#area-body #area-title.area-title-extra-small { + width:600px; + margin:0 auto; +} + +#area-body #area-title h1 { + position:absolute; + z-index:1; + top:50%; + left:0; + width:100%; + margin-top:-11px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size: 18px; + font-weight:normal; + line-height:1; + letter-spacing:-1px; +} +#area-body #area-title.area-title-full h1, +#area-body #area-title.area-title-medium h1, +#area-body #area-title.area-title-small h1 { + text-align:center; + top:unset; + bottom:40px; + margin-top:0; + font-size:37px; + font-weight:normal; + letter-spacing: -2px; +} +#area-body #area-title .title-navi { + position:absolute; + bottom:10px; + right:0; + font-size: 12px; + letter-spacing:-1px; +} +#area-body #area-title .title-navi .home { + position:absolute; + z-index:1; + top:50%; + left:-23px; + width:15px; + height:16px; + margin-top:-10px; + border-radius:3px; + background:url('https://image.barobill.co.kr/v7/layout/title-home.gif') no-repeat center 2px; +} +#area-body #area-title .title-navi .home:hover { + background-color:#0953b8; +} +#area-body #area-title .title-navi .category { +} +#area-body #area-title .title-navi .title { + +} +#area-body #area-title .title-navi .arrow { + font-family:'dotum', sans-serif; + margin:0 3px; + font-size:13px; + color:rgb(150, 150, 150); +} + +/* area-body area-content */ +#area-body #area-content { + position: relative; + z-index:1; + float: right; + width: 830px; + min-height: 300px; + margin:20px 0 80px 0; + text-align: left; +} +#area-body #area-content.area-content-full { + float:none; + width:100%; + margin-top:0; +} +#area-body #area-content.area-content-medium { + float:none; + width:830px; + margin-top:0; + margin-left:auto; + margin-right:auto; +} +#area-body #area-content.area-content-small { + float:none; + width:780px; + margin-top:0; + margin-left:auto; + margin-right:auto; +} + +#area-body #area-content.area-content-extra-small { + float:none; + width:600px; + margin-top:0; + margin-left:auto; + margin-right:auto; +} + +/* area-fnb */ +#area-fnb { + clear:both; + height:50px; + background-color:#0b0e17; +} + +#area-fnb .links { + height:100%; +} +#area-fnb .links a { + display:inline-block; + height:100%; + line-height:1; + color:#c1c2c4; +} +#area-fnb .links a span { + display:block; + padding-top:18px; + font-size: 13px; +} +#area-fnb .links a:hover { + text-decoration: underline; +} +#area-fnb .links .split { + border-left:1px solid #4e5156; + padding-right:14px; + margin-left:13px; +} + +#area-fnb .family-site { + position:absolute; + top:0; + right:0; + width:200px; + height:100%; + background-color:#012d9a; + color:#e0e4f0; + cursor:pointer; +} +#area-fnb .family-site .title { + position:relative; + width:200px; + height:50px; +} +#area-fnb .family-site .title .name { + position:absolute; + top:50%; + left:21px; + margin-top:-6px; +} +#area-fnb .family-site .title .arrow { + position:absolute; + top:50%; + right:16px; + margin-top:-5px; + font-size:10px; +} +#area-fnb .family-site .sites { + position:absolute; + z-index:1; + top:0; + left:0; + width:100%; + height:50px; + overflow:hidden; +} +#area-fnb .family-site .sites ul { + height:85px; + margin-top:50px; + padding:5px 20px 0 20px; + background-color:#012d9a; +} +#area-fnb .family-site .sites ul li { + margin-bottom:2px; +} +#area-fnb .family-site .sites ul li a { + display:block; + padding:3px 0; + font-size:13px; +} +#area-fnb .family-site .sites ul li a:hover { + text-decoration: underline; +} +#area-fnb .family-site .sites:hover { + height:135px; +} + +/* area-bottom */ +#area-bottom { + height:160px; + background-color:#20242f; +} +#area-bottom .logo { + position:absolute; + top:33px; + left:0; + width:130px; + height:28px; + background:url('https://image.barobill.co.kr/v7/layout/bottom-logo.png') no-repeat; +} +#area-bottom .copyright { + position:absolute; + top:33px; + left:190px; + color:#a9a9a7; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:13px; + line-height:1.4; + letter-spacing: 1px; +} +#area-bottom .certi { + position:absolute; + top:50%; + right:0; + height:62px; + padding-top:11px; + padding-left:70px; + margin-top:-31px; + background:url('https://image.barobill.co.kr/v7/layout/bottom-mark2.png') no-repeat; + color:#adaeb2; + line-height:1.7; +} + +/* top-only, body-only */ +#area-body.area-body-only { + margin:0; +} + +#area-body.area-body-only #area-title { + height:50px; + background:#fff; + border-bottom:1px solid #dae1ec; + color:#000; +} +#area-body.area-body-only #area-title .partner-logo { + position:absolute; + top:50%; + left:0; + margin-top:-15px; +} +#area-body.area-body-only #area-title .barobill-link { + position:absolute; + top:50%; + right:0; + margin-top:-10px; +} + +#area-body.area-body-only #area-title.area-title-for-check { + height:80px; +} +#area-body.area-body-only #area-title.area-title-for-check .logo { + position:absolute; + top:50%; + left:10px; + width:150px; + height:31px; + margin-top:-15px; + background:url('https://image.barobill.co.kr/v7/layout/gnb-logo.png') no-repeat; + background-position: 0 -31px; +} + +/************************/ +/* popup, dialog, alert */ +/************************/ + +/* popup */ +#area-popup #area-top { + background-color:#0962c3; + background-image: linear-gradient(140deg, #0841aa, #0aabfd); +} +#area-popup #area-top h1 { + padding:10px 0 0 20px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:18px; + font-weight:normal; +} + +#area-popup #area-content { + position: relative; + padding:20px; +} + +/* notice-popup */ +.notice-popup{ + position:absolute;display:block;background:#FFFFFF; + box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.5); +} +.notice-popup .bottom{ + position:relative;height:35px;background:#444444; +} +.notice-popup .bottom .noopen{ + position:absolute;z-index:1000;top:9px;left:12px; +} +.notice-popup .bottom .close{ + position:absolute;z-index:1000;top:9px;right:12px; +} +.notice-popup .bottom .noopen label, +.notice-popup .bottom .close a{ + font-family:"malgun gothic";font-size:15px; +} +.notice-popup .bottom .noopen label input { + margin-right:5px; +} +.notice-popup .bottom .noopen label:hover, +.notice-popup .bottom .close a:hover { + text-decoration: underline; +} + +/* dialog */ +.dialog-container { + position:relative; + display:none; + position:fixed; + top:-1000px; + left:-1000px; + padding:0; + margin:0; + background-color: #FFF; + border-radius:10px; + box-shadow:1px 1px 8px #666; +} +.dialog-container .dialog-title { + position:relative; + min-height:56px; + padding:20px; + border-radius: 3px 3px 0 0; + border-bottom: 1px solid #e1e1e1; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + cursor:move; +} +.dialog-container .dialog-title h2 { + height:100%; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size: 16px; + font-weight: bold; +} +.dialog-container a.dialog-close { + position:absolute; + top:0; + right:0; + width:56px; + height:56px; + background: url('https://image.barobill.co.kr/v7/component/dialog-close-new.png') no-repeat center center; + cursor:pointer; +} +.dialog-container .dialog-content { + padding:30px; +} + +/* alert */ +.alert-container { + position: fixed; + z-index: 99999; + width:auto; + /* max-width: 600px; */ + min-width:400px; + background-color: #fff; + border-radius: 3px; + box-shadow: 1px 1px 8px #666; +} +.alert-container .alert-title { + padding: 20px; + border-radius: 3px 3px 0 0; + border-bottom: 1px solid #e1e1e1; + word-break:keep-all; + white-space:nowrap; +} +.alert-container .alert-title h2 { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size: 16px; + text-align:center; +} +.alert-container .alert-content { + background-position: center center; + background-repeat: no-repeat; + padding: 50px 40px; + margin-left: 3px; + margin-right: 3px; + font-size:13px; + letter-spacing: -1px; +} +.alert-container .alert-content.alert-content-alert { + background-image: url("https://image.barobill.co.kr/v7/component/alert.gif"); + background-position: 25px center; + padding-left:120px; +} +.alert-container .alert-content.alert-content-prompt { + padding-bottom:20px; +} +.alert-container .alert-content h3 { + font-size:16px; + color: #1B5FA6; + letter-spacing: -1px; + margin-bottom: 25px; + text-align: center; + word-break:keep-all; + white-space:nowrap; +} +.alert-container .alert-content .alert-msg { + padding-left: 0px; + padding-right: 0px; + text-align: left; + word-break:keep-all; + white-space:nowrap; + line-height:1.5; +} +.alert-container .alert-content .alert-msg .alert-prompt { + margin-top:25px; +} +.alert-container .alert-buttons { + width: 100%; + height: 70px; + border-radius: 0 0 3px 3px; + background-color: #FFF; + text-align: center; +} +.alert-container .alert-buttons .btn { + width:80px; + padding-left:0; + padding-right:0; +} + +/********/ +/* form */ +/********/ + +/* iframe */ +iframe { + display:block; + border: 1px solid #ced4da; +} + +/* input, select, textarea */ +.form-focused { + border: 1px solid #0953b8 !important; +} +input[type=text], +input[type=password], +input[type=file] { + height:26px; + padding:0 2px; + margin:0; + border: 1px solid #ced4da; + border-radius:2px; + background-color: #FFFFFF; + font-family:'malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size: 12px; + line-height:24px; + vertical-align:baseline; + -webkit-appearance: none; + -moz-appearance: none; +} +input[type=text].form-xs, input[type=password].form-xs, input[type=file].form-xs { height:18px; font-size:11px; line-height:18px; } +input[type=text].form-s, input[type=password].form-s, input[type=file].form-s { height:20px; line-height:20px; } +input[type=text].form-l, input[type=password].form-l, input[type=file].form-l { height:30px; font-size:13px; line-height:30px; } +input[type=text].form-xl, input[type=password].form-xl, input[type=file].form-xl { height:40px; font-size:14px; line-height:40px; } + +textarea { + height:50px; + padding:0 2px; + margin:0; + border: 1px solid #ced4da; + border-radius:2px; + background-color: #FFFFFF; + font-family:'malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size: 12px; + vertical-align: top; + resize: none; + -webkit-appearance: none; + -moz-appearance: none; +} + +select { + height:26px; + padding:0 2px; + border: 1px solid #ced4da; + border-radius:2px; + background-color: #FFFFFF; + font-family:'malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size: 12px; + line-height:24px; + vertical-align:baseline; +} +select.form-xs { height:18px; font-size:11px; line-height:18px; } +select.form-s { height:20px; line-height:20px; } +select.form-m { height:26px; line-height:26px; } +select.form-l { height:30px; font-size:13px; line-height:30px; } +select.form-xl { height:40px; font-size:14px; line-height:40px; } + +input[type=checkbox], +input[type=radio] { + display:inline-block; + width:13px; + height:13px; + line-height:1; + vertical-align:baseline; + cursor: pointer; +} + +.readonly { + background-color: #EAEAEA !important; +} + +input[type=text]:focus, +input[type=password]:focus, +input[type=file]:focus, +input[type=checkbox]:focus, +input[type=radio]:focus, +textarea:focus, +select:focus { + outline: none; +} + +input[type=text].on, +input[type=password].on, +input[type=file].on, +textarea.on, +select.on { + border-color:#ff8080; +} + +/* button */ +a.btn { /* 25px */ + display:inline-block; + height:26px; + padding:0 6px 0 6px; + border:1px solid #ccced0; + border-radius: 3px; + background:#f9f9fb; + font-family:'malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:12px; + font-weight:normal; + line-height:24px; + letter-spacing:0; + cursor:pointer; + text-align:center; + vertical-align:baseline; + -webkit-appearance: none; + -moz-appearance: none; +} +a.btn img { vertical-align:top;width:12px;height:12px; } + +a.btn.btn-xs { height:18px; padding:0 4px 0 4px; font-size:11px; line-height:16px; letter-spacing:-1px; } /* 18px */ +a.btn.btn-s { height:20px; padding:0 5px 0 5px; line-height:18px; letter-spacing:-1px; } /* 20px */ +a.btn.btn-m { height:25px; padding:0 6px 0 6px; line-height:24px; } /* 26px */ +a.btn.btn-l { height:30px; padding:0 10px 0 10px; font-size:13px; line-height:29px; } /* 30px */ +a.btn.btn-xl { height:40px; padding:0 15px 0 15px; font-size:14px; line-height:38px; } /* 40px */ + +a.btn img { margin-top:6px; } +a.btn.btn-xs img { margin-top:2px; } +a.btn.btn-s img { margin-top:3px; } +a.btn.btn-l img { margin-top:8px; } +a.btn.btn-xl img { margin-top:12px; } + +a.btn.btn-icon-only.btn-xs { padding:0 2px 0 2px; } /* 18px */ +a.btn.btn-icon-only.btn-s { padding:0 3px 0 3px; } /* 20px */ +a.btn.btn-icon-only.btn-m { padding:0 6px 0 6px; } /* 26px */ +a.btn.btn-icon-only.btn-l { padding:0 8px 0 8px; } /* 30px */ +a.btn.btn-icon-only.btn-xl { padding:0 13px 0 13px; } /* 40px */ + +a.btn.btn-gray { background:#ededee; border-color:#ededee; } +a.btn.btn-gray2 { background:#999fab; border-color:#9698a5; color:#fff; } +/* a.btn.btn-gray2 { background:#e8e8eb; border-color:#ccced0; } */ +a.btn.btn-gray3 { background:#6b748f; border-color:#6b748f; color:#fff; } +a.btn.btn-blue { background:#eaf5fb; border-color:#80c0e0; color:#066483; } +a.btn.btn-blue3 { background:#3666e4; border-color:#3666e3; color:#fff; } +a.btn.btn-blue4 { background:#fbfcff; border-color:#b2bbe5; color:#3f698e; } +/* a.btn.btn-blue4 { background:#ffffff; border-color:#012d98; color:#15358d; font-weight:bold; } */ +a.btn.btn-red { background:#fa4848; border-color:#fa4848; color:#fff; } +a.btn.btn-orange { background:#fa5b48; border-color:#fa5b48; color:#fff; } +a.btn.btn-green { background:#e7faed; border-color:#aadec0; color:#288a6e; } +a.btn.btn-green2 { background:#089782; border-color:#089782; color:#fff; } +a.btn.btn-purple { background:#ab65ea; border-color:#ab65ea; color:#fff; } + +a.btn:hover { background:#ebebec; border-color:#ccced0; } +a.btn.btn-gray:hover { background:#d7d7db; border-color:#d7d7db; } +a.btn.btn-gray2:hover { background:#868b96; border-color:#7f808b; } +/* a.btn.btn-gray2:hover { background:#d3d3d8; border-color:#ccced0; } */ +a.btn.btn-gray3:hover { background:#57607a; border-color:#6b748f; } +a.btn.btn-blue:hover { background:#dceaf1; border-color:#71afce; } +a.btn.btn-blue3:hover { background:#2a57c7; border-color:#2a57c7; } +a.btn.btn-blue4:hover { background:#dde2f1; border-color:#949dc5; } +/* a.btn.btn-blue4:hover { background:#eef6fa; border-color:#012d98; } */ +a.btn.btn-red:hover { background:#df3838; border-color:#df3838; } +a.btn.btn-orange:hover { background:#e24938; border-color:#e24938; } +a.btn.btn-green:hover { background:#d5ebdc; border-color:#a0d6b7; } +a.btn.btn-green2:hover { background:#077e6c; border-color:#077e6c; } +a.btn.btn-purple:hover { background:#8f54c2; border-color:#8f54c2; } + +a.btn:focus { + outline:none; +} + +/* button ie fix */ +body.ie .btn { line-height:24px; } +body.ie .btn.btn-xs { line-height:16px; } +body.ie .btn.btn-s { line-height:18px; } +body.ie .btn.btn-m { line-height:24px; } +body.ie .btn.btn-l { line-height:28px; } +body.ie .btn.btn-xl { line-height:38px; } + +/* badge */ +.badge { + display:inline-block; + width:auto; + height:20px; + padding:0 4px 0 4px; + border:1px solid #e1e5e9; + border-radius: 3px; + background-color:#e1e5e9; + font-family: Dotum, dotum, tahoma, sans-serif; + font-size:12px; + font-weight:normal; + line-height:20px; + letter-spacing:-1px; + text-align:center; +} +.badge.badge-xs { height:18px; padding:0 5px 0 4px; font-size:11px; line-height:18px; } +.badge.badge-s { height:20px; padding:0 5px 0 4px; line-height:20px; } +.badge.badge-m { height:26px; padding:0 6px 0 5px; line-height:26px; } +.badge.badge-l { height:30px; padding:0 8px 0 7px; font-size:13px; line-height:30px; } +.badge.badge-xl { height:40px; padding:0 11px 0 10px; font-size:14px; line-height:40px; } + +span.badge.badge-gray2 { background:#b6c1ca; border-color: #b6c1ca; } +span.badge.badge-black { background:#9fa7af; border-color: #9fa7af; } +span.badge.badge-blue { background:#ebf2fa; border-color: #ebf2fa; } +span.badge.badge-blue2 { background:#b7eef7; border-color: #b7eef7; } +span.badge.badge-blue3 { background:#d4e7fc; border-color: #d4e7fc; color:#406997; } +span.badge.badge-red { background:#ffc0c6; border-color: #ffc0c6; } +span.badge.badge-green { background:#d0eed7; border-color: #d0eed7; color:#3b6946; } +span.badge.badge-yellow { background:#ffdc74; border-color: #ffdc74; } +span.badge.badge-orange { background:#ffc574; border-color: #ffc574; } +span.badge.badge-orange2 { background:#ffb88d; border-color: #ffb88d; } +span.badge.badge-purple { background-color:#edcbee; border-color: #edcbee; color:#5f505f; } +span.badge.badge-violet { background-color:#dacff7; border-color: #dacff7; color:#5b4670; } + +/* badge ie fix */ +body.ie span.badge { line-height:22px; } +body.ie span.badge.badge-xs { line-height:20px; } +body.ie span.badge.badge-s { line-height:22px; } +body.ie span.badge.badge-m { line-height:28px; } +body.ie span.badge.badge-l { line-height:32px; } +body.ie span.badge.badge-xl { line-height:42px; } + +/*************/ +/* component */ +/*************/ + +/* loading */ +.loading-overlay{ + position:absolute;top:0;left:0;width:100%;z-index:50000;background-color:black; +} +.loading-container{ + display:none; + position:fixed;top:50%;left:50%;z-index:50002;background:#FFFFFF; + border-radius: 3px; + text-align:center; + min-width:250px; +} +.loading-container .img{ + text-align:center; + margin-bottom:10px; +} +.loading-container .desc{ + width:100%;text-align:center; +} +.loading-container .desc .title { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:26px; + font-weight:500; + color: #121212; + margin-bottom:20px; +} +.loading-container .desc .msg { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:13px; + color: #686868; +} +.loading-container .desc .progress{ + position:relative;border:1px solid #96c8e0;width:100%;height:20px;background:#FFFFFF;vertical-align:middle;text-align:left;margin-top:15px; +} +.loading-container .desc .progress .progressbar{ + width:0%;height:100%;background:#c6e8f9; +} +.loading-container .desc .progress .percentage{ + position:absolute;top:2px;left:0;width:100%;text-align:center; +} + +.loading-container.loading-1 { padding:20px 30px 25px 30px; } +.loading-container.loading-1 .img .icon1 { display:block; } +.loading-container.loading-1 .img .icon2 { display:none; } + +.loading-container.loading-2 { padding:20px 30px 30px 30px; } +.loading-container.loading-2 .img .icon1 { display:none; } +.loading-container.loading-2 .img .icon2 { display:block; margin-bottom:10px; } + +/* datepicker */ +.datepicker-input{ + background-color:#FFFFFF; +} + +.datepicker-container { + display:none; + position:absolute; + z-index:30000; + top:-1000px; + left:-1000px; + width:249px; + border:1px solid #4577e3; + background-color:#5490e7; + box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.1); + color:#fff; +} +.datepicker-container .datepicker { + position:relative; + padding-top:33px; +} +.datepicker-container .datepicker .years { + position:absolute; + top:0; + left:0; + height:33px; +} +.datepicker-container .datepicker .months { + position:absolute; + top:0; + left:110px; + height:33px; +} +.datepicker-container .datepicker .years a, +.datepicker-container .datepicker .months a { + float:left; + width:30px; + height:33px; + padding-top:10px; + font-size:14px; + text-align:center; +} +.datepicker-container .datepicker .years .year { + width:50px; + padding-top:9px; + font-size:14px; +} +.datepicker-container .datepicker .months .month { + width:33px; + padding-top:9px; + font-size:14px; +} +.datepicker-container .datepicker .prev, +.datepicker-container .datepicker .next { + font-family:dotum,sans-serif; + font-weight:bold; + cursor:pointer; +} +.datepicker-container .datepicker .prev:hover, +.datepicker-container .datepicker .next:hover { + background-color:#477ed1; +} +.datepicker-container .datepicker .today { + position:absolute; + top:5px; + right:5px; + width:35px; + height:23px; + padding-top:4px; + border:1px solid #97bfff; + border-radius:3px; + background-color:#97bfff; + font-weight:bold; + color:#063986; + text-align:center; + cursor:pointer; +} +.datepicker-container .datepicker .today:hover { + background-color:#73a8ff; + border-color:#73a8ff; + color:#fff; +} +.datepicker-container .datepicker .days { + background-color:#fff; + padding:4px 7px 7px 7px; +} +.datepicker-container .datepicker .days li { + float:left; + width:33px; + height:25px; + padding-top:7px; + margin-bottom:5px; + border-bottom:1px solid #e1e1e1; + font-size: 12px; + color:#000; + text-align:center; +} +.datepicker-container .datepicker .days li.day { + border:none; + font-size: 13px; + padding:0 4px; + margin:0; + cursor:pointer; +} +.datepicker-container .datepicker .days li.day.other-month { + color:#cbcbcb; +} +.datepicker-container .datepicker .days li.day.sunday { + color:#d82d1e; + clear:both; +} +.datepicker-container .datepicker .days li.day.sunday.other-month { + color:#f6ceca; +} +.datepicker-container .datepicker .days li.day.saturday { + color:#097bc6; +} +.datepicker-container .datepicker .days li.day.saturday.other-month { + color:#a6d8e8; +} + +.datepicker-container .datepicker .days li.day .number { + width:25px; + height:25px; + padding-top:5px; + border-radius:50%; +} +.datepicker-container .datepicker .days li.day:hover .number { + background-color:#eee; +} +.datepicker-container .datepicker .days li.day.selected .number { + background-color:#4686e3 !important; + color:#fff; + font-weight:bold; +} + +/* paging */ +.paging { + display: inline-block; + position: relative; + line-height:1.4; + font-size:12px; +} +.paging a.paging-arrow { + display: inline-block; + width: 14px; + height: 18px; + background: url("https://image.barobill.co.kr/common/paging_arrow.gif") no-repeat; +} +.paging a.paging-arrow-ll { + background-position-x: 0px; + margin-right: 2px; +} +.paging a.paging-arrow-l { + background-position-x: -16px; +} +.paging a.paging-arrow-r { + background-position-x: -32px; + margin-right: 2px; +} +.paging a.paging-arrow-rr { + background-position-x: -48px; +} +.paging a.paging-arrow-over { + background-position-y: -20px; +} +.paging a.paging-arrow-off { + background-position-y: -40px; +} +.paging a.paging-number { + display: inline-block; + width: 20px; + height: 20px; + border: 1px solid #FFFFFF; +} +.paging a.paging-number-over { + background: #EFEFEF; +} + +/*********/ +/* style */ +/*********/ +.area-content { + font-size:14px; + line-height:1.7; + letter-spacing:-1px; +} + +/* heading */ +.area-content h2 { + margin-bottom:20px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:24px; + letter-spacing:-1px; + line-height:1; +} +.area-content h3 { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + position:relative; + margin-bottom:15px; + font-size: 19px; + font-weight:bold; + line-height:1; + color:#012d9a; +} +.area-content h4 { + margin-bottom:15px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:17px; + line-height:1; +} +.area-content h5 { + margin-bottom:10px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:15px; + line-height:1; +} + +/* link */ +a.link:hover { + text-decoration:underline; +} + + +/* tooltip */ +.tooltip{ + position:absolute; + top:-3000px; + padding:5px 10px; + border:1px solid rgb(189, 189, 189); + background-color:#FFC; + border-radius:5px; + box-shadow: 2px 2px 5px #DDD; + z-index:1000; + font-size:12px; + white-space: nowrap; +} + +.tooltip-icon { + display:inline-block; + width:13px; + height:13px; + padding-top:1px; + border-radius:50%; + background-color:#2e71e8; + color:#fff; + font-size:11px; + line-height:1; +} +.tooltip-icon:after { + content:'?'; + margin-left:-1px; +} + +/* list */ +ol { + padding-left:10px; +} +ol > li, +ul.list1 > li, +ul.list2 > li { + margin-bottom:3px; +} +ul.list1 > li, +ul.list2 > li { + padding-left:10px; + list-style-type:none; +} +ul.list1 > li { + background: url('https://image.barobill.co.kr/v7/content/list-dot.png') no-repeat 0 8px; +} +ul.list2 > li { + background: url('https://image.barobill.co.kr/v7/content/list-dot2.png') no-repeat 0 9px; +} +ol > li { + list-style-type: decimal; +} + +ul.list-with-heading > li, +ol.list-with-heading > li { + position:relative; +} +ul.list-with-heading > li .head, +ol.list-with-heading > li .head { + position:absolute; + top:0; + left:10px; + margin-right:10px; + font-weight:bold; +} +ul.list-with-heading > li .body, +ol.list-with-heading > li .body { + height:100%; + margin-left:100px; +} + +ol.list-with-seperator li, +ul.list-with-seperator li { + margin:1px 0; +} +ol.list-with-seperator li > span, +ul.list-with-seperator li > span { + display:inline-block; + padding:0 5px 0 7px; + border-left:1px solid #bbb; +} +ol.list-with-seperator li > span:first-child, +ul.list-with-seperator li > span:first-child { + padding-left:0; + border-left:0; +} + +/* tab */ +.tab { + height:35px; + border-bottom:2px solid #0851b6; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:13px; + font-weight:normal; + line-height:1; + letter-spacing: 0; +} +.tab li { + position:relative; + float: left; + cursor: pointer; + height:33px; + padding:9px 20px 0 20px; + border-radius: 5px 5px 0 0; + margin-right:3px; + color:#666666; + background-color:#efefef; +} +.tab li.on { + background-color:#0851b6; + color:#fff; + border-bottom-color:#fff; +} +.tab li.tab-right { + float: right; + border: 0; + padding: 5px 0 0 0; + margin:0; + background: none; + vertical-align: bottom; +} + +/* tab tab-style2 */ +.tab.tab-style2 { + border-color:#089782; +} +.tab.tab-style2 li.on { + background-color:#089782; +} + +/* tab tab-style3 */ +.tab.tab-style3 { + height:80px; + border-bottom:1px solid #3666e4; +} +.tab.tab-style3 li { + background:none; + height:79px; + padding:30px 0 0 0; + margin:0; + border-bottom:3px solid transparent; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:21px; + letter-spacing:-1px; + text-align:center; + color: #595858; +} +.tab.tab-style3 li.on { + color:#3666e4; + border-bottom-color:#3666e4; +} +.tab.tab-style3 li.on:after { + content: ''; + position:absolute; + bottom:-10px; + left:50%; + width:13px; + height:6px; + margin-left:-7px; + background:url('https://image.barobill.co.kr/v7/component/tab-style3-arrow.gif') no-repeat center center; +} + +/* tab tab-style4 */ +.tab.tab-style4 { + height:45px; + border-bottom:1px solid #3366e2; +} +.tab.tab-style4 li { + height:44px; + padding:12px 0 0 0; + margin:0; + border-radius:0; + border-top:1px solid #e3e3e8; + border-right:1px solid #e3e3e8; + background-color:#fafbfc; + font-size:16px; + text-align:center; +} +.tab.tab-style4 li:first-child { + border-left:1px solid #e3e3e8; +} +.tab.tab-style4 li.on { + background-color:#3366e2; + border-color:#3366e2; +} + +/* tab tab-style5 */ +.tab.tab-style5 { + height:35px; + border-bottom:none; +} +.tab.tab-style5 li { + height:35px; + padding:9px 0 0 0; + margin:0; + border-radius:0; + border-top:1px solid #e3e3e8; + border-right:1px solid #e3e3e8; + border-bottom:1px solid #e3e3e8; + background-color:#fafbfc; + font-size:14px; + text-align:center; +} +.tab.tab-style5 li:first-child { + border-left:1px solid #e3e3e8; +} +.tab.tab-style5 li.on { + background-color:#3366e2; + border-color:#3366e2; +} + +/* table */ +table { + clear:both; + font-size:12px; + letter-spacing: -0.5px; + line-height:1.4; +} +table tr th, +table tr td { + position:relative; +} + +/* table table-list */ +table.table-list { + border-spacing: 0; + border-top:2px solid #3366e2; + background-color:#fff; +} +table.table-list th, +table.table-list td { + height:31px; + padding:5px 3px; + border-right:1px solid #e1e1e1; + border-bottom:1px solid #e1e1e1; +} +table.table-list th { + border-right:none; + background-color:#fafafb; + text-align:center; +} +table.table-list td { + border-right-style: dashed; +} +table.table-list th:last-child, +table.table-list td:last-child { + border-right-width:0; +} +table.table-list td.a_c { + padding-left:0; + padding-right:0; +} +table.table-list tfoot tr { + background-color:#FAFAFB; +} + +/* table table-content */ +table.table-content { + border-spacing: 0; + border-top:2px solid #3366e2; +} +table.table-content th, +table.table-content td { + height:31px; + padding:5px 0 5px 10px; + border-bottom:1px dashed #e1e1e1; +} +table.table-content th { + padding-left:25px; + text-align:left; +} +table.table-content th.a_c, +table.table-content td.a_c { + padding-left:0; + padding-right:0; +} +table.table-content th.required { + background-image: url("https://image.barobill.co.kr/common/icon_essen.gif"); + background-repeat: no-repeat; + background-position: 15px center; +} +table.table-content th:after { + content: ""; + position:absolute; + top:25px; + bottom:25px; + right:0; + border-right:1px solid #bec5cd; +} + +/* table table-size-l */ +table.table-size-l { + font-size:13px; + line-height:1.5; +} +table.table-size-l th, +table.table-size-l td { + padding-top:8px; + padding-bottom:8px; +} +table.table-list.table-size-l td { + padding-left:10px; + padding-right:10px; +} +table.table-content.table-size-l th:after { + top:14px; + bottom:14px; +} +table.table-content.table-size-l td { + padding-left:20px; +} + +/* table table-style2 */ +table.table-style2 { + border:none; +} +table.table-style2 tr th, +table.table-style2 tr td { + border-right-width:2px; + border-right-style:solid; + border-right-color:#fff; + border-bottom-width:2px; + border-bottom-style:solid; + border-bottom-color:#fff; + background-color:#f2f4f9; +} +table.table-style2 tr th { + background-color:#e4ebf7; +} +table.table-size-l.table-style2 tr th, +table.table-size-l.table-style2 tr td { + border-right-width:5px; + border-bottom-width:5px; +} +table.table-content.table-style2 tr th:after { + border:none; +} + +/* table table-style3 */ +table.table-style3 { + border:none; +} +table.table-style3 th, +table.table-style3 td { + border-right-width:2px; + border-right-style:solid; + border-bottom-width:2px; + border-bottom-style:solid; + background-color:#f7f7f8; +} +table.table-style3 th, +table.table-style3 td { + border-color:#fff; +} +table.table-style3 th { + background-color:#e3e9e9; +} +table.table-size-l.table-style3 th, +table.table-size-l.table-style3 td { + border-right-width:5px; + border-bottom-width:5px; +} +table.table-content.table-style3 th:after { + border:none; +} + +/* table table-style4 */ +table.table-style4 { + border:none; +} +table.table-style4 th, +table.table-style4 td { + border:none; + background-color:#f2f4f9; +} +table.table-style4 th, +table.table-style4 td { + border-color:#fff; +} + +/* table table-style5 */ +table.table-style5 { + border:none; +} +table.table-style5 tr th, +table.table-style5 tr td { + border-bottom:1px solid #d2d6d9; +} +table.table-style5.table-list thead tr th, +table.table-style5.table-list thead tr td, +table.table-style5.table-content tbody tr:first-child th, +table.table-style5.table-content tbody tr:first-child td { + border-top:1px solid #d2d6d9; +} +table.table-style5 tr th { + padding-left:0; + background-color:#f3f5f4; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + text-align:center; + font-weight:500; +} +table.table-style5 tr th.required { + background-image:none; +} +table.table-content.table-style5 tr th:after { + top:0; + bottom:0; + border-right-color:#d2d6d9; +} + +/* table table-style6 */ +table.table-style6 { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + border-top:2px solid #a1a1ab; +} +table.table-style6 tr th, +table.table-style6 tr td { + border-right:none; + border-bottom:1px solid #c6c8d5; +} +table.table-style6 tbody tr:last-child th, +table.table-style6 tbody tr:last-child td, +table.table-style6 tfoot tr:last-child th, +table.table-style6 tfoot tr:last-child td { + border-bottom-color:#c6c8d5; +} +table.table-style6 tr th.bb, +table.table-style6 tr td.bb { + border-bottom-color:#c6c8d5; +} +table.table-style6 tr th { + padding-left:0; + background-color:#eef1f6; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + color:#303f65; + text-align:center; + font-weight:500; +} +table.table-style6 tr th.required { + background-image:none; +} +table.table-content.table-style6 tr th:after { + top:0; + bottom:0; + border-right-color:#c6c8d5; +} + +/* table selection */ +table.table-list tr.cursor-pointer:hover { + background-color:#E8F8FF; +} +table.table-list .hover { + background-color:#E8F8FF; +} + +table.table-list tr.selected { + background-color:#F1F9FB; +} + +/* rule */ +.rule-container h4 { + margin-top:40px; + padding-bottom:20px; +} +.rule-container h5 { + margin-top:20px; + padding-left:15px; +} +.rule-container .box-container h4 { + margin-top:20px; +} +.rule-container p { + padding:10px 0; +} +.rule-container ul, +.rule-container ol { + padding-left:30px; + padding-top:10px; + padding-bottom:10px; + margin:0; +} +.rule-container li { + padding-bottom: 5px; +} +.rule-container table { + font-size:13px; +} +.rule-container a:hover { + text-decoration: underline; +} + +.rule-container .chapter { + padding:20px; + list-style-type:none; +} +.rule-container .chapter > li { + float:left; +} +.rule-container .chapter > li ul li { + padding-bottom:0; +} + +.rule-container ol { + list-style: none; + counter-reset: ol1 0; +} +.rule-container ol > li { + list-style: none; + counter-increment: ol1; +} +.rule-container ol > li:before { + content: counter(ol1) ". "; + display:inline-block; + width:35px; + margin-left:-40px; + margin-right:5px; + text-align:right; +} +.rule-container ol > li > ol { + list-style: none; + counter-reset: ol2 0; +} +.rule-container ol > li > ol > li { + list-style: none; + counter-increment: ol2; +} +.rule-container ol > li > ol > li:before { + content: counter(ol1) "." counter(ol2) ". "; + display:inline-block; + width:35px; + margin-left:-40px; + margin-right:5px; + text-align:right; +} +.rule-container ul { + list-style-type:disc; +} + +/* step */ +.step { + height:85px; + counter-reset: step 0; +} +.step li { + position:relative; + float:left; + padding-top:55px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:15px; + letter-spacing:0; + color:#736d6d; + text-align:center; + counter-increment: step; +} +.step li.on { + font-size:16px; + font-weight:bold; + color:#000; +} +.step li div { + position:absolute; + z-index:1; + top:-10px; + left:50%; + width:60px; + height:60px; + margin-left:-30px; + border-radius:50%; + background-color:#fff; +} +.step li:before { + content: counter(step); + display:block; + box-sizing: border-box; + position:absolute; + z-index:2; + top:0; + left:50%; + width:40px; + height:40px; + padding-top:8px; + margin-left:-20px; + border: 4px solid #cfcfcf; + border-radius:50%; + background-color:#fff; + font-size:15px; + font-weight:bold; + line-height:1; + color:#756c6d; + text-align:center; +} +.step li.on:before { + content: ''; + background:#3366e2 url('https://image.barobill.co.kr/v7/component/step-on.png') no-repeat center center; + border-color:#3366e2; +} +.step li:after { + content: ''; + display:block; + box-sizing: border-box; + position:absolute; + top:19px; + left:50%; + width:100%; + height:0; + border-top: 3px solid #d2d2d2; +} +.step li.on:after { + border-color:#3366e2; +} +.step li:last-child:after { + display:none; +} + +/* box */ +.box-container { + position:relative; + padding:40px; + border-radius:3px; + background-color:#EEF2F7; + text-align:left; + font-size:13px; +} + +.box-container.box-style2 { + background-color:#eaeffb; +} + +.box-container.box-style-warning { + background-color:#fff0f3; +} + +.box-container.box-style-tip { + padding:20px 20px 20px 85px; + border:1px solid #d4d8e1; + background:#f2f4f9 url('https://image.barobill.co.kr/v7/content/tip.png') no-repeat 17px center; +} +.box-container.box-style-tip.box-style-tip-fixed { + background-position: 17px 10px; +} + +/* box-search */ +.box-search { + padding-top:10px; + background-color:#f2f4f9; +} +.box-search .table-content tr th.th-checkbox{ + padding-left:8px; +} + +.box-search .search-detail-btn-container { + position:relative; + height:30px; + background-color:#fff; +} +.box-search .search-detail-btn-container:after { + content: ""; + position:absolute; + top:0; + left:0; + width:100%; + height:10px; + background-color:#f2f4f9; +} +.box-search .search-detail-btn-container .search-detail-btn { + position: absolute; + top:10px; + left:50%; + width:100px; + height:20px; + padding-top:4px; + margin-left:-50px; + border-radius: 0 0 8px 8px; + background:#9badbb; + background-image:linear-gradient(#7e95a7, #9badbb); + color:#fff; + font-size:11px; + line-height:1; + text-align: center; +} + +.box-nosearch { + border-top:2px solid #3366e2; + border-bottom:1px solid #e1e1e1; + padding-top:70px; + padding-bottom:70px; + text-align:center; + color:#595959; +} + +.search-item{ + position:relative; + display:inline-block; + padding-top:3px; + text-align:left; +} +.search-item.search-item-2piece{ width:280px; } +.search-item.search-item-3piece{ width:200px; } +.search-item.search-item-4piece{ width:160px; } +.search-item.search-item-5piece{ width:130px; } +.search-item.search-item-6piece{ width:110px; } + +/* attach-file */ +.attach-file-container .attach-file-item{ + position:relative;width:100%;height:26px;border:1px solid #96c8e0;margin-bottom:1px; +} +.attach-file-container .attach-file-item div .progressbar{ + width:0%;height:100%;background-color:#c6e8f9; +} +.attach-file-container .attach-file-item div .file{ + position:absolute;z-index:3;top:3px;left:5px; +} +.attach-file-container .attach-file-item div .file .file_icon{ + float:left;margin-top:4px; +} +.attach-file-container .attach-file-item div .file .file_name{ + float:left;margin-top:2px;margin-left:3px;margin-top:2px;font-size:11px; +} +.attach-file-container .attach-file-item div .file .file_remove{ + float:left;margin-top:2px;margin-left:5px;cursor:pointer;cursor:pointer;display:none; +} +.attach-file-container .attach-file-item div .file .file_removecancel{ + float:left;margin-top:2px;margin-left:5px;cursor:pointer;cursor:pointer;display:none; +} +.attach-file-container .attach-file-item div .cancel{ + position:absolute;z-index:3;top:2px;right:5px; +} +.attach-file-container .attach-file-item div .cancel .msg{ + margin-top:2px;font-size:11px;color:#DD0000;padding-right:3px; +} + +/* attach-file-item fail */ +.attach-file-container .fail{ + border:1px solid #DD0000; +} +.attach-file-container .fail div .progressbar{ + background-color:#FFCCCC; +} + +/* attach-file-item modify */ +.attach-file-container .modify{ + border:1px solid #FFFFFF; +} +.attach-file-container .modify div .file .file_remove{ + display:block; +} +.attach-file-container .modify div .cancel img{ + display:none; +} + +/* attach-file-container-xml */ +.attach-file-container.attach-file-container-xml { + width:700px;margin:0 auto; +} +.attach-file-container.attach-file-container-xml .attach-file-item{ + width:100%;height:25px;background:#F6F6F6; +} +.attach-file-container.attach-file-container-xml .attach-file-item div .file{ + top:5px;left:10px; +} +.attach-file-container.attach-file-container-xml .attach-file-item div .file .file_icon{ + width:12px;height:12px;margin-top:1px;margin-right:3px; +} +.attach-file-container.attach-file-container-xml .attach-file-item div .file .file_name{ + font-size:12px; +} +.attach-file-container.attach-file-container-xml .attach-file-item div .cancel{ + top:4px; +} + +/* attach-file-upload-container */ +.attach-file-upload-container {width:100%;line-height:1;} +.attach-file-upload-container .file-preview-wrap {position:relative;width:100%;height:26px;margin-bottom:2px;border:1px solid #96c8e0;background-color:#fff;clear:both;} +.attach-file-upload-container .file-preview-wrap .name {position:absolute;top:5px;left:5px;z-index:4;height:13px;padding-left:18px;font-size:12px;background:url("https://image.barobill.co.kr/common/icon_file.gif") no-repeat 0 center;} +.attach-file-upload-container .file-preview-wrap .progress {position:absolute;top:0;left:0;z-index:3;width:0;height:100%;background:#c6e8f9;} +.attach-file-upload-container .file-preview-wrap .msg {float:right;margin-top:5px;margin-right:5px;color:blue;font-size:12px;} +.attach-file-upload-container .file-preview-wrap .btn {float:right;margin-top:2px;margin-right:5px;} + +.attach-file-upload-container .file-preview-wrap.valid {border-color:#018EC5;background-color:#CCF1FF;} +.attach-file-upload-container .file-preview-wrap.valid .msg {color:#018EC5;} +.attach-file-upload-container .file-preview-wrap.invalid {border-color:red;background-color:#FFD9D9;} +.attach-file-upload-container .file-preview-wrap.invalid .msg {color:red;} + +/* toggle */ +.toggle-container { + display:none; + position:absolute; + z-index:3; + top:-1000px; + left:-1000px; + min-width:70px; + border:1px solid #A0A0A0; + background-color:#FFF; +} +.toggle-container li { + height:25px; + border-bottom:1px solid #DFDFDF; +} +.toggle-container li a { + display:block; + width:100%; + height:100%; + padding:5px 10px 0 10px; + font-size:12px; + line-height:1; + letter-spacing: 0; + cursor:pointer; +} +.toggle-container li a:hover { + background:#DFDFDF; +} + +/* smsform1 */ +.smsform1{ + display:inline-block;position:relative;width:160px;height:165px;text-align:left; + background:url("https://image.barobill.co.kr/sms/sms_bg.gif") no-repeat 0px 0px; +} +.smsform1 .textarea{ + position:absolute;left:18px;top:22px;width:125px;height:115px; + padding:5px;border:0;border-style:none;font-size:12px;line-height:18px;word-break:break-all; + background-color:transparent;overflow-y:scroll;font-family:gulimche; + color:white; + scrollbar-face-color: #a9c9f7;/*움��는 바� 전체 색� 지정 */ + scrollbar-shadow-color: #5186D6;/*바� 오른쪽과 밑� 들어가는 색� 설정 */ + scrollbar-3dlight-color: #5186D6;/*바� 왼쪽과 위쪽 바탕으로 들어가는 색 */ + scrollbar-arrow-color: #5186D6;/*화살표 버튼색� 설정 */ + scrollbar-track-color: #5186D6;/*바가 없는 아래 부분� 색� 설정 */ + scrollbar-highlight-color: #a9c9f7;/*바� 왼쪽과 위쪽� 색� 설정 */ + scrollbar-darkshadow-color: #5186D6;/*바� 오른쪽과 밑 그림�색� 설정*/ +} +.smsform1 .textarea.form-focused { + border:none !important; +} +.smsform1 .byte{ + position:absolute;left:0;bottom:0;width:140px;height:25px;padding-left:10px;padding-top:4px; + font-size:11px;font-family:arial;color:#E2EFF5; +} +.smsform1 .byte .nowbyte{ + color:#C7F243;font-weight:bold; +} +.smsform1 .byte .slash{ + padding-left:3px;padding-right:3px; +} +.smsform1 .lmstip{ + display:none;position:absolute;left:29px;top:2px;width:90px;font-size:11px;letter-spacing:-1px;background:#FFFFFF;border:1px solid #6CA3E6;text-align:center;padding:0px; +} +.smsform1.LMS{ + background-position:0px -165px !important; +} + +/* smsform2 */ +.smsform2{ + display:inline-block;position:relative;width:130px;height:131px;text-align:left;background:url("https://image.barobill.co.kr/sms/sms2_bg.gif") no-repeat 0px 0px; +} +.smsform2 .textarea{ + position:absolute;left:7px;top:20px;width:121px;height:89px; + padding-right:6px; + padding-top:2px; + border:0px;border-style:none;font-size:12px;line-height:18px;word-break:break-all; + background-color:transparent;overflow-y:scroll;font-family:gulimche; +} +.smsform2 .textarea.form-focused { + border:none !important; +} +.smsform2 .byte{ + position:absolute;left:5px;bottom:-2px;height:25px;padding-left:5px;padding-top:3px; + font-size:11px;color:#9B9B9B; +} +.smsform2 .byte .nowbyte{ + color:#E2494B;font-weight:bold; +} +.smsform2 .byte .slash{ + padding-left:3px;padding-right:3px; +} +.smsform2 .lmstip{ + display:none; +} + +/* smsform3 */ +.smsform3{ + display:inline-block;position:relative;width:137px;height:97px;text-align:left;margin:4px 0 4px 0; +} +.smsform3 .textarea{ + position:absolute;left:0;top:0;width:137px;height:97px;padding:7px; + border:0px;border-style:none;font-size:11px;line-height:15px;word-break:break-all;color:#494949; + background-color:transparent;overflow:hidden;font-family:dotum;background:url("https://image.barobill.co.kr/sms/sms3_bg.gif") no-repeat 0px 0px; +} +.smsform3 .textarea.form-focused { + border:none !important; +} +.smsform3 .byte{ + position:absolute;left:7px;bottom:3px; + font-size:11px;font-family:dotum;color:#AAAAAA; +} +.smsform3 .byte .nowbyte{ + color:#E76100; +} +.smsform3 .lmstip{ + display:none; +} + +/* excelimport */ +.excelimport { + height: 400px; + border: 1px solid #77A0D2; + background: #FFFFFF; + font-size:12px; +} +.excelimport input { + border: none !important; + background: none !important; +} +.excelimport-func { + position: relative; + height: 102px; + padding:3px; + border-left: 1px solid #77A0D2; + border-right: 1px solid #77A0D2; + border-bottom: 1px solid #77A0D2; + background: #F0F0F0; + font-size:12px; +} +.excelimport-func .excelimport-btns { + /* position: absolute; + top: 3px; + left: 3px; */ + float:left; + width: 65px; + text-align: left; +} +.excelimport-func .excelimport-btns a { + margin-bottom: 3px; + width: 62px; + text-align: center; +} +.excelimport-func .excelimport-debug { + /* position: absolute; + top: 3px; + right: 3px; */ + float:right; + width: 707px; + height: 95px; + border: 1px solid #AFC8E4; + overflow-y: scroll; + background: #FFFFFF; + font-size:12px; +} +.excelimport-func .excelimport-debug .excelimport-debug-line img { + margin-right: 3px; +} +.excelimport-func .excelimport-debug .excelimport-debug-line.excelimport_debug_line_focus { + cursor: pointer; +} +.excelimport-func .excelimport-debug .excelimport-debug-line.excelimport_debug_line_focus:hover { + background: #EEE; +} +.excelimport-func .excelimport-fileupload { + position: absolute; + top: -500px; + left: 165px; + width: 470px; + height: 65px; + padding: 10px; + border: 2px solid #AFC8E4; + background: #FFFFFF; + display: none; + font-size:12px; +} +.excelimport-func .excelimport-fileupload .excelimport-fileupload-title { + text-align: left; + font-weight: bold; + margin-bottom: 5px; +} + +/* tui */ +.tui-grid-cell-content, +.tui-grid-layer-editing { + padding-left:3px !important; + padding-right:3px !important; +} + +/* naver smarteditor 스마트 �디터� �부한 표현� 정��으로 출력��� 하려면 콘�츠가 출력�는 곳� � �래스를 �용하여야 한다. 예를 들면 게시물 �기 페�지� 본문� �� 해당�다. */ +.smartOutput blockquote.q1, +.smartOutput blockquote.q2, +.smartOutput blockquote.q3, +.smartOutput blockquote.q4, +.smartOutput blockquote.q5, +.smartOutput blockquote.q6, +.smartOutput blockquote.q7{ padding:10px; margin-left:15px; margin-right:15px;} + +.smartOutput blockquote.q1{ padding:0 10px; border-left:2px solid #ccc;} +.smartOutput blockquote.q2{ padding:0 10px; background:url(../img/bg_qmark.gif) no-repeat;} +.smartOutput blockquote.q3{ border:1px solid #d9d9d9;} +.smartOutput blockquote.q4{ border:1px solid #d9d9d9; background:#fbfbfb;} +.smartOutput blockquote.q5{ border:2px solid #707070;} +.smartOutput blockquote.q6{ border:1px dashed #707070;} +.smartOutput blockquote.q7{ border:1px dashed #707070; background:#fbfbfb;} + +.smartOutput sup{ font:10px Tahoma;} +.smartOutput sub{ font:10px Tahoma;} +.smartOutput table td{ padding:4px;} + +/* barobill-manager-only */ +.barobill-manager-only { + /* display:none; */ + padding:20px; + margin-top:50px; +} +.barobill-manager-only:before { + content: "바로빌 관리��게만 노출�는 정보입니다."; + display:block; + margin-bottom:15px; + font-weight:bold; + color:rgb(236, 82, 82); +} + +/********/ +/* main */ +/********/ +#area-body.main { + position: relative; + padding-top:90px; + margin-top:0; + font-size:14px; + letter-spacing: -1px; + background-color:#f6f6f7; + overflow:hidden; +} +#area-body.main p { + line-height: 1.4; +} + +/* pattern */ +#area-body.main .pattern { + position:absolute; + top:0; + left:50%; + width:0; + height:0; +} +#area-body.main .pattern .pattern-circle { + position:absolute; + top:1180px; + left:-600px; + width:150px; + height:150px; + background:url('https://image.barobill.co.kr/v7/main/pattern-circle.png') no-repeat center center; + background-size: 150px; +} +#area-body.main .pattern .pattern-triangle { + position:absolute; + top:1105px; + left:100px; + width:600px; + height:600px; + background:url('https://image.barobill.co.kr/v7/main/pattern-triangle.png') no-repeat center center; + background-size: 600px; + transform: rotate(-25deg); +} +#area-body.main .pattern .pattern-dot { + position:absolute; + top:0; + left:0; + width:45px; + height:45px; + background:url('https://image.barobill.co.kr/v7/main/pattern-dot.png') no-repeat center center; + background-size: 45px; +} +#area-body.main .pattern .pattern-dot.pattern-dot1 { + top:1570px; + left:-800px; +} +#area-body.main .pattern .pattern-dot.pattern-dot2 { + top:1675px; + left:800px; +} + +/* main-bg */ +#area-body.main .main-bg { + position:absolute; + top:0; + left:50%; + width:1920px; + height:960px; + margin-left:-960px; + background-color:#0243ab; + background-image: linear-gradient(140deg, #0837a2 10%, #0aabfd); +} +#area-body.main .main-bg .pattern .pattern-triangle1 { + top:240px; + left:-1400px; + width:700px; + height:700px; + background-image:url('https://image.barobill.co.kr/v7/main/pattern-triangle-white.png'); + background-size: 700px; + transform: rotate(-30deg); + -webkit-animation:spin-left 240s linear infinite; + -moz-animation:spin-left 240s linear infinite; + animation:spin-left 240s linear infinite; +} +@-moz-keyframes spin-left { 100% { -moz-transform: rotate(-360deg); } } +@-webkit-keyframes spin-left { 100% { -webkit-transform: rotate(-360deg); } } +@keyframes spin-left { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } } +#area-body.main .main-bg .pattern .pattern-triangle2 { + top:-220px; + left:310px; + width:850px; + height:850px; + background-image:url('https://image.barobill.co.kr/v7/main/pattern-triangle-white.png'); + background-size: 850px; + transform: rotate(0deg); + -webkit-animation:spin-right 120s linear infinite; + -moz-animation:spin-right 120s linear infinite; + animation:spin-right 120s linear infinite; +} +@-moz-keyframes spin-right { 100% { -moz-transform: rotate(360deg); } } +@-webkit-keyframes spin-right { 100% { -webkit-transform: rotate(360deg); } } +@keyframes spin-right { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } + +/* services */ +#area-body.main .services-container { + padding-top:25px; + margin-bottom:180px; +} +#area-body.main .services-container > h1 { + position:absolute; + top:90px; + color:#fff; + font-size:63px; + letter-spacing: -7px; + line-height:1.25; +} +#area-body.main .services-container > h1 .yellow { + color:#ffe07b; +} +#area-body.main .services-container > h1 .thin { + font-weight:100; +} +#area-body.main .services-container > p { + position:absolute; + top:390px; + color:#fff; + font-size:21px; + letter-spacing: -1.5px; + line-height:1.6; +} +#area-body.main .services-container .items-container { + height:235px; + margin-bottom:20px; +} +#area-body.main .services-container .items-container .items { + float:right; + height:100%; +} +#area-body.main .services-container .items .item { + position: relative; + float:left; + width:247px; + height:235px; + background-color:#fff; + background-repeat: no-repeat; + background-position: 85% 85%; + border-radius: 10px; + margin-left:20px; + box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3); +} + +#area-body.main .services-container .items .item:first-child { + margin-left:0; +} +#area-body.main .services-container .items .item:after { + content: ""; + position:absolute; + right:25px; + bottom:25px; +} +#area-body.main .services-container .items .item.item-etax:after { content:url('https://image.barobill.co.kr/v7/main/quick01_off.png'); } +#area-body.main .services-container .items .item.item-edoc:after { content:url('https://image.barobill.co.kr/v7/main/quick02_off.png'); } +#area-body.main .services-container .items .item.item-bank:after { content:url('https://image.barobill.co.kr/v7/main/quick03_off.png'); } +#area-body.main .services-container .items .item.item-card:after { content:url('https://image.barobill.co.kr/v7/main/quick04_off.png'); } +#area-body.main .services-container .items .item.item-sms:after { content:url('https://image.barobill.co.kr/v7/main/quick05_off.png'); } +#area-body.main .services-container .items .item.item-hometax:after { content:url('https://image.barobill.co.kr/v7/main/quick06_off.png'); } +#area-body.main .services-container .items .item.item-etc:after { content:url('https://image.barobill.co.kr/v7/main/quick07_off.png'); } +#area-body.main .services-container .items .item.item-api:after { content:url('https://image.barobill.co.kr/v7/main/quick08_off.png'); } +#area-body.main .services-container .items .item.item-calc:after { content:url('https://image.barobill.co.kr/v7/main/quick09_off.png'); } + +#area-body.main .services-container .items .item a { + display:block; + position:relative; + width:100%; + height:100%; +} +#area-body.main .services-container .items .item h2 { + position: absolute; + top:40px; + left:30px; + font-size:19px; +} +#area-body.main .services-container .items .item p { + position: absolute; + top:75px; + left:30px; + right:20px; + color:#5a5a5a; +} +#area-body.main .services-container .items .item .item-links { + display:none; + position: absolute; + top:73px; + left:30px; + right:20px; + line-height:1.6; +} +#area-body.main .services-container .items .item .item-links li a { + display:block; + padding:2px 0; +} +#area-body.main .services-container .items .item .item-links li a:hover { + text-decoration: underline; +} +#area-body.main .services-container .items .item:hover { + background-color:#2387ed; + background-image: linear-gradient(#0aadfe, #3466e4); + color:#fff; +} +#area-body.main .services-container .items .item:hover p { + color:#fff; +} +#area-body.main .services-container .items .item:hover p.item-hover-hidden { + display:none; +} +#area-body.main .services-container .items .item:hover .item-links { + display:block; +} + +#area-body.main .services-container .items .item:hover.item-etax:after { content:url('https://image.barobill.co.kr/v7/main/quick01_on.png'); } +#area-body.main .services-container .items .item:hover.item-edoc:after { content:url('https://image.barobill.co.kr/v7/main/quick02_on.png'); } +#area-body.main .services-container .items .item:hover.item-bank:after { content:url('https://image.barobill.co.kr/v7/main/quick03_on.png'); } +#area-body.main .services-container .items .item:hover.item-card:after { content:url('https://image.barobill.co.kr/v7/main/quick04_on.png'); } +#area-body.main .services-container .items .item:hover.item-sms:after { content:url('https://image.barobill.co.kr/v7/main/quick05_on.png'); } +#area-body.main .services-container .items .item:hover.item-hometax:after { content:url('https://image.barobill.co.kr/v7/main/quick06_on.png'); } +#area-body.main .services-container .items .item:hover.item-etc:after { content:url('https://image.barobill.co.kr/v7/main/quick07_on.png'); } +#area-body.main .services-container .items .item:hover.item-api:after { content:url('https://image.barobill.co.kr/v7/main/quick08_on.png'); } +#area-body.main .services-container .items .item:hover.item-calc:after { content:url('https://image.barobill.co.kr/v7/main/quick09_on.png'); } + +/* review */ +#area-body.main .review-container { + position:relative; + margin-bottom:130px; +} +#area-body.main .review-container h2 { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:36px; + font-weight:600; + line-height:1.4; +} +#area-body.main .review-container h2 img { + margin-bottom:-5px; +} +#area-body.main .review-container .categories { + margin-top:45px; +} +#area-body.main .review-container .categories li { + display:inline-block; + padding: 13px 20px; + margin-right:5px; + border-radius: 50px; + background:#fff; + color: #3369e7; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:16px; + letter-spacing:0; + box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1); + cursor:pointer; +} +#area-body.main .review-container .categories li.on { + color: #fff; + background-color: #3369e7; +} +#area-body.main .review-container .go { + position:absolute; + top:155px; + right:0; + padding:10px 0 10px 100px; + background:url('https://image.barobill.co.kr/v7/main/notice_more.png') no-repeat center center; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:16px; + cursor:pointer; +} +#area-body.main .review-container .reviews { + position:relative; + margin-top:40px; + margin-bottom:40px; +} +#area-body.main .review-container .reviews .swiper { + padding:5px 20px 20px 5px; + margin:-5px -20px -20px -5px; +} +#area-body.main .review-container .reviews .swiper .swiper-slide { + height: auto; +} +#area-body.main .review-container .reviews .arrow { + position:absolute; + top:50%; + width:46px; + height:46px; + margin-top:-30px; + background-image: url('data:image/svg+xml;charset=utf-8,'); + background-size:46px; + cursor:pointer; +} +#area-body.main .review-container .reviews .arrow.arrow-prev { + position:absolute; + left:-80px; + transform: rotate(180deg); +} +#area-body.main .review-container .reviews .arrow.arrow-next { + position:absolute; + right:-80px; +} +#area-body.main .review-container .reviews .arrow.swiper-button-disabled { + background-image: url('data:image/svg+xml;charset=utf-8,'); +} +#area-body.main .review-container .reviews .indicators { + position:absolute; + bottom:-40px; + text-align:center; +} +#area-body.main .review-container .reviews .indicators .indicator { + display:inline-block; + width:18px; + height:18px; + background: url('https://image.barobill.co.kr/v7/main/banner_indicator.png') no-repeat; + cursor:pointer; +} +#area-body.main .review-container .reviews .indicators .indicator.indicator-on { background-position: 0 -18px; } + +/* main 과 /csc/review.asp �서 함께 사용함 */ +.review-container .review { + height:100%; + padding:28px 23px; + border-radius: 10px; + background:#fff; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + border:1px solid #d9e2eb; + cursor:pointer; +} +.review-container .review.review-main { padding:40px; border:none; box-shadow: 5px 5px 30px -15px rgba(0,0,0,0.3);} +.review-container .review.review-dialog { padding:10px; padding-bottom:0; border:none; cursor:inherit; } +.review-container .review .category { + color:#3369e7; + font-size:14px; +} +.review-container .review.review-dialog .category { font-size:15px; } +.review-container .review h3 { + margin-top:18px; + font-size: 17px; + color:#000; +} +.review-container .review.review-main h3 { font-size:18px; } +.review-container .review.review-dialog h3 { font-size:21px; } +.review-container .review h3 span { + margin-left:10px; + color:#a9bbcf; + font-size:14px; + font-weight:normal; +} +.review-container .review.review-dialog h3 span { font-size:15px; } +.review-container .review .content { + margin-top:30px; + font-size:14px; + line-height:1.7; +} +.review-container .review.review-main .content { font-size:16px; } +.review-container .review .content .more { + position:relative; + margin-left:5px; + font-size:14px; + color: #3369e7; +} +.review-container .review .content .more::after { + content:''; + display:none; + position:absolute; + bottom:0; + left:0; + width:100%; + height:0; + border-bottom:1px solid #3369e7; +} +.review-container .review .services { + position:relative; + margin-top:35px; + font-size:14px; +} +.review-container .review.review-dialog .services { position:absolute; bottom:15px; right:30px; } +.review-container .review .services .service { + display:inline-block; + background: #efefef; + border-radius:3px; + margin-right:3px; + margin-bottom:3px; + padding:5px 6px; + color:#fff; + font-size:13px; + line-height:1; +} +.review-container .review.review-main .services .service {font-size:14px; padding:5px 8px; margin-right:5px; margin-bottom: 5px;} +.review-container .review .services .service.service-red {background-color:#f54663;} +.review-container .review .services .service.service-orange {background-color:#f69f00;} +.review-container .review .services .service.service-yellow {background-color:#f5ca01;} +.review-container .review .services .service.service-yellowgreen {background-color:#45d365;} +.review-container .review .services .service.service-green {background-color:#10cab2;} +.review-container .review .services .service.service-skyblue {background-color:#5dcaf5;} +.review-container .review .services .service.service-blue {background-color:#018cf5;} +.review-container .review .services .service.service-purple {background-color:#666edd;} + +.review-container .review:hover { + box-shadow: 5px 5px 10px 0px rgba(55,80,104,0.15); +} +.review-container .review.review-main:hover { box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.2); } +.review-container .review.review-dialog:hover { box-shadow: none; } + +.review-container .review:hover .content .more::after { + display:block; +} + +/* jumbotron */ +#area-body.main .jumbotron-container { + position: relative; + height:400px; + margin-bottom:50px; + border-radius:10px; + box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.2); +} +#area-body.main .jumbotron-container .slides { + height:100%; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + overflow:hidden; +} +#area-body.main .jumbotron-container .slides li { + position: absolute; + top:0;left:0; + width:100%; + height:100%; + border-radius:10px; + background-repeat: no-repeat; + background-position: 90% center; +} +#area-body.main .jumbotron-container .slides .slide-1 { background-color:#c1ecff; background-image:url('https://image.barobill.co.kr/v7/main/banner_01.png'); } +#area-body.main .jumbotron-container .slides .slide-2 { background-color:#e3fad7; background-image:url('https://image.barobill.co.kr/v7/main/banner_02.png'); display:none; } +#area-body.main .jumbotron-container .slides .slide-3 { background-color:#fef2c0; background-image:url('https://image.barobill.co.kr/v7/main/banner_03.png'); display:none; } +#area-body.main .jumbotron-container .slides .slide-4 { background-color:#fec0cc; background-image:url('https://image.barobill.co.kr/v7/main/banner_04.png'); display:none; } +#area-body.main .jumbotron-container .slides li a.btn { + position:absolute; + top:70px; + left:80px; + height:30px; + padding:7px 15px 0 15px; + border-radius:15px; + font-size:15px; + line-height:1; + cursor:default; +} +#area-body.main .jumbotron-container .slides li a.btn:hover { + background-color:#3366e2; +} +#area-body.main .jumbotron-container .slides li h2 { + position:absolute; + top:128px; + left:80px; + font-size:35px; +} +#area-body.main .jumbotron-container .slides li p { + position:absolute; + top:188px; + left:80px; + font-size:18px; + line-height:1.7; + letter-spacing: 0; +} +#area-body.main .jumbotron-container .indicator { + position:absolute; + z-index:1; + bottom:70px; + left:80px; +} +#area-body.main .jumbotron-container .indicator li { + float:left; + width:18px; + height:18px; + background: url('https://image.barobill.co.kr/v7/main/banner_indicator.png') no-repeat; + cursor:pointer; +} +#area-body.main .jumbotron-container .indicator li.on { background-position: 0 -18px; } +#area-body.main .jumbotron-container .indicator li.pause { background-position: 0 -54px; } +#area-body.main .jumbotron-container .indicator li.pause.on { background-position: 0 -36px; } + +/* notice */ +#area-body.main .notice-container { + float:left; + position: relative; + width:620px; + height:290px; + border-radius:10px; + background-color:#fff; + box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.2); + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + letter-spacing: 0; +} + +#area-body.main .notice-container h2 { + position:absolute; + top:40px; + left:40px; + font-size:20px; +} +#area-body.main .notice-container a.go { + position:absolute; + top:35px; + right:40px; + width: 25px; + height: 25px; + background:url('https://image.barobill.co.kr/v7/main/notice_more.png') no-repeat center center; +} +#area-body.main .notice-container .list { + position:absolute; + top:85px; + left:40px; + right:40px; +} +#area-body.main .notice-container .list li { + position:relative; + padding-bottom:4px; +} +#area-body.main .notice-container .list li .noti { + display:none; +} +#area-body.main .notice-container .list li a { + display:block; + font-size:15px; + line-height:1.5; +} +#area-body.main .notice-container .list li a:hover { + text-decoration: underline; +} +#area-body.main .notice-container .list li a .date { + position: absolute; + top:50%; + right:0; + margin-top:-12px; + color:#8c8c8c; + font-size:13px; +} +#area-body.main .notice-container .list li .date2 { + display:none; +} + +#area-body.main .notice-container .list li.headline { + height:105px; + padding:5px 0 0 95px; + margin-bottom:20px; + border-bottom:1px solid #f0f0f1; +} +#area-body.main .notice-container .list li.headline .noti { + display:block; + font-size:13px; + color:#969696; + margin-bottom:7px; +} +#area-body.main .notice-container .list li.headline a { + font-size:16px; +} +#area-body.main .notice-container .list li.headline a:hover { + text-decoration: underline; +} +#area-body.main .notice-container .list li.headline .date { + display:none; +} +#area-body.main .notice-container .list li.headline .date2 { + display:block; + position: absolute; + top:0; + left:0; + width:70px; + height:80px; + padding-top:15px; + background-color: #2977e8; + background-image: linear-gradient(#3366e2, #0aadfe); + font-size:13px; + text-align:center; + color:#fff; +} +#area-body.main .notice-container .list li.headline .date2 b { + display:block; + margin-bottom: 10px; + font-size: 25px; +} + +/* csc */ +#area-body.main .csc-container { + float:right; + position: relative; + width:405px; + height:290px; + border-radius:10px; + background-color: #1f91f1; + background:linear-gradient(#3466e0, #12adfc); + box-shadow: 5px 5px 25px 0px rgba(0,0,0,0.2); + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + color:#fff; +} + +#area-body.main .csc-container h2 { + position:absolute; + top:40px; + left:40px; + font-size:20px; +} +#area-body.main .csc-container .tels { + position:absolute; + top:80px; + left:40px; + right:40px; + height:110px; + border-bottom:1px solid #4f97ef; +} +#area-body.main .csc-container .tels li.tel { + position: relative; + height:50px; + background-repeat: no-repeat; + background-position: left center; +} +#area-body.main .csc-container .tels li.tel.tel-type1 { background-image:url('https://image.barobill.co.kr/v7/main/cs_call.png'); } +#area-body.main .csc-container .tels li.tel.tel-type2 { background-image:url('https://image.barobill.co.kr/v7/main/cs_connect.png'); } +#area-body.main .csc-container .tels li.tel .name { + position: absolute; + top:50%; + left:25px; + margin-top:-6px; + font-size:15px; + color:#e0f0fc; +} +#area-body.main .csc-container .tels li.tel .number { + position: absolute; + top:50%; + right:0; + margin-top:-18px; + font-size:35px; + letter-spacing: 0; +} +#area-body.main .csc-container > p { + position:absolute; + top:210px; + left:40px; + font-size:15px; + letter-spacing: 0; + line-height:1.6; +} + +/* customers */ +#area-body.main .customers-container { + position: relative; + height:80px; + margin-top:50px; + border-top:1px solid #efeff0; + background-color:#fff; +} +#area-body.main .customers-container .customers { + position:absolute; + top:50%; + left:0; + height:30px; + margin-top:-15px; + overflow: hidden; +} +#area-body.main .customers-container .customers .customer { + width:910px; + height:30px; + background-repeat: no-repeat; + background-position: left center; +} +#area-body.main .customers-container .customers .customer.customer-1 { background-image:url('https://image.barobill.co.kr/v7/main/customers-1.jpg'); } +#area-body.main .customers-container .customers .customer.customer-2 { background-image:url('https://image.barobill.co.kr/v7/main/customers-2.jpg'); display:none; } +#area-body.main .customers-container .customers .customer.customer-3 { background-image:url('https://image.barobill.co.kr/v7/main/customers-3.jpg'); display:none; } +#area-body.main .customers-container .customers .customer.customer-4 { background-image:url('https://image.barobill.co.kr/v7/main/customers-4.jpg'); display:none; } +#area-body.main .customers-container .customers .customer.customer-5 { background-image:url('https://image.barobill.co.kr/v7/main/customers-5.jpg'); display:none; } +#area-body.main .customers-container .indicator { + position:absolute; + top:50%; + right:0; + height:30px; + padding:5px 0; + margin-top:-16px; + border:1px solid #e0e0e0; +} +#area-body.main .customers-container .indicator li { + float:left; + width:30px; + height:20px; + padding-top:4px; + border-left:1px solid #e8e8e8; + color:#a1b0d3; + text-align:center; + cursor: pointer; + font-family:'dotum', sans-serif; + font-size:11px; +} +#area-body.main .customers-container .indicator li:first-child { + border-left:none; +} +#area-body.main .customers-container .indicator li.off { + color:#dce2f2; + cursor: default; +} + +/********/ +/* join */ +/********/ +#area-body.join .member-type-table td { + padding:20px 0; + cursor:pointer; +} +#area-body.join .member-type-table td.on { + background-color:#e4ebf7; +} + +#area-body.join .barobill-service-link { + margin-bottom:35px; +} +#area-body.join .barobill-service-link li { + position:relative; + float:left; + width:238px; + height:250px; + margin-left:16px; + border:1px solid #cbcfd8; + border-radius:10px; + text-align:center; +} +#area-body.join .barobill-service-link li:first-child { + margin-left:0; +} +#area-body.join .barobill-service-link li a { + display:block; + width:100%; + height:100%; + padding-top:25px; +} +#area-body.join .barobill-service-link li a img { + margin-bottom:10px; +} +#area-body.join .barobill-service-link li a h4 { + margin-bottom:6px; + font-weight:normal; +} +#area-body.join .barobill-service-link li a p { + color:#262626; +} +#area-body.join .barobill-service-link li a .link { + position:absolute; + right:30px; + bottom:20px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; +} + +#area-body.join .barobill-service-link li a:hover { + background-color:#fbfbfb; +} + +/*********/ +/* login */ +/*********/ +#area-body.login .login-box .utils li { + position:relative; + float:left; + height:auto; + padding-left:24px; + margin-left:24px; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:15px; + letter-spacing:-1px; + color:#7a7a7a; +} +#area-body.login .login-box .utils li:before { + content: ''; + position:absolute; + top:50%; + left:0; + height:16px; + margin-top:-8px; + border-right:1px solid #7a7a7a; +} +#area-body.login .login-box .utils li:first-child { + padding-left:0; + margin-left:0; +} +#area-body.login .login-box .utils li:first-child:before { + display:none; +} +#area-body.login .login-box .utils li label:hover, +#area-body.login .login-box .utils li a:hover { + text-decoration: underline; +} +#area-body.login .login-box .join { + position:relative; + border-top:1px dotted #333; + padding:20px 0; + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:16px; + color:#6a6a6a; +} + +#area-body.login .login-ad { + width:360px; + height:290px; +} +#area-body.login .login-ad a, +#area-body.login .login-ad a img { + display:block; + width:100%; + height:100%; +} + +/**********/ +/* settle */ +/**********/ +#area-content.settle .info-box { + background-image: url('https://image.barobill.co.kr/v7/content/bg-settle2.png'); + background-repeat: no-repeat; + background-position: 520px center; +} +#area-content.settle .settle-table { + font-family: 'Noto Sans KR','malgun gothic','맑� 고딕',"Apple SD Gothic Neo"; + font-size:15px; + letter-spacing: 0; +} +#area-content.settle .settle-table tr { + cursor:pointer; +} +#area-content.settle .settle-table tr th, +#area-content.settle .settle-table tr td { + padding-right:30px; + text-align:center; + border-right:none; +} +#area-content.settle .settle-table tr td { + padding:5px 0; + font-size:16px; + line-height:1; +} +#area-content.settle .settle-table tr td.first { + padding-left:15px; +} +#area-content.settle .settle-table tr td.last { + padding-right:15px; +} +#area-content.settle .settle-table tr td .around { + position:relative; + height:40px; + padding:11px 15px 11px 15px; +} +#area-content.settle .settle-table tr td.first .around { + border-radius: 20px 0 0 20px; +} +#area-content.settle .settle-table tr td.last .around { + border-radius: 0 20px 20px 0; +} +#area-content.settle .settle-table tr td .around.around-last { + padding-top:2px; + padding-bottom:2px; +} +#area-content.settle .settle-table tr.on td .around { + background-color:#ecf1fa; + font-weight:bold; + color:#3467e3; +} +#area-content.settle .settle-table tr.on td.last .around, +#area-content.settle .settle-table tr.on td.last .around p { + color:#e6325c !important; +} + +#area-content.settle.settle-popup .settle-table tr td .around { + padding-top:5px; + padding-bottom:7px; +} + +#area-content.settle .settle-table tr td .around .event-name { + position:absolute; + top:50%; + left:5px; + height:20px; + padding:2px 3px 0 3px; + margin-top:-10px; + border:1px solid #f49bb1; + border-radius:3px; + font-size:12px; + font-weight: bold; + line-height:1; + color:#e6325c; +} + +/*******/ +/* sms */ +/*******/ + +/* receivers */ +#area-content.sms .sms-receivers { + float:left; + width:250px; + margin-top:10px; + margin-right:15px; +} +#area-content.sms .sms-receivers .receivers-btns { + height:25px; +} +#area-content.sms .sms-receivers .receivers-btns a { + float:left; + width:123px; + padding-left:0; + padding-right:0; + margin-left:4px; +} +#area-content.sms .sms-receivers .receivers-btns a:first-child { + margin-left:0; +} +#area-content.sms .sms-receivers .receivers-list { + margin-top:10px; +} +#area-content.sms .sms-receivers .receivers-list .receivers-info { + height:345px; + border-bottom:1px solid #d3d3d3; + border-right:1px solid #d3d3d3; +} +#area-content.sms .sms-receivers .receivers-list .receivers-info textarea { + font-family:gulimche; + line-height:16px; + background:url("https://image.barobill.co.kr/sms/addr_bg.gif") repeat top left;padding-top:1px;border:0px;border-left:1px solid #D3D3D3; +} +#area-content.sms .sms-receivers .receivers-list .receivers-summary { + position:relative; + padding:5px 15px 5px 0; + text-align:right; +} +#area-content.sms .sms-receivers .receivers-list .receivers-summary p { + position:absolute; + top:50%; + left:10px; + margin-top:-14px; +} +#area-content.sms .sms-receivers .receivers-util { + height:25px; + margin-top:10px; +} +#area-content.sms .sms-receivers .receivers-util a { + float:left; + width:80px; + padding-left:0; + padding-right:0; + margin-left:5px; + letter-spacing:-1px; +} +#area-content.sms .sms-receivers .receivers-util a:first-child { + margin-left:0; +} + +/* phone */ +#area-content.sms .sms-phone { + float:left; + width:190px; + padding:20px 14px 20px 14px; + border:1px solid #aaa; + border-radius:10px; + box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2); +} +#area-content.sms .sms-phone .logo { + height:22px; + margin-bottom:15px; + background:url('https://image.barobill.co.kr/v7/layout/gnb-logo.png') no-repeat center -22px; + background-size: 100px; +} +#area-content.sms .sms-phone .util-btns { + height:25px; +} +#area-content.sms .sms-phone .util-btns a { + float:left; + width:78px; + padding-left:0; + padding-right:0; + margin-left:4px; + letter-spacing:-1px; +} +#area-content.sms .sms-phone .util-btns a:first-child { + margin-left:0; +} + +/* messages */ +#area-content.sms .sms-messages { + float:right; + width:310px; + height:505px; +} +#area-content.sms .sms-messages iframe { + width:100%; + height:460px; + margin:10px 0 0 0; + border:none; +} + +#area-content.sms .sms-message-list .message{ + float:left; + width:130px; + height:131px; + margin:0 5px 10px 5px; + cursor: pointer; +} +#area-content.sms .sms-message-list .message textarea { + cursor: pointer; +} +#area-content.sms .sms-message-list .message.message-blank { + position:relative; + width:130px; + height:131px; + background-color:#f3f3f3; + text-align:center; + cursor: default; +} +#area-content.sms .sms-message-list .message.message-blank span { + position:absolute; + top:50%; + left:0; + width:100%; + margin-top:-8px; +} +#area-content.sms .sms-message-list-mod { + float:right; + width:560px; +} +#area-content.sms .sms-message-list-mod .sms-message-list .message { + position:relative; + height:160px; +} +#area-content.sms .sms-message-list-mod .sms-message-list .message.message-blank { + height:131px; + margin-bottom:39px; +} +#area-content.sms .sms-message-list-mod .sms-message-list .message a { + position:absolute; + bottom:3px; + right:0; +} + +#area-content.sms .sms-special-chars li { + float:left; + width:14px; + height:14px; + line-height:1; + cursor:pointer; +} +#area-content.sms .sms-emoticon-category { + position: relative; +} +#area-content.sms .sms-emoticon-category .search { + position:absolute; + top:0; + right:0; +} +#area-content.sms .sms-emoticon-category .category li { + float:left; + width:25%; + padding:2px 0; + line-height:1; +} + +/* addr */ +#area-content.sms .sms-addr-group { + float:left; + width:230px; +} +#area-content.sms .sms-addr-group .groups{ + position:relative; + height:400px; + border:1px solid #D2D2D2; + font-size:12px; + overflow-y:scroll; +} +#area-content.sms .sms-addr-group .groups ul{ + margin-top:5px; + margin-left:5px; +} +#area-content.sms .sms-addr-group .groups ul li{ + position:relative; +} +#area-content.sms .sms-addr-group .groups ul li.root{ + height:22px; +} +#area-content.sms .sms-addr-group .groups ul li.root img{ + position:absolute; + top:0; + left:0; +} +#area-content.sms .sms-addr-group .groups ul li.root input[type=checkbox]{ + position:absolute; + top:4px; + left:28px; +} +#area-content.sms .sms-addr-group .groups ul li.root p{ + position:absolute; + top:5px; + left:46px; + line-height:1; +} +#area-content.sms .sms-addr-group .groups ul li.root p a{ + cursor:pointer; +} +#area-content.sms .sms-addr-group .groups ul li.root p span.cntbox{ + margin-left:2px; +} +#area-content.sms .sms-addr-group .groups ul li.root > a{ + position:absolute; + top:2px; + right:5px; +} +#area-content.sms .sms-addr-group .groups ul li.root > a img{ + position:static; +} +#area-content.sms .sms-addr-group .groups ul li.node{ + height:20px; +} +#area-content.sms .sms-addr-group .groups ul li.node .icon{ + position:absolute; + top:0; + left:9px; +} +#area-content.sms .sms-addr-group .groups ul li.node input{ + position:absolute; + top:4px; + left:39px; +} +#area-content.sms .sms-addr-group .groups ul li.node p{ + position:absolute; + top:5px; + left:55px; + line-height:12px; +} +#area-content.sms .sms-addr-group .groups ul li.node p a{ + letter-spacing:-1px; + cursor:pointer; +} +#area-content.sms .sms-addr-group .groups ul li.node p span.cntbox{ + margin-left:2px; +} +#area-content.sms .sms-addr-group .groups ul li.node .button{ + position:absolute; + top:4px; + right:4px; +} +#area-content.sms .sms-addr-group .btns > div a { + float:left; + width:103px; + margin-left:4px; +} +#area-content.sms .sms-addr-group .btns > div a:first-child { + margin-left:0; +} +#area-content.sms .sms-addr-group .btns > a { + width:100%; +} + +#area-content.sms .sms-addr { + float:right; + width:530px; + height:505px; +} +#area-content.sms .sms-addr iframe { + width:100%; + height:100%; + border:none; +} + +#area-content.sms .sms-addr-list .tab { + height:25px; +} +#area-content.sms .sms-addr-list .tab li { + margin-right:1px; + height:23px; + padding:4px 4px 0 4px; + font-size:12px; +} +#area-content.sms .sms-addr-list .tab li.tab-right { + padding:0; +} + +#area-content.sms .sms-addr-list .addr-list { + height:336px; + overflow-y:scroll; + border-left:1px solid #D2D2D2; + border-bottom:1px solid #D2D2D2; +} +#area-content.sms .sms-addr-list .addr-list.addr-list-no-add-new { + height:368px; +} diff --git a/barobill/proxy.asp b/barobill/proxy.asp new file mode 100644 index 0000000..90db0af --- /dev/null +++ b/barobill/proxy.asp @@ -0,0 +1,44 @@ +<% @Language="VBScript" CODEPAGE="65001" %> +<% + Set objwinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1") + url = Request("ntsurl") + objwinHttp.Open "GET", url, false + objwinHttp.Send() + Response.ContentType="text/plain" + Response.Charset="UTF-8" + returnMsg = fnStreamBinaryToString(objWinHttp.ResponseBody, "UTF-8") + returnMsg = mid(returnMsg, inStr(returnMsg, "location.replace(")+18, inStr(returnMsg, "},200);") - (inStr(returnMsg, "location.replace(")) - 23) + + url = "https://www.barobill.co.kr" & Replace(returnMsg,"""","") + objwinHttp.Open "GET", url, false + objwinHttp.Send() + returnMsg = fnStreamBinaryToString(objWinHttp.ResponseBody, "UTF-8") + returnMsg = mid(returnMsg, inStr(returnMsg, "
"), inStr(returnMsg, "
") - (inStr(returnMsg, "
"))) + + Response.Write returnMsg + + set objWinHttp = nothing + + Function fnStreamBinaryToString(Binary, CharSet) + Const adTypeText = 2 + Const adTypeBinary = 1 + + Dim BinaryStream + Set BinaryStream = CreateObject("ADODB.Stream") + + BinaryStream.Type = adTypeBinary + + BinaryStream.Open + BinaryStream.Write Binary + + BinaryStream.Position = 0 + BinaryStream.Type = adTypeText + + If Len(CharSet) > 0 Then + BinaryStream.CharSet = CharSet + Else + BinaryStream.CharSet = "us-ascii" + End If + fnStreamBinaryToString = BinaryStream.ReadText + End Function +%> \ No newline at end of file diff --git a/business/approval_depart_all_print.asp b/business/approval_depart_all_print.asp new file mode 100644 index 0000000..2e0f2b7 --- /dev/null +++ b/business/approval_depart_all_print.asp @@ -0,0 +1,293 @@ + +<% + dim Query + dim i,j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap() + dim Max_length 'ÀԷ°¡´É ÁÙ¼öÁ¤ÀÇ + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim depart_cost_type + dim depart_gubun + dim y_m + dim cost_type(2) ''ÁöÃâ¹æ¹ý ±¸ºÐ + + cost_type(1) = "°³ÀιýÀÎÄ«µå" + cost_type(2) = "Çö±Ý/°³ÀÎÄ«µå" + + print_type = request("print_type") + + depart_cost_type = request("depart_div") + depart_gubun = "ÆÀ" + if depart_cost_type = "2" then + depart_gubun = "Àå" + end if + y_m = request("y_m") + if y_m = "" then + y_m = LEFT(date, 7) + end if + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + + Query = "" + Query = Query & " SELECT VGC.cost_date, VGC.p_no, VGC.txt_pjt, ISNULL(TPM.p_subject, 'ÀϹݾ÷¹«') AS p_subject, VGC.txt_hangmok, VGC.contents, VGC.cost, M.target97, M.target99 " + Query = Query & " FROM V_GROUP_COST_NEW VGC LEFT JOIN T_PROJECT_METHOD TPM ON VGC.txt_pjt = TPM.p_child_sn " + Query = Query & " LEFT JOIN ¹®¼­³»¿ë M ON VGC.d_no = M.¹®¼­¹øÈ£ " + Query = Query & " WHERE VGC.p_no = '" & session("User_Number") & "' " + Query = Query & " AND CONVERT(VARCHAR(7), VGC.cost_date) = '" & y_m & "' " + Query = Query & " ORDER BY VGC.cost_date " + 'response.Write query + rsc.Open query, adoConn, 1 + + tmp_0 = split(rsc("target97"), "^^") + user_name(0) = rsc("p_no") '»ç¹ø + user_name(1) = tmp_0(0) 'À̸§ + user_name(2) = tmp_0(1) 'Á÷À§ ÄÚµå + user_name(3) = tmp_0(2) 'Á÷Åë ÀüÈ­ + user_name(4) = tmp_0(3) 'ºÎ¼­ÄÚµå + + tmp_7 = split(rsc("target99"), "^^") + + if trim(tmp_7(0)) <> "Àü°á" and trim(tmp_7(0)) <> "" then + tmp_t1 = split(tmp_7(0), "
") + tmp_txt1 = "" + else + tmp_txt1 = trim(tmp_7(0)) + end if + if trim(tmp_7(1)) <> "Àü°á" and trim(tmp_7(1)) <> "" then + tmp_t2 = split(tmp_7(1), "
") + tmp_txt2 = "" + else + tmp_txt2 = trim(tmp_7(1)) + end if + if trim(tmp_7(2)) <> "Àü°á" and trim(tmp_7(2)) <> "" then + tmp_t3 = split(tmp_7(2), "
") + tmp_txt3 = "" + else + tmp_txt3 = trim(tmp_7(2)) + end if + if trim(tmp_7(3)) <> "Àü°á" and trim(tmp_7(3)) <> "" then + tmp_t4 = split(tmp_7(3), "
") + tmp_txt4 = "" + else + tmp_txt4 = trim(tmp_7(3)) + end if + if trim(tmp_7(4)) <> "Àü°á" and trim(tmp_7(4)) <> "" then + tmp_t5 = split(tmp_7(4), "
") + tmp_txt5 = "" + else + tmp_txt5 = trim(tmp_7(4)) + end if +%> + + +<%=GNB_TITLE%> + + + + + onLoad="print_ie();" <% end if %>> +
+ + " /> + <%if cint(print_type) <> 2 then%> + + + + +
+ + +
+ <%end if%> + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ <% + 'if depart_cost_type = "1" then + ' tmp_tit = "±×·ìȰµ¿ºñ" + 'elseif depart_cost_type = "2" then + ' tmp_tit = "±×·ìÀåȰµ¿ºñ" + 'end if + tmp_tit = "±×·ì¿î¿µºñ" + %> + <%=tmp_tit%> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø´ëÇ¥ÀÌ»ç´ã´çºÎ¼­ÀåÀÓ¿ø´ëÇ¥ÀÌ»ç
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
+
+
+
Ã⠷   ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
+ + + + + + + + + <% + Dim d_date, d_project, d_hangmok, d_contents, d_cost, d_cost_kind + Dim sum_cost + sum_cost=0 + Do while Not rsc.Eof + d_date = rsc("cost_date") + d_project = "[" & rsc("txt_pjt") & "] " & rsc("p_subject") + d_hangmok = rsc("txt_hangmok") + d_contents = rsc("contents") + d_cost = rsc("cost") + + sum_cost = sum_cost + cdbl(d_cost) + ' split(rsc("contents"), "^^") --> 2017-02-14^^ÀϹݾ÷¹« - ±âŸ^^1^^5000^^99999^^Çö±Ý/°³ÀÎÄ«µå + %> + + + + + + + + <% + rsc.MoveNext + Loop + %> + + + + +
ÀÏÀÚÇÁ·ÎÁ§Æ®(¾÷¹«)¸í/³»¿ëÇ׸ñºñ°í±Ý¾×
<%=d_date%><%=d_project%><%=d_hangmok%><%=d_contents%>£Ü<%=formatnumber(d_cost,0)%> 
ÇÕ°è£Ü<%=formatnumber(sum_cost,0)%> 
+
+
	¿µ ¼ö ÀÏ ÀÚ :              ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                               (ìÔ)
+
+
+
+
+ + +<% +rsc.Close +%> \ No newline at end of file diff --git a/business/approval_entertainment_all_print.asp b/business/approval_entertainment_all_print.asp new file mode 100644 index 0000000..e62c3d6 --- /dev/null +++ b/business/approval_entertainment_all_print.asp @@ -0,0 +1,283 @@ + +<% +'Response.write session("User_Number") + + dim Query + dim i,j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim Curr_date '¿À´Ã³¯Â¥ + dim Company(6) + dim Gap() + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + dim y_m + + print_type = request("print_type") + y_m = request("y_m") + if y_m = "" then + y_m = LEFT(date, 7) + end if + + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + + Query = "" + Query = Query & " SELECT ¹®¼­¹øÈ£, CONVERT(VARCHAR(10), target3) as d_date, V.p_subject, M.p_sn, " + Query = Query & " convert(varchar(300), target2) as content, convert(varchar(20), target4) as cost, " + Query = Query & " convert(varchar(50), target9) as cli_company, convert(varchar(30), target7) as cli_nm, " + Query = Query & " convert(varchar(30), target15) as money_type, convert(varchar(1000), target99) as target99 " + Query = Query & " FROM ¹®¼­³»¿ë M LEFT JOIN V_PROJECT_METHOD V ON M.p_sn = V.p_child_sn OR M.p_sn = V.p_sn " + Query = Query & " WHERE ¹®¼­Á¦¸ñ='Á¢´ëºñº¸°í¼­' AND del_yes_no='no' " + Query = Query & " AND login_p_no='" & session("User_Number") & "' AND CONVERT(VARCHAR(7), target3) = '" & y_m & "' " + Query = Query & " ORDER BY CONVERT(VARCHAR(10), target3) " + 'response.Write query + rsc.Open query, adoConn, 1 + + if print_type = "2" then + query = " update ¹®¼­³»¿ë set print_chk = 'Yes', print_cnt = print_cnt + 1 " + query = query & " where ¹®¼­¹øÈ£ in (" + query = query & " select ¹®¼­¹øÈ£ from ¹®¼­³»¿ë " + query = query & " WHERE ¹®¼­Á¦¸ñ='Á¢´ëºñº¸°í¼­' AND del_yes_no='no' " + query = query & " AND login_p_no='" & session("User_Number") & "' " + query = query & " AND CONVERT(VARCHAR(7), target3) = '" & y_m & "' " + query = query & " ) " + adoConn.Execute query + end if + + user_name(0) = session("User_Number") + Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + tmp_7 = split(rsc("target99"), "^^") + + if trim(tmp_7(0)) <> "Àü°á" and trim(tmp_7(0)) <> "" then + tmp_t1 = split(tmp_7(0), "
") + tmp_txt1 = "" + else + tmp_txt1 = trim(tmp_7(0)) + end if + if trim(tmp_7(1)) <> "Àü°á" and trim(tmp_7(1)) <> "" then + tmp_t2 = split(tmp_7(1), "
") + tmp_txt2 = "" + else + tmp_txt2 = trim(tmp_7(1)) + end if + if trim(tmp_7(2)) <> "Àü°á" and trim(tmp_7(2)) <> "" then + tmp_t3 = split(tmp_7(2), "
") + tmp_txt3 = "" + else + tmp_txt3 = trim(tmp_7(2)) + end if + if trim(tmp_7(3)) <> "Àü°á" and trim(tmp_7(3)) <> "" then + tmp_t4 = split(tmp_7(3), "
") + tmp_txt4 = "" + else + tmp_txt4 = trim(tmp_7(3)) + end if + if trim(tmp_7(4)) <> "Àü°á" and trim(tmp_7(4)) <> "" then + tmp_t5 = split(tmp_7(4), "
") + tmp_txt5 = "" + else + tmp_txt5 = trim(tmp_7(4)) + end if +%> + + +<%=GNB_TITLE%> + + + + + onLoad="print_ie();" <% end if %>> +
+ + <%if cint(print_type) <> 2 then%> + + + + +
+ + +
+ <%end if%> + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ ¸¶ÄÉÆÃºñ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø´ëÇ¥ÀÌ»ç´ã´çºÎ¼­ÀåÀÓ¿ø´ëÇ¥ÀÌ»ç
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
+
+
+
Ã⠷   ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
+ + + + + + + + + <% + Dim sum_cost + sum_cost=0 + Do while Not rsc.Eof + sum_cost = sum_cost + cdbl(rsc("cost")) + + %> + + + + + + + + <% + rsc.MoveNext + Loop + %> + + + + + +
Á¢´ëÀÏÀÚÇÁ·ÎÁ§Æ®±Ý¾×Á¢´ë¸ñÀûȸ»ç¸í(¼º¸í)
<%=rsc("d_date")%>(<%=rsc("p_sn")%>)<%=iif(rsc("p_sn") = "99999", "¿î¿µ ¹× °ü¸®¾÷¹«", rsc("p_subject"))%>£Ü<%=formatnumber(rsc("cost"),0)%> <%=rsc("content")%><%=rsc("cli_company")%><% if rsc("cli_nm") <> "" then %>(<%=rsc("cli_nm")%>)<% end if %>
ÇÕ°è£Ü<%=formatnumber(sum_cost,0)%> 
+
+
	¿µ ¼ö ÀÏ ÀÚ :              ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                               (ìÔ)
+
+
+
+
+ + +<% +rsc.Close +%> \ No newline at end of file diff --git a/business/busi_approval.asp b/business/busi_approval.asp new file mode 100644 index 0000000..dd9671f --- /dev/null +++ b/business/busi_approval.asp @@ -0,0 +1,140 @@ + + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(request("data")) + dim query, krc_no, tmpstr, tmp + dim Company(6) + dim user_name(4) + dim target97, target98, target99, target100 + dim executeCount : executeCount = 0 + dim title : title = "¾÷¹«ÀÏÁö" + + ''ȸ»ç ȸ»ç¸í, »ç¾÷ÀÚµî·Ï¹øÈ£, ´ëÇ¥ÀÚ¸í, ÁÖ¼Ò °¡Á®¿À±â + query = "select * from company" + adoRs.open query, adoconn,adopenstatic, adlockreadonly + Company(1) = adors("com_name") + Company(2) = adors("»ç¾÷ÀÚµî·Ï¹øÈ£") + Company(3) = adors("´ëÇ¥ÀÚ¸í") + Company(4) = adors("ÁÖ¼Ò") + Company(5) = adors("¹ýÀεî·Ï¹øÈ£") + Company(6) = adors("ȸ»ç´ëÇ¥ÀüÈ­¹øÈ£") + adoRs.close + + ''·Î±×ÀÎ »ç¿ëÀÚ Á¤º¸ + user_name(0) = Session("User_Number") + query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'" + adoRs.open query, adoconn,adopenstatic, adlockreadonly + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + adoRs.close + + query = " select d_no as krc_no from document " + query = query & " where d_name = '¾÷¹«ÀÏÁö' " + query = query & " and substring(d_no, 5, 4) = '" & year(date) & "' " + query = query & " order by d_no " + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + + if adoRs.recordcount <= 0 then + krc_no = 0 + else + adoRs.movelast + tmpstr = split(trim(adoRs("krc_no")),"-") + krc_no = tmpstr(3) + end if + adoRs.close + + krc_no = int(krc_no) + 1 + tmpstr = "KRC-" & year(date) & "-" + tmpstr = tmpstr & "B-" + krc_no = tmpstr & ZeroFormat(krc_no,5) + + target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4) + target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6) + + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + if my_pos = 6 then '»çÀå + tmp_txt1 = "Àü°á" : tmp_txt2 = "Àü°á" : tmp_txt3 = "Àü°á" : tmp_txt4 = "Àü°á" : tmp_txt5 = tmp_txt + tmp_txt6 = "/" : tmp_txt7 = "/" : tmp_txt8 = "/" : tmp_txt9 = "/" : tmp_txt10 = month(now()) & " / " & day(now()) + elseif my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" : tmp_txt2 = "Àü°á" : tmp_txt3 = "Àü°á" : tmp_txt4 = tmp_txt : tmp_txt5 = " " + tmp_txt6 = "/" : tmp_txt7 = "/" : tmp_txt8 = "/" : tmp_txt9 = month(now()) & " / " & day(now()) : tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" : tmp_txt2 = "Àü°á" : tmp_txt3 = tmp_txt : tmp_txt4 = " " : tmp_txt5 = " " + tmp_txt6 = "/" : tmp_txt7 = "/" : tmp_txt8 = month(now()) & " / " & day(now()) : tmp_txt9 = "/" : tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt : tmp_txt2 = "Àü°á" : tmp_txt3 = " " : tmp_txt4 = " " : tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) : tmp_txt7 = "/" : tmp_txt8 = "/" : tmp_txt9 = "/" : tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt : tmp_txt2 = " " : tmp_txt3 = " " : tmp_txt4 = " " : tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) : tmp_txt7 = "/" : tmp_txt8 = "/" : tmp_txt9 = "/" : tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt : tmp_txt2 = "Àü°á" : tmp_txt3 = " " : tmp_txt4 = " " : tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) : tmp_txt7 = "/" : tmp_txt8 = "/" : tmp_txt9 = "/" : tmp_txt10 = "/" + end if + %> + + + + <% + target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 + target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 + + 'Document table¿¡ »ðÀÔ + query = "INSERT INTO Document " + query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " + query = query & " d_order_cnt, d_orders," + query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " + query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " + query = query & " d_view, d_delok) " + query = query & "VALUES " + query = query & " ('" & krc_no & "', '¾÷¹«ÀÏÁö', '" & Session("loginuser") & "', '" & date() & "', '14', '" & d_type & "', " + query = query & " '" & d_order_cnt & "', '" & d_orders & "', " + query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " + query = query & " '" & d_order6 & "', '" & Session("User_Number") & "', '" & d_orders & "', '" & date() & "', '" & d_order10 & "', " + query = query & " 'N', 'N') " + + adoconn.execute query + '==================================================================== + +'//======================== +'¹®¼­ ³»¿ë ÀúÀåÇϱâ + query = "insert into ¹®¼­³»¿ë (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, " + query = query & " target3, target4, target97, target98, target99, target100, " + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§,login_ip, part) values ( " + query = query & "'" & krc_no & "', " + query = query & "'¾÷¹«ÀÏÁö', " + query = query & "'" & info.j_date_1 & "', " + query = query & "'" & info.j_date_2 & "', " + query = query & "'" & target97 & "', " + query = query & "'" & target98 & "', " + query = query & "'" & target99 & "', " + query = query & "'" & target100 & "', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & user_name(0) & "', " + query = query & "'" & user_name(1) & "', " + query = query & "'" & Session("USERIP") & "'," + query = query & "'" & part & "') " + + adoconn.execute query + + query = " UPDATE Job_List SET j_approval = '" & krc_no & "' " + query = query & " WHERE j_date BETWEEN '" & info.j_date_1 & "' AND '" & info.j_date_2 & "' " + query = query & " AND p_no = '" & Session("User_Number") & "' AND j_flag = '1' " + + adoconn.execute query, executeCount + Response.Clear + if executeCount > 0 then + Response.Write "1" + else + Response.Write "0" + end if + +%> \ No newline at end of file diff --git a/business/busi_approval_ok.asp b/business/busi_approval_ok.asp new file mode 100644 index 0000000..75937bf --- /dev/null +++ b/business/busi_approval_ok.asp @@ -0,0 +1,117 @@ + + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(request("data")) + dim query, d_no, tmpstr, tmp, tmp2, tmp_i + dim d_order_cnt, d_orders, target99, target100 + dim executeCount : executeCount = 0 + + d_no = info.d_no + + query = "SELECT * " + query = query & "FROM Document as a " + query = query & " INNER JOIN ¹®¼­³»¿ë as b on a.d_no = b.¹®¼­¹øÈ£ " + query = query & "WHERE a.d_no='" & d_no & "' " + + adors.Open query, adoConn, 1 + if adors.RecordCount > 0 then + '---------------------------------------------------- + tmp = split(adors("target99"), "^^") + for i = 0 to ubound(tmp) + if trim(tmp(i)) = "" then + tmp(i) = Session("loginuser") & "
" & replace(date(), "-", "") & "
" & Session("User_Number") + tmp_i = i + exit for + end if + next + '---------------------------------------------------- + 'target100¿¡ ³¯Â¥ »ðÀÔ + tmp2 = split(adors("target100"), "^^") + tmp2(tmp_i) = month(now()) & " / " & day(now()) + '---------------------------------------------------- + '´ÙÀ½°áÀçÀÚ¸¦ °¡¸£Å°µµ·Ï Çϳª¸¦ ´õÇØ ÁÜ + tmp_i = tmp_i + 1 + + for i = int(adors("d_order_cnt")) + 1 to ubound(tmp) + 1 + if adors("d_order" & i) = "Àü°á" or adors("d_order" & i) = "NO" then + tmp_order_value = "Àü°á" + + if adors("d_order" & i) = "Àü°á" then + tmp_1 = "1" + else + tmp_1 = "0" + end if + + if tmp_1 = "1" then + tmp(tmp_i) = tmp_order_value + tmp_i = tmp_i + 1 + end if + else + d_order_cnt = i + d_orders = adors("d_order" & i) + exit for + end if + next + + '°áÀç ÃÖÁ¾¿Ï·á + if i > ubound(tmp) + 1 then + d_order_cnt = "77" + d_orders = adors("login_p_no") + end if + + target99 = "" + for i = 0 to ubound(tmp) + if i <> 0 then + target99 = target99 & "^^" + end if + target99 = target99 & tmp(i) + next + + target100 = "" + for i = 0 to ubound(tmp2) + if i <> 0 then + target100 = target100 & "^^" + end if + target100 = target100 & tmp2(i) + next + + query = " UPDATE Document " + query = query & " SET " + query = query & " d_order_cnt = '" & d_order_cnt & "', " + query = query & " d_orders = '" & d_orders & "' " + query = query & " WHERE d_no = '" & d_no & "' " + query = query & " OR d_no IN ( " + query = query & " SELECT DISTINCT d_no " + query = query & " FROM V_GROUP_COST_NEW " + query = query & " WHERE cost_date BETWEEN '" & adors("target3") & "' AND '" & adors("target4") & "' " + query = query & " AND p_no = '" & adors("login_p_no") & "' " + query = query & " ); " + query = query & " UPDATE ¹®¼­³»¿ë " + query = query & " SET " + query = query & " target99 = '" & target99 & "', " + query = query & " target100 = '" & target100 & "' " + query = query & " WHERE ¹®¼­¹øÈ£ = '" & d_no & "' " + query = query & " OR ¹®¼­¹øÈ£ IN ( " + query = query & " SELECT DISTINCT d_no " + query = query & " FROM V_GROUP_COST_NEW " + query = query & " WHERE cost_date BETWEEN '" & adors("target3") & "' AND '" & adors("target4") & "' " + query = query & " AND p_no = '" & adors("login_p_no") & "' " + query = query & " ) " + + adoconn.execute query, executeCount + End if + + Response.Clear + if executeCount > 0 then + Response.Write "1" + else + Response.Write "0" + end if + adors.Close + +%> \ No newline at end of file diff --git a/business/busi_cancel.asp b/business/busi_cancel.asp new file mode 100644 index 0000000..86ab227 --- /dev/null +++ b/business/busi_cancel.asp @@ -0,0 +1,34 @@ + + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(request("data")) + dim query, krc_no + dim executeCount : executeCount = 0 + + + + query = " UPDATE Document SET d_delok = 'Y' WHERE d_no = '" & info.d_no & "' " + adoconn.execute query + + query = " UPDATE ¹®¼­³»¿ë SET del_yes_no = 'yes' WHERE ¹®¼­¹øÈ£ = '" & info.d_no & "' " + adoconn.execute query + + query = " UPDATE Job_List SET j_approval = '' " + query = query & " WHERE j_date BETWEEN '" & info.j_date_1 & "' AND '" & info.j_date_2 & "' " + query = query & " AND p_no = '" & Session("User_Number") & "' AND j_flag = '1' " + query = query & " AND MONTH(j_date) = '" & info.conmonth & "' " '//-- hwkim 20220610 + + adoconn.execute query, executeCount + + if executeCount > 0 then + Response.Write "1" + else + Response.Write "0" + end if + +%> \ No newline at end of file diff --git a/business/busi_delete.asp b/business/busi_delete.asp new file mode 100644 index 0000000..2cd66d4 --- /dev/null +++ b/business/busi_delete.asp @@ -0,0 +1,43 @@ + + +<% + Response.CharSet = "EUC-KR" + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(request("data")) + dim query + + dim executeCount : executeCount = 0 + + query = " UPDATE Job_List SET j_flag = '0' " + query = query & " WHERE p_no = '" & Session("User_Number") & "' " + if info.prj_code <> "" Then + query = query & " AND j_p_sn = '" & info.prj_code & "' " + End if + if info.j_date_2 = "" Then + query = query & " AND j_date = '" & info.j_date_1 & "' " + Else + query = query & " AND j_date BETWEEN '" & info.j_date_1 & "' AND '" & info.j_date_2 & "' " + End if + + query = query & " AND MONTH(j_date) = '" & info.conmonth & "' " '//-- hwkim 20220610 + + 'response.write query + 'response.end + + if info.prj_code <> "" Or info.j_date_1 <> "" Then + adoConn.Execute query + executeCount = 1 + Else + executeCount = 0 + End if + + + if executeCount > 0 then + Response.Write "1" + else + Response.Write "0" + end if +%> \ No newline at end of file diff --git a/business/busi_list.asp b/business/busi_list.asp new file mode 100644 index 0000000..45fd47a --- /dev/null +++ b/business/busi_list.asp @@ -0,0 +1,1203 @@ + + + +<% + dim conyear, conmonth, conweek + dim selweekRange, stdate, eddate, chkday + + conyear = iif(request("conyear") = "", year(date), request("conyear")) + conmonth = iif(request("conmonth") = "", month(date), request("conmonth")) + ym = conyear & "-" & RIGHT("0" & conmonth, 2) + +%> + +
+ +
+

¾÷¹«ÀÏÁö ÇöȲ

+
+ + +
+
+
+
+
+ + + + + + + + +
+ + + + + + +
+ ½ºÄÉÁì¹Ù¿¡ ¸¶¿ì½º¸¦ ¿Ã¸®¸é ¾÷¹«½Ã°£, ¾÷¹«³»¿ë ÇüÅ·Πǥ½ÃµË´Ï´Ù. +
+ + + + + + + + + + + + + + <% + Dim week_i, day_i, date_i, date_last, week_i_num + Dim dayClass + date_i = 1 + date_last = DateAdd("d", -1, DateAdd("m", 1, cDate(ym & "-01"))) + 'response.write weekday_mon("2022-04-01") + %> + <% For week_i = 1 To 6 + + week_i_num = getWeeknum(conyear, conmonth, date_i) '//-- week_num_new + 'response.write week_i_num + %> + + <% For day_i = 1 To 8 %> + + <% if day_i <> 8 Then %> + + <% else %> + + <% end if %> + + <% Next %> + + <% + if date_i > day(date_last) Then + Exit For + End if + %> + + <% Next %> +
MonTueWedThuFriSatSun
+ <% if (date_i > 1 AND date_i <= day(date_last)) OR (date_i = 1 AND day_i = weekday_mon(ym & "-01")) Then %> + <%'=day_i &" = "& weekday_mon(ym & "-01") &" = "& day(date_last) %> + <% + dayClass = "d_nor" + if day_i = 7 Then + dayClass = "d_sun" + elseif day_i = 6 Then + dayClass = "d_sat" + End if + Call day_off_chk_only(conyear, conmonth, date_i) + if day_off = "true" Then + dayClass = "d_sun" + End if + %> +
<%= date_i%>
+ <% date_i = date_i + 1 %> + <% End if %> + <%'=dayClass %> +
+
+
+
+
+
+
+
+
+
+ + + <% + dim perQuery, groupQuery, jobQuery, loginQuery + dim p_no_arr : p_no_arr = "" + + ' response.write "----------"& Session("teamplace") + + perQuery = "" + perQuery = perQuery & " SELECT p_no, p_name " + perQuery = perQuery & " FROM Person " + perQuery = perQuery & " WHERE p_ip IS NOT NULL AND LEFT(krc_in_date, 7) <= '" & ym & "' AND ( krc_out_date = '' OR krc_out_date LIKE '" & ym & "%' ) " + If Session("teamplace") = 6 Then '´ëÇ¥ÀÌ»ç + if Session("User_Number") = "20080101" then + perQuery = perQuery & " AND ( p_position_now = 5 OR p_no in ('20191202', '20220901', '20190601', '20151203', '20031102','20210107') ) " 'Á¶±âÇý ´ëü ¹Ú¹Ì¼± + else '2024-06-17 (20211001, 20210105, 20230905) Åð»ç·Î »èÁ¦ + perQuery = perQuery & " AND ( p_position_now = 5 OR p_no in ('20191202', '20220901', '20190601', '20151203', '20031102','20210107') ) " + end if + ElseIf (Session("teamplace") = 3 OR Session("teamplace") = 2) and Session("User_Number") <> "20200103" and Session("User_Number") <> "20210405" and Session("User_Number") <> "20181009" Then 'ÃѰý ±×·ìÀå / ±×·ìÀå , din ±×·ìÀåÀº ¾Èº¸À̵µ·Ï Àϰý ÃÖÁ¤½Éº»ºÎÀå´Ô¸¸ °áÀç°¡´É + ' If Session("N_depart") & Session("N_team") = "S301" Then ' äÁÖÈñ ±×·ìÀå´Ô Àü¿ë + ' perQuery = perQuery & " and (p_no not in ('20240701','20240702') ) " 'À̼­À± Á¦¿Ü 401ŰÀ§ °ø¼®À¸·Î Æ÷ÇÔ½ÃÅ´ 2024-07-09 + ' perQuery = perQuery & " AND (p_depart_now = 'S' AND p_team_now in ('401') OR (p_no in ('20160203', '20210302'))" '¼Ö·ç¼Ç°³¹ß, ¹é¼ºÈñ, ¹Úä¿ø + If Session("User_Number") = "20210302" THEN '¹Úä¿ø + perQuery = perQuery & " AND (p_depart_now = 'S' AND p_team_now in ('501')" + ElseIf Session("User_Number") = "20250301" THEN 'ÃÖ³²½Ä + perQuery = perQuery & " AND (p_depart_now = 'S' AND p_team_now in ('401')" + ElseIf Session("User_Number") = "20160203" THEN '¹é¼ºÈñ + perQuery = perQuery & " AND (p_depart_now = 'S' AND p_team_now in ('301')" + perQuery = perQuery & " and (p_no not in ('20240701','20240702') ) " 'À̼­À± Á¦¿Ü 401ŰÀ§ °ø¼®À¸·Î Æ÷ÇÔ½ÃÅ´ 2024-07-09 + ' ElseIf Session("User_Number") = "20200103" THEN 'Á¶¹Î¾Æ + ' perQuery = perQuery & " AND (p_no in ('20200807', '20220407' ,'20240901' ,'20241102') " + ' ElseIf Session("User_Number") = "20210405" THEN '±èÈñÁ¤ + ' perQuery = perQuery & " AND (p_no in ('20191104', '20200301','20240501') " + ' ElseIf Session("User_Number") = "20181009" THEN '°ø¹Ì¾Ö + ' perQuery = perQuery & " AND (p_no in ('20200106') " + ElseIf Session("User_Number") = "20160301" THEN 'ÃÖÇý¿ø + perQuery = perQuery & " AND ((p_depart_now = '" & Session("N_depart") & "' AND p_team_now = '" & Session("N_team") & "') " + perQuery = perQuery & " and (p_no not in ('20230906') ) " '¸¶ÄÉÆÃ1±×·ì ³²°ü¿ì À§¿ø Á¦¿Ü 250122 jelee + + ' ElseIf Session("N_depart") & Session("N_team") = "S101" Then '//-- ½Ç»çÀ϶§´Â ½Ç»ç,QC ´Ù ³ª¿À°Ô º¯°æ 2020-10-13 + ' perQuery = perQuery & " AND ((p_depart_now = 'S' AND p_team_now in ('101', '201')) " + ' elseif session("User_Number") = "20140804" Then '¼ÛÀ¯±Ù - P2 + ' perQuery = perQuery & " and ( p_no not in ('20150302') ) " 'ÃÖȯ Á¦¿Ü + ' perQuery = perQuery & " AND ((p_depart_now = '" & Session("N_depart") & "' AND p_team_now = '" & Session("N_team") & "') " + ' elseif session("User_Number") = "20190601" Then 'ÀÌÇýÁø - M1 ºÎÀç·Î ´ëü /// ÀÏ´Ü M1, M2 µÑ´Ù °ü¸®ÇؾßÇϹǷΠÇϵåÄÚµùÀ¸·Î º¯°æ 2024-08-21 + ' perQuery = perQuery & " and ( p_no not in ('20230906') ) " '³²°ü¿ì Á¦¿Ü + ' perQuery = perQuery & " AND ((p_depart_now = '" & Session("N_depart") & "' AND p_team_now in ('701', '702')) " + Else + perQuery = perQuery & " AND ((p_depart_now = '" & Session("N_depart") & "' AND p_team_now = '" & Session("N_team") & "') " + End if + perQuery = perQuery & " OR p_no = '" & Session("User_Number") & "' " + perQuery = perQuery & " ) AND p_position_now <> 5 " + Else + perQuery = perQuery & " AND ( p_no = '" & Session("User_Number") & "' " + ' if session("User_Number") = "20250201" Then 'Á¶±âÇý ´ëü ¹Ú¹Ì¼± + ' perQuery = perQuery & " OR p_no in ('20210403', '20220504', '20240401') " + ' End if + if session("User_Number") = "20191202" Then '±èÇöÁ¤ + perQuery = perQuery & " OR p_no in ('20231201', '20240208','20240401','20250602','20250702') " + End if + ' if session("User_Number") = "20220901" Then 'À̼­À± + ' perQuery = perQuery & " OR p_no in ('20230402', '20241103') " + ' End if + + if session("User_Number") = "20210801" Then '¼­°­½Å + perQuery = perQuery & " OR p_no in ('20210905') " + End if + + + ' if session("User_Number") = "20210801" Then '¼­°­½Å - ¿©·ÐÁ¶»ç¼¾ÅÍ 250122 jelee + ' perQuery = perQuery & " OR p_no in ('20160205', '20210107', '20240205') " + ' End if + If session("User_Number") = "20190601" Then 'ÀÌÇýÁø - ¸¶ÄÉÆÃ 1,2,3 ±×·ìÀå + perQuery = perQuery & " OR (p_depart_now = 'R' AND p_team_now in ('701','702','703') AND p_position_now = 3 ) OR p_no in ('20230906') "'±×·ìÀåµé¸¸ º¸¿©Áöµµ·Ï + End If + if session("User_Number") = "20031102" Then 'äÁÖÈñ - DCO º»ºÎÀå + perQuery = perQuery & " OR (p_depart_now = 'S' AND p_team_now IN ('301','401','501','601') AND p_position_now = 3) " + ' perQuery = perQuery & " OR (p_depart_now = 'S' AND p_team_now in ('401')) " '¼Ö·ç¼Ç °³¹ß ±×·ìÀå ´ë¸® 250122 jelee + End if + if session("User_Number") = "20151203" Then 'ÃÖÁ¤½É - DIN º»ºÎÀå + perQuery = perQuery & " OR (p_depart_now = 'S' AND p_team_now IN ('101','201')) " + End if + if session("User_Number") = "20160205" Then '¹ÚÁöÈÆ - ÆÛºí¸¯ º»ºÎ 250121 jelee + perQuery = perQuery & " OR (p_depart_now IN ('R') AND p_team_now IN ('601','602','603','604','606') AND p_position_now = 3) " + End if + if session("User_Number") = "20210107" Then '½Å»ó¿í - ÆÛºí¸¯ R&D¼¾ÅÍ ¼¾ÅÍÀå + perQuery = perQuery & " OR p_no in ('20150302','20220602','20230205','20230801') " + perQuery = perQuery & " OR (p_depart_now IN ('R') AND p_team_now IN ('605') AND p_position_now = 3) " + End if + perQuery = perQuery & " ) " + End If + perQuery = perQuery & " ORDER BY CASE WHEN p_no = '" & Session("User_Number") & "' THEN 0 ELSE 1 END, p_depart_now, p_team_now, " + perQuery = perQuery & " CASE WHEN p_position_now = 10 THEN -1 ELSE p_position_now END DESC, p_job_now, " + perQuery = perQuery & " CASE WHEN p_rank_now = 10 THEN 24 WHEN p_rank_now = 16 THEN 0 WHEN p_rank_now = 11 THEN 31 ELSE p_rank_now END, krc_in_date " + + if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.81" or Request.ServerVariables("REMOTE_ADDR") = "::1")then + response.write "------ REMOTE_ADDR : "& Request.ServerVariables("REMOTE_ADDR") &"-------
" + response.write "------ User_Number : "& Session("User_Number") &"-------
" + response.write "------ teamplace : "& Session("teamplace") &"-------
" + response.write "------ Depart_Code : "& Session("Depart_Code") &"-------
" + response.write "------ N_depart : "& Session("N_depart") &"-------
" + response.write "------ N_team : "& Session("N_team") &"-------
" + response.write perQuery + end if + + Rs.Open perQuery, adoConn, 1 + if Rs.recordCount > 0 Then + Do While Not Rs.Eof + p_no_arr = p_no_arr & "'" & Rs("p_no") & "'," + Rs.MoveNext + Loop + p_no_arr = mid(p_no_arr, 1, len(p_no_arr)-1) + End if + Rs.Close + + groupQuery = "" + groupQuery = groupQuery & " SELECT VGC.cost_date, VGC.p_no, VGC.txt_pjt, ISNULL(TPM.p_subject, 'ÀϹݾ÷¹«') AS p_subject, VGC.txt_hangmok, VGC.contents, VGC.cost " + groupQuery = groupQuery & " , (DATEPART(DAY, cost_date) - DATEPART(WEEKDAY, cost_date) + 13) / 7 AS weekNum " + groupQuery = groupQuery & " , ( SELECT TOP 1 weeknum FROM project2.dbo.login_weeknum with(nolock) WHERE VGC.cost_date BETWEEN sdate and edate ) AS weekNum_new " + groupQuery = groupQuery & " FROM V_GROUP_COST_NEW VGC LEFT JOIN T_PROJECT_METHOD TPM ON VGC.txt_pjt = TPM.p_child_sn " + groupQuery = groupQuery & " WHERE VGC.p_no IN (" & p_no_arr & ") " + groupQuery = groupQuery & " AND VGC.cost_date LIKE '" & ym & "%' " + 'response.write groupQuery + + jobQuery = "" + jobQuery = jobQuery & " SELECT JL.p_no " + jobQuery = jobQuery & " , (DATEPART(DAY, JL.j_date) - DATEPART(WEEKDAY, JL.j_date) + 13) / 7 AS weekNum " + jobQuery = jobQuery & " , ( SELECT TOP 1 weeknum FROM project2.dbo.login_weeknum with(nolock) WHERE JL.j_date BETWEEN sdate and edate ) AS weekNum_new " + jobQuery = jobQuery & " , JL.j_date, " + jobQuery = jobQuery & " JL.j_p_sn, ISNULL(VPM.p_subject, 'ÀϹÝ/ÇàÁ¤') AS p_subject, " + jobQuery = jobQuery & " JL.j_contents, ISNULL(JC.j_name, j_contents_nm) AS j_contents_nm, " + jobQuery = jobQuery & " JL.j_time, ISNULL(JL.j_approval, '') AS j_approval, ISNULL(D.d_order_cnt, '') AS d_order_cnt, ISNULL(D.d_orders, '') AS d_orders, " + jobQuery = jobQuery & " ISNULL(CA.cost_code, '') AS cost_code, ISNULL(CC.cost_name, '') AS cost_name, ISNULL(CA.cost_money, '') AS cost_money, " + jobQuery = jobQuery & " ISNULL(CA.cost_member, '') AS cost_member, ISNULL(CA.cost_remark, '') AS cost_remark " + jobQuery = jobQuery & " FROM V_Job_List JL LEFT JOIN cost_account CA " + jobQuery = jobQuery & " ON JL.j_date = CA.job_date AND JL.p_no = CA.user_code " + jobQuery = jobQuery & " AND JL.j_p_sn = CA.p_sn AND JL.j_contents = CA.job_code AND CA.flag = '1' " + jobQuery = jobQuery & " LEFT JOIN V_PROJECT_METHOD VPM ON JL.j_p_sn = VPM.p_child_sn " + jobQuery = jobQuery & " LEFT JOIN Document D ON JL.j_approval = D.d_no " + jobQuery = jobQuery & " LEFT JOIN Job_Code JC ON JL.j_contents = JC.j_code " + jobQuery = jobQuery & " LEFT JOIN cost_category CC ON CA.cost_code = CC.cost_code " + jobQuery = jobQuery & " WHERE p_no IN (" & p_no_arr & ") AND JL.j_date LIKE '" & ym & "%' " + 'response.write "
"& jobquery + + loginQuery = "" + loginQuery = loginQuery & " SELECT p_no, ymd, login_time, logout_time, gap_time " + loginQuery = loginQuery & " , gap_time2 " + 'loginQuery = loginQuery & " , (CASE WHEN 3600 < gap_time3 THEN gap_time3 - 3600 ELSE gap_time3 end) as gap_time3 " + loginQuery = loginQuery & " , (CASE WHEN 3600 < gap_time3 THEN " + loginQuery = loginQuery & " CASE WHEN login_time < '12:30' THEN gap_time3 - 3600 ELSE gap_time3 end " + loginQuery = loginQuery & " ELSE gap_time3 end) as gap_time3 " + loginQuery = loginQuery & " , (CASE WHEN 1 < gap_time THEN gap_time - 1 ELSE gap_time end) as gap_time4 " + loginQuery = loginQuery & " FROM V_LOGIN_TIME " + loginQuery = loginQuery & " WHERE p_no IN (" & p_no_arr & ") AND ymd LIKE '" & ym & "%' " + loginQuery = loginQuery & " ORDER BY ymd " + 'response.write loginQuery + %> + + + +
+ + \ No newline at end of file diff --git a/business/busi_prj_control.asp b/business/busi_prj_control.asp new file mode 100644 index 0000000..3c582c2 --- /dev/null +++ b/business/busi_prj_control.asp @@ -0,0 +1,30 @@ + +<% + command = request("command") + p_child_sn = request("p_child_sn") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + query = " " + if command = "remove" Then + query = query & " DELETE FROM job_projectlist " + query = query & " WHERE p_user = '" & Session("user_number") & "' AND p_child_sn = '" & p_child_sn & "' " + End if + if command = "add" Then + query = query & " INSERT INTO job_projectlist " + query = query & " SELECT p_sn, p_subject, '" & Session("user_number") & "' AS p_user, 'manual' AS p_chk, 0 AS p_pre_sn, p_intention, p_child_sn " + query = query & " FROM V_PROJECT_METHOD " + query = query & " WHERE p_child_sn = '" & p_child_sn & "' " + End if + + adoConn.Execute query, resCnt + + + if resCnt > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/business/busi_save.asp b/business/busi_save.asp new file mode 100644 index 0000000..09fc514 --- /dev/null +++ b/business/busi_save.asp @@ -0,0 +1,31 @@ + + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(request("data")) + dim query + + dim executeCount : executeCount = 0 + + + + query = " INSERT INTO Job_List(p_no, j_date, j_p_sn, j_contents, j_time, j_ip) VALUES " + for i = 0 To info.length - 1 + query = query & " (" & Session("User_Number") & ", '" & info.get(i).j_date & "', '" & info.get(i).j_prj & "', " & info.get(i).j_contents & ", " & info.get(i).j_time & ", '" & Request.ServerVariables("REMOTE_ADDR") & "')," + next + query = mid(query, 1, len(query)-1) + if info.length > 0 then + adoConn.Execute query, executeCount + End if + + + if executeCount = info.length then + Response.Write "1" + else + Response.Write "0" + end if +%> \ No newline at end of file diff --git a/business/busi_write.asp b/business/busi_write.asp new file mode 100644 index 0000000..6b3eaa3 --- /dev/null +++ b/business/busi_write.asp @@ -0,0 +1,2177 @@ + + + +<% + dim conyear, conmonth, conweek + dim selweekRange, stdate, eddate, chkday + + dim timediffBase : timediffBase = "2020-09-01" + + conyear = iif(request("conyear") = "", year(date), request("conyear")) + conmonth = iif(request("conmonth") = "", month(date), request("conmonth")) + + +%> + +
+ +
+

¾÷¹«ÀÏÁö ÀÛ¼º

+
+ +<% + +conweek = iif(request("conweek") = "", weekNum_mon(conyear & "-" & RIGHT("0" & conmonth, 2) & "-" & RIGHT("0" & iif(conyear = year(date) and conmonth = month(date), day(date), "1"), 2)), request("conweek")) +'response.write "
conweek : "& conweek +selweekRange = split(weekRange_mon(conyear & "-" & RIGHT("0" & conmonth, 2), cint(conweek)), "~") +stdate = iif(conweek = "1", Dateadd("d", -6, cdate(selweekRange(1))), cdate(selweekRange(0))) +eddate = iif(conweek <> "1", Dateadd("d", 6, cdate(selweekRange(0))), cdate(selweekRange(1))) + +' response.write "
conyear : "& conyear +' response.write "
conmonth : "& conmonth +' response.write "
conweek : "& conweek +' response.write "
stdate = "& stdate +' response.write "
weekNum_mon : "& weekNum_mon(stdate) +' response.write "
weekRange_mon : "& weekRange_mon(left(stdate,7), conweek) + + +%> + +
+
+
+
+
+ + + + + + + + + + + + +
+ + + + + + + + +
+ +
+
    +
+
+
+ + <% + call holiday_count(Session("User_Number"), LEFT(now, 10)) + %> + * ÀÜ¿©¿¬Â÷ <%=(CSng(Holyday_year(1)) - CSng(Holyday_year(2)))%>/<%=Holyday_year(1)%> (<%=LEFT(now, 10)%> ±âÁØ) +
+ + + + + <% + + dim i_now_date, i_now_date_n + + For i = stdate To eddate + + if weekday(i) = 1 then + chkday = "holiday_r" + elseif weekday(i) = 7 then + chkday = "holiday_b" + else + chkday = "weekday" + End if + Call day_off_chk_only(year(i), month(i), day(i)) + if day_off = "true" then + chkday = "holiday_r" + End if + + if month(i) <> cint(conmonth) Then + chkday = "amonth" + End if + + i_now_date = i + i_now_date_n = weekday_mon(i_now_date) + %> + + <% + Next + %> + + + + + + <% + 'For i = stdate To eddate + For i = 1 To 7 + %> + + <% + Next + %> + + + + <% + For i = stdate To eddate + 'For i = 1 To 7 + i_now_date = i + %> + + <% + Next + %> + + + + + <% + For i = stdate To eddate + i_now_date = i + i_now_date_n = "" + i_now_date_n = weekday_mon(i_now_date) + %> + + <% + Next + %> + + + + <% + For i = stdate To eddate + i_now_date = i + %> + + <% + Next + %> + + +
ÇÁ·ÎÁ§Æ®<%=weekDayName(weekDay(i))%>
(<%=i %>)
¾÷¹«½Ã°£(h)
ºñ¿ë(£Ü)
±×·ì¿î¿µºñ(£Ü) + <% if Session("teamplace") = "3" or Session("teamplace") = "5" or Session("teamplace") = "6" or Session("User_Number") = "20071003" Then %> + + <% End if %> + +
ÃâÅð±Ù½Ã°£
+
+
+
+
+
+
+
+
+
+
+
+ + + <% + dim weekQuery, timeQuery, prjQuery, prevSaveQuery, foodQuery, preCostQuery, preGroupfeeQuery + + prjQuery = "" + prjQuery = prjQuery & " SELECT VPM.p_child_sn, p_subject, CASE WHEN JP.p_child_sn IS NOT NULL THEN '1' ELSE '0' END AS user_sel " + prjQuery = prjQuery & " FROM V_PROJECT_METHOD VPM WITH(NOLOCK) LEFT JOIN " + prjQuery = prjQuery & " (SELECT DISTINCT p_child_sn, p_user FROM Job_ProjectList WITH(NOLOCK)) JP " + prjQuery = prjQuery & " ON VPM.p_child_sn = JP.p_child_sn AND JP.p_user = '" & Session("User_Number") & "' " + prjQuery = prjQuery & " WHERE ISNULL(VPM.p_child_sn, '') > '" & RIGHT(cstr(year(date)-2), 2) & "' " + prjQuery = prjQuery & " AND (p_research_complete IS NULL OR p_field_complete IS NULL OR p_dp_complete IS NULL) " + prjQuery = prjQuery & " AND VPM.p_progress_status > '001' " + prjQuery = prjQuery & " ORDER BY VPM.p_child_sn " + 'response.write prjQuery + + weekQuery = "" + weekQuery = weekQuery & " SELECT yearnum, weeknum " + weekQuery = weekQuery & " , ROW_NUMBER() OVER(ORDER BY yearnum, weeknum) AS monthnum " + weekQuery = weekQuery & " , sdate, edate,sdate+'~'+edate AS rangedate " + weekQuery = weekQuery & " FROM project2.dbo.login_weeknum with(nolock) " + weekQuery = weekQuery & " WHERE LEFT(sdate,7) = '" & left(conyear & "-" & RIGHT("0" & conmonth, 2),7) & "' OR LEFT(edate,7) = '" & left(conyear & "-" & RIGHT("0" & conmonth, 2),7) & "' " + weekQuery = weekQuery & " ORDER BY yearnum, weeknum " + 'response.write weekQuery + + timeQuery = "" + timeQuery = timeQuery & " SELECT ymd, login_time, logout_time, gap_time " + timeQuery = timeQuery & " FROM V_LOGIN_TIME WITH(NOLOCK) " + timeQuery = timeQuery & " WHERE ymd BETWEEN '" & selweekRange(0) & "' AND '" & selweekRange(1) & "' " + timeQuery = timeQuery & " AND p_no = '" & session("User_Number") & "' " + timeQuery = timeQuery & " ORDER BY ymd " + 'response.write timeQuery + + prevSaveQuery = "" + prevSaveQuery = prevSaveQuery & " SELECT j_p_sn, j_date, ISNULL(VPM.p_subject, CASE j_p_sn WHEN '99999' THEN 'ÀϹÝ/ÇàÁ¤' WHEN '88888' THEN '°ßÀû¿äû' ELSE '' END) as j_p_nm, " + prevSaveQuery = prevSaveQuery & " j_contents, ISNULL(JC.j_name, VJ.j_contents_nm) as j_contents_nm, sum(j_time) AS j_time, " + prevSaveQuery = prevSaveQuery & " ROW_NUMBER() OVER(PARTITION BY j_p_sn, j_date ORDER BY j_contents) AS rnk, ISNULL(VJ.j_approval, '') as j_approval " + prevSaveQuery = prevSaveQuery & " FROM V_Job_List VJ WITH(NOLOCK) LEFT JOIN V_PROJECT_METHOD VPM WITH(NOLOCK) " + prevSaveQuery = prevSaveQuery & " ON VJ.j_p_sn = VPM.p_child_sn LEFT JOIN Job_Code JC WITH(NOLOCK) " + prevSaveQuery = prevSaveQuery & " ON VJ.j_contents = JC.j_code " + prevSaveQuery = prevSaveQuery & " WHERE p_no = '" & session("User_Number") & "' " + prevSaveQuery = prevSaveQuery & " AND j_date BETWEEN '" & selweekRange(0) & "' AND '" & selweekRange(1) & "' " + prevSaveQuery = prevSaveQuery & " GROUP BY j_date, j_p_sn, ISNULL(VPM.p_subject, CASE j_p_sn WHEN '99999' THEN 'ÀϹÝ/ÇàÁ¤' WHEN '88888' THEN '°ßÀû¿äû' ELSE '' END), " + prevSaveQuery = prevSaveQuery & " j_contents, ISNULL(JC.j_name, VJ.j_contents_nm), ISNULL(VJ.j_approval, '') " + prevSaveQuery = prevSaveQuery & " ORDER BY j_p_sn, rnk, j_date " + 'response.write prevSaveQuery + + foodQuery = "" + foodQuery = foodQuery & " SELECT p_team_name as team_name, p_name, L.p_no, L.date, lunch_p_no, dinner_p_no, " + foodQuery = foodQuery & " night_chk, h_lunch_chk, h_dinner_chk " + foodQuery = foodQuery & " FROM " + foodQuery = foodQuery & " ( " + foodQuery = foodQuery & " SELECT p_no, CASE WHEN time < '0600' THEN CONVERT(varchar(10), CONVERT(datetime, date, 120) -1, 120) ELSE date END AS date, " + foodQuery = foodQuery & " ISNULL(lunch_p_no, '') AS lunch_p_no, ISNULL(dinner_p_no, '') AS dinner_p_no " + foodQuery = foodQuery & " FROM Login WITH(NOLOCK) " + foodQuery = foodQuery & " WHERE p_no <> '' AND p_no <> '0' AND del_yes_no = 'no' AND date >= '2020-01-01' " + foodQuery = foodQuery & " GROUP BY p_no, CASE WHEN time < '0600' THEN CONVERT(varchar(10), CONVERT(datetime, date, 120) -1, 120) ELSE date END, " + foodQuery = foodQuery & " ISNULL(lunch_p_no, ''), ISNULL(dinner_p_no, '') " + foodQuery = foodQuery & " ) L LEFT JOIN " + foodQuery = foodQuery & " ( " + foodQuery = foodQuery & " SELECT p_no, ymd, " + if selweekRange(0) >= timediffBase Then + foodQuery = foodQuery & " '1' AS night_chk, " + Else + foodQuery = foodQuery & " CASE WHEN logout_time < '06:00' OR logout_time >= '20:30' THEN '1' ELSE '0' END AS night_chk, " + End if + foodQuery = foodQuery & " CASE WHEN gap_time >= 3 THEN '1' ELSE '0' END AS h_lunch_chk, " + foodQuery = foodQuery & " CASE WHEN gap_time >= 8 THEN '1' ELSE '0' END AS h_dinner_chk " + foodQuery = foodQuery & " FROM V_LOGIN_TIME WITH(NOLOCK) " + foodQuery = foodQuery & " ) W ON L.p_no = W.p_no AND L.date = W.ymd LEFT JOIN " + foodQuery = foodQuery & " V_person P WITH(NOLOCK) ON W.p_no = P.p_no LEFT JOIN N_Rank R WITH(NOLOCK) ON P.p_rank_now = R.R_Code AND flag = 1 " + foodQuery = foodQuery & " WHERE L.date BETWEEN '" & selweekRange(0) & "' AND '" & selweekRange(1) & "' " + if selweekRange(0) >= timediffBase Then + foodQuery = foodQuery & " AND L.p_no = '" & session("User_Number") & "' " + End if + foodQuery = foodQuery & " ORDER BY p_depart_now, p_team_now, CASE WHEN p_position_now = 10 THEN -1 ELSE p_position_now END DESC, p_job_now, " + foodQuery = foodQuery & " CASE WHEN p_rank_now = 10 THEN 24 WHEN p_rank_now = 16 THEN 0 WHEN p_rank_now = 11 THEN 31 ELSE p_rank_now END, krc_in_date " + 'response.write foodQuery + + '//-- ÀϹݺñ¿ë + preCostQuery = "" + preCostQuery = preCostQuery & " SELECT job_date, p_sn, job_code, cost_code, cost_money, cost_member, cost_member_code, cost_remark " + preCostQuery = preCostQuery & " FROM cost_account ca WITH(NOLOCK) " + preCostQuery = preCostQuery & " WHERE user_code = '" & session("User_Number") & "' AND flag = '1' " + preCostQuery = preCostQuery & " AND job_date BETWEEN '" & selweekRange(0) & "' AND '" & selweekRange(1) & "' " + preCostQuery = preCostQuery & " AND left(job_date,7) = '" & left(conyear & "-" & RIGHT("0" & conmonth, 2),7) &"' " '//-- 20220630 hwkim + preCostQuery = preCostQuery & " ORDER BY job_date, p_sn, job_code, cost_code " + 'response.write preCostQuery + + preGroupfeeQuery = "" + preGroupfeeQuery = preGroupfeeQuery & " SELECT d_no, hangmok, gubun, cost_date, contents, cost " + preGroupfeeQuery = preGroupfeeQuery & " FROM V_GROUP_COST WITH(NOLOCK) " + preGroupfeeQuery = preGroupfeeQuery & " WHERE p_no = '" & session("User_Number") & "' " + preGroupfeeQuery = preGroupfeeQuery & " AND cost_date BETWEEN '" & selweekRange(0) & "' AND '" & selweekRange(1) & "' " + + 'response.write "------"& Session("teamplace") &"-------
" + 'response.write "------"& Session("N_depart") &"-------
" + 'response.write "------"& Session("User_Number") &"-------
" + 'response.write preGroupfeeQuery + + %> + + +
+ + \ No newline at end of file diff --git a/business/cost_delete.asp b/business/cost_delete.asp new file mode 100644 index 0000000..a708bf5 --- /dev/null +++ b/business/cost_delete.asp @@ -0,0 +1,56 @@ + + +<% + Response.CharSet = "EUC-KR" + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(request("data")) + dim query + + dim executeCount : executeCount = 0 + + + query = " UPDATE cost_account SET flag = '0' " + query = query & " WHERE user_code = " & Session("User_Number") & " " + if info.prj_code <> "" Then + query = query & " AND p_sn = '" & info.prj_code & "' " + End if + if info.j_date_2 = "" Then + query = query & " AND job_date = '" & info.j_date_1 & "' " + Else + query = query & " AND job_date BETWEEN '" & info.j_date_1 & "' AND '" & info.j_date_2 & "' " + End if + + query = query & " AND MONTH(job_date) = '" & info.conmonth & "' " '//-- hwkim 20220610 + 'response.write query + if info.prj_code <> "" Or info.j_date_1 <> "" Then + adoConn.Execute query + executeCount = 1 + Else + executeCount = 0 + End if + + if executeCount > 0 then + foodQuery = foodQuery & " UPDATE Login " + foodQuery = foodQuery & " SET lunch_p_no = CASE WHEN lunch_p_no = '" & Session("User_Number") & "' THEN NULL " + foodQuery = foodQuery & " ELSE lunch_p_no END, " + foodQuery = foodQuery & " dinner_p_no = CASE WHEN dinner_p_no = '" & Session("User_Number") & "' THEN NULL " + foodQuery = foodQuery & " ELSE dinner_p_no END " + foodQuery = foodQuery & " WHERE (lunch_p_no = '" & Session("User_Number") & "' OR dinner_p_no = '" & Session("User_Number") & "') " + if info.j_date_2 = "" Then + foodQuery = foodQuery & " AND date + ' ' + time BETWEEN '" & info.j_date_1 & "' + ' ' + ' 0600' " + foodQuery = foodQuery & " AND CONVERT(varchar(10), DateAdd(DAY, 1, CONVERT(datetime, '" & info.j_date_1 & "', 120)), 120) + ' ' + '0559'; " + Else + foodQuery = foodQuery & " AND date + ' ' + time BETWEEN '" & info.j_date_1 & "' + ' ' + ' 0600' " + foodQuery = foodQuery & " AND CONVERT(varchar(10), DateAdd(DAY, 1, CONVERT(datetime, '" & info.j_date_2 & "', 120)), 120) + ' ' + '0559'; " + End if + adoConn.Execute foodQuery + Response.Write "1" + else + Response.Write "0" + end if + + +%> \ No newline at end of file diff --git a/business/cost_list.asp b/business/cost_list.asp new file mode 100644 index 0000000..c1e9898 --- /dev/null +++ b/business/cost_list.asp @@ -0,0 +1,345 @@ + + +<% + dim Query + yyyy = request("yyyy") + mm = request("mm") + if yyyy = "" then + yyyy = year(cdate(now)) + end if + if mm = "" then + mm = Right("0" & TransFormat(month(cdate(now))), 2) + end if +%> + +
+ +
+

¾÷¹«ÀÏÁö ºñ¿ëÁ¤»ê

+
+ + +
+
+
+
+
+ + + + + + + + + + + + + +
+ <%=session("loginuser")%>´ÔÀÇ ¾÷¹«ÀÏÁö ºñ¿ëÁ¤»ê ÀڷḦ Ãâ·ÂÇÏ´Â È­¸é ÀÔ´Ï´Ù. +
+ +
+ <% + query = "" + query = query & " SELECT rnum, min(job_date) AS min_date, max(job_date) AS max_date, sum(cost_money) AS cost_money, count(*) AS cnt " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT CEILING(ROW_NUMBER() OVER(ORDER BY job_date, p_sn, job_code, cost_code, cost_money) / 12.0) AS rnum, " + query = query & " job_date, ISNULL(cost_money, 0) AS cost_money " + query = query & " FROM V_BUSI_COST " + query = query & " WHERE p_no = '" & session("User_Number") & "' AND job_date LIKE '" & yyyy & "-" & mm & "%' " + query = query & " " + query = query & " ) T " + query = query & " GROUP BY rnum " + adoRs.open query, adoconn, adOpenStatic, adLockReadOnly + + if adoRs.RecordCount > 0 Then + %> +
¾÷¹«ÀÏÁö ºñ¿ë Áý°è
+ + + + + + + + <% + Dim sum_money, sum_count + sum_money = 0 + sum_count = 0 + + Do while Not adoRs.Eof + %> + + + + + + + <% + sum_money = sum_money + adoRs("cost_money") + sum_count = sum_count + adoRs("cnt") + + adors.moveNext + Loop + %> + + <%if sum_count > 0 then%> + + + + + + + <%end if%> +
±â°£±Ý¾×°Ç¼öÃâ·Â
<%=adoRs("min_date")%> ~ <%=adoRs("max_date")%><%=formatnumber(adoRs("cost_money"), 0)%>¿ø<%=adoRs("cnt")%>,<%=adoRs("max_date")%>" data-rnum="<%=adoRs("rnum")%>" />
ÇÕ°è<%=formatnumber(sum_money, 0)%>¿ø<%=sum_count%>
+ <% + End if + adoRs.close + + query = "" + query = query & " SELECT gubun, sum(cost) as sum_cost, count(*) as cnt, " + query = query & " min(cost_date) as min_date, max(cost_date) as max_date, min(d_order_cnt) as min_order_cnt " + query = query & " FROM V_GROUP_COST GC LEFT JOIN Document D ON GC.d_no = D.d_no " + query = query & " WHERE cost_date LIKE '" & yyyy & "-" & mm & "%' " + query = query & " AND p_no = '" & session("user_number") & "' " + query = query & " GROUP BY gubun " + + 'response.Write query + adoRs.open query, adoconn, adOpenStatic, adLockReadOnly + Dim tmp_cost_sum + tmp_cost_sum = 0 + if adoRs.recordCount > 0 Then + %> +
±×·ì¿î¿µºñ Áý°è
+ + + + + + + + <% + Do while Not adoRs.Eof + %> + + + + + + + <% + adoRs.MoveNext + Loop + %> +
±â°£±Ý¾×°Ç¼öÃâ·Â
<%= adors("min_date")%> ~ <%= adors("max_date")%><%= formatNumber(adors("sum_cost"), 0)%>¿ø<%= adors("cnt")%> + ');" value="±×·ì¿î¿µºñ »ó¼¼" /> +
+ <% + end if + adoRs.Close + + query = "" + query = query & " SELECT convert(varchar(10), target3) as doc_date, ¹®¼­¹øÈ£, '¸¶ÄÉÆÃºñ' as d_name, " + query = query & " convert(money, convert(varchar(30), target4)) as cost_money, login_p_no FROM ¹®¼­³»¿ë " + query = query & " WHERE ¹®¼­Á¦¸ñ = 'Á¢´ëºñº¸°í¼­' AND del_yes_no='no' " + query = query & " AND convert(varchar(10), target3) like '" & yyyy & "-" & mm & "%' " + query = query & " AND login_p_no = '" & session("user_number") & "' " + 'response.Write query + adoRs.open query, adoconn, adOpenStatic, adLockReadOnly + tmp_cost_sum = 0 + if adoRs.recordCount > 0 Then + %> +
¸¶ÄÉÆÃºñ Áý°è
+ + + + + + + + + + + <% + Do while Not adoRs.Eof + %> + + + + + + + <% + tmp_cost_sum = tmp_cost_sum + cDbl(adoRs("cost_money")) + adoRs.MoveNext + Loop + %> + + + + +
¹®¼­Á¾·ù¹®¼­¹øÈ£ÀÏÀÚºñ¿ë
¿ù <%=adoRs("d_name") %> Àϰýº¸±â (Ãâ·Â¿ë)" />
<%=adoRs("d_name") %>');" value="<%=adoRs("¹®¼­¹øÈ£") %>" /><%=adoRs("doc_date") %><%=formatnumber(cDbl(adoRs("cost_money")),0) %>¿ø
ÇÕ °è<%=formatnumber(tmp_cost_sum, 0) %>¿ø
+ <% + end if + adoRs.close + %> +
+ +
+
+
+
+
+ + + + +
+ + \ No newline at end of file diff --git a/business/cost_mod.asp b/business/cost_mod.asp new file mode 100644 index 0000000..0c941bf --- /dev/null +++ b/business/cost_mod.asp @@ -0,0 +1,39 @@ + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim cost_id : cost_id = request("cost_id") + dim cost_money : cost_money = request("cost_money") + dim query + + dim executeCount : executeCount = 0 + + query = "" + query = query & " UPDATE Cost_Account SET " + query = query & " cost_money = '" & cost_money & "', " + query = query & " flag = case when '" & cost_money & "' = '0' and flag is not null then '0' else flag end " + query = query & " WHERE id = '" & cost_id & "' " + adoConn.Execute query, executeCount + + if executeCount = 1 and cost_money = "0" then + query = "" + query = query & " UPDATE L " + query = query & " SET L.lunch_p_no = CASE B.cost_code WHEN 9 THEN NULL ELSE L.lunch_p_no END, " + query = query & " L.dinner_p_no = CASE B.cost_code WHEN 9 THEN L.dinner_p_no ELSE NULL END " + query = query & " FROM V_BUSI_COST B LEFT JOIN LOGIN L " + query = query & " ON B.job_date = CASE WHEN time < '0600' THEN DATEADD(Day, -1, L.date) ELSE L.date END " + query = query & " AND B.p_no = CASE B.cost_code WHEN 9 THEN L.lunch_p_no ELSE L.dinner_p_no END " + query = query & " WHERE B.id='" & cost_id & "' " + + adoConn.Execute query + end if + + if executeCount = 1 then + Response.Write "1" + else + Response.Write "0" + end if +%> \ No newline at end of file diff --git a/business/cost_print.asp b/business/cost_print.asp new file mode 100644 index 0000000..71b89a0 --- /dev/null +++ b/business/cost_print.asp @@ -0,0 +1,416 @@ + +<% + dim tmpstr, xadmin + dim Query + dim i,j + dim user_name(4) 'ÇöÀç »ç¿ëÀÚ,0:»ç¿øÄÚµå, 1:À̸§,2:Á÷±Þ,3:ÀüÈ­¹øÈ£, 4:ºÎ¼­ÄÚµå(¸í) + dim target_name '¹ß±Þ´ë»óÀÚ À̸§ + dim Curr_date '¿À´Ã³¯Â¥ + dim Gap() + dim krc_no + dim Max_length 'ÀԷ°¡´É ÁÙ¼öÁ¤ÀÇ + dim print_type '1:º¸±â, 2:ÁøÂ¥ÇÁ¸°Æ® + + if fnc_user_level("0","¿Ï·á¹®¼­¼öÁ¤»èÁ¦",Request.ServerVariables("REMOTE_ADDR"))="1" then + xadmin="1" '-- ¼öÁ¤ + end if + + print_type = request("print_type") + view_chk= 1 + rnum = request("rnum") + y_m = request("ym") + Curr_date = year(date) & "³â " & zeroformat(month(date),2) & "¿ù " & zeroformat(day(date),2) & "ÀÏ" + + Dim apply_count + Dim not_approval_cnt + Dim username + not_approval_cnt = 0 + + + p_no = request("p_no") + if p_no = "" then + p_no = Session("User_Number") + end if + + Query = "SELECT p_no, p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & p_no & "'" + adoRs.open Query, adoconn,adopenstatic, adlockreadonly + if adoRs.recordcount > 0 then + user_name(0) = adoRs("p_no") + user_name(1) = adoRs("p_name") 'À̸§ + user_name(2) = adoRs("p_rank_name") 'Á÷À§ ÄÚµå + user_name(3) = adoRs("p_tel3") 'Á÷Åë ÀüÈ­ + user_name(4) = adoRs("p_team_name") 'ºÎ¼­ÄÚµå + end if + adoRs.close + + query = "" + query = query & " SELECT T.ID, P.p_name, job_date, ISNULL(VPM.p_subject, 'ÀϹÝ/ÇàÁ¤') AS p_subject, " + query = query & " T.p_sn, job_code, CASE WHEN job_code = 5 THEN ISNULL(MAX(JL.j_contents_nm), '¿î¿µ ¹× °ü¸®') ELSE JC.j_name END AS j_name, " + query = query & " T.cost_code, CC.cost_name, cost_money, cost_member, cost_remark, d_order_cnt, " + query = query & " T.p_no as d_order7, d_order8, d_order9, d_order10, ISNULL(PE.p_name, '') as d_order8_name " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT CEILING(ROW_NUMBER() OVER(ORDER BY job_date, p_sn, job_code, cost_code, cost_money) / 12.0) AS rnum, " + query = query & " * " + query = query & " FROM V_BUSI_COST " + query = query & " WHERE p_no = '" & p_no & "' AND job_date LIKE '" & y_m & "%' " + query = query & " ) T LEFT JOIN V_PROJECT_METHOD VPM ON T.p_sn = VPM.p_child_sn " + query = query & " LEFT JOIN Job_Code JC ON T.job_code = JC.j_code " + query = query & " LEFT JOIN V_Job_List JL ON T.job_date = JL.j_date AND T.p_no = JL.p_no " + query = query & " AND T.p_sn = JL.j_p_sn AND T.job_code = '5' " + query = query & " LEFT JOIN cost_category CC ON T.cost_code = CC.cost_code " + query = query & " LEFT JOIN V_Person P ON T.p_no = P.p_no " + query = query & " LEFT JOIN V_Person PE ON T.d_order8 = PE.p_no " + query = query & " WHERE rnum = '" & rnum & "' " + query = query & " GROUP BY T.ID, P.p_name, job_date, ISNULL(VPM.p_subject, 'ÀϹÝ/ÇàÁ¤'), T.p_sn, job_code, JC.j_name, " + query = query & " T.cost_code, CC.cost_name, cost_money, cost_member, cost_remark, d_order_cnt, " + query = query & " T.p_no, d_order8, d_order9, d_order10, ISNULL(PE.p_name, '') " + query = query & " ORDER BY job_date, T.p_sn " + + 'Response.write query + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 Then + temp_order_user = rsc("p_name") & "
" & rsc("d_order9") & "
" & rsc("d_order7") & "^^" & rsc("d_order8_name") & "
" & rsc("d_order10") & "
" & rsc("d_order8") + temp_order_date = Mid(rsc("d_order9"), 6, 2) & "/" & right(rsc("d_order9"), 2) & "^^" & rsc("d_order10") + + tmp_7 = split(temp_order_user, "^^") + tmp_8 = split(temp_order_date, "^^") + + if instr(1,tmp_7(0), "¹Ý·Á") then + tmp_txt1 = tmp_7(0) + elseif instr(1,tmp_7(0), "
") then + tmp_t1 = split(tmp_7(0), "
") + tmp_txt1 = "" + else + tmp_txt1 = tmp_7(0) + end if + + if instr(1,tmp_7(1), "¹Ý·Á") then + tmp_txt2 = tmp_7(1) + elseif instr(1,tmp_7(1), "
") then + tmp_t2 = split(tmp_7(1), "
") + if tmp_t2(0) = "" Then + tmp_txt2 = "" + Else + tmp_txt2 = "" + End if + else + tmp_txt2 = tmp_7(1) + end if + + tmp_txt6 = split(tmp_7(0), "
")(0) + tmp_txt7 = split(tmp_7(1), "
")(0) + End if +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
±â¾È½ÂÀÎÀÚ´ã´ç½ÇÀå´ëÇ¥ÀÌ»ç
<%=tmp_txt1%> <%=tmp_txt2%> 
<%=tmp_txt6%><%=tmp_txt7%>
+
+
+
Ã⠷ ÀÏ ÀÚ<%=Curr_date%>
¼º         ¸í<%=user_name(1)%>
¼Ò         ¼Ó<%=user_name(4)%>
Á÷         ±Þ<%=user_name(2)%>
+ + + + + + + + + + <% + sum_cost = 0 + do while not rsc.eof + %> + + + + + + + + + <% + sum_cost = sum_cost + rsc("cost_money") + rsc.movenext + loop + %> + + + + + +
³¯Â¥ÇÁ·ÎÁ§Æ®¾÷¹«³»¿ëºñ¿ëÇ׸ñ±Ý¾×ºñ°í(¼³¸í)
<%=right(rsc("job_date"), 5)%><%=rsc("p_subject")%> (<%=rsc("p_sn")%>)<%=rsc("j_name")%><%=rsc("cost_name")%>
Àú Àå
+ <% If rsc("d_order_cnt") = 77 Then %> + ½ÂÀÎ + <% Else %> +
¹Ì½ÂÀÎ + <% not_approval_cnt = 1 %> + <% End If %> +
<%=rsc("cost_remark")%><% If rsc("cost_remark") <> "" Then %>
<% End if %><% if rsc("cost_member") <> "" then %>(<%=rsc("cost_member")%>)<% End If %>
<%=formatnumber(sum_cost,0)%>
+
+
	¿µ ¼ö ÀÏ ÀÚ :              ³â      ¿ù      ÀÏ
+
	¿µ   ¼ö   ÀÚ :                               (ìÔ)
+
+
+
+ + +
+ + +<% +rsc.Close +%> \ No newline at end of file diff --git a/business/cost_save.asp b/business/cost_save.asp new file mode 100644 index 0000000..461ca97 --- /dev/null +++ b/business/cost_save.asp @@ -0,0 +1,49 @@ + + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(unescape(request("data"))) + dim query, foodQuery + + dim executeCount : executeCount = 0 + + + + foodQuery = "" + + query = " INSERT INTO cost_account(job_date, p_sn, p_subject, job_code, job_name, " + query = query & " cost_code, cost_name, cost_money, cost_member, cost_member_code, user_code, user_name, user_ip, w_date, cost_remark) VALUES " + for i = 0 To info.length - 1 + query = query & " ('" & info.get(i).job_date & "', '" & info.get(i).p_sn & "', '', " & info.get(i).job_code & ", '', " + query = query & " '" & info.get(i).cost_code & "', '', " & info.get(i).cost_money & ", '" & info.get(i).cost_member & "', '" & info.get(i).cost_member_code & "', " + query = query & " '" & Session("User_Number") & "', '', '" & Request.ServerVariables("REMOTE_ADDR") & "', getdate(), '" & info.get(i).cost_remark & "')," + if info.get(i).cost_member_code <> "" Then + foodQuery = foodQuery & " UPDATE Login " + foodQuery = foodQuery & " SET lunch_p_no = CASE WHEN " & info.get(i).cost_code & " = '9' THEN '" & Session("User_Number") & "' " + foodQuery = foodQuery & " ELSE lunch_p_no END, " + foodQuery = foodQuery & " dinner_p_no = CASE WHEN '" & info.get(i).cost_code & "' IN ('10', '21') THEN '" & Session("User_Number") & "' " + foodQuery = foodQuery & " ELSE dinner_p_no END " + foodQuery = foodQuery & " WHERE p_no IN (" & info.get(i).cost_member_code & ") " + foodQuery = foodQuery & " AND date + ' ' + time BETWEEN '" & info.get(i).job_date & "' + ' ' + ' 0600' " + foodQuery = foodQuery & " AND CONVERT(varchar(10), DateAdd(DAY, 1, CONVERT(datetime, '" & info.get(i).job_date & "', 120)), 120) + ' ' + '0559'; " + End if + next + query = mid(query, 1, len(query)-1) + + adoConn.Execute query, executeCount + + if executeCount = info.length then + if foodQuery <> "" Then + adoConn.Execute foodQuery + End if + Response.Write "1" + else + Response.Write "0" + end if + + +%> \ No newline at end of file diff --git a/business/gf_delete.asp b/business/gf_delete.asp new file mode 100644 index 0000000..3f2f0fc --- /dev/null +++ b/business/gf_delete.asp @@ -0,0 +1,31 @@ + + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim info : set info = JSON.parse(request("data")) + dim query + + dim executeCount : executeCount = 0 + + + query = " UPDATE [¹®¼­³»¿ë] SET " & info.col_nm & " = NULL " + query = query & " WHERE [¹®¼­¹øÈ£] = '" & info.d_no & "' " + + if info.col_nm <> "" And info.d_no <> "" Then + adoConn.Execute query + executeCount = 1 + Else + executeCount = 0 + End if + + + if executeCount > 0 then + Response.Write "1" + else + Response.Write "0" + end if +%> \ No newline at end of file diff --git a/business/job_cost_total.asp b/business/job_cost_total.asp new file mode 100644 index 0000000..153c1c8 --- /dev/null +++ b/business/job_cost_total.asp @@ -0,0 +1,269 @@ + +<% + dim command + command = Request("command") + if command <> "excel" then + %> + + +
+ +
+

¾÷¹«ÀÏÁö ºñ¿ëÁý°è

+
+ + +
+
+
+
+
+ <% + end if + + job_month = Request("job_month") + search_kind = Request("search_kind") + + if command = "excel" Then + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=¾÷¹«ÀÏÁöºñ¿ëÁ¤»ê_" & job_month & "_" & search_kind & ".xls" + end if + %> + +
+ + <%if command <> "excel" then%> + + + + <% end if %> + <% if command <> "" then %> + + + + <% end if %> +
+ + + + + + + + +
ÀÏ ÀÚ + + Áý°è¹æ¹ý + + + + + +
+
+ + <% + If search_kind = "project" Then + query = "" + query = query & " SELECT job_date, p_sn, p_subject, cost_name, sum(cost_money) AS cost_money " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT P.p_team_name, P.p_name, T.p_no, LEFT(job_date, 7) AS job_date, " + query = query & " ISNULL(VPM.p_subject, ( " + query = query & " CASE P.p_depart_now " + query = query & " WHEN 'E' THEN p_name + ' °øÅë°æºñ' " + query = query & " WHEN 'R' THEN P.p_team_name + ' °øÅë°æºñ' " + query = query & " WHEN 'F' THEN P.p_team_name + ' °øÅë°æºñ' " + query = query & " ELSE 'ÀϹÝ/ÇàÁ¤' END)) AS p_subject, " + query = query & " CASE T.p_sn " + query = query & " WHEN '99999' THEN " + query = query & " CASE P.p_depart_now " + query = query & " WHEN 'R' THEN '99990' + CONVERT(varchar, P.p_depart) " + query = query & " WHEN 'F' THEN '99990' + CONVERT(varchar, P.p_depart) " + query = query & " WHEN 'E' THEN p_name " + query = query & " ELSE '99999' END " + query = query & " ELSE T.p_sn END AS p_sn, " + query = query & " T.cost_code, CC.cost_name, cost_money " + query = query & " FROM V_BUSI_COST T LEFT JOIN V_PROJECT_METHOD VPM ON T.p_sn = VPM.p_child_sn " + query = query & " LEFT JOIN cost_category CC ON T.cost_code = CC.cost_code " + query = query & " LEFT JOIN ( " + query = query & " SELECT P.p_no, P.p_name, P.p_depart_now, before_info AS p_depart, D.T_Name AS p_team_name, " + query = query & " ISNULL((SELECT TOP 1 change_date FROM Person_Log WHERE p_no = P.p_no AND info_name = 'depart' AND change_date < PL.change_date ORDER BY change_date DESC), krc_in_date) AS log_st, CONVERT(varchar(10), DATEADD(DAY, -1, change_date), 120) AS log_en " + query = query & " FROM v_Person P " + query = query & " LEFT JOIN Person_Log PL ON P.p_no = PL.p_no AND PL.info_name = 'depart' AND PL.after_info <> '' " + query = query & " LEFT JOIN v_Department D ON PL.before_info = D.before_t_cd1 " + query = query & " WHERE before_info IS NOT NULL " + query = query & " UNION ALL " + query = query & " SELECT p_no, p_name, p_depart_now, p_depart, p_team_name, " + query = query & " ISNULL((SELECT TOP 1 change_date FROM Person_Log WHERE p_no = P.p_no AND info_name = 'depart' ORDER BY change_date DESC), krc_in_date) AS log_st, '2099-12-31' AS log_en " + query = query & " FROM v_Person P " + query = query & " ) P ON T.p_no = P.p_no AND T.job_date BETWEEN P.log_st AND P.log_en " + query = query & " WHERE job_date LIKE '" & job_month & "%' " + query = query & " ) T " + query = query & " GROUP BY job_date, p_sn, p_subject, cost_name " + 'Response.write query + Adors.open query, adoconn, adopenstatic, adlockreadonly + + if Adors.RecordCount > 0 Then + sum_money = 0 + %> + + + + + + + + <% + For i=1 to Adors.recordcount + %> + + + + + + + + <% + sum_money = sum_money + CDbl(Adors("cost_money")) + adors.movenext + next + AdoRs.close + %> + + + + + <% + End if + End if + + If search_kind = "personal" Then + query = "" + query = query & " SELECT job_date, p_team_name, p_no, p_name, sum(cost_money) AS cost_money " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT P.p_team_name, P.p_name, T.p_no, LEFT(job_date, 7) AS job_date, " + query = query & " ISNULL(VPM.p_subject, ( " + query = query & " CASE P.p_depart_now " + query = query & " WHEN 'E' THEN p_name + ' °øÅë°æºñ' " + query = query & " WHEN 'R' THEN P.p_team_name + ' °øÅë°æºñ' " + query = query & " WHEN 'F' THEN P.p_team_name + ' °øÅë°æºñ' " + query = query & " ELSE 'ÀϹÝ/ÇàÁ¤' END)) AS p_subject, " + query = query & " CASE T.p_sn " + query = query & " WHEN '99999' THEN " + query = query & " CASE P.p_depart_now " + query = query & " WHEN 'R' THEN '99990' + CONVERT(varchar, P.p_depart) " + query = query & " WHEN 'F' THEN '99990' + CONVERT(varchar, P.p_depart) " + query = query & " ELSE '99999' END " + query = query & " ELSE T.p_sn END AS p_sn, " + query = query & " T.cost_code, CC.cost_name, cost_money " + query = query & " FROM V_BUSI_COST T LEFT JOIN V_PROJECT_METHOD VPM ON T.p_sn = VPM.p_child_sn " + query = query & " LEFT JOIN cost_category CC ON T.cost_code = CC.cost_code " + query = query & " LEFT JOIN ( " + query = query & " SELECT P.p_no, P.p_name, P.p_depart_now, before_info AS p_depart, D.T_Name AS p_team_name, " + query = query & " ISNULL((SELECT TOP 1 change_date FROM Person_Log WHERE p_no = P.p_no AND info_name = 'depart' AND change_date < PL.change_date ORDER BY change_date DESC), krc_in_date) AS log_st, CONVERT(varchar(10), DATEADD(DAY, -1, change_date), 120) AS log_en " + query = query & " FROM v_Person P " + query = query & " LEFT JOIN Person_Log PL ON P.p_no = PL.p_no AND PL.info_name = 'depart' AND PL.after_info <> '' " + query = query & " LEFT JOIN v_Department D ON PL.before_info = D.before_t_cd1 " + query = query & " WHERE before_info IS NOT NULL " + query = query & " UNION ALL " + query = query & " SELECT p_no, p_name, p_depart_now, p_depart, p_team_name, " + query = query & " ISNULL((SELECT TOP 1 change_date FROM Person_Log WHERE p_no = P.p_no AND info_name = 'depart' ORDER BY change_date DESC), krc_in_date) AS log_st, '2099-12-31' AS log_en " + query = query & " FROM v_Person P " + query = query & " ) P ON T.p_no = P.p_no AND T.job_date BETWEEN P.log_st AND P.log_en " + query = query & " WHERE job_date LIKE '" & job_month & "%' " + query = query & " ) T " + query = query & " GROUP BY job_date, p_team_name, p_no, p_name " + 'Response.write query + Adors.open query, adoconn, adopenstatic, adlockreadonly + + if Adors.RecordCount > 0 Then + sum_money = 0 + %> + + + + + + + + <% + For i=1 to Adors.recordcount + %> + + + + + + + + <% + sum_money = sum_money + CDbl(Adors("cost_money")) + adors.movenext + next + AdoRs.close + %> + + + + + <% + End if + End if + %> +
³â¿ùÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íºñ¿ëÇ׸ñ±Ý¾×
<%=Adors("job_date") %><%=Adors("p_sn") %><%=Adors("p_subject")%><%=Adors("cost_name") %><%=Formatnumber(Adors("cost_money"), 0) %>
ÇÕ °è <%= Formatnumber(sum_money, 0) %>
³â¿ùºÎ¼­¸í»ç¿ø¹øÈ£»ç¿ø¸í±Ý¾×
<%=Adors("job_date") %><%=Adors("p_team_name") %><%=Adors("p_no") %><%=Adors("p_name") %><%=Formatnumber(Adors("cost_money"), 0) %>
ÇÕ °è <%= Formatnumber(sum_money, 0) %>
+
+
+<% if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> + diff --git a/business/job_cost_total_group.asp b/business/job_cost_total_group.asp new file mode 100644 index 0000000..30997cf --- /dev/null +++ b/business/job_cost_total_group.asp @@ -0,0 +1,191 @@ + +<% + dim command + command = Request("command") + if command <> "excel" then + %> + + +
+ +
+

±×·ì¿î¿µºñ ±×·ìº° Áý°è

+
+ + +
+
+
+
+
+ <% + end if + + job_month = Request("job_month") + search_depart = Request("search_depart") + + if command = "excel" Then + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=±×·ì¿î¿µºñ¿ëÁ¤»ê_" & job_month & ".xls" + end if + %> + +
+ + + <%if command <> "excel" then%> + + + + <% end if %> + <% if command <> "" then %> + + + + <% end if %> +
+ + + + + +
+ + <% + if Session("depart_code") = "18" or session("teamplace") = "6" Then + %> + + <% + End If + %> + + + +
+
+ + <% + query = "" + query = query & " SELECT depart , sum(cost) as cost, count(1) as cnt " + query = query & " FROM V_GROUP_COST_NEW with(nolock) " + query = query & " where 1 = 1 " + query = query & " AND left(cost_date,7) = '" & job_month & "' " + if( search_depart <> "" )then + query = query & " and depart = '" & search_depart & "' " + end if + if session("depart_code") <> "18" and session("teamplace") <> "6" Then + query = query & " and ((depart_cd = '" & Session("depart_code") & "' " + query = query & " and depart_cd <> '0') OR " + query = query & " depart = '" & Session("loginuser") & "') " + End If + query = query & " group by depart " + query = query & " order by depart asc " + Adors.open query, adoconn, adopenstatic, adlockreadonly + + if Adors.RecordCount > 0 Then + sum_money = 0 + %> + + + + + <% + For i=1 to Adors.recordcount + IF list_bgcolor="#FFFFFF" Then + list_bgcolor="floralwhite" + Else + list_bgcolor="#FFFFFF" + End IF + %> + + + + + <% + sum_money = sum_money + CDbl(Adors("cost")) + adors.movenext + next + AdoRs.close + %> + + + + + <% + Else + %> + + + + + + + + + + + + <% + End if + %> +
ºÎ¼­±Ý¾×
<%=Adors("depart") %><%=Formatnumber(Adors("cost"), 0) %>
ÇÕ °è <%= Formatnumber(sum_money, 0) %>
ºÎ¼­±Ý¾×
°Ë»ö°á°ú°¡ ¾ø½À´Ï´Ù
ÇÕ °è 0
+
+
+<% if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/business/job_cost_total_group_dtl.asp b/business/job_cost_total_group_dtl.asp new file mode 100644 index 0000000..9710ae6 --- /dev/null +++ b/business/job_cost_total_group_dtl.asp @@ -0,0 +1,217 @@ + +<% + dim command + command = Request("command") + if command <> "excel" then + %> + + +
+ +
+

±×·ì¿î¿µºñ »ó¼¼ Áý°è

+
+ + +
+
+
+
+
+ <% + end if + + job_month = Request("job_month") + search_depart = Request("search_depart") + + if command = "excel" Then + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=±×·ì¿î¿µºñ¿ëÁ¤»ê»ó¼¼_" & job_month & ".xls" + end if + %> + +
+ + <%if command <> "excel" then%> + + + + <% end if %> + <% if command <> "" then %> + + + + <% end if %> +
+ + + + + +
+ + <% + if Session("depart_code") = "18" or session("teamplace") = "6" Then + %> + + <% + End If + %> + + + +
+
+ + <% + query = "" + query = query & " SELECT d_no, hangmok, gubun, cost_date, txt_pjt " + query = query & " , isnull((SELECT top 1 p_subject FROM V_PROJECT_METHOD where p_child_sn = txt_pjt),'ÀϹÝ/ÇàÁ¤') as 'prj_nm' " + query = query & " , txt_hangmok, contents, cost,depart, depart_cd, write_name " + query = query & " FROM V_GROUP_COST_NEW with(nolock) " + query = query & " where 1 = 1 " + query = query & " AND left(cost_date,7) = '" & job_month & "' " + if search_depart <> "" then + query = query & " and depart = '" & search_depart & "' " + end if + if(session("depart_code") = "17" and session("teamplace") = "5")then 'äÁÖÈñ º»ºÎÀå´Ô °³¹ßÆÀ, µ¥ÀÌÅͺм®, È®ÀÎ °¡´É + query = query & " and (( depart_cd in ('17','18','19') and depart_cd <> '0') OR depart = '" & Session("loginuser") & "') " + query = query & " and depart <> '°æ¿µ¹®È­º»ºÎ' " + else + if session("depart_code") <> "18" and session("teamplace") <> "6" Then + query = query & " and ((depart_cd = '" & Session("depart_code") & "' " + query = query & " and depart_cd <> '0') OR " + query = query & " depart = '" & Session("loginuser") & "') " + End If + end if + query = query & " order by cost_date asc " + + ' Response.write session("teamplace") + ' Response.write query + Adors.open query, adoconn, adopenstatic, adlockreadonly + + if Adors.RecordCount > 0 Then + sum_money = 0 + %> + + + + + + + + + + <% + For i=1 to Adors.recordcount + IF list_bgcolor="#FFFFFF" Then + list_bgcolor="floralwhite" + Else + list_bgcolor="#FFFFFF" + End IF + %> + + + + + + + + + + <% + sum_money = sum_money + CDbl(Adors("cost")) + adors.movenext + next + AdoRs.close + %> + + + + + + + <% + Else + %> + + + + + + + + + + + + + + + + + + + <% + End if + %> +
ÀÏÀÚÇÁ·ÎÁ§Æ®Ç׸ñ¼¼ºÎÇ׸ñ±Ý¾×ºÎ¼­ÀÛ¼ºÀÚ
<%=Adors("cost_date") %><%=Adors("prj_nm") %><%=Adors("txt_hangmok") %><%=Adors("contents") %><%=Formatnumber(Adors("cost"), 0) %><%=Adors("depart") %><%=Adors("write_name") %>
ÇÕ °è <%= Formatnumber(sum_money, 0) %>
ÀÏÀÚÇÁ·ÎÁ§Æ®Ç׸ñ¼¼ºÎÇ׸ñ±Ý¾×ºÎ¼­ÀÛ¼ºÀÚ
°á°ú°¡ ¾ø½À´Ï´Ù.
ÇÕ °è 0
+
+
+<% if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/contact/TEST.asp b/contact/TEST.asp new file mode 100644 index 0000000..5de1c97 --- /dev/null +++ b/contact/TEST.asp @@ -0,0 +1,323 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 +'contact_inc_list(실제 컨�하는 페�지) include 하고있� + +%> + + + + +KRC - 컨� + + + + + + + + + +
+
+
+
+ + +        + + + +        + + +
+
+
+ +
+
+
+ + + + + + + \ No newline at end of file diff --git a/contact/contac_sel.asp b/contact/contac_sel.asp new file mode 100644 index 0000000..bb1c387 --- /dev/null +++ b/contact/contac_sel.asp @@ -0,0 +1,874 @@ + +<%' + +'정형기 기� - 사용페�지 + +''///============= +''로그� 후 해당 로그��가 어� 지역 컨��, 어�지역 면접�, 어�지역 sv�지 확� 후 +''컨��� 경우 컨�리스트� 쿼터 지역 선�하기 + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim contac_area '쿼터용 기관명 + dim categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07 '쿼터용 기관 카테고리(대,중,소) + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + dim quota_area + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_name = trim(request("kikoan_name")) + kikoan_id = trim(request("kikoan_id")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + quota_area = request("quota_area") + + prj_year = "2014" + + 'contac_stat = 99 '�단 컨�중으로 + contac_stat = trim(request("contac_stat")) + +' response.write "kikoan_name : " & kikoan_name & "
" +' response.write "kikoan_id : " & kikoan_id & "
" +' response.write "login_area : " & login_area & "
" +' response.write "quota_area : " & quota_area & "
" +' response.write "contac_area : " & contac_area & "
" +' response.write "categori_name_01 : " & categori_name_01 & "
" +' response.write "categori_name_02 : " & categori_name_02 & "
" +' response.write "categori_name_03 : " & categori_name_03 & "
" +' response.write "categori_name_04 : " & categori_name_04 & "
" +' response.write "categori_name_05 : " & categori_name_05 & "
" +' response.write "categori_name_06 : " & categori_name_06 & "
" +' response.write "categori_name_07 : " & categori_name_07 & "
" +' response.write "categori_label_01 : " & categori_label_01 & "
" +' response.write "categori_label_02 : " & categori_label_02 & "
" +' response.write "categori_label_03 : " & categori_label_03 & "
" +' response.write "categori_label_04 : " & categori_label_04 & "
" +' response.write "categori_label_05 : " & categori_label_05 & "
" +' response.write "categori_label_06 : " & categori_label_06 & "
" +' response.write "categori_label_07 : " & categori_label_07 & "
" +' response.write "categori_01 : " & categori_01 & "
" +' response.write "categori_02 : " & categori_02 & "
" +' response.write "categori_03 : " & categori_03 & "
" +' response.write "categori_04 : " & categori_04 & "
" +' response.write "categori_05 : " & categori_05 & "
" +' response.write "categori_06 : " & categori_06 & "
" +' response.write "categori_07 : " & categori_07 & "
" +' response.write "categori_cnt : " & categori_cnt & "
" + + if request("command") = "re_contac_sel" then + '컨�화면�서(전화걸기) 올때 + categori_cnt = 0 + contac_area = "" + kikoan_id = "" + kikoan_name = "" + 'Response.Write "id = " & request("id") & "
" + 'query = "update list set contac_stat = 0 where id = " & request("id") & " and contac_stat = 99" + 'adoconn.execute query + end if + + if cint(categori_cnt) = 0 Then + categori_cnt = "0" + categori_01 = "" + categori_02 = "" + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 1 then + categori_02 = "" + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 2 then + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 3 then + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 4 then + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 5 then + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 6 then + categori_07 = "" + quota_area = "" + end if + +' response.write "categori_cnt : " & cint(categori_cnt) + + ''배수조절 + if kikoan_name = "대한�십�사" then + beasu = "2.0" + else + beasu = "1.2" + end if + + beasu = 1000 '12월 20� 15시�로 컨� 갯수 제한 해제(나부장님 요청) + quota_chk_where = "((quota * " & cdbl(beasu) & ") - contac_quota_ok + interview_quota_fail > 0 ) " + + '%> + + + + + +KRC - 컨� + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/contact_ajax_resultList.asp b/contact/contact_ajax_resultList.asp new file mode 100644 index 0000000..f93cffa --- /dev/null +++ b/contact/contact_ajax_resultList.asp @@ -0,0 +1,48 @@ + + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + + project = request("project") + 'response.Write "project : " & project & "
" + + Response.CharSet = "utf-8" '한글 + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write "
+ <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (contac_sel.asp) + <%end if%> +
+ + + + + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + +
�리번호 + + 내선번호 + + 발신번호 + +
선� 케테고리 갯수 + + + +
+
+ + + + + + + + + + +
+ + + + + + + + + <% + If login_name = "윤주�" Or login_name = "김나연" Or login_name = "박정욱" Or login_name = "어�선" Or login_name = "컨�" Then + %> + + + + <% + End if + %> +
+ + + + + + + + + + + + + + <% + if kikoan_id <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 1 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_01_list() + redim tmp_categori_01_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_01 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_01 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 2 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_02_list() + redim tmp_categori_02_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_02 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_02 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 3 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_03_list() + redim tmp_categori_03_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_03 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_03 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 4 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_04_list() + redim tmp_categori_04_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_04 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_04 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 5 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_05_list() + redim tmp_categori_05_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_05 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_05 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 6 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_06_list() + redim tmp_categori_06_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_06 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_06 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 7 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_07_list() + redim tmp_categori_07_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_07 = adors("category_name") + %> + + + + <% + End if + %> + + + +
<%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. 컨�할 쿼터 셀 선�
프로�트 + + + + + +
분류1(" readonly/>) +
분류2(" readonly/>) +
분류3(" readonly/>) +
분류4(" readonly/>) +
분류5(" readonly/>) +
분류6(" readonly/>) +
분류7(" readonly/>) +
+
+ + + + + + + + + + + + + +
+ 컨íƒ�ê²°ê³¼ : + + 미사용 +      + 면접예정 +      + 부재중 +      + 비수신 + + + + +
+ +
+ +
+
+ + + + + + +
+ 리스트 초기화 : + + 미사용 +      + 면접예정 +      + 부재중 +      + 비수신 + + +
+
+
 
+
+
" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + + 'query = " select * from kikoan_list " + + query = " SELECT KL.id, L.kikoan_name,L.contac_stat, cs.contac_stat_label, COUNT(L.contac_stat) as COUNT " + query = query & " FROM list L LEFT OUTER JOIN kikoan_list KL ON L.kikoan_id = cast(KL.id as varchar(20)) " + query = query & " LEFT OUTER JOIN contac_stat CS ON KL.id = CS.kikoan_id AND L.contac_stat = cs.contac_stat " + query = query & " WHERE KL.id = '" & project & "' " + query = query & " GROUP BY KL.id, L.kikoan_name, L.contac_stat, cs.contac_stat_label " + query = query & " ORDER BY L.contac_stat " + 'response.Write query + rsp.Open query, adoConn, 1 + + for i=1 to rsp.recordCount + response.write "" + response.write "" + response.write "" + response.write "" + rsp.movenext + Next + response.write "
프로�트 컨� 집계 현황
프로�트 결과갯 수
"& rsp("contac_stat_label") &""& rsp("COUNT") &"
" + + rsp.close + +%> \ No newline at end of file diff --git a/contact/contact_inc_bottom.asp b/contact/contact_inc_bottom.asp new file mode 100644 index 0000000..fc6b693 --- /dev/null +++ b/contact/contact_inc_bottom.asp @@ -0,0 +1,21 @@ + + + + + + + + + + + +
+ +<% +set Adors = nothing + +AdoConn.close +set AdoConn = nothing +%> + + diff --git a/contact/contact_inc_list.asp b/contact/contact_inc_list.asp new file mode 100644 index 0000000..48dc5ed --- /dev/null +++ b/contact/contact_inc_list.asp @@ -0,0 +1,1704 @@ +<%' + Response.CharSet="utf-8" + + Response.codepage="65001" + Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 +'실제 컨� 페�지 +''단, (chasu_use_chk = 'yes')문� �용하여 사용여부 �단...(값� no �것들� 컨�결과를 �괄�으로 지정� 했기� 컨�� 하면 안�기�) + + + set adors2 = server.CreateObject("ADODB.RECORDSET") + set adors_tmp = server.CreateObject("ADODB.RECORDSET") + + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim kikoan_name '쿼터용 기관명 + dim categori_01, categori_02, categori_03 '쿼터용 기관 카테고리(대,중,소) + dim kikoan_area '�답� 지역 + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim dn '�답� 전화번호 + dim field_area_name() + dim tel_num(4) + dim chasu + dim key_id + dim login_id + dim interview_date(13) + dim interview_date_st + dim interview_date_end + Dim interview_date_type + + interview_date(1) = "없�(거절 등)" + interview_date(2) = "2013-11-11 ~ 2013-11-16" + interview_date(3) = "2013-11-18 ~ 2013-11-23" + interview_date(4) = "2013-11-25 ~ 2013-11-30" + interview_date(5) = "2013-12-02 ~ 2013-12-07" + interview_date(6) = "2013-12-09 ~ 2013-12-14" + interview_date(7) = "2013-12-16 ~ 2013-12-21" + interview_date(8) = "2013-12-23 ~ 2013-12-28" + interview_date(9) = "2013-12-30 ~ 2014-01-04" + interview_date(10) = "2014-01-06 ~ 2014-01-11" + interview_date(11) = "2014-01-13 ~ 2014-01-18" + interview_date(12) = "2014-01-20 ~ 2014-01-25" + interview_date(13) = "2014-01-27 ~ 2014-02-01" + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + research_comp_name = trim(request("research_comp_name")) + chasu = trim(request("chasu")) + categori_check = trim(request("categori_check")) + comp_area = trim(request("comp_area")) + + If categori_check = "" Then + categori_check = false + End If + + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + add_item1 = trim(request("add_item1")) + add_item2 = trim(request("add_item2")) + add_item3 = trim(request("add_item3")) + add_item4 = trim(request("add_item4")) + add_item5 = trim(request("add_item5")) + add_item6 = trim(request("add_item6")) + add_item7 = trim(request("add_item7")) + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + command = request("command") + contac_stat = trim(request("contac_stat")) + quota_area = request("quota_area") + + sex = "" + age = 0 + + if command = "search" then + query = "select * from list where id = '" & request("key_id") & "' and chasu_use_chk = 'yes'" + adors2.open query, adoconn, 1 + kikoan_name = adors2("kikoan_name") + + if trim(adors2("categori_01")) <> "" then + categori_cnt = 1 + categori_01 = adors2("categori_01") + else + categori_01 = "" + end If + + if trim(adors2("categori_02")) <> "" then + categori_cnt = 2 + categori_02 = adors2("categori_02") + else + categori_02 = "" + end If + + if trim(adors2("categori_03")) <> "" then + categori_cnt = 3 + categori_03 = adors2("categori_03") + else + categori_03 = "" + end If + + if trim(adors2("categori_04")) <> "" then + categori_cnt = 4 + categori_04 = adors2("categori_04") + else + categori_04 = "" + end If + + if trim(adors2("categori_05")) <> "" then + categori_cnt = 5 + categori_05 = adors2("categori_05") + else + categori_05 = "" + end If + + if trim(adors2("categori_06")) <> "" then + categori_cnt = 6 + categori_06 = adors2("categori_06") + else + categori_06 = "" + end If + + if trim(adors2("categori_07")) <> "" then + categori_cnt = 7 + categori_07 = adors2("categori_07") + else + categori_07 = "" + end If + + contac_area = adors2("contac_area") + adors2.close + end if + + query = "select * from kikoan_list where kikoan_name = '" & kikoan_name & "' " + adors.open query, adoconn, 1 + + contac_tel_cnt = adors("contac_tel_cnt") + project_type = adors("project_type") + + adors.close + + query = "select top 1 * from list " + where_query_01 = " where kikoan_id = '" & kikoan_id & "' " + + if cint(categori_cnt) >= 1 then + where_query_01 = where_query_01 & "and categori_01 = '" & categori_01 & "' " + end If + + if cint(categori_cnt) >= 2 then + where_query_01 = where_query_01 & "and categori_02 = '" & categori_02 & "' " + end If + + if cint(categori_cnt) >= 3 then + where_query_01 = where_query_01 & "and categori_03 = '" & categori_03 & "' " + end If + + if cint(categori_cnt) >= 4 then + where_query_01 = where_query_01 & "and categori_04 = '" & categori_04 & "' " + end If + + if cint(categori_cnt) >= 5 then + where_query_01 = where_query_01 & "and categori_05 = '" & categori_05 & "' " + end If + + if cint(categori_cnt) >= 6 then + where_query_01 = where_query_01 & "and categori_06 = '" & categori_06 & "' " + end If + + if cint(categori_cnt) >= 7 then + where_query_01 = where_query_01 & "and categori_07 = '" & categori_07 & "' " + end If + + if command <> "search" then + where_query_01 = where_query_01 + end if + + ''차수 구분 � 전화걸기 최대횟수 + where_query_02 = " and (chasu = '" & chasu & "') and (chasu_use_chk = 'yes') " + + If comp_area <> "" Then + where_query_02 = where_query_02 & " and comp_area = '" & comp_area & "' " + End if + + if command = "search" Then + query = "select * from list where id = " & request("key_id") + Else + If contac_stat = 0 Then + 'call_count_query = "and contac_tel_cnt = 0 " + re_query = query + query = query & where_query_01 & where_query_02 & call_count_query & _ + " and contac_stat = 0 " & _ + " and prj_year = '" & Prj_Year & "' and contactor = 'no' " & _ + " order by newid()" + Else + If contac_stat=1 Or contac_stat=2 Or contac_stat=4 then + query = query & where_query_01 & where_query_02 & _ + " and contac_stat = " & contac_stat & _ + " and prj_year = '" & Prj_Year & "' " & _ + " and rechecker = '' and contactor = 'no' " & _ + " order by newid()" + Else + query = query & where_query_01 & where_query_02 & _ + " and contac_stat = " & contac_stat & _ + " and prj_year = '" & Prj_Year & "' " & _ + " and (contactor = '" & login_name & "' or contactor = 'no') " & _ + " order by newid()" + End If + End if + end If + + adors.open query, adoconn, 1 + response.write "" + if adors.recordcount >= 1 then + + tel_num(1) = adors("tel1") + tel_num(2) = adors("tel2") + tel_num(3) = adors("tel3") + tel_num(4) = adors("tel4") + + for i = 1 to 4 + If Trim(tel_num(i)) <> "" Then + tel_num(i) = replace(tel_num(i), "-", "") + tel_num(i) = replace(tel_num(i), ".", "") + tel_num(i) = replace(tel_num(i), " ", "") + if mid(tel_num(i),1,2)= "02" then + tel_num(i) = mid(tel_num(i),3) + end if + End if + next + + + if trim(tel_num(1)) = "" then + tel_num(1) = tel_num(2) + tel_num(2) = "" + end if + tel_num(0) = 0 '�단 개� 전화번호�고 가정 + for i = 1 to 4 + if trim(tel_num(i)) <> "" then + tel_num(0) = cint(tel_num(0)) + 1 + end if + next + + dn = tel_num(1) + key_id = adors("id") + contac_stat = adors("contac_stat") + quota_area = adors("quota_area") + field_area = adors("field_area") + + interview_date(0) = adors("interview_date") + If adors("interview_date") <> "" And Len(adors("interview_date")) = 21 And instr(adors("interview_date"), "~") > 0 Then + interview_date_type = "FROM-TO" + interview_date_st = Left(Trim(adors("interview_date")), 10) + interview_date_end = right(Trim(adors("interview_date")), 10) + ElseIf Trim(adors("interview_date")) = "" Then + interview_date_type = "FROM-TO" + else + interview_date_type = "TEXT" + End if + + interview_area = adors("interview_area") + contac_remark = adors("contac_remark") + add_item1 = adors("add_item1") + add_item2 = adors("add_item2") + add_item3 = adors("add_item3") + add_item4 = adors("add_item4") + add_item5 = adors("add_item5") + add_item6 = adors("add_item6") + add_item7 = adors("add_item7") + + If adors("sex") <> "" then + If CStr(adors("sex")) = "1" Then + sex = "남" + ElseIf CStr(adors("sex")) = "2" Then + sex = "여" + Else + sex = adors("sex") + End If + End if + + If adors("bitrh_year") <> "" Then + If IsNumeric(adors("bitrh_year")) Then + age = CInt(adors("prj_year"))-CInt(adors("bitrh_year"))+1 + Else + age = adors("prj_year") + End if + ELSE + age = adors("age") + End If + + ' Response.Write contac_stat & "
" + '�단 가져왔다고 표시 + if adors("contactor") = "no" or adors("contactor") = "" then + query = "update list set contac_stat = " & contac_stat & ", " & _ + "contac_date = '" & formatdatetime(date,2) & "', " & _ + "contac_time = '" & formatdatetime(time,4) & "', " & _ + "contactor = '" & login_name & "', " & _ + "rechecker = '" & login_name & "' " & _ + " where id = " & key_id + adoconn.execute query + end if +' query = "select field_area from list " & where_query_01 & where_query_02 & " group by field_area order by field_area" +' adors_tmp.open query, adoconn, 1 +' redim field_area_name(adors_tmp.recordcount) +' i = 0 +' do while not adors_tmp.eof +' i = i + 1 +' field_area_name(i) = adors_tmp("field_area") +' adors_tmp.movenext +' loop +' adors_tmp.close +''필드지역 선�용 + + query = "select field_area from list where kikoan_id = '" & kikoan_id & "' group by field_area order by field_area" + adors_tmp.open query, adoconn, 1 + i = adors_tmp.recordcount + redim field_area_name(i) + i = 0 + do while not adors_tmp.eof + i = i + 1 + field_area_name(i) = adors_tmp("field_area") + adors_tmp.movenext + loop + adors_tmp.close + + ''//============= + ''log 저장 + if command = "search" then + tmp_type = "검색�서 " + else + tmp_type = "" + end If + + query = "insert into log (key_id, kikoan_name, " & _ + "categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07, quota_area, " & _ + "list_id, tel_num, user_id, log_date, log_time, log_ip, asp_file_name, contac_stat, log_stat, prj_year) values (" & _ + "'" & key_id & "', " & _ + "'" & kikoan_name & "', " & _ + "'" & categori_01 & "', " & _ + "'" & categori_02 & "', " & _ + "'" & categori_03 & "', " & _ + "'" & categori_04 & "', " & _ + "'" & categori_05 & "', " & _ + "'" & categori_06 & "', " & _ + "'" & categori_07 & "', " & _ + "'" & quota_area & "', " & _ + "'" & adors("list_id") & "', " & _ + "'" & dn & "', " & _ + "'" & login_id & "', " & _ + "'" & formatdatetime(date, 2) & "', " & _ + "'" & formatdatetime(time, 4) & "', " & _ + "'" & Request.ServerVariables("remote_addr") & "', " & _ + "'contact_inc_list.asp', " & _ + "99, " & _ + "'" & tmp_type & "1개 리스트 가져오기', " & _ + "'" & prj_year & "')" + ' Response.Write query + adoconn.execute query + + + %> + + + + + + <% + '쿼터� 대한 쿼리를 가져오는 부분 + 'query = "select * from quota " & where_query_01 + + 'if command = "search" then + ' query = query & " and quota_area = '" & quota_area & "'" + 'end If + + 'response.write query + 'adors_tmp.open query, adoconn, 1 + + 'adors_tmp.close + %> + + + + + + + + + + <%if kikoan_id = "222" then%> + + <%else %> + + <%end if %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if kikoan_id = "222" then%> + + <%else %> + + <%end if %> + + + + <%if kikoan_id = "222" then%> + + <%else %> + + <%end if %> + + <%if kikoan_id = "222" then%> + + <%else %> + + <%end if %> + + +
리스트 id + + + 사업체명 + + 성명
(담당선�님)
성명(대표�) + + 지역(분류) + +
�위(급) + <% if kikoan_id = "248" Then + query = "SELECT count(*) AS cnt FROM krc_survey.dbo.Dat_2004031_A la WHERE ResType <> 'TEST' AND status = '10' AND LEFT(IDKey, 5) = '" & adors("list_id") & "'" + adors_tmp.open query, adoconn, 1 + %> + + <% + adors_tmp.close + %> + <% else %> + + <% end if %> + 나� + + 성별 + + 출�년� + +
�메�1 + + ','<%=kikoan_id %>', '0')" /> + �메�2 + + ','<%=kikoan_id %>', '0')" /> +
�메�1 수정 + 예 + 아니요 + �메�1 수정 + +
+ ','<%=kikoan_id %>', '1')" /> +
�메�2 수정 + 예 + 아니요 + �메�2 수정 + +
+ ','<%=kikoan_id %>', '2')" /> +
유선번호 수정 + 예 + 아니요 + 유선번호 수정 + + 무선번호 수정 + 예 + 아니요 + 무선번호 수정 + +
주소 + + 주소 수정 + +
개학� 수정업체명 수정 + + 성명 수정 + + 학급당 �균�� 수정�위(급) 수정 + + 9/2�주 학�행사 수정성별 수정 + +
+ + + + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 1 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category01_cnt = adors2.recordcount + category01_name = "" + + if category01_cnt > 0 Then + category01_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 1 AND category_code = '" & adors("categori_01") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_01 = adors2("category_name") + categori_category_label_01 = adors2("category_label") + Else + categori_name_01 = "" + categori_category_label_01 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 2 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category02_cnt = adors2.recordcount + category02_name = "" + + if category02_cnt > 0 Then + category02_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 2 AND category_code = '" & adors("categori_02") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_02 = adors2("category_name") + categori_category_label_02 = adors2("category_label") + Else + categori_name_02 = "" + categori_category_label_02 = "" + End if + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> + + + <% + query = "SELECT category_name FROM category_code where category_index = 3 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category03_cnt = adors2.recordcount + category03_name = "" + + if category03_cnt > 0 Then + category03_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 3 AND category_code = '" & adors("categori_03") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_03 = adors2("category_name") + categori_category_label_03 = adors2("category_label") + Else + categori_name_03 = "" + categori_category_label_03 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 4 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category04_cnt = adors2.recordcount + category04_name = "" + + if category04_cnt > 0 Then + category04_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 4 AND category_code = '" & adors("categori_04") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_04 = adors2("category_name") + categori_category_label_04 = adors2("category_label") + Else + categori_name_04 = "" + categori_category_label_04 = "" + End if + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> + + + <% + query = "SELECT category_name FROM category_code where category_index = 5 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category05_cnt = adors2.recordcount + category05_name = "" + + if category05_cnt > 0 Then + category05_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 5 AND category_code = '" & adors("categori_05") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_05 = adors2("category_name") + categori_category_label_05 = adors2("category_label") + Else + categori_name_05 = "" + categori_category_label_05 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 6 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category06_cnt = adors2.recordcount + category06_name = "" + + if category06_cnt > 0 Then + category06_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 6 AND category_code = '" & adors("categori_06") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_06 = adors2("category_name") + categori_category_label_06 = adors2("category_label") + Else + categori_name_06 = "" + categori_category_label_06 = "" + End If + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> + + + <% + query = "SELECT category_name FROM category_code where category_index = 7 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category07_cnt = adors2.recordcount + category07_name = "" + + if category07_cnt > 0 Then + category07_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 7 AND category_code = '" & adors("categori_07") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_07 = adors2("category_name") + categori_category_label_07 = adors2("category_label") + Else + categori_name_07 = "" + categori_category_label_07 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 8 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category08_cnt = adors2.recordcount + category08_name = "" + + if category08_cnt > 0 Then + category08_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 8 AND category_code = '" & adors("categori_08") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_08 = adors2("category_name") + categori_category_label_08 = adors2("category_label") + Else + categori_name_08 = "" + categori_category_label_08 = "" + End If + +' categori_name_08 = adors2("category_name") +' categori_category_label_08 = adors2("category_label") + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> +
분류1(<%=category01_name%>) + <%=categori_category_label_01%> + <% + adors2.close + %> + 분류2(<%=category02_name%>) + <%=categori_category_label_02%> + <% + adors2.close + %> +
분류3(<%=category03_name%>) + <%=categori_category_label_03%> + <% + adors2.close + %> + 분류4(<%=category04_name%>) + <%=categori_category_label_04%> + <% + adors2.close + %> +
분류5(<%=category05_name%>) + <%=categori_category_label_05%> + <% + adors2.close + %> + 분류6(<%=category06_name%>) + <%=categori_category_label_06%> + <% + adors2.close + %> +
분류7(<%=category07_name%>) + <%=categori_category_label_07%> + <% + adors2.close + %> + 분류8(<%=category08_name%>) + <%=categori_category_label_08%> + <% + adors2.close + %> +
+ + + + + + + + + + + + + + + + + + + <%if kikoan_id = "219" then%> + + + + + <%end if %> + + + + + + + + + + + + + + + + + +
전화번호 + ì—°ë�½ì²˜1 +    + ì—°ë�½ì²˜2 + +
+ ì—°ë�½ì²˜3 +    + ì—°ë�½ì²˜4 + +
변경ë�œ 번호 + <%if adors("tel_new") = "" and (adors("tel_new2") = "" or isNull(adors("tel_new2"))) then%> + ì—† ì�Œ + <%end if%> + <%if adors("tel_new") <> "" then%> + 추가연ë�½ì²˜1 +    + <%if adors("tel_new2") <> "" then%> +
+ <%end if%> + <%end if%> + <%if adors("tel_new2") <> "" then%> + 추가연�처2 + + <%end if%> +
+ + + + +
+ 문�보내기 + + +
기타1 + + +
기타2 + + +
기타3 + + +
기타4 + + +
+ + + <%adors.close%> + + + + + + + + + + + + + + + + <% + If project_type <> "비방문용" then + %> + + + + + + + + + <% + End if + %> + + <% If category01_name <> "" then %> + + + + <% If category02_name <> "" then %> + + + <% End If %> + <% If category03_name <> "" Then %> + + + <% End If %> + + <% End If %> + + <% If category04_name <> "" then %> + + + + <% If category05_name <> "" Then %> + + + <% End If %> + <% If category06_name <> "" then %> + + + <% End If %> + + <% End If %> + + <% If category07_name <> "" Then %> + + + + <% If category08_name <> "" then %> + + + <% End If %> + <% If category09_name <> "" then %> + + + <% End If %> + + <% End If %> + + + + +
+ 컨� 결과 + 전화 결과 + <% if kikoan_id = "248" then %> + + <% end if %> + + <% + query = "select * from contac_stat where kikoan_id = '" & kikoan_id & "' and not (contac_stat = 0) order by contac_stat" + adors.open query, adoconn, 1 + do while not adors.eof + %> + + <% + adors.movenext + loop + adors.close + %> + +
실사 지역 + + �터뷰 날� + + <% + If interview_date_type = "FROM-TO" Then + %> + + + ~ + + <% + Else + %> + + <% + End If + %> + �터뷰 장소 + +
분류1(<%=category01_name%>) + + 분류2(<%=category02_name%>) + + 분류3(<%=category03_name%>) + +
분류4(<%=category04_name%>) + + 분류5(<%=category05_name%>) + + 분류6(<%=category06_name%>) + +
분류7(<%=category07_name%>) + + + + + +
기타(비고) + +
+ + + + + + + + + +
+ +      + +      + + + +
+ + + + + <% + + 'query = "select * from log where key_id = " & key_id & " and contac_stat <> 99 and substring(log_stat,1,2) <> '검�'" + query = "select A.*, B.login_name, C.contac_stat_label " & _ + "from log as A LEFT OUTER JOIN login_user as B ON A.user_id = B.id " & _ + "LEFT OUTER JOIN contac_stat as C ON C.kikoan_id = '" & kikoan_id & "' and A.contac_stat = C.contac_stat " & _ + "where kikoan_id = '" & kikoan_id & "' " & _ + "and key_id = '" & key_id & "' and (A.contac_stat <> 99 or log_stat = 'list_call') and substring(log_stat,1,2) <> '검�' " & _ + "order by id " + + adors.open query, adoconn, 1 + + 'response.write query + + if adors.recordcount > 0 then + 'tmpstr="전화번호" & vbtab & vbtab & "��" & vbtab & vbtab & "시간" & vbtab & "컨�결과" & vbtab & "컨��" & vbcrlf + tmpstr= vbcrlf + end If + + Dim i + i = 1 + do while not adors.eof + 'tmpstr = tmpstr & adors("tel_num") & vbtab & vbtab & _ + ' adors("log_date") & vbtab & vbtab & _ + ' adors("log_time") & vbtab & _ + ' adors("contac_stat") & vbtab & _ + ' adors("user_id") & vbcrlf + + ' & vbtab & <<< 탭 + ' & vbcrlf & <<< 줄간격 + + If adors("log_stat") = "list_call" Then + tmpstr = tmpstr & i & "번 : " & "[전화시� �시 : " & adors("log_date") & "//" & adors("log_time") & "]" & " " & _ + "[컨�� : " & adors("login_name") & "]" & vbcrlf + Else + tmpstr = tmpstr & i & "번 : " & "[" & adors("log_stat") & " : " & adors("log_date") & "//" & adors("log_time") & "]" & " " & _ + "[컨�� : " & adors("login_name") & "]" & " " & _ + "[컨�결과 : " & adors("contac_stat_label") & "]" & vbcrlf + End if + + adors.movenext + i = i + 1 + loop + adors.close + + %> + + + + + + + +
전화 건 히스토리 + +
+ + + + + + <%else%> + + + + + + + + + + +
���� 리스트가 없습니다. 다른 항목� 선�하세요.
+ +                 + + +      + +
+ + + + <%end if%> + + + \ No newline at end of file diff --git a/contact/contact_inc_list_save.asp b/contact/contact_inc_list_save.asp new file mode 100644 index 0000000..68b16b0 --- /dev/null +++ b/contact/contact_inc_list_save.asp @@ -0,0 +1,251 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''컨�성공�서 다른 값으로 바뀔경우 쿼터테�블� 컨�성공부수�서 1개 빼기 + + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim kikoan_name '쿼터용 기관명 + dim categori_01, categori_02, categori_03 '쿼터용 기관 카테고리(대,중,소) + dim kikoan_area '�답� 지역 + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim dn '�답� 전화번호 + dim field_area_name() + dim tel_num(2) + dim chasu + dim id + dim login_id + + login_id = trim(request("login_id")) + + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + chasu = trim(request("chasu")) + comp_area = trim(request("comp_area")) + + research_comp_name = trim(request("research_comp_name")) + + categori_check = trim(request("categori_check")) + categori_check = trim(request("categori_check")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + key_id = Request("key_id") + categori_cnt = request("categori_cnt") + + add_item1 = trim(request("add_item1")) + add_item2 = trim(request("add_item2")) + add_item3 = trim(request("add_item3")) + add_item4 = trim(request("add_item4")) + add_item5 = trim(request("add_item5")) + add_item6 = trim(request("add_item6")) + add_item7 = trim(request("add_item7")) + + quota_area = request("quota_area") + + + field_area = request("field_area") + save_contac_stat = trim(request("save_contac_stat")) + contac_stat = request("contac_stat") + interview_date = request("interview_date") + interview_area = request("interview_area") + contac_remark = Replace(request("contac_remark"), "'", "") + comp_addr_new = request("comp_addr_new") + email_new = request("email_new") + email_new2 = request("email_new2") + tel_new = request("tel_new") + tel_new2 = request("tel_new2") + + comp_name_new = request("comp_name_new") + name_new = request("name_new") + comp_area_new = request("comp_area_new") + sex_new = request("sex_new") + + + tel_num_sel = request("tel_num_sel") + if cint(tel_num_sel) = 1 then + contac_ok_tel = request("tel1") + else + contac_ok_tel = request("tel2") + end if + +' if trim(comp_addr_new) = "" then +' comp_addr_new = request("comp_addr") +' end if + + + ''수정� 경우 기존� 컨�결과값� 알아야 � + query = "select * from list where id = " & key_id + adors.open query, adoconn, 1 + pre_contac_stat = adors("contac_stat") + adors.close + + query = "update list set " + query = query & "contac_date = '" & formatdatetime(date,2) & "', " + query = query & "contac_time = '" & formatdatetime(time,4) & "', " + query = query & "contactor = '" & login_name & "', " + query = query & "rechecker = '" & login_name & "', " + query = query & "contac_stat = " & save_contac_stat & ", " + query = query & "contac_tel_cnt = contac_tel_cnt + 1, " + query = query & "contac_ok_tel = '" & contac_ok_tel & "', " + query = query & "comp_addr_new = '" & comp_addr_new & "', " + query = query & "email_new = '" & email_new & "', " + query = query & "email_new2 = '" & email_new2 & "', " + query = query & "tel_new = '" & tel_new & "', " + query = query & "tel_new2 = '" & tel_new2 & "', " + query = query & "field_area = '" & field_area & "', " + query = query & "contac_remark = '" & contac_remark & "', " + query = query & "interview_date = '" & interview_date & "', " + query = query & "interview_area = '" & interview_area & "', " + query = query & "add_item1 = '" & add_item1 & "', " + query = query & "add_item2 = '" & add_item2 & "', " + query = query & "add_item3 = '" & add_item3 & "', " + query = query & "add_item4 = '" & add_item4 & "', " + query = query & "add_item5 = '" & add_item5 & "', " + query = query & "add_item6 = '" & add_item6 & "', " + query = query & "add_item7 = '" & add_item7 & "', " + query = query & "comp_name_new = '" & comp_name_new & "', " + if kikoan_name = "한국�육개발�_초중등학� �권�육 현황 � �권�� 분� 설문조사" then + query = query & "name = '" & name_new & "', " + else + query = query & "name_new = '" & name_new & "', " + end if + query = query & "comp_area_new = '" & comp_area_new & "', " + query = query & "sex_new = '" & sex_new & "' " + + query = query & "where id = " & key_id & " and prj_year = '" & prj_year & "'" + + 'Response.Write query & "
" + + adoconn.execute query + +''//============= +''log 저장 + query = "insert into log (key_id, kikoan_name, " & _ + "categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07, quota_area, " & _ + "list_id, tel_num, user_id, log_date, log_time, log_ip, asp_file_name, contac_stat, log_stat, prj_year) values (" & _ + "'" & key_id & "', " & _ + "'" & kikoan_name & "', " & _ + "'" & categori_01 & "', " & _ + "'" & categori_02 & "', " & _ + "'" & categori_03 & "', " & _ + "'" & categori_04 & "', " & _ + "'" & categori_05 & "', " & _ + "'" & categori_06 & "', " & _ + "'" & categori_07 & "', " & _ + "'" & quota_area & "', " & _ + "'" & request("list_id") & "', " & _ + "'" & contac_ok_tel & "', " & _ + "'" & login_id & "', " & _ + "'" & formatdatetime(date, 2) & "', " & _ + "'" & formatdatetime(time, 4) & "', " & _ + "'" & Request.ServerVariables("remote_addr") & "', " & _ + "'inc_list_save.asp', " & _ + save_contac_stat & ", " & _ + "'컨�결과 저장', " & _ + "'" & prj_year & "')" + 'Response.Write query + adoconn.execute query + + + where_query = "where kikoan_name = '" & kikoan_name & "' " & _ + "and categori_01 = '" & categori_01 & "' " + if isnull(categori_cnt) or categori_cnt = "" or isEmpty(categori_cnt) then + categori_cnt = "0" + end if + response.Write "categori_cnt : " & categori_cnt + if cint(categori_cnt) >= 2 then + where_query = where_query & "and categori_02 = '" & categori_02 & "' " + end if + if cint(categori_cnt) >= 3 then + where_query = where_query & "and categori_03 = '" & categori_03 & "' " + end if + if cint(categori_cnt) >= 4 then + where_query = where_query & "and categori_04 = '" & categori_04 & "' " + end if + if cint(categori_cnt) >= 5 then + where_query = where_query & "and categori_05 = '" & categori_05 & "' " + end if + if cint(categori_cnt) >= 6 then + where_query = where_query & "and categori_06 = '" & categori_06 & "' " + end if + if cint(categori_cnt) >= 7 then + where_query = where_query & "and categori_07 = '" & categori_07 & "' " + end if + + '%> + + + + + +KRI - 컨� + + + + + + + + + + +
+ 저장 성공 +
+ + + + + + \ No newline at end of file diff --git a/contact/contact_inc_top.asp b/contact/contact_inc_top.asp new file mode 100644 index 0000000..e19c375 --- /dev/null +++ b/contact/contact_inc_top.asp @@ -0,0 +1,111 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/contact_login_ok.asp b/contact/contact_login_ok.asp new file mode 100644 index 0000000..d886aaa --- /dev/null +++ b/contact/contact_login_ok.asp @@ -0,0 +1,192 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 +'FCS�서 컨� �� 로그� + +''///============= +''로그� 후 + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim i + dim Query + dim local_ip + dim client_id '면접� �리번호 + dim Makecall_ip_chk + + + login_name = trim(request("login_name")) + login_pwd = trim(request("login_pwd")) + 'local_ip = Request.ServerVariables("remote_addr") + local_ip = trim(request("local_ip")) +response.write local_ip + if local_ip = "10.10.13.130" then + response.write local_ip + end if + + Makecall_ip_chk = "true" + + query = "" + query = query & " SELECT p_no as id, p_name as login_name, p_pass_new as login_pwd, " + query = query & " '서울' as login_area, '관리�' as login_type, p_tel3 as tel , " + query = query & " '2014' as prj_year, '코리아리서치' as research_comp_name " + query = query & " FROM project2.dbo.person WHERE p_resign = '0' " + query = query & " AND p_name = '" & login_name & "' " + query = query & " AND p_pass_new = '" & login_pwd & "' " + query = query & " union all " + query = query & " SELECT id, login_name, login_pwd, " + query = query & " login_area, login_type, tel, " + query = query & " prj_year, research_comp_name " + query = query & " FROM contact.dbo.login_user " + query = query & " WHERE login_name = '" & login_name & "' " + query = query & " AND login_pwd = '" & login_pwd & "' " + 'query = "select * from login_user where login_name = '" & login_name & "' and login_pwd = '" & login_pwd & "' and prj_year = '" & prj_year & "'" + AdoRs.Open query,adoconn, 1 + + 'response.Write query & "
" + if adors.recordcount > 1 or adors.recordcount = 0 then + response.Write "" + else + login_id = adors("id") + login_area = adors("login_area") + login_type = lcase(adors("login_type")) + research_comp_name = adors("research_comp_name") + adors.close + + ''cati db(� �리� �리번호 � 발번 가져오기용) - 본사 컨�� 전용 + +''' response.Write "local_ip : "&local_ip&"
" + + If local_ip = "127.0.0.1" Then + 'local_ip = "10.10.13.130" + End if + + if mid(local_ip,1,6) = "10.10." and (login_type = "컨�" or login_type = "검��" or login_type = "관리�") then '서울 본사만 해당(web version malecall� 사용하기 위해) + ConnectString = "Provider=SQLOLEDB.1;Password=" & PWD & ";Persist Security Info=True;User ID=" & UID & ";Initial Catalog=new_cati;Data Source=" & SV_NAME + Set AdoConn_cati = Server.CreateObject("ADODB.Connection") + AdoConn_cati.Open ConnectString + + if login_type = "관리�" AND local_ip <> "10.10.17.118" then + query = "select * from client where client_ip = '10.10.13.177' " + else + query = "select * from client where client_ip = '" & local_ip & "'" + end if + + adors.open query, AdoConn_cati, 1 +''' response.Write "query : "&query &"
" + if adors.recordcount = 1 Then + client_id = adors("client_id") + ani_num = adors("external_no") + extension = adors("internal_no") +''' response.Write client_id & " // "&ani_num & " // " & extension + else + Makecall_ip_chk = "false" + end If + adors.close + + AdoConn_cati.close + set AdoConn_cati = nothing + if mid(local_ip,1,6) = "10.10." then + ''sv가 컨�터 �름으로 sv컴�서 로그�하기� + Makecall_ip_chk = "true" + end if + end if + + + if Makecall_ip_chk = "true" then + '%> + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + +
+ <%=login_name%> ´ÔÀº <%=login_area%> Áö¿ªÀÇ <%=login_type%> ÀÔ´Ï´Ù. + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (inc_top.asp) + <%end if%> +
+
+ + + + + + + + + + + + + + + + + + + + + + +
·Î±×ÀÎ ¾ÆÀ̵ð + + + + ·Î±×ÀÎ À¯Çü + + ÇÁ·ÎÁ§Æ®¸í + + ·Î±×ÀÎ Áö¿ª + '·Î±×ÀÎ Áö¿ª(¼­¿ï,ºÎ»ê, ´ë±¸, ±¤ÁÖ, ´ëÀü, °­¿ø) +
ÀÚ¸®¹øÈ£ + + ³»¼±¹øÈ£ + + ¹ß½Å¹øÈ£ + +
+
+ + + +
+ <%if lcase(trim(login_type)) = "admin" then%> + + <%end if%> +
+
+ + + + + <%else + response.Write "" + + end if'if ip_chk = "true" then%> + <%end if%> \ No newline at end of file diff --git a/contact/contact_resultList.asp b/contact/contact_resultList.asp new file mode 100644 index 0000000..56d0eff --- /dev/null +++ b/contact/contact_resultList.asp @@ -0,0 +1,673 @@ + + + +<%' +Response.CharSet="utf-8" +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 + + search_chasu = "" + + project = request("kikoan_id") + search_chasu = request("search_chasu") + If search_chasu = "" Then + search_chasu = "전체표본" + End if + + categori_01 = request("categori_01") + categori_02 = request("categori_02") + categori_03 = request("categori_03") + categori_04 = request("categori_04") + categori_05 = request("categori_05") + categori_06 = request("categori_06") + categori_07 = request("categori_07") + + categori_cnt = request("categori_cnt") + command = request("command") + '테�블 colspan� 위한 count + count = 2 + +' response.Write search_chasu + + if command="excel" then + 'Response.Buffer = false + response.Write "-------------------------------------------------------------------------------------
" + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=컨� 집계 현황 리스트.xls" + end if + + Dim comp_area() + + query = " select comp_area from list where kikoan_id = '" & project & "' and comp_area <> '전국' group by comp_area order by comp_area " + rs.Open query, adoConn, 1 + + If rs.recordCount > 0 Then + if rs("comp_area") <> "" then + ReDim comp_area(rs.recordCount) + for z=1 to rs.recordCount + comp_area(z) = rs("comp_area") + ' response.Write comp_area(z) & "
" + rs.movenext + Next + Else + ReDim comp_area(0) + end if + Else + ReDim comp_area(0) + End If + rs.close + + 'response.Write "categori_01 : " & categori_01 & "
" + 'response.Write "categori_02 : " & categori_02 & "
" + 'response.Write "categori_03 : " & categori_03 & "
" + + query = " select id, kikoan_name, contac_stat, contac_stat_label, view_index " + if (categori_01 <> "" and categori_01 <> "분류1") Then + query = query & " , categori_01 , categori_01_label " + End If + if (categori_02 <> "" and categori_02 <> "분류2") Then + query = query & " , categori_02 , categori_02_label " + End If + if (categori_03 <> "" and categori_03 <> "분류3") Then + query = query & " , categori_03 , categori_03_label " + End If + if (categori_04 <> "" and categori_04 <> "분류4") Then + query = query & " , categori_04 , categori_04_label " + End If + if (categori_05 <> "" and categori_05 <> "분류5") Then + query = query & " , categori_05 , categori_05_label " + End If + if (categori_06 <> "" and categori_06 <> "분류6") Then + query = query & " , categori_06 , categori_06_label " + End If + if (categori_07 <> "" and categori_07 <> "분류7") Then + query = query & " , categori_07 , categori_07_label " + End if + query = query & " , COUNT(contac_stat) as COUNT " + query = query & " , sum(전국) as 전국 " + + If UBound(comp_area) > 0 then + for z=1 to UBound(comp_area) + query = query & "   , sum([" & Replace(Replace(comp_area(z), ")", ""), "(", "") & "]) as  '" & comp_area(z) & "' " + Next + End if + +' query = query & " , sum(서울) as 서울 " +' query = query & " , sum(�천) as �천 " +' query = query & " , sum(대전) as 대전 " +' query = query & " , sum(대구) as 대구 " +' query = query & " , sum(부산) as 부산 " +' query = query & " , sum(광주) as 광주 " +' query = query & " , sum(울산) as 울산 " +' query = query & " , sum(강�) as 강� " +' query = query & " , sum(경기) as 경기 " +' query = query & " , sum(충남) as 충남 " +' query = query & " , sum(충�) as 충� " +' query = query & " , sum(경남) as 경남 " +' query = query & " , sum(경�) as 경� " +' query = query & " , sum(전남) as 전남 " +' query = query & " , sum(전�) as 전� " +' query = query & " , sum(세종) as 세종 " +' query = query & " , sum(제주) as 제주 " + query = query & " from ( " + query = query & " SELECT KL.id, KL.kikoan_name, cs.contac_stat_label, cs.view_index " + 'query = query & " , categori_01, categori_02, categori_03, categori_04, categori_05 " + if (categori_01 <> "" and categori_01 <> "분류1") Then + query = query & " , L.categori_01 " + query = query & " , (SELECT category_label FROM category_code WHERE kikoan_id = KL.id and category_index = 1 and category_code = L.categori_01) as categori_01_label " + count = count+1 + end if + if (categori_02 <> "" and categori_02 <> "분류2") Then + query = query & " , L.categori_02 " + query = query & " , (SELECT category_label FROM category_code WHERE kikoan_id = KL.id and category_index = 2 and category_code = L.categori_02) as categori_02_label " + count = count+1 + end if + if (categori_03 <> "" and categori_03 <> "분류3") Then + query = query & " , L.categori_03 " + query = query & " , (SELECT category_label FROM category_code WHERE kikoan_id = KL.id and category_index = 3 and category_code = L.categori_03) as categori_03_label " + count = count+1 + end if + if categori_04 <> "" and categori_04 <> "분류4" Then + query = query & " , L.categori_04 " + query = query & " , (SELECT category_label FROM category_code WHERE kikoan_id = KL.id and category_index = 4 and category_code = L.categori_04) as categori_04_label " + count = count+1 + end if + if categori_05 <> "" and categori_05 <> "분류5" Then + query = query & " , L.categori_05 " + query = query & " , (SELECT category_label FROM category_code WHERE kikoan_id = KL.id and category_index = 5 and category_code = L.categori_05) as categori_05_label " + count = count+1 + end If + if categori_06 <> "" and categori_06 <> "분류6" Then + query = query & " , L.categori_06 " + query = query & " , (SELECT category_label FROM category_code WHERE kikoan_id = KL.id and category_index = 6 and category_code = L.categori_06) as categori_06_label " + count = count+1 + end If + if categori_07 <> "" and categori_07 <> "분류7" Then + query = query & " , L.categori_07 " + query = query & " , (SELECT category_label FROM category_code WHERE kikoan_id = KL.id and category_index = 7 and category_code = L.categori_07) as categori_07_label " + count = count+1 + end if + query = query & " , L.contac_stat " + query = query & " , case when comp_area = '전국' then 1 else 0 end as 전국 " + + If UBound(comp_area) > 0 Then + for z=1 to UBound(comp_area) + query = query & " , case when comp_area = '" & comp_area(z) & "' then 1 else 0 end as '" & Replace(Replace(comp_area(z), ")", ""), "(", "") & "' " + Next + End if + +' query = query & " , case when comp_area = '서울' then 1 else 0 end as 서울 " +' query = query & " , case when comp_area = '�천' then 1 else 0 end as �천 " +' query = query & " , case when comp_area = '대전' then 1 else 0 end as 대전 " +' query = query & " , case when comp_area = '대구' then 1 else 0 end as 대구 " +' query = query & " , case when comp_area = '부산' then 1 else 0 end as 부산 " +' query = query & " , case when comp_area = '광주' then 1 else 0 end as 광주 " +' query = query & " , case when comp_area = '울산' then 1 else 0 end as 울산 " +' query = query & " , case when comp_area = '강�' then 1 else 0 end as 강� " +' query = query & " , case when comp_area = '경기' then 1 else 0 end as 경기 " +' query = query & " , case when comp_area = '충남' then 1 else 0 end as 충남 " +' query = query & " , case when comp_area = '충�' then 1 else 0 end as 충� " +' query = query & " , case when comp_area = '경남' then 1 else 0 end as 경남 " +' query = query & " , case when comp_area = '경�' then 1 else 0 end as 경� " +' query = query & " , case when comp_area = '전남' then 1 else 0 end as 전남 " +' query = query & " , case when comp_area = '전�' then 1 else 0 end as 전� " +' query = query & " , case when comp_area = '세종' then 1 else 0 end as 세종 " +' query = query & " , case when comp_area = '제주' then 1 else 0 end as 제주 " + query = query & " FROM kikoan_list KL LEFT OUTER JOIN list L ON cast(KL.id as varchar) = cast(L.kikoan_id as varchar) " + query = query & " LEFT OUTER JOIN contac_stat CS ON KL.id = CS.kikoan_id AND L.contac_stat = cs.contac_stat " + query = query & " WHERE KL.id = '" & project & "' " + + If search_chasu = "�표본" then + query = query & " and L.chasu = '�표본' " + End If + + query = query & " ) as T " +' query = query & " WHERE contac_stat = 1 " + + query = query & " GROUP BY id, kikoan_name, contac_stat, contac_stat_label, view_index " + if categori_01 <> "" and categori_01 <> "분류1" then + query = query & " , categori_01, categori_01_label " + end if + if categori_02 <> "" and categori_02 <> "분류2" then + query = query & " , categori_02, categori_02_label " + end if + if categori_03 <> "" and categori_03 <> "분류3" then + query = query & " , categori_03, categori_03_label " + end if + if categori_04 <> "" and categori_04 <> "분류4" then + query = query & " , categori_04, categori_04_label " + end if + if categori_05 <> "" and categori_05 <> "분류5" then + query = query & " , categori_05, categori_05_label " + end If + if categori_06 <> "" and categori_06 <> "분류6" then + query = query & " , categori_06, categori_06_label " + end If + if categori_07 <> "" and categori_07 <> "분류7" then + query = query & " , categori_07, categori_07_label " + end If + + query = query & " ORDER BY " + if categori_01 <> "" and categori_01 <> "분류1" then + query = query & " categori_01 " + end if + if categori_02 <> "" and categori_02 <> "분류2" then + query = query & " , categori_02 " + end if + if categori_03 <> "" and categori_03 <> "분류3" then + query = query & " , categori_03 " + end if + if categori_04 <> "" and categori_04 <> "분류4" then + query = query & " , categori_04 " + end if + if categori_05 <> "" and categori_05 <> "분류5" then + query = query & " , categori_05 " + end If + if categori_06 <> "" and categori_06 <> "분류6" then + query = query & " , categori_06 " + end If + if categori_07 <> "" and categori_07 <> "분류7" then + query = query & " , categori_07 " + end If + + if categori_01 <> "" and categori_01 <> "분류1" then + query = query & " , view_index " + else + query = query & " view_index " + end if + + + 'response.Write query + rsp.Open query, adoConn, 1 + + + query = " select view_index, contac_stat, contac_stat_label from contac_stat where kikoan_id = " & project & " order by view_index " + rs.Open query, adoConn, 1 + + Dim contact_status() + + If rs.recordCount > 0 Then + ReDim contact_status(rs.recordCount, 2) + for z=1 to rs.recordCount + contact_status(z, 0) = rs("view_index") + contact_status(z, 1) = rs("contac_stat") + contact_status(z, 2) = rs("contac_stat_label") + + 'response.Write contact_status(z, 2) & "
" + rs.movenext + Next + End If + + rs.close +%> + + + +
+ <% + if command <> "excel" then + %> + + +

+ + +

+ <% + end if + %> + + + + + + + + + + + + + + + + <% if categori_01 <> "" and categori_01 <> "분류1" then %> + + <% end if %> + <% if categori_02 <> "" and categori_02 <> "분류2" then %> + + <% end if %> + <% if categori_03 <> "" and categori_03 <> "분류3" then %> + + <% end if %> + <% if categori_04 <> "" and categori_04 <> "분류4" then %> + + <% end if %> + <% if categori_05 <> "" and categori_05 <> "분류5" then %> + + <% end if %> + <% if categori_06 <> "" and categori_06 <> "분류6" then %> + + <% end if %> + <% if categori_07 <> "" and categori_07 <> "분류7" then %> + + <% end if %> + + + + <% + If UBound(comp_area) > 0 Then + for z=1 to UBound(comp_area) + %> + + <% + Next + End if + %> + + + <% If rsp("count") > 0 Then + Dim beforeCategory_01, beforeCategory_02, beforeCategory_03, beforeCategory_04, beforeCategory_05, beforeCategory_06, beforeCategory_07 + Dim beforeCategory_01_label, beforeCategory_02_label, beforeCategory_03_label, beforeCategory_04_label, beforeCategory_05_label, beforeCategory_06_label, beforeCategory_07_label + Dim lineNext + Dim contact_stat_st_index, contact_stat_end_index + Dim column_count, category_08_count + + contact_stat_st_index = 0 + contact_stat_end_index = ubound(contact_status)-1 + + category_08_count = UBound(comp_area) '지역분류코드 갯수 + column_count = categori_cnt + 3 + category_08_count '카테고리 갯수 + 컨�결과, �갯수, 전국 + 지역분류코드 갯수' + + for i=1 to rsp.recordCount + 'for i=1 to 5 + lineNext = False + + If i > 1 Then + If categori_cnt = 1 Then + If Not(beforeCategory_01 = rsp("categori_01") ) then + lineNext = True + End if + ElseIf categori_cnt = 2 Then + If Not(beforeCategory_01 = rsp("categori_01") And beforeCategory_02 = rsp("categori_02") ) then + lineNext = True + End if + ElseIf categori_cnt = 3 Then + If Not(beforeCategory_01 = rsp("categori_01") And beforeCategory_02 = rsp("categori_02") And beforeCategory_03 = rsp("categori_03") ) then + lineNext = True + End if + ElseIf categori_cnt = 4 Then + If Not(beforeCategory_01 = rsp("categori_01") And beforeCategory_02 = rsp("categori_02") And beforeCategory_03 = rsp("categori_03") And beforeCategory_04 = rsp("categori_04")) then + lineNext = True + End if + ElseIf categori_cnt = 5 Then + If Not(beforeCategory_01 = rsp("categori_01") And beforeCategory_02 = rsp("categori_02") And beforeCategory_03 = rsp("categori_03") And beforeCategory_04 = rsp("categori_04") And beforeCategory_05 = rsp("categori_05")) then + lineNext = True + End if + ElseIf categori_cnt = 6 Then + If Not(beforeCategory_01 = rsp("categori_01") And beforeCategory_02 = rsp("categori_02") And beforeCategory_03 = rsp("categori_03") And beforeCategory_04 = rsp("categori_04") And beforeCategory_05 = rsp("categori_05") And beforeCategory_06 = rsp("categori_06")) then + lineNext = True + End if + ElseIf categori_cnt = 7 Then + If Not(beforeCategory_01 = rsp("categori_01") And beforeCategory_02 = rsp("categori_02") And beforeCategory_03 = rsp("categori_03") And beforeCategory_04 = rsp("categori_04") And beforeCategory_05 = rsp("categori_05") And beforeCategory_06 = rsp("categori_06") And beforeCategory_07 = rsp("categori_07")) then + lineNext = True + End if + End if + End If + + '분류가 바뀌기 전� 컨� 코드� 남� 부분� 그려줌~! + If lineNext Then + For z = contact_stat_st_index To contact_stat_end_index + 'response.write "분류가 바뀌어 남� 부분 그림 z : " & z & "//" & contact_status(z+1, 2) & "
" + %> + + <% if categori_01 <> "" and categori_01 <> "분류1" then %> + + <% end if %> + <% if categori_02 <> "" and categori_02 <> "분류2" then %> + + <% end if %> + <% if categori_03 <> "" and categori_03 <> "분류3" then %> + + <% end if %> + <% if categori_04 <> "" and categori_04 <> "분류4" then %> + + <% end if %> + <% if categori_05 <> "" and categori_05 <> "분류5" then %> + + <% end if %> + <% if categori_06 <> "" and categori_06 <> "분류6" then %> + + <% end if %> + <% if categori_07 <> "" and categori_07 <> "분류7" then %> + + <% end if %> + + + + <% + For c = 1 To category_08_count + %> + + <% + next + %> + + <% + Next + + contact_stat_st_index = 0 + End If + + %> + <% If rsp("contac_stat_label") <> "" Then + + 'response.write "st~!
" + '컨� 코드� 순서대로 그리기 위해~! 현재��터와 비�하여 사�� 없는 컨� 코드는 0으로 그려줌~! + For z = contact_stat_st_index To contact_stat_end_index + 'response.write z & "//" & clng(rsp("contac_stat")) & "
" + If z = clng(rsp("view_index")) Then + 'response.write "같�대... z : " & z & "//stat : " & clng(rsp("view_index")) & "
" + contact_stat_st_index = clng(rsp("view_index"))+1 + Exit For + elseIf z < clng(rsp("view_index")) Then + 'response.write "z가 현재 컨�결과 값다 작� 때 z : " & z & "//stat : " & clng(rsp("view_index")) & "
" + %> + + <% if categori_01 <> "" and categori_01 <> "분류1" then %> + + <% end if %> + <% if categori_02 <> "" and categori_02 <> "분류2" then %> + + <% end if %> + <% if categori_03 <> "" and categori_03 <> "분류3" then %> + + <% end if %> + <% if categori_04 <> "" and categori_04 <> "분류4" then %> + + <% end if %> + <% if categori_05 <> "" and categori_05 <> "분류5" then %> + + <% end if %> + <% if categori_06 <> "" and categori_06 <> "분류6" then %> + + <% end if %> + <% if categori_07 <> "" and categori_07 <> "분류7" then %> + + <% end if %> + + + + <% + For c = 1 To category_08_count + %> + + <% + next + %> + + <% + End if + Next + 'response.write "end~!
" + + For z = 1 To categori_cnt + If categori_cnt = 1 Then + beforeCategory_01 = rsp("categori_01") + beforeCategory_01_label = rsp("categori_01_label") + ElseIf categori_cnt = 2 Then + beforeCategory_01 = rsp("categori_01") + beforeCategory_02 = rsp("categori_02") + beforeCategory_01_label = rsp("categori_01_label") + beforeCategory_02_label = rsp("categori_02_label") + ElseIf categori_cnt = 3 Then + beforeCategory_01 = rsp("categori_01") + beforeCategory_02 = rsp("categori_02") + beforeCategory_03 = rsp("categori_03") + beforeCategory_01_label = rsp("categori_01_label") + beforeCategory_02_label = rsp("categori_02_label") + beforeCategory_03_label = rsp("categori_03_label") + ElseIf categori_cnt = 4 Then + beforeCategory_01 = rsp("categori_01") + beforeCategory_02 = rsp("categori_02") + beforeCategory_03 = rsp("categori_03") + beforeCategory_04 = rsp("categori_04") + beforeCategory_01_label = rsp("categori_01_label") + beforeCategory_02_label = rsp("categori_02_label") + beforeCategory_03_label = rsp("categori_03_label") + beforeCategory_04_label = rsp("categori_04_label") + ElseIf categori_cnt = 5 Then + beforeCategory_01 = rsp("categori_01") + beforeCategory_02 = rsp("categori_02") + beforeCategory_03 = rsp("categori_03") + beforeCategory_04 = rsp("categori_04") + beforeCategory_05 = rsp("categori_05") + beforeCategory_01_label = rsp("categori_01_label") + beforeCategory_02_label = rsp("categori_02_label") + beforeCategory_03_label = rsp("categori_03_label") + beforeCategory_04_label = rsp("categori_04_label") + beforeCategory_05_label = rsp("categori_05_label") + ElseIf categori_cnt = 6 Then + beforeCategory_01 = rsp("categori_01") + beforeCategory_02 = rsp("categori_02") + beforeCategory_03 = rsp("categori_03") + beforeCategory_04 = rsp("categori_04") + beforeCategory_05 = rsp("categori_05") + beforeCategory_06 = rsp("categori_06") + beforeCategory_01_label = rsp("categori_01_label") + beforeCategory_02_label = rsp("categori_02_label") + beforeCategory_03_label = rsp("categori_03_label") + beforeCategory_04_label = rsp("categori_04_label") + beforeCategory_05_label = rsp("categori_05_label") + beforeCategory_06_label = rsp("categori_06_label") + ElseIf categori_cnt = 7 Then + beforeCategory_01 = rsp("categori_01") + beforeCategory_02 = rsp("categori_02") + beforeCategory_03 = rsp("categori_03") + beforeCategory_04 = rsp("categori_04") + beforeCategory_05 = rsp("categori_05") + beforeCategory_06 = rsp("categori_06") + beforeCategory_07 = rsp("categori_07") + beforeCategory_01_label = rsp("categori_01_label") + beforeCategory_02_label = rsp("categori_02_label") + beforeCategory_03_label = rsp("categori_03_label") + beforeCategory_04_label = rsp("categori_04_label") + beforeCategory_05_label = rsp("categori_05_label") + beforeCategory_06_label = rsp("categori_06_label") + beforeCategory_07_label = rsp("categori_07_label") + End if + Next + + if lineNext Then + %> + + <% + End If + %> + + <% if categori_01 <> "" and categori_01 <> "분류1" then %> + + <% end if %> + <% if categori_02 <> "" and categori_02 <> "분류2" then %> + + <% end if %> + <% if categori_03 <> "" and categori_03 <> "분류3" then %> + + <% end if %> + <% if categori_04 <> "" and categori_04 <> "분류4" then %> + + <% end if %> + <% if categori_05 <> "" and categori_05 <> "분류5" then %> + + <% end if %> + <% if categori_06 <> "" and categori_06 <> "분류6" then %> + + <% end if %> + <% if categori_07 <> "" and categori_07 <> "분류7" then %> + + <% end if %> + + + + <% + If UBound(comp_area) > 0 Then + for z=1 to UBound(comp_area) + %> + + <% + Next + End if + %> + + <% End If %> + <% + rsp.movenext + next + End If + + '리스트가 다 �나고 남� 컨� 결과 항목� 대하여 그려줌~! + For z = contact_stat_st_index To contact_stat_end_index + 'response.write "리스트 다 �나고 남� 결과 항목� 대해 그려줌 z : " & z & "//stat : " & clng(rsp("view_index")) & "
" + %> + + <% if categori_01 <> "" and categori_01 <> "분류1" then %> + + <% end if %> + <% if categori_02 <> "" and categori_02 <> "분류2" then %> + + <% end if %> + <% if categori_03 <> "" and categori_03 <> "분류3" then %> + + <% end if %> + <% if categori_04 <> "" and categori_04 <> "분류4" then %> + + <% end if %> + <% if categori_05 <> "" and categori_05 <> "분류5" then %> + + <% end if %> + <% if categori_06 <> "" and categori_06 <> "분류6" then %> + + <% end if %> + <% if categori_07 <> "" and categori_07 <> "분류7" then %> + + <% end if %> + + + + <% + For c = 1 To category_08_count + %> + + <% + next + %> + + <% + Next + rsp.close + %> +
<%=rsp("kikoan_name") %> 컨� 집계 현황 [<%=search_chasu%>]
분류1분류2분류3분류4분류5분류6분류7컨� 결과합계전국<%=comp_area(z)%>
<%=beforeCategory_01_label %><%=beforeCategory_02_label %><%=beforeCategory_03_label %><%=beforeCategory_04_label %><%=beforeCategory_05_label %><%=beforeCategory_06_label %><%=beforeCategory_07_label %><%=contact_status(z+1, 2)%>000
<%=rsp("categori_01_label") %><%=rsp("categori_02_label") %><%=rsp("categori_03_label") %><%=rsp("categori_04_label") %><%=rsp("categori_05_label") %><%=rsp("categori_06_label") %><%=rsp("categori_07_label") %><%=contact_status(z+1, 2)%>000
<%=rsp("categori_01_label") %><%=rsp("categori_02_label") %><%=rsp("categori_03_label") %><%=rsp("categori_04_label") %><%=rsp("categori_05_label") %><%=rsp("categori_06_label") %><%=rsp("categori_07_label") %><%=rsp("contac_stat_label")%><%=rsp("COUNT") %><%=rsp("ì „êµ­")%><%=rsp(comp_area(z))%>
<%=beforeCategory_01_label %><%=beforeCategory_02_label %><%=beforeCategory_03_label %><%=beforeCategory_04_label %><%=beforeCategory_05_label %><%=beforeCategory_06_label %><%=beforeCategory_07_label %><%=contact_status(z+1, 2)%>000
+
+ + + + \ No newline at end of file diff --git a/contact/contact_search.asp b/contact/contact_search.asp new file mode 100644 index 0000000..c821dff --- /dev/null +++ b/contact/contact_search.asp @@ -0,0 +1,280 @@ + + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 +''///============= +''모든 사람� 검색가능하게 +'기관명� 컨�쿼터가 남� 경우�서 모든 기관명 무조건 보�기로 변경(2013-12-18�) +'' 기관명과 기관리스트아�디, �답� 전화번호 2개 기준 + + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + ani_num = trim(request("ani_num")) + key_id = trim(request("key_id")) + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + res_tel1 = trim(request("res_tel1")) + res_tel2 = trim(request("res_tel2")) + res_name = trim(request("res_name")) + research_comp_name = trim(request("research_comp_name")) + 'Response.Write "id = " & request("id") & "
" + + + + '%> + + + + + +KRC - 컨� + + + + +
+ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/contact_search_ok.asp b/contact/contact_search_ok.asp new file mode 100644 index 0000000..5a34c67 --- /dev/null +++ b/contact/contact_search_ok.asp @@ -0,0 +1,336 @@ + + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 + +''///============= +''모든 사람� 검색가능하게 +''단, (chasu_use_chk = 'yes')문� �용하여 사용여부 �단...(값� no �것들� 컨�결과를 �괄�으로 지정� 했기� 컨�� 하면 안�기�) + + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + ani_num = trim(request("ani_num")) + + key_id = trim(request("key_id")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + res_tel1 = trim(request("res_tel1")) + res_tel2 = trim(request("res_tel2")) + res_name = trim(request("res_name")) + + command = request("command") + + list_id = request("list_id") + query = "select a.* " & _ + ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 1 and category_code = a.categori_01), categori_01) as 'categori_label01' " & _ + ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 2 and category_code = a.categori_02), categori_02) as 'categori_label02' " & _ + ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 3 and category_code = a.categori_03), categori_03) as 'categori_label03' " & _ + ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 4 and category_code = a.categori_04), categori_04) as 'categori_label04' " & _ + ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 5 and category_code = a.categori_05), categori_05) as 'categori_label05' " & _ + ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 6 and category_code = a.categori_06), categori_06) as 'categori_label06' " & _ + ", isnull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 7 and category_code = a.categori_07), categori_07) as 'categori_label07' " & _ + ", b.contac_stat_label from list as a left outer join contac_stat as b on b.kikoan_id = '" & kikoan_id & "' and a.contac_stat = b.contac_stat " + if login_type = "컨�" or login_type = "관리�" then + query = query & "where a.kikoan_id = '" & kikoan_id & "' " & _ + "and a.list_id = '" & list_id & "' and (a.chasu_use_chk = 'yes') " + else + res_name = trim(request("res_name")) + res_tel1 = trim(request("res_tel1")) + res_tel2 = trim(request("res_tel2")) + query = query & "where " + tmp_query = "" + if res_name <> "" then + tmp_query = "name = '" & res_name & "' " + end if + if res_tel1 <> "" then + if tmp_query = "" then + tmp_query = "tel1 = '" & res_tel1 & "' " + else + tmp_query = tmp_query & " or tel1 = '" & res_tel1 & "' " + end if + end if + + if res_tel2 <> "" then + if tmp_query = "" then + tmp_query = "tel2 = '" & res_tel2 & "' " + else + tmp_query = tmp_query & " or tel2 = '" & res_tel2 & "' " + end if + end if + + if res_tel3 <> "" then + if tmp_query = "" then + tmp_query = "tel3 = '" & res_tel3 & "' " + else + tmp_query = tmp_query & " or tel3 = '" & res_tel3 & "' " + end if + end if + + if res_tel4 <> "" then + if tmp_query = "" then + tmp_query = "tel4 = '" & res_tel4 & "' " + else + tmp_query = tmp_query & " or tel4 = '" & res_tel4 & "' " + end if + end if + query = query & tmp_query + end if + + +' response.write query +' response.write "
" & kikoan_id & ".." + + adors.open query, adoconn, 1 +' Response.Write query + '%> + + + + + +KRC - 컨� + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + +
�리번호 + + 내선번호 + + 발신번호 + +
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + <%if login_type = "�대" then%> + + + + <%else%> + + + + + + + + + + <%end if%> + +
<%=login_name%> 님� <%=login_area%> 지역� <%=research_comp_name%> 입니다. 컨�할 쿼터 셀 선� + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (contact_search.asp) + <%end if%> + +
+ + + + + + + + + + + +
�답� �름 + + �는�답� 전화번호 + + �는�답� 전화번호2 + +
+
프로�트 + + 리스트 아�디 + +
+
+ + + + +
+ + +
+
+
+
+ + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/contact_select.asp b/contact/contact_select.asp new file mode 100644 index 0000000..7a8f82f --- /dev/null +++ b/contact/contact_select.asp @@ -0,0 +1,1033 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 +'컨� 프로�트 선� 페�지 + +''///============= +''로그� 후 해당 로그��가 어� 지역 컨��, 어�지역 면접�, 어�지역 sv�지 확� 후 +''컨��� 경우 컨�리스트� 쿼터 지역 선�하기 + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim contac_area '쿼터용 기관명 + dim categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07 '쿼터용 기관 카테고리(대,중,소) + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + dim quota_area + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_name = trim(request("kikoan_name")) + kikoan_id = trim(request("kikoan_id")) + research_comp_name = trim(request("research_comp_name")) + + categori_check = trim(request("categori_check")) + If categori_check = "" Then + categori_check = false + End if + + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + quota_area = request("quota_area") + + prj_year = "2014" + + 'contac_stat = 99 '�단 컨�중으로 + contac_stat = trim(request("contac_stat")) + +' response.write "kikoan_name : " & kikoan_name & "
" +' response.write "kikoan_id : " & kikoan_id & "
" +' response.write "login_area : " & login_area & "
" +' response.write "quota_area : " & quota_area & "
" +' response.write "contac_area : " & contac_area & "
" +' response.write "categori_name_01 : " & categori_name_01 & "
" +' response.write "categori_name_02 : " & categori_name_02 & "
" +' response.write "categori_name_03 : " & categori_name_03 & "
" +' response.write "categori_name_04 : " & categori_name_04 & "
" +' response.write "categori_name_05 : " & categori_name_05 & "
" +' response.write "categori_name_06 : " & categori_name_06 & "
" +' response.write "categori_name_07 : " & categori_name_07 & "
" +' response.write "categori_label_01 : " & categori_label_01 & "
" +' response.write "categori_label_02 : " & categori_label_02 & "
" +' response.write "categori_label_03 : " & categori_label_03 & "
" +' response.write "categori_label_04 : " & categori_label_04 & "
" +' response.write "categori_label_05 : " & categori_label_05 & "
" +' response.write "categori_label_06 : " & categori_label_06 & "
" +' response.write "categori_label_07 : " & categori_label_07 & "
" +' response.write "categori_01 : " & categori_01 & "
" +' response.write "categori_02 : " & categori_02 & "
" +' response.write "categori_03 : " & categori_03 & "
" +' response.write "categori_04 : " & categori_04 & "
" +' response.write "categori_05 : " & categori_05 & "
" +' response.write "categori_06 : " & categori_06 & "
" +' response.write "categori_07 : " & categori_07 & "
" +' response.write "categori_cnt : " & categori_cnt & "
" + + if request("command") = "re_contac_sel" then + '컨�화면�서(전화걸기) 올때 + categori_cnt = 0 + contac_area = "" + kikoan_id = "" + kikoan_name = "" + 'Response.Write "id = " & request("id") & "
" + 'query = "update list set contac_stat = 0 where id = " & request("id") & " and contac_stat = 99" + 'adoconn.execute query + end if + + if cint(categori_cnt) = 0 Then + categori_cnt = "0" + categori_01 = "" + categori_02 = "" + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 1 then + categori_02 = "" + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 2 then + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 3 then + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 4 then + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 5 then + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 6 then + categori_07 = "" + quota_area = "" + end if + +' response.write "categori_cnt : " & cint(categori_cnt) + + ''배수조절 + if kikoan_name = "대한�십�사" then + beasu = "2.0" + else + beasu = "1.2" + end if + + beasu = 1000 '12월 20� 15시�로 컨� 갯수 제한 해제(나부장님 요청) + quota_chk_where = "((quota * " & cdbl(beasu) & ") - contac_quota_ok + interview_quota_fail > 0 ) " + + '%> + + + + + +KRC - 컨� + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + +
�리번호 + + 내선번호 + + 발신번호 + +
+
+ + + + +
+ + + + + + + +
+ + + + + + + + + +
<%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. 컨�할 쿼터 셀 선� + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (contact_search_ok.asp) + <%end if%> +
+ + <% + If adors.recordcount > 0 Then + %> + + + + + + + + + + + + + + + + + + + + + <% + do while not adors.eof + cnt = cnt + 1 + %> + + + + + + + + + + + + + + + + + + + + + <% + adors.movenext + Loop + Else + %> + + + + <% + End if + %> +
선�기관명컨�지역LIST ID차수분류 1분류 2분류 3분류 4분류 5분류 6분류 7쿼터 지역회사명�름주소컨�결과기타 1
<%=adors("kikoan_name")%><%=adors("contac_area")%><%=adors("list_id")%><%=adors("chasu")%><%=adors("categori_label01")%><%=adors("categori_label02")%><%=adors("categori_label03")%><%=adors("categori_label04")%><%=adors("categori_label05")%><%=adors("categori_label06")%><%=adors("categori_label07")%><%=adors("quota_area")%><%=adors("comp_name")%><%=adors("name")%><%=adors("comp_addr")%><%=adors("contac_stat_label")%><%=adors("etc1")%>
해당�는 리스트가 존재하지 않습니다.
+ +
+
+ + + + +
+ + + +
+
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/contact_select.asp_250922_CNS b/contact/contact_select.asp_250922_CNS new file mode 100644 index 0000000..758f781 --- /dev/null +++ b/contact/contact_select.asp_250922_CNS @@ -0,0 +1,1033 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 +'컨� 프로�트 선� 페�지 + +''///============= +''로그� 후 해당 로그��가 어� 지역 컨��, 어�지역 면접�, 어�지역 sv�지 확� 후 +''컨��� 경우 컨�리스트� 쿼터 지역 선�하기 + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim contac_area '쿼터용 기관명 + dim categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07 '쿼터용 기관 카테고리(대,중,소) + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + dim quota_area + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_name = trim(request("kikoan_name")) + kikoan_id = trim(request("kikoan_id")) + research_comp_name = trim(request("research_comp_name")) + + categori_check = trim(request("categori_check")) + If categori_check = "" Then + categori_check = false + End if + + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + quota_area = request("quota_area") + + prj_year = "2014" + + 'contac_stat = 99 '�단 컨�중으로 + contac_stat = trim(request("contac_stat")) + +' response.write "kikoan_name : " & kikoan_name & "
" +' response.write "kikoan_id : " & kikoan_id & "
" +' response.write "login_area : " & login_area & "
" +' response.write "quota_area : " & quota_area & "
" +' response.write "contac_area : " & contac_area & "
" +' response.write "categori_name_01 : " & categori_name_01 & "
" +' response.write "categori_name_02 : " & categori_name_02 & "
" +' response.write "categori_name_03 : " & categori_name_03 & "
" +' response.write "categori_name_04 : " & categori_name_04 & "
" +' response.write "categori_name_05 : " & categori_name_05 & "
" +' response.write "categori_name_06 : " & categori_name_06 & "
" +' response.write "categori_name_07 : " & categori_name_07 & "
" +' response.write "categori_label_01 : " & categori_label_01 & "
" +' response.write "categori_label_02 : " & categori_label_02 & "
" +' response.write "categori_label_03 : " & categori_label_03 & "
" +' response.write "categori_label_04 : " & categori_label_04 & "
" +' response.write "categori_label_05 : " & categori_label_05 & "
" +' response.write "categori_label_06 : " & categori_label_06 & "
" +' response.write "categori_label_07 : " & categori_label_07 & "
" +' response.write "categori_01 : " & categori_01 & "
" +' response.write "categori_02 : " & categori_02 & "
" +' response.write "categori_03 : " & categori_03 & "
" +' response.write "categori_04 : " & categori_04 & "
" +' response.write "categori_05 : " & categori_05 & "
" +' response.write "categori_06 : " & categori_06 & "
" +' response.write "categori_07 : " & categori_07 & "
" +' response.write "categori_cnt : " & categori_cnt & "
" + + if request("command") = "re_contac_sel" then + '컨�화면�서(전화걸기) 올때 + categori_cnt = 0 + contac_area = "" + kikoan_id = "" + kikoan_name = "" + 'Response.Write "id = " & request("id") & "
" + 'query = "update list set contac_stat = 0 where id = " & request("id") & " and contac_stat = 99" + 'adoconn.execute query + end if + + if cint(categori_cnt) = 0 Then + categori_cnt = "0" + categori_01 = "" + categori_02 = "" + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 1 then + categori_02 = "" + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 2 then + categori_03 = "" + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 3 then + categori_04 = "" + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 4 then + categori_05 = "" + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 5 then + categori_06 = "" + categori_07 = "" + quota_area = "" + elseif cint(categori_cnt) = 6 then + categori_07 = "" + quota_area = "" + end if + +' response.write "categori_cnt : " & cint(categori_cnt) + + ''배수조절 + if kikoan_name = "대한�십�사" then + beasu = "2.0" + else + beasu = "1.2" + end if + + beasu = 1000 '12월 20� 15시�로 컨� 갯수 제한 해제(나부장님 요청) + quota_chk_where = "((quota * " & cdbl(beasu) & ") - contac_quota_ok + interview_quota_fail > 0 ) " + + '%> + + + + + +KRC - 컨� + + + + + + + + + + + + + + + + + + + + +
+ <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (contac_sel.asp) + <%end if%> +
+ + + + + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + +
�리번호 + + 내선번호 + + 발신번호 + +
선� 케테고리 갯수 + + + +
+
+ + + + + + + + + + +
+ + + + + + + + + <% + If login_type = "관리�" Then + %> + + + + <% + End if + %> +
+ + + + + + + + + + + + + + <% + if kikoan_id <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 1 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_01_list() + redim tmp_categori_01_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_01 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_01 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 2 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_02_list() + redim tmp_categori_02_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_02 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_02 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 3 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_03_list() + redim tmp_categori_03_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_03 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_03 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 4 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_04_list() + redim tmp_categori_04_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_04 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_04 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 5 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_05_list() + redim tmp_categori_05_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_05 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_05 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 6 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_06_list() + redim tmp_categori_06_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_06 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_06 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 7 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_07_list() + redim tmp_categori_07_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_07 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% If kikoan_id <> "" Then %> + + + + + <% End If %> +
<%=login_name%> 님� <%=login_area%> 지역� <%=research_comp_name%> 입니다. 컨�할 쿼터 셀 선�
프로�트 + + + + + +
분류1(" readonly/>) + +
분류2(" readonly/>) + +
분류3(" readonly/>) + +
분류4(" readonly/>) + +
분류5(" readonly/>) + +
분류6(" readonly/>) + +
분류7(" readonly/>) + +
실사지역 + +
+
+ + + + + + + + + +
+ 컨íƒ�ê²°ê³¼ : + +    + 미사용 +      + 면접예정 +      + 부재중 +      + 비수신 + + 차수 : + + ì›�표본 +      + 2ì°¨(기타) + + + + +
+
+ + + + + + +
+ 리스트 초기화 : + +    + 미사용 +      + 면접예정 +      + 부재중 +      + 비수신 + + +
+
+
 
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/contact_tel_dial.asp b/contact/contact_tel_dial.asp new file mode 100644 index 0000000..b133d86 --- /dev/null +++ b/contact/contact_tel_dial.asp @@ -0,0 +1,324 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +'정형기 기� - 사용페�지 +'contact_inc_list(실제 컨�하는 페�지) include 하고있� + +%> + + + + +KRC - 컨� + + + + + + + + + + +
+
+
+ + +        + + + +        + + +
+
+
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/contact/contact_tel_init.asp b/contact/contact_tel_init.asp new file mode 100644 index 0000000..b99f67e --- /dev/null +++ b/contact/contact_tel_init.asp @@ -0,0 +1,286 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + ''단, (chasu_use_chk = 'yes')문� �용하여 사용여부 �단...(값� no �것들� 컨�결과를 �괄�으로 지정� 했기� 컨�� 하면 안�기�) + + + set adors2 = server.CreateObject("ADODB.RECORDSET") + set adors_tmp = server.CreateObject("ADODB.RECORDSET") + + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim kikoan_name '쿼터용 기관명 + dim categori_01, categori_02, categori_03 '쿼터용 기관 카테고리(대,중,소) + dim kikoan_area '�답� 지역 + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim dn '�답� 전화번호 + dim field_area_name() + dim tel_num(2) + dim chasu + dim key_id + dim login_id + dim interview_date(13) + + interview_date(1) = "없�(거절 등)" + interview_date(2) = "2013-11-11 ~ 2013-11-16" + interview_date(3) = "2013-11-18 ~ 2013-11-23" + interview_date(4) = "2013-11-25 ~ 2013-11-30" + interview_date(5) = "2013-12-02 ~ 2013-12-07" + interview_date(6) = "2013-12-09 ~ 2013-12-14" + interview_date(7) = "2013-12-16 ~ 2013-12-21" + interview_date(8) = "2013-12-23 ~ 2013-12-28" + interview_date(9) = "2013-12-30 ~ 2014-01-04" + interview_date(10) = "2014-01-06 ~ 2014-01-11" + interview_date(11) = "2014-01-13 ~ 2014-01-18" + interview_date(12) = "2014-01-20 ~ 2014-01-25" + interview_date(13) = "2014-01-27 ~ 2014-02-01" + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + add_item1 = trim(request("add_item1")) + add_item2 = trim(request("add_item2")) + add_item3 = trim(request("add_item3")) + add_item4 = trim(request("add_item4")) + add_item5 = trim(request("add_item5")) + add_item6 = trim(request("add_item6")) + add_item7 = trim(request("add_item7")) + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + command = request("command") + 'contac_stat = 99 '�단 컨�중으로 + contac_stat = trim(request("contac_stat")) + init_stat = trim(request("init_stat")) + quota_area = request("quota_area") + prj_year = request("prj_year") + + sex = "" + age = 0 + +' response.write "kikoan_name : " & kikoan_name & "
" +' response.write "kikoan_id : " & kikoan_id & "
" +' response.write "login_area : " & login_area & "
" +' response.write "quota_area : " & quota_area & "
" +' response.write "contac_area : " & contac_area & "
" + +' response.write "categori_name_01 : " & categori_name_01 & "
" +' response.write "categori_name_02 : " & categori_name_02 & "
" +' response.write "categori_name_03 : " & categori_name_03 & "
" +' response.write "categori_name_04 : " & categori_name_04 & "
" +' response.write "categori_name_05 : " & categori_name_05 & "
" +' response.write "categori_name_06 : " & categori_name_06 & "
" +' response.write "categori_name_07 : " & categori_name_07 & "
" +' response.write "categori_label_01 : " & categori_label_01 & "
" +' response.write "categori_label_02 : " & categori_label_02 & "
" +' response.write "categori_label_03 : " & categori_label_03 & "
" +' response.write "categori_label_04 : " & categori_label_04 & "
" +' response.write "categori_label_05 : " & categori_label_05 & "
" +' response.write "categori_label_06 : " & categori_label_06 & "
" +' response.write "categori_label_07 : " & categori_label_07 & "
" +' response.write "categori_01 : " & categori_01 & "
" +' response.write "categori_02 : " & categori_02 & "
" +' response.write "categori_03 : " & categori_03 & "
" +' response.write "categori_04 : " & categori_04 & "
" +' response.write "categori_05 : " & categori_05 & "
" +' response.write "categori_06 : " & categori_06 & "
" +' response.write "categori_07 : " & categori_07 & "
" +' response.write "categori_cnt : " & categori_cnt & "
" + +' response.write "contac_stat : " & contac_stat & "
" +' response.write "ani_num : " & ani_num & "
" +' response.write "init_stat : " & init_stat & "
" + + query = "update list set rechecker = '', contactor = 'no', contac_date = '', contac_time = '' " & _ + " where kikoan_name like '" & kikoan_name & "' " & _ + " and (chasu = '�표본' or chasu = '2차표본') and (chasu_use_chk = 'yes') " & _ + " and contac_stat = " & init_stat & _ + " and prj_year = '" & prj_year & "'" + +' response.write "query : " & query & "
" + adoconn.execute query +%> + + + + + +KRC - 컨� + + + + + + + + + + + + + +
+ <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (contac_sel.asp) + <%end if%> +
+ + + + + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + +
�리번호 + + 내선번호 + + 발신번호 + +
선� 케테고리 갯수 + + + +
+
+ + + + + + + + + + +
+ + + + + + + + + <% + If login_type = "관리�" Then + %> + + + + <% + End if + %> +
+ + + + + + + + + + + + + + <% + if kikoan_id <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 1 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_01_list() + redim tmp_categori_01_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_01 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_01 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 2 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_02_list() + redim tmp_categori_02_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_02 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_02 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 3 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_03_list() + redim tmp_categori_03_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_03 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_03 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 4 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_04_list() + redim tmp_categori_04_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_04 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_04 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 5 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_05_list() + redim tmp_categori_05_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_05 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_05 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 6 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_06_list() + redim tmp_categori_06_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_06 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% + if categori_06 <> "" then + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 7 AND kikoan_id = '" & kikoan_id & "' " + adors.open query, adoconn, 1 + + dim tmp_categori_07_list() + redim tmp_categori_07_list(adors.recordcount) + i = 0 + + do while not adors.eof + i = i + 1 + If i = 1 Then + categori_name_07 = adors("category_name") + %> + + + + <% + End if + %> + + + + <% If kikoan_id <> "" Then %> + + + + + <% End If %> +
<%=login_name%> 님� <%=login_area%> 지역� <%=research_comp_name%> 입니다. 컨�할 쿼터 셀 선�
프로�트 + + + + + +
분류1(" readonly/>) + +
분류2(" readonly/>) + +
분류3(" readonly/>) + +
분류4(" readonly/>) + +
분류5(" readonly/>) + +
분류6(" readonly/>) + +
분류7(" readonly/>) + +
실사지역 + +
+
+ + + + + + + + + +
+ 컨íƒ�ê²°ê³¼ : + +    + 미사용 +      + 면접예정 +      + 부재중 +      + 비수신 + + 차수 : + + ì›�표본 +      + 2ì°¨(기타) + + + + +
+
+ + + + + + +
+ 리스트 초기화 : + +    + 미사용 +      + 면접예정 +      + 부재중 +      + 비수신 + + +
+
+
 
+
+
+ + + + + + + + + + + + +
+ + + + + +
+ + + + + + + +
+ <%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (inc_top.asp) + <%end if%> +
+
+ + + + + + + + + + + + + + + + + + +
로그� 아�디 + + + + 로그� 유형 + + 기관명 + +
�리번호 + + 내선번호 + + 발신번호 + +
+
+ + + + + + + +
+ <% If init_stat = 0 Then %> + 미사용 + <% ElseIf init_stat = 1 Then %> + 면접예정 + <% ElseIf init_stat = 2 Then %> + 부재중 + <% ElseIf init_stat = 4 Then %> + 비수신 + <% End If %> + 전화번호를 초기화를 �용 하였습니다. +
+ +
+
+ + +<% +set Adors = nothing + +AdoConn.close +set AdoConn = nothing +%> + + + +
+ +
+
+
+        + + +
+
+
+        + +
+
+
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/contact/dial_init.asp b/contact/dial_init.asp new file mode 100644 index 0000000..5fcccc5 --- /dev/null +++ b/contact/dial_init.asp @@ -0,0 +1,343 @@ + +<%' +Response.CharSet="utf-8" +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + + '�단 FCS로 추정� + dim local_ip + dim p_child_sn + dim s_area + dim s_type + dim s_id + dim dn + + local_ip = Request.ServerVariables("remote_addr") + + ConnectString = "Provider=SQLOLEDB.1;Password=" & PWD & ";Persist Security Info=True;User ID=" & UID & ";Initial Catalog=new_cati;Data Source=" & SV_NAME + Set AdoConn_cati = Server.CreateObject("ADODB.Connection") + AdoConn_cati.Open ConnectString + query = "select top 1 * from client where client_ip = '" & local_ip & "'" + adors.open query, AdoConn_cati, 1 + + 'response.Write query + if adors.recordcount > 0 Then + client_id = adors("client_id") + ani_num = adors("external_no") + extension = adors("internal_no") + end If + +' dim s_query +' dim s_adors +' s_query = "select * from T_external_number where user_code = 'IT' and useFlag='0' order by newid() " +' s_adors.open s_query, AdoConn_cati, 1 +' if s_adors.recordcount>0 Then +' ani_num = s_adors("num") '발신번호 가져오기 +' End If + + dn = request("dn") + p_child_sn = request("p_child_sn") + s_area = request("s_area") + s_type = request("tmp_s_type") + s_id = request("s_id") + inspection_name = request("inspection_name") +%> + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + \ No newline at end of file diff --git a/contact/dll/mytro.CTI.cab b/contact/dll/mytro.CTI.cab new file mode 100644 index 0000000..458c6cd Binary files /dev/null and b/contact/dll/mytro.CTI.cab differ diff --git a/contact/imgs/btn_move_back.jpg b/contact/imgs/btn_move_back.jpg new file mode 100644 index 0000000..2cc6892 Binary files /dev/null and b/contact/imgs/btn_move_back.jpg differ diff --git a/contact/imgs/btn_smallexcel.gif b/contact/imgs/btn_smallexcel.gif new file mode 100644 index 0000000..f60fba8 Binary files /dev/null and b/contact/imgs/btn_smallexcel.gif differ diff --git a/contact/inc_bottom.asp b/contact/inc_bottom.asp new file mode 100644 index 0000000..82e38f5 --- /dev/null +++ b/contact/inc_bottom.asp @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + +<% +set Adors = nothing + +AdoConn.close +set AdoConn = nothing +%> + + diff --git a/contact/inc_bottom_script.asp b/contact/inc_bottom_script.asp new file mode 100644 index 0000000..767d188 --- /dev/null +++ b/contact/inc_bottom_script.asp @@ -0,0 +1,34 @@ + + diff --git a/contact/inc_list.asp b/contact/inc_list.asp new file mode 100644 index 0000000..c46cef9 --- /dev/null +++ b/contact/inc_list.asp @@ -0,0 +1,1600 @@ + + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +''단, (chasu_use_chk = 'yes')문� �용하여 사용여부 �단...(값� no �것들� 컨�결과를 �괄�으로 지정� 했기� 컨�� 하면 안�기�) + + + set adors2 = server.CreateObject("ADODB.RECORDSET") + set adors_tmp = server.CreateObject("ADODB.RECORDSET") + + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim kikoan_name '쿼터용 기관명 + dim categori_01, categori_02, categori_03 '쿼터용 기관 카테고리(대,중,소) + dim kikoan_area '�답� 지역 + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim dn '�답� 전화번호 + dim field_area_name() + dim tel_num(2) + dim chasu + dim key_id + dim login_id + dim interview_date(13) + + interview_date(1) = "없�(거절 등)" + interview_date(2) = "2013-11-11 ~ 2013-11-16" + interview_date(3) = "2013-11-18 ~ 2013-11-23" + interview_date(4) = "2013-11-25 ~ 2013-11-30" + interview_date(5) = "2013-12-02 ~ 2013-12-07" + interview_date(6) = "2013-12-09 ~ 2013-12-14" + interview_date(7) = "2013-12-16 ~ 2013-12-21" + interview_date(8) = "2013-12-23 ~ 2013-12-28" + interview_date(9) = "2013-12-30 ~ 2014-01-04" + interview_date(10) = "2014-01-06 ~ 2014-01-11" + interview_date(11) = "2014-01-13 ~ 2014-01-18" + interview_date(12) = "2014-01-20 ~ 2014-01-25" + interview_date(13) = "2014-01-27 ~ 2014-02-01" + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + add_item1 = trim(request("add_item1")) + add_item2 = trim(request("add_item2")) + add_item3 = trim(request("add_item3")) + add_item4 = trim(request("add_item4")) + add_item5 = trim(request("add_item5")) + add_item6 = trim(request("add_item6")) + add_item7 = trim(request("add_item7")) + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + command = request("command") + 'contac_stat = 99 '�단 컨�중으로 + contac_stat = trim(request("contac_stat")) + quota_area = request("quota_area") + + sex = "" + age = 0 + +' response.write "kikoan_name : " & kikoan_name & "
" +' response.write "kikoan_id : " & kikoan_id & "
" +' response.write "login_area : " & login_area & "
" +' response.write "quota_area : " & quota_area & "
" +' response.write "contac_area : " & contac_area & "
" +' response.write "categori_name_01 : " & categori_name_01 & "
" +' response.write "categori_name_02 : " & categori_name_02 & "
" +' response.write "categori_name_03 : " & categori_name_03 & "
" +' response.write "categori_name_04 : " & categori_name_04 & "
" +' response.write "categori_name_05 : " & categori_name_05 & "
" +' response.write "categori_name_06 : " & categori_name_06 & "
" +' response.write "categori_name_07 : " & categori_name_07 & "
" +' response.write "categori_label_01 : " & categori_label_01 & "
" +' response.write "categori_label_02 : " & categori_label_02 & "
" +' response.write "categori_label_03 : " & categori_label_03 & "
" +' response.write "categori_label_04 : " & categori_label_04 & "
" +' response.write "categori_label_05 : " & categori_label_05 & "
" +' response.write "categori_label_06 : " & categori_label_06 & "
" +' response.write "categori_label_07 : " & categori_label_07 & "
" +' response.write "categori_01 : " & categori_01 & "
" +' response.write "categori_02 : " & categori_02 & "
" +' response.write "categori_03 : " & categori_03 & "
" +' response.write "categori_04 : " & categori_04 & "
" +' response.write "categori_05 : " & categori_05 & "
" +' response.write "categori_06 : " & categori_06 & "
" +' response.write "categori_07 : " & categori_07 & "
" +' response.write "categori_cnt : " & categori_cnt & "
" + +' response.write "" + + if command = "search" then + query = "select * from list where id = '" & request("key_id") & "' and chasu_use_chk = 'yes'" + adors2.open query, adoconn, 1 + kikoan_name = adors2("kikoan_name") + + if trim(adors2("categori_01")) <> "" then + categori_cnt = 1 + categori_01 = adors2("categori_01") + else + categori_01 = "" + end If + + if trim(adors2("categori_02")) <> "" then + categori_cnt = 2 + categori_02 = adors2("categori_02") + else + categori_02 = "" + end If + + if trim(adors2("categori_03")) <> "" then + categori_cnt = 3 + categori_03 = adors2("categori_03") + else + categori_03 = "" + end If + + if trim(adors2("categori_04")) <> "" then + categori_cnt = 4 + categori_04 = adors2("categori_04") + else + categori_04 = "" + end If + + if trim(adors2("categori_05")) <> "" then + categori_cnt = 5 + categori_05 = adors2("categori_05") + else + categori_05 = "" + end If + + if trim(adors2("categori_06")) <> "" then + categori_cnt = 6 + categori_06 = adors2("categori_06") + else + categori_06 = "" + end If + + if trim(adors2("categori_07")) <> "" then + categori_cnt = 7 + categori_07 = adors2("categori_07") + else + categori_07 = "" + end If + + contac_area = adors2("contac_area") + adors2.close + end if + + query = "select * from kikoan_list where kikoan_name = '" & kikoan_name & "' " + adors.open query, adoconn, 1 +' Response.Write "
" & query & "
" + +' Response.Write "'" & adors("chasu") & "'
" + chasu = split(adors("chasu"), ",") + contac_tel_cnt = adors("contac_tel_cnt") + project_type = adors("project_type") + + adors.close + + query = "select top 1 * from list " + where_query_01 = " where kikoan_name = '" & kikoan_name & "' " + ' & _ "and categori_01 = '" & categori_01 & "' " + + if cint(categori_cnt) >= 1 then + where_query_01 = where_query_01 & "and categori_01 = '" & categori_01 & "' " + end If + + if cint(categori_cnt) >= 2 then + where_query_01 = where_query_01 & "and categori_02 = '" & categori_02 & "' " + end If + + if cint(categori_cnt) >= 3 then + where_query_01 = where_query_01 & "and categori_03 = '" & categori_03 & "' " + end If + + if cint(categori_cnt) >= 4 then + where_query_01 = where_query_01 & "and categori_04 = '" & categori_04 & "' " + end If + + if cint(categori_cnt) >= 5 then + where_query_01 = where_query_01 & "and categori_05 = '" & categori_05 & "' " + end If + + if cint(categori_cnt) >= 6 then + where_query_01 = where_query_01 & "and categori_06 = '" & categori_06 & "' " + end If + + if cint(categori_cnt) >= 7 then + where_query_01 = where_query_01 & "and categori_07 = '" & categori_07 & "' " + end If + + if command <> "search" then +' where_query_01 = where_query_01 & "and quota_area = '" & quota_area & "' " +' where_query_01 = where_query_01 & "and quota_area = '" & login_area & "' " + where_query_01 = where_query_01 + end if + + ''차수 구분 � 전화걸기 최대횟수 + where_query_02 = " and (chasu = '�표본') and (chasu_use_chk = 'yes') " + + 'response.write "contac_stat : " & contac_stat + + if command = "search" Then + query = "select * from list where id = " & request("key_id") + Else + If contac_stat = 0 Then + call_count_query = "and contac_tel_cnt = 0 " + re_query = query + 'query = query & where_query_01 & where_query_02 & call_count_query & " and contac_area = '" & contac_area & "' " & _ + ' "and contac_stat = 0 " & _ + ' " and prj_year = '" & Prj_Year & "' " & _ + ' " order by convert(int, list_id)" + + query = query & where_query_01 & where_query_02 & call_count_query & _ + "and contac_stat = 0 " & _ + " and prj_year = '" & Prj_Year & "' and contactor = 'no' " & _ + " order by listcall_index, convert(int, list_id)" + Else + 'call_count_query = "and contac_tel_cnt = 1 " + re_query = query + 'query = query & where_query_01 & where_query_02 & call_count_query & " and contac_area = '" & contac_area & "' " & _ + ' "and contac_stat = 0 " & _ + ' " and prj_year = '" & Prj_Year & "' " & _ + ' " order by convert(int, list_id)" + + query = query & where_query_01 & where_query_02 & _ + "and contac_stat = " & contac_stat & _ + " and prj_year = '" & Prj_Year & "' " & _ + " and contactor <> '" & login_name & "' " & _ + " and rechecker = '' " & _ + " order by listcall_index, convert(int, list_id)" + End if + end If + +' response.write "????????? query : " & query & " // categori_cnt : " & categori_cnt & "
" + + adors.open query, adoconn, 1 + ''5바퀴 �리기 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 0"," contac_tel_cnt = 1") +' query = replace(query," contac_stat = 0"," (contac_stat = 3 or contac_stat = 4 or contac_stat = 5 or contac_stat = 10)") +' +' adors.close +' adors.open query, adoconn, 1 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 1"," contac_tel_cnt = 2") +' adors.close +' adors.open query, adoconn, 1 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 2"," contac_tel_cnt = 3") +' adors.close +' adors.open query, adoconn, 1 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 3"," contac_tel_cnt = 4") +' adors.close +' adors.open query, adoconn, 1 +' end if +' end if +' end if +' end If + +' if adors.recordcount < 1 then'' +' ''�표본 5회까지 통화 했으면 2차표본 사용하기 +' query = re_query +' where_query_02 = " and (chasu = '2차표본') and (chasu_use_chk = 'yes') " +' call_count_query = "and contac_tel_cnt = 0" +' query = query & where_query_01 & where_query_02 & call_count_query & " and contac_area = '" & contac_area & "' " & _ +' "and contac_stat = 0 " & _ +' " and prj_year = '" & Prj_Year & "' " & _ +' " order by convert(int, list_id)" +' adors.close +' adors.open query, adoconn, 1 +' ''3바퀴 �리기 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 0"," contac_tel_cnt = 1") +' query = replace(query," contac_stat = 0"," (contac_stat = 3 or contac_stat = 4 or contac_stat = 5 or contac_stat = 10)") +' adors.close +' adors.open query, adoconn, 1 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 1"," contac_tel_cnt = 2") +' adors.close +' adors.open query, adoconn, 1 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 2"," contac_tel_cnt = 3") +' adors.close +' adors.open query, adoconn, 1 +' if adors.recordcount < 1 then +' query = replace(query," contac_tel_cnt = 3"," contac_tel_cnt = 4") +' adors.close +' adors.open query, adoconn, 1 +' end if +' end if +' end if +' end if +' end if + + if adors.recordcount >= 1 then + if Request.ServerVariables("remote_addr") = "10.10.14.53" then +' Response.Write "
" & query & "
" +' Response.Write "
" & adors.recordcount & "
" + end if + tel_num(1) = adors("tel1") + tel_num(2) = adors("tel2") + + for i = 1 to 2 + tel_num(i) = replace(tel_num(i), "-", "") + tel_num(i) = replace(tel_num(i), ".", "") + tel_num(i) = replace(tel_num(i), " ", "") + if mid(tel_num(i),1,2)= "02" then + tel_num(i) = mid(tel_num(i),3) + end if + next + + + if trim(tel_num(1)) = "" then + tel_num(1) = tel_num(2) + tel_num(2) = "" + end if + tel_num(0) = 0 '�단 개� 전화번호�고 가정 + for i = 1 to 2 + if trim(tel_num(i)) <> "" then + tel_num(0) = cint(tel_num(0)) + 1 + end if + next + + dn = tel_num(1) + key_id = adors("id") + contac_stat = adors("contac_stat") + quota_area = adors("quota_area") + interview_date(0) = adors("interview_date") + interview_area = adors("interview_area") + contac_remark = adors("contac_remark") + add_item1 = adors("add_item1") + add_item2 = adors("add_item2") + add_item3 = adors("add_item3") + add_item4 = adors("add_item4") + add_item5 = adors("add_item5") + add_item6 = adors("add_item6") + add_item7 = adors("add_item7") + + If adors("sex") <> "" then + If CStr(adors("sex")) = "1" Then + sex = "남" + ElseIf CStr(adors("sex")) = "2" Then + sex = "여" + Else + sex = adors("sex") + End If + End if + + If adors("bitrh_year") <> "" Then + If IsNumeric(adors("bitrh_year")) Then + age = CInt(adors("prj_year"))-CInt(adors("bitrh_year"))+1 + Else + age = adors("prj_year") + End if + End If + + ' Response.Write contac_stat & "
" + '�단 가져왔다고 표시 + query = "update list set contac_stat = " & contac_stat & ", " & _ + "contac_date = '" & formatdatetime(date,2) & "', " & _ + "contac_time = '" & formatdatetime(time,4) & "', " & _ + "contactor = '" & login_name & "', " & _ + "rechecker = '" & login_name & "' " & _ + " where id = " & key_id + adoconn.execute query + +' query = "select field_area from list " & where_query_01 & where_query_02 & " group by field_area order by field_area" +' adors_tmp.open query, adoconn, 1 +' redim field_area_name(adors_tmp.recordcount) +' i = 0 +' do while not adors_tmp.eof +' i = i + 1 +' field_area_name(i) = adors_tmp("field_area") +' adors_tmp.movenext +' loop +' adors_tmp.close +''필드지역 선�용 + + query = "select field_area from list where kikoan_name = '" & kikoan_name & "' group by field_area order by field_area" + adors_tmp.open query, adoconn, 1 + i = adors_tmp.recordcount + redim field_area_name(i) + i = 0 + do while not adors_tmp.eof + i = i + 1 + field_area_name(i) = adors_tmp("field_area") + adors_tmp.movenext + loop + adors_tmp.close + + ''//============= + ''log 저장 + if command = "search" then + tmp_type = "검색�서 " + else + tmp_type = "" + end If + + query = "insert into log (key_id, kikoan_name, " & _ + "categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07, quota_area, " & _ + "list_id, tel_num, user_id, log_date, log_time, log_ip, asp_file_name, contac_stat, log_stat, prj_year) values (" & _ + "'" & key_id & "', " & _ + "'" & kikoan_name & "', " & _ + "'" & categori_01 & "', " & _ + "'" & categori_02 & "', " & _ + "'" & categori_03 & "', " & _ + "'" & categori_04 & "', " & _ + "'" & categori_05 & "', " & _ + "'" & categori_06 & "', " & _ + "'" & categori_07 & "', " & _ + "'" & quota_area & "', " & _ + "'" & adors("list_id") & "', " & _ + "'" & dn & "', " & _ + "'" & login_id & "', " & _ + "'" & formatdatetime(date, 2) & "', " & _ + "'" & formatdatetime(time, 4) & "', " & _ + "'" & Request.ServerVariables("remote_addr") & "', " & _ + "'inc_list.asp', " & _ + "99, " & _ + "'" & tmp_type & "1개 리스트 가져오기', " & _ + "'" & prj_year & "')" + ' Response.Write query + adoconn.execute query + + + %> + + + + + + <% + '쿼터� 대한 쿼리를 가져오는 부분 + 'query = "select * from quota " & where_query_01 + + 'if command = "search" then + ' query = query & " and quota_area = '" & quota_area & "'" + 'end If + + 'response.write query + 'adors_tmp.open query, adoconn, 1 + %> + + <% + 'adors_tmp.close + %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
리스트 id + + 사업체명 + + 성명(대표�) + + 업체지역 + +
�위(급) + + 나� + + 성별 + + 출�년� + +
�메�1 + + �메�2 + +
�메�1 수정 + 예 + 아니요 + �메�1 수정 + + �메�2 수정 + 예 + 아니요 + �메�2 수정 + +
유선번호 수정 + 예 + 아니요 + 유선번호 수정 + + 무선번호 수정 + 예 + 아니요 + 무선번호 수정 + +
주소 + + 주소 수정 + +
업체명 수정 + + 성명 수정 + + �위(급) 수정 + + 성별 수정 + +
+ + + + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 1 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category01_cnt = adors2.recordcount + category01_name = "" + + if category01_cnt > 0 Then + category01_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 1 AND category_code = '" & adors("categori_01") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_01 = adors2("category_name") + categori_category_label_01 = adors2("category_label") + Else + categori_name_01 = "" + categori_category_label_01 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 2 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category02_cnt = adors2.recordcount + category02_name = "" + + if category02_cnt > 0 Then + category02_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 2 AND category_code = '" & adors("categori_02") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_02 = adors2("category_name") + categori_category_label_02 = adors2("category_label") + Else + categori_name_02 = "" + categori_category_label_02 = "" + End if + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> + + + <% + query = "SELECT category_name FROM category_code where category_index = 3 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category03_cnt = adors2.recordcount + category03_name = "" + + if category03_cnt > 0 Then + category03_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 3 AND category_code = '" & adors("categori_03") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_03 = adors2("category_name") + categori_category_label_03 = adors2("category_label") + Else + categori_name_03 = "" + categori_category_label_03 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 4 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category04_cnt = adors2.recordcount + category04_name = "" + + if category04_cnt > 0 Then + category04_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 4 AND category_code = '" & adors("categori_04") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_04 = adors2("category_name") + categori_category_label_04 = adors2("category_label") + Else + categori_name_04 = "" + categori_category_label_04 = "" + End if + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> + + + <% + query = "SELECT category_name FROM category_code where category_index = 5 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category05_cnt = adors2.recordcount + category05_name = "" + + if category05_cnt > 0 Then + category05_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 5 AND category_code = '" & adors("categori_05") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_05 = adors2("category_name") + categori_category_label_05 = adors2("category_label") + Else + categori_name_05 = "" + categori_category_label_05 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 6 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category06_cnt = adors2.recordcount + category06_name = "" + + if category06_cnt > 0 Then + category06_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 6 AND category_code = '" & adors("categori_06") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_06 = adors2("category_name") + categori_category_label_06 = adors2("category_label") + Else + categori_name_06 = "" + categori_category_label_06 = "" + End If + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> + + + <% + query = "SELECT category_name FROM category_code where category_index = 7 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category07_cnt = adors2.recordcount + category07_name = "" + + if category07_cnt > 0 Then + category07_name = adors2("category_name") + adors2.close + %> + + <% + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 7 AND category_code = '" & adors("categori_07") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_07 = adors2("category_name") + categori_category_label_07 = adors2("category_label") + Else + categori_name_07 = "" + categori_category_label_07 = "" + End if + %> + + + + + <% + query = "SELECT category_name FROM category_code where category_index = 8 AND kikoan_id = '" & kikoan_id & "' GROUP BY category_name " + adors2.open query, adoconn, 1 + + category08_cnt = adors2.recordcount + category08_name = "" + + if category08_cnt > 0 Then + category08_name = adors2("category_name") + adors2.close + + query = "SELECT id, category_code, category_label, attribute1, attribute2, attribute3, kikoan_id, category_index, category_name " & _ + "FROM category_code where category_index = 8 AND category_code = '" & adors("categori_08") & "' AND kikoan_id = '" & kikoan_id & "' " + adors2.open query, adoconn, 1 + + if adors2.recordcount > 0 then + categori_name_08 = adors2("category_name") + categori_category_label_08 = adors2("category_label") + Else + categori_name_08 = "" + categori_category_label_08 = "" + End If + +' categori_name_08 = adors2("category_name") +' categori_category_label_08 = adors2("category_label") + %> + + + <% + Else + adors2.close + End if + %> + + <% + Else + adors2.close + End if + %> +
분류1(<%=category01_name%>) + <%=categori_category_label_01%> + <% + adors2.close + %> + 분류2(<%=category02_name%>) + <%=categori_category_label_02%> + <% + adors2.close + %> +
분류3(<%=category03_name%>) + <%=categori_category_label_03%> + <% + adors2.close + %> + 분류4(<%=category04_name%>) + <%=categori_category_label_04%> + <% + adors2.close + %> +
분류5(<%=category05_name%>) + <%=categori_category_label_05%> + <% + adors2.close + %> + 분류6(<%=category06_name%>) + <%=categori_category_label_06%> + <% + adors2.close + %> +
분류7(<%=category07_name%>) + <%=categori_category_label_07%> + <% + adors2.close + %> + 분류8(<%=category08_name%>) + <%=categori_category_label_08%> + <% + adors2.close + %> +
+ + + + + + + + + + + + + + + + + +
전화번호 + +    + <%if cint(tel_num(0)) = 2 then%> + + + <%end if%> + 변경ë�œ 번호 + 유선 +    + <%if adors("tel_new2") <> "" then%> + 무선 + + <%end if%> + + + +
+ + + <%adors.close%> + + + + + + + + + + + + + + + + <% + If project_type <> "비방문용" then + %> + + + + + + + + + <% + End if + %> + + <% If category01_name <> "" then %> + + + + <% If category02_name <> "" then %> + + + <% End If %> + <% If category03_name <> "" Then %> + + + <% End If %> + + <% End If %> + + <% If category04_name <> "" then %> + + + + <% If category05_name <> "" Then %> + + + <% End If %> + <% If category06_name <> "" then %> + + + <% End If %> + + <% End If %> + + <% If category07_name <> "" Then %> + + + + <% If category08_name <> "" then %> + + + <% End If %> + <% If category09_name <> "" then %> + + + <% End If %> + + <% End If %> + + + + +
+ 컨� 결과 + 전화 결과 + +
실사 지역 + + �터뷰 날� + + �터뷰 장소 + +
분류1(<%=category01_name%>) + + 분류2(<%=category02_name%>) + + 분류3(<%=category03_name%>) + +
분류4(<%=category04_name%>) + + 분류5(<%=category05_name%>) + + 분류6(<%=category06_name%>) + +
분류7(<%=category07_name%>) + + + + + +
기타(비고) + +
+ + + + + + + + + +
+ +      + +      + + + +
+ + + + + <% + 'query = "select * from log where key_id = " & key_id & " and contac_stat <> 99 and substring(log_stat,1,2) <> '검�'" + query = "select A.*, B.login_name, C.contac_stat_label " & _ + "from log as A LEFT OUTER JOIN login_user as B ON A.user_id = B.id " & _ + "LEFT OUTER JOIN contac_stat as C ON A.contac_stat = C.contac_stat " & _ + "where key_id = '" & key_id & "' and A.contac_stat <> 99 and substring(log_stat,1,2) <> '검�'" + + adors.open query, adoconn, 1 + + 'response.write query + + if adors.recordcount > 0 then + 'tmpstr="전화번호" & vbtab & vbtab & "��" & vbtab & vbtab & "시간" & vbtab & "컨�결과" & vbtab & "컨��" & vbcrlf + tmpstr= vbcrlf + end If + + Dim i + i = 1 + do while not adors.eof + 'tmpstr = tmpstr & adors("tel_num") & vbtab & vbtab & _ + ' adors("log_date") & vbtab & vbtab & _ + ' adors("log_time") & vbtab & _ + ' adors("contac_stat") & vbtab & _ + ' adors("user_id") & vbcrlf + + tmpstr = tmpstr & i & "번 : " & "전화시�날짜 : " & adors("log_date") & vbtab & _ + "전화시�시간 : " & adors("log_time") & vbtab & _ + "컨�� : " & adors("login_name") & vbtab & _ + "컨�결과 : " & adors("contac_stat_label") & vbcrlf + adors.movenext + i = i + 1 + loop + adors.close + + %> + + + + + + + +
전화 건 히스토리 + +
+ + + + + <%else%> + + + + + + + + + + +
���� 리스트가 없습니다. 다른 항목� 선�하세요.
+ +                 + + +      + +
+ + + + <%end if%> + + + \ No newline at end of file diff --git a/contact/inc_list_save.asp b/contact/inc_list_save.asp new file mode 100644 index 0000000..268a10c --- /dev/null +++ b/contact/inc_list_save.asp @@ -0,0 +1,204 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''컨�성공�서 다른 값으로 바뀔경우 쿼터테�블� 컨�성공부수�서 1개 빼기 + + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim kikoan_name '쿼터용 기관명 + dim categori_01, categori_02, categori_03 '쿼터용 기관 카테고리(대,중,소) + dim kikoan_area '�답� 지역 + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim dn '�답� 전화번호 + dim field_area_name() + dim tel_num(2) + dim chasu + dim id + dim login_id + + login_id = trim(request("login_id")) + + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + key_id = Request("key_id") + categori_cnt = request("categori_cnt") + + add_item1 = trim(request("add_item1")) + add_item2 = trim(request("add_item2")) + add_item3 = trim(request("add_item3")) + add_item4 = trim(request("add_item4")) + add_item5 = trim(request("add_item5")) + add_item6 = trim(request("add_item6")) + add_item7 = trim(request("add_item7")) + + quota_area = request("quota_area") + + + field_area = request("field_area") + save_contac_stat = trim(request("save_contac_stat")) + contac_stat = request("contac_stat") + interview_date = request("interview_date") + interview_area = request("interview_area") + contac_remark = Replace(request("contac_remark"), "'", "") + comp_addr_new = request("comp_addr_new") + email_new = request("email_new") + email_new2 = request("email_new2") + tel_new = request("tel_new") + tel_new2 = request("tel_new2") + + comp_name_new = request("comp_name_new") + name_new = request("name_new") + comp_area_new = request("comp_area_new") + sex_new = request("sex_new") + + + tel_num_sel = request("tel_num_sel") + if cint(tel_num_sel) = 1 then + contac_ok_tel = request("tel1") + else + contac_ok_tel = request("tel2") + end if + +' if trim(comp_addr_new) = "" then +' comp_addr_new = request("comp_addr") +' end if + + + ''수정� 경우 기존� 컨�결과값� 알아야 � + query = "select * from list where id = " & key_id + adors.open query, adoconn, 1 + pre_contac_stat = adors("contac_stat") + adors.close + + + query = "update list set " & _ + "contac_stat = " & save_contac_stat & ", " & _ + "contac_tel_cnt = contac_tel_cnt + 1, " & _ + "contac_ok_tel = '" & contac_ok_tel & "', " & _ + "comp_addr_new = '" & comp_addr_new & "', " & _ + "email_new = '" & email_new & "', " & _ + "email_new2 = '" & email_new2 & "', " & _ + "tel_new = '" & tel_new & "', " & _ + "tel_new2 = '" & tel_new2 & "', " & _ + "field_area = '" & field_area & "', " & _ + "contac_remark = '" & contac_remark & "', " & _ + "interview_date = '" & interview_date & "', " & _ + "interview_area = '" & interview_area & "', " & _ + "add_item1 = '" & add_item1 & "', " & _ + "add_item2 = '" & add_item2 & "', " & _ + "add_item3 = '" & add_item3 & "', " & _ + "add_item4 = '" & add_item4 & "', " & _ + "add_item5 = '" & add_item5 & "', " & _ + "add_item6 = '" & add_item6 & "', " & _ + "add_item7 = '" & add_item7 & "', " & _ + "comp_name_new = '" & comp_name_new & "', " & _ + "name_new = '" & name_new & "', " & _ + "comp_area_new = '" & comp_area_new & "', " & _ + "sex_new = '" & sex_new & "' " & _ + + "where id = " & key_id & " and prj_year = '" & prj_year & "'" + + 'Response.Write query & "
" + + adoconn.execute query + +''//============= +''log 저장 + query = "insert into log (key_id, kikoan_name, " & _ + "categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07, quota_area, " & _ + "list_id, tel_num, user_id, log_date, log_time, log_ip, asp_file_name, contac_stat, log_stat, prj_year) values (" & _ + "'" & key_id & "', " & _ + "'" & kikoan_name & "', " & _ + "'" & categori_01 & "', " & _ + "'" & categori_02 & "', " & _ + "'" & categori_03 & "', " & _ + "'" & categori_04 & "', " & _ + "'" & categori_05 & "', " & _ + "'" & categori_06 & "', " & _ + "'" & categori_07 & "', " & _ + "'" & quota_area & "', " & _ + "'" & request("list_id") & "', " & _ + "'" & contac_ok_tel & "', " & _ + "'" & login_id & "', " & _ + "'" & formatdatetime(date, 2) & "', " & _ + "'" & formatdatetime(time, 4) & "', " & _ + "'" & Request.ServerVariables("remote_addr") & "', " & _ + "'inc_list_save.asp', " & _ + contac_stat & ", " & _ + "'컨�결과 저장', " & _ + "'" & prj_year & "')" + 'Response.Write query + adoconn.execute query + + + where_query = "where kikoan_name = '" & kikoan_name & "' " & _ + "and categori_01 = '" & categori_01 & "' " + if cint(categori_cnt) >= 2 then + where_query = where_query & "and categori_02 = '" & categori_02 & "' " + end if + if cint(categori_cnt) >= 3 then + where_query = where_query & "and categori_03 = '" & categori_03 & "' " + end if + if cint(categori_cnt) >= 4 then + where_query = where_query & "and categori_04 = '" & categori_04 & "' " + end if + if cint(categori_cnt) >= 5 then + where_query = where_query & "and categori_05 = '" & categori_05 & "' " + end if + if cint(categori_cnt) >= 6 then + where_query = where_query & "and categori_06 = '" & categori_06 & "' " + end if + if cint(categori_cnt) >= 7 then + where_query = where_query & "and categori_07 = '" & categori_07 & "' " + end if + + '%> + + + + + +
+ + + + + +
+ 저장 성공 +
+
+ + + + \ No newline at end of file diff --git a/contact/inc_top.asp b/contact/inc_top.asp new file mode 100644 index 0000000..95e31fd --- /dev/null +++ b/contact/inc_top.asp @@ -0,0 +1,108 @@ + + + + +코리아리서치 Web Survey + + + + +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/include/calendar.html b/contact/include/calendar.html new file mode 100644 index 0000000..14ea258 --- /dev/null +++ b/contact/include/calendar.html @@ -0,0 +1,267 @@ + + + + +KRI WEB CALENDAR + + + + + + + + + diff --git a/contact/include/calendar2.asp b/contact/include/calendar2.asp new file mode 100644 index 0000000..f12b03e --- /dev/null +++ b/contact/include/calendar2.asp @@ -0,0 +1,111 @@ +<%@ Language=VBScript%> +<% +''³âµµ¿Í ¿ù¸¸ º¸À̱â¿ë ´Þ·Â.. + + Response.Buffer = true + + target = request("x") +%> + + + + + + diff --git a/contact/include/calendar_month.html b/contact/include/calendar_month.html new file mode 100644 index 0000000..bd73a21 --- /dev/null +++ b/contact/include/calendar_month.html @@ -0,0 +1,198 @@ + + +KRI WEB CALENDAR + + + + + + + + + \ No newline at end of file diff --git a/contact/lib/config.asp b/contact/lib/config.asp new file mode 100644 index 0000000..91eb181 --- /dev/null +++ b/contact/lib/config.asp @@ -0,0 +1,44 @@ +<% @CODEPAGE="65001" language="VBScript" %> +<% +Dim SV_NAME,DB_NAME , UID, PWD, ConnectString, AdoConn +dim Prj_Year '프로ì �트 ì—°ë�„(DB í…Œì�´ë¸”ì�˜ 키 중 ì�¼ë¶€ +dim admin_ip +dim adors +dim adorsCategory +dim domain_url + +'SV_NAME="10.10.13.200" +'UID = "sa" +'PWD = "krco#51304" + +SV_NAME="10.10.11.6" +UID = "sa" +PWD = "krco#51304" + +DB_NAME = "contact" +prj_year = "2014" + +if mid(Request.ServerVariables("remote_addr"), 1, 6) = "10.10." then + domain_url = "http://10.10.10.7" +else + domain_url = "http://localhost" +end if +admin_ip = "10.10.17.53" + +''kmac db +ConnectString = "Provider=SQLOLEDB.1;Password=" & PWD & ";Persist Security Info=True;User ID=" & UID & ";Initial Catalog=" & DB_NAME & ";Data Source=" & SV_NAME +Set AdoConn = Server.CreateObject("ADODB.Connection") +AdoConn.Open ConnectString + + +set adors = server.CreateObject("ADODB.RECORDSET") +set adorsCategory = server.CreateObject("ADODB.RECORDSET") + + +'경고 메세지 보여주기 + Function Alert(msg) + msg = replace(msg, "'", " ") + Response.Write "" +' Response.End + End Function +%> diff --git a/contact/listView.asp b/contact/listView.asp new file mode 100644 index 0000000..231d627 --- /dev/null +++ b/contact/listView.asp @@ -0,0 +1,299 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''///============= +''1. svê°€ 로그ì�¸ 후 해당 해당 컨íƒ�지역ì�˜ 기관리스트를 ë³´ì—¬ 주기 +''2. 기관ì�„ ì„ íƒ� 후 컨íƒ�ì�€ 완료 ë�œ ìƒ�태ì�´ë‚˜ ë©´ì ‘ì›�ì�´ ë°°ì • ë�˜ì§€ 않ì�€ 리스트를 보여주기 +''3. 리스트를 ì„ íƒ� 후 ë©´ì ‘ì›� ë°°ì • ë°� ë©´ì ‘ì›�ì—�게 ìž�ë�™ sms 발송 +''4. ìž�료 다운로드 가능하게 + + dim i + dim Query + + dim login_pwd + dim login_name '로그ì�¸ ì•„ì�´ë”” + dim login_area '로그ì�¸ 지역 + dim login_type '로그ì�¸ 타입(관리ìž�, sv,ë©´ì ‘ì›�, 컨íƒ�ì›� 등) + dim field_area + dim login_id + dim command + dim myun_cnt + + command = request("command") + login_id = trim(request("login_id")) + + + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + +' Response.write "kikoan_id : " & kikoan_id & "
" +' Response.write "kikoan_name : " & kikoan_name & "
" + + if trim(request("opt")) = "0" then + field_area = "" + comp_area = "" + elseif trim(request("opt")) = "1" then + field_area = trim(request("field_area")) + comp_area = "" + else + field_area = trim(request("field_area")) + comp_area = trim(request("comp_area")) + end if + +'///============================================== +''엑셀형�으로 ��으로 저장 + if command = "excel" then +' Response.Buffer = false + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=" & kikoan_name & "_필드지역_" & field_area & "_주소지역_" & comp_area & "_" & replace(formatdatetime(date,2),"-","") & ".xls" + end if + '%> + + + + + +KRC - 컨� + + + + + + + +
+ + + + + +
+ + + + + + + +
+ <%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (inc_top.asp) + <%end if%> +
+
+ + + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + + + 로그� 유형 + + 프로�트명 + +
�리번호 + + 내선번호 + + 발신번호 + +
+
+ <%if command <> "excel" then%> + + + + + + + + <%end if'''<%if command <> "excel" then%> + + + + +<%if command <> "excel" then%> + +<%end if'<%if command <> "excel" then%> + + \ No newline at end of file diff --git a/contact/listView_excel.asp b/contact/listView_excel.asp new file mode 100644 index 0000000..7e00b93 --- /dev/null +++ b/contact/listView_excel.asp @@ -0,0 +1,334 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''///============= +''1. sv가 로그� 후 해당 해당 컨�지역� 기관리스트를 보여 주기 +''2. 기관� 선� 후 컨�� 완료 � �태�나 면접�� 배정 �지 않� 리스트를 보여주기 +''3. 리스트를 선� 후 면접� 배정 � 면접��게 �� sms 발송 +''4. �료 다운로드 가능하게 + + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim field_area + dim login_id + dim command + dim myun_cnt + + command = request("command") + login_id = trim(request("login_id")) + + + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + +' Response.write "kikoan_id : " & kikoan_id & "
" +' Response.write "kikoan_name : " & kikoan_name & "
" + + if trim(request("opt")) = "0" then + field_area = "" + comp_area = "" + elseif trim(request("opt")) = "1" then + field_area = trim(request("field_area")) + comp_area = "" + else + field_area = trim(request("field_area")) + comp_area = trim(request("comp_area")) + end if + +'///============================================== +''엑셀형�으로 ��으로 저장 + if command = "excel" then +' Response.Buffer = false + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=" & kikoan_name & "_필드지역_" & field_area & "_주소지역_" & comp_area & "_" & replace(formatdatetime(date,2),"-","") & ".xls" + end if + '%> + + + + + +KRC - 컨� + + + + + + + +
+ <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (listView.asp) + <%end if%> +
+ + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + + + +
+
+ + + + + +
+ + + + + +<%end if '<%if command <> "excel" then%> + <%if kikoan_name <> "" then %> + + + + <%end if ''if kikoan_name <> "" and field_area <> "" %> +
+ +<%if command <> "excel" then%> + + + + + + + + + + + + + + + + <%if kikoan_name <> "" then%> + <%end if''''if kikoan_name <> "" then%> + + + +
리스트 보기
<%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (listView.asp) + <%end if%> + +
기관(필드 지역=<%=login_area%>) + + +
+ +
+
+ + + <%if command <> "excel" then%> + + <%end if''<%if command <> "excel" then%> + + + + + + + + + + + + + + + + + + <% + query = "SELECT category_index, category_name " & _ + "FROM category_code where kikoan_id = '" & kikoan_id & "' " & _ + "GROUP BY category_index, category_name " + + adorsCategory.open query, adoconn, 1 + + 'response.write "ã…‹ã…‹ã…‹ã…‹ã…‹ã…‹ã…‹ã…‹ã…‹ã…‹ : " & query + + dim category_index(7) + dim category_name(7) + dim category_cnt + + category_cnt = 1 + + do while not adorsCategory.eof + category_index(category_cnt) = adorsCategory("category_index") + category_name(category_cnt) = adorsCategory("category_name") + category_cnt = category_cnt + 1 + %> + + <% + adorsCategory.movenext + loop + adorsCategory.close + + for i = 1 to category_cnt-1 + %> + + <% + next + %> + + <%query = "select A.*, C.contac_stat_label from list as A LEFT OUTER JOIN contac_stat as C ON A.contac_stat = C.contac_stat AND C.kikoan_id = '" & kikoan_id & "' " + where_query = " where kikoan_name = '" & kikoan_name & "' "' & "and field_area = '" & login_area & "' " + adors.open query & where_query & " order by id", adoconn, 1 +' response.write query + myun_cnt = 0 + do while not adors.eof + myun_cnt = myun_cnt + 1 + adors.movenext + Loop + %> + + + + <%adors.close%> +
선�리스트 id쿼터 지역회사명�위�름전화 1전화 2주소 지역리스트 주소변경 주소컨��컨� ��컨� 시�전화 결과�터뷰 예약날짜�터뷰 장소커� 기타사항<%=adorsCategory("category_name")%>변경 <%=category_name(i)%>
+ <%=myun_cnt%>건� 리스트가 조회 �었습니다. 엑셀 다운로드 하십시오. +
+
+
+
+ <%if command <> "excel" then%> + + + + + + + + <%end if'''<%if command <> "excel" then%> + + + + +<%if command <> "excel" then%> + +<%end if'<%if command <> "excel" then%> + + \ No newline at end of file diff --git a/contact/login.asp b/contact/login.asp new file mode 100644 index 0000000..433d8af --- /dev/null +++ b/contact/login.asp @@ -0,0 +1,124 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +%> + + + + + + + Korea Research Center 컨�/면접�/검� 관리 - 로그� + + + + + + + + + +
+ <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (listView.asp) + <%end if%> +
+ + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + + + +
+
+ + + + + +
+ + + + + +<%end if '<%if command <> "excel" then%> + <%if kikoan_name <> "" then %> + + + + <%end if ''if kikoan_name <> "" and field_area <> "" %> +
+ +<%if command <> "excel" then%> + + + + + + + + + + + + + + + + <%if kikoan_name <> "" then%> + <%end if''''if kikoan_name <> "" then%> + + + +
리스트 보기
<%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (listView.asp) + <%end if%> + +
기관(필드 지역=<%=login_area%>) + +
+ +
+
+ + + <%if command <> "excel" then%> + + <%end if''<%if command <> "excel" then%> + + + + + + + + + + + + + + + + + + <% + query = "SELECT category_index, category_name " & _ + "FROM category_code where kikoan_id = '" & kikoan_id & "' " & _ + "GROUP BY category_index, category_name " + + adorsCategory.open query, adoconn, 1 + + dim category_index(7) + dim category_name(7) + dim category_cnt + + category_cnt = 1 + + do while not adorsCategory.eof + category_index(category_cnt) = adorsCategory("category_index") + category_name(category_cnt) = adorsCategory("category_name") + category_cnt = category_cnt + 1 + %> + + <% + adorsCategory.movenext + loop + adorsCategory.close + + for i = 1 to category_cnt-1 + %> + + <% + next + %> + + <% + query = "select A.* " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 1 and category_code = A.categori_01), '') as 'origin_category_01' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 2 and category_code = A.categori_02), '') as 'origin_category_02' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 3 and category_code = A.categori_03), '') as 'origin_category_03' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 4 and category_code = A.categori_04), '') as 'origin_category_04' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 5 and category_code = A.categori_05), '') as 'origin_category_05' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 6 and category_code = A.categori_06), '') as 'origin_category_06' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 7 and category_code = A.categori_07), '') as 'origin_category_07' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 1 and category_code = A.add_item1), '') as 'change_category_01' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 2 and category_code = A.add_item2), '') as 'change_category_02' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 3 and category_code = A.add_item3), '') as 'change_category_03' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 4 and category_code = A.add_item4), '') as 'change_category_04' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 5 and category_code = A.add_item5), '') as 'change_category_05' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 6 and category_code = A.add_item6), '') as 'change_category_06' " & _ + ", isNull((select category_label from category_code where kikoan_id = '" & kikoan_id & "' and category_index = 7 and category_code = A.add_item7), '') as 'change_category_07' " & _ + ", C.contac_stat_label from list as A LEFT OUTER JOIN contac_stat as C ON A.contac_stat = C.contac_stat AND C.kikoan_id = '" & kikoan_id & "' " + where_query = " where kikoan_name = '" & kikoan_name & "' "' & "and field_area = '" & login_area & "' " + adors.open query & where_query & " order by A.id", adoconn, 1 + + 'response.write query + + myun_cnt = 0 + do while not adors.eof + myun_cnt = myun_cnt + 1 + %> + + <%if command <> "excel" then%> + + <%end if'''<%if command <> "excel" then%> + + + + + + + + + + + + + + + + + + <% + for i = 1 to category_cnt-1 + %> + + <% + Next + + for i = 1 to category_cnt-1 + %> + + <% + next + %> + + <%adors.movenext + loop + adors.close%> +
선�리스트 id쿼터 지역회사명�위�름전화 1전화 2주소 지역리스트 주소변경 주소컨��컨� ��컨� 시�전화 결과�터뷰 예약날짜�터뷰 장소커� 기타사항<%=adorsCategory("category_name")%>변경 <%=category_name(i)%>
+ + <%=adors("list_id")%><%=adors("quota_area")%><%=adors("comp_name")%><%=adors("comp_posi")%><%=adors("name")%><%=adors("tel1")%><%=adors("tel2")%><%=adors("comp_area")%><%=adors("comp_addr")%><%=adors("comp_addr_new")%><%=adors("contactor")%><%=adors("contac_date")%><%=adors("contac_time")%><%=adors("contac_stat_label")%><%=adors("interview_date")%><%=adors("interview_area")%><%=adors("contac_remark")%><%=adors("origin_category_0"&CStr(i))%><%=adors("change_category_0"&CStr(i))%>
+
+
+
+ + + +
+ +
+ + + + + + + + + + + +
+ + + + + + + + + + + diff --git a/contact/login_ok.asp b/contact/login_ok.asp new file mode 100644 index 0000000..3157d8c --- /dev/null +++ b/contact/login_ok.asp @@ -0,0 +1,180 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + + +''///============= +''로그� 후 + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim i + dim Query + dim local_ip + dim client_id '면접� �리번호 + dim Makecall_ip_chk + + + login_name = trim(request("login_name")) + login_pwd = trim(request("login_pwd")) + local_ip = Request.ServerVariables("remote_addr") + + + Makecall_ip_chk = "true" + query = "select * from login_user where login_name = '" & login_name & "' and login_pwd = '" & login_pwd & "' and prj_year = '" & prj_year & "'" + + AdoRs.Open query,adoconn, 1 + +' response.Write query & "
" + if adors.recordcount > 1 or adors.recordcount = 0 then + response.Write "" + else + login_id = adors("id") + login_area = adors("login_area") + login_type = lcase(adors("login_type")) + adors.close + + ''cati db(� �리� �리번호 � 발번 가져오기용) - 본사 컨�� 전용 + +''' response.Write "local_ip : "&local_ip&"
" + + If local_ip = "127.0.0.1" Then + local_ip = "10.10.14.53" + End if + + if mid(local_ip,1,6) = "10.10." and (login_type = "컨�" or login_type = "검��" or login_type = "관리�") then '서울 본사만 해당(web version malecall� 사용하기 위해) + ConnectString = "Provider=SQLOLEDB.1;Password=" & PWD & ";Persist Security Info=True;User ID=" & UID & ";Initial Catalog=cati;Data Source=" & SV_NAME + Set AdoConn_cati = Server.CreateObject("ADODB.Connection") + AdoConn_cati.Open ConnectString + query = "select * from client where client_ip = '" & local_ip & "'" + adors.open query, AdoConn_cati, 1 +''' response.Write "query : "&query &"
" + if adors.recordcount = 1 Then + client_id = adors("client_id") + 'ani_num = adors("external_no") + extension = adors("internal_no") + +''' response.Write client_id & " // "&ani_num & " // " & extension + else + Makecall_ip_chk = "false" + end If + + adors.close + + query = "select * from T_external_number where useFlag='0' order by newid()" + adors.open query, AdoConn_cati, 1 + if adors.recordcount > 0 Then + ani_num = adors("num") '발신번호 가져오기 + else + Makecall_ip_chk = "false" + end If + adors.close + + AdoConn_cati.close + set AdoConn_cati = nothing + if mid(local_ip,1,6) = "10.10." then + ''sv가 컨�터 �름으로 sv컴�서 로그�하기� + Makecall_ip_chk = "true" + end if + end if + + + if Makecall_ip_chk = "true" then + '%> + + + + 2013년 공공기관(준정부기관) 고�만족� 조사 - 로그� + + + + + + + +
+ + + + + + + + + + + + +
+ 로그� 성공... + <%if lcase(trim(login_type)) = "admin" then%> + 보고서 작업중.... + <%end if%> +
+
+ + + + + <%else + response.Write "" + + end if'''if ip_chk = "true" then%> + <%end if%> \ No newline at end of file diff --git a/contact/search.asp b/contact/search.asp new file mode 100644 index 0000000..0ea9ecf --- /dev/null +++ b/contact/search.asp @@ -0,0 +1,285 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''///============= +''모든 사람� 검색가능하게 +'기관명� 컨�쿼터가 남� 경우�서 모든 기관명 무조건 보�기로 변경(2013-12-18�) +'' 기관명과 기관리스트아�디, �답� 전화번호 2개 기준 + + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + ani_num = trim(request("ani_num")) + + key_id = trim(request("key_id")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + res_tel1 = trim(request("res_tel1")) + res_tel2 = trim(request("res_tel2")) + res_name = trim(request("res_name")) + + 'Response.Write "id = " & request("id") & "
" + + + + '%> + + + + + +KRC - 컨� + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/search_ok.asp b/contact/search_ok.asp new file mode 100644 index 0000000..70ad252 --- /dev/null +++ b/contact/search_ok.asp @@ -0,0 +1,380 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''///============= +''모든 사람� 검색가능하게 +''단, (chasu_use_chk = 'yes')문� �용하여 사용여부 �단...(값� no �것들� 컨�결과를 �괄�으로 지정� 했기� 컨�� 하면 안�기�) + + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + ani_num = trim(request("ani_num")) + + key_id = trim(request("key_id")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + res_tel1 = trim(request("res_tel1")) + res_tel2 = trim(request("res_tel2")) + res_name = trim(request("res_name")) + + command = request("command") + + list_id = request("list_id") + query = "select a.* " & _ + ", (select category_label from category_code where kikoan_id = 26 and category_index = 1 and category_code = a.categori_01) as 'categori_label01' " & _ + ", (select category_label from category_code where kikoan_id = 26 and category_index = 1 and category_code = a.categori_02) as 'categori_label02' " & _ + ", (select category_label from category_code where kikoan_id = 26 and category_index = 1 and category_code = a.categori_03) as 'categori_label03' " & _ + ", (select category_label from category_code where kikoan_id = 26 and category_index = 1 and category_code = a.categori_04) as 'categori_label04' " & _ + ", (select category_label from category_code where kikoan_id = 26 and category_index = 1 and category_code = a.categori_05) as 'categori_label05' " & _ + ", (select category_label from category_code where kikoan_id = 26 and category_index = 1 and category_code = a.categori_06) as 'categori_label06' " & _ + ", (select category_label from category_code where kikoan_id = 26 and category_index = 1 and category_code = a.categori_07) as 'categori_label07' " & _ + ", b.contac_stat_label from list as a left outer join contac_stat as b on b.kikoan_id = '" & kikoan_id & "' and a.contac_stat = b.contac_stat " + if login_type = "컨�" or login_type = "관리�" then + query = query & "where a.kikoan_name = '" & kikoan_name & "' " & _ + "and a.list_id = " & list_id & " and (a.chasu_use_chk = 'yes') " + else + res_name = trim(request("res_name")) + res_tel1 = trim(request("res_tel1")) + res_tel2 = trim(request("res_tel2")) + query = query & "where " + tmp_query = "" + if res_name <> "" then + tmp_query = "name = '" & res_name & "' " + end if + if res_tel1 <> "" then + if tmp_query = "" then + tmp_query = "tel1 = '" & res_tel1 & "' " + else + tmp_query = tmp_query & " or tel1 = '" & res_tel1 & "' " + end if + end if + + if res_tel2 <> "" then + if tmp_query = "" then + tmp_query = "tel2 = '" & res_tel2 & "' " + else + tmp_query = tmp_query & " or tel2 = '" & res_tel2 & "' " + end if + end if + query = query & tmp_query + end if + +' response.write query +' response.write "
" & kikoan_id & ".." + + adors.open query, adoconn, 1 + + '%> + + + + + +KRC - 컨� + + + + + + + + +
+ <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (search.asp) + <%end if%> +
+ + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + +
�리번호 + + 내선번호 + + 발신번호 + +
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + <%if login_type = "�대" then%> + + + + <%else%> + + + + + + + + + + <%end if%> + +
<%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. 컨�할 쿼터 셀 선� + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (search.asp) + <%end if%> + +
+ + + + + + + + + + + +
�답� �름 + + �는�답� 전화번호 + + �는�답� 전화번호2 + +
+
프로�트 + + 리스트 아�디 + +
+
+ + + + +
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contact/tel_dial.asp b/contact/tel_dial.asp new file mode 100644 index 0000000..5ee89e0 --- /dev/null +++ b/contact/tel_dial.asp @@ -0,0 +1,329 @@ +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" +%> + + + + + +KRC - 컨� + + + + + +
+ +
+ + + + + +
+ + +
+
+        + + +
+
+
+        + +
+
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/contact/tel_init.asp b/contact/tel_init.asp new file mode 100644 index 0000000..c4980f9 --- /dev/null +++ b/contact/tel_init.asp @@ -0,0 +1,331 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + ''단, (chasu_use_chk = 'yes')문� �용하여 사용여부 �단...(값� no �것들� 컨�결과를 �괄�으로 지정� 했기� 컨�� 하면 안�기�) + + + set adors2 = server.CreateObject("ADODB.RECORDSET") + set adors_tmp = server.CreateObject("ADODB.RECORDSET") + + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim kikoan_name '쿼터용 기관명 + dim categori_01, categori_02, categori_03 '쿼터용 기관 카테고리(대,중,소) + dim kikoan_area '�답� 지역 + dim ani_num '발신번호 + dim extension '면접� 내선번호 + dim dn '�답� 전화번호 + dim field_area_name() + dim tel_num(2) + dim chasu + dim key_id + dim login_id + dim interview_date(13) + + interview_date(1) = "없�(거절 등)" + interview_date(2) = "2013-11-11 ~ 2013-11-16" + interview_date(3) = "2013-11-18 ~ 2013-11-23" + interview_date(4) = "2013-11-25 ~ 2013-11-30" + interview_date(5) = "2013-12-02 ~ 2013-12-07" + interview_date(6) = "2013-12-09 ~ 2013-12-14" + interview_date(7) = "2013-12-16 ~ 2013-12-21" + interview_date(8) = "2013-12-23 ~ 2013-12-28" + interview_date(9) = "2013-12-30 ~ 2014-01-04" + interview_date(10) = "2014-01-06 ~ 2014-01-11" + interview_date(11) = "2014-01-13 ~ 2014-01-18" + interview_date(12) = "2014-01-20 ~ 2014-01-25" + interview_date(13) = "2014-01-27 ~ 2014-02-01" + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_id = trim(request("kikoan_id")) + kikoan_name = trim(request("kikoan_name")) + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + add_item1 = trim(request("add_item1")) + add_item2 = trim(request("add_item2")) + add_item3 = trim(request("add_item3")) + add_item4 = trim(request("add_item4")) + add_item5 = trim(request("add_item5")) + add_item6 = trim(request("add_item6")) + add_item7 = trim(request("add_item7")) + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + command = request("command") + 'contac_stat = 99 '�단 컨�중으로 + contac_stat = trim(request("contac_stat")) + init_stat = trim(request("init_stat")) + quota_area = request("quota_area") + prj_year = request("prj_year") + + sex = "" + age = 0 + +' response.write "kikoan_name : " & kikoan_name & "
" +' response.write "kikoan_id : " & kikoan_id & "
" +' response.write "login_area : " & login_area & "
" +' response.write "quota_area : " & quota_area & "
" +' response.write "contac_area : " & contac_area & "
" + +' response.write "categori_name_01 : " & categori_name_01 & "
" +' response.write "categori_name_02 : " & categori_name_02 & "
" +' response.write "categori_name_03 : " & categori_name_03 & "
" +' response.write "categori_name_04 : " & categori_name_04 & "
" +' response.write "categori_name_05 : " & categori_name_05 & "
" +' response.write "categori_name_06 : " & categori_name_06 & "
" +' response.write "categori_name_07 : " & categori_name_07 & "
" +' response.write "categori_label_01 : " & categori_label_01 & "
" +' response.write "categori_label_02 : " & categori_label_02 & "
" +' response.write "categori_label_03 : " & categori_label_03 & "
" +' response.write "categori_label_04 : " & categori_label_04 & "
" +' response.write "categori_label_05 : " & categori_label_05 & "
" +' response.write "categori_label_06 : " & categori_label_06 & "
" +' response.write "categori_label_07 : " & categori_label_07 & "
" +' response.write "categori_01 : " & categori_01 & "
" +' response.write "categori_02 : " & categori_02 & "
" +' response.write "categori_03 : " & categori_03 & "
" +' response.write "categori_04 : " & categori_04 & "
" +' response.write "categori_05 : " & categori_05 & "
" +' response.write "categori_06 : " & categori_06 & "
" +' response.write "categori_07 : " & categori_07 & "
" +' response.write "categori_cnt : " & categori_cnt & "
" + +' response.write "contac_stat : " & contac_stat & "
" +' response.write "ani_num : " & ani_num & "
" +' response.write "init_stat : " & init_stat & "
" + + query = "update list set rechecker = '', contactor = 'no' " & _ + " where kikoan_name like '" & kikoan_name & "' " & _ + " and (chasu = '�표본') and (chasu_use_chk = 'yes') " & _ + " and contac_stat = " & init_stat & _ + " and prj_year = '" & prj_year & "'" + +' response.write "query : " & query & "
" + adoconn.execute query +%> + + + + + +KRC - 컨� + + + + + + + + + + + + + +
+ <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (search_ok.asp) + <%end if%> +
+ + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + 로그� 유형 + + 로그� 지역 + +
�리번호 + + 내선번호 + + 발신번호 + +
+
+ + + + + +
+ + + + + + + +
+ + + + + + + + + + + + +
<%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. 컨�할 쿼터 셀 선� + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (search_ok.asp) + <%end if%> + +
+ + <% + If adors.recordcount > 0 Then + %> + + + + + + + <% If adors("categori_01") <> "" Then %> + + <% End if %> + <% If adors("categori_02") <> "" Then %> + + <% End if %> + <% If adors("categori_03") <> "" Then %> + + <% End if %> + <% If adors("categori_04") <> "" Then %> + + <% End if %> + <% If adors("categori_05") <> "" Then %> + + <% End if %> + <% If adors("categori_06") <> "" Then %> + + <% End if %> + <% If adors("categori_07") <> "" Then %> + + <% End if %> + + + <% If adors("comp_posi") <> "" Then %> + + <% End if %> + + + + + + + + <% + do while not adors.eof + cnt = cnt + 1 + %> + + + + + + + + <% If adors("categori_01") <> "" Then %> + + <% End if %> + <% If adors("categori_02") <> "" Then %> + + <% End if %> + <% If adors("categori_03") <> "" Then %> + + <% End if %> + <% If adors("categori_04") <> "" Then %> + + <% End if %> + <% If adors("categori_05") <> "" Then %> + + <% End if %> + <% If adors("categori_06") <> "" Then %> + + <% End if %> + <% If adors("categori_07") <> "" Then %> + + <% End if %> + + + <% If adors("comp_posi") <> "" Then %> + + <% End if %> + + + + + + + + <% + adors.movenext + Loop + Else + %> + + + + <% + End if + %> + +
선�기관명컨�지역리스트 id차수분류 1분류 2분류 3분류 4분류 5분류 6분류 7쿼터 지역회사명�위�름전화 1전화 2리스트 주소컨�결과기타 1
+ + <%=adors("kikoan_name")%><%=adors("contac_area")%><%=adors("list_id")%><%=adors("chasu")%><%=adors("categori_label01")%><%=adors("categori_02")%><%=adors("categori_03")%><%=adors("categori_04")%><%=adors("categori_05")%><%=adors("categori_06")%><%=adors("categori_07")%><%=adors("quota_area")%><%=adors("comp_name")%><%=adors("comp_posi")%><%=adors("name")%><%=adors("tel1")%><%=adors("tel2")%><%=adors("comp_addr")%><%=adors("contac_stat_label")%><%=adors("etc1")%>
해당�는 리스트가 존재하지 않습니다.
+
+
+ + + + +
+ + + +
+
+
+
+ + + + + + + + + + + + +
+ + + + + +
+ + + + + + + +
+ <%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. + <%if Request.ServerVariables("remote_addr") = "10.10.17.52" or Request.ServerVariables("remote_addr") = "1.235.195.52" then%> + (inc_top.asp) + <%end if%> +
+
+ + + + + + + + + + + + + + + + + + + + + +
로그� 아�디 + + + + 로그� 유형 + + 기관명 + +
�리번호 + + 내선번호 + + 발신번호 + +
+
+ + + + + + + +
+ <% If init_stat = 0 Then %> + 미사용 + <% ElseIf init_stat = 1 Then %> + 면접예정 + <% ElseIf init_stat = 2 Then %> + 부재중 + <% ElseIf init_stat = 4 Then %> + 비수신 + <% End If %> + 전화번호를 초기화를 �용 하였습니다. +
+ +
+
+ + +<% +set Adors = nothing + +AdoConn.close +set AdoConn = nothing +%> + + + +
+ +
+ + +
+
+        + + +
+
+
+        + +
+
+
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/contact/testAjax.asp b/contact/testAjax.asp new file mode 100644 index 0000000..3563a2c --- /dev/null +++ b/contact/testAjax.asp @@ -0,0 +1,107 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''///============= +''로그� 후 해당 로그��가 어� 지역 컨��, 어�지역 면접�, 어�지역 sv�지 확� 후 +''컨��� 경우 컨�리스트� 쿼터 지역 선�하기 + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim contac_area '쿼터용 기관명 + dim categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07 '쿼터용 기관 카테고리(대,중,소) + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + dim quota_area + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_name = trim(request("kikoan_name")) + kikoan_id = trim(request("kikoan_id")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + quota_area = request("quota_area") + '%> + + + + + + + + + + +
<%=login_name%> 님� <%=login_area%> 지역� <%=login_type%> 입니다. 컨�할 쿼터 셀 선�
프로�트 + + + +
\ No newline at end of file diff --git a/contact/testAjax1.asp b/contact/testAjax1.asp new file mode 100644 index 0000000..a7d6ff0 --- /dev/null +++ b/contact/testAjax1.asp @@ -0,0 +1,78 @@ + +<%' +Response.CharSet="utf-8" + +Response.codepage="65001" +Response.ContentType="text/html;charset=utf-8" + +''///============= +''로그� 후 해당 로그��가 어� 지역 컨��, 어�지역 면접�, 어�지역 sv�지 확� 후 +''컨��� 경우 컨�리스트� 쿼터 지역 선�하기 + dim i + dim Query + + dim login_pwd + dim login_name '로그� 아�디 + dim login_area '로그� 지역 + dim login_type '로그� 타입(관리�, sv,면접�, 컨�� 등) + dim contac_area '쿼터용 기관명 + dim categori_01, categori_02, categori_03, categori_04, categori_05, categori_06, categori_07 '쿼터용 기관 카테고리(대,중,소) + dim ani_num '발신번호 + dim client_id '면접� �리번호 + dim extension '면접� 내선번호 + dim categori_cnt + dim login_id + dim quota_area + + login_id = trim(request("login_id")) + login_name = trim(request("login_name")) + login_area = trim(request("login_area")) + login_type = trim(request("login_type")) + client_id = trim(request("client_id")) + extension = trim(request("extension")) + + kikoan_name = trim(request("kikoan_name")) + kikoan_id = trim(request("kikoan_id")) + categori_01 = trim(request("categori_01")) + categori_02 = trim(request("categori_02")) + categori_03 = trim(request("categori_03")) + categori_04 = trim(request("categori_04")) + categori_05 = trim(request("categori_05")) + categori_06 = trim(request("categori_06")) + categori_07 = trim(request("categori_07")) + + categori_name_01 = trim(request("categori_name_01")) + categori_name_02 = trim(request("categori_name_02")) + categori_name_03 = trim(request("categori_name_03")) + categori_name_04 = trim(request("categori_name_04")) + categori_name_05 = trim(request("categori_name_05")) + categori_name_06 = trim(request("categori_name_06")) + categori_name_07 = trim(request("categori_name_07")) + + categori_label_01 = trim(request("categori_label_01")) + categori_label_02 = trim(request("categori_label_02")) + categori_label_03 = trim(request("categori_label_03")) + categori_label_04 = trim(request("categori_label_04")) + categori_label_05 = trim(request("categori_label_05")) + categori_label_06 = trim(request("categori_label_06")) + categori_label_07 = trim(request("categori_label_07")) + + contac_area = trim(request("contac_area")) + ani_num = trim(request("ani_num")) + categori_cnt = request("categori_cnt") + quota_area = request("quota_area") + + 'json ��터 + 'response.write("{ query:'Li', suggestions:['Liberia','Libyan Arab Jamahiriya','Liechtenstein','Lithuania'], data:['LR','LY','LI','LT'] }") + +' Session.CodePage = 65001 '한글 + Response.CharSet = "utf-8" '한글 + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write "" & "
" + response.write "" & "
" + response.write "" & "
" + response.write "" +%> \ No newline at end of file diff --git a/contact/web.config b/contact/web.config new file mode 100644 index 0000000..b15828c --- /dev/null +++ b/contact/web.config @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/cost/.vscode/settings.json b/cost/.vscode/settings.json new file mode 100644 index 0000000..6f3a291 --- /dev/null +++ b/cost/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/cost/Call_Cati.asp b/cost/Call_Cati.asp new file mode 100644 index 0000000..3ae7ef1 --- /dev/null +++ b/cost/Call_Cati.asp @@ -0,0 +1,851 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

ÀüÈ­Á¶»ç(CATI)

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- Á¶»ç Àü³¯±îÁöR
¸éÁ¢¿ø °¡ÀÌµå °øÀ¯R
ÇÁ·ÎÁ§Æ® Á÷Á¢ºñ »çÀü ÇùÀÇR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤ - ±³À° 3ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«ÄÁÅÿø ¸®Äí¸£ÆÃFR
Á¶»ç ½ÃÀÛ Àü O/T °ü·Ã ¾÷¹«O/T Àå¼Ò ¿¹¾à ¹× °øÀ¯- ±³À° 1ÁÖÀÏ ÀüFR
O/T ÀÚ·á °øÀ¯(¼³¹®Áö, ÄÁÅÿø °¡ÀÌµå µî)- ±³À° 3ÀÏ ÀüR
O/T ÀÚ·á Ãâ·Â(¼³¹®Áö, ÄÁÅÿø °¡ÀÌµå µî)FR
O/T ÁøÇàR
Á¶»ç ½ÃÀÛ Àü CATI ÇÁ·Î±×·¥ ¾÷¹«CATI ÇÁ·Î±×·¥ ¼¼ÆÃ - Á¶»ç ½ÃÀÛ 1ÀÏÀü + R
CATI ÇÁ·Î±×·¥ Å×½ºÆ® - Á¶»ç ½ÃÀÛ 1ÀÏÀüR- ÇÊ¿ä½Ã FR, DI¿¡¼­ CATI Å×½ºÆ® ÁøÇà ÇÊ¿ä
¾È½É¹øÈ£ ½Åû ¹× ±¸¸ÅR
À¯,¹«¼± RDD ÀüÈ­¹øÈ£ »ý¼º - Á¶»ç ½ÃÀÛ 1ÀÏÀüR
ÀüÈ­¹øÈ£ ¾÷·Îµå(PDS ÇÁ·Î±×·¥) - Á¶»ç ½ÃÀÛ 1ÀÏÀüR - RDD »ý¼º ¸®½ºÆ® ¹× °í°´»ç ¸®½ºÆ®, ¾È½É¹øÈ£ ¾÷·Îµå
¹ß½Å¹øÈ£ °ü·Ã ¾÷¹« +
(±¸¸Å ¹× °ü¸®)
¹ß½Å¹øÈ£ ½ÅûR- R->EX¿¡ ¹øÈ£ ½Åû
¹ß½Å¹øÈ£ ±¸¸ÅEX- EX¿¡¼­ ±¸¸Å
¹ß½Å¹øÈ£ CATI ÇÁ·Î±×·¥ µî·ÏDS- EX¿¡¼­ Àü´Þ¹ÞÀº ¹ß½Å¹øÈ£ CATI¿¡¼­ »ç¿ë °¡´ÉÇϵµ·Ï µî·Ï
¹ß½Å¹øÈ£ °ü¸®FR- R°ú FR °°ÀÌ °ü¸®
¹ß½Å¹øÈ£ º¯°æFR - Á¶»çÁøÇà½Ã ¹ß½Å¹øÈ£ ¼öÁ¤ ¹× ¹øÈ£ °ü¸®
ÅëÈ­¿¬°áÀ½ °ü·Ã ¾÷¹«ÅëÈ­¿¬°áÀ½ ¸àÆ® »ý¼º¿äû - ±³À° 1ÁÖÀÏ ÀüR- ÇÊ¿ä½Ã R¿¡¼­ ÀûÇÕÇÑ ¸àÆ®¸¦ ±¸¼ºÇÏ°í »ý¼ºÇÏ¿´À½ (ÇØ´ç ³»¿ë È®ÀÎ ÇÊ¿ä)
ÅëÈ­¿¬°áÀ½ ¸àÆ® Àû¿ë ¹× Á¦°Å ¿äû- Á¶»ç ½ÃÀÛ 1ÀÏ Àü/1ÀÏ ÈÄDS- ÇÊ¿ä½Ã
CATI ¿À·ù ¹ß»ý½Ã ¾÷¹«CATIÇÁ·Î±×·¥ ¿À·ù ¹ß»ý½Ã ó¸®DS
CATIÇÁ·Î±×·¥ Àåºñ ¹ß»ý½Ã ó¸®EX
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ È®ÀÎ ¹× °ü¸®FR
PDS ¹øÈ£ °ü¸®(¾È½É¹øÈ£)R- Ư¼öÇÑ °æ¿ì¿¡´Â R°ú FRÀÌ °°ÀÌ °ü¸® (ÇùÀÇ ÇÊ¿ä)
PDS ¹øÈ£ °ü¸®(RDD)FR- Ư¼öÇÑ °æ¿ì¿¡´Â R°ú FRÀÌ °°ÀÌ °ü¸® (ÇùÀÇ ÇÊ¿ä)
PDS ¹øÈ£ °ü¸®(°í°´»ç)R- Ư¼öÇÑ °æ¿ì¿¡´Â R°ú FRÀÌ °°ÀÌ °ü¸® (ÇùÀÇ ÇÊ¿ä)
¸®½ºÆ® °ü¸®FR- ¸®½ºÆ® Á¶»ç ÁøÇà½Ã
À̽´ ¹ß»ý½Ã ¸éÁ¢¿ø Àç±³À°FR- RÀÇ ¿äû ȤÀº FRÀÇ ÀÚü ÆÇ´Ü¿¡ ÀÇÇØ ÁøÇà
ÄÄÇ÷¹ÀÎ ´ëÀÀR- ÇöÀåÀ̳ª ÄÁÅÿø¿¡°Ô Àü´Þ ¹ÞÀº ÄÄÇ÷¹Àο¡ ´ëÇØ¼­ 1Â÷ FR ´ëÀÀ ÈÄ, R Àü´Þ
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR - ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
Á¶»ç Á¾·áÁ¶»ç Á¾·á ÈÄ CATI ·ë Á¤¸®FR
DATA ´Ù¿î·ÎµåR
DATA
+ Processing
Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹«³ìÈ­/³ìÃë DATA È®ÀÎ ¹× ´Ù¿î·ÎµåFR- ÇÊ¿ä½Ã
³ìÃë·Ï ¼ö½ÅFR- ÇÊ¿ä½Ã
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI
Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/Call_Monitoring.asp b/cost/Call_Monitoring.asp new file mode 100644 index 0000000..0edd22c --- /dev/null +++ b/cost/Call_Monitoring.asp @@ -0,0 +1,709 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

ÀüÈ­ ¸ð´ÏÅ͸µ

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- ±³À° 1ÁÖÀÏ ÀüR- ÀüÈ­¸ð´ÏÅ͸µ ÀÏÁ¤ ¹× 1ÀÏ ºÎ¼ö ÇùÀÇÇÊ¿ä
¸éÁ¢¿ø °¡ÀÌµå °øÀ¯ - ±³À° 1ÁÖÀÏ ÀüR- ¼±¹ßÇÑ ¿ä¿ø¿¡ ºÎÇÕÇÏ´Â ½Ã³ª¸®¿À°¡ ¸Â´ÂÁö FRÀÌ È®ÀÎÇÊ¿ä
ÇÁ·ÎÁ§Æ® Á÷Á¢ºñ »çÀü ÇùÀÇR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«¼³¹®Áö È®Á¤(½Ã³ª¸®¿À/üũ¸®½ºÆ®)- ±³À° 3ÀÏ ÀüRÇùÁ¶ ÇÊ¿ä
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«¸ð´ÏÅ͸µ ¿ä¿ø ¸®Äí¸£ÆÃFR
Á¶»ç ½ÃÀÛ Àü O/T °ü·Ã ¾÷¹«O/T Àå¼Ò ¿¹¾à ¹× °øÀ¯- ±³À° 1ÁÖÀÏ ÀüFR
O/T ÀÚ·á °øÀ¯(¼³¹®Áö, ÄÁÅÿø °¡ÀÌµå µî)- ±³À° 1ÁÖÀÏ ÀüR
O/T ÀÚ·á Ãâ·Â(¼³¹®Áö, ÄÁÅÿø °¡ÀÌµå µî)FR
O/T ÁøÇàR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(1)CATI ÇÁ·Î±×·¥ ¼¼ÆÃ - ÁøÇà Àü³¯ + R- ÀüÈ­¸ð´ÏÅ͸µÀ» CATI·Î ÁøÇàÇÒ °ÍÀÎÁö ÇùÀÇÇÊ¿ä
CATI ÇÁ·Î±×·¥ Å×½ºÆ® - ÁøÇà Àü³¯R- ÇÊ¿ä½Ã FR, DI¿¡¼­ CATI Å×½ºÆ® ÁøÇà ÇÊ¿ä
¸®½ºÆ® ¾÷·Îµå(CATI ÇÁ·Î±×·¥) - ÁøÇà Àü³¯R- ¸®½ºÆ® ¼ö·É ÀÏÁ¤¿¡ µû¶ó À¯µ¿Àû
¸®½ºÆ® ¾÷·Îµå(PDS ÇÁ·Î±×·¥) - ÁøÇà Àü³¯R
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(2)¹ß½Å¹øÈ£ ½ÅûR- À¯¹«¼± ¹ß½Å¹øÈ£ ±¸¸Å¿Í Çʿ俩ºÎ È®ÀÎ
¹ß½Å¹øÈ£ ±¸¸ÅEX
¹ß½Å¹øÈ£ °ü¸®FR
¹ß½Å¹øÈ£ CATI ÇÁ·Î±×·¥ µî·ÏFR
¹ß½Å¹øÈ£ º¯°æFR
Á¶»ç ÁøÇàÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- ÁøÇà Àü³¯R
½Ç»ç ÁøÇà - ÄõÅÍ È®ÀÎFR
¸®½ºÆ® °ü¸®(CATI - ¹øÈ£ ÃʱâÈ­)FR
¸®½ºÆ® °ü¸®(PDS - ¸¶°¨ ÄõÅÍ »èÁ¦)FR
À̽´ ¹ß»ý½Ã ¸éÁ¢¿ø Àç±³À°FR- RÀÇ ¿äû ȤÀº FÀÇ ÀÚü ÆÇ´Ü¿¡ ÀÇÇØ ÁøÇà
ÄÄÇ÷¹ÀÎ ´ëÀÀ- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR- ÇöÀåÀ̳ª ¸ð´ÏÅÍ¿ä¿ø¿¡°Ô Àü´Þ ¹ÞÀº ÄÄÇ÷¹Àο¡ ´ëÇØ¼­ 1Â÷ FR ´ëÀÀ ÈÄ, R Àü´Þ
DATA
+ Processing
Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹«³ìÈ­/³ìÃë DATA È®ÀÎ ¹× ´Ù¿î·ÎµåFR- ÇÊ¿ä½Ã
³ìÃë·Ï ¼ö½ÅFR- ÇÊ¿ä½Ã
Á¶»ç ¿Ï·á ÈÄ ºÐ¼® ¹× Å×À̺í ÀÛ¾÷ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR
SYNTAX ÀÛ¾÷, ÄõÅÍ ¹× µ¥ÀÌÅÍ ÃÖÁ¾ Á¡°ËDI
Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
Ãß°¡ Å×À̺í ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/FFCAPI.asp b/cost/FFCAPI.asp new file mode 100644 index 0000000..d37f6ee --- /dev/null +++ b/cost/FFCAPI.asp @@ -0,0 +1,1175 @@ + + + + + + + +Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

FF(CAPI)

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤R- Áö·ù »óǰ±Ç ±¸¸Å½Ã ÇØ´ç ´Ü°è¿¡¼­ ´ëÇ¥´Ô ÄÄÆßÀ» µæÇؾßÇÔworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ¿¹»ê(¸éÁ¢ºñ, ´ä·Êǰ) È®Á¤FR - Ŭ¶óÀ̾ðÆ®ÀÇ º°µµ ¿äû»çÇ× Àܴ̿ FR¿¡¼­ °áÁ¤
+ - ´ä·Êǰ Àüü ºñ¿ë¿¡ ´ëÇØ¼­´Â R ±×·ì ÀÇ°ß ¼ö·Å ÇÊ¿ä
°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯R
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·á- ±³À° 2ÁÖÀÏ ÀüRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö, ÄõÅÍ È®Á¤ - ±³À° 1ÁÖÀÏ ÀüR- ÇÊ¿äÇÑ °æ¿ì, ÇÁ·Î±×·¥°¡À̵å, ·ÎÁ÷°¡À̵å ÀÛ¼º °ü·Ã ÇùÀÇ
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã ¼³¹®Áö¿¡ ÀÛ¼º
¼³¹®Áö/º¸±âÄ«µå Àμâ - ±³À° 1ÀÏ ÀüFR
´ä·Êǰ ¹ßÁÖFR
Áö·ù»óǰ±Ç ±¸¸Å ÄÁÆß- »çÀü¹ÌÆÃ½Ã È®Á¤R- ´ëÇ¥´Ô »çÀü ÄÁÆß
Áö·ù»óǰ±Ç ±¸¸Å¿ë ÁöÃâ°áÀǼ­ ÀÛ¼º ¹× Á¦Ãâ- ±³À° 1ÁÖÀÏ ÀüFR
Áö·ù»óǰ±Ç ±¸ÀÔ- ±³À° 1ÁÖÀÏ ÀüEX- ±¸¸Å½Ã±â °ü·Ã ÇùÀÇ ÇÊ¿ä
Á¶»ç¿øº° ÁøÇà ÄõÅÍ ÀÛ¼ºR
Á¶»ç ½ÃÀÛ Àü ÅÇ °ü·Ã ¾÷¹«ÅÇ ´ë¿© °³¼ö È®ÀÎ- ±³À° 1ÁÖÀÏ ÀüFR
ÀÎÆ®¶ó³Ý ÅÇ ´ë¿© µî·Ï + - ±³À° 1ÁÖÀÏ Àü + FR
´ë¿© ÅÇ ÃæÀü ¹× KON ¼³Ä¡ È®ÀÎ- ±³À°ÀüFR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü + ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§)DS- RÀÇ ÀÏÁ¤¿¡ µû¶ó ÁøÇà
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷R
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯ - Á¶»ç 2ÀÏ ÀüR
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- Á¶»ç¿ø ±³À° Àü³¯ ÃÖÁ¾¿Ï·áR
Á¶»ç ½ÃÀÛ Àü º£´º °ü·Ã ¾÷¹«O/T ÀÏÁ¤È®Á¤- ±³À° 1ÁÖÀÏ ÀüR
O/T Àå¼Ò ¿¹¾à- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR- O/T ÁøÇà·ë ¿¹¾à
ÁÜ or ÆÀÁî ¿¹¾à (ºñ´ë¸é O/T½Ã)- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR
O/T ÀÏÁ¤ & ÁÜ or ÆÀÁũ(ºñ´ë¸é O/T½Ã) Á¶»ç¿ø °øÁöFR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¹× Á¶»ç¹°Ç° ¹ß¼Û ¾÷¹«Á¶»ç¿ø ¸®Äí¸£ÆÃFR
Á¶»ç¿ø/ Áö¹æ½Ç»ç º° Á¶»ç¹°Ç° ÆÐÅ· ¹× Åùè¹ß¼ÛFR
Á¶»ç ½ÃÀÛ Àü °ü·Ã ¾÷¹«O/T ÀÚ·á Áغñ(¼³¹®Áö, º¸±âÄ«µå, ¸éÁ¢¿ø °¡ÀÌµå µî) + FR
O/T ÁøÇàR
O/T ¿µ»ó ³ìÈ­ (´ë¸éÁøÇà)FR
O/T ¿µ»ó Á¶»ç¿ø ¹× Áö¹æ½Ç»ç °øÀ¯- ±³À°´çÀÏ FR
O/T ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ±³À°´çÀÏ FR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
Á¶»ç¿ø ¹®ÀÇ»çÇ× ÀÀ´ëFR
ÁøÇຸ°í + FR + - RÀÇ ¿äû½Ã FR ¼öÇà +
À̽´ ¹ß»ý½Ã ¸éÁ¢¿ø Àç±³À° + FR + - RÀÇ ¿äû ȤÀº FRÀÇ ÀÚü ÆÇ´Ü¿¡ ÀÇÇØ ÁøÇà +
Á¶»ç¿ø ÁøÇà µ¶·Á + FR +
ÀÔ·Â µ¥ÀÌÅÍ °³¼ö È®ÀÎ ¹× QCÀ̰ü + FR- ¼³¹®ID ¹× Á¶»ç¿øÄÚµå ÀÛ¼º ÈÄ À̰ü +
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Á¶»ç °ü·Ã ºñ¿ë ÃëÇÕ (¸éÁ¢ºñ, Åùè, Àμâ, ´ä·Êǰ)FR
ºñ¿ë ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦ÃâFR- FR¿¡¼­ Áö±Þ ¸í´Ü ÀÛ¼º ÈÄ, BI ÂüÁ¶ÇÏ¿© ¾÷ü ¸ÞÀϹ߼Û
Á¶»ç °ü·Ã ºñ¿ë ÀÌüBI - ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»ê FR
¸ð¹ÙÀϱâÇÁƼÄÜ(´ä·Êǰ) Áö±Þ ¸í´Ü ÀÛ¼ºFR
¸ð¹ÙÀϱâÇÁƼÄÜ ¸í´Ü ¹ß¼Û¾÷ü °øÀ¯FR
¸ð¹ÙÀϱâÇÁƼÄÜ ÁöÃâ°áÀǼ­ ÀÛ¼ºFR
¿ÜÁÖ & Áö¹æ ¼¼±Ý°è»ê¼­ ¹ßÇà ¹× ¼ÛºÎFR
¼¼±Ý°è»ê¼­ ó¸® È®ÀÎ ¹× ¹®Á¦¹ß»ý½Ã ¾÷¹«¿¬¶ôFR
°ü·ÃÀÚ·á µî·Ï ÈÄ ÀÎÆ®¶ó³Ý ÇÁ·ÎÁ§Æ® ¿Ï·á ó¸®FR
Á¶»ç ¿Ï·á ÈÄ ÅÇ °ü·Ã ¾÷¹«ÅÇ ¹Ý³³ ¾È³» ¹× µ¶·ÁFR
ÀÎÆ®¶ó³Ý ÅÇ ¹Ý³³ µî·ÏFR
DATA
+ Processing
Á¶»ç ÁøÇà Áß °ËÁõ ¾÷¹«°ËÁõ Ç׸ñ È®Á¤QC
°ËÁõ Áú¹®Áö ºñÀ² È®Á¤QC°ËÁõ °á°ú¿¡ µû¸¥ ¼³¹® ÀçÁ¶»ç
°ËÁõ °á°ú¿¡ µû¸¥ ¼³¹® ÀçÁ¶»çFR
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«ÁøÇà DATA ¿¡µðÆÃ ÁøÇàQC +
Áß°£ µ¥ÀÌÅÍ, Coding Frame È®ÀÎQC +
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯R- ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
ºÐ¼®°¡À̵åDI
Á¶»ç ¿Ï·á ÈÄ µ¥ÀÌÅÍ À̰ü Àü ¾÷¹«DATA ´Ù¿î·Îµå ¹× ÄõÅÍÈ®ÀÎFR
DATA ºÐ¼®½Ã Á¦¿ÜÇÒ ¿À¹öID °øÀ¯FR- ƯÁ¤ ÇÁ·ÎÁ§Æ®¿¡ ÇÑÇÏ¿©
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC +
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI +
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷DI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/FFPAPI.asp b/cost/FFPAPI.asp new file mode 100644 index 0000000..7ea8735 --- /dev/null +++ b/cost/FFPAPI.asp @@ -0,0 +1,1155 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

FF(PAPI)

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤R- Áö·ù »óǰ±Ç ±¸¸Å½Ã ÇØ´ç ´Ü°è¿¡¼­ ´ëÇ¥´Ô ÄÄÆßÀ» µæÇؾßÇÔworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ¿¹»ê(¸éÁ¢ºñ, ´ä·Êǰ) È®Á¤FR - Ŭ¶óÀ̾ðÆ®ÀÇ º°µµ ¿äû»çÇ× Àܴ̿ FR¿¡¼­ °áÁ¤
+ - ´ä·Êǰ Àüü ºñ¿ë¿¡ ´ëÇØ¼­´Â R ±×·ì ÀÇ°ß ¼ö·Å ÇÊ¿ä
°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯ - ±³À° 2ÁÖÀÏ ÀüR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö, ÄõÅÍ È®Á¤ - ±³À° 1ÁÖÀÏ ÀüR- (R) ÇÊ¿äÇÑ °æ¿ì, ÇÁ·Î±×·¥°¡À̵å, ·ÎÁ÷°¡À̵å ÀÛ¼º °ü·Ã ÇùÀÇ
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã ¼³¹®Áö¿¡ ÀÛ¼º
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇàR
¼³¹®Áö/º¸±âÄ«µå Àμâ - ±³À° 1ÀÏ ÀüFR
´ä·Êǰ ¹ßÁÖFR
Áö·ù»óǰ±Ç ±¸¸Å ÄÁÆß- »çÀü¹ÌÆÃ½Ã È®Á¤R- ´ëÇ¥´Ô »çÀü ÄÁÆß»óÀ§·Î ¼ø¼­ º¯°æ(FR)
Áö·ù»óǰ±Ç ±¸¸Å¿ë ÁöÃâ°áÀǼ­ ÀÛ¼º ¹× Á¦Ãâ- ±³À° 1ÁÖÀÏ ÀüFR
Áö·ù»óǰ±Ç ±¸ÀÔEX- ±¸¸Å½Ã±â °ü·Ã ÇùÀÇ ÇÊ¿ä
Á¶»ç¿øº° ÁøÇà ÄõÅÍ ÀÛ¼ºFR
Á¶»ç ½ÃÀÛ Àü º£´º °ü·Ã ¾÷¹«O/T ÀÏÁ¤È®Á¤- ±³À° 1ÁÖÀÏ ÀüR
O/T Àå¼Ò ¿¹¾à- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR- O/T ÁøÇà·ë ¿¹¾à
ÁÜ or ÆÀÁî ¿¹¾à (ºñ´ë¸é O/T½Ã)- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR
O/T ÀÏÁ¤ & ÁÜ or ÆÀÁũ(ºñ´ë¸é O/T½Ã) Á¶»ç¿ø °øÁöFR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¹× Á¶»ç¹°Ç° ¹ß¼Û ¾÷¹«Á¶»ç¿ø ¸®Äí¸£ÆÃFR
Á¶»ç¿ø/ Áö¹æ½Ç»ç º° Á¶»ç¹°Ç° ÆÐÅ· ¹× Åùè¹ß¼ÛFR
Á¶»ç ½ÃÀÛ Àü °ü·Ã ¾÷¹«O/T ÀÚ·á Áغñ(¼³¹®Áö, º¸±âÄ«µå, ¸éÁ¢¿ø °¡ÀÌµå µî) + FR
O/T ÁøÇàR
O/T ¿µ»ó ³ìÈ­ (´ë¸éÁøÇà)- ±³À°´çÀÏFR
O/T ¿µ»ó Á¶»ç¿ø ¹× Áö¹æ½Ç»ç °øÀ¯- ±³À°´çÀÏ FR
O/T ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ±³À°´çÀÏ FR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
Á¶»ç¿ø ¹®ÀÇ»çÇ× ÀÀ´ëFR
ÁøÇຸ°í + FR + - RÀÇ ¿äû½Ã FR ¼öÇà +
À̽´ ¹ß»ý½Ã ¸éÁ¢¿ø Àç±³À° + FR + - RÀÇ ¿äû ȤÀº FRÀÇ ÀÚü ÆÇ´Ü¿¡ ÀÇÇØ ÁøÇà +
Á¶»ç¿ø ÁøÇà µ¶·Á + FR +
ÀÔ·Â µ¥ÀÌÅÍ °³¼ö È®ÀÎ ¹× QCÀ̰ü + FR- ¼³¹®ID ¹× Á¶»ç¿øÄÚµå ÀÛ¼º ÈÄ À̰ü +
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Á¶»ç °ü·Ã ºñ¿ë ÃëÇÕ (¸éÁ¢ºñ, Åùè, Àμâ, ´ä·Êǰ)FR
ºñ¿ë ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦ÃâFR- FR¿¡¼­ Áö±Þ ¸í´Ü ÀÛ¼º ÈÄ, BI ÂüÁ¶ÇÏ¿© ¾÷ü ¸ÞÀϹ߼Û
Á¶»ç °ü·Ã ºñ¿ë ÀÌüBI - ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»ê
¸ð¹ÙÀϱâÇÁƼÄÜ(´ä·Êǰ) Áö±Þ ¸í´Ü ÀÛ¼ºFR
¸ð¹ÙÀϱâÇÁƼÄÜ ¸í´Ü ¹ß¼Û¾÷ü °øÀ¯FR- BI ÆÀ
¸ð¹ÙÀϱâÇÁƼÄÜ ÁöÃâ°áÀǼ­ ÀÛ¼ºFR
¿ÜÁÖ & Áö¹æ ¼¼±Ý°è»ê¼­ ¹ßÇà ¹× ¼ÛºÎFR
¼¼±Ý°è»ê¼­ ó¸® È®ÀÎ ¹× ¹®Á¦¹ß»ý½Ã ¾÷¹«¿¬¶ôFR
°ü·ÃÀÚ·á µî·Ï ÈÄ ÀÎÆ®¶ó³Ý ÇÁ·ÎÁ§Æ® ¿Ï·á ó¸®FR
DATA
+ Processing
Á¶»ç ÁøÇà Áß °ËÁõ ¾÷¹«°ËÁõ Ç׸ñ È®Á¤QC
°ËÁõ Áú¹®Áö ºñÀ² È®Á¤QC- ³»ºÎ °ËÁõ ±ÔÁ¤¿¡ ÀǰŠÁøÇà
°ËÁõ °á°ú¿¡ µû¸¥ ¼³¹® ÀçÁ¶»çFR
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«¿¡µðÆÃ °¡À̵å ÀÛ¼º ¹× °øÀ¯- ±³À°ÀÌÈÄ 3ÀϾÈR - °øÀ¯ÀÏÁ¤Àº ½Ç»ç ÁøÇà¿¡ µû¶ó R°ú FR°ú ÇùÀÇ ÈÄ ÁøÇà
+ - ¿¡µðÆÃ °¡À̵å´Â DIµµ °°ÀÌ ÇùÀÇÈÄ ÁøÇà ÇÊ¿ä
ÁøÇà ¼³¹®Áö ¿¡µðÆÃ ÁøÇàQC +
ÄÚµù ÇÁ·¡ÀÓ È®Á¤QC
ÆÝÄ¡ »ç¿ë ÇÁ·Î±×·¥ È®Á¤QC- K-ÆÝÄ¡ or ¼­º£ÀÌÅ©·¡ÇÁÆ®, ¿¢¼¿ (°£´Ü ¼³¹® ¶Ç´Â ¼Ò·®»ùÇà °æ¿ì)
ÆÝĪ ÇÁ·¡ÀÓ È®Á¤QC
K-ÆÝÄ¡, ·ÎÁ÷ Àû¿ë ÀÛ¾÷QC
¼­º£ÀÌÅ©·¡ÇÁÆ®, ·ÎÁ÷ Àû¿ë ÀÛ¾÷- ÆÝÄ¡ ½ÃÀÛ ÃÖ¼Ò 1ÁÖÀÏ Àü
+ ¿¡µðÆÃ°¡À̵å Àü´Þ
QCDI- ¼­º£ÀÌÅ©·¡ÇÁÆ® ±³À°ÈÄ DI¿¡¼­ QC·Î ¼øÂ÷Àû ¾÷¹« À̰ü¿¡µðÆÃ°¡À̵å
¼³¹® DATA ÀÔ·ÂQC
ÆÝĪ ¿¡·¯ °ü¸®QC
DATA ¸®Ã¼Å© È®ÀÎFR
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR - ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
Á¶»ç ¿Ï·á ÈÄ µ¥ÀÌÅÍ À̰ü Àü ¾÷¹«DATA ´Ù¿î·Îµå ¹× ÄõÅÍÈ®ÀÎFR
DATA ºÐ¼®½Ã Á¦¿ÜÇÒ ¿À¹öID °øÀ¯FR- ƯÁ¤ ÇÁ·ÎÁ§Æ®¿¡ ÇÑÇÏ¿©
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
- ÆÝÄ¡ ¿Ï·áµÈ ÃÖÁ¾ µ¥ÀÌÅÍ À̰üQC- QC ¡æ R/DI
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/FGD.asp b/cost/FGD.asp new file mode 100644 index 0000000..876695d --- /dev/null +++ b/cost/FGD.asp @@ -0,0 +1,903 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

FGD

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFR- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
ÇÁ·ÎÁ§Æ® Á÷Á¢ºñ »çÀü ÇùÀÇR- ÇÁ·ÎÁ§Æ® ¿¹»ó Á÷Á¢ºñ´Â FR¿¡¼­ ÀÛ¼º
Âü¿©ÀÚ »ç·Êºñ Áö±Þ ÀÏÁ¤ °øÀ¯- Áö±ÞÀÏÁ¤ 3ÀÏÀüFR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFR- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö + °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤ ¹× °øÀ¯ - »çÀü¹ÌÆÃ½Ã È®Á¤R
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§) +
DS
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷- ¸®Äí¸£ÆÃ ½ÃÀÛ 1ÀÏÀüR- ¼±Á¤Áú¹®Áö ÄÁÆßÁö¿¬µîÀÇ ÀÌÀ¯·Î RÀÌ ¿ì¼±ÀûÀ¸·Î ÁøÇàÇϳª FRµµ µ¿½Ã È®ÀÎ ÁøÇà
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- ÀÏÁ¤ Áß ¼±Á¤Áö, ´ë»óÀÚ Á¶°Ç º¯°æ½Ã ÀÏÁ¤ º¯°æÇÔR
Á¶»ç ½ÃÀÛ Àü º£´º °ü·ÃÁ´ãȸ ·ë ÀÎÆ®¶ó³Ý ¿¹¾à - ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àR - ÀÏÁ¤ÀÌ È®Á¤ÀÎ °æ¿ì´Â R¿¡¼­ ¿¹¾à, ÀÏÁ¤ ¿©À¯°¡ ÀÖ¾î ³íÀÇ ÈÄ °áÁ¤µÇ´Â °æ¿ì FR¿¡¼­ ¿¹¾à °¡´É
ÁÜ/À¥¿¢½º ¸µÅ© »ý¼º(ºñ´ë¸é) - ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àFR
Àå¼Ò(ƯÁ¤ º£´º ÁøÇà½Ã) ¿¹¾à- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR- Ŭ¶óÀÌ¾ðÆ®¿Í ÇùÀÇ ÇÊ¿äÇÏ¿© R ¿¹¾à
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«ÄÁÅÿø ¸®Äí¸£ÆÃFR
Âü¼®ÀÚ ¸®Äí¸£ÆÃFR
½ºÅ©¸³ÅÍ ¸®Äí¸£ÆÃFR
Å뿪»ç ¸®Äí¸£ÆÃR - ÇÊ¿ä½Ã ¸®Äí¸£ÆÃ
Á¶»ç ½ÃÀÛ Àü ¸®Å©·çÆÃ °ü·Ã ¾÷¹«O/T ÀÚ·á Áغñ(¼±Á¤ Áú¹®Áö µî)FR
O/T ÁøÇà(¼±Á¤ Áú¹®Áö µî)- Á¶»ç 1ÀÏ ÀüFR
Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ »çÀü °øÀ¯ ¹× È®Á¤- Á¶»ç 1ÀÏ ÀüFR - R ¿äû½Ã FRÀÌ Áغñ
+ - ºñ´ë¸éÀÎ °æ¿ì ÁÜ/À¥¿¢½º ¸µÅ© Âü¼®ÀÚ¿¡°Ô °øÀ¯
Á¶»ç ½ÃÀÛ Àü ±â±â °ü·Ã ¾÷¹«³ìÈ­½Ã½ºÅÛ Àåºñ Á¡°Ë ¹× ¼¼ÆÃ - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü
EX - Àåºñ Á¡°Ë ¹× ±¸µ¿ ¸Å´º¾ó º°µµ ºñÄ¡
+ - ºñ´ë¸éÀÎ °æ¿ì ½ÃÀÛ Àü¿¡ ½Ç»ç¿ë ÁÜ/À¥¿¢½º ¸µÅ©·Î ³ìÈ­ ¹× ¸¶ÀÌÅ© Å×½ºÆ® ÁøÇà
Á¶»ç ½ÃÀÛ Àü ¼¼ÆÃ °ü·Ã ¾÷¹«Âü¼®ÀÚ ÃÖÁ¾ È®ÀÎ- Á¦Ç°¼ö·É Áï½Ã È®ÀÎFR - ºñ´ë¸éÀÎ °æ¿ì ÁÜ/À¥¿¢½º ¸µÅ© È®ÀÎ ¿©ºÎµµ °°ÀÌ È®ÀÎ
Âü¼®ÀÚ ´Ù°ú/½Ä»ç ÁغñFR
Ŭ¶óÀÌ¾ðÆ® ´Ù°ú ÁغñÀÎFR
°í°´»ç ¼ÛÃâ¿ë ¸µÅ© ¼¼ÆÃR - ±âº» ´Ù°ú ±âÁØ
Ŭ¶óÀÌ¾ðÆ® ¹èÆ÷¿ë Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ ÀÛ¼º ¹× Àü´Þ- Á¶»ç 1ÀÏ ÀüFR
º¸±âÄ«µå ¹× ½Ãû°¢ ÀÚ·á ÁغñR- RÀÌ Áغñ
Âü¼®ÀÚ »ç¿ë ¹°Ç° Áغñ (º¼Ææ, ÀâÁö, °¡À§ µî)FR - RÀÌ ¿äû ½Ã, FRÀÌ Áغñ
Á¶»ç ÁøÇà Áß ÀÀ´ë ¾÷¹«Å¬¶óÀÌ¾ðÆ® ÀÀ´ë ¹× ÀεµR
Âü¼®ÀÚ ÀÀ´ë ¹× ÀεµFR - ºñ´ë¸éÀÎ °æ¿ì ÁÜ/À¥¿¢½º Á¢¼Ó ¹æ¹ý °ü·Ã ÀÀ´ë
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Á¶»ç ÁøÇà Áß Âü°ü·ë °ü·Ã ¾÷¹«ÇàŬ¶óÀÌ¾ðÆ® ´Ù°ú ¼¼ÆÃFR
Ŭ¶óÀÌ¾ðÆ® ½Ä»ç ÁغñRFR - ÁøÇà 1ÀÏ Àü ¿äû½Ã FRÀÌ ÁøÇà
Á¶»ç ½ÃÀÛ ÈÄ ³ìÈ­ ½ÃÀÛ ¹öư ´©¸£±âFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Á¶»ç Á¾·á ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ÀÍÀÏ ¿ÀÀü 10½ÃFR - ¿ÀÈÄ 10½Ã ÀÌÈÄ Á¾·á½Ã 1Â÷ R¿¡¼­ Á¤¸® ÈÄ ÀÍÀÏ ¿ÀÀü 10½Ã±îÁö FR¿¡¼­ ÃÖÁ¾ Á¤¸®
Á¶»ç Á¾·á ÈÄ ³ìÈ­ Á¾·á ¹öư ´©¸£±âR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Á¶»ç Á¾·á ÈÄ °í°´»ç Âü°ü ·ë Á¤¸®ºñR - 1Â÷ R¿¡¼­ Á¤¸® ÈÄ ÀÍÀÏ ¿ÀÀü 10½Ã±îÁö FR¿¡¼­ ÃÖÁ¾ Á¤¸®
+ - À§¿Í °°ÀÌ ÀÛ¼ºÇßÀ¸³ª ´çÀÏÀº R¿¡¼­ ´ã´çÇÔ
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Âü¿©ÀÚ »ç·Êºñ Áö±Þ ÀÚ·á(½ÅºÐÁõ, ÅëÀå»çº» µî) ÃëÇÕ¼öFR
Âü¿©ÀÚ »ç·Êºñ ³»¿ª ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦ÃâFR
Âü¿©ÀÚ »ç·Êºñ ÀÌüBI- ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»ê FR
DB °ü·Ã ¾÷¹«DB µî·ÏFR +
DATA
+ Processing
Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹«Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹« - 18½ÃÀ̳» Á¶»ç ´çÀÏ
+ - 18½ÃÀÌÈÄ Á¶»ç ÀÍÀÏ
FR
³ìÈ­/³ìÃë DATA ½ºÅ©¸³ÅÍ¿¡°Ô Àü´Þ - 18½ÃÀ̳» Á¶»ç ´çÀÏ Àü´Þ
+ - 18½ÃÀÌÈÄ Á¶»ç ÀÍÀÏ Àü´Þ
FR
³ìÃë·Ï °ü·Ã ¾÷¹«- ³ìÃëÆÄÀÏ Àü´Þ ±âÁØ 2¹Ú 3ÀÏFR
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/GangSurvey.asp b/cost/GangSurvey.asp new file mode 100644 index 0000000..089e3ff --- /dev/null +++ b/cost/GangSurvey.asp @@ -0,0 +1,1118 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

Gang Survey

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: ºÐ¼®ÆÀ, DS: °³¹ßÆÀ, DB: ŰÀ§¼­º£ÀÌ ¹× ¿Â¶óÀÎ °ßÀû BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄÂü¼®ÀÚ »ç·Êºñ Áö±Þ ÀÏÁ¤ °øÀ¯- Áö±ÞÀÏÁ¤ 3ÀÏ ÀüFR
°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤- Á¶»ç/ÇÁ·Î±×·¡¹Ö 3ÀÏ ÀüR
¼³¹®Áö/º¸±âÄ«µå Àμâ- Á¶»ç´çÀÏFR- ÆäÀÌÆÛÁøÇà ¶Ç´Â ¿¹ºñ¿ëÀ¸·Î Áغñ
Á¶»ç ½ÃÀÛ Àü º£´º °ü·Ã ¾÷¹«°»¼­º£ÀÌ·ë ÀÎÆ®¶ó³Ý ¿¹¾à- ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àR- ÀÏÁ¤ÀÌ È®Á¤ÀÎ °æ¿ì´Â R¿¡¼­ ¿¹¾à, ÀÏÁ¤ ¿©À¯°¡ ÀÖ¾î ³íÀÇ ÈÄ °áÁ¤µÇ´Â °æ¿ì FR¿¡¼­ ¿¹¾à °¡´É
°»¼­º£ÀÌ·ë Á¶»ç¿¡ ¸Â´Â ÇüÅ·Π¼¼ÆÃ + - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü +
EX- Á¶º°ÇüÅÂ, µð±Ú('¤§')ÀÚ ÇüÅÂ¿Í °°ÀÌ º¸ÆíÀûÀÎ ¹èÄ¡¶ó¸é FR¿¡¼­ ÁøÇàÇϰí, Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹«Áö¿øÇÏ´Â °ÍÀÌ ÇÕ¸®ÀûÀ̶ó »ý°¢ÇÔ(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ÇÊ¿ä)
Àå¼Ò(ƯÁ¤ º£´º ÁøÇà½Ã) ¿¹¾à- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
¼±Á¤Áú¹®Áö È®Á¤ ¹× °øÀ¯- »çÀü¹ÌÆÃ½Ã È®Á¤R
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS- ÇÁ·ÎÁ§Æ® ÄÚµå Àü´Þ(º» ¼³¹®°ú ¿¬µ¿ ÀÛ¾÷¿¡ ÇÊ¿ä)
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷- ¸®Äí¸£ÆÃ ½ÃÀÛ 1ÀÏÀüR- ¼±Á¤Áú¹®Áö ÄÁÆßÁö¿¬µîÀÇ ÀÌÀ¯·Î RÀÌ ¿ì¼±ÀûÀ¸·Î ÁøÇàÇϳª FRµµ µ¿½Ã È®ÀÎ ÁøÇà
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- ÀÏÁ¤ Áß ¼±Á¤Áö, ´ë»óÀÚ Á¶°Ç º¯°æ½Ã ÀÏÁ¤ º¯°æÇÔR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«A/S ¸®Äí¸£ÆÃFR
ÄÁÅÿø ¸®Äí¸£ÆÃFR
Âü¼®ÀÚ ¸®Äí¸£ÆÃFR
A/S »çÀü ±³À°- Á¶»ç 1ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(2)À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤ + - TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§) +
DS - ¿Â¶óÀÎ Á¶»ç´Â RÀÇ ÀÏÁ¤¿¡ µû¶ó ÁøÇà
+ - º» ¼³¹® ¸µÅ© °³¹ß ¿äû½Ã ÇÁ·ÎÁ§Æ® ÄÚµå(¶Ç´Â ¿¬µ¿ÇÒ ¼±Á¤ Áú¹®Áö Á¤º¸) Çʼö Àü´Þ
¸®½ºÆ®¾÷·Îµå(KON ÇÁ·Î±×·¥ ÀÌ¿ë ½Ã)- Á¶»ç 1ÀÏ ÀüFR
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- Á¶»ç 1ÀÏ ÀüR
Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ »çÀü °øÀ¯ ¹× È®Á¤- Á¶»ç 1ÀÏ ÀüFR- R ¿äû½Ã FRÀÌ Áغñ
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷R
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- Á¶»ç 2ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü ±â±â °ü·Ã ¾÷¹«ÅÂºí¸´ PC ´ë¿©- Á¶»ç 2ÀÏ ÀüFR
ÅÂºí¸´ PC ¼¼ÆÃ (ÃæÀü Æ÷ÇÔ)- Á¶»ç 1ÀÏ ÀüEX- ¿ÏÃæ»óÅ·ΠºÐÃâ. ´Ù¸¸ ¼¼ÆÃÀÇ °æ¿ì Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹«Áö¿øÇÏ´Â °ÍÀÌ ÇÕ¸®ÀûÀ̶ó »ý°¢ÇÔ(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ ÇÊ¿ä)
³ìÈ­½Ã½ºÅÛ Àåºñ Á¡°Ë ¹× ¼¼ÆÃ + - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü +
EX + - Àåºñ Á¡°Ë ¹× ±¸µ¿ ¸Å´º¾ó º°µµ ºñÄ¡
+ - ³ìÈ­Àåºñ´Â EX¿¡¼­ Á¤±âÀûÀ¸·Î Á¡°ËÇϰí, Á´ãȸ°¡ ÀÖ´Â °æ¿ì ³ìÈ­Á¶°Ç/ȯ°æ¿¡ µû¶ó ÃÖ¼Ò 2ÀÏ~1ÀÏ Àü & Á´ãȸ ´çÀÏ¿¡ Á¡°ËÇÒ ¿¹Á¤. ´Ù¸¸ ¼¼ÆÃÀÇ °æ¿ì Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹« Áö¿ø(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ ÇÊ¿ä)
+ - Àڱع° Á¦½Ã¸¦ À§ÇÑ ºöÇÁ·ÎÁ§Åͳª TV ÀÛµ¿ »çÀü Á¡°Ë ÇÊ¿ä +
Á¶»ç ½ÃÀÛ Àü ¼¼ÆÃ °ü·Ã ¾÷¹«Âü¼®ÀÚ ÃÖÁ¾ È®ÀÎFR
Âü¼®ÀÚ ´Ù°ú/½Ä»ç ÁغñFR
Ŭ¶óÀÌ¾ðÆ® ¹èÆ÷¿ë Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ ÀÛ¼º ¹× Àü´ÞFR
Á¶»ç ÁøÇà Áß ÀÀ´ë ¾÷¹«Å¬¶óÀÌ¾ðÆ® ÀÀ´ë ¹× ÀεµR
Âü¼®ÀÚ ÀÀ´ë ¹× ÀεµFR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - Âü¼®¿¡ µû¸¥ ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
ÅÂºí¸´ PC ¼¼ÆÃ (Á¶»ç ÁøÇà Áß ÃæÀü, Á¶»ç ½ÃÀÛ~Á¾·á±îÁö °ü¸®)FR
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Å×½ºÆ® Á¦Ç° Á¶¸® ¹× ¼­ºùFR
Á¾ÀÌ ¼³¹®Áö·Î ÁøÇà ½Ã ¼³¹®Áö ȸ¼ö-Á¶»ç ´çÀÏFR +
KON ¸µÅ©·Î ÁøÇà ½Ã µ¥ÀÌÅÍ È®ÀÎR
Á¶»ç ¿Ï·á ÈÄ ÅÂºí¸´ PC ¹Ý³³FR
Á¶»ç ÁøÇà Áß Âü°ü·ë °ü·Ã ¾÷¹«Å¬¶óÀÌ¾ðÆ® ´Ù°ú ÁغñFR- ±âº»´Ù°ú ±âÁØ
Ŭ¶óÀÌ¾ðÆ® ½Ä»ç ÁغñR- ÁøÇà 1ÀÏ Àü ¿äû½Ã FRÀÌ ÁøÇà
Á¶»ç Á¾·á ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ÀÍÀÏ ¿ÀÀü 10½ÃFR- 10½Ã ÀÌÈÄ Á¾·á½Ã 1Â÷ R¿¡¼­ Á¤¸® ÈÄ ÀÍÀÏ ¿ÀÀü 10½Ã±îÁö FR¿¡¼­ ÃÖÁ¾ Á¤¸®
Á¶»ç Á¾·á ÈÄ °í°´»ç Âü°ü ·ë Á¤¸®R
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Âü¼®ÀÚ »ç·Êºñ Áö±Þ ÀÚ·á(½ÅºÐÁõ, ÅëÀå»çº» µî) ÃëÇÕFR
Âü¼®ÀÚ »ç·Êºñ ³»¿ª ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦Ãâ- ÀÍÀÏ ¿ÀÀü 12½ÃFR
Âü¼®ÀÚ »ç·Êºñ ÀÌü- °áÀç ÈÄ ´çÀÏ Áö±ÞBI- ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»êFR
DB °ü·Ã ¾÷¹«DB µî·ÏFR
Á¶»ç ¿Ï·á ÈÄDATA ´Ù¿î·ÎµåR
+ DATA
+ Processing +
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«Áß°£ µ¥ÀÌÅÍ, Coding Frame È®ÀÎQC
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR- ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
DATA EntryQC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
Punching Error °ü¸®QC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI- (¼±Á¤Áú¹® ºÐ¼®½Ã)¼±Á¤Áú¹® DATA È®ÀÎ ÇÊ¿ä
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)ºÐ¼®°¡À̵å
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/HUT.asp b/cost/HUT.asp new file mode 100644 index 0000000..5053a63 --- /dev/null +++ b/cost/HUT.asp @@ -0,0 +1,1070 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

HUT

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ¿¹»ê(¸éÁ¢ºñ, ´ä·Êǰ) È®Á¤FR - Ŭ¶óÀ̾ðÆ®ÀÇ º°µµ ¿äû»çÇ× Àܴ̿ FR¿¡¼­ °áÁ¤
+ - ´ä·Êǰ Àüü ºñ¿ë¿¡ ´ëÇØ¼­´Â R ±×·ì ÀÇ°ß ¼ö·Å ÇÊ¿ä
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö + °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö, ÄõÅÍ È®Á¤ - ±³À° 1ÁÖÀÏ ÀüR
Á¶»ç¿øº° ÁøÇà ÄõÅÍ ÀÛ¼ºFR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«¸éÁ¢¿ø ¸®Äí¸£ÆÃFR
Á¶»ç ½ÃÀÛ Àü ÅÇ °ü·Ã ¾÷¹«ÅÇ ´ë¿© °³¼ö È®ÀÎ- ±³À° 1ÁÖÀÏ ÀüÀüFR- ÅÇÀ» Ȱ¿ëÇÑ Á¶»çÀÎ °æ¿ì, »çÀü ÅÇ °ü·Ã ¾÷¹« È®ÀÎ ÇÊ¿ä
ÀÎÆ®¶ó³Ý ÅÇ ´ë¿© µî·Ï- ±³À° 1ÁÖÀÏ ÀüÀüFR
´ë¿© ÅÇ ÃæÀü ¹× KON ¼³Ä¡ È®ÀÎ- ±³À°ÀüFR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀüR
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷R
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- Á¶»ç 2ÀÏ ÀüR
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- Á¶»ç¿ø ±³À° Àü³¯ ÃÖÁ¾¿Ï·áR
Á¶»ç ½ÃÀÛ Àü O/T °ü·Ã ¾÷¹«O/T ÀÏÁ¤È®Á¤ - ±³À° 1ÁÖÀÏ ÀüR
O/T Àå¼Ò ¿¹¾à- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR- O/T ÁøÇà·ë ¿¹¾à
ÁÜ or ÆÀÁî ¿¹¾à (ºñ´ë¸é O/T½Ã)- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR
O/T ÀÏÁ¤ & ÁÜ or ÆÀÁũ(ºñ´ë¸é O/T½Ã) Á¶»ç¿ø °øÁö)- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR
Á¶»ç¿ø O/T ÁøÇàR- ÀÀ´äÀÚ »çÀü Á¶°Ç °ü·Ã O/T
Á¶»ç ½ÃÀÛ Àü ÀÀ´äÀÚ ¼·¿Ü ¾÷¹«ÀÀ´äÀÚ ÄõÅÍ Àü´Þ + FR
ÀÀ´äÀÚ ¸í´Ü ÃëÇÕFR
ÀÀ´äÀÚ ¸í´Ü °ËÁõÆÀ Àü´ÞQC
°ËÁõ °á°ú¿¡ µû¸¥ ÀÀ´äÀÚ ´ëü ¸®Äí¸£ÆÃFR
ÁøÇà º¸°íFR
Á¶»ç ½ÃÀÛ Àü ¼¼ÆÃ °ü·Ã ¾÷¹«°í°´»ç Á¦°ø Å×½ºÆ® Á¦Ç° ¼ö·É È®ÀÎ- Á¦Ç°¼ö·É Áï½Ã È®ÀÎR- Å×½ºÆ® Á¦Ç°ÀÇ ¼ö·ÉÀº ¿¬±¸ºÎ¿¡¼­ ÁøÇàÇϳª, ¼ö·® È®ÀÎ/¹°Ç° º¸°ü Àå¼Ò¿¡ ´ëÇØ¼­´Â R°ú FRÀÇ ³íÀÇ ÇÊ¿ä
Å×½ºÆ® Á¦Ç°¿¡ ¹®Á¦°¡ ÀÖÀ» °æ¿ì Ŭ¶óÀÌ¾ðÆ®¿¡°Ô ÀçÈ®ÀÎ- Á¦Ç°¼ö·É Áï½Ã È®ÀÎR
(½ÄǰÁ¶»çÀÎ °æ¿ì) Å×½ºÆ® Á¦Ç° º¸°ü ¹æ¹ý È®ÀÎ- »çÀü¹ÌÆÃ½Ã È®Á¤R- ½Äǰ Á¶»çÀÎ °æ¿ì ¿¬±¸ÆÀ¿¡¼­ º¸°ü ¹æ¹ý È®ÀÎ ÈÄ ½Ç»ç¿¡ °øÀ¯, ¹°Ç° ¹ß¼Û ½ÃÁ¡±îÁö ´ë¿© ±â±â°¡ ÇÊ¿äÇÑ °æ¿ì Á÷Á¢ºñ »ç¿ë ºÎ¼­ °ü·Ã ³íÀÇ ÇÊ¿ä
Á¦Ç° ·ÎÅ×ÀÌ¼Ç ¿©ºÎ È®ÀÎ- ±³À° 1ÁÖÀÏ ÀüR- 2°³ ÀÌ»óÀÇ Á¦Ç°ÀÏ °æ¿ì
Á¦Ç° ¶óº§ ¹× ÁøÇà °¡À̵å Áغñ- ¹ß¼Û 3ÀÏ ÀüR- ¶óº§ Å©±â, ¾ËÆÄºª ¼±Á¤ µî R¿¡¼­ ¾ç½Ä¿¡ ¸ÂÃç Àü´Þ ÇÊ¿ä
Á¦Ç° ¶óº§ ÀÛ¾÷FR- RÀÇ ¿äû½Ã FR ¼öÇà
Á¶»ç ¹°Ç° ¹ß¼Û (Á¦Ç°, ÁøÇà °¡À̵å)- ±³À°´çÀÏ ¹ß¼Û FR- ¸éÁ¢¿ø->ÀÀ´äÀÚ Á÷Á¢ Àü´ÞÀÌ ¾î·Á¿î °æ¿ì FRºÎ¼­¿¡¼­ ÀÀ´äÀÚ¿¡ Á÷Á¢ ¹ß¼Û
ÀÀ´äÀÚ ¹°Ç° ¼ö·É ¹× ÁøÇà°¡ÀÌµå ¸µÅ© ¹®ÀÚ ¹ß¼Û ÈÄ È®ÀÎFR- ¸éÁ¢¿ø->ÀÀ´äÀÚ Á÷Á¢ Àü´ÞÀÌ ¾î·Á¿î °æ¿ì FRºÎ¼­¿¡¼­ ÀÀ´äÀÚ¿¡ Á÷Á¢ ¹ß¼Û ÈÄ ¸éÁ¢¿øÀÌ ¹æ¹®ÇÏ¿© ¹°Ç° ¼ö·É È®ÀÎ ÈÄ Á¶»ç ÁøÇà
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºFR
DATA ´Ù¿î·Îµå ¹× ÄõÅÍÈ®ÀÎFR
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Á¦Ç° ȸ¼öFR - Ŭ¶óÀÌ¾ðÆ® ¿äû½Ã
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»ê FR
°ü·ÃÀÚ·á µî·Ï ÈÄ ÀÎÆ®¶ó³Ý ÇÁ·ÎÁ§Æ® ¿Ï·á ó¸®FR
DATA
+ Processing
Á¶»ç ÁøÇà Áß °ËÁõ ¾÷¹«°ËÁõ Ç׸ñ È®Á¤- ±³À° ÈÄ ´çÀÏ È®Á¤QC- Â÷¼öº° °ËÁõ
°ËÁõ Áú¹®Áö ºñÀ² È®Á¤QC- ³»ºÎ °ËÁõ ±ÔÁ¤¿¡ ÀǰŠÁøÇà
°ËÁõ °á°ú¿¡ µû¸¥ ¼³¹® ÀçÁ¶»çFR
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«ÁøÇà DATA ¿¡µðÆÃ ÁøÇàQC
ÄÚµù ÇÁ·¡ÀÓ È®Á¤QC
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯R- ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇà)FR
Á¶»ç ¿Ï·á ÈÄ µ¥ÀÌÅÍ À̰ü Àü ¾÷¹«DATA ´Ù¿î·Îµå ¹× ÄõÅÍÈ®ÀÎFR
DATA ºÐ¼®½Ã Á¦¿ÜÇÒ ¿À¹öID °øÀ¯FR - ƯÁ¤ ÇÁ·ÎÁ§Æ®¿¡ ÇÑÇÏ¿©
+ - ƯÁ¤ ÀÀ´ä¿¡ ´ëÇÑ Á¦°Å°¡ ÇÊ¿äÇÒ ¼ö ÀÖ¾î »çÀü R°úÀÇ ÇùÀÇ ÇÊ¿ä
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR
SYNTAX ÀÛ¾÷, ÄõÅÍ ¹× µ¥ÀÌÅÍ ÃÖÁ¾ Á¡°ËDI
Á¶»ç ¿Ï·á ÈÄ ºÐ¼® ¹× Å×À̺í ÀÛ¾÷Coding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
DATA EntryQC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
Punching Error °ü¸®QC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI - (¼±Á¤Áú¹® ºÐ¼®½Ã)¼±Á¤Áú¹® DATA È®ÀÎ ÇÊ¿ä
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)ºÐ¼®°¡À̵å
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/IDI.asp b/cost/IDI.asp new file mode 100644 index 0000000..0556cd3 --- /dev/null +++ b/cost/IDI.asp @@ -0,0 +1,876 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

IDI

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFR- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
ÇÁ·ÎÁ§Æ® Á÷Á¢ºñ »çÀü ÇùÀÇR- ÇÁ·ÎÁ§Æ® ¿¹»ó Á÷Á¢ºñ´Â FR¿¡¼­ ÀÛ¼º
Âü¿©ÀÚ »ç·Êºñ Áö±Þ ÀÏÁ¤ °øÀ¯- Áö±ÞÀÏÁ¤ 3ÀÏÀüFR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFR- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö + °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤ ¹× °øÀ¯ - »çÀü¹ÌÆÃ½Ã È®Á¤R
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§) +
DS
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷- ¸®Äí¸£ÆÃ ½ÃÀÛ 1ÀÏÀüR- ¼±Á¤Áú¹®Áö ÄÁÆßÁö¿¬µîÀÇ ÀÌÀ¯·Î RÀÌ ¿ì¼±ÀûÀ¸·Î ÁøÇàÇϳª FRµµ µ¿½Ã È®ÀÎ ÁøÇà
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- ÀÏÁ¤ Áß ¼±Á¤Áö, ´ë»óÀÚ Á¶°Ç º¯°æ½Ã ÀÏÁ¤ º¯°æÇÔR
Á¶»ç ½ÃÀÛ Àü º£´º °ü·Ã ¾÷¹«ÀÎÅÍºä ·ë ÀÎÆ®¶ó³Ý ¿¹¾à/td> + - ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àR - ÀÏÁ¤ÀÌ È®Á¤ÀÎ °æ¿ì´Â R¿¡¼­ ¿¹¾à, ÀÏÁ¤ ¿©À¯°¡ ÀÖ¾î ³íÀÇ ÈÄ °áÁ¤µÇ´Â °æ¿ì FR¿¡¼­ ¿¹¾à °¡´É
Ŭ¶óÀÌ¾ðÆ® ´ë±â ·ë ÀÎÆ®¶ó³Ý ¿¹¾à - ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àFRÃß°¡ ¿äû ¹ß»ý½Ã
ÁÜ/À¥¿¢½º ¸µÅ© »ý¼º(ºñ´ë¸é) - ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àFR
Àå¼Ò(ƯÁ¤ º£´º ÁøÇà½Ã) ¿¹¾à- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüFR- Ŭ¶óÀÌ¾ðÆ®¿Í ÇùÀÇ ÇÊ¿äÇÏ¿© R ¿¹¾à
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«ÄÁÅÿø ¸®Äí¸£ÆÃFR
Âü¼®ÀÚ ¸®Äí¸£ÆÃFR
½ºÅ©¸³ÅÍ ¸®Äí¸£ÆÃFR
Å뿪»ç ¸®Äí¸£ÆÃR - ÇÊ¿ä½Ã ¸®Äí¸£ÆÃ
Á¶»ç ½ÃÀÛ Àü ¸®Å©·çÆÃ °ü·Ã ¾÷¹«O/T ÀÚ·á Áغñ(¼±Á¤ Áú¹®Áö µî)FR
O/T ÁøÇà(¼±Á¤ Áú¹®Áö µî)- Á¶»ç 1ÀÏ ÀüFR
Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ »çÀü °øÀ¯ ¹× È®Á¤- Á¶»ç 1ÀÏ ÀüFR - R ¿äû½Ã FRÀÌ Áغñ
+ - ºñ´ë¸éÀÎ °æ¿ì ÁÜ/À¥¿¢½º ¸µÅ© Âü¼®ÀÚ¿¡°Ô °øÀ¯
Á¶»ç ½ÃÀÛ Àü ±â±â °ü·Ã ¾÷¹«³ìÈ­½Ã½ºÅÛ Àåºñ Á¡°Ë ¹× ¼¼ÆÃ - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü
EX - Àåºñ Á¡°Ë ¹× ±¸µ¿ ¸Å´º¾ó º°µµ ºñÄ¡
+ - ºñ´ë¸éÀÎ °æ¿ì ½ÃÀÛ Àü¿¡ ½Ç»ç¿ë ÁÜ/À¥¿¢½º ¸µÅ©·Î ³ìÈ­ ¹× ¸¶ÀÌÅ© Å×½ºÆ® ÁøÇà
Á¶»ç ½ÃÀÛ Àü ¼¼ÆÃ °ü·Ã ¾÷¹«Âü¼®ÀÚ ÃÖÁ¾ È®ÀÎFR - ºñ´ë¸éÀÎ °æ¿ì ÁÜ/À¥¿¢½º ¸µÅ© È®ÀÎ ¿©ºÎµµ °°ÀÌ È®ÀÎ
°í°´»ç ¼ÛÇ®¿ë ¸µÅ© ¼¼ÆÃFR
Ŭ¶óÀÌ¾ðÆ® ¹èÆ÷¿ë Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ ÀÛ¼º ¹× Àü´ÞFR
º¸±âÄ«µå ¹× ½Ãû°¢ ÀÚ·á ÁغñR - RÀÌ Áغñ
Á¶»ç ÁøÇà Áß ÀÀ´ë ¾÷¹«Å¬¶óÀÌ¾ðÆ® ÀÀ´ë ¹× ÀεµR
Âü¼®ÀÚ ÀÀ´ë ¹× ÀεµFR - ºñ´ë¸éÀÎ °æ¿ì ÁÜ/À¥¿¢½º Á¢¼Ó ¹æ¹ý °ü·Ã ÀÀ´ë
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Á¶»ç ÁøÇà Áß Âü°ü·ë °ü·Ã ¾÷¹«ÇàŬ¶óÀÌ¾ðÆ® ´Ù°ú ¼¼ÆÃFR
Ŭ¶óÀÌ¾ðÆ® ½Ä»ç ÁغñRFR - ÁøÇà 1ÀÏ Àü ¿äû½Ã FRÀÌ ÁøÇà
Á¶»ç ½ÃÀÛ ÈÄ ³ìÈ­ ½ÃÀÛ ¹öư ´©¸£±âFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Á¶»ç Á¾·á ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ÀÍÀÏ ¿ÀÀü 10½ÃFR - ¿ÀÈÄ 10½Ã ÀÌÈÄ Á¾·á½Ã 1Â÷ R¿¡¼­ Á¤¸® ÈÄ ÀÍÀÏ ¿ÀÀü 10½Ã±îÁö FR¿¡¼­ ÃÖÁ¾ Á¤¸®
Á¶»ç Á¾·á ÈÄ ³ìÈ­ Á¾·á ¹öư ´©¸£±âR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Á¶»ç Á¾·á ÈÄ °í°´»ç Âü°ü ·ë Á¤¸®ºñR - 1Â÷ R¿¡¼­ Á¤¸® ÈÄ ÀÍÀÏ ¿ÀÀü 10½Ã±îÁö FR¿¡¼­ ÃÖÁ¾ Á¤¸®
+ - À§¿Í °°ÀÌ ÀÛ¼ºÇßÀ¸³ª ´çÀÏÀº R¿¡¼­ ´ã´çÇÔ
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Âü¿©ÀÚ »ç·Êºñ Áö±Þ ÀÚ·á(½ÅºÐÁõ, ÅëÀå»çº» µî) ÃëÇÕ¼öFR
Âü¿©ÀÚ »ç·Êºñ ³»¿ª ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦ÃâFR
Âü¿©ÀÚ »ç·Êºñ ÀÌüBI- ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»ê FR
DB °ü·Ã ¾÷¹«DB µî·ÏFR +
DATA
+ Processing
Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹«Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹« - 18½ÃÀ̳» Á¶»ç ´çÀÏ
+ - 18½ÃÀÌÈÄ Á¶»ç ÀÍÀÏ
FR
³ìÈ­/³ìÃë DATA ½ºÅ©¸³ÅÍ¿¡°Ô Àü´Þ - 18½ÃÀ̳» Á¶»ç ´çÀÏ Àü´Þ
+ - 18½ÃÀÌÈÄ Á¶»ç ÀÍÀÏ Àü´Þ
FR
³ìÃë·Ï °ü·Ã ¾÷¹«- ³ìÃëÆÄÀÏ Àü´Þ ±âÁØ 2¹Ú 3ÀÏFR
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/List_Contact.asp b/cost/List_Contact.asp new file mode 100644 index 0000000..91a37fc --- /dev/null +++ b/cost/List_Contact.asp @@ -0,0 +1,721 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

¸®½ºÆ® ÄÁÅÃÁ¶»ç

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤R
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà Èĸ®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- ½Ç»ç ÁøÇà 3ÀÏ ÀüR
ÇÁ·ÎÁ§Æ® Á÷Á¢ºñ »çÀü ÇùÀÇR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤R
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«ÄÁÅÿø ¸®Äí¸£ÆÃFR
Á¶»ç ½ÃÀÛ Àü O/T °ü·Ã ¾÷¹«O/T Àå¼Ò ¿¹¾à ¹× °øÀ¯- ±³À° 1ÁÖÀÏ ÀüFR
O/T ÀÚ·á °øÀ¯(¼³¹®Áö, ÄÁÅÿø °¡ÀÌµå µî)- ±³À° 3ÀÏ ÀüR
O/T ÀÚ·á Ãâ·Â(¼³¹®Áö, ÄÁÅÿø °¡ÀÌµå µî)FR
O/T ÁøÇàR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(1)ÄÁÅûçÀÌÆ® ¸®½ºÆ® ¾÷·Îµå - Á¶»ç ½ÃÀÛ 1ÀÏÀü + R - (FR) ¸®½ºÆ® Á¤Á¦°úÁ¤°ú ÃÖÁ¾ ¸®½ºÆ® ¼ö·ÉÀÏÀÌ ±ÔÄ¢ÀûÀÌÁö ¾Ê¾Æ R¿¡¼­ ÇöÀç ´ëºÎºÐ ÁøÇàÁßÀÓ
ÄÁÅûçÀÌÆ® »ç¿ëÇÒ ¹ß½Å¹øÈ£ µî·Ï - Á¶»ç ½ÃÀÛ 1ÀÏÀüFR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(2)°³º°¸µÅ© Æ÷ÇÔ ´ë·® ¸ÞÀÏ ¹ß¼Û ¿äûR- ¿ÜÁÖ»ç ÀÌ¿ëÀÌ ´ëºÎºÐÀÌ°í ¿ÜÁֻ翡¼­ ÁøÇà
°³º°¸µÅ© Æ÷ÇÔ ´ë·® ¸ÞÀÏ ¹ß¼ÛR- ´ë·® ¸ÞÀÏÀº ¹ß¼Û»çÀÌÆ®(ºñÁî¸ÞÀÏ·¯) »ç¿ëÇÏ¿© ÁøÇàÇÔ
°³º°¸µÅ© Æ÷ÇÔ ´ë·® ¹®ÀÚ ¹ß¼Û ¿äûR- ¿ÜÁÖ»ç ÀÌ¿ëÀÌ ´ëºÎºÐÀÌ°í ¿ÜÁֻ翡¼­ ÁøÇà
°³º°¸µÅ© Æ÷ÇÔ ´ë·® ¹®ÀÚ ¹ß¼ÛR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄÁÅà ÇöȲ °ü¸®FR
¸ÞÀÏ ¹Ý¼Û °ü¸®FR
¿ìÆí, ÆÑ½º ¹ß¼Û ¹× ȸ¼öFR
À̽´ ¹ß»ý½Ã ¸éÁ¢¿ø Àç±³À°FR
ÄÄÇ÷¹ÀÎ ´ëÀÀR- ÇöÀåÀ̳ª ÄÁÅÿø¿¡°Ô Àü´Þ ¹ÞÀº ÄÄÇ÷¹Àο¡ ´ëÇØ¼­ 1Â÷ FR ´ëÀÀ ÈÄ, R Àü´Þ
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR - ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
DATA
+ Processing
Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹«³ìÈ­/³ìÃë DATA È®ÀÎ ¹× ´Ù¿î·ÎµåFR- ÇÊ¿ä½Ã
³ìÃë·Ï ¼ö½ÅFR- ÇÊ¿ä½Ã
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)
±âŸ´ä·Êǰ °ü·Ã ¾÷¹«¸ð¹ÙÀϱâÇÁƼÄÜ Áö±ÞFR - FR¿¡¼­ Áö±Þ ¸í´Ü ÀÛ¼º ÈÄ, BI ÂüÁ¶ÇÏ¿© ¾÷ü ¸ÞÀϹ߼Û
¸ð¹ÙÀϱâÇÁƼÄÜ ÁöÃâ°áÀǼ­ ÀÛ¼ºFR - °áÁ¦µÈ ÁöÃâ°áÀǼ­´Â ÃÖÁ¾ EX¿¡ Á¦Ãâ
ÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/Online_Hut.asp b/cost/Online_Hut.asp new file mode 100644 index 0000000..6f0dec6 --- /dev/null +++ b/cost/Online_Hut.asp @@ -0,0 +1,865 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

¿Â¶óÀÎ HUT

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄÂü¿©ÀÚ »ç·Êºñ Áö±Þ ÀÏÁ¤ °øÀ¯- Áö±ÞÀÏÁ¤ 3ÀÏÀüFR
°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö + °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤ - Á¶»ç/ÇÁ·Î±×·¡¹Ö 3ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(1)¼±Á¤Áú¹®Áö È®Á¤ ¹× °øÀ¯ÆÃ + R
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷- ¸®Äí¸£ÆÃ ½ÃÀÛ 1ÀÏÀüR- ¼±Á¤Áú¹®Áö ÄÁÆßÁö¿¬µîÀÇ ÀÌÀ¯·Î RÀÌ ¿ì¼±ÀûÀ¸·Î ÁøÇàÇϳª FRµµ µ¿½Ã È®ÀÎ ÁøÇà
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- ÀÏÁ¤ Áß ¼±Á¤Áö, ´ë»óÀÚ Á¶°Ç º¯°æ½Ã ÀÏÁ¤ º¯°æÇÔR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«ÄÁÅÿø ¸®Äí¸£ÆÃFR
Âü¼®ÀÚ ¸®Äí¸£ÆÃFR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(2)À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤'- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§)
DS- ¿Â¶óÀÎ Á¶»ç´Â RÀÇ ÀÏÁ¤¿¡ µû¶ó ÁøÇà
¸®½ºÆ®¾÷·Îµå(KON ÇÁ·Î±×·¥ ÀÌ¿ë ½Ã)- Á¶»ç 1ÀÏ ÀüFR - ¸®½ºÆ® ¼ö·É ÀÏÁ¤¿¡ µû¶ó À¯µ¿Àû(FRÀÌ ÇÒ¼ö ÀÖ°í, ·ÎÅ×ÀÌ¼Ç º¯°æ½Ã RÀÌ ÁÖ°üÇÒ¼ö ÀÖÀ½) +
- À§¿Í °°ÀÌ ÀÛ¼ºÇßÀ¸³ª Âü¼®ÀÚ¸®½ºÆ® ¾÷·Îµå´Â FRÁøÇàÀ¸·Î º¯°æÇÔ
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- Á¶»ç 1ÀÏ ÀüR
Âü¿©ÀÚ ÇÁ·ÎÆÄÀÏ »çÀü °øÀ¯ ¹× È®Á¤FR- R ¿äû½Ã FRÀÌ Áغñ
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷R
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- Á¶»ç 2ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü ¼¼ÆÃ °ü·Ã ¾÷¹«Å×½ºÆ® Á¦Ç° ¼ö·É È®ÀÎ (Ŭ¶óÀ̾ðÆ®->¸®¼­Ä¡ÄÁ¼³ÆÃ)- Á¦Ç°¼ö·É Áï½Ã È®ÀÎR
Å×½ºÆ® Á¦Ç°¿¡ ¹®Á¦°¡ ÀÖÀ» °æ¿ì Ŭ¶óÀÌ¾ðÆ®¿¡°Ô ÀçÈ®ÀÎ- Á¦Ç°¼ö·É Áï½Ã È®ÀÎR
(½ÄǰÁ¶»çÀÎ °æ¿ì) Å×½ºÆ® Á¦Ç° º¸°ü ¹æ¹ý È®ÀÎ- »çÀü¹ÌÆÃ½Ã È®Á¤R- ½Äǰ Á¶»çÀÎ °æ¿ì ¿¬±¸ÆÀ¿¡¼­ º¸°ü ¹æ¹ý È®ÀÎ ÈÄ ½Ç»ç¿¡ °øÀ¯, ¹°Ç° ¹ß¼Û ½ÃÁ¡±îÁö ´ë¿© ±â±â°¡ ÇÊ¿äÇÑ °æ¿ì Á÷Á¢ºñ »ç¿ë ºÎ¼­ °ü·Ã ³íÀÇ ÇÊ¿ä
- ³ÃÀå°í/½ºÆ¼·Îǰ µî ÇÊ¿ä ¿©ºÎ¸¦ R¿¡¼­ Ŭ¶óÀÌ¾ðÆ®¿Í »óÀÇ ÈÄ °áÁ¤ÇÏ°Ô µÇ¾î R ´ã´çÀ¸·Î °áÁ¤ÇÔ, ±¸¸Å´Â FR¿¡¼­ ÁøÇà
¹ß¼Û ¹°Ç° Áغñ (Á¦Ç°, ÁøÇà °¡ÀÌµå µî) ÈÄ ¹ß¼ÛÀÎ- Á¶»ç 3ÀÏ ÀüFR
Âü¿©ÀÚ ÇÁ·ÎÆÄÀÏ »çÀü °øÀ¯ ¹× È®Á¤- Á¶»ç 1ÀÏ ÀüFR
Âü¿©ÀÚ Á¦Ç° ¼ö·É È®ÀÎ- Á¶»ç 2ÀÏ ÀüFR
Âü¿©ÀÚ°¡ ¼ö·ÉÇÑ Á¦Ç°¿¡ ¹®Á¦°¡ ÀÖÀ» °æ¿ì(ÆÄ¼Õ µî) Àç¹ß¼Û- Á¶»ç 1ÀÏ ÀüFR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Âü¿©ÀÚ »ç·Êºñ Áö±Þ ÀÚ·á(½ÅºÐÁõ, ÅëÀå»çº» µî) ÃëÇÕ¼öFR
Âü¿©ÀÚ »ç·Êºñ ³»¿ª ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦ÃâFR
Âü¿©ÀÚ »ç·Êºñ ÀÌüBI- ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»ê FR
DB °ü·Ã ¾÷¹«DB µî·ÏFR +
Á¶»ç ¿Ï·á ÈÄDATA ´Ù¿î·ÎµåR
Á¦Ç° ȸ¼öFR
DATA
+ Processing
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«Áß°£ µ¥ÀÌÅÍ, Coding Frame È®ÀÎQC
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR- ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇà)DI
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI - (¼±Á¤Áú¹® ºÐ¼®½Ã)¼±Á¤Áú¹® DATA È®ÀÎ ÇÊ¿ä
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)ºÐ¼®°¡À̵å
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/Online_Survey_Kiwi.asp b/cost/Online_Survey_Kiwi.asp new file mode 100644 index 0000000..7ba0af0 --- /dev/null +++ b/cost/Online_Survey_Kiwi.asp @@ -0,0 +1,775 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

¿Â¶óÀÎ(KIWI PANEL)

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- ±âÁØÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ°ßÀû È®ÀÎ ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
¼³¹® °³¹ß ¹× ÆÐ³Î ´ë¿© °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ Àü(ÇØ¿Ü 48½Ã°£)RWorks µî·Ï(°ßÀû¿äû)
Works¿¡ µî·ÏµÈ °ßÀû³»¿ë °ËÅä ¹× È®ÀÎRDB- Á¶°Ç ¹× ³»¿ë °ËÅäÇÏ¿© ÀÚ·á º¸°­
KIWI ¹× ¿ÜºÎ ÆÐ³Î¿¡ °³¹ß/ ÆÐ³Î ´ë¿© °ßÀû È®ÀÎDSDB°ßÀû¼­
¼³¹® °³¹ß ¹× ÆÐ³Î ´ë¿© °ßÀû¼­ ÃëÇÕ ¹× RÆÀ¿¡ °øÀ¯DSDB- Á¦¾È ´Ü°è, ¼öÁÖ ´Ü°è µî ÇöÀç »óȲ ¸íÈ®ÇÑ Àü´Þ Çʼö
RÆÀ¿¡¼­ ÃÖÁ¾ ÁøÇà ÆÐ³Î ¾÷ü È®Á¤RDB
È®Á¤µÈ ¾÷ü¿¡ ÃÖÁ¾ È®Á¤ ³»¿ë Àü´ÞDB- ÀÌÈÄ ¿ÜÁÖ»ç ÄÁÅÃÀº ´ã´çR ÁøÇà
»çÀü Áغñ ¹× »çÀü¹ÌÆÃ °ü·Ã ¾÷¹«Works¿¡ ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·ÏRWorks µî·Ï(Çù¾÷¿äû)
(ÇÊ¿ä½Ã) QC, DI, DS »çÀü ¹ÌÆÃ ÀÏÁ¤ È®ÀÎR
(ÇÊ¿ä½Ã) ÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ ÁøÇàRQCDIDSDB- ¼³¹®Áö ÃʾÈ, ½Ç»çÀÇ·Ú¼­ »çÀü °øÀ¯ Çʼö
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRQCDIDS- ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö + °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤R
À¥ ¼³¹® ¼¼ÆÃ ¾÷¹«ÃÖÁ¾ ¼³¹®Áö ¹× ÇöȲÆäÀÌÁö µî ÇÊ¿äÇÑ °³¹ß ¿äû- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§) +
R- ÇÁ·Î±×·¥ °³¹ß ³ëÆ® Æ÷ÇÔ Çʼö, ´ë»óÀÚ ¼±Á¤ Á¶°Ç °øÀ¯ÃÖÁ¾ ¼³¹®, ÇÒ´çÇ¥
¿Â¶óÀÎ ¼³¹® °³¹ß ÁøÇà ¹× Å×½ºÆ® ÁøÇàRDSDB
Å×½ºÆ® ¸µÅ© RÆÀ¿¡ Àü´ÞRDS
Á¶»ç ½ÃÀÛ ´Ü°èÅ×½ºÆ® °á°ú ¹Ý¿µÇÑ ÃÖÁ¾ ¸µÅ© Àü´ÞDS
Á¶»ç ÁøÇà ÃÖÁ¾ ÄÁÆß ÈÄ ³»¿ë Àü´ÞRDS- R ¡æ DB
Á¶»ç ÁøÇà ½ÃÀÛ ¶Ç´Â ¼ÒÇÁÆ® ·±Äª ¿äûRDS- R ¡æ DB
Á¶»ç ÁøÇà ´Ü°è·±ÄªÀü, ¸µÅ© ÃÖÁ¾ È®ÀÎ(Kiwi ÁøÇà °ü·Ã Ãß°¡ ÇϵåÄÚµù µî)DSDB
Kiwi Admin - ¼³¹® ¼ÂÆÃ ÀÛ¾÷(Æ÷ÀÎÆ®, ÀÏÁ¤, ÄõÅÍ µî), ´ë»óÀÚ »ùÇøµDB
Á¶»ç ½ÃÀÛ ¹× ¼ÒÇÁÆ® ·±Äª ÁøÇàDB
¼ÒÇÁÆ® ·±Äª µ¥ÀÌÅÍ ´Ù¿î·ÎµåDB
¼ÒÇÁÆ® ·±Äª µ¥ÀÌÅÍ È®ÀÎDB
(ÇÊ¿ä½Ã) ¼³¹® ¸µÅ© ¼öÁ¤DSDB
Ç® ·±Äª ÁøÇàDB
ÇöȲ ÆäÀÌÁö RÆÀ¿¡ °øÀ¯DB
´ë»óÀÚ »ùÇøµ, ¾Ë¸²Åå ¹ß¼Û(¼ö½Ã·Î ÁøÇà)DB
(ÇÊ¿ä½Ã) Áß°£ µ¥ÀÌÅÍ ´Ù¿î·ÎµåRDIDB
(ÇÊ¿ä½Ã) Áß°£ µ¥ÀÌÅÍ È®ÀÎRDIDB
ºÒ·® µ¥ÀÌÅÍ È®ÀÎ ¹× »èÁ¦Ã³¸®DB- ³»ºÎ ¹× ¿ÜºÎ ÁøÇà¿¡ µû¸¥ ¿ªÇÒ È®ÀÎ ÇÊ¿ä(µ¥ÀÌÅÍ È®ÀÎ, ºÒ·® üũ µî)
(ÇÊ¿ä½Ã) °í°´»ç ¿äû ¹× Á¶»ç À̽´¿¡ µû¸¥ ºÒ·®µ¥ÀÌÅÍ È®ÀÎR
(ÇÊ¿ä½Ã) Ŭ¶ó¿ìµå ÆÐ³Î ¼¼ÆÃ ¹× »ùÇøµDB
ÇöȲ ÆäÀÌÁö È®ÀÎ Çϸç Á¶»ç ÇöȲ È®ÀÎRDB
Á¶»ç ¿Ï·á ÈÄ ÃÖÁ¾ µ¥ÀÌÅÍ, º¯¼ö°¡À̵å À̰üDB- DB ¡æ R
Á¶»ç ¿Ï·á ´Ü°èµ¥ÀÌÅÍ È®ÀÎÈÄ À¯°üºÎ¼­¿¡°Ô µ¥ÀÌÅÍ Àü´ÞR- ³»ºÎ ÁøÇàÀÇ °æ¿ì ´Ü°è »ý·« (R ¡æ QC/DI)
DATA
+ Processing
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«Áß°£ µ¥ÀÌÅÍ, Coding Frame È®ÀÎQC
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüRºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
Á¶»ç ¿Ï·á ÈÄ µ¥ÀÌÅÍ Ã³¸® ¾÷¹«ÄÚµù ÀÛ¾÷ ÁøÇàQC
Coding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
Á¶»ç ¿Ï·á ÈÄ ºÐ¼® ¹× Å×À̺í ÀÛ¾÷ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI
(ÇÊ¿ä½Ã) ¿ÀÇ Á¦¿Ü Å×À̺í ÀÛ¾÷ + DI
¿ÀÇ Æ÷ÇÔ Àüü Å×À̺í ÀÛ¾÷ + - »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷ + - Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®DSDB
+
+
+ + \ No newline at end of file diff --git a/cost/Online_Survey_Out.asp b/cost/Online_Survey_Out.asp new file mode 100644 index 0000000..35f6fd0 --- /dev/null +++ b/cost/Online_Survey_Out.asp @@ -0,0 +1,594 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+ div class="table_title"> +

¿Â¶óÀÎ(¿ÜÁÖ PANEL)

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- ±âÁØÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ°ßÀû È®ÀÎ ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
¼³¹® °³¹ß ¹× ÆÐ³Î ´ë¿© °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ Àü(ÇØ¿Ü 48½Ã°£)R + + Works µî·Ï(°ßÀû¿äû)
Works¿¡ µî·ÏµÈ °ßÀû³»¿ë °ËÅä ¹× È®ÀÎRDB- Á¶°Ç ¹× ³»¿ë °ËÅäÇÏ¿© ÀÚ·á º¸°­
KIWI ¹× ¿ÜºÎ ÆÐ³Î¿¡ °³¹ß/ ÆÐ³Î ´ë¿© °ßÀû È®ÀÎDSDB°ßÀû¼­
¼³¹® °³¹ß ¹× ÆÐ³Î ´ë¿© °ßÀû¼­ ÃëÇÕ ¹× RÆÀ¿¡ °øÀ¯DSDB- Á¦¾È ´Ü°è, ¼öÁÖ ´Ü°è µî ÇöÀç »óȲ ¸íÈ®ÇÑ Àü´Þ Çʼö
RÆÀ¿¡¼­ ÃÖÁ¾ ÁøÇà ÆÐ³Î ¾÷ü È®Á¤RDB
È®Á¤µÈ ¾÷ü¿¡ ÃÖÁ¾ È®Á¤ ³»¿ë Àü´ÞDB- ÀÌÈÄ ¿ÜÁÖ»ç ÄÁÅÃÀº ´ã´çR ÁøÇà
»çÀü Áغñ ¹× »çÀü¹ÌÆÃ °ü·Ã ¾÷¹«Works¿¡ ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·ÏRWorks µî·Ï(Çù¾÷¿äû)
(ÇÊ¿ä½Ã) QC, DI, DS »çÀü ¹ÌÆÃ ÀÏÁ¤ È®ÀÎR
(ÇÊ¿ä½Ã) ÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ ÁøÇàRQCDIDS- ¼³¹®Áö ÃʾÈ, ½Ç»çÀÇ·Ú¼­ »çÀü °øÀ¯ Çʼö
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRQCDIDS- ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö + °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤R
À¥ ¼³¹® ¼¼ÆÃ ¾÷¹«ÃÖÁ¾ ¼³¹®Áö ¹× ÇöȲÆäÀÌÁö µî ÇÊ¿äÇÑ °³¹ß ¿äû- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§) +
R- ÇÁ·Î±×·¥ °³¹ß ³ëÆ® Æ÷ÇÔ Çʼö, ´ë»óÀÚ ¼±Á¤ Á¶°Ç °øÀ¯ÃÖÁ¾ ¼³¹®, ÇÒ´çÇ¥
¿Â¶óÀÎ ¼³¹® °³¹ß ÁøÇà ¹× Å×½ºÆ® ÁøÇàRDS/¿ÜÁÖ
Å×½ºÆ® ¸µÅ© RÆÀ¿¡ Àü´ÞDS/¿ÜÁÖÅ×½ºÆ®¸µÅ©--> Å×½ºÆ®¸µÅ©/ÇöȲÆäÀÌÁö°¡ ÇÔ²² Àü´ÞµÇ¾î¾ß ÇÕ´Ï´Ù
Á¶»ç ½ÃÀÛ ´Ü°èÅ×½ºÆ® °á°ú ¹Ý¿µÇÑ ÃÖÁ¾ ¸µÅ© Àü´ÞDS/¿ÜÁÖ
Á¶»ç ÁøÇà ÃÖÁ¾ ÄÁÆß ÈÄ ³»¿ë Àü´ÞRDS/¿ÜÁÖ- R ¡æ DB
Á¶»ç ÁøÇà ½ÃÀÛ ¶Ç´Â ¼ÒÇÁÆ® ·±Äª ¿äûRDS/¿ÜÁÖ- R ¡æ DB
Á¶»ç ÁøÇà ´Ü°è¼ÒÇÁÆ® ·±Äª ¹× Ç®·±Â¡ / Á¶»ç ÁøÇà ÇöȲ °øÀ¯DS/¿ÜÁÖ¿ÜÁÖ
(ÇÊ¿ä½Ã) Áß°£ µ¥ÀÌÅÍ Àü´ÞRDI¿ÜÁÖ
ÇöȲ ÆäÀÌÁö È®ÀÎ Çϸç Á¶»ç ÇöȲ È®ÀÎR¿ÜÁÖ(ÇÊ¿ä½Ã) ºÒ·®µ¥ÀÌÅÍ Ã¼Å© ¹× Á¦°Å Æ÷ÇÔ
Á¶»ç ¿Ï·á ÈÄ ÃÖÁ¾ µ¥ÀÌÅÍ, º¯¼ö°¡À̵å À̰ü¿ÜÁÖ- ¿ÜÁÖ»ç ¡æ R
Á¶»ç ¿Ï·á ´Ü°èµ¥ÀÌÅÍ È®ÀÎÈÄ À¯°üºÎ¼­¿¡°Ô µ¥ÀÌÅÍ Àü´ÞR- ³»ºÎ ÁøÇàÀÇ °æ¿ì ´Ü°è »ý·« (R ¡æ QC/DI)
DATA
+ Processing
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«Áß°£ µ¥ÀÌÅÍ, Coding Frame È®ÀÎQC
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüRºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
Á¶»ç ¿Ï·á ÈÄ µ¥ÀÌÅÍ Ã³¸® ¾÷¹«ÄÚµù ÀÛ¾÷ ÁøÇàQC
Coding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
Á¶»ç ¿Ï·á ÈÄ ºÐ¼® ¹× Å×À̺í ÀÛ¾÷ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI
(ÇÊ¿ä½Ã) ¿ÀÇ Á¦¿Ü Å×À̺í ÀÛ¾÷ + DI
¿ÀÇ Æ÷ÇÔ Àüü Å×À̺í ÀÛ¾÷ + - »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷ + - Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
+
+
+ + \ No newline at end of file diff --git a/cost/T_P_GangSurvey.asp b/cost/T_P_GangSurvey.asp new file mode 100644 index 0000000..8270a53 --- /dev/null +++ b/cost/T_P_GangSurvey.asp @@ -0,0 +1,1232 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

(¸ÀÅ×½ºÆ® & Á¦Ç° Æò°¡)Gang Survey

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: ºÐ¼®ÆÀ, DS: °³¹ßÆÀ, DB: ŰÀ§¼­º£ÀÌ ¹× ¿Â¶óÀÎ °ßÀû BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄÂü¼®ÀÚ »ç·Êºñ Áö±Þ ÀÏÁ¤ °øÀ¯- Áö±ÞÀÏÁ¤ 3ÀÏ ÀüFR
ÇÁ·ÎÁ§Æ® Á÷Á¢ºñ »çÀü ÇùÀÇR- ÇÁ·ÎÁ§Æ® ¿¹»ó Á÷Á¢ºñ´Â FR ¿¡¼­ ÀÛ¼º
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤- Á¶»ç/ÇÁ·Î±×·¡¹Ö 3ÀÏ ÀüR
¼³¹®Áö/º¸±âÄ«µå Àμâ- Á¶»ç´çÀÏFR- ÆäÀÌÆÛÁøÇà ¶Ç´Â ¿¹ºñ¿ëÀ¸·Î Áغñ
Á¶»ç ½ÃÀÛ Àü º£´º °ü·Ã ¾÷¹«°»¼­º£ÀÌ·ë ÀÎÆ®¶ó³Ý ¿¹¾à- ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àR- ÀÏÁ¤ÀÌ È®Á¤ÀÎ °æ¿ì´Â R¿¡¼­ ¿¹¾à, ÀÏÁ¤ ¿©À¯°¡ ÀÖ¾î ³íÀÇ ÈÄ °áÁ¤µÇ´Â °æ¿ì FR¿¡¼­ ¿¹¾à °¡´É
°»¼­º£ÀÌ·ë Á¶»ç¿¡ ¸Â´Â ÇüÅ·Π¼¼ÆÃ + - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü +
EX- Á¶º°ÇüÅÂ, µð±Ú('¤§')ÀÚ ÇüÅÂ¿Í °°ÀÌ º¸ÆíÀûÀÎ ¹èÄ¡¶ó¸é FR¿¡¼­ ÁøÇàÇϰí, Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹«Áö¿øÇÏ´Â °ÍÀÌ ÇÕ¸®ÀûÀ̶ó »ý°¢ÇÔ(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ÇÊ¿ä)
Àå¼Ò(ƯÁ¤ º£´º ÁøÇà½Ã) ¿¹¾à- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(1)¼±Á¤Áú¹®Áö È®Á¤ ¹× °øÀ¯- »çÀü¹ÌÆÃ½Ã È®Á¤R
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷- ¸®Äí¸£ÆÃ ½ÃÀÛ 1ÀÏÀüR- ¼±Á¤Áú¹®Áö ÄÁÆßÁö¿¬µîÀÇ ÀÌÀ¯·Î RÀÌ ¿ì¼±ÀûÀ¸·Î ÁøÇàÇϳª FRµµ µ¿½Ã È®ÀÎ ÁøÇà
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- ÀÏÁ¤ Áß ¼±Á¤Áö, ´ë»óÀÚ Á¶°Ç º¯°æ½Ã ÀÏÁ¤ º¯°æÇÔR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«A/S ¸®Äí¸£ÆÃFR
ÄÁÅÿø ¸®Äí¸£ÆÃFR
ÀÀ´äÀÚ / Âü¼®ÀÚ ¸®Äí¸£ÆÃFR
A/S »çÀü ±³À°- Á¶»ç 1ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü Á¦Ç° °ü·Ã ¾÷¹« °í°´»ç Á¦°ø Å×½ºÆ® Á¦Ç° ¼ö·É È®ÀÎ- ¼ö·É ´çÀÏ
- Á¶»ç 2ÀÏ Àü ¼ö·ÉµÇ¾î¾ß ÇÔ +
R- Á¦Ç°¿¡ µû¶ó FR¿¡°Ô ÇùÁ¶ ¿äû °¡´É
Å×½ºÆ® Á¦Ç° ÀÚü Áغñ- Á¶»ç 1ÀÏ ÀüFR
Å×½ºÆ® Á¦Ç° ¶óº§/·ÎÅ×ÀÌ¼Ç ÄÚµå Áغñ- Á¶»ç 1ÀÏ ÀüR
Å×½ºÆ® Á¦Ç° ¶óº§¸µ ÀÛ¾÷- Á¶»ç 1ÀÏ ÀüFR
Å×½ºÆ® Á¦Ç° Á¶¸®½Ç Á¤ºñ ¹× Á¶¸®±â±¸ Áغñ- Á¶»ç 1ÀÏ ÀüFR
Å×½ºÆ® Á¦Ç° º¸°ü ¹× º¸¾È °ü·Ã ¾÷¹«- Á¶»ç 1ÀÏ ÀüFREX - Àåºñ Á¡°Ë ¹× ±¸µ¿ ¸Å´º¾ó º°µµ ºñÄ¡
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(2)À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤ + - TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§) +
DS- ¿Â¶óÀÎ Á¶»ç´Â RÀÇ ÀÏÁ¤¿¡ µû¶ó ÁøÇà
¸®½ºÆ®¾÷·Îµå(KON ÇÁ·Î±×·¥ ÀÌ¿ë ½Ã)- Á¶»ç 1ÀÏ ÀüFR
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- Á¶»ç 1ÀÏ ÀüR
Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ »çÀü °øÀ¯ ¹× È®Á¤- Á¶»ç 1ÀÏ ÀüFR- ¿Â¶óÀÎ Á¶»ç´Â RÀÇ ÀÏÁ¤¿¡ µû¶ó ÁøÇà)
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷R
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- Á¶»ç 2ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü ±â±â °ü·Ã ¾÷¹«ÅÂºí¸´ PC ´ë¿©- Á¶»ç 2ÀÏ ÀüFR
ÅÂºí¸´ PC ¼¼ÆÃ (ÃæÀü Æ÷ÇÔ)- Á¶»ç 1ÀÏ ÀüEX- ¿ÏÃæ»óÅ·ΠºÐÃâ. ´Ù¸¸ ¼¼ÆÃÀÇ °æ¿ì Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹«Áö¿øÇÏ´Â °ÍÀÌ ÇÕ¸®ÀûÀ̶ó »ý°¢ÇÔ(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ ÇÊ¿ä)
³ìÈ­½Ã½ºÅÛ Àåºñ Á¡°Ë ¹× ¼¼ÆÃ + - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü +
EX + - Àåºñ Á¡°Ë ¹× ±¸µ¿ ¸Å´º¾ó º°µµ ºñÄ¡
+ - ³ìÈ­Àåºñ´Â EX¿¡¼­ Á¤±âÀûÀ¸·Î Á¡°ËÇϰí, Á´ãȸ°¡ ÀÖ´Â °æ¿ì ³ìÈ­Á¶°Ç/ȯ°æ¿¡ µû¶ó ÃÖ¼Ò 2ÀÏ~1ÀÏ Àü & Á´ãȸ ´çÀÏ¿¡ Á¡°ËÇÒ ¿¹Á¤. ´Ù¸¸ ¼¼ÆÃÀÇ °æ¿ì Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹« Áö¿ø(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ ÇÊ¿ä)
+ - Àڱع° Á¦½Ã¸¦ À§ÇÑ ºöÇÁ·ÎÁ§Åͳª TV ÀÛµ¿ »çÀü Á¡°Ë ÇÊ¿ä +
Á¶»ç ½ÃÀÛ Àü ¼¼ÆÃ °ü·Ã ¾÷¹«Âü¼®ÀÚ ÃÖÁ¾ È®ÀÎFR
Âü¼®ÀÚ Å×½ºÆ® Á¦Ç°¿¡ ¸Â´Â Áغñ¹° ¼¼ÆÃFR- ½Ã³£ÀÇ °æ¿ì Àç¶³ÀÌ, ½ÄǰÀÇ °æ¿ì ¹°, Å©·¡Ä¿ µî
Ŭ¶óÀÌ¾ðÆ® ¹èÆ÷¿ë Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ ÀÛ¼º ¹× Àü´ÞFR
Á¶»ç ÁøÇà Áß ÀÀ´ë ¾÷¹«Å¬¶óÀÌ¾ðÆ® ÀÀ´ë ¹× ÀεµR
Âü¼®ÀÚ ÀÀ´ë ¹× ÀεµFR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - Âü¼®¿¡ µû¸¥ ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
ÅÂºí¸´ PC ¼¼ÆÃ (Á¶»ç ÁøÇà Áß ÃæÀü, Á¶»ç ½ÃÀÛ~Á¾·á±îÁö °ü¸®)FR
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Å×½ºÆ® Á¦Ç° Á¶¸® ¹× ¼­ºùFR
Á¾ÀÌ ¼³¹®Áö·Î ÁøÇà ½Ã ¼³¹®Áö ȸ¼ö-Á¶»ç ´çÀÏFR +
KON ¸µÅ©·Î ÁøÇà ½Ã µ¥ÀÌÅÍ È®ÀÎR
Á¶»ç ¿Ï·á ÈÄ ÅÂºí¸´ PC ¹Ý³³FR
Á¶»ç ÁøÇà Áß Âü°ü·ë °ü·Ã ¾÷¹«Å¬¶óÀÌ¾ðÆ® ´Ù°ú ¼¼ÆÃFR- ±âº»´Ù°ú ±âÁØ
Ŭ¶óÀÌ¾ðÆ® ½Ä»ç ÁغñR- ÁøÇà 1ÀÏ Àü ¿äû½Ã FRÀÌ ÁøÇà
Á¶»ç Á¾·á ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ÀÍÀÏ ¿ÀÀü 10½ÃFR- 10½Ã ÀÌÈÄ Á¾·á½Ã 1Â÷ R¿¡¼­ Á¤¸® ÈÄ ÀÍÀÏ ¿ÀÀü 10½Ã±îÁö FR¿¡¼­ ÃÖÁ¾ Á¤¸®
Á¶»ç Á¾·á ÈÄ °í°´»ç Âü°ü ·ë Á¤¸®R
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Âü¼®ÀÚ »ç·Êºñ Áö±Þ ÀÚ·á(½ÅºÐÁõ, ÅëÀå»çº» µî) ÃëÇÕFR
Âü¼®ÀÚ »ç·Êºñ ³»¿ª ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦Ãâ- ÀÍÀÏ ¿ÀÀü 12½ÃFR
Âü¼®ÀÚ »ç·Êºñ ÀÌü- °áÀç ÈÄ ´çÀÏ Áö±ÞBI- ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»êFR
Á¶»ç ¿Ï·á ÈÄ Á¦Ç° °ü·Ã ¾÷¹«ÀÜ¿© Å×½ºÆ® Á¦Ç° ¼ö°ÅFR
ÀÜ¿© Å×½ºÆ® Á¦Ç° ó¸® ¹æ¹ý Àü´ÞR
Å×½ºÆ® Á¦Ç° °í°´»ç ȸ¼ö ½Ã Á¦Ç° º¸°üFR
DB °ü·Ã ¾÷¹«DB µî·ÏFR
+ DATA
+ Processing +
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«Áß°£ µ¥ÀÌÅÍ, Coding Frame È®ÀÎQC
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR- ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
DATA EntryQC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
Punching Error °ü¸®QC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI- (¼±Á¤Áú¹® ºÐ¼®½Ã)¼±Á¤Áú¹® DATA È®ÀÎ ÇÊ¿ä
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)ºÐ¼®°¡À̵å
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/Visit_Monitoring.asp b/cost/Visit_Monitoring.asp new file mode 100644 index 0000000..472d23b --- /dev/null +++ b/cost/Visit_Monitoring.asp @@ -0,0 +1,1179 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

¹æ¹® ¸ð´ÏÅ͸µ

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: DIÆÀ(DP), DS: °³¹ßÆÀ, BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·ÏR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ + ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄ¿¹»ê(¸éÁ¢ºñ) È®Á¤FR¿¹»ê(¸éÁ¢ºñ) È®Á¤
ÁøÇà ¸®½ºÆ® Áö¿ªº° ÇÒ´ç °øÀ¯ - »çÀü¹ÌÆÃ½Ã È®Á¤R- ¿ÜÁÖ ¾÷ü ¼·¿Ü ¹× Áö¿ªº° »ùÇà °øÀ¯
üũ¸®½ºÆ® ¹× °¡ÀÌµå °øÀ¯ - »çÀü¹ÌÆÃ½Ã Á¦°øR- Æò°¡±âÁؾÈÀ̳ª üũ¸®½ºÆ® ÃʾÈÀÇ °øÀ¯
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¸®½ºÆ®/üũ¸®½ºÆ® ¹× Áغñ ¾÷¹«ÃÖÁ¾ ¸ð´ÏÅ͸µ ÁøÇà ¸®½ºÆ® °øÀ¯ ) - ±³À° 1ÁÖÀÏ ÀüR- Áö¿ª/ÁÖ¼Ò, ±¸ºÐ Á¶°Ç µî ÁøÇàÀ» À§ÇÑ ÃÖÁ¾¹öÀüÀÇ ¸®½ºÆ® Àü´Þ
üũ¸®½ºÆ® ¹× °¡ÀÌµå °øÀ¯- ±³À° 3ÀÏ ÀüR
üũ¸®½ºÆ®/°¡À̵å Àμâ FR- °ø¹®, ¸íÂû µî Àμâ(¿Àǹ̽ºÅ͸®¼îÇÎÀÎ °æ¿ì) - FR
¸éÁ¢¿ø Àü´Þ¿ë ¸®½ºÆ® Á¤¸®_Áö¿ªº°, Á¶»ç Ư¼ºº°FR- Æò°¡ Á¶°Ç¿¡ µû¶ó ´Ù¸£°Ô ±×·ìÇÎ
Á¶»ç¿ø º° ÁøÇà ¸®½ºÆ® ÀÛ¼ºFR
Á¶»ç ½ÃÀÛ Àü ÅÇ °ü·Ã ¾÷¹«ÅÇ ´ë¿© °³¼ö È®ÀÎ - ±³À° 1ÁÖÀÏ ÀüFR
ÀÎÆ®¶ó³Ý ÅÇ ´ë¿© µî·Ï - ±³À° 1ÁÖÀÏ ÀüFR
´ë¿© ÅÇ ÃæÀü ¹× KON ¼³Ä¡ È®ÀÎ - ±³À°Àü±îÁöFR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤- TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀüDS - RÀÇ ÀÏÁ¤¿¡ µû¶ó ÁøÇà
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷R
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- Á¶»ç 2ÀÏ ÀüR
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- ±³À° 3ÀÏ ÀüR
¸®½ºÆ®º° Á¶»ç¿ø ¹èÁ¤ µî·Ï- ±³À° 3ÀÏ ÀüFR- Àüü ¸®½ºÆ® ¹èÁ¤(Àü±¹ ÃëÇÕ ÈÄ ½Ã½ºÅÛ ¹Ý¿µ)
Á¶»ç ½ÃÀÛ Àü º£´º °ü·Ã ¾÷¹«O/T ÀÏÁ¤È®Á¤- ±³À° 1ÁÖÀÏ ÀüR
O/T Àå¼Ò ¿¹¾à- ±³À°ÀÏ È®Á¤ÈÄ ´çÀÏ FR- O/T ÁøÇà·ë ¿¹¾à (ºñ´ë¸é ÁøÇà½Ã Æ÷ÇÔ)
ÁÜ or ÆÀÁî ¿¹¾à (ºñ´ë¸é O/T½Ã)FR
O/T ÀÏÁ¤ & ÁÜ or ÆÀÁũ(ºñ´ë¸é O/T½Ã) Á¶»ç¿ø °øÁöFR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¹× Á¶»ç¹°Ç° ¹ß¼Û ¾÷¹«Á¶»ç¿ø ¸®Äí¸£ÆÃFR
Á¶»ç¿ø/ Áö¹æ½Ç»ç º° Á¶»ç¹°Ç° ÆÐÅ· ¹× Åùè¹ß¼ÛFR
Á¶»ç ½ÃÀÛ Àü °ü·Ã ¾÷¹«O/T ÀÚ·á Áغñ(¼³¹®Áö, º¸±âÄ«µå, ¸éÁ¢¿ø °¡ÀÌµå µî) + FR
O/T ÁøÇàR
Á¶»ç¿ø Ãß°¡ O/T ÁøÇàFR- üũ¸®½ºÆ® À§ÁÖÀÇ ±³À° ÁøÇà ¹× ÁøÇà»óÀÇ ÁÖÀÇ»çÇ×, Ãß°¡ °¡À̵å Àü´Þ
O/T ¿µ»ó ³ìÈ­ (´ë¸éÁøÇà)- ±³À°´çÀÏFR
O/T ¿µ»ó ³ìÈ­ (ºñ´ë¸éÁøÇà) ¹× FR °øÀ¯- ±³À°´çÀÏR
O/T ¿µ»ó Á¶»ç¿ø ¹× Áö¹æ½Ç»ç °øÀ¯)- ±³À°´çÀÏFR
O/T ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ±³À°´çÀÏFR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
Á¶»ç¿ø ¹®ÀÇ»çÇ× ÀÀ´ëFR
ÁøÇຸ°íFR- RÀÇ ¿äû½Ã FR ¼öÇà
Á¶»ç¿ø ÁøÇà µ¶·ÁFR
Á¶»ç ÁøÇà Áß ÀÀ´ë ¾÷¹«Á¶»ç¿ø ¼¼ºÎ ¹®ÀÇ»çÇ× ÀÀ´ë (1Â÷ ´ëÀÀ)FR- Á¶»ç¿ø°ú ¿ÜÁÖ»ç ¹®ÀÇ»çÇ× Áß °¡À̵å·Î È®ÀÎ °¡´ÉÇÑ °Í ´ëÀÀ
Á¶»ç¿ø ¹®ÀÇ»çÇ× Áß, Ŭ¶óÀÌ¾ðÆ® È®ÀÎÀÌ ÇÊ¿äÇÑ °æ¿ìR- °¡ÀÌµå ¿ÜÀÇ È®ÀÎ »çÇ×À̳ª µ¹¹ß »çÇ׿¡ ´ëÇÑ FRÀÇ ¹®ÀÇ¿¡ ´ëÇÑ ÀÀ´ë
Á¶»ç¿ø ¹®ÀÇ»çÇ× Áß, Ŭ¶óÀÌ¾ðÆ® È®ÀÎ ³»¿ë °øÀ¯FR- Á¶»ç¿ø°ú Áö¹æ½Ç»ç¿¡ ÇØ´ç ³»¿ë Àü´Þ
Ŭ¶óÀÌ¾ðÆ® È®Àοäû ¹ß»ý °Ç, FR °øÀ¯R
Ŭ¶óÀÌ¾ðÆ® È®Àοäû ºÐ ³»¿ë ÆÄ¾Ç ¹× R°øÀ¯- 2ÀÏ(48½Ã°£) À̳» °øÀ¯FR
ÁøÇà ¿À·ù or Á¶»ç¿ø ³ëÃ⠹߻ý °Ç, ÀçÁøÇà ¿©ºÎ R °øÀ¯ FR
ÀçÁøÇà È®ÀÎ ³»¿ë Á¶»ç¿ø °øÀ¯FR
À̽´ ¹ß»ý½Ã Á¶»ç¿ø Àç±³À°FR
Á¶»ç ¿Ï·á ÈÄ ÀÌÀÇÁ¦±â ¹× È®ÀÎ ¿äû ¾÷¹«Å¬¶óÀÌ¾ðÆ® Ãø ÀÌÀÇÁ¦±â/ ºÎºÐ ÃëÇÕ ¹× °øÀ¯R
Ŭ¶óÀÌ¾ðÆ® ÀÌÀÇÁ¦±â/ È®Àοäû ºÐ Àü´Þ, ³»¿ë ÆÄ¾Ç ¹× °øÀ¯- 2ÀÏ(48½Ã°£) À̳» °øÀ¯FR- Á¶»ç¿ø °ú ¿ÜÁֻ翡 Àü´Þ ¹× È®Àγ»¿ë ÃëÇÕ
DATA
+ Processing
Á¶»ç ÁøÇà Áß °ËÁõ ¾÷¹«°ËÁõ Ç׸ñ È®Á¤QC
°ËÁõ Áú¹®Áö ºñÀ² È®Á¤QC- ³»ºÎ °ËÁõ ±ÔÁ¤¿¡ ÀǰŠÁøÇà
°ËÁõ °á°ú¿¡ µû¸¥ ¼³¹® ÀçÁ¶»çFR
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«¿¡µðÆÃ °¡À̵å ÀÛ¼º ¹× °øÀ¯R- °øÀ¯ÀÏÁ¤Àº ½Ç»ç ÁøÇà¿¡ µû¶ó R°ú FR°ú ÇùÀÇ ÈÄ ÁøÇà
ÄÚµù ÇÁ·¡ÀÓ È®Á¤QC
ÁøÇà DATA ¿¡µðÆÃ ÁøÇàQC
ÆÝÄ¡ »ç¿ë ÇÁ·Î±×·¥ È®Á¤ (ÆäÀÌÆÛ ÁøÇà °æ¿ì)QC - K-ÆÝÄ¡ or ¼­º£ÀÌÅ©·¡ÇÁÆ®, ¿¢¼¿ (°£´Ü ¼³¹® ¶Ç´Â ¼Ò·®»ùÇà °æ¿ì)
ÆÝĪ ÇÁ·¡ÀÓ È®Á¤ (ÆäÀÌÆÛ ÁøÇà °æ¿ì)QC
K-ÆÝÄ¡, ·ÎÁ÷ Àû¿ë ÀÛ¾÷ (ÆäÀÌÆÛ ÁøÇà °æ¿ì)QC
¼­º£ÀÌÅ©·¡ÇÁÆ®, ·ÎÁ÷ Àû¿ë ÀÛ¾÷ (ÆäÀÌÆÛ ÁøÇà °æ¿ì)DI
¼³¹® DATA ÀÔ·Â (ÆäÀÌÆÛ ÁøÇà°æ¿ì)QC
ÆÝĪ ¿¡·¯ °ü¸® (ÆäÀÌÆÛ ÁøÇà °æ¿ì)QC
DATA ¸®Ã¼Å© È®ÀÎFR
Á¶»ç ¿Ï·á ÈÄ µ¥ÀÌÅÍ À̰ü Àü ¾÷¹«DATA ´Ù¿î·Îµå ¹× ÄõÅÍÈ®ÀÎFR
DATA ºÐ¼®½Ã Á¦¿ÜÇÒ ¿À¹öID °øÀ¯FR
Á¶»ç ¿Ï·á ÈÄ ºÐ¼® ¹× Å×À̺í ÀÛ¾÷ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR
SYNTAX ÀÛ¾÷, ÄõÅÍ ¹× µ¥ÀÌÅÍ ÃÖÁ¾ Á¡°ËDI
Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
Ãß°¡ Å×À̺í ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äû³»DI
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/hybridGang.asp b/cost/hybridGang.asp new file mode 100644 index 0000000..08305f4 --- /dev/null +++ b/cost/hybridGang.asp @@ -0,0 +1,1249 @@ + + + + + + + + Korea Research intranet + + +
+ +
+

Work Process

+
+ + +
+
+
+

Hybrid Gang Survey

+ CONFIDENTIAL +
+
+

[¹ü·Ê] R: ¸®¼­Ä¡ÄÁ¼³ÆÃ±×·ì, FR: Çʵå¿÷¸®¼­Ã³, Q: QCÆÀ, DI: ºÐ¼®ÆÀ, DS: °³¹ßÆÀ, DB: ŰÀ§¼­º£ÀÌ ¹× ¿Â¶óÀÎ °ßÀû BI: À繫ÆÀ, EX: ÀλçÃѹ«

+
+
+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 1Â÷ ¹®ÀǽÃ: [ÆÛºí¸¯] ¼ÛÀ¯±Ù Ã¥ÀÓ, [¸¶ÄÉÆÃ] À±ÀçÀÌ Ã¥ÀÓ, [DIN] °­Àº°æ ±×·ìÀå, À¯µµÇö ±×·ìÀå, [DCO] äÁÖÈñ ±×·ìÀå

+

* ÇØ´ç Á¶»ç ¹æ¹ý¿¡ ´ëÇÑ 2Â÷ ¹®ÀǽÃ: ÃÖÁ¤½É »ó¹«, ¼­Áö¿ø »ó¹«

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷¹« ´Ü°è¾÷¹« ¼¼ºÎ ´Ü°è¾÷¹« Ç׸ñÀÏÁ¤
- Èñ¸ÁÀÏÁ¤À¸·Î ±â¼ú
R&CDINDCO°æ¿µ¹®È­ º»ºÎºñ°íȰ¿ë¹®¼­/Á¤º¸
RFRQCDIDSDBBIEX
ÇÁ·ÎÁ§Æ® Á¦¾È¼öÁÖÀÌÀü´Ü°èÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® µî·Ï- ÇÁ·ÎÁ§Æ® °ËÅä ½ÃÁ¡ Á÷ÈÄR
½Ç»ç °ßÀû¿äû¼­ ÀÛ¼º ¹× ¿äû- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 24½Ã°£ ÀüR¸ÞÀÏ
½Ç»ç ÁøÇà °ü·Ã, Á÷Á¢ºñ °ßÀû¼­ ÀÛ¼ºFR°ßÀû¼­
¼³¹® °³¹ß °ü·Ã, °ßÀû¼­ ÀÛ¼ºDB°ßÀû¼­
ÇÁ·ÎÁ§Æ®³»ºÎ »çÀü Áغñ ¹× ¹ÌÆÃ¼öÇà°èȹ¼­ °ü·Ã ¾÷¹«ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ® »óÅ º¯°æ(Á¦¾È¡æ¼öÁÖ)- ¼öÁÖ Á÷ÈÄR
ÀÎÆ®¶ó³Ý>ÇÁ·ÎÁ§Æ®>¼öÇà°èȹ¼­ ¼¼ºÎ ³»¿ë ÀÛ¼ºR
»çÀü¹ÌÆÃ ½ÃÀÛÀüWorks ÇÁ·ÎÁ§Æ® °ü·Ã ÀÚ·á µî·Ï- °øÀ¯ ÈÄ ¾÷¹«ÀÏ 2ÀÏ(48½Ã°£) ¾È¿¡ ´ã´çÀÚ ¹èÁ¤Rworks : ½Ç»çÀÇ·Ú¼­Àü´Þ,´ã´çÀÚ ¹èÁ¤±îÁö¸¸ ÀÌÈÄ´Â °³º°Ã¤³Î·Î ¼ÒÅë ÁøÇà
FR, QC, DI, DS ÀÏÁ¤ È®ÀÎR
»çÀü¹ÌÆÃ ÁøÇàÇÁ·ÎÁ§Æ® »çÀü ¹ÌÆÃ- ½Ç¹«ÀÚ ¹èÁ¤ ÈÄ ¾÷¹«ÀÏ 2ÀÏÀ̳»RFRQCDIDS- ÇùÀÇÇÏ¿¡ ¼­¸é´ëü °¡´É
»çÀü¹ÌÆÃ ÁøÇà ÈÄÂü¼®ÀÚ »ç·Êºñ Áö±Þ ÀÏÁ¤ °øÀ¯- Áö±ÞÀÏÁ¤ 3ÀÏ ÀüFR
°í°´»ç Á¦°ø ¸®½ºÆ®°¡ ÀÖ´Â °æ¿ì ¸®½ºÆ® °øÀ¯- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
Âü¿© ±×·ì ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÎÆ®¶ó³Ý ÀÔ·Â ¿Ï·áRFRQCDIDS- ½Ç»çÁ÷Á¢ºñ´Â FR, ¿¬±¸Á÷Á¢ºñ´Â R, ±× ¿ÜÆÀÀº ÅõÀÔ Àη ÀÔ·Â
ÇÁ·ÎÁ§Æ® ½Ç»ç ÁøÇàÁ¶»ç ½ÃÀÛ Àü ¼³¹®Áö °ü·Ã ¾÷¹«ÃÖÁ¾ ¼³¹®Áö È®Á¤- Á¶»ç/ÇÁ·Î±×·¡¹Ö 3ÀÏ ÀüR
¼³¹®Áö/º¸±âÄ«µå Àμâ- Á¶»ç´çÀÏFR- ÆäÀÌÆÛÁøÇà ¶Ç´Â ¿¹ºñ¿ëÀ¸·Î Áغñ
Á¶»ç ½ÃÀÛ Àü º£´º °ü·Ã ¾÷¹«°»¼­º£ÀÌ·ë ÀÎÆ®¶ó³Ý ¿¹¾à- ÀÏÁ¤È®Á¤ ÈÄ ´çÀÏ¿¹¾àR- ÀÏÁ¤ÀÌ È®Á¤ÀÎ °æ¿ì´Â R¿¡¼­ ¿¹¾à, ÀÏÁ¤ ¿©À¯°¡ ÀÖ¾î ³íÀÇ ÈÄ °áÁ¤µÇ´Â °æ¿ì FR¿¡¼­ ¿¹¾à °¡´É
°»¼­º£ÀÌ·ë Á¶»ç¿¡ ¸Â´Â ÇüÅ·Π¼¼ÆÃ + - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü +
EX- Á¶º°ÇüÅÂ, µð±Ú('¤§')ÀÚ ÇüÅÂ¿Í °°ÀÌ º¸ÆíÀûÀÎ ¹èÄ¡¶ó¸é FR¿¡¼­ ÁøÇàÇϰí, Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹«Áö¿øÇÏ´Â °ÍÀÌ ÇÕ¸®ÀûÀ̶ó »ý°¢ÇÔ(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ÇÊ¿ä)
Àå¼Ò(ƯÁ¤ º£´º ÁøÇà½Ã) ¿¹¾à- Á¶»ç ÃÖ¼Ò 2ÁÖ ÀüR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(1)¼±Á¤Áú¹®Áö È®Á¤ ¹× °øÀ¯- »çÀü¹ÌÆÃ½Ã È®Á¤R
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷- ¸®Äí¸£ÆÃ ½ÃÀÛ 1ÀÏÀüR- ¼±Á¤Áú¹®Áö ÄÁÆßÁö¿¬µîÀÇ ÀÌÀ¯·Î RÀÌ ¿ì¼±ÀûÀ¸·Î ÁøÇàÇϳª FRµµ µ¿½Ã È®ÀÎ ÁøÇà
¼±Á¤Áú¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- ÀÏÁ¤ Áß ¼±Á¤Áö, ´ë»óÀÚ Á¶°Ç º¯°æ½Ã ÀÏÁ¤ º¯°æÇÔR
Á¶»ç ½ÃÀÛ Àü Âü¿© Àοø °ü¸® ¾÷¹«A/S ¸®Äí¸£ÆÃFR
ÄÁÅÿø ¸®Äí¸£ÆÃFR
Âü¼®ÀÚ ¸®Äí¸£ÆÃFR
½ºÅ©¸³ÅÍ ¸®Äí¸£ÆÃFR
A/S »çÀü ±³À°- Á¶»ç 1ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü À¥ °ü·Ã ¾÷¹«(2)À¥ ÇÁ·Î±×·¡¹Ö(·ÎÁ÷ ÇϵåÄÚµù) ¹× È®Á¤ + - TEST URL Àü´Þ Èñ¸ÁÀÏ ÃÖ¼Ò 3~5ÀÏÀü
+ ÃÖÁ¾ ¼³¹® Àü´Þ(¼³¹®±æÀÌ¿¡ µû¶ó ´Ù¸§) +
DS
¸®½ºÆ®¾÷·Îµå(KON ÇÁ·Î±×·¥ ÀÌ¿ë ½Ã)- Á¶»ç 1ÀÏ ÀüFR
ÆÄÀÏ·µ Å×½ºÆ® ÁøÇà- Á¶»ç 1ÀÏ ÀüR- ¾÷¹« ³»¿ë È®ÀÎ(Âü¼®ÀÚ ¾÷·Îµå, ·Î±×ÀΠüũ µî)
Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ »çÀü °øÀ¯ ¹× È®Á¤- Á¶»ç 1ÀÏ ÀüFR- ¾÷¹« ³»¿ë È®ÀÎ(Âü¼®ÀÚ ¾÷·Îµå, ·Î±×ÀΠüũ µî)
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 1Â÷DS
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® 2Â÷R
º» ¼³¹®Áö ¸µÅ© Å×½ºÆ® ¼öÁ¤ »çÇ× ÃëÇÕ ¹× DS °øÀ¯- Á¶»ç 2ÀÏ ÀüR
Á¶»ç ½ÃÀÛ Àü ±â±â °ü·Ã ¾÷¹«ÅÂºí¸´ PC ´ë¿©- Á¶»ç 2ÀÏ ÀüFR
ÅÂºí¸´ PC ¼¼ÆÃ (ÃæÀü Æ÷ÇÔ)- Á¶»ç 1ÀÏ ÀüEX- ¿ÏÃæ»óÅ·ΠºÐÃâ. ´Ù¸¸ ¼¼ÆÃÀÇ °æ¿ì Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹«Áö¿øÇÏ´Â °ÍÀÌ ÇÕ¸®ÀûÀ̶ó »ý°¢ÇÔ(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ ÇÊ¿ä)
³ìÈ­½Ã½ºÅÛ Àåºñ Á¡°Ë ¹× ¼¼ÆÃ + - Á¶°ÇÀº Á¶»ç 2ÀÏ Àü
+ - ¼¼ÆÃÀº Á¶»ç 1ÀÏ Àü +
EX + - Àåºñ Á¡°Ë ¹× ±¸µ¿ ¸Å´º¾ó º°µµ ºñÄ¡
+ - ³ìÈ­Àåºñ´Â EX¿¡¼­ Á¤±âÀûÀ¸·Î Á¡°ËÇϰí, Á´ãȸ°¡ ÀÖ´Â °æ¿ì ³ìÈ­Á¶°Ç/ȯ°æ¿¡ µû¶ó ÃÖ¼Ò 2ÀÏ~1ÀÏ Àü & Á´ãȸ ´çÀÏ¿¡ Á¡°ËÇÒ ¿¹Á¤. ´Ù¸¸ ¼¼ÆÃÀÇ °æ¿ì Ưº°ÇÑ ¼¼ÆÃ Á¶°ÇÀÌ ÀÖ´Â °æ¿ì ¾÷¹« Áö¿ø(¼¼ÆÃÁ¶°Ç ÃÖ¼Ò 2ÀÏ Àü °øÀ¯ ÇÊ¿ä)
+ - Àڱع° Á¦½Ã¸¦ À§ÇÑ ºöÇÁ·ÎÁ§Åͳª TV ÀÛµ¿ »çÀü Á¡°Ë ÇÊ¿ä +
Á¶»ç ½ÃÀÛ Àü ¼¼ÆÃ °ü·Ã ¾÷¹«Âü¼®ÀÚ ÃÖÁ¾ È®ÀÎFR
Âü¼®ÀÚ ´Ù°ú/½Ä»ç ÁغñFR
°í°´»ç ¼ÛÃâ¿ë ¸µÅ© ¼¼ÆÃR
Ŭ¶óÀÌ¾ðÆ® ¹èÆ÷¿ë Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ ÀÛ¼º ¹× Àü´ÞFR
Á¶»ç ÁøÇà Áß ÀÀ´ë ¾÷¹«Å¬¶óÀÌ¾ðÆ® ÀÀ´ë ¹× ÀεµR
Âü¼®ÀÚ ÀÀ´ë ¹× ÀεµFR
Á¶»ç ÁøÇà½Ç»ç ÁøÇà - Âü¼®¿¡ µû¸¥ ÄõÅÍ ¹× ÀÏÁ¤ °ü¸®FR
ÅÂºí¸´ PC ¼¼ÆÃ (Á¶»ç ÁøÇà Áß ÃæÀü, Á¶»ç ½ÃÀÛ~Á¾·á±îÁö °ü¸®)FR
°³ÀÎÁ¤º¸È°¿ëµ¿ÀǼ­ ¹× À̸ÞÀÏ ¼öÁý µ¿ÀǼ­ ÀÛ¼ºFR- RÀº Ŭ¶óÀÌ¾ðÆ® µ¿ÀÇ ¿©ºÎ È®ÀÎ - ÇÊ¿ä½Ã
Å×½ºÆ® Á¦Ç° Á¶¸® ¹× ¼­ºùFR
Á¾ÀÌ ¼³¹®Áö·Î ÁøÇà ½Ã ¼³¹®Áö ȸ¼ö-Á¶»ç ´çÀÏFR +
KON ¸µÅ©·Î ÁøÇà ½Ã µ¥ÀÌÅÍ È®ÀÎR
Áú¹®Áö ÀÛ¼º ³»¿ë Åä´ë·Î Á´ãȸ Âü¼® Àû°ÝÀÚ ¼±Á¤R
Á´ãȸ Âü¼®ÀÚ ÇÁ·ÎÆÄÀÏ ÀÛ¼º ¹× Àü´ÞFR
Á¶»ç ¿Ï·á ÈÄ ÅÂºí¸´ PC ¹Ý³³FR
Á¶»ç ÁøÇà Áß Âü°ü·ë °ü·Ã ¾÷¹«Å¬¶óÀÌ¾ðÆ® ´Ù°ú ¼¼ÆÃFR- ±âº»´Ù°ú ±âÁØ
Ŭ¶óÀÌ¾ðÆ® ½Ä»ç ÁغñR- ÁøÇà 1ÀÏ Àü ¿äû½Ã FRÀÌ ÁøÇà
Á¶»ç ½ÃÀÛ ÈÄ ³ìÈ­ ½ÃÀÛ ¹öư ´©¸£±âFR
Á¶»ç Á¾·á ÈÄ °ü·Ã½Ã¼³ ¹× ÁøÇà ·ë Á¤¸®- ÀÍÀÏ ¿ÀÀü 10½ÃFR- 10½Ã ÀÌÈÄ Á¾·á½Ã 1Â÷ R¿¡¼­ Á¤¸® ÈÄ ÀÍÀÏ ¿ÀÀü 10½Ã±îÁö FR¿¡¼­ ÃÖÁ¾ Á¤¸®
Á¶»ç Á¾·á ÈÄ ³ìÈ­ Á¾·á ¹öư ´©¸£±âR
Á¶»ç Á¾·á ÈÄ °í°´»ç Âü°ü ·ë Á¤¸®R
Á¶»ç ¿Ï·á ÈÄ ºñ¿ë °ü·Ã ¾÷¹«Âü¼®ÀÚ »ç·Êºñ Áö±Þ ÀÚ·á(½ÅºÐÁõ, ÅëÀå»çº» µî) ÃëÇÕFR
Âü¼®ÀÚ »ç·Êºñ ³»¿ª ÀÎÆ®¶ó³Ý ÀÛ¼º ¹× Á¦Ãâ- ÀÍÀÏ ¿ÀÀü 12½ÃFR
Âü¼®ÀÚ »ç·Êºñ ÀÌü- °áÀç ÈÄ ´çÀÏ Áö±ÞBI- ³»ºÎ ±ÔÁ¤¿¡ ÀǰŠÁýÇà
½Ç»ç Á÷Á¢ºñ/ÇÁ·ÎÁ§Æ® °ü·Ã Á¦ºñ¿ë Á¤»êFR
DB °ü·Ã ¾÷¹«DB µî·ÏFR- ³»¿ë Ãß°¡ ¼³¸í ÇÊ¿ä
Á¶»ç ¿Ï·á ÈÄR
+ DATA
+ Processing +
Á¶»ç ÁøÇà Áß µ¥ÀÌÅÍ Ã³¸® ¾÷¹«Áß°£ µ¥ÀÌÅÍ, Coding Frame È®ÀÎQC
ºÐ¼® °¡À̵å È®Á¤ ¹× °øÀ¯- Á¶»ç Á¾·á 1ÁÖÀÏ ÀüR- ÇÁ·ÎÁ§Æ® ÀÏÁ¤¿¡ µû¶ó R&DI ÇùÀÇ ÇÊ¿ä, µ¥ÀÌÅÍ À̰üÀü±îÁö´Â ¹Ýµå½Ã °øÀ¯ºÐ¼®°¡À̵å
Áß°£ µ¥ÀÌÅÍ, SYNTAX »çÀü ÀÛ¾÷ ÁøÇàDI
Á¶»ç ¿Ï·á ÈÄCoding Frame È®Á¤(ÄÚµùµ¥ÀÌÅÍ Àü´Þ)QC
DATA EntryQC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
Punching Error °ü¸®QC- ÆäÀÌÆÛ ÁøÇà½Ã¸¸
ÃÖÁ¾ µ¥ÀÌÅÍ ¹× SYNTAX ÃÖÁ¾ Á¡°ËDI
ÄõÅÍ ¹× µ¥ÀÌÅÍ È®ÀÎDI- (¼±Á¤Áú¹® ºÐ¼®½Ã)¼±Á¤Áú¹® DATA È®ÀÎ ÇÊ¿ä
(ÇÊ¿ä½Ã) Á¤·® Å×À̺í ÀÛ¾÷DI
ÃÖÁ¾ Å×À̺í ÀÛ¾÷- »çÀü ÇùÀÇÇÑ ÀÏÁ¤ ³»DI
¼öÁ¤ ¹Ý¿µ ¹× Ãß°¡ ºÐ¼® ÀÛ¾÷- Èñ¸Á ȸ½ÅÀÏ ÃÖ¼Ò 1ÀÏ Àü ¿äûDI- RÀÇ ¿äû½Ã DI°¡ ¼öÇà(ÃÖ¼Ò 1ÀÏ Àü ¿äû)ºÐ¼®°¡À̵å
Á¶»ç ¿Ï·á ÈÄ ³ìÃë·Ï °ü·Ã ¾÷¹«³ìÈ­/³ìÃë DATA È®ÀÎ ¹× ´Ù¿î·Îµå + - 18½ÃÀ̳» Á¶»ç ´çÀÏ
+ - 18½ÃÀÌÈÄ Á¶»ç ÀÍÀÏ +
FR
³ìÈ­/³ìÃë DATA ½ºÅ©¸³ÅÍ¿¡°Ô Àü´Þ + - 18½ÃÀ̳» Á¶»ç ´çÀÏ Àü´Þ
+ - 18½ÃÀÌÈÄ Á¶»ç ÀÍÀÏ Àü´Þ +
FR
³ìÃë·Ï ¿¬±¸ºÎ¼­¿¡°Ô Àü´Þ- ³ìÃëÆÄÀÏ Àü´Þ ±âÁØ 2¹Ú 3ÀÏFR
±âŸÇÁ·ÎÁ§Æ® ¸¶¹«¸® ¾÷¹«¼öÇà°èȹ¼­, °ü·Ã ÀÚ·á ¾÷·Îµå- ¾÷¹« Á¾·á 1´Þ À̳»RFRQCDI
ÇÁ·ÎÁ§Æ® Á¾·á ó¸®- ¾÷¹« Á¾·á 1´Þ À̳»RFRDI- º»ºÎº° ÃѰý±×·ìÀå
°³ÀÎÁ¤º¸ °ü¸® °ü·Ã ¾÷¹«°³ÀÎÁ¤º¸ º¸¾È°ü¸®RFRQCDIDSBIEX
+
+
+ + \ No newline at end of file diff --git a/cost/index.html b/cost/index.html new file mode 100644 index 0000000..b62fed1 --- /dev/null +++ b/cost/index.html @@ -0,0 +1,1240 @@ + + + + + + + + + Korea Research intranet + + +
+

2.정성_Hybrid Gang Survey

+ CONFIDENTIAL +
+
+

[범례] R: 리서치컨설팅그룹, FR: 필드�리서처, Q: QC팀, DI: 분�팀, DS: 개발팀, DB: 키위서베� � 온�� 견� BI: 재무팀, EX: �사�무

+
+
+

* 해당 조사 방법� 대한 1차 문�시: [�블릭] 송유근 책임, [마케팅] 윤재� 책임, [DIN] 강�경 그룹장, 유�현 그룹장, [DCO] 채주� 그룹장

+

* 해당 조사 방법� 대한 2차 문�시: 최정심 �무, 서지� �무

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
업무 단계업무 세부 단계업무 항목�정
- ���정으로 기술
R&CDINDCO경�문화 본부비고활용문서/정보
RFRQCDIDSDBBIEX
프로�트 제안수주�전단계�트�넷>프로�트 등�- 프로�트 검토 시� �후R
실사 견�요청서 작성 � 요청- �� 회신� 최소 24시간 전R메�
실사 진행 관련, �접비 견�서 작성FR견�서
설문 개발 관련, 견�서 작성DB견�서
프로�트내부 사전 준비 � 미팅수행계�서 관련 업무�트�넷>프로�트 �태 변경(제안→수주)- 수주 �후R
�트�넷>프로�트>수행계�서 세부 내용 작성R
사전미팅 시작전Works 프로�트 관련 �료 등�- 공유 후 업무� 2�(48시간) 안� 담당� 배정Rworks : 실사�뢰서전달,담당� 배정까지만 �후는 개별채�로 소통 진행
FR, QC, DI, DS �정 확�R
사전미팅 진행프로�트 사전 미팅- 실무� 배정 후 업무� 2��내RFRQCDIDS- 협�하� 서면대체 가능
사전미팅 진행 후참�� 사례비 지급 �정 공유- 지급�정 3� 전FR
고�사 제공 리스트가 있는 경우 리스트 공유- 조사 최소 2주 전R
참여 그룹 프로�트 수행계�서 �트�넷 입력 완료RFRQCDIDS- 실사�접비는 FR, 연구�접비는 R, 그 외팀� 투입 �력 입력
프로�트 실사 진행조사 시작 전 설문지 관련 업무최종 설문지 확정- 조사/프로그래� 3� 전R
설문지/보기카드 �쇄- 조사당�FR- 페��진행 �는 예비용으로 준비
조사 시작 전 베뉴 관련 업무갱서베�룸 �트�넷 예약- �정확정 후 당�예약R- �정� 확정� 경우는 R�서 예약, �정 여유가 있어 논� 후 결정�는 경우 FR�서 예약 가능
갱서베�룸 조사� 맞는 형태로 세팅 + - 조건� 조사 2� 전
+ - 세팅� 조사 1� 전 +
EX- 조별형태, 디귿('ㄷ')� 형태와 같� 보편�� 배치�면 FR�서 진행하고, 특별한 세팅 조건� 있는 경우 업무지�하는 것� 합리��� ��함(세팅조건 최소 2� 전 공유필요)
장소(특정 베뉴 진행시) 예약- 조사 최소 2주 전R
선정질문지 확정 � 공유- 사전미팅시 확정R
선정질문지 �� 테스트 1차DS
선정질문지 �� 테스트 2차- 리쿠르팅 시작 1�전R- 선정질문지 컨펌지연등� �유로 R� 우선�으로 진행하나 FR� �시 확� 진행
선정질문지 �� 테스트 수정 사항 취합 � DS 공유- �정 중 선정지, 대�� 조건 변경시 �정 변경함R
조사 시작 전 참여 �� 관리 업무A/S 리쿠르팅FR
컨�� 리쿠르팅FR
참�� 리쿠르팅FR
스�립터 리쿠르팅FR
A/S 사전 �육- 조사 1� 전R
조사 시작 전 웹 관련 업무(2)웹 프로그래�(로� 하드코딩) � 확정 + - TEST URL 전달 ��� 최소 3~5�전
+ 최종 설문 전달(설문길�� 따� 다름) +
DS
리스트업로드(KON 프로그램 �용 시)- 조사 1� 전FR
파�럿 테스트 진행- 조사 1� 전R- 업무 내용 확�(참�� 업로드, 로그� 체� 등)
참�� 프로파� 사전 공유 � 확정- 조사 1� 전FR- 업무 내용 확�(참�� 업로드, 로그� 체� 등)
본 설문지 �� 테스트 1차DS
본 설문지 �� 테스트 2차R
본 설문지 �� 테스트 수정 사항 취합 � DS 공유- 조사 2� 전R
조사 시작 전 기기 관련 업무태블릿 PC 대여- 조사 2� 전FR
태블릿 PC 세팅 (충전 �함)- 조사 1� 전FREX- 완충�태로 분출. 다만 세팅� 경우 특별한 세팅 조건� 있는 경우 업무지�하는 것� 합리��� ��함(세팅조건 최소 2� 전 공유 필요)
녹화시스템 장비 �검 � 세팅 + - 조건� 조사 2� 전
+ - 세팅� 조사 1� 전 +
FREX + - 장비 �검 � 구� 매뉴얼 별� 비치
+ - 녹화장비는 EX�서 정기�으로 �검하고, 좌담회가 있는 경우 녹화조건/환경� 따� 최소 2�~1� 전 & 좌담회 당�� �검할 예정. 다만 세팅� 경우 특별한 세팅 조건� 있는 경우 업무 지�(세팅조건 최소 2� 전 공유 필요)
+ - �극물 제시를 위한 빔프로�터나 TV 작� 사전 �검 필요 +
조사 시작 전 세팅 관련 업무참�� 최종 확�FR
참�� 다과/�사 준비R
고�사 송출용 �� 세팅R
���언트 배�용 참�� 프로파� 작성 � 전달FR
조사 진행 중 �대 업무���언트 �대 � ��R
참�� �대 � ��FR
조사 진행실사 진행 - 참�� 따른 쿼터 � �정 관리FR
태블릿 PC 세팅 (조사 진행 중 충전, 조사 시작~종료까지 관리)FR
개�정보활용��서 � �메� 수집 ��서 작성FR- R� ���언트 �� 여부 확� - 필요시
테스트 제품 조리 � 서빙FR
종� 설문지로 진행 시 설문지 회수-조사 당�FR +
KON ��로 진행 시 ��터 확�R
질문지 작성 내용 토대로 좌담회 참� �격� 선정R
좌담회 참�� 프로파� 작성 � 전달FR
조사 완료 후 태블릿 PC 반납FR
조사 진행 중 참관룸 관련 업무���언트 다과 세팅FR- 기본다과 기준
���언트 �사 준비R- 진행 1� 전 요청시 FR� 진행
조사 시작 후 녹화 시작 버튼 누르기FR
조사 종료 후 관련시설 � 진행 룸 정리- �� 오전 10시FR- 10시 �후 종료시 1차 R�서 정리 후 �� 오전 10시까지 FR�서 최종 정리
조사 종료 후 녹화 종료 버튼 누르기R
조사 종료 후 고�사 참관 룸 정리R
조사 완료 후 비용 관련 업무참�� 사례비 지급 �료(신분�, 통장사본 등) 취합FR
참�� 사례비 내역 �트�넷 작성 � 제출- �� 오전 12시FR
참�� 사례비 �체- 결재 후 당� 지급BI- 내부 규정� �거 집행
실사 �접비/프로�트 관련 제비용 정산FR
DB 관련 업무DB 등�FR- 내용 추가 설명 필요
조사 완료 후R
+ DATA
+ Processing +
조사 진행 중 ��터 처리 업무중간 ��터, Coding Frame 확�QC
분� 가�드 확정 � 공유- 조사 종료 1주� 전R- 프로�트 �정� 따� R&DI 협� 필요, ��터 �관전까지는 반드시 공유분�가�드
중간 ��터, SYNTAX 사전 작업 진행DI
조사 완료 후Coding Frame 확정(코딩��터 전달)QC
DATA EntryQC- 페�� 진행시만
Punching Error 관리QC- 페�� 진행시만
최종 ��터 � SYNTAX 최종 �검DI
쿼터 � ��터 확�DI- (선정질문 분�시)선정질문 DATA 확� 필요
(필요시) 정량 테�블 작업DI
최종 테�블 작업- 사전 협�한 �정 내DI
수정 반� � 추가 분� 작업- �� 회신� 최소 1� 전 요청DI- R� 요청시 DI가 수행(최소 1� 전 요청)분�가�드
조사 완료 후 녹취� 관련 업무녹화/녹취 DATA 확� � 다운로드 + - 18시�내 조사 당�
+ - 18시�후 조사 �� +
FR
녹화/녹취 DATA 스�립터�게 전달 + - 18시�내 조사 당� 전달
+ - 18시�후 조사 �� 전달 +
FR
녹취� 연구부서�게 전달- 녹취파� 전달 기준 2박 3�FR
기타프로�트 마무리 업무수행계�서, 관련 �료 업로드- 업무 종료 1달 �내RFRQCDI
프로�트 종료 처리- 업무 종료 1달 �내RFRQCDI- 본부별 �괄그룹장
개�정보 관리 관련 업무개�정보 보안관리RFRQCDIDSBIEX
+
+ + diff --git a/cost/main.js b/cost/main.js new file mode 100644 index 0000000..8987ee1 --- /dev/null +++ b/cost/main.js @@ -0,0 +1,11 @@ +$(document).ready(function() { + var scrollPosition = sessionStorage.getItem('scrollPosition'); + if (scrollPosition) { + $(window).scrollTop(scrollPosition); + sessionStorage.removeItem('scrollPosition'); + } + }); + + $(window).on('beforeunload', function() { + sessionStorage.setItem('scrollPosition', $(window).scrollTop()); + }); \ No newline at end of file diff --git a/cost/style.css b/cost/style.css new file mode 100644 index 0000000..c0a07ca --- /dev/null +++ b/cost/style.css @@ -0,0 +1,176 @@ +body { + margin: 0; + font-family: s-core-dream, sans-serif; + font-weight: 400; +} +table { + width: 100%; + height: auto; + position: relative; + table-layout: auto; + border-collapse: collapse; +} + +.table_box { + width: 100%; + height: auto; + position: relative; + margin-top: 20px; + overflow-y: auto; + max-height: 680px; +} + +.table_box table { + width: 100%; + height: auto; + position: relative; + background-color: #fff; + table-layout: auto; + border-collapse: separate; + border-spacing: 0; +} + +.table_box table thead { + position: -webkit-sticky; + position: sticky; + top: 0; +} + +.table_box table th { + padding: 10px 10px; + background-color: #f6f6f6; + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + border-right: 1px solid #aaa; + font-size: 0.9375rem; + font-weight: 600; + word-break: keep-all; + position: -webkit-sticky; + position: sticky; +} + +.table_box table th.first, +.table_box table td.first { + border-left: 1px solid #aaa; +} + +.table_box table th.bor_top { + border-top: 0; +} + +.table_box table td { + font-size: 0.875rem; + font-weight: 400; + color: #333; + padding: 10px 10px; + border-bottom: 1px solid #aaa; + border-right: 1px solid #aaa; + text-align: center; + word-break: keep-all; +} + +.table_box table td.align_lt { + text-align: left; +} + +.table_title { + display: -webkit-box; + display: -webkit-flex; + display: -moz-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + -moz-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + border: 1px solid #999; + -webkit-box-align: center; + -webkit-align-items: center; + -moz-box-align: center; + -ms-flex-align: center; + align-items: center; + position: relative; +} + +.table_title span { + font-size: 13px; + font-weight: 600; + color: #ff0000; + border: 1px solid #ff0000; + padding: 10px 12px; + position: absolute; + top: 50%; + right: 20px; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + -o-transform: translateY(-50%); + transform: translateY(-50%); +} + +.table_index { + color: #666; + text-align: right; + font-size: 13px; + text-decoration: underline; +} + +.table_inquery p { + margin: 8px 0; + font-size: 14px; +} +.table_box table th.bor_2, +.table_box table td.bor_2 { + border-right: 2px solid #999; +} + +table th.bor_rl, +table td.bor_rl { + border-right: 2px solid #999; + border-left: 1px solid #999; +} +table th.txt_l, +table td.txt_l { + text-align: left; +} + +table td:last-child { + text-align: left; +} + +table td:nth-last-child(2) { + text-align: left; +} + +table td.fw_bold { + font-weight: 600; +} +.table_title > h1.font_modi { + font-family: s-core-dream, sans-serif; + font-weight: 600; + margin: 20px; +} +.table_box thead th.align_center { + text-align: center; +} + +/* 온ë�¼ì�¸ 추가 색ìƒ� 주ì„�ê±´ */ +/* th.color_red { + color: #ff0000; +} +td.color_red { + color: #ff0000 !important; +} +th.color_orange { + background-color: #f5da8c !important; +} +td.color_green { + background-color: #d3ebd3; +} +td.color_pink { + background-color: #fbe1d5; +} +td.color_blue { + background-color: #c3def5; +} */ diff --git a/css/AdminLTE.css b/css/AdminLTE.css new file mode 100644 index 0000000..6ae7c80 --- /dev/null +++ b/css/AdminLTE.css @@ -0,0 +1,22729 @@ +/*! + * AdminLTE v3.0.5 + * Author: Colorlib + * Website: AdminLTE.io + * License: Open source - MIT + */ +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-1.woff") format("woff"); + font-weight: 100; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-2.woff") format("woff"); + font-weight: 200; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-3.woff") format("woff"); + font-weight: 300; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-4.woff") format("woff"); + font-weight: 400; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-5.woff") format("woff"); + font-weight: 500; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-6.woff") format("woff"); + font-weight: 600; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-7.woff") format("woff"); + font-weight: 700; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-8.woff") format("woff"); + font-weight: 800; + font-display: swap; +} + +@font-face { + font-family: s-core-dream; + src: url("/css/font/S-CoreDream_woff/S-CoreDream-9.woff") format("woff"); + font-weight: 900; + font-display: swap; +} + +/*! + * Bootstrap v4.3.1 (https://getbootstrap.com/) + * Copyright 2011-2019 The Bootstrap Authors + * Copyright 2011-2019 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +.row-0 { + margin-left: 0px; + margin-right: 0px; +} + +.row-0 > [class^=col] { + padding-left: 0px; + padding-right: 0px; +} + +.row-1 { + margin-left: -0.5px; + margin-right: -0.5px; +} + +.row-1 > [class^=col] { + padding-left: 0.5px; + padding-right: 0.5px; +} + +.row-2 { + margin-left: -1px; + margin-right: -1px; +} + +.row-2 > [class^=col] { + padding-left: 1px; + padding-right: 1px; +} + +.row-3 { + margin-left: -1.5px; + margin-right: -1.5px; +} + +.row-3 > [class^=col] { + padding-left: 1.5px; + padding-right: 1.5px; +} + +.row-4 { + margin-left: -2px; + margin-right: -2px; +} + +.row-4 > [class^=col] { + padding-left: 2px; + padding-right: 2px; +} + +.row-5 { + margin-left: -2.5px; + margin-right: -2.5px; +} + +.row-5 > [class^=col] { + padding-left: 2.5px; + padding-right: 2.5px; +} + +.row-10 { + margin-left: -5px; + margin-right: -5px; +} + +.row-10 > [class^=col] { + padding-left: 5px; + padding-right: 5px; +} + +.row-20 { + margin-left: -10px; + margin-right: -10px; +} + +.row-20 > [class^=col] { + padding-left: 10px; + padding-right: 10px; +} + +.row-30 { + margin-left: -15px; + margin-right: -15px; +} + +.row-30 > [class^=col] { + padding-left: 15px; + padding-right: 15px; +} + +.row-40 { + margin-left: -20px; + margin-right: -20px; +} + +.row-40 > [class^=col] { + padding-left: 20px; + padding-right: 20px; +} + +.row-50 { + margin-left: -25px; + margin-right: -25px; +} + +.row-50 > [class^=col] { + padding-left: 25px; + padding-right: 25px; +} + +.row-60 { + margin-left: -30px; + margin-right: -30px; +} + +.row-60 > [class^=col] { + padding-left: 30px; + padding-right: 30px; +} + +.row-70 { + margin-left: -35px; + margin-right: -35px; +} + +.row-70 > [class^=col] { + padding-left: 35px; + padding-right: 35px; +} + +.row-80 { + margin-left: -40px; + margin-right: -40px; +} + +.row-80 > [class^=col] { + padding-left: 40px; + padding-right: 40px; +} + +.row-90 { + margin-left: -45px; + margin-right: -45px; +} + +.row-90 > [class^=col] { + padding-left: 45px; + padding-right: 45px; +} + +.row-100 { + margin-left: -50px; + margin-right: -50px; +} + +.row-100 > [class^=col] { + padding-left: 50px; + padding-right: 50px; +} + +:root { + --blue: #2a609e; + --indigo: #6610f2; + --purple: #6f42c1; + --pink: #e83e8c; + --red: #b74b37; + --orange: #fd7e14; + --yellow: #ffc107; + --green: #28a745; + --teal: #20c997; + --cyan: #17a2b8; + --white: #ffffff; + --gray: #6c757d; + --gray-dark: #343a40; + --primary: #002c5f; + --secondary: #00aad2; + --success: #2a609e; + --info: #aacae6; + --warning: #ffc107; + --danger: #b74b37; + --light: #e4dcd3; + --dark: #343a40; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +*, +*::before, +*::after { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-family: sans-serif; + line-height: 1.15; + -webkit-text-size-adjust: 100%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { + display: block; +} + +body { + margin: 0; + font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-size: 0.875rem; + font-weight: 400; + line-height: 1.5; + color: #000; + text-align: left; + background-color: #ffffff; +} + +[tabindex="-1"]:focus { + outline: 0 !important; +} + +hr { + -webkit-box-sizing: content-box; + box-sizing: content-box; + height: 0; + overflow: visible; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + margin-bottom: 0; +} + +p { + margin-top: 0; + margin-bottom: 0; +} + +abbr[title], +abbr[data-original-title] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + border-bottom: 0; + text-decoration-skip-ink: none; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul, +dl { + margin: 0; + list-style: none; + padding: 0; +} + +dt { + font-weight: 700; +} + +dd { + margin: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +b, +strong { + font-weight: bolder; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +a { + color: #002c5f; + text-decoration: none; + background-color: transparent; +} + +a:hover { + color: #000913; + text-decoration: none; +} + +a:not([href]):not([tabindex]) { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):focus { + outline: 0; +} + +pre, +code, +kbd, +samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-size: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; +} + +figure { + margin: 0 0 1rem; +} + +img { + vertical-align: middle; + border-style: none; +} + +svg { + overflow: hidden; + vertical-align: middle; +} + +table { + border-collapse: collapse; +} + +caption { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +th { + text-align: inherit; +} + +label { + display: inline-block; + margin-bottom: 0.5rem; +} + +button { + border-radius: 0; +} + +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +select { + word-wrap: normal; +} + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button:not(:disabled), +[type="button"]:not(:disabled), +[type="reset"]:not(:disabled), +[type="submit"]:not(:disabled) { + cursor: pointer; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + padding: 0; + border-style: none; +} + +input[type="radio"], +input[type="checkbox"] { + -webkit-box-sizing: border-box; + box-sizing: border-box; + padding: 0; +} + +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { + -webkit-appearance: listbox; +} + +textarea { + overflow: auto; + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: .5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} + +progress { + vertical-align: baseline; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +summary { + display: list-item; + cursor: pointer; +} + +template { + display: none; +} + +[hidden] { + display: none !important; +} + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + margin-bottom: 0; + font-family: inherit; + font-weight: 500; + line-height: 1.2; + color: inherit; +} + +h1, .h1 { + font-size: 2.1875rem; +} + +h2, .h2 { + font-size: 1.75rem; +} + +h3, .h3 { + font-size: 1.53125rem; +} + +h4, .h4 { + font-size: 1.3125rem; +} + +h5, .h5 { + font-size: 1.09375rem; +} + +h6, .h6 { + font-size: 0.875rem; +} + +.lead { + font-size: 1.09375rem; + font-weight: 300; +} + +.display-1 { + font-size: 6rem; + font-weight: 300; + line-height: 1.2; +} + +.display-2 { + font-size: 5.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-3 { + font-size: 4.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-4 { + font-size: 3.5rem; + font-weight: 300; + line-height: 1.2; +} + +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +small, +.small { + font-size: 80%; + font-weight: 400; +} + +mark, +.mark { + padding: 0.2em; + background-color: #fcf8e3; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline-item { + display: inline-block; +} + +.list-inline-item:not(:last-child) { + margin-right: 0.5rem; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +.blockquote { + margin-bottom: 1rem; + font-size: 1.09375rem; +} + +.blockquote-footer { + display: block; + font-size: 80%; + color: #6c757d; +} + +.blockquote-footer::before { + content: "\2014\00A0"; +} + +.img-fluid { + max-width: 100%; + height: auto; +} + +.img-thumbnail { + padding: 0.25rem; + background-color: #ffffff; + border: 1px solid #dee2e6; + border-radius: 0.3rem; + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); + max-width: 100%; + height: auto; +} + +.figure { + display: inline-block; +} + +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} + +.figure-caption { + font-size: 90%; + color: #6c757d; +} + +code { + font-size: 87.5%; + color: #e83e8c; + word-break: break-word; +} + +a > code { + color: inherit; +} + +kbd { + padding: 0.2rem 0.4rem; + font-size: 87.5%; + color: #ffffff; + background-color: #212529; + border-radius: 0.2rem; + -webkit-box-shadow: inset 0 -0.1rem 0 rgba(0, 0, 0, 0.25); + box-shadow: inset 0 -0.1rem 0 rgba(0, 0, 0, 0.25); +} + +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: 700; + -webkit-box-shadow: none; + box-shadow: none; +} + +pre { + display: block; + font-size: 87.5%; + color: #212529; +} + +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + width: 100%; + padding-right: 10px; + padding-left: 10px; + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 10px; + padding-left: 10px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -10px; + margin-left: -10px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, +.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, +.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, +.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, +.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, +.col-xl-auto { + position: relative; + width: 100%; + padding-right: 10px; + padding-left: 10px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; +} + +.col-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; +} + +.col-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; +} + +.col-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} + +.col-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; +} + +.col-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; +} + +.col-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} + +.col-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; +} + +.col-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; +} + +.col-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} + +.col-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; +} + +.col-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; +} + +.col-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} + +.order-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; +} + +.order-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; +} + +.order-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; +} + +.order-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; +} + +.order-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; +} + +.order-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; +} + +.order-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; +} + +.order-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; +} + +.order-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; +} + +.order-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; +} + +.order-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; +} + +.order-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; +} + +.order-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; +} + +.order-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; +} + +.order-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; +} + +.offset-1 { + margin-left: 8.33333%; +} + +.offset-2 { + margin-left: 16.66667%; +} + +.offset-3 { + margin-left: 25%; +} + +.offset-4 { + margin-left: 33.33333%; +} + +.offset-5 { + margin-left: 41.66667%; +} + +.offset-6 { + margin-left: 50%; +} + +.offset-7 { + margin-left: 58.33333%; +} + +.offset-8 { + margin-left: 66.66667%; +} + +.offset-9 { + margin-left: 75%; +} + +.offset-10 { + margin-left: 83.33333%; +} + +.offset-11 { + margin-left: 91.66667%; +} + +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-sm-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-sm-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-sm-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-sm-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-sm-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-sm-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-sm-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-sm-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-sm-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.33333%; + } + .offset-sm-2 { + margin-left: 16.66667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.33333%; + } + .offset-sm-5 { + margin-left: 41.66667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.33333%; + } + .offset-sm-8 { + margin-left: 66.66667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.33333%; + } + .offset-sm-11 { + margin-left: 91.66667%; + } +} + +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-md-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-md-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-md-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-md-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-md-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-md-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-md-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-md-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-md-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.33333%; + } + .offset-md-2 { + margin-left: 16.66667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.33333%; + } + .offset-md-5 { + margin-left: 41.66667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.33333%; + } + .offset-md-8 { + margin-left: 66.66667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.33333%; + } + .offset-md-11 { + margin-left: 91.66667%; + } +} + +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-lg-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-lg-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-lg-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-lg-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-lg-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-lg-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-lg-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-lg-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-lg-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.33333%; + } + .offset-lg-2 { + margin-left: 16.66667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.33333%; + } + .offset-lg-5 { + margin-left: 41.66667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.33333%; + } + .offset-lg-8 { + margin-left: 66.66667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.33333%; + } + .offset-lg-11 { + margin-left: 91.66667%; + } +} + +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-xl-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-xl-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-xl-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-xl-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-xl-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-xl-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-xl-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-xl-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-xl-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.33333%; + } + .offset-xl-2 { + margin-left: 16.66667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.33333%; + } + .offset-xl-5 { + margin-left: 41.66667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.33333%; + } + .offset-xl-8 { + margin-left: 66.66667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.33333%; + } + .offset-xl-11 { + margin-left: 91.66667%; + } +} + +.table { + width: 100%; + margin-bottom: 1rem; + background-color: #fff; +} + +.table th, +.table td { + padding: 0.75rem; + vertical-align: top; + border-top: 1px solid #e4dcd3; +} + +.table thead th { + vertical-align: middle; +} + +.table-sm th, +.table-sm td { + padding: 0.3rem; +} + +.table-bordered { + border: 1px solid #e4dcd3; +} + +.table-bordered th, +.table-bordered td { + border: 1px solid #e4dcd3; +} + +.table-borderless th, +.table-borderless td, +.table-borderless thead th, +.table-borderless tbody + tbody { + border: 0; +} + +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.05); +} + +.table-hover tbody tr:hover { + color: #000; + background-color: rgba(0, 0, 0, 0.075); +} + +.table-primary, +.table-primary > th, +.table-primary > td { + background-color: #b8c4d2; +} + +.table-primary th, +.table-primary td, +.table-primary thead th, +.table-primary tbody + tbody { + border-color: #7a91ac; +} + +.table-hover .table-primary:hover { + background-color: #a8b7c8; +} + +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th { + background-color: #a8b7c8; +} + +.table-secondary, +.table-secondary > th, +.table-secondary > td { + background-color: #b8e7f2; +} + +.table-secondary th, +.table-secondary td, +.table-secondary thead th, +.table-secondary tbody + tbody { + border-color: #7ad3e8; +} + +.table-hover .table-secondary:hover { + background-color: #a2e0ee; +} + +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th { + background-color: #a2e0ee; +} + +.table-success, +.table-success > th, +.table-success > td { + background-color: #c3d2e4; +} + +.table-success th, +.table-success td, +.table-success thead th, +.table-success tbody + tbody { + border-color: #90accd; +} + +.table-hover .table-success:hover { + background-color: #b1c5dc; +} + +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th { + background-color: #b1c5dc; +} + +.table-info, +.table-info > th, +.table-info > td { + background-color: #e7f0f8; +} + +.table-info th, +.table-info td, +.table-info thead th, +.table-info tbody + tbody { + border-color: #d3e3f2; +} + +.table-hover .table-info:hover { + background-color: #d3e4f2; +} + +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th { + background-color: #d3e4f2; +} + +.table-warning, +.table-warning > th, +.table-warning > td { + background-color: #ffeeba; +} + +.table-warning th, +.table-warning td, +.table-warning thead th, +.table-warning tbody + tbody { + border-color: #ffdf7e; +} + +.table-hover .table-warning:hover { + background-color: #ffe8a1; +} + +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th { + background-color: #ffe8a1; +} + +.table-danger, +.table-danger > th, +.table-danger > td { + background-color: #ebcdc7; +} + +.table-danger th, +.table-danger td, +.table-danger thead th, +.table-danger tbody + tbody { + border-color: #daa197; +} + +.table-hover .table-danger:hover { + background-color: #e4bcb4; +} + +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th { + background-color: #e4bcb4; +} + +.table-light, +.table-light > th, +.table-light > td { + background-color: #f7f5f3; +} + +.table-light th, +.table-light td, +.table-light thead th, +.table-light tbody + tbody { + border-color: #f1ede8; +} + +.table-hover .table-light:hover { + background-color: #ede8e4; +} + +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th { + background-color: #ede8e4; +} + +.table-dark, +.table-dark > th, +.table-dark > td { + background-color: #c6c8ca; +} + +.table-dark th, +.table-dark td, +.table-dark thead th, +.table-dark tbody + tbody { + border-color: #95999c; +} + +.table-hover .table-dark:hover { + background-color: #b9bbbe; +} + +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th { + background-color: #b9bbbe; +} + +.table-active, +.table-active > th, +.table-active > td { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th { + background-color: rgba(0, 0, 0, 0.075); +} + +.table .thead-dark th { + color: #ffffff; + background-color: #212529; + border-color: #383f45; +} + +.table .thead-light th { + color: #000; + background-color: #e4dcd3; + border-color: #e4dcd3; +} + +.table-dark { + color: #ffffff; + background-color: #212529; +} + +.table-dark th, +.table-dark td, +.table-dark thead th { + border-color: #383f45; +} + +.table-dark.table-bordered { + border: 0; +} + +.table-dark.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(255, 255, 255, 0.05); +} + +.table-dark.table-hover tbody tr:hover { + color: #ffffff; + background-color: rgba(255, 255, 255, 0.075); +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-sm > .table-bordered { + border: 0; + } +} + +@media (max-width: 767.98px) { + .table-responsive-md { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-md > .table-bordered { + border: 0; + } +} + +@media (max-width: 991.98px) { + .table-responsive-lg { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-lg > .table-bordered { + border: 0; + } +} + +@media (max-width: 1199.98px) { + .table-responsive-xl { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-xl > .table-bordered { + border: 0; + } +} + +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + +.table-responsive > .table-bordered { + border: 0; +} + +.form-control { + display: block; + width: 100%; + height: calc(2.0625rem + 2px); + padding: 0.375rem 0.75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #ffffff; + background-clip: padding-box; + border: 1px solid #e4dcd3; + border-radius: 0.3rem; + -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0); + box-shadow: inset 0 0 0 rgba(0, 0, 0, 0); + -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .form-control { + -webkit-transition: none; + transition: none; + } +} + +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} + +.form-control:focus { + color: #495057; + background-color: #ffffff; + border-color: #0067df; + outline: 0; + -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), none; + box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), none; +} + +.form-control::-webkit-input-placeholder { + color: #939ba2; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #939ba2; + opacity: 1; +} + +.form-control::-ms-input-placeholder { + color: #939ba2; + opacity: 1; +} + +.form-control::placeholder { + color: #939ba2; + opacity: 1; +} + +.form-control:disabled, .form-control[readonly] { + background-color: #e4dcd3; + opacity: 1; +} + +select.form-control:focus::-ms-value { + color: #495057; + background-color: #ffffff; +} + +.form-control-file, +.form-control-range { + display: block; + width: 100%; +} + +.col-form-label { + padding-top: calc(0.375rem + 1px); + padding-bottom: calc(0.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} + +.col-form-label-lg { + padding-top: calc(0.5rem + 1px); + padding-bottom: calc(0.5rem + 1px); + font-size: 1.09375rem; + line-height: 1.5; +} + +.col-form-label-sm { + padding-top: calc(0.25rem + 1px); + padding-bottom: calc(0.25rem + 1px); + font-size: 0.76562rem; + line-height: 1.5; +} + +.form-control-plaintext { + display: block; + width: 100%; + padding-top: 0.375rem; + padding-bottom: 0.375rem; + margin-bottom: 0; + line-height: 1.5; + color: #000; + background-color: transparent; + border: solid transparent; + border-width: 1px 0; +} + +.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg { + padding-right: 0; + padding-left: 0; +} + +.form-control-sm { + height: calc(1.64844rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.76562rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.form-control-lg { + height: calc(2.64062rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.09375rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +select.form-control[size], select.form-control[multiple] { + height: auto; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 0.75rem; +} + +.form-text { + display: block; + margin-top: 0.25rem; +} + +.form-row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -5px; + margin-left: -5px; +} + +.form-row > .col, +.form-row > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; +} + +.form-check { + position: relative; + display: block; + padding-left: 1.25rem; +} + +.form-check-input { + position: absolute; + margin-top: 0.3rem; + margin-left: -1.25rem; +} + +.form-check-input:disabled ~ .form-check-label { + color: #6c757d; +} + +.form-check-label { + margin-bottom: 0; +} + +.form-check-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + margin-right: 0.75rem; +} + +.form-check-inline .form-check-input { + position: static; + margin-top: 0; + margin-right: 0.3125rem; + margin-left: 0; +} + +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #2a609e; +} + +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.76562rem; + line-height: 1.5; + color: #ffffff; + background-color: rgba(42, 96, 158, 0.9); + border-radius: 0.3rem; +} + +.was-validated .form-control:valid, .form-control.is-valid { + border-color: #2a609e; + padding-right: 2.0625rem; + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%232a609e' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + background-repeat: no-repeat; + background-position: center right calc(0.375em + 0.1875rem); + background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .form-control:valid:focus, .form-control.is-valid:focus { + border-color: #2a609e; + -webkit-box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); +} + +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated textarea.form-control:valid, textarea.form-control.is-valid { + padding-right: 2.0625rem; + background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); +} + +.was-validated .custom-select:valid, .custom-select.is-valid { + border-color: #2a609e; + padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem); + background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%232a609e' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #ffffff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .custom-select:valid:focus, .custom-select.is-valid:focus { + border-color: #2a609e; + -webkit-box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); +} + +.was-validated .custom-select:valid ~ .valid-feedback, +.was-validated .custom-select:valid ~ .valid-tooltip, .custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-control-file:valid ~ .valid-feedback, +.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback, +.form-control-file.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { + color: #2a609e; +} + +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label { + color: #2a609e; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before { + border-color: #2a609e; +} + +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before { + border-color: #3578c6; + background-color: #3578c6; +} + +.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); +} + +.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before { + border-color: #2a609e; +} + +.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label { + border-color: #2a609e; +} + +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label { + border-color: #2a609e; + -webkit-box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.25); +} + +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #b74b37; +} + +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.76562rem; + line-height: 1.5; + color: #ffffff; + background-color: rgba(183, 75, 55, 0.9); + border-radius: 0.3rem; +} + +.was-validated .form-control:invalid, .form-control.is-invalid { + border-color: #b74b37; + padding-right: 2.0625rem; + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23b74b37' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23b74b37' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E"); + background-repeat: no-repeat; + background-position: center right calc(0.375em + 0.1875rem); + background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus { + border-color: #b74b37; + -webkit-box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); +} + +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid { + padding-right: 2.0625rem; + background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); +} + +.was-validated .custom-select:invalid, .custom-select.is-invalid { + border-color: #b74b37; + padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem); + background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23b74b37' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23b74b37' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #ffffff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .custom-select:invalid:focus, .custom-select.is-invalid:focus { + border-color: #b74b37; + -webkit-box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); +} + +.was-validated .custom-select:invalid ~ .invalid-feedback, +.was-validated .custom-select:invalid ~ .invalid-tooltip, .custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-control-file:invalid ~ .invalid-feedback, +.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback, +.form-control-file.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { + color: #b74b37; +} + +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label { + color: #b74b37; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before { + border-color: #b74b37; +} + +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before { + border-color: #cc6855; + background-color: #cc6855; +} + +.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); +} + +.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before { + border-color: #b74b37; +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label { + border-color: #b74b37; +} + +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label { + border-color: #b74b37; + -webkit-box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.25); +} + +.form-inline { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.form-inline .form-check { + width: 100%; +} + +@media (min-width: 576px) { + .form-inline label { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-bottom: 0; + } + .form-inline .form-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: 0; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-plaintext { + display: inline-block; + } + .form-inline .input-group, + .form-inline .custom-select { + width: auto; + } + .form-inline .form-check { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + width: auto; + padding-left: 0; + } + .form-inline .form-check-input { + position: relative; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-top: 0; + margin-right: 0.25rem; + margin-left: 0; + } + .form-inline .custom-control { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + } + .form-inline .custom-control-label { + margin-bottom: 0; + } +} + +.btn { + display: inline-block; + font-weight: 400; + color: #000; + text-align: center; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: transparent; + border: 1px solid transparent; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + border-radius: 0.3rem; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .btn { + -webkit-transition: none; + transition: none; + } +} + +.btn:hover { + color: #000; + text-decoration: none; +} + +.btn:focus, .btn.focus { + outline: 0; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn.disabled, .btn:disabled { + opacity: 0.65; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active { + -webkit-box-shadow: none; + box-shadow: none; +} + +a.btn.disabled, +fieldset:disabled a.btn { + pointer-events: none; +} + +.btn-primary { + color: #ffffff; + background-color: #002c5f; + border-color: #002c5f; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-primary:hover { + color: #ffffff; + background-color: #001a39; + border-color: #00142c; +} + +.btn-primary:focus, .btn-primary.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(38, 76, 119, 0.5); + box-shadow: none, 0 0 0 0 rgba(38, 76, 119, 0.5); +} + +.btn-primary.disabled, .btn-primary:disabled { + color: #ffffff; + background-color: #002c5f; + border-color: #002c5f; +} + +.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, +.show > .btn-primary.dropdown-toggle { + color: #ffffff; + background-color: #00142c; + border-color: #000e1f; +} + +.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-primary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(38, 76, 119, 0.5); + box-shadow: 0 0 0 0 rgba(38, 76, 119, 0.5); +} + +.btn-secondary { + color: #ffffff; + background-color: #00aad2; + border-color: #00aad2; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-secondary:hover { + color: #ffffff; + background-color: #008bac; + border-color: #00819f; +} + +.btn-secondary:focus, .btn-secondary.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(38, 183, 217, 0.5); + box-shadow: none, 0 0 0 0 rgba(38, 183, 217, 0.5); +} + +.btn-secondary.disabled, .btn-secondary:disabled { + color: #ffffff; + background-color: #00aad2; + border-color: #00aad2; +} + +.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, +.show > .btn-secondary.dropdown-toggle { + color: #ffffff; + background-color: #00819f; + border-color: #007692; +} + +.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-secondary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(38, 183, 217, 0.5); + box-shadow: 0 0 0 0 rgba(38, 183, 217, 0.5); +} + +.btn-success { + color: #ffffff; + background-color: #2a609e; + border-color: #2a609e; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-success:hover { + color: #ffffff; + background-color: #224e80; + border-color: #1f4876; +} + +.btn-success:focus, .btn-success.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(74, 120, 173, 0.5); + box-shadow: none, 0 0 0 0 rgba(74, 120, 173, 0.5); +} + +.btn-success.disabled, .btn-success:disabled { + color: #ffffff; + background-color: #2a609e; + border-color: #2a609e; +} + +.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, +.show > .btn-success.dropdown-toggle { + color: #ffffff; + background-color: #1f4876; + border-color: #1d416c; +} + +.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-success.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(74, 120, 173, 0.5); + box-shadow: 0 0 0 0 rgba(74, 120, 173, 0.5); +} + +.btn-info { + color: #ffffff; + background-color: #aacae6; + border-color: #aacae6; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-info:hover { + color: #ffffff; + background-color: #8cb8dd; + border-color: #83b1da; +} + +.btn-info:focus, .btn-info.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(183, 210, 234, 0.5); + box-shadow: none, 0 0 0 0 rgba(183, 210, 234, 0.5); +} + +.btn-info.disabled, .btn-info:disabled { + color: #ffffff; + background-color: #aacae6; + border-color: #aacae6; +} + +.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, +.show > .btn-info.dropdown-toggle { + color: #ffffff; + background-color: #83b1da; + border-color: #79abd8; +} + +.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-info.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(183, 210, 234, 0.5); + box-shadow: 0 0 0 0 rgba(183, 210, 234, 0.5); +} + +.btn-warning { + color: #ffffff; + background-color: #ffc107; + border-color: #ffc107; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-warning:hover { + color: #ffffff; + background-color: #e0a800; + border-color: #d39e00; +} + +.btn-warning:focus, .btn-warning.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(255, 202, 44, 0.5); + box-shadow: none, 0 0 0 0 rgba(255, 202, 44, 0.5); +} + +.btn-warning.disabled, .btn-warning:disabled { + color: #ffffff; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, +.show > .btn-warning.dropdown-toggle { + color: #ffffff; + background-color: #d39e00; + border-color: #c69500; +} + +.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-warning.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(255, 202, 44, 0.5); + box-shadow: 0 0 0 0 rgba(255, 202, 44, 0.5); +} + +.btn-danger { + color: #ffffff; + background-color: #b74b37; + border-color: #b74b37; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-danger:hover { + color: #ffffff; + background-color: #9a3f2e; + border-color: #903b2b; +} + +.btn-danger:focus, .btn-danger.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(194, 102, 85, 0.5); + box-shadow: none, 0 0 0 0 rgba(194, 102, 85, 0.5); +} + +.btn-danger.disabled, .btn-danger:disabled { + color: #ffffff; + background-color: #b74b37; + border-color: #b74b37; +} + +.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, +.show > .btn-danger.dropdown-toggle { + color: #ffffff; + background-color: #903b2b; + border-color: #863728; +} + +.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-danger.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(194, 102, 85, 0.5); + box-shadow: 0 0 0 0 rgba(194, 102, 85, 0.5); +} + +.btn-light { + color: #1F2D3D; + background-color: #e4dcd3; + border-color: #e4dcd3; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-light:hover { + color: #1F2D3D; + background-color: #d5c9bb; + border-color: #d1c3b3; +} + +.btn-light:focus, .btn-light.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(198, 194, 189, 0.5); + box-shadow: none, 0 0 0 0 rgba(198, 194, 189, 0.5); +} + +.btn-light.disabled, .btn-light:disabled { + color: #1F2D3D; + background-color: #e4dcd3; + border-color: #e4dcd3; +} + +.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, +.show > .btn-light.dropdown-toggle { + color: #ffffff; + background-color: #d1c3b3; + border-color: #ccbdab; +} + +.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-light.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(198, 194, 189, 0.5); + box-shadow: 0 0 0 0 rgba(198, 194, 189, 0.5); +} + +.btn-dark { + color: #ffffff; + background-color: #343a40; + border-color: #343a40; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-dark:hover { + color: #ffffff; + background-color: #23272b; + border-color: #1d2124; +} + +.btn-dark:focus, .btn-dark.focus { + -webkit-box-shadow: none, 0 0 0 0 rgba(82, 88, 93, 0.5); + box-shadow: none, 0 0 0 0 rgba(82, 88, 93, 0.5); +} + +.btn-dark.disabled, .btn-dark:disabled { + color: #ffffff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, +.show > .btn-dark.dropdown-toggle { + color: #ffffff; + background-color: #1d2124; + border-color: #171a1d; +} + +.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-dark.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(82, 88, 93, 0.5); + box-shadow: 0 0 0 0 rgba(82, 88, 93, 0.5); +} + +.btn-outline-primary { + color: #002c5f; + border-color: #002c5f; + background-color: #fff; +} + +.btn-outline-primary:hover { + color: #ffffff; + background-color: #002c5f; + border-color: #002c5f; +} + +.btn-outline-primary:focus, .btn-outline-primary.focus { + -webkit-box-shadow: 0 0 0 0 rgba(0, 44, 95, 0.5); + box-shadow: 0 0 0 0 rgba(0, 44, 95, 0.5); +} + +.btn-outline-primary.disabled, .btn-outline-primary:disabled { + color: #002c5f; + background-color: transparent; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, +.show > .btn-outline-primary.dropdown-toggle { + color: #ffffff; + background-color: #002c5f; + border-color: #002c5f; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(0, 44, 95, 0.5); + box-shadow: 0 0 0 0 rgba(0, 44, 95, 0.5); +} + +.btn-outline-secondary { + color: #00aad2; + border-color: #00aad2; + background-color: #fff; +} + +.btn-outline-secondary:hover { + color: #ffffff; + background-color: #00aad2; + border-color: #00aad2; +} + +.btn-outline-secondary:focus, .btn-outline-secondary.focus { + -webkit-box-shadow: 0 0 0 0 rgba(0, 170, 210, 0.5); + box-shadow: 0 0 0 0 rgba(0, 170, 210, 0.5); +} + +.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { + color: #00aad2; + background-color: transparent; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, +.show > .btn-outline-secondary.dropdown-toggle { + color: #ffffff; + background-color: #00aad2; + border-color: #00aad2; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(0, 170, 210, 0.5); + box-shadow: 0 0 0 0 rgba(0, 170, 210, 0.5); +} + +.btn-outline-success { + color: #2a609e; + border-color: #2a609e; + background-color: #fff; +} + +.btn-outline-success:hover { + color: #ffffff; + background-color: #2a609e; + border-color: #2a609e; +} + +.btn-outline-success:focus, .btn-outline-success.focus { + -webkit-box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.5); + box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.5); +} + +.btn-outline-success.disabled, .btn-outline-success:disabled { + color: #2a609e; + background-color: transparent; +} + +.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, +.show > .btn-outline-success.dropdown-toggle { + color: #ffffff; + background-color: #2a609e; + border-color: #2a609e; +} + +.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-success.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.5); + box-shadow: 0 0 0 0 rgba(42, 96, 158, 0.5); +} + +.btn-outline-info { + color: #aacae6; + border-color: #aacae6; + background-color: #fff; +} + +.btn-outline-info:hover { + color: #ffffff; + background-color: #aacae6; + border-color: #aacae6; +} + +.btn-outline-info:focus, .btn-outline-info.focus { + -webkit-box-shadow: 0 0 0 0 rgba(170, 202, 230, 0.5); + box-shadow: 0 0 0 0 rgba(170, 202, 230, 0.5); +} + +.btn-outline-info.disabled, .btn-outline-info:disabled { + color: #aacae6; + background-color: transparent; +} + +.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, +.show > .btn-outline-info.dropdown-toggle { + color: #ffffff; + background-color: #aacae6; + border-color: #aacae6; +} + +.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-info.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(170, 202, 230, 0.5); + box-shadow: 0 0 0 0 rgba(170, 202, 230, 0.5); +} + +.btn-outline-warning { + color: #ffc107; + border-color: #ffc107; + background-color: #fff; +} + +.btn-outline-warning:hover { + color: #ffffff; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:focus, .btn-outline-warning.focus { + -webkit-box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5); + box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5); +} + +.btn-outline-warning.disabled, .btn-outline-warning:disabled { + color: #ffc107; + background-color: transparent; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, +.show > .btn-outline-warning.dropdown-toggle { + color: #ffffff; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5); + box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5); +} + +.btn-outline-danger { + color: #b74b37; + border-color: #b74b37; + background-color: #fff; +} + +.btn-outline-danger:hover { + color: #ffffff; + background-color: #b74b37; + border-color: #b74b37; +} + +.btn-outline-danger:focus, .btn-outline-danger.focus { + -webkit-box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.5); + box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.5); +} + +.btn-outline-danger.disabled, .btn-outline-danger:disabled { + color: #b74b37; + background-color: transparent; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, +.show > .btn-outline-danger.dropdown-toggle { + color: #ffffff; + background-color: #b74b37; + border-color: #b74b37; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.5); + box-shadow: 0 0 0 0 rgba(183, 75, 55, 0.5); +} + +.btn-outline-light { + color: #e4dcd3; + border-color: #e4dcd3; + background-color: #fff; +} + +.btn-outline-light:hover { + color: #1F2D3D; + background-color: #e4dcd3; + border-color: #e4dcd3; +} + +.btn-outline-light:focus, .btn-outline-light.focus { + -webkit-box-shadow: 0 0 0 0 rgba(228, 220, 211, 0.5); + box-shadow: 0 0 0 0 rgba(228, 220, 211, 0.5); +} + +.btn-outline-light.disabled, .btn-outline-light:disabled { + color: #e4dcd3; + background-color: transparent; +} + +.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, +.show > .btn-outline-light.dropdown-toggle { + color: #1F2D3D; + background-color: #e4dcd3; + border-color: #e4dcd3; +} + +.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-light.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(228, 220, 211, 0.5); + box-shadow: 0 0 0 0 rgba(228, 220, 211, 0.5); +} + +.btn-outline-dark { + color: #343a40; + border-color: #343a40; + background-color: #fff; +} + +.btn-outline-dark:hover { + color: #ffffff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:focus, .btn-outline-dark.focus { + -webkit-box-shadow: 0 0 0 0 rgba(52, 58, 64, 0.5); + box-shadow: 0 0 0 0 rgba(52, 58, 64, 0.5); +} + +.btn-outline-dark.disabled, .btn-outline-dark:disabled { + color: #343a40; + background-color: transparent; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, +.show > .btn-outline-dark.dropdown-toggle { + color: #ffffff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0 rgba(52, 58, 64, 0.5); + box-shadow: 0 0 0 0 rgba(52, 58, 64, 0.5); +} + +.btn-link { + font-weight: 400; + color: #002c5f; + text-decoration: none; +} + +.btn-link:hover { + color: #000913; + text-decoration: none; +} + +.btn-link:focus, .btn-link.focus { + text-decoration: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link:disabled, .btn-link.disabled { + color: #6c757d; + pointer-events: none; +} + +.btn-lg, .btn-group-lg > .btn { + padding: 0.5rem 1rem; + font-size: 1.09375rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.btn-sm, .btn-group-sm > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.76562rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.btn-block { + display: block; + width: 100%; +} + +.btn-block + .btn-block { + margin-top: 0.5rem; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +@media (prefers-reduced-motion: reduce) { + .fade { + -webkit-transition: none; + transition: none; + } +} + +.fade:not(.show) { + opacity: 0; +} + +.collapse:not(.show) { + display: none; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@media (prefers-reduced-motion: reduce) { + .collapsing { + -webkit-transition: none; + transition: none; + } +} + +.dropup, +.dropright, +.dropdown, +.dropleft { + position: relative; +} + +.dropdown-toggle { + white-space: nowrap; +} + +.dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid; + border-right: 0.3em solid transparent; + border-bottom: 0; + border-left: 0.3em solid transparent; +} + +.dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 10rem; + padding: 0.5rem 0; + margin: 0.125rem 0 0; + font-size: 0.875rem; + color: #000; + text-align: left; + list-style: none; + background-color: #ffffff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.3rem; + -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175); + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175); +} + +.dropdown-menu-left { + right: auto; + left: 0; +} + +.dropdown-menu-right { + right: 0; + left: auto; +} + +@media (min-width: 576px) { + .dropdown-menu-sm-left { + right: auto; + left: 0; + } + .dropdown-menu-sm-right { + right: 0; + left: auto; + } +} + +@media (min-width: 768px) { + .dropdown-menu-md-left { + right: auto; + left: 0; + } + .dropdown-menu-md-right { + right: 0; + left: auto; + } +} + +@media (min-width: 992px) { + .dropdown-menu-lg-left { + right: auto; + left: 0; + } + .dropdown-menu-lg-right { + right: 0; + left: auto; + } +} + +@media (min-width: 1200px) { + .dropdown-menu-xl-left { + right: auto; + left: 0; + } + .dropdown-menu-xl-right { + right: 0; + left: auto; + } +} + +.dropup .dropdown-menu { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: 0.125rem; +} + +.dropup .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0; + border-right: 0.3em solid transparent; + border-bottom: 0.3em solid; + border-left: 0.3em solid transparent; +} + +.dropup .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-menu { + top: 0; + right: auto; + left: 100%; + margin-top: 0; + margin-left: 0.125rem; +} + +.dropright .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; +} + +.dropright .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-toggle::after { + vertical-align: 0; +} + +.dropleft .dropdown-menu { + top: 0; + right: 100%; + left: auto; + margin-top: 0; + margin-right: 0.125rem; +} + +.dropleft .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; +} + +.dropleft .dropdown-toggle::after { + display: none; +} + +.dropleft .dropdown-toggle::before { + display: inline-block; + margin-right: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0.3em solid; + border-bottom: 0.3em solid transparent; +} + +.dropleft .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle::before { + vertical-align: 0; +} + +.dropdown-menu[x-placement^="top"], .dropdown-menu[x-placement^="right"], .dropdown-menu[x-placement^="bottom"], .dropdown-menu[x-placement^="left"] { + right: auto; + bottom: auto; +} + +.dropdown-divider { + height: 0; + margin: 0.5rem 0; + overflow: hidden; + border-top: 1px solid #e9ecef; +} + +.dropdown-item { + display: block; + width: 100%; + padding: 0.25rem 1rem; + clear: both; + font-weight: 400; + color: #212529; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; +} + +.dropdown-item:hover, .dropdown-item:focus { + color: #16181b; + text-decoration: none; + background-color: #f8f9fa; +} + +.dropdown-item.active, .dropdown-item:active { + color: #ffffff; + text-decoration: none; + background-color: #002c5f; +} + +.dropdown-item.disabled, .dropdown-item:disabled { + color: #6c757d; + pointer-events: none; + background-color: transparent; +} + +.dropdown-menu.show { + display: block; +} + +.dropdown-header { + display: block; + padding: 0.5rem 1rem; + margin-bottom: 0; + font-size: 0.76562rem; + color: #6c757d; + white-space: nowrap; +} + +.dropdown-item-text { + display: block; + padding: 0.25rem 1rem; + color: #212529; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover { + z-index: 1; +} + +.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 1; +} + +.btn-toolbar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.btn-toolbar .input-group { + width: auto; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) { + margin-left: -1px; +} + +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.dropdown-toggle-split { + padding-right: 0.5625rem; + padding-left: 0.5625rem; +} + +.dropdown-toggle-split::after, +.dropup .dropdown-toggle-split::after, +.dropright .dropdown-toggle-split::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle-split::before { + margin-right: 0; +} + +.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split { + padding-right: 0.375rem; + padding-left: 0.375rem; +} + +.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split { + padding-right: 0.75rem; + padding-left: 0.75rem; +} + +.btn-group.show .dropdown-toggle { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-group.show .dropdown-toggle.btn-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-group-vertical { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group { + width: 100%; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) { + margin-top: -1px; +} + +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn { + margin-bottom: 0; +} + +.btn-group-toggle > .btn input[type="radio"], +.btn-group-toggle > .btn input[type="checkbox"], +.btn-group-toggle > .btn-group > .btn input[type="radio"], +.btn-group-toggle > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} + +.input-group { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} + +.input-group > .form-control, +.input-group > .form-control-plaintext, +.input-group > .custom-select, +.input-group > .custom-file { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + margin-bottom: 0; +} + +.input-group > .form-control + .form-control, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .custom-file, +.input-group > .form-control-plaintext + .form-control, +.input-group > .form-control-plaintext + .custom-select, +.input-group > .form-control-plaintext + .custom-file, +.input-group > .custom-select + .form-control, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .custom-file, +.input-group > .custom-file + .form-control, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .custom-file { + margin-left: -1px; +} + +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label { + z-index: 3; +} + +.input-group > .custom-file .custom-file-input:focus { + z-index: 4; +} + +.input-group > .form-control:not(:last-child), +.input-group > .custom-select:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .form-control:not(:first-child), +.input-group > .custom-select:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group > .custom-file { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::after { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .custom-file:not(:first-child) .custom-file-label { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group-prepend, +.input-group-append { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + +.input-group-prepend .btn, +.input-group-append .btn { + position: relative; + z-index: 2; +} + +.input-group-prepend .btn:focus, +.input-group-append .btn:focus { + z-index: 3; +} + +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .input-group-text, +.input-group-append .input-group-text + .btn { + margin-left: -1px; +} + +.input-group-prepend { + margin-right: -1px; +} + +.input-group-append { + margin-left: -1px; +} + +.input-group-text { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0.375rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + text-align: center; + white-space: nowrap; + background-color: #e9ecef; + border: 1px solid #e4dcd3; + border-radius: 0.3rem; +} + +.input-group-text input[type="radio"], +.input-group-text input[type="checkbox"] { + margin-top: 0; +} + +.input-group-lg > .form-control:not(textarea), +.input-group-lg > .custom-select { + height: calc(2.64062rem + 2px); +} + +.input-group-lg > .form-control, +.input-group-lg > .custom-select, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn { + padding: 0.5rem 1rem; + font-size: 1.09375rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.input-group-sm > .form-control:not(textarea), +.input-group-sm > .custom-select { + height: calc(1.64844rem + 2px); +} + +.input-group-sm > .form-control, +.input-group-sm > .custom-select, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.76562rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.input-group-lg > .custom-select, +.input-group-sm > .custom-select { + padding-right: 1.75rem; +} + +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text, +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.custom-control { + position: relative; + display: block; + min-height: 1.3125rem; + padding-left: 1.5rem; +} + +.custom-control-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + margin-right: 1rem; +} + +.custom-control-input { + position: absolute; + z-index: -1; + opacity: 0; +} + +.custom-control-input:checked ~ .custom-control-label::before { + color: #ffffff; + border-color: #002c5f; + background-color: #002c5f; + -webkit-box-shadow: none; + box-shadow: none; +} + +.custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), none; + box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), none; +} + +.custom-control-input:focus:not(:checked) ~ .custom-control-label::before { + border-color: #0067df; +} + +.custom-control-input:not(:disabled):active ~ .custom-control-label::before { + color: #ffffff; + background-color: #1380ff; + border-color: #1380ff; + -webkit-box-shadow: none; + box-shadow: none; +} + +.custom-control-input:disabled ~ .custom-control-label { + color: #6c757d; +} + +.custom-control-input:disabled ~ .custom-control-label::before { + background-color: #e9ecef; +} + +.custom-control-label { + position: relative; + margin-bottom: 0; + vertical-align: top; +} + +.custom-control-label::before { + position: absolute; + top: 0.15625rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + background-color: #dee2e6; + border: #adb5bd solid 1px; + -webkit-box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1); + box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1); +} + +.custom-control-label::after { + position: absolute; + top: 0.15625rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + content: ""; + background: no-repeat 50% / 50% 50%; +} + +.custom-checkbox .custom-control-label::before { + border-radius: 0.3rem; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { + border-color: #002c5f; + background-color: #002c5f; + -webkit-box-shadow: none; + box-shadow: none; +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23ffffff' d='M0 2h4'/%3E%3C/svg%3E"); +} + +.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 44, 95, 0.5); +} + +.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { + background-color: rgba(0, 44, 95, 0.5); +} + +.custom-radio .custom-control-label::before { + border-radius: 50%; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23ffffff'/%3E%3C/svg%3E"); +} + +.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 44, 95, 0.5); +} + +.custom-switch { + padding-left: 2.25rem; +} + +.custom-switch .custom-control-label::before { + left: -2.25rem; + width: 1.75rem; + pointer-events: all; + border-radius: 0.5rem; +} + +.custom-switch .custom-control-label::after { + top: calc(0.15625rem + 2px); + left: calc(-2.25rem + 2px); + width: calc(1rem - 4px); + height: calc(1rem - 4px); + background-color: #adb5bd; + border-radius: 0.5rem; + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .custom-switch .custom-control-label::after { + -webkit-transition: none; + transition: none; + } +} + +.custom-switch .custom-control-input:checked ~ .custom-control-label::after { + background-color: #dee2e6; + -webkit-transform: translateX(0.75rem); + transform: translateX(0.75rem); +} + +.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 44, 95, 0.5); +} + +.custom-select { + display: inline-block; + width: 100%; + height: calc(2.0625rem + 2px); + padding: 0.375rem 1.75rem 0.375rem 0.75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + vertical-align: middle; + background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center/8px 10px; + background-color: #ffffff; + border: 1px solid #e4dcd3; + border-radius: 0.3rem; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-select:focus { + border-color: #0067df; + outline: 0; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), none; + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), none; +} + +.custom-select:focus::-ms-value { + color: #495057; + background-color: #ffffff; +} + +.custom-select[multiple], .custom-select[size]:not([size="1"]) { + height: auto; + padding-right: 0.75rem; + background-image: none; +} + +.custom-select:disabled { + color: #6c757d; + background-color: #e9ecef; +} + +.custom-select::-ms-expand { + display: none; +} + +.custom-select-sm { + height: calc(1.64844rem + 2px); + padding-top: 0.25rem; + padding-bottom: 0.25rem; + padding-left: 0.5rem; + font-size: 75%; +} + +.custom-select-lg { + height: calc(2.64062rem + 2px); + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-left: 1rem; + font-size: 125%; +} + +.custom-file { + position: relative; + display: inline-block; + width: 100%; + height: calc(2.0625rem + 2px); + margin-bottom: 0; +} + +.custom-file-input { + position: relative; + z-index: 2; + width: 100%; + height: calc(2.0625rem + 2px); + margin: 0; + opacity: 0; +} + +.custom-file-input:focus ~ .custom-file-label { + border-color: #0067df; + -webkit-box-shadow: none; + box-shadow: none; +} + +.custom-file-input:disabled ~ .custom-file-label { + background-color: #e4dcd3; +} + +.custom-file-input:lang(en) ~ .custom-file-label::after { + content: "Browse"; +} + +.custom-file-input ~ .custom-file-label[data-browse]::after { + content: attr(data-browse); +} + +.custom-file-label { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 1; + height: calc(2.0625rem + 2px); + padding: 0.375rem 0.75rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #ffffff; + border: 1px solid #e4dcd3; + border-radius: 0.3rem; + -webkit-box-shadow: none; + box-shadow: none; +} + +.custom-file-label::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 3; + display: block; + height: 2.0625rem; + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + content: "Browse"; + background-color: #e9ecef; + border-left: inherit; + border-radius: 0 0.3rem 0.3rem 0; +} + +.custom-range { + width: 100%; + height: calc(1rem + 0); + padding: 0; + background-color: transparent; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-range:focus { + outline: none; +} + +.custom-range:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 0.2rem rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 0.2rem rgba(0, 44, 95, 0.25); +} + +.custom-range:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 0.2rem rgba(0, 44, 95, 0.25); +} + +.custom-range:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 0.2rem rgba(0, 44, 95, 0.25); +} + +.custom-range::-moz-focus-outer { + border: 0; +} + +.custom-range::-webkit-slider-thumb { + width: 1rem; + height: 1rem; + margin-top: -0.25rem; + background-color: #002c5f; + border: 0; + border-radius: 1rem; + -webkit-box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1); + box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1); + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + -webkit-appearance: none; + appearance: none; +} + +@media (prefers-reduced-motion: reduce) { + .custom-range::-webkit-slider-thumb { + -webkit-transition: none; + transition: none; + } +} + +.custom-range::-webkit-slider-thumb:active { + background-color: #1380ff; +} + +.custom-range::-webkit-slider-runnable-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; + -webkit-box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1); + box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1); +} + +.custom-range::-moz-range-thumb { + width: 1rem; + height: 1rem; + background-color: #002c5f; + border: 0; + border-radius: 1rem; + box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1); + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + -moz-appearance: none; + appearance: none; +} + +@media (prefers-reduced-motion: reduce) { + .custom-range::-moz-range-thumb { + -webkit-transition: none; + transition: none; + } +} + +.custom-range::-moz-range-thumb:active { + background-color: #1380ff; +} + +.custom-range::-moz-range-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; + box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1); +} + +.custom-range::-ms-thumb { + width: 1rem; + height: 1rem; + margin-top: 0; + margin-right: 0; + margin-left: 0; + background-color: #002c5f; + border: 0; + border-radius: 1rem; + box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1); + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + appearance: none; +} + +@media (prefers-reduced-motion: reduce) { + .custom-range::-ms-thumb { + -webkit-transition: none; + transition: none; + } +} + +.custom-range::-ms-thumb:active { + background-color: #1380ff; +} + +.custom-range::-ms-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: transparent; + border-color: transparent; + border-width: 0.5rem; + box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1); +} + +.custom-range::-ms-fill-lower { + background-color: #dee2e6; + border-radius: 1rem; +} + +.custom-range::-ms-fill-upper { + margin-right: 15px; + background-color: #dee2e6; + border-radius: 1rem; +} + +.custom-range:disabled::-webkit-slider-thumb { + background-color: #adb5bd; +} + +.custom-range:disabled::-webkit-slider-runnable-track { + cursor: default; +} + +.custom-range:disabled::-moz-range-thumb { + background-color: #adb5bd; +} + +.custom-range:disabled::-moz-range-track { + cursor: default; +} + +.custom-range:disabled::-ms-thumb { + background-color: #adb5bd; +} + +.custom-control-label::before, +.custom-file-label, +.custom-select { + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .custom-control-label::before, + .custom-file-label, + .custom-select { + -webkit-transition: none; + transition: none; + } +} + +.nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav-link { + display: block; + padding: 0.75rem 1rem; +} + +.nav-link:hover, .nav-link:focus { + text-decoration: none; +} + +.nav-link.disabled { + color: #6c757d; + pointer-events: none; + cursor: default; +} + +.nav-tabs { + border-bottom: 1px solid #dee2e6; +} + +.nav-tabs .nav-item { + margin-bottom: -1px; +} + +.nav-tabs .nav-link { + border: 1px solid transparent; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { + border-color: #e9ecef #e9ecef #dee2e6; +} + +.nav-tabs .nav-link.disabled { + color: #6c757d; + background-color: transparent; + border-color: transparent; +} + +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link { + color: #495057; + background-color: #ffffff; + border-color: #dee2e6 #dee2e6 #ffffff; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.nav-pills .nav-link { + border-radius: 0.3rem; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: #ffffff; + background-color: #2b2b2b; +} + +.nav-fill .nav-item { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} + +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.navbar { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 1rem 1.125rem; +} + +.navbar > .container, +.navbar > .container-fluid { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.navbar-brand { + display: inline-block; + padding-top: 0.58594rem; + padding-bottom: 0.58594rem; + margin-right: 1.125rem; + font-size: 1.09375rem; + line-height: inherit; + white-space: nowrap; +} + +.navbar-brand:hover, .navbar-brand:focus { + text-decoration: none; +} + +.navbar-nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.navbar-nav .nav-link { + padding-right: 0; + padding-left: 0; +} + +.navbar-nav .dropdown-menu { + position: static; + float: none; +} + +.navbar-text { + display: inline-block; + padding-top: 0.75rem; + padding-bottom: 0.75rem; +} + +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.09375rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.3rem; +} + +.navbar-toggler:hover, .navbar-toggler:focus { + text-decoration: none; +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; +} + +@media (max-width: 575.98px) { + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 576px) { + .navbar-expand-sm { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } +} + +@media (max-width: 767.98px) { + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 768px) { + .navbar-expand-md { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } +} + +@media (max-width: 991.98px) { + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 992px) { + .navbar-expand-lg { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } +} + +@media (max-width: 1199.98px) { + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 1200px) { + .navbar-expand-xl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-right: 1rem; + padding-left: 1rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } +} + +.navbar-expand { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + padding-right: 0; + padding-left: 0; +} + +.navbar-expand .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} + +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} + +.navbar-expand .navbar-nav .nav-link { + padding-right: 1rem; + padding-left: 1rem; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.navbar-expand .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.navbar-expand .navbar-toggler { + display: none; +} + +.navbar-light .navbar-brand { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-nav .nav-link { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { + color: rgba(0, 0, 0, 0.7); +} + +.navbar-light .navbar-nav .nav-link.disabled { + color: rgba(0, 0, 0, 0.3); +} + +.navbar-light .navbar-nav .show > .nav-link, +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .nav-link.active { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-toggler { + color: rgba(0, 0, 0, 0.5); + border-color: rgba(0, 0, 0, 0.1); +} + +.navbar-light .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-light .navbar-text { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-text a { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-dark .navbar-brand { + color: #ffffff; +} + +.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus { + color: #ffffff; +} + +.navbar-dark .navbar-nav .nav-link { + color: rgba(255, 255, 255, 0.75); +} + +.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { + color: white; +} + +.navbar-dark .navbar-nav .nav-link.disabled { + color: rgba(255, 255, 255, 0.25); +} + +.navbar-dark .navbar-nav .show > .nav-link, +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .nav-link.active { + color: #ffffff; +} + +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 0.75); + border-color: rgba(255, 255, 255, 0.1); +} + +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.75)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); +} + +.navbar-dark .navbar-text { + color: rgba(255, 255, 255, 0.75); +} + +.navbar-dark .navbar-text a { + color: #ffffff; +} + +.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus { + color: #ffffff; +} + +.card { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #ffffff; + background-clip: border-box; + border: 0 solid rgba(0, 0, 0, 0.125); + border-radius: 0.3rem; +} + +.card > hr { + margin-right: 0; + margin-left: 0; +} + +.card > .list-group:first-child .list-group-item:first-child { + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.card > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.card-body { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} + +.card-title { + margin-bottom: 0.75rem; +} + +.card-subtitle { + margin-top: -0.375rem; + margin-bottom: 0; +} + +.card-text:last-child { + margin-bottom: 0; +} + +.card-link:hover { + text-decoration: none; +} + +.card-link + .card-link { + margin-left: 1.25rem; +} + +.card-header { + padding: 0.75rem 1.25rem; + margin-bottom: 0; + background-color: rgba(0, 0, 0, 0.03); + border-bottom: 0 solid rgba(0, 0, 0, 0.125); +} + +.card-header:first-child { + border-radius: calc(0.3rem - 0) calc(0.3rem - 0) 0 0; +} + +.card-header + .list-group .list-group-item:first-child { + border-top: 0; +} + +.card-footer { + padding: 0.75rem 1.25rem; + background-color: rgba(0, 0, 0, 0.03); + border-top: 0 solid rgba(0, 0, 0, 0.125); +} + +.card-footer:last-child { + border-radius: 0 0 calc(0.3rem - 0) calc(0.3rem - 0); +} + +.card-header-tabs { + margin-right: -0.625rem; + margin-bottom: -0.75rem; + margin-left: -0.625rem; + border-bottom: 0; +} + +.card-header-pills { + margin-right: -0.625rem; + margin-left: -0.625rem; +} + +.card-img-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + padding: 1.25rem; +} + +.card-img { + width: 100%; + border-radius: calc(0.3rem - 0); +} + +.card-img-top { + width: 100%; + border-top-left-radius: calc(0.3rem - 0); + border-top-right-radius: calc(0.3rem - 0); +} + +.card-img-bottom { + width: 100%; + border-bottom-right-radius: calc(0.3rem - 0); + border-bottom-left-radius: calc(0.3rem - 0); +} + +.card-deck { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-deck .card { + margin-bottom: 10px; +} + +@media (min-width: 576px) { + .card-deck { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-right: -10px; + margin-left: -10px; + } + .card-deck .card { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + margin-right: 10px; + margin-bottom: 0; + margin-left: 10px; + } +} + +.card-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-group > .card { + margin-bottom: 10px; +} + +@media (min-width: 576px) { + .card-group { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-left: 0; + border-left: 0; + } + .card-group > .card:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-top, + .card-group > .card:not(:last-child) .card-header { + border-top-right-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-bottom, + .card-group > .card:not(:last-child) .card-footer { + border-bottom-right-radius: 0; + } + .card-group > .card:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-top, + .card-group > .card:not(:first-child) .card-header { + border-top-left-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-bottom, + .card-group > .card:not(:first-child) .card-footer { + border-bottom-left-radius: 0; + } +} + +.card-columns .card { + margin-bottom: 0.75rem; +} + +@media (min-width: 576px) { + .card-columns { + -webkit-column-count: 3; + column-count: 3; + -webkit-column-gap: 1.25rem; + column-gap: 1.25rem; + orphans: 1; + widows: 1; + } + .card-columns .card { + display: inline-block; + width: 100%; + } +} + +.accordion > .card { + overflow: hidden; +} + +.accordion > .card:not(:first-of-type) .card-header:first-child { + border-radius: 0; +} + +.accordion > .card:not(:first-of-type):not(:last-of-type) { + border-bottom: 0; + border-radius: 0; +} + +.accordion > .card:first-of-type { + border-bottom: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.accordion > .card:last-of-type { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.accordion > .card .card-header { + margin-bottom: 0; +} + +.breadcrumb { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1rem; + list-style: none; + background-color: #e9ecef; + border-radius: 0.3rem; +} + +.breadcrumb-item + .breadcrumb-item { + padding-left: 0.5rem; +} + +.breadcrumb-item + .breadcrumb-item::before { + display: inline-block; + padding-right: 0.5rem; + color: #6c757d; + content: "/"; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: underline; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: none; +} + +.breadcrumb-item.active { + color: #6c757d; +} + +.pagination { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + padding-left: 0; + list-style: none; + border-radius: 0.3rem; +} + +.page-link { + position: relative; + display: block; + padding: 0.5rem 0.75rem; + margin-left: -1px; + line-height: 1.25; + color: #afafaf; + background-color: transparent; + border: 1px solid #e4dcd3; +} + +.page-link:hover { + z-index: 2; + color: #000913; + text-decoration: none; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.page-link:focus { + z-index: 2; + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 0.2rem rgba(0, 44, 95, 0.25); +} + +.page-item:first-child .page-link { + margin-left: 0; + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.page-item.active .page-link { + z-index: 1; + color: #002c5f; + background-color: #e4dcd3; + border-color: #e4dcd3; +} + +.page-item.disabled .page-link { + color: #6c757d; + pointer-events: none; + cursor: auto; + background-color: #ffffff; + border-color: #dee2e6; +} + +.pagination-lg .page-link { + padding: 0.75rem 1.5rem; + font-size: 1.09375rem; + line-height: 1.5; +} + +.pagination-lg .page-item:first-child .page-link { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.pagination-lg .page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.pagination-sm .page-link { + padding: 0.25rem 0.5rem; + font-size: 0.76562rem; + line-height: 1.5; +} + +.pagination-sm .page-item:first-child .page-link { + border-top-left-radius: 0.2rem; + border-bottom-left-radius: 0.2rem; +} + +.pagination-sm .page-item:last-child .page-link { + border-top-right-radius: 0.2rem; + border-bottom-right-radius: 0.2rem; +} + +.badge { + display: inline-block; + padding: 0.25em 0.4em; + font-size: 75%; + font-weight: 700; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.3rem; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .badge { + -webkit-transition: none; + transition: none; + } +} + +a.badge:hover, a.badge:focus { + text-decoration: none; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +.badge-pill { + padding-right: 0.6em; + padding-left: 0.6em; + border-radius: 10rem; +} + +.badge-primary { + color: #ffffff; + background-color: #002c5f; +} + +a.badge-primary:hover, a.badge-primary:focus { + color: #ffffff; + background-color: #00142c; +} + +a.badge-primary:focus, a.badge-primary.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 44, 95, 0.5); + box-shadow: 0 0 0 0.2rem rgba(0, 44, 95, 0.5); +} + +.badge-secondary { + color: #ffffff; + background-color: #00aad2; +} + +a.badge-secondary:hover, a.badge-secondary:focus { + color: #ffffff; + background-color: #00819f; +} + +a.badge-secondary:focus, a.badge-secondary.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 170, 210, 0.5); + box-shadow: 0 0 0 0.2rem rgba(0, 170, 210, 0.5); +} + +.badge-success { + color: #ffffff; + background-color: #2a609e; +} + +a.badge-success:hover, a.badge-success:focus { + color: #ffffff; + background-color: #1f4876; +} + +a.badge-success:focus, a.badge-success.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(42, 96, 158, 0.5); + box-shadow: 0 0 0 0.2rem rgba(42, 96, 158, 0.5); +} + +.badge-info { + color: #ffffff; + background-color: #aacae6; +} + +a.badge-info:hover, a.badge-info:focus { + color: #ffffff; + background-color: #83b1da; +} + +a.badge-info:focus, a.badge-info.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(170, 202, 230, 0.5); + box-shadow: 0 0 0 0.2rem rgba(170, 202, 230, 0.5); +} + +.badge-warning { + color: #ffffff; + background-color: #ffc107; +} + +a.badge-warning:hover, a.badge-warning:focus { + color: #ffffff; + background-color: #d39e00; +} + +a.badge-warning:focus, a.badge-warning.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.badge-danger { + color: #ffffff; + background-color: #b74b37; +} + +a.badge-danger:hover, a.badge-danger:focus { + color: #ffffff; + background-color: #903b2b; +} + +a.badge-danger:focus, a.badge-danger.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(183, 75, 55, 0.5); + box-shadow: 0 0 0 0.2rem rgba(183, 75, 55, 0.5); +} + +.badge-light { + color: #1F2D3D; + background-color: #e4dcd3; +} + +a.badge-light:hover, a.badge-light:focus { + color: #1F2D3D; + background-color: #d1c3b3; +} + +a.badge-light:focus, a.badge-light.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(228, 220, 211, 0.5); + box-shadow: 0 0 0 0.2rem rgba(228, 220, 211, 0.5); +} + +.badge-dark { + color: #ffffff; + background-color: #343a40; +} + +a.badge-dark:hover, a.badge-dark:focus { + color: #ffffff; + background-color: #1d2124; +} + +a.badge-dark:focus, a.badge-dark.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +.progress { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + height: 1rem; + overflow: hidden; + font-size: 0.65625rem; + background-color: #e9ecef; + border-radius: 0.3rem; + -webkit-box-shadow: inset 0 0.1rem 0.1rem rgba(0, 0, 0, 0.1); + box-shadow: inset 0 0.1rem 0.1rem rgba(0, 0, 0, 0.1); +} + +.progress-bar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + color: #ffffff; + text-align: center; + white-space: nowrap; + background-color: #002c5f; + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +@media (prefers-reduced-motion: reduce) { + .progress-bar { + -webkit-transition: none; + transition: none; + } +} + +.progress-bar-striped { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 1rem 1rem; +} + +.progress-bar-animated { + -webkit-animation: progress-bar-stripes 1s linear infinite; + animation: progress-bar-stripes 1s linear infinite; +} + +@media (prefers-reduced-motion: reduce) { + .progress-bar-animated { + -webkit-animation: none; + animation: none; + } +} + +.list-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; +} + +.list-group-item-action { + width: 100%; + color: #495057; + text-align: inherit; +} + +.list-group-item-action:hover, .list-group-item-action:focus { + z-index: 1; + color: #495057; + text-decoration: none; + background-color: #f8f9fa; +} + +.list-group-item-action:active { + color: #000; + background-color: #e9ecef; +} + +.list-group-item { + position: relative; + display: block; + padding: 0.75rem 1.25rem; + margin-bottom: -1px; + background-color: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.125); +} + +.list-group-item:first-child { + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.list-group-item.disabled, .list-group-item:disabled { + color: #6c757d; + pointer-events: none; + background-color: #ffffff; +} + +.list-group-item.active { + z-index: 2; + color: #ffffff; + background-color: #002c5f; + border-color: #002c5f; +} + +.list-group-horizontal { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} + +.list-group-horizontal .list-group-item { + margin-right: -1px; + margin-bottom: 0; +} + +.list-group-horizontal .list-group-item:first-child { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; + border-top-right-radius: 0; +} + +.list-group-horizontal .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0; +} + +@media (min-width: 576px) { + .list-group-horizontal-sm { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-sm .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-sm .list-group-item:first-child { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; + border-top-right-radius: 0; + } + .list-group-horizontal-sm .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0; + } +} + +@media (min-width: 768px) { + .list-group-horizontal-md { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-md .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-md .list-group-item:first-child { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; + border-top-right-radius: 0; + } + .list-group-horizontal-md .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0; + } +} + +@media (min-width: 992px) { + .list-group-horizontal-lg { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-lg .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-lg .list-group-item:first-child { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; + border-top-right-radius: 0; + } + .list-group-horizontal-lg .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0; + } +} + +@media (min-width: 1200px) { + .list-group-horizontal-xl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-xl .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-xl .list-group-item:first-child { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; + border-top-right-radius: 0; + } + .list-group-horizontal-xl .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0; + } +} + +.list-group-flush .list-group-item { + border-right: 0; + border-left: 0; + border-radius: 0; +} + +.list-group-flush .list-group-item:last-child { + margin-bottom: -1px; +} + +.list-group-flush:first-child .list-group-item:first-child { + border-top: 0; +} + +.list-group-flush:last-child .list-group-item:last-child { + margin-bottom: 0; + border-bottom: 0; +} + +.list-group-item-primary { + color: #001731; + background-color: #b8c4d2; +} + +.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { + color: #001731; + background-color: #a8b7c8; +} + +.list-group-item-primary.list-group-item-action.active { + color: #ffffff; + background-color: #001731; + border-color: #001731; +} + +.list-group-item-secondary { + color: #00586d; + background-color: #b8e7f2; +} + +.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus { + color: #00586d; + background-color: #a2e0ee; +} + +.list-group-item-secondary.list-group-item-action.active { + color: #ffffff; + background-color: #00586d; + border-color: #00586d; +} + +.list-group-item-success { + color: #163252; + background-color: #c3d2e4; +} + +.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus { + color: #163252; + background-color: #b1c5dc; +} + +.list-group-item-success.list-group-item-action.active { + color: #ffffff; + background-color: #163252; + border-color: #163252; +} + +.list-group-item-info { + color: #586978; + background-color: #e7f0f8; +} + +.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus { + color: #586978; + background-color: #d3e4f2; +} + +.list-group-item-info.list-group-item-action.active { + color: #ffffff; + background-color: #586978; + border-color: #586978; +} + +.list-group-item-warning { + color: #856404; + background-color: #ffeeba; +} + +.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus { + color: #856404; + background-color: #ffe8a1; +} + +.list-group-item-warning.list-group-item-action.active { + color: #ffffff; + background-color: #856404; + border-color: #856404; +} + +.list-group-item-danger { + color: #5f271d; + background-color: #ebcdc7; +} + +.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus { + color: #5f271d; + background-color: #e4bcb4; +} + +.list-group-item-danger.list-group-item-action.active { + color: #ffffff; + background-color: #5f271d; + border-color: #5f271d; +} + +.list-group-item-light { + color: #77726e; + background-color: #f7f5f3; +} + +.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus { + color: #77726e; + background-color: #ede8e4; +} + +.list-group-item-light.list-group-item-action.active { + color: #ffffff; + background-color: #77726e; + border-color: #77726e; +} + +.list-group-item-dark { + color: #1b1e21; + background-color: #c6c8ca; +} + +.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus { + color: #1b1e21; + background-color: #b9bbbe; +} + +.list-group-item-dark.list-group-item-action.active { + color: #ffffff; + background-color: #1b1e21; + border-color: #1b1e21; +} + +.close { + float: right; + font-size: 1.3125rem; + font-weight: 700; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #ffffff; + opacity: .5; +} + +.close:hover { + color: #000; + text-decoration: none; +} + +.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus { + opacity: .75; +} + +button.close { + padding: 0; + background-color: transparent; + border: 0; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +a.close.disabled { + pointer-events: none; +} + +.modal-open { + overflow: hidden; +} + +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} + +.modal { + position: fixed; + top: 0; + left: 0; + z-index: 1050; + display: none; + width: 100%; + height: 100%; + overflow: hidden; + outline: 0; +} + +.modal-dialog { + position: relative; + width: auto; + margin: 0.5rem; + pointer-events: none; +} + +.modal.fade .modal-dialog { + -webkit-transition: -webkit-transform 0.3s ease-out; + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; + -webkit-transform: translate(0, -50px); + transform: translate(0, -50px); +} + +@media (prefers-reduced-motion: reduce) { + .modal.fade .modal-dialog { + -webkit-transition: none; + transition: none; + } +} + +.modal.show .modal-dialog { + -webkit-transform: none; + transform: none; +} + +.modal-dialog-scrollable { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + max-height: calc(100% - 1rem); +} + +.modal-dialog-scrollable .modal-content { + max-height: calc(100vh - 1rem); + overflow: hidden; +} + +.modal-dialog-scrollable .modal-header, +.modal-dialog-scrollable .modal-footer { + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.modal-dialog-scrollable .modal-body { + overflow-y: auto; +} + +.modal-dialog-centered { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: calc(100% - 1rem); +} + +.modal-dialog-centered::before { + display: block; + height: calc(100vh - 1rem); + content: ""; +} + +.modal-dialog-centered.modal-dialog-scrollable { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + height: 100%; +} + +.modal-dialog-centered.modal-dialog-scrollable .modal-content { + max-height: none; +} + +.modal-dialog-centered.modal-dialog-scrollable::before { + content: none; +} + +.modal-content { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + pointer-events: auto; + background-color: #ffffff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; + -webkit-box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5); + box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5); + outline: 0; +} + +.modal-backdrop { + position: fixed; + top: 0; + left: 0; + z-index: 1040; + width: 100vw; + height: 100vh; + background-color: #000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop.show { + opacity: 0.5; +} + +.modal-header { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 1rem; + border-bottom: 1px solid #e9ecef; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.modal-header .close { + padding: 1rem; + margin: -1rem -1rem -1rem auto; +} + +.modal-title { + margin-bottom: 0; + line-height: 1.5; +} + +.modal-body { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1rem; +} + +.modal-footer { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 1rem; + border-top: 1px solid #e9ecef; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.modal-footer > :not(:first-child) { + margin-left: .25rem; +} + +.modal-footer > :not(:last-child) { + margin-right: .25rem; +} + +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} + +@media (min-width: 576px) { + .modal-dialog { + max-width: 500px; + margin: 1.75rem auto; + } + .modal-dialog-scrollable { + max-height: calc(100% - 3.5rem); + } + .modal-dialog-scrollable .modal-content { + max-height: calc(100vh - 3.5rem); + } + .modal-dialog-centered { + min-height: calc(100% - 3.5rem); + } + .modal-dialog-centered::before { + height: calc(100vh - 3.5rem); + } + .modal-content { + -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5); + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5); + } + .modal-sm { + max-width: 300px; + } +} + +@media (min-width: 992px) { + .modal-lg, + .modal-xl { + max-width: 800px; + } +} + +@media (min-width: 1200px) { + .modal-xl { + max-width: 1140px; + } +} + +.tooltip { + position: absolute; + z-index: 1070; + display: block; + margin: 0; + font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.76562rem; + word-wrap: break-word; + opacity: 0; +} + +.tooltip.show { + opacity: 0.9; +} + +.tooltip .arrow { + position: absolute; + display: block; + width: 0.8rem; + height: 0.4rem; +} + +.tooltip .arrow::before { + position: absolute; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] { + padding: 0.4rem 0; +} + +.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow { + bottom: 0; +} + +.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { + top: 0; + border-width: 0.4rem 0.4rem 0; + border-top-color: #000; +} + +.bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] { + padding: 0 0.4rem; +} + +.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow { + left: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { + right: 0; + border-width: 0.4rem 0.4rem 0.4rem 0; + border-right-color: #000; +} + +.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] { + padding: 0.4rem 0; +} + +.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow { + top: 0; +} + +.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { + bottom: 0; + border-width: 0 0.4rem 0.4rem; + border-bottom-color: #000; +} + +.bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] { + padding: 0 0.4rem; +} + +.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow { + right: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { + left: 0; + border-width: 0.4rem 0 0.4rem 0.4rem; + border-left-color: #000; +} + +.tooltip-inner { + max-width: 200px; + padding: 0.25rem 0.5rem; + color: #ffffff; + text-align: center; + background-color: #000; + border-radius: 0.3rem; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: block; + max-width: 276px; + font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.76562rem; + word-wrap: break-word; + background-color: #ffffff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; + -webkit-box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2); + box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2); +} + +.popover .arrow { + position: absolute; + display: block; + width: 1rem; + height: 0.5rem; + margin: 0 0.3rem; +} + +.popover .arrow::before, .popover .arrow::after { + position: absolute; + display: block; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-popover-top, .bs-popover-auto[x-placement^="top"] { + margin-bottom: 0.5rem; +} + +.bs-popover-top > .arrow, .bs-popover-auto[x-placement^="top"] > .arrow { + bottom: calc((0.5rem + 1px) * -1); +} + +.bs-popover-top > .arrow::before, .bs-popover-auto[x-placement^="top"] > .arrow::before { + bottom: 0; + border-width: 0.5rem 0.5rem 0; + border-top-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-top > .arrow::after, .bs-popover-auto[x-placement^="top"] > .arrow::after { + bottom: 1px; + border-width: 0.5rem 0.5rem 0; + border-top-color: #ffffff; +} + +.bs-popover-right, .bs-popover-auto[x-placement^="right"] { + margin-left: 0.5rem; +} + +.bs-popover-right > .arrow, .bs-popover-auto[x-placement^="right"] > .arrow { + left: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-right > .arrow::before, .bs-popover-auto[x-placement^="right"] > .arrow::before { + left: 0; + border-width: 0.5rem 0.5rem 0.5rem 0; + border-right-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^="right"] > .arrow::after { + left: 1px; + border-width: 0.5rem 0.5rem 0.5rem 0; + border-right-color: #ffffff; +} + +.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"] { + margin-top: 0.5rem; +} + +.bs-popover-bottom > .arrow, .bs-popover-auto[x-placement^="bottom"] > .arrow { + top: calc((0.5rem + 1px) * -1); +} + +.bs-popover-bottom > .arrow::before, .bs-popover-auto[x-placement^="bottom"] > .arrow::before { + top: 0; + border-width: 0 0.5rem 0.5rem 0.5rem; + border-bottom-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-bottom > .arrow::after, .bs-popover-auto[x-placement^="bottom"] > .arrow::after { + top: 1px; + border-width: 0 0.5rem 0.5rem 0.5rem; + border-bottom-color: #ffffff; +} + +.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { + position: absolute; + top: 0; + left: 50%; + display: block; + width: 1rem; + margin-left: -0.5rem; + content: ""; + border-bottom: 1px solid #f7f7f7; +} + +.bs-popover-left, .bs-popover-auto[x-placement^="left"] { + margin-right: 0.5rem; +} + +.bs-popover-left > .arrow, .bs-popover-auto[x-placement^="left"] > .arrow { + right: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-left > .arrow::before, .bs-popover-auto[x-placement^="left"] > .arrow::before { + right: 0; + border-width: 0.5rem 0 0.5rem 0.5rem; + border-left-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-left > .arrow::after, .bs-popover-auto[x-placement^="left"] > .arrow::after { + right: 1px; + border-width: 0.5rem 0 0.5rem 0.5rem; + border-left-color: #ffffff; +} + +.popover-header { + padding: 0.5rem 0.75rem; + margin-bottom: 0; + font-size: 0.875rem; + color: inherit; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-top-left-radius: calc(0.3rem - 1px); + border-top-right-radius: calc(0.3rem - 1px); +} + +.popover-header:empty { + display: none; +} + +.popover-body { + padding: 0.5rem 0.75rem; + color: #000; +} + +.align-baseline { + vertical-align: baseline !important; +} + +.align-top { + vertical-align: top !important; +} + +.align-middle { + vertical-align: middle !important; +} + +.align-bottom { + vertical-align: bottom !important; +} + +.align-text-bottom { + vertical-align: text-bottom !important; +} + +.align-text-top { + vertical-align: text-top !important; +} + +.bg-primary { + background-color: #002c5f !important; +} + +a.bg-primary:hover, a.bg-primary:focus, +button.bg-primary:hover, +button.bg-primary:focus { + background-color: #00142c !important; +} + +.bg-secondary { + background-color: #00aad2 !important; +} + +a.bg-secondary:hover, a.bg-secondary:focus, +button.bg-secondary:hover, +button.bg-secondary:focus { + background-color: #00819f !important; +} + +.bg-success { + background-color: #2a609e !important; +} + +a.bg-success:hover, a.bg-success:focus, +button.bg-success:hover, +button.bg-success:focus { + background-color: #1f4876 !important; +} + +.bg-info { + background-color: #aacae6 !important; +} + +a.bg-info:hover, a.bg-info:focus, +button.bg-info:hover, +button.bg-info:focus { + background-color: #83b1da !important; +} + +.bg-warning { + background-color: #ffc107 !important; +} + +a.bg-warning:hover, a.bg-warning:focus, +button.bg-warning:hover, +button.bg-warning:focus { + background-color: #d39e00 !important; +} + +.bg-danger { + background-color: #b74b37 !important; +} + +a.bg-danger:hover, a.bg-danger:focus, +button.bg-danger:hover, +button.bg-danger:focus { + background-color: #903b2b !important; +} + +.bg-light { + background-color: #e4dcd3 !important; +} + +a.bg-light:hover, a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus { + background-color: #d1c3b3 !important; +} + +.bg-dark { + background-color: #343a40 !important; +} + +a.bg-dark:hover, a.bg-dark:focus, +button.bg-dark:hover, +button.bg-dark:focus { + background-color: #1d2124 !important; +} + +.bg-white { + background-color: #ffffff !important; +} + +.bg-transparent { + background-color: transparent !important; +} + +.border { + border: 1px solid #e4dcd3 !important; +} + +.border-top { + border-top: 1px solid #e4dcd3 !important; +} + +.border-right { + border-right: 1px solid #e4dcd3 !important; +} + +.border-bottom { + border-bottom: 1px solid #e4dcd3 !important; +} + +.border-left { + border-left: 1px solid #e4dcd3 !important; +} + +.border-0 { + border: 0 !important; +} + +.border-top-0 { + border-top: 0 !important; +} + +.border-right-0 { + border-right: 0 !important; +} + +.border-bottom-0 { + border-bottom: 0 !important; +} + +.border-left-0 { + border-left: 0 !important; +} + +.border-primary { + border-color: #002c5f !important; +} + +.border-secondary { + border-color: #00aad2 !important; +} + +.border-success { + border-color: #2a609e !important; +} + +.border-info { + border-color: #aacae6 !important; +} + +.border-warning { + border-color: #ffc107 !important; +} + +.border-danger { + border-color: #b74b37 !important; +} + +.border-light { + border-color: #e4dcd3 !important; +} + +.border-dark { + border-color: #343a40 !important; +} + +.border-white { + border-color: #ffffff !important; +} + +.rounded-sm { + border-radius: 0.2rem !important; +} + +.rounded { + border-radius: 0.3rem !important; +} + +.rounded-top { + border-top-left-radius: 0.3rem !important; + border-top-right-radius: 0.3rem !important; +} + +.rounded-right { + border-top-right-radius: 0.3rem !important; + border-bottom-right-radius: 0.3rem !important; +} + +.rounded-bottom { + border-bottom-right-radius: 0.3rem !important; + border-bottom-left-radius: 0.3rem !important; +} + +.rounded-left { + border-top-left-radius: 0.3rem !important; + border-bottom-left-radius: 0.3rem !important; +} + +.rounded-lg { + border-radius: 0.3rem !important; +} + +.rounded-circle { + border-radius: 50% !important; +} + +.rounded-pill { + border-radius: 50rem !important; +} + +.rounded-0 { + border-radius: 0 !important; +} + +.clearfix::after { + display: block; + clear: both; + content: ""; +} + +.d-none { + display: none !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; +} + +.d-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} + +@media (min-width: 576px) { + .d-sm-none { + display: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 768px) { + .d-md-none { + display: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 992px) { + .d-lg-none { + display: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 1200px) { + .d-xl-none { + display: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media print { + .d-print-none { + display: none !important; + } + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +.flex-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; +} + +.flex-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; +} + +.flex-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} + +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} + +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} + +.flex-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; +} + +.flex-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; +} + +.flex-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; +} + +.flex-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; +} + +.flex-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; +} + +.justify-content-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} + +.justify-content-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} + +.justify-content-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; +} + +.justify-content-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} + +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} + +.align-items-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; +} + +.align-items-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; +} + +.align-items-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; +} + +.align-items-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; +} + +.align-items-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; +} + +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} + +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} + +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} + +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} + +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} + +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} + +.align-self-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; +} + +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} + +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} + +.align-self-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; +} + +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} + +.align-self-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; +} + +@media (min-width: 576px) { + .flex-sm-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-sm-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-sm-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-sm-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-sm-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-sm-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-sm-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 768px) { + .flex-md-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-md-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-md-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-md-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-md-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-md-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-md-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-md-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 992px) { + .flex-lg-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-lg-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-lg-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-lg-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-lg-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-lg-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-lg-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 1200px) { + .flex-xl-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-xl-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xl-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xl-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-xl-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-xl-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +.float-left { + float: left !important; +} + +.float-right { + float: right !important; +} + +.float-none { + float: none !important; +} + +@media (min-width: 576px) { + .float-sm-left { + float: left !important; + } + .float-sm-right { + float: right !important; + } + .float-sm-none { + float: none !important; + } +} + +@media (min-width: 768px) { + .float-md-left { + float: left !important; + } + .float-md-right { + float: right !important; + } + .float-md-none { + float: none !important; + } +} + +@media (min-width: 992px) { + .float-lg-left { + float: left !important; + } + .float-lg-right { + float: right !important; + } + .float-lg-none { + float: none !important; + } +} + +@media (min-width: 1200px) { + .float-xl-left { + float: left !important; + } + .float-xl-right { + float: right !important; + } + .float-xl-none { + float: none !important; + } +} + +.overflow-auto { + overflow: auto !important; +} + +.overflow-hidden { + overflow: hidden !important; +} + +.position-static { + position: static !important; +} + +.position-relative { + position: relative !important; +} + +.position-absolute { + position: absolute !important; +} + +.position-fixed { + position: fixed !important; +} + +.position-sticky { + position: -webkit-sticky !important; + position: sticky !important; +} + +.fixed-top { + position: fixed; + top: 0; + right: 0; + left: 0; + z-index: 1030; +} + +.fixed-bottom { + position: fixed; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; +} + +@supports ((position: -webkit-sticky) or (position: sticky)) { + .sticky-top { + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1020; + } +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +.sr-only-focusable:active, .sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + overflow: visible; + clip: auto; + white-space: normal; +} + +.w-25 { + width: 25% !important; +} + +.w-50 { + width: 50% !important; +} + +.w-75 { + width: 75% !important; +} + +.w-100 { + width: 100% !important; +} + +.w-auto { + width: auto !important; +} + +.h-25 { + height: 25% !important; +} + +.h-50 { + height: 50% !important; +} + +.h-75 { + height: 75% !important; +} + +.h-100 { + height: 100% !important; +} + +.h-auto { + height: auto !important; +} + +.mw-100 { + max-width: 100% !important; +} + +.mh-100 { + max-height: 100% !important; +} + +.min-vw-100 { + min-width: 100vw !important; +} + +.min-vh-100 { + min-height: 100vh !important; +} + +.vw-100 { + width: 100vw !important; +} + +.vh-100 { + height: 100vh !important; +} + +.stretched-link::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + pointer-events: auto; + content: ""; + background-color: rgba(0, 0, 0, 0); +} + +.m-0 { + margin: 0 !important; +} + +.mt-0, +.my-0 { + margin-top: 0 !important; +} + +.mr-0, +.mx-0 { + margin-right: 0 !important; +} + +.mb-0, +.my-0 { + margin-bottom: 0 !important; +} + +.ml-0, +.mx-0 { + margin-left: 0 !important; +} + +.m-1 { + margin: 0.25rem !important; +} + +.mt-1, +.my-1 { + margin-top: 0.25rem !important; +} + +.mr-1, +.mx-1 { + margin-right: 0.25rem !important; +} + +.mb-1, +.my-1 { + margin-bottom: 0.25rem !important; +} + +.ml-1, +.mx-1 { + margin-left: 0.25rem !important; +} + +.m-2 { + margin: 0.5rem !important; +} + +.mt-2, +.my-2 { + margin-top: 0.5rem !important; +} + +.mr-2, +.mx-2 { + margin-right: 0.5rem !important; +} + +.mb-2, +.my-2 { + margin-bottom: 0.5rem !important; +} + +.ml-2, +.mx-2 { + margin-left: 0.5rem !important; +} + +.m-3 { + margin: 1rem !important; +} + +.mt-3, +.my-3 { + margin-top: 1rem !important; +} + +.mr-3, +.mx-3 { + margin-right: 1rem !important; +} + +.mb-3, +.my-3 { + margin-bottom: 1rem !important; +} + +.ml-3, +.mx-3 { + margin-left: 1rem !important; +} + +.m-4 { + margin: 1.5rem !important; +} + +.mt-4, +.my-4 { + margin-top: 1.5rem !important; +} + +.mr-4, +.mx-4 { + margin-right: 1.5rem !important; +} + +.mb-4, +.my-4 { + margin-bottom: 1.5rem !important; +} + +.ml-4, +.mx-4 { + margin-left: 1.5rem !important; +} + +.m-5 { + margin: 3rem !important; +} + +.mt-5, +.my-5 { + margin-top: 3rem !important; +} + +.mr-5, +.mx-5 { + margin-right: 3rem !important; +} + +.mb-5, +.my-5 { + margin-bottom: 3rem !important; +} + +.ml-5, +.mx-5 { + margin-left: 3rem !important; +} + +.p-0 { + padding: 0 !important; +} + +.pt-0, +.py-0 { + padding-top: 0 !important; +} + +.pr-0, +.px-0 { + padding-right: 0 !important; +} + +.pb-0, +.py-0 { + padding-bottom: 0 !important; +} + +.pl-0, +.px-0 { + padding-left: 0 !important; +} + +.p-1 { + padding: 0.25rem !important; +} + +.pt-1, +.py-1 { + padding-top: 0.25rem !important; +} + +.pr-1, +.px-1 { + padding-right: 0.25rem !important; +} + +.pb-1, +.py-1 { + padding-bottom: 0.25rem !important; +} + +.pl-1, +.px-1 { + padding-left: 0.25rem !important; +} + +.p-2 { + padding: 0.5rem !important; +} + +.pt-2, +.py-2 { + padding-top: 0.5rem !important; +} + +.pr-2, +.px-2 { + padding-right: 0.5rem !important; +} + +.pb-2, +.py-2 { + padding-bottom: 0.5rem !important; +} + +.pl-2, +.px-2 { + padding-left: 0.5rem !important; +} + +.p-3 { + padding: 1rem !important; +} + +.pt-3, +.py-3 { + padding-top: 1rem !important; +} + +.pr-3, +.px-3 { + padding-right: 1rem !important; +} + +.pb-3, +.py-3 { + padding-bottom: 1rem !important; +} + +.pl-3, +.px-3 { + padding-left: 1rem !important; +} + +.p-4 { + padding: 1.5rem !important; +} + +.pt-4, +.py-4 { + padding-top: 1.5rem !important; +} + +.pr-4, +.px-4 { + padding-right: 1.5rem !important; +} + +.pb-4, +.py-4 { + padding-bottom: 1.5rem !important; +} + +.pl-4, +.px-4 { + padding-left: 1.5rem !important; +} + +.p-5 { + padding: 3rem !important; +} + +.pt-5, +.py-5 { + padding-top: 3rem !important; +} + +.pr-5, +.px-5 { + padding-right: 3rem !important; +} + +.pb-5, +.py-5 { + padding-bottom: 3rem !important; +} + +.pl-5, +.px-5 { + padding-left: 3rem !important; +} + +.m-n1 { + margin: -0.25rem !important; +} + +.mt-n1, +.my-n1 { + margin-top: -0.25rem !important; +} + +.mr-n1, +.mx-n1 { + margin-right: -0.25rem !important; +} + +.mb-n1, +.my-n1 { + margin-bottom: -0.25rem !important; +} + +.ml-n1, +.mx-n1 { + margin-left: -0.25rem !important; +} + +.m-n2 { + margin: -0.5rem !important; +} + +.mt-n2, +.my-n2 { + margin-top: -0.5rem !important; +} + +.mr-n2, +.mx-n2 { + margin-right: -0.5rem !important; +} + +.mb-n2, +.my-n2 { + margin-bottom: -0.5rem !important; +} + +.ml-n2, +.mx-n2 { + margin-left: -0.5rem !important; +} + +.m-n3 { + margin: -1rem !important; +} + +.mt-n3, +.my-n3 { + margin-top: -1rem !important; +} + +.mr-n3, +.mx-n3 { + margin-right: -1rem !important; +} + +.mb-n3, +.my-n3 { + margin-bottom: -1rem !important; +} + +.ml-n3, +.mx-n3 { + margin-left: -1rem !important; +} + +.m-n4 { + margin: -1.5rem !important; +} + +.mt-n4, +.my-n4 { + margin-top: -1.5rem !important; +} + +.mr-n4, +.mx-n4 { + margin-right: -1.5rem !important; +} + +.mb-n4, +.my-n4 { + margin-bottom: -1.5rem !important; +} + +.ml-n4, +.mx-n4 { + margin-left: -1.5rem !important; +} + +.m-n5 { + margin: -3rem !important; +} + +.mt-n5, +.my-n5 { + margin-top: -3rem !important; +} + +.mr-n5, +.mx-n5 { + margin-right: -3rem !important; +} + +.mb-n5, +.my-n5 { + margin-bottom: -3rem !important; +} + +.ml-n5, +.mx-n5 { + margin-left: -3rem !important; +} + +.m-auto { + margin: auto !important; +} + +.mt-auto, +.my-auto { + margin-top: auto !important; +} + +.mr-auto, +.mx-auto { + margin-right: auto !important; +} + +.mb-auto, +.my-auto { + margin-bottom: auto !important; +} + +.ml-auto, +.mx-auto { + margin-left: auto !important; +} + +@media (min-width: 576px) { + .m-sm-0 { + margin: 0 !important; + } + .mt-sm-0, + .my-sm-0 { + margin-top: 0 !important; + } + .mr-sm-0, + .mx-sm-0 { + margin-right: 0 !important; + } + .mb-sm-0, + .my-sm-0 { + margin-bottom: 0 !important; + } + .ml-sm-0, + .mx-sm-0 { + margin-left: 0 !important; + } + .m-sm-1 { + margin: 0.25rem !important; + } + .mt-sm-1, + .my-sm-1 { + margin-top: 0.25rem !important; + } + .mr-sm-1, + .mx-sm-1 { + margin-right: 0.25rem !important; + } + .mb-sm-1, + .my-sm-1 { + margin-bottom: 0.25rem !important; + } + .ml-sm-1, + .mx-sm-1 { + margin-left: 0.25rem !important; + } + .m-sm-2 { + margin: 0.5rem !important; + } + .mt-sm-2, + .my-sm-2 { + margin-top: 0.5rem !important; + } + .mr-sm-2, + .mx-sm-2 { + margin-right: 0.5rem !important; + } + .mb-sm-2, + .my-sm-2 { + margin-bottom: 0.5rem !important; + } + .ml-sm-2, + .mx-sm-2 { + margin-left: 0.5rem !important; + } + .m-sm-3 { + margin: 1rem !important; + } + .mt-sm-3, + .my-sm-3 { + margin-top: 1rem !important; + } + .mr-sm-3, + .mx-sm-3 { + margin-right: 1rem !important; + } + .mb-sm-3, + .my-sm-3 { + margin-bottom: 1rem !important; + } + .ml-sm-3, + .mx-sm-3 { + margin-left: 1rem !important; + } + .m-sm-4 { + margin: 1.5rem !important; + } + .mt-sm-4, + .my-sm-4 { + margin-top: 1.5rem !important; + } + .mr-sm-4, + .mx-sm-4 { + margin-right: 1.5rem !important; + } + .mb-sm-4, + .my-sm-4 { + margin-bottom: 1.5rem !important; + } + .ml-sm-4, + .mx-sm-4 { + margin-left: 1.5rem !important; + } + .m-sm-5 { + margin: 3rem !important; + } + .mt-sm-5, + .my-sm-5 { + margin-top: 3rem !important; + } + .mr-sm-5, + .mx-sm-5 { + margin-right: 3rem !important; + } + .mb-sm-5, + .my-sm-5 { + margin-bottom: 3rem !important; + } + .ml-sm-5, + .mx-sm-5 { + margin-left: 3rem !important; + } + .p-sm-0 { + padding: 0 !important; + } + .pt-sm-0, + .py-sm-0 { + padding-top: 0 !important; + } + .pr-sm-0, + .px-sm-0 { + padding-right: 0 !important; + } + .pb-sm-0, + .py-sm-0 { + padding-bottom: 0 !important; + } + .pl-sm-0, + .px-sm-0 { + padding-left: 0 !important; + } + .p-sm-1 { + padding: 0.25rem !important; + } + .pt-sm-1, + .py-sm-1 { + padding-top: 0.25rem !important; + } + .pr-sm-1, + .px-sm-1 { + padding-right: 0.25rem !important; + } + .pb-sm-1, + .py-sm-1 { + padding-bottom: 0.25rem !important; + } + .pl-sm-1, + .px-sm-1 { + padding-left: 0.25rem !important; + } + .p-sm-2 { + padding: 0.5rem !important; + } + .pt-sm-2, + .py-sm-2 { + padding-top: 0.5rem !important; + } + .pr-sm-2, + .px-sm-2 { + padding-right: 0.5rem !important; + } + .pb-sm-2, + .py-sm-2 { + padding-bottom: 0.5rem !important; + } + .pl-sm-2, + .px-sm-2 { + padding-left: 0.5rem !important; + } + .p-sm-3 { + padding: 1rem !important; + } + .pt-sm-3, + .py-sm-3 { + padding-top: 1rem !important; + } + .pr-sm-3, + .px-sm-3 { + padding-right: 1rem !important; + } + .pb-sm-3, + .py-sm-3 { + padding-bottom: 1rem !important; + } + .pl-sm-3, + .px-sm-3 { + padding-left: 1rem !important; + } + .p-sm-4 { + padding: 1.5rem !important; + } + .pt-sm-4, + .py-sm-4 { + padding-top: 1.5rem !important; + } + .pr-sm-4, + .px-sm-4 { + padding-right: 1.5rem !important; + } + .pb-sm-4, + .py-sm-4 { + padding-bottom: 1.5rem !important; + } + .pl-sm-4, + .px-sm-4 { + padding-left: 1.5rem !important; + } + .p-sm-5 { + padding: 3rem !important; + } + .pt-sm-5, + .py-sm-5 { + padding-top: 3rem !important; + } + .pr-sm-5, + .px-sm-5 { + padding-right: 3rem !important; + } + .pb-sm-5, + .py-sm-5 { + padding-bottom: 3rem !important; + } + .pl-sm-5, + .px-sm-5 { + padding-left: 3rem !important; + } + .m-sm-n1 { + margin: -0.25rem !important; + } + .mt-sm-n1, + .my-sm-n1 { + margin-top: -0.25rem !important; + } + .mr-sm-n1, + .mx-sm-n1 { + margin-right: -0.25rem !important; + } + .mb-sm-n1, + .my-sm-n1 { + margin-bottom: -0.25rem !important; + } + .ml-sm-n1, + .mx-sm-n1 { + margin-left: -0.25rem !important; + } + .m-sm-n2 { + margin: -0.5rem !important; + } + .mt-sm-n2, + .my-sm-n2 { + margin-top: -0.5rem !important; + } + .mr-sm-n2, + .mx-sm-n2 { + margin-right: -0.5rem !important; + } + .mb-sm-n2, + .my-sm-n2 { + margin-bottom: -0.5rem !important; + } + .ml-sm-n2, + .mx-sm-n2 { + margin-left: -0.5rem !important; + } + .m-sm-n3 { + margin: -1rem !important; + } + .mt-sm-n3, + .my-sm-n3 { + margin-top: -1rem !important; + } + .mr-sm-n3, + .mx-sm-n3 { + margin-right: -1rem !important; + } + .mb-sm-n3, + .my-sm-n3 { + margin-bottom: -1rem !important; + } + .ml-sm-n3, + .mx-sm-n3 { + margin-left: -1rem !important; + } + .m-sm-n4 { + margin: -1.5rem !important; + } + .mt-sm-n4, + .my-sm-n4 { + margin-top: -1.5rem !important; + } + .mr-sm-n4, + .mx-sm-n4 { + margin-right: -1.5rem !important; + } + .mb-sm-n4, + .my-sm-n4 { + margin-bottom: -1.5rem !important; + } + .ml-sm-n4, + .mx-sm-n4 { + margin-left: -1.5rem !important; + } + .m-sm-n5 { + margin: -3rem !important; + } + .mt-sm-n5, + .my-sm-n5 { + margin-top: -3rem !important; + } + .mr-sm-n5, + .mx-sm-n5 { + margin-right: -3rem !important; + } + .mb-sm-n5, + .my-sm-n5 { + margin-bottom: -3rem !important; + } + .ml-sm-n5, + .mx-sm-n5 { + margin-left: -3rem !important; + } + .m-sm-auto { + margin: auto !important; + } + .mt-sm-auto, + .my-sm-auto { + margin-top: auto !important; + } + .mr-sm-auto, + .mx-sm-auto { + margin-right: auto !important; + } + .mb-sm-auto, + .my-sm-auto { + margin-bottom: auto !important; + } + .ml-sm-auto, + .mx-sm-auto { + margin-left: auto !important; + } +} + +@media (min-width: 768px) { + .m-md-0 { + margin: 0 !important; + } + .mt-md-0, + .my-md-0 { + margin-top: 0 !important; + } + .mr-md-0, + .mx-md-0 { + margin-right: 0 !important; + } + .mb-md-0, + .my-md-0 { + margin-bottom: 0 !important; + } + .ml-md-0, + .mx-md-0 { + margin-left: 0 !important; + } + .m-md-1 { + margin: 0.25rem !important; + } + .mt-md-1, + .my-md-1 { + margin-top: 0.25rem !important; + } + .mr-md-1, + .mx-md-1 { + margin-right: 0.25rem !important; + } + .mb-md-1, + .my-md-1 { + margin-bottom: 0.25rem !important; + } + .ml-md-1, + .mx-md-1 { + margin-left: 0.25rem !important; + } + .m-md-2 { + margin: 0.5rem !important; + } + .mt-md-2, + .my-md-2 { + margin-top: 0.5rem !important; + } + .mr-md-2, + .mx-md-2 { + margin-right: 0.5rem !important; + } + .mb-md-2, + .my-md-2 { + margin-bottom: 0.5rem !important; + } + .ml-md-2, + .mx-md-2 { + margin-left: 0.5rem !important; + } + .m-md-3 { + margin: 1rem !important; + } + .mt-md-3, + .my-md-3 { + margin-top: 1rem !important; + } + .mr-md-3, + .mx-md-3 { + margin-right: 1rem !important; + } + .mb-md-3, + .my-md-3 { + margin-bottom: 1rem !important; + } + .ml-md-3, + .mx-md-3 { + margin-left: 1rem !important; + } + .m-md-4 { + margin: 1.5rem !important; + } + .mt-md-4, + .my-md-4 { + margin-top: 1.5rem !important; + } + .mr-md-4, + .mx-md-4 { + margin-right: 1.5rem !important; + } + .mb-md-4, + .my-md-4 { + margin-bottom: 1.5rem !important; + } + .ml-md-4, + .mx-md-4 { + margin-left: 1.5rem !important; + } + .m-md-5 { + margin: 3rem !important; + } + .mt-md-5, + .my-md-5 { + margin-top: 3rem !important; + } + .mr-md-5, + .mx-md-5 { + margin-right: 3rem !important; + } + .mb-md-5, + .my-md-5 { + margin-bottom: 3rem !important; + } + .ml-md-5, + .mx-md-5 { + margin-left: 3rem !important; + } + .p-md-0 { + padding: 0 !important; + } + .pt-md-0, + .py-md-0 { + padding-top: 0 !important; + } + .pr-md-0, + .px-md-0 { + padding-right: 0 !important; + } + .pb-md-0, + .py-md-0 { + padding-bottom: 0 !important; + } + .pl-md-0, + .px-md-0 { + padding-left: 0 !important; + } + .p-md-1 { + padding: 0.25rem !important; + } + .pt-md-1, + .py-md-1 { + padding-top: 0.25rem !important; + } + .pr-md-1, + .px-md-1 { + padding-right: 0.25rem !important; + } + .pb-md-1, + .py-md-1 { + padding-bottom: 0.25rem !important; + } + .pl-md-1, + .px-md-1 { + padding-left: 0.25rem !important; + } + .p-md-2 { + padding: 0.5rem !important; + } + .pt-md-2, + .py-md-2 { + padding-top: 0.5rem !important; + } + .pr-md-2, + .px-md-2 { + padding-right: 0.5rem !important; + } + .pb-md-2, + .py-md-2 { + padding-bottom: 0.5rem !important; + } + .pl-md-2, + .px-md-2 { + padding-left: 0.5rem !important; + } + .p-md-3 { + padding: 1rem !important; + } + .pt-md-3, + .py-md-3 { + padding-top: 1rem !important; + } + .pr-md-3, + .px-md-3 { + padding-right: 1rem !important; + } + .pb-md-3, + .py-md-3 { + padding-bottom: 1rem !important; + } + .pl-md-3, + .px-md-3 { + padding-left: 1rem !important; + } + .p-md-4 { + padding: 1.5rem !important; + } + .pt-md-4, + .py-md-4 { + padding-top: 1.5rem !important; + } + .pr-md-4, + .px-md-4 { + padding-right: 1.5rem !important; + } + .pb-md-4, + .py-md-4 { + padding-bottom: 1.5rem !important; + } + .pl-md-4, + .px-md-4 { + padding-left: 1.5rem !important; + } + .p-md-5 { + padding: 3rem !important; + } + .pt-md-5, + .py-md-5 { + padding-top: 3rem !important; + } + .pr-md-5, + .px-md-5 { + padding-right: 3rem !important; + } + .pb-md-5, + .py-md-5 { + padding-bottom: 3rem !important; + } + .pl-md-5, + .px-md-5 { + padding-left: 3rem !important; + } + .m-md-n1 { + margin: -0.25rem !important; + } + .mt-md-n1, + .my-md-n1 { + margin-top: -0.25rem !important; + } + .mr-md-n1, + .mx-md-n1 { + margin-right: -0.25rem !important; + } + .mb-md-n1, + .my-md-n1 { + margin-bottom: -0.25rem !important; + } + .ml-md-n1, + .mx-md-n1 { + margin-left: -0.25rem !important; + } + .m-md-n2 { + margin: -0.5rem !important; + } + .mt-md-n2, + .my-md-n2 { + margin-top: -0.5rem !important; + } + .mr-md-n2, + .mx-md-n2 { + margin-right: -0.5rem !important; + } + .mb-md-n2, + .my-md-n2 { + margin-bottom: -0.5rem !important; + } + .ml-md-n2, + .mx-md-n2 { + margin-left: -0.5rem !important; + } + .m-md-n3 { + margin: -1rem !important; + } + .mt-md-n3, + .my-md-n3 { + margin-top: -1rem !important; + } + .mr-md-n3, + .mx-md-n3 { + margin-right: -1rem !important; + } + .mb-md-n3, + .my-md-n3 { + margin-bottom: -1rem !important; + } + .ml-md-n3, + .mx-md-n3 { + margin-left: -1rem !important; + } + .m-md-n4 { + margin: -1.5rem !important; + } + .mt-md-n4, + .my-md-n4 { + margin-top: -1.5rem !important; + } + .mr-md-n4, + .mx-md-n4 { + margin-right: -1.5rem !important; + } + .mb-md-n4, + .my-md-n4 { + margin-bottom: -1.5rem !important; + } + .ml-md-n4, + .mx-md-n4 { + margin-left: -1.5rem !important; + } + .m-md-n5 { + margin: -3rem !important; + } + .mt-md-n5, + .my-md-n5 { + margin-top: -3rem !important; + } + .mr-md-n5, + .mx-md-n5 { + margin-right: -3rem !important; + } + .mb-md-n5, + .my-md-n5 { + margin-bottom: -3rem !important; + } + .ml-md-n5, + .mx-md-n5 { + margin-left: -3rem !important; + } + .m-md-auto { + margin: auto !important; + } + .mt-md-auto, + .my-md-auto { + margin-top: auto !important; + } + .mr-md-auto, + .mx-md-auto { + margin-right: auto !important; + } + .mb-md-auto, + .my-md-auto { + margin-bottom: auto !important; + } + .ml-md-auto, + .mx-md-auto { + margin-left: auto !important; + } +} + +@media (min-width: 992px) { + .m-lg-0 { + margin: 0 !important; + } + .mt-lg-0, + .my-lg-0 { + margin-top: 0 !important; + } + .mr-lg-0, + .mx-lg-0 { + margin-right: 0 !important; + } + .mb-lg-0, + .my-lg-0 { + margin-bottom: 0 !important; + } + .ml-lg-0, + .mx-lg-0 { + margin-left: 0 !important; + } + .m-lg-1 { + margin: 0.25rem !important; + } + .mt-lg-1, + .my-lg-1 { + margin-top: 0.25rem !important; + } + .mr-lg-1, + .mx-lg-1 { + margin-right: 0.25rem !important; + } + .mb-lg-1, + .my-lg-1 { + margin-bottom: 0.25rem !important; + } + .ml-lg-1, + .mx-lg-1 { + margin-left: 0.25rem !important; + } + .m-lg-2 { + margin: 0.5rem !important; + } + .mt-lg-2, + .my-lg-2 { + margin-top: 0.5rem !important; + } + .mr-lg-2, + .mx-lg-2 { + margin-right: 0.5rem !important; + } + .mb-lg-2, + .my-lg-2 { + margin-bottom: 0.5rem !important; + } + .ml-lg-2, + .mx-lg-2 { + margin-left: 0.5rem !important; + } + .m-lg-3 { + margin: 1rem !important; + } + .mt-lg-3, + .my-lg-3 { + margin-top: 1rem !important; + } + .mr-lg-3, + .mx-lg-3 { + margin-right: 1rem !important; + } + .mb-lg-3, + .my-lg-3 { + margin-bottom: 1rem !important; + } + .ml-lg-3, + .mx-lg-3 { + margin-left: 1rem !important; + } + .m-lg-4 { + margin: 1.5rem !important; + } + .mt-lg-4, + .my-lg-4 { + margin-top: 1.5rem !important; + } + .mr-lg-4, + .mx-lg-4 { + margin-right: 1.5rem !important; + } + .mb-lg-4, + .my-lg-4 { + margin-bottom: 1.5rem !important; + } + .ml-lg-4, + .mx-lg-4 { + margin-left: 1.5rem !important; + } + .m-lg-5 { + margin: 3rem !important; + } + .mt-lg-5, + .my-lg-5 { + margin-top: 3rem !important; + } + .mr-lg-5, + .mx-lg-5 { + margin-right: 3rem !important; + } + .mb-lg-5, + .my-lg-5 { + margin-bottom: 3rem !important; + } + .ml-lg-5, + .mx-lg-5 { + margin-left: 3rem !important; + } + .p-lg-0 { + padding: 0 !important; + } + .pt-lg-0, + .py-lg-0 { + padding-top: 0 !important; + } + .pr-lg-0, + .px-lg-0 { + padding-right: 0 !important; + } + .pb-lg-0, + .py-lg-0 { + padding-bottom: 0 !important; + } + .pl-lg-0, + .px-lg-0 { + padding-left: 0 !important; + } + .p-lg-1 { + padding: 0.25rem !important; + } + .pt-lg-1, + .py-lg-1 { + padding-top: 0.25rem !important; + } + .pr-lg-1, + .px-lg-1 { + padding-right: 0.25rem !important; + } + .pb-lg-1, + .py-lg-1 { + padding-bottom: 0.25rem !important; + } + .pl-lg-1, + .px-lg-1 { + padding-left: 0.25rem !important; + } + .p-lg-2 { + padding: 0.5rem !important; + } + .pt-lg-2, + .py-lg-2 { + padding-top: 0.5rem !important; + } + .pr-lg-2, + .px-lg-2 { + padding-right: 0.5rem !important; + } + .pb-lg-2, + .py-lg-2 { + padding-bottom: 0.5rem !important; + } + .pl-lg-2, + .px-lg-2 { + padding-left: 0.5rem !important; + } + .p-lg-3 { + padding: 1rem !important; + } + .pt-lg-3, + .py-lg-3 { + padding-top: 1rem !important; + } + .pr-lg-3, + .px-lg-3 { + padding-right: 1rem !important; + } + .pb-lg-3, + .py-lg-3 { + padding-bottom: 1rem !important; + } + .pl-lg-3, + .px-lg-3 { + padding-left: 1rem !important; + } + .p-lg-4 { + padding: 1.5rem !important; + } + .pt-lg-4, + .py-lg-4 { + padding-top: 1.5rem !important; + } + .pr-lg-4, + .px-lg-4 { + padding-right: 1.5rem !important; + } + .pb-lg-4, + .py-lg-4 { + padding-bottom: 1.5rem !important; + } + .pl-lg-4, + .px-lg-4 { + padding-left: 1.5rem !important; + } + .p-lg-5 { + padding: 3rem !important; + } + .pt-lg-5, + .py-lg-5 { + padding-top: 3rem !important; + } + .pr-lg-5, + .px-lg-5 { + padding-right: 3rem !important; + } + .pb-lg-5, + .py-lg-5 { + padding-bottom: 3rem !important; + } + .pl-lg-5, + .px-lg-5 { + padding-left: 3rem !important; + } + .m-lg-n1 { + margin: -0.25rem !important; + } + .mt-lg-n1, + .my-lg-n1 { + margin-top: -0.25rem !important; + } + .mr-lg-n1, + .mx-lg-n1 { + margin-right: -0.25rem !important; + } + .mb-lg-n1, + .my-lg-n1 { + margin-bottom: -0.25rem !important; + } + .ml-lg-n1, + .mx-lg-n1 { + margin-left: -0.25rem !important; + } + .m-lg-n2 { + margin: -0.5rem !important; + } + .mt-lg-n2, + .my-lg-n2 { + margin-top: -0.5rem !important; + } + .mr-lg-n2, + .mx-lg-n2 { + margin-right: -0.5rem !important; + } + .mb-lg-n2, + .my-lg-n2 { + margin-bottom: -0.5rem !important; + } + .ml-lg-n2, + .mx-lg-n2 { + margin-left: -0.5rem !important; + } + .m-lg-n3 { + margin: -1rem !important; + } + .mt-lg-n3, + .my-lg-n3 { + margin-top: -1rem !important; + } + .mr-lg-n3, + .mx-lg-n3 { + margin-right: -1rem !important; + } + .mb-lg-n3, + .my-lg-n3 { + margin-bottom: -1rem !important; + } + .ml-lg-n3, + .mx-lg-n3 { + margin-left: -1rem !important; + } + .m-lg-n4 { + margin: -1.5rem !important; + } + .mt-lg-n4, + .my-lg-n4 { + margin-top: -1.5rem !important; + } + .mr-lg-n4, + .mx-lg-n4 { + margin-right: -1.5rem !important; + } + .mb-lg-n4, + .my-lg-n4 { + margin-bottom: -1.5rem !important; + } + .ml-lg-n4, + .mx-lg-n4 { + margin-left: -1.5rem !important; + } + .m-lg-n5 { + margin: -3rem !important; + } + .mt-lg-n5, + .my-lg-n5 { + margin-top: -3rem !important; + } + .mr-lg-n5, + .mx-lg-n5 { + margin-right: -3rem !important; + } + .mb-lg-n5, + .my-lg-n5 { + margin-bottom: -3rem !important; + } + .ml-lg-n5, + .mx-lg-n5 { + margin-left: -3rem !important; + } + .m-lg-auto { + margin: auto !important; + } + .mt-lg-auto, + .my-lg-auto { + margin-top: auto !important; + } + .mr-lg-auto, + .mx-lg-auto { + margin-right: auto !important; + } + .mb-lg-auto, + .my-lg-auto { + margin-bottom: auto !important; + } + .ml-lg-auto, + .mx-lg-auto { + margin-left: auto !important; + } +} + +@media (min-width: 1200px) { + .m-xl-0 { + margin: 0 !important; + } + .mt-xl-0, + .my-xl-0 { + margin-top: 0 !important; + } + .mr-xl-0, + .mx-xl-0 { + margin-right: 0 !important; + } + .mb-xl-0, + .my-xl-0 { + margin-bottom: 0 !important; + } + .ml-xl-0, + .mx-xl-0 { + margin-left: 0 !important; + } + .m-xl-1 { + margin: 0.25rem !important; + } + .mt-xl-1, + .my-xl-1 { + margin-top: 0.25rem !important; + } + .mr-xl-1, + .mx-xl-1 { + margin-right: 0.25rem !important; + } + .mb-xl-1, + .my-xl-1 { + margin-bottom: 0.25rem !important; + } + .ml-xl-1, + .mx-xl-1 { + margin-left: 0.25rem !important; + } + .m-xl-2 { + margin: 0.5rem !important; + } + .mt-xl-2, + .my-xl-2 { + margin-top: 0.5rem !important; + } + .mr-xl-2, + .mx-xl-2 { + margin-right: 0.5rem !important; + } + .mb-xl-2, + .my-xl-2 { + margin-bottom: 0.5rem !important; + } + .ml-xl-2, + .mx-xl-2 { + margin-left: 0.5rem !important; + } + .m-xl-3 { + margin: 1rem !important; + } + .mt-xl-3, + .my-xl-3 { + margin-top: 1rem !important; + } + .mr-xl-3, + .mx-xl-3 { + margin-right: 1rem !important; + } + .mb-xl-3, + .my-xl-3 { + margin-bottom: 1rem !important; + } + .ml-xl-3, + .mx-xl-3 { + margin-left: 1rem !important; + } + .m-xl-4 { + margin: 1.5rem !important; + } + .mt-xl-4, + .my-xl-4 { + margin-top: 1.5rem !important; + } + .mr-xl-4, + .mx-xl-4 { + margin-right: 1.5rem !important; + } + .mb-xl-4, + .my-xl-4 { + margin-bottom: 1.5rem !important; + } + .ml-xl-4, + .mx-xl-4 { + margin-left: 1.5rem !important; + } + .m-xl-5 { + margin: 3rem !important; + } + .mt-xl-5, + .my-xl-5 { + margin-top: 3rem !important; + } + .mr-xl-5, + .mx-xl-5 { + margin-right: 3rem !important; + } + .mb-xl-5, + .my-xl-5 { + margin-bottom: 3rem !important; + } + .ml-xl-5, + .mx-xl-5 { + margin-left: 3rem !important; + } + .p-xl-0 { + padding: 0 !important; + } + .pt-xl-0, + .py-xl-0 { + padding-top: 0 !important; + } + .pr-xl-0, + .px-xl-0 { + padding-right: 0 !important; + } + .pb-xl-0, + .py-xl-0 { + padding-bottom: 0 !important; + } + .pl-xl-0, + .px-xl-0 { + padding-left: 0 !important; + } + .p-xl-1 { + padding: 0.25rem !important; + } + .pt-xl-1, + .py-xl-1 { + padding-top: 0.25rem !important; + } + .pr-xl-1, + .px-xl-1 { + padding-right: 0.25rem !important; + } + .pb-xl-1, + .py-xl-1 { + padding-bottom: 0.25rem !important; + } + .pl-xl-1, + .px-xl-1 { + padding-left: 0.25rem !important; + } + .p-xl-2 { + padding: 0.5rem !important; + } + .pt-xl-2, + .py-xl-2 { + padding-top: 0.5rem !important; + } + .pr-xl-2, + .px-xl-2 { + padding-right: 0.5rem !important; + } + .pb-xl-2, + .py-xl-2 { + padding-bottom: 0.5rem !important; + } + .pl-xl-2, + .px-xl-2 { + padding-left: 0.5rem !important; + } + .p-xl-3 { + padding: 1rem !important; + } + .pt-xl-3, + .py-xl-3 { + padding-top: 1rem !important; + } + .pr-xl-3, + .px-xl-3 { + padding-right: 1rem !important; + } + .pb-xl-3, + .py-xl-3 { + padding-bottom: 1rem !important; + } + .pl-xl-3, + .px-xl-3 { + padding-left: 1rem !important; + } + .p-xl-4 { + padding: 1.5rem !important; + } + .pt-xl-4, + .py-xl-4 { + padding-top: 1.5rem !important; + } + .pr-xl-4, + .px-xl-4 { + padding-right: 1.5rem !important; + } + .pb-xl-4, + .py-xl-4 { + padding-bottom: 1.5rem !important; + } + .pl-xl-4, + .px-xl-4 { + padding-left: 1.5rem !important; + } + .p-xl-5 { + padding: 3rem !important; + } + .pt-xl-5, + .py-xl-5 { + padding-top: 3rem !important; + } + .pr-xl-5, + .px-xl-5 { + padding-right: 3rem !important; + } + .pb-xl-5, + .py-xl-5 { + padding-bottom: 3rem !important; + } + .pl-xl-5, + .px-xl-5 { + padding-left: 3rem !important; + } + .m-xl-n1 { + margin: -0.25rem !important; + } + .mt-xl-n1, + .my-xl-n1 { + margin-top: -0.25rem !important; + } + .mr-xl-n1, + .mx-xl-n1 { + margin-right: -0.25rem !important; + } + .mb-xl-n1, + .my-xl-n1 { + margin-bottom: -0.25rem !important; + } + .ml-xl-n1, + .mx-xl-n1 { + margin-left: -0.25rem !important; + } + .m-xl-n2 { + margin: -0.5rem !important; + } + .mt-xl-n2, + .my-xl-n2 { + margin-top: -0.5rem !important; + } + .mr-xl-n2, + .mx-xl-n2 { + margin-right: -0.5rem !important; + } + .mb-xl-n2, + .my-xl-n2 { + margin-bottom: -0.5rem !important; + } + .ml-xl-n2, + .mx-xl-n2 { + margin-left: -0.5rem !important; + } + .m-xl-n3 { + margin: -1rem !important; + } + .mt-xl-n3, + .my-xl-n3 { + margin-top: -1rem !important; + } + .mr-xl-n3, + .mx-xl-n3 { + margin-right: -1rem !important; + } + .mb-xl-n3, + .my-xl-n3 { + margin-bottom: -1rem !important; + } + .ml-xl-n3, + .mx-xl-n3 { + margin-left: -1rem !important; + } + .m-xl-n4 { + margin: -1.5rem !important; + } + .mt-xl-n4, + .my-xl-n4 { + margin-top: -1.5rem !important; + } + .mr-xl-n4, + .mx-xl-n4 { + margin-right: -1.5rem !important; + } + .mb-xl-n4, + .my-xl-n4 { + margin-bottom: -1.5rem !important; + } + .ml-xl-n4, + .mx-xl-n4 { + margin-left: -1.5rem !important; + } + .m-xl-n5 { + margin: -3rem !important; + } + .mt-xl-n5, + .my-xl-n5 { + margin-top: -3rem !important; + } + .mr-xl-n5, + .mx-xl-n5 { + margin-right: -3rem !important; + } + .mb-xl-n5, + .my-xl-n5 { + margin-bottom: -3rem !important; + } + .ml-xl-n5, + .mx-xl-n5 { + margin-left: -3rem !important; + } + .m-xl-auto { + margin: auto !important; + } + .mt-xl-auto, + .my-xl-auto { + margin-top: auto !important; + } + .mr-xl-auto, + .mx-xl-auto { + margin-right: auto !important; + } + .mb-xl-auto, + .my-xl-auto { + margin-bottom: auto !important; + } + .ml-xl-auto, + .mx-xl-auto { + margin-left: auto !important; + } +} + +.text-monospace { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important; +} + +.text-justify { + text-align: justify !important; +} + +.text-wrap { + white-space: normal !important; +} + +.text-nowrap { + white-space: nowrap !important; +} + +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.text-left { + text-align: left !important; +} + +.text-right { + text-align: right !important; +} + +.text-center { + text-align: center !important; +} + +@media (min-width: 576px) { + .text-sm-left { + text-align: left !important; + } + .text-sm-right { + text-align: right !important; + } + .text-sm-center { + text-align: center !important; + } +} + +@media (min-width: 768px) { + .text-md-left { + text-align: left !important; + } + .text-md-right { + text-align: right !important; + } + .text-md-center { + text-align: center !important; + } +} + +@media (min-width: 992px) { + .text-lg-left { + text-align: left !important; + } + .text-lg-right { + text-align: right !important; + } + .text-lg-center { + text-align: center !important; + } +} + +@media (min-width: 1200px) { + .text-xl-left { + text-align: left !important; + } + .text-xl-right { + text-align: right !important; + } + .text-xl-center { + text-align: center !important; + } +} + +.text-lowercase { + text-transform: lowercase !important; +} + +.text-uppercase { + text-transform: uppercase !important; +} + +.text-capitalize { + text-transform: capitalize !important; +} + +.font-weight-light { + font-weight: 300 !important; +} + +.font-weight-lighter { + font-weight: lighter !important; +} + +.font-weight-normal { + font-weight: 400 !important; +} + +.font-weight-bold { + font-weight: 700 !important; +} + +.font-weight-bolder { + font-weight: bolder !important; +} + +.font-italic { + font-style: italic !important; +} + +.text-white { + color: #ffffff !important; +} + +.text-primary { + color: #002c5f !important; +} + +a.text-primary:hover, a.text-primary:focus { + color: #000913 !important; +} + +.text-secondary { + color: #00aad2 !important; +} + +a.text-secondary:hover, a.text-secondary:focus { + color: #006c86 !important; +} + +.text-success { + color: #2a609e !important; +} + +a.text-success:hover, a.text-success:focus { + color: #1a3b62 !important; +} + +.text-info { + color: #aacae6 !important; +} + +a.text-info:hover, a.text-info:focus { + color: #6fa5d5 !important; +} + +.text-warning { + color: #ffc107 !important; +} + +a.text-warning:hover, a.text-warning:focus { + color: #ba8b00 !important; +} + +.text-danger { + color: #b74b37 !important; +} + +a.text-danger:hover, a.text-danger:focus { + color: #7c3325 !important; +} + +.text-light { + color: #e4dcd3 !important; +} + +a.text-light:hover, a.text-light:focus { + color: #c7b6a4 !important; +} + +.text-dark { + color: #343a40 !important; +} + +a.text-dark:hover, a.text-dark:focus { + color: #121416 !important; +} + +.text-body { + color: #000 !important; +} + +.text-muted { + color: #6c757d !important; +} + +.text-black-50 { + color: rgba(0, 0, 0, 0.5) !important; +} + +.text-white-50 { + color: rgba(255, 255, 255, 0.5) !important; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.text-decoration-none { + text-decoration: none !important; +} + +.text-break { + word-break: break-word !important; + overflow-wrap: break-word !important; +} + +.text-reset { + color: inherit !important; +} + +.visible { + visibility: visible !important; +} + +.invisible { + visibility: hidden !important; +} + +@media print { + *, + *::before, + *::after { + text-shadow: none !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + } + a:not(.btn) { + text-decoration: underline; + } + abbr[title]::after { + content: " (" attr(title) ")"; + } + pre { + white-space: pre-wrap !important; + } + pre, + blockquote { + border: 1px solid #adb5bd; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + @page { + size: a3; + } + body { + min-width: 992px !important; + } + .container { + min-width: 992px !important; + } + .navbar { + display: none; + } + .badge { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #ffffff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #dee2e6 !important; + } + .table-dark { + color: inherit; + } + .table-dark th, + .table-dark td, + .table-dark thead th, + .table-dark tbody + tbody { + border-color: #e4dcd3; + } + .table .thead-dark th { + color: inherit; + border-color: #e4dcd3; + } +} + +html.scroll-smooth { + scroll-behavior: smooth; +} + +body { + font-family: s-core-dream; + font-weight: 400; + -webkit-font-smoothing: antialiased; + background: #002c5f; +} + +@media (max-width: 991.98px) { + body { + background: #002c5f; + } + .container-fluid { + padding: 0; + } +} + +html, +body, +.wrapper { + min-height: 100%; +} + +.wrapper { + position: relative; +} + +.wrapper .content-wrapper { + min-height: calc(100vh - calc(4.8125rem + 1px) - calc(3.5rem + 1px)); +} + +.layout-boxed .wrapper { + -webkit-box-shadow: 0 0 10 rgba(0, 0, 0, 0.3); + box-shadow: 0 0 10 rgba(0, 0, 0, 0.3); +} + +.layout-boxed .wrapper, .layout-boxed .wrapper::before { + margin: 0 auto; + max-width: 1250px; +} + +.layout-boxed .wrapper .main-sidebar { + left: inherit; +} + +@supports not (-webkit-touch-callout: none) { + .layout-fixed .wrapper .sidebar { + height: calc(100vh - (4.8125rem + 1px)); + } + .layout-fixed.text-sm .wrapper .sidebar { + height: calc(100vh - (3.77319rem + 1px)); + } +} + +.layout-navbar-fixed.layout-fixed .wrapper .control-sidebar { + top: calc(4.8125rem + 1px); +} + +.layout-navbar-fixed.layout-fixed .wrapper .main-header.text-sm ~ .control-sidebar { + top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.layout-fixed .wrapper .sidebar { + margin-top: calc(4.8125rem + 1px); +} + +.layout-navbar-fixed.layout-fixed .wrapper .brand-link.text-sm ~ .sidebar { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.layout-fixed.text-sm .wrapper .control-sidebar { + top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.sidebar-mini.sidebar-collapse .wrapper .brand-link, +.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse .wrapper .brand-link { + height: calc(4.8125rem + 1px); + width: 3.8rem; +} + +.layout-navbar-fixed.sidebar-mini.sidebar-collapse .wrapper .brand-link.text-sm, +.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse .wrapper .brand-link.text-sm { + height: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.sidebar-mini.sidebar-collapse.text-sm .wrapper .brand-link, +.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse.text-sm .wrapper .brand-link { + height: calc(3.77319rem + 1px); +} + +body:not(.layout-fixed).layout-navbar-fixed.text-sm .wrapper .main-sidebar { + margin-top: calc(calc(3.77319rem + 1px) / -1); +} + +body:not(.layout-fixed).layout-navbar-fixed.text-sm .wrapper .main-sidebar .sidebar { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed .wrapper .control-sidebar { + top: 0; +} + +.layout-navbar-fixed .wrapper a.anchor { + display: block; + position: relative; + top: calc((4.8125rem + 1px + (1rem * 2)) / -1); +} + +.layout-navbar-fixed .wrapper .main-sidebar:hover .brand-link { + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; +} + +.layout-navbar-fixed .wrapper .brand-link { + overflow: hidden; + position: fixed; + top: 0; + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + z-index: 1035; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-primary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-secondary .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-secondary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-success .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-success .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-info .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-info .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-warning .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-warning .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-danger .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-light .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-light .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-dark .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-dark .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .content-wrapper { + margin-top: calc(4.8125rem + 1px); +} + +.layout-navbar-fixed .wrapper .main-header.text-sm ~ .content-wrapper { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed .wrapper .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1033; +} + +.layout-navbar-fixed.text-sm .wrapper .content-wrapper { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-not-fixed .wrapper .brand-link { + position: static; +} + +.layout-navbar-not-fixed .wrapper .sidebar, +.layout-navbar-not-fixed .wrapper .content-wrapper { + margin-top: 0; +} + +.layout-navbar-not-fixed .wrapper .main-header { + position: static; +} + +.layout-navbar-not-fixed.layout-fixed .wrapper .sidebar { + margin-top: 0; +} + +.layout-navbar-fixed.layout-fixed .wrapper .control-sidebar { + top: calc(4.8125rem + 1px); +} + +.text-sm .layout-navbar-fixed.layout-fixed .wrapper .main-header ~ .control-sidebar, +.layout-navbar-fixed.layout-fixed .wrapper .main-header.text-sm ~ .control-sidebar { + top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.layout-fixed .wrapper .sidebar { + margin-top: calc(4.8125rem + 1px); +} + +.text-sm .layout-navbar-fixed.layout-fixed .wrapper .brand-link ~ .sidebar, +.layout-navbar-fixed.layout-fixed .wrapper .brand-link.text-sm ~ .sidebar { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.layout-fixed.text-sm .wrapper .control-sidebar { + top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed .wrapper .control-sidebar { + top: 0; +} + +.layout-navbar-fixed .wrapper a.anchor { + display: block; + position: relative; + top: calc((4.8125rem + 1px + (1rem * 2)) / -1); +} + +.layout-navbar-fixed .wrapper.sidebar-collapse .brand-link { + height: calc(4.8125rem + 1px); + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 3.8rem; +} + +.text-sm .layout-navbar-fixed .wrapper.sidebar-collapse .brand-link, .layout-navbar-fixed .wrapper.sidebar-collapse .brand-link.text-sm { + height: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed .wrapper.sidebar-collapse .main-sidebar:hover .brand-link { + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; +} + +.layout-navbar-fixed .wrapper .brand-link { + overflow: hidden; + position: fixed; + top: 0; + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + z-index: 1035; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-primary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-secondary .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-secondary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-success .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-success .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-info .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-info .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-warning .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-warning .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-danger .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-light .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-light .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .sidebar-dark-dark .brand-link:not([class*="navbar"]) { + background-color: #343a40; +} + +.layout-navbar-fixed .wrapper .sidebar-light-dark .brand-link:not([class*="navbar"]) { + background-color: #ffffff; +} + +.layout-navbar-fixed .wrapper .content-wrapper { + margin-top: calc(4.8125rem + 1px); +} + +.text-sm .layout-navbar-fixed .wrapper .main-header ~ .content-wrapper, +.layout-navbar-fixed .wrapper .main-header.text-sm ~ .content-wrapper { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-fixed .wrapper .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1037; +} + +.layout-navbar-fixed.text-sm .wrapper .content-wrapper { + margin-top: calc(3.77319rem + 1px); +} + +body:not(.layout-fixed).layout-navbar-fixed.text-sm .wrapper .main-sidebar { + margin-top: calc(calc(3.77319rem + 1px) / -1); +} + +body:not(.layout-fixed).layout-navbar-fixed.text-sm .wrapper .main-sidebar .sidebar { + margin-top: calc(3.77319rem + 1px); +} + +.layout-navbar-not-fixed .wrapper .brand-link { + position: static; +} + +.layout-navbar-not-fixed .wrapper .sidebar, +.layout-navbar-not-fixed .wrapper .content-wrapper { + margin-top: 0; +} + +.layout-navbar-not-fixed .wrapper .main-header { + position: static; +} + +.layout-navbar-not-fixed.layout-fixed .wrapper .sidebar { + margin-top: 0; +} + +@media (min-width: 576px) { + .layout-sm-navbar-fixed.layout-fixed .wrapper .control-sidebar { + top: calc(4.8125rem + 1px); + } + .text-sm .layout-sm-navbar-fixed.layout-fixed .wrapper .main-header ~ .control-sidebar, + .layout-sm-navbar-fixed.layout-fixed .wrapper .main-header.text-sm ~ .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-sm-navbar-fixed.layout-fixed .wrapper .sidebar { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-sm-navbar-fixed.layout-fixed .wrapper .brand-link ~ .sidebar, + .layout-sm-navbar-fixed.layout-fixed .wrapper .brand-link.text-sm ~ .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-sm-navbar-fixed.layout-fixed.text-sm .wrapper .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-sm-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-sm-navbar-fixed .wrapper .control-sidebar { + top: 0; + } + .layout-sm-navbar-fixed .wrapper a.anchor { + display: block; + position: relative; + top: calc((4.8125rem + 1px + (1rem * 2)) / -1); + } + .layout-sm-navbar-fixed .wrapper.sidebar-collapse .brand-link { + height: calc(4.8125rem + 1px); + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 3.8rem; + } + .text-sm .layout-sm-navbar-fixed .wrapper.sidebar-collapse .brand-link, .layout-sm-navbar-fixed .wrapper.sidebar-collapse .brand-link.text-sm { + height: calc(3.77319rem + 1px); + } + .layout-sm-navbar-fixed .wrapper.sidebar-collapse .main-sidebar:hover .brand-link { + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + } + .layout-sm-navbar-fixed .wrapper .brand-link { + overflow: hidden; + position: fixed; + top: 0; + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + z-index: 1035; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-primary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-secondary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-secondary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-success .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-success .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-info .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-info .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-warning .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-warning .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-danger .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-light .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-light .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .sidebar-dark-dark .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-sm-navbar-fixed .wrapper .sidebar-light-dark .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-sm-navbar-fixed .wrapper .content-wrapper { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-sm-navbar-fixed .wrapper .main-header ~ .content-wrapper, + .layout-sm-navbar-fixed .wrapper .main-header.text-sm ~ .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + .layout-sm-navbar-fixed .wrapper .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1037; + } + .layout-sm-navbar-fixed.text-sm .wrapper .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + body:not(.layout-fixed).layout-sm-navbar-fixed.text-sm .wrapper .main-sidebar { + margin-top: calc(calc(3.77319rem + 1px) / -1); + } + body:not(.layout-fixed).layout-sm-navbar-fixed.text-sm .wrapper .main-sidebar .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-sm-navbar-not-fixed .wrapper .brand-link { + position: static; + } + .layout-sm-navbar-not-fixed .wrapper .sidebar, + .layout-sm-navbar-not-fixed .wrapper .content-wrapper { + margin-top: 0; + } + .layout-sm-navbar-not-fixed .wrapper .main-header { + position: static; + } + .layout-sm-navbar-not-fixed.layout-fixed .wrapper .sidebar { + margin-top: 0; + } +} + +@media (min-width: 768px) { + .layout-md-navbar-fixed.layout-fixed .wrapper .control-sidebar { + top: calc(4.8125rem + 1px); + } + .text-sm .layout-md-navbar-fixed.layout-fixed .wrapper .main-header ~ .control-sidebar, + .layout-md-navbar-fixed.layout-fixed .wrapper .main-header.text-sm ~ .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-md-navbar-fixed.layout-fixed .wrapper .sidebar { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-md-navbar-fixed.layout-fixed .wrapper .brand-link ~ .sidebar, + .layout-md-navbar-fixed.layout-fixed .wrapper .brand-link.text-sm ~ .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-md-navbar-fixed.layout-fixed.text-sm .wrapper .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-md-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-md-navbar-fixed .wrapper .control-sidebar { + top: 0; + } + .layout-md-navbar-fixed .wrapper a.anchor { + display: block; + position: relative; + top: calc((4.8125rem + 1px + (1rem * 2)) / -1); + } + .layout-md-navbar-fixed .wrapper.sidebar-collapse .brand-link { + height: calc(4.8125rem + 1px); + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 3.8rem; + } + .text-sm .layout-md-navbar-fixed .wrapper.sidebar-collapse .brand-link, .layout-md-navbar-fixed .wrapper.sidebar-collapse .brand-link.text-sm { + height: calc(3.77319rem + 1px); + } + .layout-md-navbar-fixed .wrapper.sidebar-collapse .main-sidebar:hover .brand-link { + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + } + .layout-md-navbar-fixed .wrapper .brand-link { + overflow: hidden; + position: fixed; + top: 0; + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + z-index: 1035; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-primary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-secondary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-secondary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-success .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-success .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-info .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-info .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-warning .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-warning .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-danger .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-light .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-light .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .sidebar-dark-dark .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-md-navbar-fixed .wrapper .sidebar-light-dark .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-md-navbar-fixed .wrapper .content-wrapper { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-md-navbar-fixed .wrapper .main-header ~ .content-wrapper, + .layout-md-navbar-fixed .wrapper .main-header.text-sm ~ .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + .layout-md-navbar-fixed .wrapper .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1037; + } + .layout-md-navbar-fixed.text-sm .wrapper .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + body:not(.layout-fixed).layout-md-navbar-fixed.text-sm .wrapper .main-sidebar { + margin-top: calc(calc(3.77319rem + 1px) / -1); + } + body:not(.layout-fixed).layout-md-navbar-fixed.text-sm .wrapper .main-sidebar .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-md-navbar-not-fixed .wrapper .brand-link { + position: static; + } + .layout-md-navbar-not-fixed .wrapper .sidebar, + .layout-md-navbar-not-fixed .wrapper .content-wrapper { + margin-top: 0; + } + .layout-md-navbar-not-fixed .wrapper .main-header { + position: static; + } + .layout-md-navbar-not-fixed.layout-fixed .wrapper .sidebar { + margin-top: 0; + } +} + +@media (min-width: 992px) { + .layout-lg-navbar-fixed.layout-fixed .wrapper .control-sidebar { + top: calc(4.8125rem + 1px); + } + .text-sm .layout-lg-navbar-fixed.layout-fixed .wrapper .main-header ~ .control-sidebar, + .layout-lg-navbar-fixed.layout-fixed .wrapper .main-header.text-sm ~ .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-lg-navbar-fixed.layout-fixed .wrapper .sidebar { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-lg-navbar-fixed.layout-fixed .wrapper .brand-link ~ .sidebar, + .layout-lg-navbar-fixed.layout-fixed .wrapper .brand-link.text-sm ~ .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-lg-navbar-fixed.layout-fixed.text-sm .wrapper .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-lg-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-lg-navbar-fixed .wrapper .control-sidebar { + top: 0; + } + .layout-lg-navbar-fixed .wrapper a.anchor { + display: block; + position: relative; + top: calc((4.8125rem + 1px + (1rem * 2)) / -1); + } + .layout-lg-navbar-fixed .wrapper.sidebar-collapse .brand-link { + height: calc(4.8125rem + 1px); + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 3.8rem; + } + .text-sm .layout-lg-navbar-fixed .wrapper.sidebar-collapse .brand-link, .layout-lg-navbar-fixed .wrapper.sidebar-collapse .brand-link.text-sm { + height: calc(3.77319rem + 1px); + } + .layout-lg-navbar-fixed .wrapper.sidebar-collapse .main-sidebar:hover .brand-link { + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + } + .layout-lg-navbar-fixed .wrapper .brand-link { + overflow: hidden; + position: fixed; + top: 0; + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + z-index: 1035; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-primary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-secondary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-secondary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-success .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-success .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-info .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-info .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-warning .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-warning .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-danger .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-light .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-light .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .sidebar-dark-dark .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-lg-navbar-fixed .wrapper .sidebar-light-dark .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-lg-navbar-fixed .wrapper .content-wrapper { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-lg-navbar-fixed .wrapper .main-header ~ .content-wrapper, + .layout-lg-navbar-fixed .wrapper .main-header.text-sm ~ .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + .layout-lg-navbar-fixed .wrapper .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1037; + } + .layout-lg-navbar-fixed.text-sm .wrapper .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + body:not(.layout-fixed).layout-lg-navbar-fixed.text-sm .wrapper .main-sidebar { + margin-top: calc(calc(3.77319rem + 1px) / -1); + } + body:not(.layout-fixed).layout-lg-navbar-fixed.text-sm .wrapper .main-sidebar .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-lg-navbar-not-fixed .wrapper .brand-link { + position: static; + } + .layout-lg-navbar-not-fixed .wrapper .sidebar, + .layout-lg-navbar-not-fixed .wrapper .content-wrapper { + margin-top: 0; + } + .layout-lg-navbar-not-fixed .wrapper .main-header { + position: static; + } + .layout-lg-navbar-not-fixed.layout-fixed .wrapper .sidebar { + margin-top: 0; + } +} + +@media (min-width: 1200px) { + .layout-xl-navbar-fixed.layout-fixed .wrapper .control-sidebar { + top: calc(4.8125rem + 1px); + } + .text-sm .layout-xl-navbar-fixed.layout-fixed .wrapper .main-header ~ .control-sidebar, + .layout-xl-navbar-fixed.layout-fixed .wrapper .main-header.text-sm ~ .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-xl-navbar-fixed.layout-fixed .wrapper .sidebar { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-xl-navbar-fixed.layout-fixed .wrapper .brand-link ~ .sidebar, + .layout-xl-navbar-fixed.layout-fixed .wrapper .brand-link.text-sm ~ .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-xl-navbar-fixed.layout-fixed.text-sm .wrapper .control-sidebar { + top: calc(3.77319rem + 1px); + } + .layout-xl-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-xl-navbar-fixed .wrapper .control-sidebar { + top: 0; + } + .layout-xl-navbar-fixed .wrapper a.anchor { + display: block; + position: relative; + top: calc((4.8125rem + 1px + (1rem * 2)) / -1); + } + .layout-xl-navbar-fixed .wrapper.sidebar-collapse .brand-link { + height: calc(4.8125rem + 1px); + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 3.8rem; + } + .text-sm .layout-xl-navbar-fixed .wrapper.sidebar-collapse .brand-link, .layout-xl-navbar-fixed .wrapper.sidebar-collapse .brand-link.text-sm { + height: calc(3.77319rem + 1px); + } + .layout-xl-navbar-fixed .wrapper.sidebar-collapse .main-sidebar:hover .brand-link { + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + } + .layout-xl-navbar-fixed .wrapper .brand-link { + overflow: hidden; + position: fixed; + top: 0; + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + width: 230px; + z-index: 1035; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-primary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-secondary .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-secondary .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-success .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-success .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-info .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-info .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-warning .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-warning .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-danger .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-light .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-light .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .sidebar-dark-dark .brand-link:not([class*="navbar"]) { + background-color: #343a40; + } + .layout-xl-navbar-fixed .wrapper .sidebar-light-dark .brand-link:not([class*="navbar"]) { + background-color: #ffffff; + } + .layout-xl-navbar-fixed .wrapper .content-wrapper { + margin-top: calc(4.8125rem + 1px); + } + .text-sm .layout-xl-navbar-fixed .wrapper .main-header ~ .content-wrapper, + .layout-xl-navbar-fixed .wrapper .main-header.text-sm ~ .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + .layout-xl-navbar-fixed .wrapper .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1037; + } + .layout-xl-navbar-fixed.text-sm .wrapper .content-wrapper { + margin-top: calc(3.77319rem + 1px); + } + body:not(.layout-fixed).layout-xl-navbar-fixed.text-sm .wrapper .main-sidebar { + margin-top: calc(calc(3.77319rem + 1px) / -1); + } + body:not(.layout-fixed).layout-xl-navbar-fixed.text-sm .wrapper .main-sidebar .sidebar { + margin-top: calc(3.77319rem + 1px); + } + .layout-xl-navbar-not-fixed .wrapper .brand-link { + position: static; + } + .layout-xl-navbar-not-fixed .wrapper .sidebar, + .layout-xl-navbar-not-fixed .wrapper .content-wrapper { + margin-top: 0; + } + .layout-xl-navbar-not-fixed .wrapper .main-header { + position: static; + } + .layout-xl-navbar-not-fixed.layout-fixed .wrapper .sidebar { + margin-top: 0; + } +} + +.layout-footer-fixed .wrapper .control-sidebar { + bottom: 0; +} + +.layout-footer-fixed .wrapper .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: 1032; +} + +.layout-footer-not-fixed .wrapper .main-footer { + position: static; +} + +.layout-footer-not-fixed .wrapper .content-wrapper { + margin-bottom: 0; +} + +.layout-footer-fixed .wrapper .control-sidebar { + bottom: 0; +} + +.layout-footer-fixed .wrapper .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: 1032; +} + +.layout-footer-fixed .wrapper .content-wrapper { + padding-bottom: calc(3.5rem + 1px); +} + +.layout-footer-not-fixed .wrapper .main-footer { + position: static; +} + +@media (min-width: 576px) { + .layout-sm-footer-fixed .wrapper .control-sidebar { + bottom: 0; + } + .layout-sm-footer-fixed .wrapper .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: 1032; + } + .layout-sm-footer-fixed .wrapper .content-wrapper { + padding-bottom: calc(3.5rem + 1px); + } + .layout-sm-footer-not-fixed .wrapper .main-footer { + position: static; + } +} + +@media (min-width: 768px) { + .layout-md-footer-fixed .wrapper .control-sidebar { + bottom: 0; + } + .layout-md-footer-fixed .wrapper .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: 1032; + } + .layout-md-footer-fixed .wrapper .content-wrapper { + padding-bottom: calc(3.5rem + 1px); + } + .layout-md-footer-not-fixed .wrapper .main-footer { + position: static; + } +} + +@media (min-width: 992px) { + .layout-lg-footer-fixed .wrapper .control-sidebar { + bottom: 0; + } + .layout-lg-footer-fixed .wrapper .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: 1032; + } + .layout-lg-footer-fixed .wrapper .content-wrapper { + padding-bottom: calc(3.5rem + 1px); + } + .layout-lg-footer-not-fixed .wrapper .main-footer { + position: static; + } +} + +@media (min-width: 1200px) { + .layout-xl-footer-fixed .wrapper .control-sidebar { + bottom: 0; + } + .layout-xl-footer-fixed .wrapper .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: 1032; + } + .layout-xl-footer-fixed .wrapper .content-wrapper { + padding-bottom: calc(3.5rem + 1px); + } + .layout-xl-footer-not-fixed .wrapper .main-footer { + position: static; + } +} + +.layout-top-nav .wrapper { + margin-left: 0; +} + +.layout-top-nav .wrapper .main-header .brand-image { + margin-top: -.5rem; + margin-right: .2rem; + height: 33px; +} + +.layout-top-nav .wrapper .main-sidebar { + bottom: inherit; + height: inherit; +} + +.layout-top-nav .wrapper .content-wrapper, +.layout-top-nav .wrapper .main-header, +.layout-top-nav .wrapper .main-footer { + margin-left: 0; +} + +body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .content-wrapper, body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .content-wrapper::before, +body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .main-footer, +body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .main-footer::before, +body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .main-header, +body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .main-header::before { + margin-left: 0; +} + +@media (min-width: 768px) { + body:not(.sidebar-mini-md) .content-wrapper, + body:not(.sidebar-mini-md) .main-footer, + body:not(.sidebar-mini-md) .main-header { + -webkit-transition: margin-left 0.3s ease-in-out; + transition: margin-left 0.3s ease-in-out; + margin-left: 230px; + } +} + +@media (min-width: 768px) and (prefers-reduced-motion: reduce) { + body:not(.sidebar-mini-md) .content-wrapper, + body:not(.sidebar-mini-md) .main-footer, + body:not(.sidebar-mini-md) .main-header { + -webkit-transition: none; + transition: none; + } +} + +@media (min-width: 768px) { + .sidebar-collapse body:not(.sidebar-mini-md) .content-wrapper, .sidebar-collapse + body:not(.sidebar-mini-md) .main-footer, .sidebar-collapse + body:not(.sidebar-mini-md) .main-header { + margin-left: 0; + } +} + +@media (max-width: 991.98px) { + body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .content-wrapper::before, + body:not(.sidebar-mini-md) .main-footer, + body:not(.sidebar-mini-md) .main-footer::before, + body:not(.sidebar-mini-md) .main-header, + body:not(.sidebar-mini-md) .main-header::before { + margin-left: 0; + } +} + +@media (min-width: 768px) { + .sidebar-mini-md .content-wrapper, + .sidebar-mini-md .main-footer, + .sidebar-mini-md .main-header { + -webkit-transition: margin-left 0.3s ease-in-out; + transition: margin-left 0.3s ease-in-out; + margin-left: 230px; + } +} + +@media (min-width: 768px) and (prefers-reduced-motion: reduce) { + .sidebar-mini-md .content-wrapper, + .sidebar-mini-md .main-footer, + .sidebar-mini-md .main-header { + -webkit-transition: none; + transition: none; + } +} + +@media (min-width: 768px) { + .sidebar-collapse .sidebar-mini-md .content-wrapper, .sidebar-collapse + .sidebar-mini-md .main-footer, .sidebar-collapse + .sidebar-mini-md .main-header { + margin-left: 3.8rem; + } +} + +@media (max-width: 991.98px) { + .sidebar-mini-md .content-wrapper, .sidebar-mini-md .content-wrapper::before, + .sidebar-mini-md .main-footer, + .sidebar-mini-md .main-footer::before, + .sidebar-mini-md .main-header, + .sidebar-mini-md .main-header::before { + margin-left: 3.8rem; + } +} + +.content-wrapper .content-body { + padding: 0 0 0 1.5rem; +} + +.content-wrapper .content { + background: #f6f6f2; + border-radius: 5px 0 0 5px; + padding: 30px 20px; +} + +@media (max-width: 991.98px) { + .content-wrapper .content-body { + padding: 0; + } + .content-wrapper .content { + border-radius: 5px 5px 0 0; + padding: 24px 24px 40px; + } +} + +.main-sidebar, .main-sidebar::before { + -webkit-transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out; + transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out; + width: 230px; +} + +@media (prefers-reduced-motion: reduce) { + .main-sidebar, .main-sidebar::before { + -webkit-transition: none; + transition: none; + } +} + +.sidebar-collapse:not(.sidebar-mini):not(.sidebar-mini-md) .main-sidebar, .sidebar-collapse:not(.sidebar-mini):not(.sidebar-mini-md) .main-sidebar::before { + -webkit-box-shadow: none !important; + box-shadow: none !important; +} + +.sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar::before { + margin-left: -230px; +} + +.sidebar-collapse .main-sidebar .nav-sidebar.nav-child-indent .nav-treeview { + padding: 0; +} + +@media (max-width: 767.98px) { + .main-sidebar, .main-sidebar::before { + -webkit-box-shadow: none !important; + box-shadow: none !important; + margin-left: -230px; + } + .sidebar-open .main-sidebar, .sidebar-open .main-sidebar::before { + margin-left: 0; + } +} + +:not(.layout-fixed) .main-sidebar { + height: inherit; + min-height: 100%; + position: absolute; + top: 0; +} + +.layout-fixed .brand-link { + width: 230px; +} + +.layout-fixed .main-sidebar { + bottom: 0; + float: none; + height: 100vh; + left: 0; + position: fixed; + top: 0; +} + +.layout-fixed .control-sidebar { + bottom: 0; + float: none; + height: 100vh; + position: fixed; + top: 0; +} + +.layout-fixed .control-sidebar .control-sidebar-content { + height: calc(100vh - calc(4.8125rem + 1px)); +} + +@supports (-webkit-touch-callout: none) { + .layout-fixed .main-sidebar { + height: inherit; + } +} + +.main-footer { + color: #e4dcd3; + padding: 12px 44px; + font-size: 11px; +} + +.text-sm .main-footer, .main-footer.text-sm { + padding: 0.812rem; +} + +@media (max-width: 991.98px) { + .main-footer { + padding: 10px 24px; + font-size: 10px; + } +} + +.content-header { + padding: 20px 1.5rem; +} + +.text-sm .content-header { + padding: 10px 1.5rem; +} + +.content-header h1 { + font-size: 1.8rem; + line-height: 1.038; + font-family: s-core-dream; + font-weight: 700; + margin: 0 0 8px 0; + font-size: 26px; + letter-spacing: -0.26; + color: #fff; +} + +.text-sm .content-header h1 { + font-size: 1.5rem; +} + +.content-header .breadcrumb { + background: transparent; + line-height: 1.8rem; + margin-bottom: 3px; + padding: 0; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.text-sm .content-header .breadcrumb { + line-height: 1.5rem; +} + +@media (max-width: 991.98px) { + .content-header .breadcrumb { + margin-bottom: 0; + } +} + +.content-header .breadcrumb-item { + color: #fff; + font-size: 12px; + line-height: 1.42; +} + +.content-header .breadcrumb-item + .breadcrumb-item { + padding: 0; +} + +.content-header .breadcrumb-item + .breadcrumb-item::before { + content: ''; + display: inline-block; + padding: 0; + margin: 0 12px; + width: 3px; + height: 3px; + background: #aacae6; + vertical-align: middle; +} + +.content-header .breadcrumb-item .icon-home { + vertical-align: middle; +} + +.hold-transition .content-wrapper, +.hold-transition .main-header, +.hold-transition .main-sidebar, +.hold-transition .main-sidebar *, +.hold-transition .control-sidebar, +.hold-transition .control-sidebar *, +.hold-transition .main-footer { + -webkit-transition: none !important; + transition: none !important; + -webkit-animation-duration: 0s !important; + animation-duration: 0s !important; +} + +.main-header { + padding-top: 0; + padding-bottom: 0; + border-bottom: 1px solid #1f4672; + z-index: 1034; +} + +.main-header .nav-link { + height: 2.8125rem; + position: relative; +} + +.text-sm .main-header .nav-link, .main-header.text-sm .nav-link { + height: 1.77319rem; + padding: 0.35rem 1rem; +} + +.text-sm .main-header .nav-link > .fa, +.text-sm .main-header .nav-link > .fas, +.text-sm .main-header .nav-link > .far, +.text-sm .main-header .nav-link > .fab, +.text-sm .main-header .nav-link > .glyphicon, +.text-sm .main-header .nav-link > .ion, .main-header.text-sm .nav-link > .fa, +.main-header.text-sm .nav-link > .fas, +.main-header.text-sm .nav-link > .far, +.main-header.text-sm .nav-link > .fab, +.main-header.text-sm .nav-link > .glyphicon, +.main-header.text-sm .nav-link > .ion { + font-size: 0.76562rem; +} + +.main-header .navbar-nav .nav-item + .nav-item { + margin-left: 20px; +} + +.main-header .navbar-nav[class*='-right'] .dropdown-menu { + left: auto; + margin-top: -3px; + right: 0; +} + +@media (max-width: 575.98px) { + .main-header .navbar-nav[class*='-right'] .dropdown-menu { + left: 0; + right: auto; + } +} + +.navbar-img { + height: calc(4.8125rem + 1px)/2; + width: auto; +} + +.navbar-badge { + font-size: .6rem; + font-weight: 300; + padding: 2px 4px; + position: absolute; + right: 5px; + top: 9px; +} + +.btn-navbar { + background-color: transparent; + border-left-width: 0; +} + +.form-control-navbar { + border-right-width: 0; +} + +.form-control-navbar + .input-group-append { + margin-left: 0; +} + +.form-control-navbar, +.btn-navbar { + -webkit-transition: none; + transition: none; +} + +/* .navbar-dark { + .form-control-navbar, + .btn-navbar { + background-color: $main-header-dark-form-control-bg; + border: $main-header-dark-form-control-border; + } + + .form-control-navbar { + &::placeholder { + color: $main-header-dark-placeholder-color; + } + + + .input-group-append > .btn-navbar { + color: $main-header-dark-placeholder-color; + } + + &:focus { + &, + & + .input-group-append .btn-navbar { + background-color: $main-header-dark-form-control-focused-bg; + border: $main-header-dark-form-control-focused-border !important; + color: $main-header-dark-form-control-focused-color; + } + } + } +} + +.navbar-light { + .form-control-navbar, + .btn-navbar { + background-color: $main-header-light-form-control-bg; + border: $main-header-light-form-control-border; + } + + .form-control-navbar { + &::placeholder { + color: $main-header-light-placeholder-color; + } + + + .input-group-append > .btn-navbar { + color: $main-header-light-placeholder-color; + } + + &:focus { + &, + & + .input-group-append .btn-navbar { + background-color: $main-header-light-form-control-focused-bg; + border: $main-header-light-form-control-focused-border !important; + color: $main-header-light-form-control-focused-color; + } + } + } +} */ +.brand-link { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + height: 80px; + font-size: 1.09375rem; + line-height: 1.5; + -webkit-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + white-space: nowrap; +} + +.brand-link:hover { + color: #ffffff; + text-decoration: none; +} + +.text-sm .brand-link { + font-size: inherit; +} + +[class*='sidebar-dark'] .brand-link { + border-bottom: 1px solid #4b545c; + color: rgba(255, 255, 255, 0.8); +} + +[class*='sidebar-light'] .brand-link { + border-bottom: 1px solid #dee2e6; + color: rgba(0, 0, 0, 0.8); +} + +.brand-link .brand-image { + margin: 0; + width: auto; +} + +.brand-link .brand-image-xs { + float: left; + line-height: .8; + margin-top: -.1rem; + max-height: 33px; + width: auto; +} + +.brand-link .brand-image-xl { + line-height: .8; + max-height: 40px; + width: auto; +} + +.brand-link .brand-image-xl.single { + margin-top: -.3rem; +} + +.brand-link.text-sm .brand-image, +.text-sm .brand-link .brand-image { + height: 29px; + margin-bottom: -.25rem; + margin-left: .95rem; + margin-top: -.25rem; +} + +.brand-link.text-sm .brand-image-xs, +.text-sm .brand-link .brand-image-xs { + margin-top: -.2rem; + max-height: 29px; +} + +.brand-link.text-sm .brand-image-xl, +.text-sm .brand-link .brand-image-xl { + margin-top: -.225rem; + max-height: 38px; +} + +.main-sidebar { + height: 100vh; + overflow-y: hidden; + z-index: 1038; + background: #000; +} + +.main-sidebar a:-moz-focusring { + border: 0; + outline: none; +} + +.sidebar { + height: calc(100% - (4.8125rem + 1px)); + overflow-y: auto; + padding-bottom: 0; + padding-left: 0; + padding-right: 0; + padding-top: 0; +} + +.user-panel { + position: relative; +} + +.user-panel, +.user-panel .info { + overflow: hidden; + white-space: nowrap; +} + +.user-panel .image { + display: inline-block; + padding-left: 0.8rem; +} + +.user-panel img { + height: auto; + width: 2.3rem; +} + +.user-panel .info { + display: inline-block; + padding: 5px 5px 5px 10px; +} + +.user-panel .status, +.user-panel .dropdown-menu { + font-size: 0.76562rem; +} + +.nav-sidebar .nav-item > .nav-link { + color: #fff; +} + +.nav-sidebar .nav-item > .nav-link .right { + -webkit-transition: -webkit-transform ease-in-out 0.3s; + transition: -webkit-transform ease-in-out 0.3s; + transition: transform ease-in-out 0.3s; + transition: transform ease-in-out 0.3s, -webkit-transform ease-in-out 0.3s; +} + +@media (prefers-reduced-motion: reduce) { + .nav-sidebar .nav-item > .nav-link .right { + -webkit-transition: none; + transition: none; + } +} + +.nav-sidebar .nav-link > .right, +.nav-sidebar .nav-link > p > .right { + position: absolute; + right: 1rem; + top: .7rem; +} + +.nav-sidebar .nav-link > .right i, +.nav-sidebar .nav-link > .right span, +.nav-sidebar .nav-link > p > .right i, +.nav-sidebar .nav-link > p > .right span { + margin-left: .5rem; +} + +.nav-sidebar .nav-link > .right:nth-child(2), +.nav-sidebar .nav-link > p > .right:nth-child(2) { + right: 2.2rem; +} + +.nav-sidebar .menu-open > .nav-treeview { + display: block; +} + +.nav-sidebar .menu-open > .nav-link i.right { + -webkit-transform: rotate(-90deg); + transform: rotate(-90deg); +} + +.nav-sidebar > .nav-item { + margin-bottom: 0; +} + +.nav-sidebar > .nav-item .nav-icon { + margin-left: .05rem; + margin-right: .3rem; + text-align: center; + width: 2rem; +} + +.nav-sidebar > .nav-item .nav-icon.fa, .nav-sidebar > .nav-item .nav-icon.fas, .nav-sidebar > .nav-item .nav-icon.far, .nav-sidebar > .nav-item .nav-icon.fab, .nav-sidebar > .nav-item .nav-icon.glyphicon, .nav-sidebar > .nav-item .nav-icon.ion { + font-size: 1.1rem; +} + +.nav-sidebar > .nav-item .float-right { + margin-top: 3px; +} + +.nav-sidebar .nav-treeview { + display: none; + list-style: none; + padding: 0; +} + +.nav-sidebar.nav-child-indent .nav-treeview { + -webkit-transition: padding 0.3s ease-in-out; + transition: padding 0.3s ease-in-out; + padding-left: 1rem; +} + +.text-sm .nav-sidebar.nav-child-indent .nav-treeview { + padding-left: .5rem; +} + +.nav-sidebar.nav-child-indent.nav-legacy .nav-treeview .nav-treeview { + padding-left: 2rem; + margin-left: -1rem; +} + +.text-sm .nav-sidebar.nav-child-indent.nav-legacy .nav-treeview .nav-treeview { + padding-left: 1rem; + margin-left: -.5rem; +} + +.nav-sidebar .nav-header { + font-size: .9rem; + padding: 0.75rem; +} + +.nav-sidebar .nav-header:not(:first-of-type) { + padding: 1.7rem 1rem .5rem; +} + +.nav-sidebar .nav-link p { + display: inline-block; + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + margin: 0; +} + +#sidebar-overlay { + background-color: rgba(0, 0, 0, 0.1); + bottom: 0; + display: none; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1037; +} + +@media (max-width: 991.98px) { + .sidebar-open #sidebar-overlay { + display: block; + } +} + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand) .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand) .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview, +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview, +.sidebar-mini .main-sidebar.sidebar-focused .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview, +.sidebar-mini-md .main-sidebar.sidebar-focused .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview { + padding-left: 1rem; + margin-left: -.5rem; +} + +.nav-flat { + margin: 0 0 0; +} + +.nav-flat .nav-item > .nav-link { + border-radius: 0; + margin-bottom: 0; +} + +.nav-flat .nav-item > .nav-link > .nav-icon { + margin-left: .55rem; +} + +.nav-flat:not(.nav-child-indent) .nav-treeview .nav-item > .nav-link > .nav-icon { + margin-left: .4rem; +} + +.nav-flat.nav-child-indent .nav-treeview { + padding-left: 0; +} + +.nav-flat.nav-child-indent .nav-treeview .nav-icon { + margin-left: .85rem; +} + +.nav-flat.nav-child-indent .nav-treeview .nav-treeview { + border-left: .2rem solid; +} + +.nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-icon { + margin-left: 1.15rem; +} + +.nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: 1.45rem; +} + +.nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: 1.75rem; +} + +.nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: 2.05rem; +} + +.sidebar-collapse .nav-flat.nav-child-indent .nav-treeview .nav-icon { + margin-left: .55rem; +} + +.sidebar-collapse .nav-flat.nav-child-indent .nav-treeview .nav-link { + padding-left: calc(1rem - .2rem); +} + +.sidebar-collapse .nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-icon { + margin-left: .35rem; +} + +.sidebar-collapse .nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: .15rem; +} + +.sidebar-collapse .nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: -.15rem; +} + +.sidebar-collapse .nav-flat.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: -.35rem; +} + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-compact.nav-sidebar .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-compact.nav-sidebar .nav-treeview .nav-icon, +.sidebar-mini .main-sidebar.sidebar-focused .nav-flat.nav-compact.nav-sidebar .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar.sidebar-focused .nav-flat.nav-compact.nav-sidebar .nav-treeview .nav-icon { + margin-left: .4rem; +} + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-icon, +.sidebar-mini .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-icon { + margin-left: .85rem; +} + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-icon { + margin-left: 1.15rem; +} + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: 1.45rem; +} + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: 1.75rem; +} + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon, +.sidebar-mini-md .main-sidebar.sidebar-focused .nav-flat.nav-sidebar.nav-child-indent .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-treeview .nav-icon { + margin-left: 2.05rem; +} + +.nav-flat .nav-icon { + -webkit-transition: margin-left ease-in-out 0.3s; + transition: margin-left ease-in-out 0.3s; +} + +@media (prefers-reduced-motion: reduce) { + .nav-flat .nav-icon { + -webkit-transition: none; + transition: none; + } +} + +.nav-flat .nav-treeview .nav-icon { + margin-left: -.2rem; +} + +.nav-flat.nav-sidebar > .nav-item .nav-treeview, +.nav-flat.nav-sidebar > .nav-item > .nav-treeview { + background: rgba(255, 255, 255, 0.05); +} + +.nav-flat.nav-sidebar > .nav-item .nav-treeview .nav-item > .nav-link, +.nav-flat.nav-sidebar > .nav-item > .nav-treeview .nav-item > .nav-link { + border-left: .2rem solid; +} + +.nav-legacy { + margin: 0 0 0; + /* [class*='sidebar-dark'] & { + &.nav-sidebar > .nav-item { + .nav-treeview, + > .nav-treeview { + background: rgba($white, .05); + } + + > .nav-link.active { + color: $sidebar-dark-active-color; + } + } + + .nav-treeview > .nav-item > .nav-link { + &.active, + &:focus, + &:hover { + background: none; + color: $sidebar-dark-active-color; + } + } + } + + [class*='sidebar-light'] & { + &.nav-sidebar > .nav-item { + .nav-treeview, + > .nav-treeview { + background: rgba($black, .05); + } + + > .nav-link.active { + color: $sidebar-light-active-color; + } + } + + .nav-treeview > .nav-item > .nav-link { + &.active, + &:focus, + &:hover { + background: none; + color: $sidebar-light-active-color; + } + } + } */ +} + +.nav-legacy.nav-sidebar .nav-item > .nav-link { + border-radius: 0; + margin-bottom: 0; +} + +.nav-legacy.nav-sidebar .nav-item > .nav-link > .nav-icon { + margin-left: .55rem; +} + +.text-sm .nav-legacy.nav-sidebar .nav-item > .nav-link > .nav-icon { + margin-left: .75rem; +} + +.nav-legacy.nav-sidebar > .nav-item > .nav-link.active { + background: inherit; + border-left: 3px solid transparent; + -webkit-box-shadow: none; + box-shadow: none; +} + +.nav-legacy.nav-sidebar > .nav-item > .nav-link.active > .nav-icon { + margin-left: calc(.55rem - 3px); +} + +.text-sm .nav-legacy.nav-sidebar > .nav-item > .nav-link.active > .nav-icon { + margin-left: calc(.75rem - 3px); +} + +.text-sm .nav-legacy.nav-sidebar.nav-flat .nav-treeview .nav-item > .nav-link > .nav-icon { + margin-left: calc(.75rem - 3px); +} + +.sidebar-mini .nav-legacy > .nav-item .nav-link .nav-icon, +.sidebar-mini-md .nav-legacy > .nav-item .nav-link .nav-icon { + -webkit-transition: margin-left ease-in-out 0.3s; + transition: margin-left ease-in-out 0.3s; + margin-left: .75rem; +} + +@media (prefers-reduced-motion: reduce) { + .sidebar-mini .nav-legacy > .nav-item .nav-link .nav-icon, + .sidebar-mini-md .nav-legacy > .nav-item .nav-link .nav-icon { + -webkit-transition: none; + transition: none; + } +} + +.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview, +.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview, +.sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview, +.sidebar-mini-md.sidebar-collapse .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview { + padding-left: 1rem; +} + +.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview .nav-treeview, +.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview .nav-treeview, +.sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview .nav-treeview, +.sidebar-mini-md.sidebar-collapse .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview .nav-treeview { + padding-left: 2rem; + margin-left: -1rem; +} + +.sidebar-mini.sidebar-collapse.text-sm .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview, +.sidebar-mini.sidebar-collapse.text-sm .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview, +.sidebar-mini-md.sidebar-collapse.text-sm .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview, +.sidebar-mini-md.sidebar-collapse.text-sm .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview { + padding-left: .5rem; +} + +.sidebar-mini.sidebar-collapse.text-sm .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview .nav-treeview, +.sidebar-mini.sidebar-collapse.text-sm .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview .nav-treeview, +.sidebar-mini-md.sidebar-collapse.text-sm .main-sidebar.sidebar-focused .nav-legacy.nav-child-indent .nav-treeview .nav-treeview, +.sidebar-mini-md.sidebar-collapse.text-sm .main-sidebar:hover .nav-legacy.nav-child-indent .nav-treeview .nav-treeview { + padding-left: 1rem; + margin-left: -.5rem; +} + +.sidebar-mini.sidebar-collapse .nav-legacy > .nav-item > .nav-link .nav-icon, +.sidebar-mini-md.sidebar-collapse .nav-legacy > .nav-item > .nav-link .nav-icon { + margin-left: .55rem; +} + +.sidebar-mini.sidebar-collapse .nav-legacy > .nav-item > .nav-link.active > .nav-icon, +.sidebar-mini-md.sidebar-collapse .nav-legacy > .nav-item > .nav-link.active > .nav-icon { + margin-left: .36rem; +} + +.sidebar-mini.sidebar-collapse .nav-legacy.nav-child-indent .nav-treeview .nav-treeview, +.sidebar-mini-md.sidebar-collapse .nav-legacy.nav-child-indent .nav-treeview .nav-treeview { + padding-left: 0; + margin-left: 0; +} + +.sidebar-mini.sidebar-collapse.text-sm .nav-legacy > .nav-item > .nav-link .nav-icon, +.sidebar-mini-md.sidebar-collapse.text-sm .nav-legacy > .nav-item > .nav-link .nav-icon { + margin-left: .75rem; +} + +.sidebar-mini.sidebar-collapse.text-sm .nav-legacy > .nav-item > .nav-link.active > .nav-icon, +.sidebar-mini-md.sidebar-collapse.text-sm .nav-legacy > .nav-item > .nav-link.active > .nav-icon { + margin-left: calc(.75rem - 3px); +} + +.nav-collapse-hide-child .menu-open > .nav-treeview { + max-height: -webkit-min-content; + max-height: -moz-min-content; + max-height: min-content; + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.sidebar-collapse .nav-collapse-hide-child .menu-open > .nav-treeview { + max-height: 0; + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-collapse-hide-child .menu-open > .nav-treeview, +.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-collapse-hide-child .menu-open > .nav-treeview, +.sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .nav-collapse-hide-child .menu-open > .nav-treeview, +.sidebar-mini-md.sidebar-collapse .main-sidebar:hover .nav-collapse-hide-child .menu-open > .nav-treeview { + max-height: -webkit-min-content; + max-height: -moz-min-content; + max-height: min-content; + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.nav-compact .nav-link, +.nav-compact .nav-header { + padding-top: 0.375rem; + padding-bottom: 0.375rem; +} + +.nav-compact .nav-header:not(:first-of-type) { + padding-top: 1.125rem; + padding-bottom: 0.375rem; +} + +.nav-compact .nav-link > .right, +.nav-compact .nav-link > p > .right { + top: .465rem; +} + +.text-sm .nav-compact .nav-link > .right, +.text-sm .nav-compact .nav-link > p > .right { + top: .7rem; +} + +/* [class*='sidebar-dark'] { + .form-control-sidebar, + .btn-sidebar { + background: lighten($sidebar-dark-bg, 5%); + border: 1px solid lighten($sidebar-dark-bg, 15%); + color: lighten(color-yiq(lighten($sidebar-dark-bg, 5%)), 15%); + } + + .form-control-sidebar:focus, + .btn-sidebar:focus { + border: 1px solid lighten($sidebar-dark-bg, 30%); + } + + .btn-sidebar:hover { + background: lighten($sidebar-dark-bg, 7.5%); + } + + .btn-sidebar:focus { + background: lighten($sidebar-dark-bg, 10%); + } +} */ +/* [class*='sidebar-light'] { + .form-control-sidebar, + .btn-sidebar { + background: darken($sidebar-light-bg, 5%); + border: 1px solid darken($sidebar-light-bg, 15%); + color: color-yiq(darken($sidebar-light-bg, 5%)); + } + + .form-control-sidebar:focus, + .btn-sidebar:focus { + border: 1px solid darken($sidebar-light-bg, 30%); + } + + .btn-sidebar:hover { + background: darken($sidebar-light-bg, 7.5%); + } + + .btn-sidebar:focus { + background: darken($sidebar-light-bg, 10%); + } +} */ +.sidebar .form-inline .input-group { + width: 100%; +} + +.sidebar nav .form-inline { + margin-bottom: .2rem; +} + +.layout-boxed.sidebar-collapse .main-sidebar { + margin-left: 0; +} + +.layout-boxed .content-wrapper, +.layout-boxed .main-header, +.layout-boxed .main-footer { + z-index: 9999; + position: relative; +} + +.logo-xs, +.logo-xl { + opacity: 1; + position: absolute; + visibility: visible; +} + +.logo-xs.brand-image-xs, +.logo-xl.brand-image-xs { + left: 18px; + top: 12px; +} + +.logo-xs.brand-image-xl, +.logo-xl.brand-image-xl { + left: 12px; + top: 6px; +} + +.logo-xs { + opacity: 0; + visibility: hidden; +} + +.logo-xs.brand-image-xl { + left: 16px; + top: 8px; +} + +.brand-link.logo-switch::before { + content: '\00a0'; +} + +@media (min-width: 992px) { + .sidebar-mini .nav-sidebar, + .sidebar-mini .nav-sidebar > .nav-header, + .sidebar-mini .nav-sidebar .nav-link { + white-space: nowrap; + overflow: hidden; + } + .sidebar-mini.sidebar-collapse .d-hidden-mini { + display: none; + } + .sidebar-mini.sidebar-collapse .content-wrapper, + .sidebar-mini.sidebar-collapse .main-footer, + .sidebar-mini.sidebar-collapse .main-header { + margin-left: 3.8rem !important; + } + .sidebar-mini.sidebar-collapse .nav-sidebar .nav-header { + display: none; + } + .sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p { + width: 0; + } + .sidebar-mini.sidebar-collapse .sidebar .user-panel > .info, + .sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p, + .sidebar-mini.sidebar-collapse .brand-text { + margin-left: -10px; + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; + } + .sidebar-mini.sidebar-collapse .logo-xl { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; + } + .sidebar-mini.sidebar-collapse .logo-xs { + display: inline-block; + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: visible; + } + .sidebar-mini.sidebar-collapse .main-sidebar { + overflow-x: hidden; + } + .sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar::before { + margin-left: 0; + width: 3.8rem; + } + .sidebar-mini.sidebar-collapse .main-sidebar .user-panel .image { + float: none; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused { + width: 230px; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .brand-link, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-link { + width: 230px; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel { + text-align: left; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel .image, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel .image { + float: left; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel > .info, + .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-sidebar .nav-link p, + .sidebar-mini.sidebar-collapse .main-sidebar:hover .brand-text, + .sidebar-mini.sidebar-collapse .main-sidebar:hover .logo-xl, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel > .info, + .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar .nav-link p, + .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-text, + .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .logo-xl { + display: inline-block; + margin-left: 0; + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: visible; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .logo-xs, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .logo-xs { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .brand-image, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .brand-image { + margin-right: .5rem; + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .sidebar-form, + .sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel > .info, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .sidebar-form, + .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel > .info { + display: block !important; + -webkit-transform: translateZ(0); + } + .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-sidebar > .nav-item > .nav-link > span, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar > .nav-item > .nav-link > span { + display: inline-block !important; + } + .sidebar-mini.sidebar-collapse .visible-sidebar-mini { + display: block !important; + } + .sidebar-mini.sidebar-collapse.layout-fixed .main-sidebar:hover .brand-link { + width: 230px; + } + .sidebar-mini.sidebar-collapse.layout-fixed .brand-link { + width: 3.8rem; + } +} + +@media (max-width: 991.98px) { + .sidebar-mini.sidebar-collapse .main-sidebar { + -webkit-box-shadow: none !important; + box-shadow: none !important; + } +} + +@media (min-width: 768px) { + .sidebar-mini-md .nav-sidebar, + .sidebar-mini-md .nav-sidebar > .nav-header, + .sidebar-mini-md .nav-sidebar .nav-link { + white-space: nowrap; + overflow: hidden; + } + .sidebar-mini-md.sidebar-collapse .d-hidden-mini { + display: none; + } + .sidebar-mini-md.sidebar-collapse .content-wrapper, + .sidebar-mini-md.sidebar-collapse .main-footer, + .sidebar-mini-md.sidebar-collapse .main-header { + margin-left: 3.8rem !important; + } + .sidebar-mini-md.sidebar-collapse .nav-sidebar .nav-header { + display: none; + } + .sidebar-mini-md.sidebar-collapse .nav-sidebar .nav-link p { + width: 0; + } + .sidebar-mini-md.sidebar-collapse .sidebar .user-panel > .info, + .sidebar-mini-md.sidebar-collapse .nav-sidebar .nav-link p, + .sidebar-mini-md.sidebar-collapse .brand-text { + margin-left: -10px; + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; + } + .sidebar-mini-md.sidebar-collapse .logo-xl { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; + } + .sidebar-mini-md.sidebar-collapse .logo-xs { + display: inline-block; + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: visible; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar { + overflow-x: hidden; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar, .sidebar-mini-md.sidebar-collapse .main-sidebar::before { + margin-left: 0; + width: 3.8rem; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar .user-panel .image { + float: none; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused { + width: 230px; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .brand-link, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .brand-link { + width: 230px; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .user-panel, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .user-panel { + text-align: left; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .user-panel .image, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .user-panel .image { + float: left; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .user-panel > .info, + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .nav-sidebar .nav-link p, + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .brand-text, + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .logo-xl, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .user-panel > .info, + .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar .nav-link p, + .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .brand-text, + .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .logo-xl { + display: inline-block; + margin-left: 0; + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: visible; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .logo-xs, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .logo-xs { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .brand-image, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .brand-image { + margin-right: .5rem; + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .sidebar-form, + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .user-panel > .info, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .sidebar-form, + .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .user-panel > .info { + display: block !important; + -webkit-transform: translateZ(0); + } + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover .nav-sidebar > .nav-item > .nav-link > span, .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar > .nav-item > .nav-link > span { + display: inline-block !important; + } + .sidebar-mini-md.sidebar-collapse .visible-sidebar-mini { + display: block !important; + } + .sidebar-mini-md.sidebar-collapse.layout-fixed .main-sidebar:hover .brand-link { + width: 230px; + } + .sidebar-mini-md.sidebar-collapse.layout-fixed .brand-link { + width: 3.8rem; + } +} + +@media (max-width: 767.98px) { + .sidebar-mini-md.sidebar-collapse .main-sidebar { + -webkit-box-shadow: none !important; + box-shadow: none !important; + } +} + +@-webkit-keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +@-webkit-keyframes fadeOut { + from { + opacity: 1; + } + to { + opacity: 0; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + to { + opacity: 0; + } +} + +.sidebar-collapse .main-sidebar.sidebar-focused .nav-header, +.sidebar-collapse .main-sidebar:hover .nav-header { + display: inline-block; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover { + width: 3.8rem; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .nav-header, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .nav-header { + display: none; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .brand-link, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .brand-link { + width: 3.8rem !important; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .user-panel .image, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .user-panel .image { + float: none !important; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .logo-xs, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .logo-xs { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: visible; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .logo-xl, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .logo-xl { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .nav-sidebar.nav-child-indent .nav-treeview, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .nav-sidebar.nav-child-indent .nav-treeview { + padding-left: 0; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .brand-text, +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .user-panel > .info, +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .nav-sidebar .nav-link p, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .brand-text, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .user-panel > .info, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .nav-sidebar .nav-link p { + margin-left: -10px; + -webkit-animation-name: fadeOut; + animation-name: fadeOut; + -webkit-animation-duration: 0.3s; + animation-duration: 0.3s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; + visibility: hidden; + width: 0; +} + +.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused .nav-sidebar > .nav-item .nav-icon, +.sidebar-collapse .sidebar-no-expand.main-sidebar:hover .nav-sidebar > .nav-item .nav-icon { + margin-right: 0; +} + +.nav-sidebar { + position: relative; +} + +.nav-sidebar:hover { + overflow: visible; +} + +.sidebar-form, +.nav-sidebar > .nav-header { + overflow: hidden; + text-overflow: clip; +} + +.nav-sidebar .nav-item > .nav-link { + position: relative; + font-size: 14px; +} + +.nav-sidebar .nav-item > .nav-link > .float-right { + margin-top: -7px; + position: absolute; + right: 10px; + top: 50%; +} + +.nav-sidebar .nav-icon { + vertical-align: middle; + margin-top: -2px; +} + +.nav-sidebar > .nav-item > .nav-link.active, .nav-sidebar > .nav-item > .nav-link:focus { + background: #00aad2; +} + +.nav-sidebar > .nav-item > .nav-link .right { + right: 1rem; + top: 50%; + margin-top: -6.5px; +} + +.nav-sidebar > .nav-item.menu-open { + border-bottom: 2px solid #00aad2; +} + +.nav-sidebar > .nav-item.menu-open > .nav-link .right { + background-image: url("/images/btn-minus.svg"); + transform: none; + -webkit-transform: none; + -moz-transform: none; + -ms-transform: none; + -o-transform: none; +} + +.nav-sidebar > .nav-item > .nav { + background: #2b2b2b; +} + +.nav-sidebar > .nav-item > .nav .nav-link { + padding-top: 6px; + padding-bottom: 6px; +} + +.nav-sidebar > .nav-item > .nav > .nav-item > .nav-link .right { + right: 23px; + top: 50%; + margin-top: -4px; +} + +.nav-sidebar > .nav-item > .nav > .nav-item.menu-open > .nav-link p i { + transform: rotate(-180deg); + -webkit-transform: rotate(-180deg); + -moz-transform: rotate(-180deg); + -ms-transform: rotate(-180deg); + -o-transform: rotate(-180deg); + background-image: url("/images/btn-s-minus-down.svg"); +} + +.nav-sidebar > .nav-item > .nav > .nav-item > .nav { + background: #001936; +} + +.sidebar-collapse .main-sidebar .icon-logo { + background-image: url("/images/img-logo-small.svg"); + width: 30.1px; + height: 15.9px; +} + +.sidebar .nav-link p, +.main-sidebar .brand-text, +.main-sidebar .logo-xs, +.main-sidebar .logo-xl, +.sidebar .user-panel .info { + -webkit-transition: margin-left 0.3s linear, opacity 0.3s ease, visibility 0.3s ease; + transition: margin-left 0.3s linear, opacity 0.3s ease, visibility 0.3s ease; +} + +@media (prefers-reduced-motion: reduce) { + .sidebar .nav-link p, + .main-sidebar .brand-text, + .main-sidebar .logo-xs, + .main-sidebar .logo-xl, + .sidebar .user-panel .info { + -webkit-transition: none; + transition: none; + } +} + +html.control-sidebar-animate { + overflow-x: hidden; +} + +.control-sidebar { + bottom: calc(3.5rem + 1px); + position: absolute; + top: calc(4.8125rem + 1px); + z-index: 1031; +} + +.control-sidebar, .control-sidebar::before { + bottom: calc(3.5rem + 1px); + display: none; + right: -230px; + width: 230px; + -webkit-transition: right 0.3s ease-in-out, display 0.3s ease-in-out; + transition: right 0.3s ease-in-out, display 0.3s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .control-sidebar, .control-sidebar::before { + -webkit-transition: none; + transition: none; + } +} + +.control-sidebar::before { + content: ''; + display: block; + position: fixed; + top: 0; + z-index: -1; +} + +body.text-sm .control-sidebar { + bottom: calc(2.77244rem + 1px); + top: calc(3.77319rem + 1px); +} + +.main-header.text-sm ~ .control-sidebar { + top: calc(3.77319rem + 1px); +} + +.main-footer.text-sm ~ .control-sidebar { + bottom: calc(2.77244rem + 1px); +} + +.control-sidebar-push-slide .content-wrapper, +.control-sidebar-push-slide .main-footer { + -webkit-transition: margin-right 0.3s ease-in-out; + transition: margin-right 0.3s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .control-sidebar-push-slide .content-wrapper, + .control-sidebar-push-slide .main-footer { + -webkit-transition: none; + transition: none; + } +} + +.control-sidebar-open .control-sidebar { + display: block; +} + +.control-sidebar-open .control-sidebar, .control-sidebar-open .control-sidebar::before { + right: 0; +} + +.control-sidebar-open.control-sidebar-push .content-wrapper, +.control-sidebar-open.control-sidebar-push .main-footer, .control-sidebar-open.control-sidebar-push-slide .content-wrapper, +.control-sidebar-open.control-sidebar-push-slide .main-footer { + margin-right: 230px; +} + +.control-sidebar-slide-open .control-sidebar { + display: block; +} + +.control-sidebar-slide-open .control-sidebar, .control-sidebar-slide-open .control-sidebar::before { + right: 0; + -webkit-transition: right 0.3s ease-in-out, display 0.3s ease-in-out; + transition: right 0.3s ease-in-out, display 0.3s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .control-sidebar-slide-open .control-sidebar, .control-sidebar-slide-open .control-sidebar::before { + -webkit-transition: none; + transition: none; + } +} + +.control-sidebar-slide-open.control-sidebar-push .content-wrapper, +.control-sidebar-slide-open.control-sidebar-push .main-footer, .control-sidebar-slide-open.control-sidebar-push-slide .content-wrapper, +.control-sidebar-slide-open.control-sidebar-push-slide .main-footer { + margin-right: 230px; +} + +.control-sidebar-dark, +.control-sidebar-dark a, +.control-sidebar-dark .nav-link { + color: #C2C7D0; +} + +.control-sidebar-dark { + background: #343a40; +} + +.control-sidebar-dark a:hover { + color: #ffffff; +} + +.control-sidebar-dark h1, +.control-sidebar-dark h2, +.control-sidebar-dark h3, +.control-sidebar-dark h4, +.control-sidebar-dark h5, +.control-sidebar-dark h6, +.control-sidebar-dark label { + color: #ffffff; +} + +.control-sidebar-dark .nav-tabs { + background-color: rgba(255, 255, 255, 0.1); + border-bottom: 0; + margin-bottom: 5px; +} + +.control-sidebar-dark .nav-tabs .nav-item { + margin: 0; +} + +.control-sidebar-dark .nav-tabs .nav-link { + border-radius: 0; + padding: 10px 20px; + position: relative; + text-align: center; +} + +.control-sidebar-dark .nav-tabs .nav-link, .control-sidebar-dark .nav-tabs .nav-link:hover, .control-sidebar-dark .nav-tabs .nav-link:active, .control-sidebar-dark .nav-tabs .nav-link:focus, .control-sidebar-dark .nav-tabs .nav-link.active { + border: 0; +} + +.control-sidebar-dark .nav-tabs .nav-link:hover, .control-sidebar-dark .nav-tabs .nav-link:active, .control-sidebar-dark .nav-tabs .nav-link:focus, .control-sidebar-dark .nav-tabs .nav-link.active { + border-bottom-color: transparent; + border-left-color: transparent; + border-top-color: transparent; + color: #ffffff; +} + +.control-sidebar-dark .nav-tabs .nav-link.active { + background-color: #343a40; +} + +.control-sidebar-dark .tab-pane { + padding: 10px 15px; +} + +.control-sidebar-light { + color: #4b545c; +} + +.control-sidebar-light { + background: #ffffff; + border-left: 1px solid #1f4672; +} + +.text-sm .dropdown-menu { + font-size: 0.76562rem !important; +} + +.text-sm .dropdown-toggle::after { + vertical-align: .2rem; +} + +.dropdown-item-title { + font-size: 0.875rem; + margin: 0; +} + +.dropdown-icon::after { + margin-left: 0; +} + +.dropdown-menu-lg { + max-width: 300px; + min-width: 280px; + padding: 0; +} + +.dropdown-menu-lg .dropdown-divider { + margin: 0; +} + +.dropdown-menu-lg .dropdown-item { + padding: 0.5rem 1rem; +} + +.dropdown-menu-lg p { + margin: 0; + white-space: normal; +} + +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu > a:after { + border-top: 0.3em solid transparent; + border-right: 0; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; + float: right; + margin-left: .5rem; + margin-top: .5rem; +} + +.dropdown-submenu > .dropdown-menu { + left: 100%; + margin-left: 0px; + margin-top: 0px; + top: 0; +} + +.dropdown-hover:hover > .dropdown-menu, .dropdown-hover.nav-item.dropdown:hover > .dropdown-menu, +.dropdown-hover .dropdown-submenu:hover > .dropdown-menu, .dropdown-hover.dropdown-submenu:hover > .dropdown-menu { + display: block; +} + +.dropdown-menu-xl { + max-width: 420px; + min-width: 360px; + padding: 0; +} + +.dropdown-menu-xl .dropdown-divider { + margin: 0; +} + +.dropdown-menu-xl .dropdown-item { + padding: 0.5rem 1rem; +} + +.dropdown-menu-xl p { + margin: 0; + white-space: normal; +} + +.dropdown-footer, +.dropdown-header { + display: block; + font-size: 0.76562rem; + padding: 0.5rem 1rem; + text-align: center; +} + +.open:not(.dropup) > .animated-dropdown-menu { + -webkit-animation: flipInX 0.7s both; + animation: flipInX 0.7s both; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; +} + +@-webkit-keyframes flipInX { + 0% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-transition-timing-function: ease-in; + transition-timing-function: ease-in; + opacity: 0; + } + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-transition-timing-function: ease-in; + transition-timing-function: ease-in; + } + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + 100% { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInX { + 0% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-transition-timing-function: ease-in; + transition-timing-function: ease-in; + opacity: 0; + } + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-transition-timing-function: ease-in; + transition-timing-function: ease-in; + } + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + 100% { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.navbar-custom-menu > .navbar-nav > li { + position: relative; +} + +.navbar-custom-menu > .navbar-nav > li > .dropdown-menu { + position: absolute; + right: 0; + left: auto; +} + +@media (max-width: 767.98px) { + .navbar-custom-menu > .navbar-nav { + float: right; + } + .navbar-custom-menu > .navbar-nav > li { + position: static; + } + .navbar-custom-menu > .navbar-nav > li > .dropdown-menu { + position: absolute; + right: 5%; + left: auto; + border: 1px solid #ddd; + background: #ffffff; + } +} + +.navbar-nav > .user-menu > .nav-link:after { + content: none; +} + +.navbar-nav > .user-menu > .dropdown-menu { + border-top-left-radius: 0; + border-top-right-radius: 0; + padding: 0; + width: 280px; +} + +.navbar-nav > .user-menu > .dropdown-menu, +.navbar-nav > .user-menu > .dropdown-menu > .user-body { + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.navbar-nav > .user-menu > .dropdown-menu > li.user-header { + height: 175px; + padding: 10px; + text-align: center; +} + +.navbar-nav > .user-menu > .dropdown-menu > li.user-header > img { + z-index: 5; + height: 90px; + width: 90px; + border: 3px solid; + border-color: transparent; + border-color: rgba(255, 255, 255, 0.2); +} + +.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p { + z-index: 5; + font-size: 17px; + margin-top: 10px; +} + +.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p > small { + display: block; + font-size: 12px; +} + +.navbar-nav > .user-menu > .dropdown-menu > .user-body { + border-bottom: 1px solid #495057; + border-top: 1px solid #dee2e6; + padding: 15px; +} + +.navbar-nav > .user-menu > .dropdown-menu > .user-body::after { + display: block; + clear: both; + content: ""; +} + +@media (min-width: 576px) { + .navbar-nav > .user-menu > .dropdown-menu > .user-body a { + background: #ffffff !important; + color: #495057 !important; + } +} + +.navbar-nav > .user-menu > .dropdown-menu > .user-footer { + background-color: #f8f9fa; + padding: 10px; +} + +.navbar-nav > .user-menu > .dropdown-menu > .user-footer::after { + display: block; + clear: both; + content: ""; +} + +.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default { + color: #6c757d; +} + +@media (min-width: 576px) { + .navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default:hover { + background-color: #f8f9fa; + } +} + +.navbar-nav > .user-menu .user-image { + border-radius: 50%; + float: left; + height: 2.3rem; + margin-right: 10px; + margin-top: -2px; + width: 2.3rem; +} + +@media (min-width: 576px) { + .navbar-nav > .user-menu .user-image { + float: none; + line-height: 10px; + margin-right: .4rem; + margin-top: -8px; + } +} + +.nav-pills .nav-link { + color: #6c757d; +} + +.nav-pills .nav-item.dropdown.show .nav-link:hover { + color: #ffffff; +} + +.nav-tabs.flex-column { + border-bottom: 0; + border-right: 1px solid #dee2e6; +} + +.nav-tabs.flex-column .nav-link { + border-bottom-left-radius: 0.3rem; + border-top-right-radius: 0; + margin-right: -1px; +} + +.nav-tabs.flex-column .nav-link:hover, .nav-tabs.flex-column .nav-link:focus { + border-color: #e9ecef transparent #e9ecef #e9ecef; +} + +.nav-tabs.flex-column .nav-link.active, +.nav-tabs.flex-column .nav-item.show .nav-link { + border-color: #dee2e6 transparent #dee2e6 #dee2e6; +} + +.nav-tabs.flex-column.nav-tabs-right { + border-left: 1px solid #dee2e6; + border-right: 0; +} + +.nav-tabs.flex-column.nav-tabs-right .nav-link { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0.3rem; + border-top-left-radius: 0; + border-top-right-radius: 0.3rem; + margin-left: -1px; +} + +.nav-tabs.flex-column.nav-tabs-right .nav-link:hover, .nav-tabs.flex-column.nav-tabs-right .nav-link:focus { + border-color: #e9ecef #e9ecef #e9ecef transparent; +} + +.nav-tabs.flex-column.nav-tabs-right .nav-link.active, +.nav-tabs.flex-column.nav-tabs-right .nav-item.show .nav-link { + border-color: #dee2e6 #dee2e6 #dee2e6 transparent; +} + +.navbar-no-expand { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} + +.navbar-no-expand .nav-link { + padding-left: 1rem; + padding-right: 1rem; +} + +.navbar-no-expand .dropdown-menu { + position: absolute; +} + +.navbar-light { + background-color: #e4dcd3; +} + +.navbar-dark { + background-color: #343a40; +} + +.navbar-primary { + background-color: #002c5f; +} + +.navbar-secondary { + background-color: #00aad2; +} + +.navbar-success { + background-color: #2a609e; +} + +.navbar-info { + background-color: #aacae6; +} + +.navbar-warning { + background-color: #ffc107; +} + +.navbar-danger { + background-color: #b74b37; +} + +.navbar-lightblue { + background-color: #00aad2; +} + +.navbar-navy { + background-color: #002c5f; +} + +.navbar-olive { + background-color: #3d9970; +} + +.navbar-lime { + background-color: #01ff70; +} + +.navbar-fuchsia { + background-color: #f012be; +} + +.navbar-maroon { + background-color: #d81b60; +} + +.navbar-blue { + background-color: #2a609e; +} + +.navbar-indigo { + background-color: #6610f2; +} + +.navbar-purple { + background-color: #6f42c1; +} + +.navbar-pink { + background-color: #e83e8c; +} + +.navbar-red { + background-color: #b74b37; +} + +.navbar-orange { + background-color: #fd7e14; +} + +.navbar-yellow { + background-color: #ffc107; +} + +.navbar-green { + background-color: #28a745; +} + +.navbar-teal { + background-color: #20c997; +} + +.navbar-cyan { + background-color: #17a2b8; +} + +.navbar-white { + background-color: #ffffff; +} + +.navbar-gray { + background-color: #6c757d; +} + +.navbar-gray-dark { + background-color: #343a40; +} + +.form-group.has-icon { + position: relative; +} + +.form-group.has-icon .form-control { + padding-right: 35px; +} + +.form-group.has-icon .form-icon { + background-color: transparent; + border: 0; + cursor: pointer; + font-size: 1rem; + padding: 0.375rem 0.75rem; + position: absolute; + right: 3px; + top: 0; +} + +.btn-group-vertical .btn.btn-flat:first-of-type, .btn-group-vertical .btn.btn-flat:last-of-type { + border-radius: 0; +} + +.form-control-feedback.fa, .form-control-feedback.fas, .form-control-feedback.far, .form-control-feedback.fab, .form-control-feedback.glyphicon, .form-control-feedback.ion { + line-height: calc(2.0625rem + 2px); +} + +.input-lg + .form-control-feedback.fa, .input-lg + .form-control-feedback.fas, .input-lg + .form-control-feedback.far, .input-lg + .form-control-feedback.fab, .input-lg + .form-control-feedback.glyphicon, .input-lg + .form-control-feedback.ion, +.input-group-lg + .form-control-feedback.fa, +.input-group-lg + .form-control-feedback.fas, +.input-group-lg + .form-control-feedback.far, +.input-group-lg + .form-control-feedback.fab, +.input-group-lg + .form-control-feedback.glyphicon, +.input-group-lg + .form-control-feedback.ion { + line-height: calc(2.64062rem + 2px); +} + +.form-group-lg .form-control + .form-control-feedback.fa, .form-group-lg .form-control + .form-control-feedback.fas, .form-group-lg .form-control + .form-control-feedback.far, .form-group-lg .form-control + .form-control-feedback.fab, .form-group-lg .form-control + .form-control-feedback.glyphicon, .form-group-lg .form-control + .form-control-feedback.ion { + line-height: calc(2.64062rem + 2px); +} + +.input-sm + .form-control-feedback.fa, .input-sm + .form-control-feedback.fas, .input-sm + .form-control-feedback.far, .input-sm + .form-control-feedback.fab, .input-sm + .form-control-feedback.glyphicon, .input-sm + .form-control-feedback.ion, +.input-group-sm + .form-control-feedback.fa, +.input-group-sm + .form-control-feedback.fas, +.input-group-sm + .form-control-feedback.far, +.input-group-sm + .form-control-feedback.fab, +.input-group-sm + .form-control-feedback.glyphicon, +.input-group-sm + .form-control-feedback.ion { + line-height: calc(1.64844rem + 2px); +} + +.form-group-sm .form-control + .form-control-feedback.fa, .form-group-sm .form-control + .form-control-feedback.fas, .form-group-sm .form-control + .form-control-feedback.far, .form-group-sm .form-control + .form-control-feedback.fab, .form-group-sm .form-control + .form-control-feedback.glyphicon, .form-group-sm .form-control + .form-control-feedback.ion { + line-height: calc(1.64844rem + 2px); +} + +.warning-feedback { + font-size: 80%; + color: #ffc107; + display: none; + margin-top: 0.25rem; + width: 100%; +} + +.warning-tooltip { + border-radius: 0.3rem; + font-size: 0.76562rem; + background-color: rgba(255, 193, 7, 0.9); + color: #ffffff; + display: none; + line-height: 1.5; + margin-top: .1rem; + max-width: 100%; + padding: 0.25rem 0.5rem; + position: absolute; + top: 100%; + z-index: 5; +} + +.form-control.is-warning { + border-color: #ffc107; +} + +.form-control.is-warning:focus { + border-color: #ffc107; + -webkit-box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); +} + +.form-control.is-warning ~ .warning-feedback, +.form-control.is-warning ~ .warning-tooltip { + display: block; +} + +textarea.form-control.is-warning { + padding-right: 2.0625rem; + background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); +} + +.custom-select.is-warning { + border-color: #ffc107; +} + +.custom-select.is-warning:focus { + border-color: #ffc107; + -webkit-box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); +} + +.custom-select.is-warning ~ .warning-feedback, +.custom-select.is-warning ~ .warning-tooltip { + display: block; +} + +.form-control-file.is-warning ~ .warning-feedback, +.form-control-file.is-warning ~ .warning-tooltip { + display: block; +} + +.form-check-input.is-warning ~ .form-check-label { + color: #ffc107; +} + +.form-check-input.is-warning ~ .warning-feedback, +.form-check-input.is-warning ~ .warning-tooltip { + display: block; +} + +.custom-control-input.is-warning ~ .custom-control-label { + color: #ffc107; +} + +.custom-control-input.is-warning ~ .custom-control-label::before { + border-color: #ffc107; +} + +.custom-control-input.is-warning ~ .warning-feedback, +.custom-control-input.is-warning ~ .warning-tooltip { + display: block; +} + +.custom-control-input.is-warning:checked ~ .custom-control-label::before { + background-color: #ffce3a; + border-color: #ffce3a; +} + +.custom-control-input.is-warning:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); +} + +.custom-control-input.is-warning:focus:not(:checked) ~ .custom-control-label::before { + border-color: #ffc107; +} + +.custom-file-input.is-warning ~ .custom-file-label { + border-color: #ffc107; +} + +.custom-file-input.is-warning ~ .warning-feedback, +.custom-file-input.is-warning ~ .warning-tooltip { + display: block; +} + +.custom-file-input.is-warning:focus ~ .custom-file-label { + border-color: #ffc107; + -webkit-box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.25); +} + +.custom-switch.custom-switch-off-primary .custom-control-input ~ .custom-control-label::before { + background: #002c5f; + border-color: black; +} + +.custom-switch.custom-switch-off-primary .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-switch.custom-switch-off-primary .custom-control-input ~ .custom-control-label::after { + background: black; +} + +.custom-switch.custom-switch-on-primary .custom-control-input:checked ~ .custom-control-label::before { + background: #002c5f; + border-color: black; +} + +.custom-switch.custom-switch-on-primary .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-switch.custom-switch-on-primary .custom-control-input:checked ~ .custom-control-label::after { + background: #0073f8; +} + +.custom-switch.custom-switch-off-secondary .custom-control-input ~ .custom-control-label::before { + background: #00aad2; + border-color: #00576c; +} + +.custom-switch.custom-switch-off-secondary .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-switch.custom-switch-off-secondary .custom-control-input ~ .custom-control-label::after { + background: #004353; +} + +.custom-switch.custom-switch-on-secondary .custom-control-input:checked ~ .custom-control-label::before { + background: #00aad2; + border-color: #00576c; +} + +.custom-switch.custom-switch-on-secondary .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-switch.custom-switch-on-secondary .custom-control-input:checked ~ .custom-control-label::after { + background: #6ce3ff; +} + +.custom-switch.custom-switch-off-success .custom-control-input ~ .custom-control-label::before { + background: #2a609e; + border-color: #152f4d; +} + +.custom-switch.custom-switch-off-success .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-switch.custom-switch-off-success .custom-control-input ~ .custom-control-label::after { + background: #0f2339; +} + +.custom-switch.custom-switch-on-success .custom-control-input:checked ~ .custom-control-label::before { + background: #2a609e; + border-color: #152f4d; +} + +.custom-switch.custom-switch-on-success .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-switch.custom-switch-on-success .custom-control-input:checked ~ .custom-control-label::after { + background: #83adde; +} + +.custom-switch.custom-switch-off-info .custom-control-input ~ .custom-control-label::before { + background: #aacae6; + border-color: #5b99cf; +} + +.custom-switch.custom-switch-off-info .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); +} + +.custom-switch.custom-switch-off-info .custom-control-input ~ .custom-control-label::after { + background: #478dc9; +} + +.custom-switch.custom-switch-on-info .custom-control-input:checked ~ .custom-control-label::before { + background: #aacae6; + border-color: #5b99cf; +} + +.custom-switch.custom-switch-on-info .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); +} + +.custom-switch.custom-switch-on-info .custom-control-input:checked ~ .custom-control-label::after { + background: white; +} + +.custom-switch.custom-switch-off-warning .custom-control-input ~ .custom-control-label::before { + background: #ffc107; + border-color: #a07800; +} + +.custom-switch.custom-switch-off-warning .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-switch.custom-switch-off-warning .custom-control-input ~ .custom-control-label::after { + background: #876500; +} + +.custom-switch.custom-switch-on-warning .custom-control-input:checked ~ .custom-control-label::before { + background: #ffc107; + border-color: #a07800; +} + +.custom-switch.custom-switch-on-warning .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-switch.custom-switch-on-warning .custom-control-input:checked ~ .custom-control-label::after { + background: #ffe7a0; +} + +.custom-switch.custom-switch-off-danger .custom-control-input ~ .custom-control-label::before { + background: #b74b37; + border-color: #692b1f; +} + +.custom-switch.custom-switch-off-danger .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-switch.custom-switch-off-danger .custom-control-input ~ .custom-control-label::after { + background: #55231a; +} + +.custom-switch.custom-switch-on-danger .custom-control-input:checked ~ .custom-control-label::before { + background: #b74b37; + border-color: #692b1f; +} + +.custom-switch.custom-switch-on-danger .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-switch.custom-switch-on-danger .custom-control-input:checked ~ .custom-control-label::after { + background: #e4aea4; +} + +.custom-switch.custom-switch-off-light .custom-control-input ~ .custom-control-label::before { + background: #e4dcd3; + border-color: #bdaa94; +} + +.custom-switch.custom-switch-off-light .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); +} + +.custom-switch.custom-switch-off-light .custom-control-input ~ .custom-control-label::after { + background: #b49d84; +} + +.custom-switch.custom-switch-on-light .custom-control-input:checked ~ .custom-control-label::before { + background: #e4dcd3; + border-color: #bdaa94; +} + +.custom-switch.custom-switch-on-light .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); +} + +.custom-switch.custom-switch-on-light .custom-control-input:checked ~ .custom-control-label::after { + background: white; +} + +.custom-switch.custom-switch-off-dark .custom-control-input ~ .custom-control-label::before { + background: #343a40; + border-color: #060708; +} + +.custom-switch.custom-switch-off-dark .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-switch.custom-switch-off-dark .custom-control-input ~ .custom-control-label::after { + background: black; +} + +.custom-switch.custom-switch-on-dark .custom-control-input:checked ~ .custom-control-label::before { + background: #343a40; + border-color: #060708; +} + +.custom-switch.custom-switch-on-dark .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-switch.custom-switch-on-dark .custom-control-input:checked ~ .custom-control-label::after { + background: #7a8793; +} + +.custom-switch.custom-switch-off-lightblue .custom-control-input ~ .custom-control-label::before { + background: #00aad2; + border-color: #00576c; +} + +.custom-switch.custom-switch-off-lightblue .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-switch.custom-switch-off-lightblue .custom-control-input ~ .custom-control-label::after { + background: #004353; +} + +.custom-switch.custom-switch-on-lightblue .custom-control-input:checked ~ .custom-control-label::before { + background: #00aad2; + border-color: #00576c; +} + +.custom-switch.custom-switch-on-lightblue .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-switch.custom-switch-on-lightblue .custom-control-input:checked ~ .custom-control-label::after { + background: #6ce3ff; +} + +.custom-switch.custom-switch-off-navy .custom-control-input ~ .custom-control-label::before { + background: #002c5f; + border-color: black; +} + +.custom-switch.custom-switch-off-navy .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-switch.custom-switch-off-navy .custom-control-input ~ .custom-control-label::after { + background: black; +} + +.custom-switch.custom-switch-on-navy .custom-control-input:checked ~ .custom-control-label::before { + background: #002c5f; + border-color: black; +} + +.custom-switch.custom-switch-on-navy .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-switch.custom-switch-on-navy .custom-control-input:checked ~ .custom-control-label::after { + background: #0073f8; +} + +.custom-switch.custom-switch-off-olive .custom-control-input ~ .custom-control-label::before { + background: #3d9970; + border-color: #20503b; +} + +.custom-switch.custom-switch-off-olive .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); +} + +.custom-switch.custom-switch-off-olive .custom-control-input ~ .custom-control-label::after { + background: #193e2d; +} + +.custom-switch.custom-switch-on-olive .custom-control-input:checked ~ .custom-control-label::before { + background: #3d9970; + border-color: #20503b; +} + +.custom-switch.custom-switch-on-olive .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); +} + +.custom-switch.custom-switch-on-olive .custom-control-input:checked ~ .custom-control-label::after { + background: #99d6bb; +} + +.custom-switch.custom-switch-off-lime .custom-control-input ~ .custom-control-label::before { + background: #01ff70; + border-color: #009a43; +} + +.custom-switch.custom-switch-off-lime .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); +} + +.custom-switch.custom-switch-off-lime .custom-control-input ~ .custom-control-label::after { + background: #008138; +} + +.custom-switch.custom-switch-on-lime .custom-control-input:checked ~ .custom-control-label::before { + background: #01ff70; + border-color: #009a43; +} + +.custom-switch.custom-switch-on-lime .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); +} + +.custom-switch.custom-switch-on-lime .custom-control-input:checked ~ .custom-control-label::after { + background: #9affc6; +} + +.custom-switch.custom-switch-off-fuchsia .custom-control-input ~ .custom-control-label::before { + background: #f012be; + border-color: #930974; +} + +.custom-switch.custom-switch-off-fuchsia .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); +} + +.custom-switch.custom-switch-off-fuchsia .custom-control-input ~ .custom-control-label::after { + background: #7b0861; +} + +.custom-switch.custom-switch-on-fuchsia .custom-control-input:checked ~ .custom-control-label::before { + background: #f012be; + border-color: #930974; +} + +.custom-switch.custom-switch-on-fuchsia .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); +} + +.custom-switch.custom-switch-on-fuchsia .custom-control-input:checked ~ .custom-control-label::after { + background: #f9a2e5; +} + +.custom-switch.custom-switch-off-maroon .custom-control-input ~ .custom-control-label::before { + background: #d81b60; + border-color: #7d1038; +} + +.custom-switch.custom-switch-off-maroon .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); +} + +.custom-switch.custom-switch-off-maroon .custom-control-input ~ .custom-control-label::after { + background: #670d2e; +} + +.custom-switch.custom-switch-on-maroon .custom-control-input:checked ~ .custom-control-label::before { + background: #d81b60; + border-color: #7d1038; +} + +.custom-switch.custom-switch-on-maroon .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); +} + +.custom-switch.custom-switch-on-maroon .custom-control-input:checked ~ .custom-control-label::after { + background: #f29aba; +} + +.custom-switch.custom-switch-off-blue .custom-control-input ~ .custom-control-label::before { + background: #2a609e; + border-color: #152f4d; +} + +.custom-switch.custom-switch-off-blue .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-switch.custom-switch-off-blue .custom-control-input ~ .custom-control-label::after { + background: #0f2339; +} + +.custom-switch.custom-switch-on-blue .custom-control-input:checked ~ .custom-control-label::before { + background: #2a609e; + border-color: #152f4d; +} + +.custom-switch.custom-switch-on-blue .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-switch.custom-switch-on-blue .custom-control-input:checked ~ .custom-control-label::after { + background: #83adde; +} + +.custom-switch.custom-switch-off-indigo .custom-control-input ~ .custom-control-label::before { + background: #6610f2; + border-color: #3d0894; +} + +.custom-switch.custom-switch-off-indigo .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); +} + +.custom-switch.custom-switch-off-indigo .custom-control-input ~ .custom-control-label::after { + background: #33077c; +} + +.custom-switch.custom-switch-on-indigo .custom-control-input:checked ~ .custom-control-label::before { + background: #6610f2; + border-color: #3d0894; +} + +.custom-switch.custom-switch-on-indigo .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); +} + +.custom-switch.custom-switch-on-indigo .custom-control-input:checked ~ .custom-control-label::after { + background: #c3a1fa; +} + +.custom-switch.custom-switch-off-purple .custom-control-input ~ .custom-control-label::before { + background: #6f42c1; + border-color: #432776; +} + +.custom-switch.custom-switch-off-purple .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); +} + +.custom-switch.custom-switch-off-purple .custom-control-input ~ .custom-control-label::after { + background: #382063; +} + +.custom-switch.custom-switch-on-purple .custom-control-input:checked ~ .custom-control-label::before { + background: #6f42c1; + border-color: #432776; +} + +.custom-switch.custom-switch-on-purple .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); +} + +.custom-switch.custom-switch-on-purple .custom-control-input:checked ~ .custom-control-label::after { + background: #c7b5e7; +} + +.custom-switch.custom-switch-off-pink .custom-control-input ~ .custom-control-label::before { + background: #e83e8c; + border-color: #ac145a; +} + +.custom-switch.custom-switch-off-pink .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); +} + +.custom-switch.custom-switch-off-pink .custom-control-input ~ .custom-control-label::after { + background: #95124e; +} + +.custom-switch.custom-switch-on-pink .custom-control-input:checked ~ .custom-control-label::before { + background: #e83e8c; + border-color: #ac145a; +} + +.custom-switch.custom-switch-on-pink .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); +} + +.custom-switch.custom-switch-on-pink .custom-control-input:checked ~ .custom-control-label::after { + background: #f8c7dd; +} + +.custom-switch.custom-switch-off-red .custom-control-input ~ .custom-control-label::before { + background: #b74b37; + border-color: #692b1f; +} + +.custom-switch.custom-switch-off-red .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-switch.custom-switch-off-red .custom-control-input ~ .custom-control-label::after { + background: #55231a; +} + +.custom-switch.custom-switch-on-red .custom-control-input:checked ~ .custom-control-label::before { + background: #b74b37; + border-color: #692b1f; +} + +.custom-switch.custom-switch-on-red .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-switch.custom-switch-on-red .custom-control-input:checked ~ .custom-control-label::after { + background: #e4aea4; +} + +.custom-switch.custom-switch-off-orange .custom-control-input ~ .custom-control-label::before { + background: #fd7e14; + border-color: #aa4e01; +} + +.custom-switch.custom-switch-off-orange .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); +} + +.custom-switch.custom-switch-off-orange .custom-control-input ~ .custom-control-label::after { + background: #904201; +} + +.custom-switch.custom-switch-on-orange .custom-control-input:checked ~ .custom-control-label::before { + background: #fd7e14; + border-color: #aa4e01; +} + +.custom-switch.custom-switch-on-orange .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); +} + +.custom-switch.custom-switch-on-orange .custom-control-input:checked ~ .custom-control-label::after { + background: #fed1ac; +} + +.custom-switch.custom-switch-off-yellow .custom-control-input ~ .custom-control-label::before { + background: #ffc107; + border-color: #a07800; +} + +.custom-switch.custom-switch-off-yellow .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-switch.custom-switch-off-yellow .custom-control-input ~ .custom-control-label::after { + background: #876500; +} + +.custom-switch.custom-switch-on-yellow .custom-control-input:checked ~ .custom-control-label::before { + background: #ffc107; + border-color: #a07800; +} + +.custom-switch.custom-switch-on-yellow .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-switch.custom-switch-on-yellow .custom-control-input:checked ~ .custom-control-label::after { + background: #ffe7a0; +} + +.custom-switch.custom-switch-off-green .custom-control-input ~ .custom-control-label::before { + background: #28a745; + border-color: #145523; +} + +.custom-switch.custom-switch-off-green .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); +} + +.custom-switch.custom-switch-off-green .custom-control-input ~ .custom-control-label::after { + background: #0f401b; +} + +.custom-switch.custom-switch-on-green .custom-control-input:checked ~ .custom-control-label::before { + background: #28a745; + border-color: #145523; +} + +.custom-switch.custom-switch-on-green .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); +} + +.custom-switch.custom-switch-on-green .custom-control-input:checked ~ .custom-control-label::after { + background: #86e29b; +} + +.custom-switch.custom-switch-off-teal .custom-control-input ~ .custom-control-label::before { + background: #20c997; + border-color: #127155; +} + +.custom-switch.custom-switch-off-teal .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); +} + +.custom-switch.custom-switch-off-teal .custom-control-input ~ .custom-control-label::after { + background: #0e5b44; +} + +.custom-switch.custom-switch-on-teal .custom-control-input:checked ~ .custom-control-label::before { + background: #20c997; + border-color: #127155; +} + +.custom-switch.custom-switch-on-teal .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); +} + +.custom-switch.custom-switch-on-teal .custom-control-input:checked ~ .custom-control-label::after { + background: #94eed3; +} + +.custom-switch.custom-switch-off-cyan .custom-control-input ~ .custom-control-label::before { + background: #17a2b8; + border-color: #0c525d; +} + +.custom-switch.custom-switch-off-cyan .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); +} + +.custom-switch.custom-switch-off-cyan .custom-control-input ~ .custom-control-label::after { + background: #093e47; +} + +.custom-switch.custom-switch-on-cyan .custom-control-input:checked ~ .custom-control-label::before { + background: #17a2b8; + border-color: #0c525d; +} + +.custom-switch.custom-switch-on-cyan .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); +} + +.custom-switch.custom-switch-on-cyan .custom-control-input:checked ~ .custom-control-label::after { + background: #7adeee; +} + +.custom-switch.custom-switch-off-white .custom-control-input ~ .custom-control-label::before { + background: #ffffff; + border-color: #cccccc; +} + +.custom-switch.custom-switch-off-white .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); +} + +.custom-switch.custom-switch-off-white .custom-control-input ~ .custom-control-label::after { + background: #bfbfbf; +} + +.custom-switch.custom-switch-on-white .custom-control-input:checked ~ .custom-control-label::before { + background: #ffffff; + border-color: #cccccc; +} + +.custom-switch.custom-switch-on-white .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); +} + +.custom-switch.custom-switch-on-white .custom-control-input:checked ~ .custom-control-label::after { + background: white; +} + +.custom-switch.custom-switch-off-gray .custom-control-input ~ .custom-control-label::before { + background: #6c757d; + border-color: #3d4246; +} + +.custom-switch.custom-switch-off-gray .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); +} + +.custom-switch.custom-switch-off-gray .custom-control-input ~ .custom-control-label::after { + background: #313539; +} + +.custom-switch.custom-switch-on-gray .custom-control-input:checked ~ .custom-control-label::before { + background: #6c757d; + border-color: #3d4246; +} + +.custom-switch.custom-switch-on-gray .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); +} + +.custom-switch.custom-switch-on-gray .custom-control-input:checked ~ .custom-control-label::after { + background: #bcc1c6; +} + +.custom-switch.custom-switch-off-gray-dark .custom-control-input ~ .custom-control-label::before { + background: #343a40; + border-color: #060708; +} + +.custom-switch.custom-switch-off-gray-dark .custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-switch.custom-switch-off-gray-dark .custom-control-input ~ .custom-control-label::after { + background: black; +} + +.custom-switch.custom-switch-on-gray-dark .custom-control-input:checked ~ .custom-control-label::before { + background: #343a40; + border-color: #060708; +} + +.custom-switch.custom-switch-on-gray-dark .custom-control-input:checked:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-switch.custom-switch-on-gray-dark .custom-control-input:checked ~ .custom-control-label::after { + background: #7a8793; +} + +.custom-range.custom-range-primary:focus { + outline: none; +} + +.custom-range.custom-range-primary:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-range.custom-range-primary:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-range.custom-range-primary:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-range.custom-range-primary::-webkit-slider-thumb { + background-color: #002c5f; +} + +.custom-range.custom-range-primary::-webkit-slider-thumb:active { + background-color: #1380ff; +} + +.custom-range.custom-range-primary::-moz-range-thumb { + background-color: #002c5f; +} + +.custom-range.custom-range-primary::-moz-range-thumb:active { + background-color: #1380ff; +} + +.custom-range.custom-range-primary::-ms-thumb { + background-color: #002c5f; +} + +.custom-range.custom-range-primary::-ms-thumb:active { + background-color: #1380ff; +} + +.custom-range.custom-range-secondary:focus { + outline: none; +} + +.custom-range.custom-range-secondary:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-range.custom-range-secondary:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-range.custom-range-secondary:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-range.custom-range-secondary::-webkit-slider-thumb { + background-color: #00aad2; +} + +.custom-range.custom-range-secondary::-webkit-slider-thumb:active { + background-color: #86e8ff; +} + +.custom-range.custom-range-secondary::-moz-range-thumb { + background-color: #00aad2; +} + +.custom-range.custom-range-secondary::-moz-range-thumb:active { + background-color: #86e8ff; +} + +.custom-range.custom-range-secondary::-ms-thumb { + background-color: #00aad2; +} + +.custom-range.custom-range-secondary::-ms-thumb:active { + background-color: #86e8ff; +} + +.custom-range.custom-range-success:focus { + outline: none; +} + +.custom-range.custom-range-success:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-range.custom-range-success:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-range.custom-range-success:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-range.custom-range-success::-webkit-slider-thumb { + background-color: #2a609e; +} + +.custom-range.custom-range-success::-webkit-slider-thumb:active { + background-color: #97bbe3; +} + +.custom-range.custom-range-success::-moz-range-thumb { + background-color: #2a609e; +} + +.custom-range.custom-range-success::-moz-range-thumb:active { + background-color: #97bbe3; +} + +.custom-range.custom-range-success::-ms-thumb { + background-color: #2a609e; +} + +.custom-range.custom-range-success::-ms-thumb:active { + background-color: #97bbe3; +} + +.custom-range.custom-range-info:focus { + outline: none; +} + +.custom-range.custom-range-info:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); +} + +.custom-range.custom-range-info:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); +} + +.custom-range.custom-range-info:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(170, 202, 230, 0.25); +} + +.custom-range.custom-range-info::-webkit-slider-thumb { + background-color: #aacae6; +} + +.custom-range.custom-range-info::-webkit-slider-thumb:active { + background-color: white; +} + +.custom-range.custom-range-info::-moz-range-thumb { + background-color: #aacae6; +} + +.custom-range.custom-range-info::-moz-range-thumb:active { + background-color: white; +} + +.custom-range.custom-range-info::-ms-thumb { + background-color: #aacae6; +} + +.custom-range.custom-range-info::-ms-thumb:active { + background-color: white; +} + +.custom-range.custom-range-warning:focus { + outline: none; +} + +.custom-range.custom-range-warning:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-range.custom-range-warning:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-range.custom-range-warning:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-range.custom-range-warning::-webkit-slider-thumb { + background-color: #ffc107; +} + +.custom-range.custom-range-warning::-webkit-slider-thumb:active { + background-color: #ffeeba; +} + +.custom-range.custom-range-warning::-moz-range-thumb { + background-color: #ffc107; +} + +.custom-range.custom-range-warning::-moz-range-thumb:active { + background-color: #ffeeba; +} + +.custom-range.custom-range-warning::-ms-thumb { + background-color: #ffc107; +} + +.custom-range.custom-range-warning::-ms-thumb:active { + background-color: #ffeeba; +} + +.custom-range.custom-range-danger:focus { + outline: none; +} + +.custom-range.custom-range-danger:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-range.custom-range-danger:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-range.custom-range-danger:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-range.custom-range-danger::-webkit-slider-thumb { + background-color: #b74b37; +} + +.custom-range.custom-range-danger::-webkit-slider-thumb:active { + background-color: #e9bfb7; +} + +.custom-range.custom-range-danger::-moz-range-thumb { + background-color: #b74b37; +} + +.custom-range.custom-range-danger::-moz-range-thumb:active { + background-color: #e9bfb7; +} + +.custom-range.custom-range-danger::-ms-thumb { + background-color: #b74b37; +} + +.custom-range.custom-range-danger::-ms-thumb:active { + background-color: #e9bfb7; +} + +.custom-range.custom-range-light:focus { + outline: none; +} + +.custom-range.custom-range-light:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); +} + +.custom-range.custom-range-light:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); +} + +.custom-range.custom-range-light:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(228, 220, 211, 0.25); +} + +.custom-range.custom-range-light::-webkit-slider-thumb { + background-color: #e4dcd3; +} + +.custom-range.custom-range-light::-webkit-slider-thumb:active { + background-color: white; +} + +.custom-range.custom-range-light::-moz-range-thumb { + background-color: #e4dcd3; +} + +.custom-range.custom-range-light::-moz-range-thumb:active { + background-color: white; +} + +.custom-range.custom-range-light::-ms-thumb { + background-color: #e4dcd3; +} + +.custom-range.custom-range-light::-ms-thumb:active { + background-color: white; +} + +.custom-range.custom-range-dark:focus { + outline: none; +} + +.custom-range.custom-range-dark:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-range.custom-range-dark:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-range.custom-range-dark:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-range.custom-range-dark::-webkit-slider-thumb { + background-color: #343a40; +} + +.custom-range.custom-range-dark::-webkit-slider-thumb:active { + background-color: #88939e; +} + +.custom-range.custom-range-dark::-moz-range-thumb { + background-color: #343a40; +} + +.custom-range.custom-range-dark::-moz-range-thumb:active { + background-color: #88939e; +} + +.custom-range.custom-range-dark::-ms-thumb { + background-color: #343a40; +} + +.custom-range.custom-range-dark::-ms-thumb:active { + background-color: #88939e; +} + +.custom-range.custom-range-lightblue:focus { + outline: none; +} + +.custom-range.custom-range-lightblue:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-range.custom-range-lightblue:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-range.custom-range-lightblue:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 170, 210, 0.25); +} + +.custom-range.custom-range-lightblue::-webkit-slider-thumb { + background-color: #00aad2; +} + +.custom-range.custom-range-lightblue::-webkit-slider-thumb:active { + background-color: #86e8ff; +} + +.custom-range.custom-range-lightblue::-moz-range-thumb { + background-color: #00aad2; +} + +.custom-range.custom-range-lightblue::-moz-range-thumb:active { + background-color: #86e8ff; +} + +.custom-range.custom-range-lightblue::-ms-thumb { + background-color: #00aad2; +} + +.custom-range.custom-range-lightblue::-ms-thumb:active { + background-color: #86e8ff; +} + +.custom-range.custom-range-navy:focus { + outline: none; +} + +.custom-range.custom-range-navy:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-range.custom-range-navy:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-range.custom-range-navy:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(0, 44, 95, 0.25); +} + +.custom-range.custom-range-navy::-webkit-slider-thumb { + background-color: #002c5f; +} + +.custom-range.custom-range-navy::-webkit-slider-thumb:active { + background-color: #1380ff; +} + +.custom-range.custom-range-navy::-moz-range-thumb { + background-color: #002c5f; +} + +.custom-range.custom-range-navy::-moz-range-thumb:active { + background-color: #1380ff; +} + +.custom-range.custom-range-navy::-ms-thumb { + background-color: #002c5f; +} + +.custom-range.custom-range-navy::-ms-thumb:active { + background-color: #1380ff; +} + +.custom-range.custom-range-olive:focus { + outline: none; +} + +.custom-range.custom-range-olive:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); +} + +.custom-range.custom-range-olive:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); +} + +.custom-range.custom-range-olive:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(61, 153, 112, 0.25); +} + +.custom-range.custom-range-olive::-webkit-slider-thumb { + background-color: #3d9970; +} + +.custom-range.custom-range-olive::-webkit-slider-thumb:active { + background-color: #abdec7; +} + +.custom-range.custom-range-olive::-moz-range-thumb { + background-color: #3d9970; +} + +.custom-range.custom-range-olive::-moz-range-thumb:active { + background-color: #abdec7; +} + +.custom-range.custom-range-olive::-ms-thumb { + background-color: #3d9970; +} + +.custom-range.custom-range-olive::-ms-thumb:active { + background-color: #abdec7; +} + +.custom-range.custom-range-lime:focus { + outline: none; +} + +.custom-range.custom-range-lime:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); +} + +.custom-range.custom-range-lime:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); +} + +.custom-range.custom-range-lime:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(1, 255, 112, 0.25); +} + +.custom-range.custom-range-lime::-webkit-slider-thumb { + background-color: #01ff70; +} + +.custom-range.custom-range-lime::-webkit-slider-thumb:active { + background-color: #b4ffd4; +} + +.custom-range.custom-range-lime::-moz-range-thumb { + background-color: #01ff70; +} + +.custom-range.custom-range-lime::-moz-range-thumb:active { + background-color: #b4ffd4; +} + +.custom-range.custom-range-lime::-ms-thumb { + background-color: #01ff70; +} + +.custom-range.custom-range-lime::-ms-thumb:active { + background-color: #b4ffd4; +} + +.custom-range.custom-range-fuchsia:focus { + outline: none; +} + +.custom-range.custom-range-fuchsia:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); +} + +.custom-range.custom-range-fuchsia:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); +} + +.custom-range.custom-range-fuchsia:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(240, 18, 190, 0.25); +} + +.custom-range.custom-range-fuchsia::-webkit-slider-thumb { + background-color: #f012be; +} + +.custom-range.custom-range-fuchsia::-webkit-slider-thumb:active { + background-color: #fbbaec; +} + +.custom-range.custom-range-fuchsia::-moz-range-thumb { + background-color: #f012be; +} + +.custom-range.custom-range-fuchsia::-moz-range-thumb:active { + background-color: #fbbaec; +} + +.custom-range.custom-range-fuchsia::-ms-thumb { + background-color: #f012be; +} + +.custom-range.custom-range-fuchsia::-ms-thumb:active { + background-color: #fbbaec; +} + +.custom-range.custom-range-maroon:focus { + outline: none; +} + +.custom-range.custom-range-maroon:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); +} + +.custom-range.custom-range-maroon:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); +} + +.custom-range.custom-range-maroon:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(216, 27, 96, 0.25); +} + +.custom-range.custom-range-maroon::-webkit-slider-thumb { + background-color: #d81b60; +} + +.custom-range.custom-range-maroon::-webkit-slider-thumb:active { + background-color: #f5b0c9; +} + +.custom-range.custom-range-maroon::-moz-range-thumb { + background-color: #d81b60; +} + +.custom-range.custom-range-maroon::-moz-range-thumb:active { + background-color: #f5b0c9; +} + +.custom-range.custom-range-maroon::-ms-thumb { + background-color: #d81b60; +} + +.custom-range.custom-range-maroon::-ms-thumb:active { + background-color: #f5b0c9; +} + +.custom-range.custom-range-blue:focus { + outline: none; +} + +.custom-range.custom-range-blue:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-range.custom-range-blue:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-range.custom-range-blue:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(42, 96, 158, 0.25); +} + +.custom-range.custom-range-blue::-webkit-slider-thumb { + background-color: #2a609e; +} + +.custom-range.custom-range-blue::-webkit-slider-thumb:active { + background-color: #97bbe3; +} + +.custom-range.custom-range-blue::-moz-range-thumb { + background-color: #2a609e; +} + +.custom-range.custom-range-blue::-moz-range-thumb:active { + background-color: #97bbe3; +} + +.custom-range.custom-range-blue::-ms-thumb { + background-color: #2a609e; +} + +.custom-range.custom-range-blue::-ms-thumb:active { + background-color: #97bbe3; +} + +.custom-range.custom-range-indigo:focus { + outline: none; +} + +.custom-range.custom-range-indigo:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); +} + +.custom-range.custom-range-indigo:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); +} + +.custom-range.custom-range-indigo:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(102, 16, 242, 0.25); +} + +.custom-range.custom-range-indigo::-webkit-slider-thumb { + background-color: #6610f2; +} + +.custom-range.custom-range-indigo::-webkit-slider-thumb:active { + background-color: #d2b9fb; +} + +.custom-range.custom-range-indigo::-moz-range-thumb { + background-color: #6610f2; +} + +.custom-range.custom-range-indigo::-moz-range-thumb:active { + background-color: #d2b9fb; +} + +.custom-range.custom-range-indigo::-ms-thumb { + background-color: #6610f2; +} + +.custom-range.custom-range-indigo::-ms-thumb:active { + background-color: #d2b9fb; +} + +.custom-range.custom-range-purple:focus { + outline: none; +} + +.custom-range.custom-range-purple:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); +} + +.custom-range.custom-range-purple:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); +} + +.custom-range.custom-range-purple:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(111, 66, 193, 0.25); +} + +.custom-range.custom-range-purple::-webkit-slider-thumb { + background-color: #6f42c1; +} + +.custom-range.custom-range-purple::-webkit-slider-thumb:active { + background-color: #d5c8ed; +} + +.custom-range.custom-range-purple::-moz-range-thumb { + background-color: #6f42c1; +} + +.custom-range.custom-range-purple::-moz-range-thumb:active { + background-color: #d5c8ed; +} + +.custom-range.custom-range-purple::-ms-thumb { + background-color: #6f42c1; +} + +.custom-range.custom-range-purple::-ms-thumb:active { + background-color: #d5c8ed; +} + +.custom-range.custom-range-pink:focus { + outline: none; +} + +.custom-range.custom-range-pink:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); +} + +.custom-range.custom-range-pink:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); +} + +.custom-range.custom-range-pink:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(232, 62, 140, 0.25); +} + +.custom-range.custom-range-pink::-webkit-slider-thumb { + background-color: #e83e8c; +} + +.custom-range.custom-range-pink::-webkit-slider-thumb:active { + background-color: #fbddeb; +} + +.custom-range.custom-range-pink::-moz-range-thumb { + background-color: #e83e8c; +} + +.custom-range.custom-range-pink::-moz-range-thumb:active { + background-color: #fbddeb; +} + +.custom-range.custom-range-pink::-ms-thumb { + background-color: #e83e8c; +} + +.custom-range.custom-range-pink::-ms-thumb:active { + background-color: #fbddeb; +} + +.custom-range.custom-range-red:focus { + outline: none; +} + +.custom-range.custom-range-red:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-range.custom-range-red:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-range.custom-range-red:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(183, 75, 55, 0.25); +} + +.custom-range.custom-range-red::-webkit-slider-thumb { + background-color: #b74b37; +} + +.custom-range.custom-range-red::-webkit-slider-thumb:active { + background-color: #e9bfb7; +} + +.custom-range.custom-range-red::-moz-range-thumb { + background-color: #b74b37; +} + +.custom-range.custom-range-red::-moz-range-thumb:active { + background-color: #e9bfb7; +} + +.custom-range.custom-range-red::-ms-thumb { + background-color: #b74b37; +} + +.custom-range.custom-range-red::-ms-thumb:active { + background-color: #e9bfb7; +} + +.custom-range.custom-range-orange:focus { + outline: none; +} + +.custom-range.custom-range-orange:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); +} + +.custom-range.custom-range-orange:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); +} + +.custom-range.custom-range-orange:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(253, 126, 20, 0.25); +} + +.custom-range.custom-range-orange::-webkit-slider-thumb { + background-color: #fd7e14; +} + +.custom-range.custom-range-orange::-webkit-slider-thumb:active { + background-color: #ffdfc5; +} + +.custom-range.custom-range-orange::-moz-range-thumb { + background-color: #fd7e14; +} + +.custom-range.custom-range-orange::-moz-range-thumb:active { + background-color: #ffdfc5; +} + +.custom-range.custom-range-orange::-ms-thumb { + background-color: #fd7e14; +} + +.custom-range.custom-range-orange::-ms-thumb:active { + background-color: #ffdfc5; +} + +.custom-range.custom-range-yellow:focus { + outline: none; +} + +.custom-range.custom-range-yellow:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-range.custom-range-yellow:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-range.custom-range-yellow:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 193, 7, 0.25); +} + +.custom-range.custom-range-yellow::-webkit-slider-thumb { + background-color: #ffc107; +} + +.custom-range.custom-range-yellow::-webkit-slider-thumb:active { + background-color: #ffeeba; +} + +.custom-range.custom-range-yellow::-moz-range-thumb { + background-color: #ffc107; +} + +.custom-range.custom-range-yellow::-moz-range-thumb:active { + background-color: #ffeeba; +} + +.custom-range.custom-range-yellow::-ms-thumb { + background-color: #ffc107; +} + +.custom-range.custom-range-yellow::-ms-thumb:active { + background-color: #ffeeba; +} + +.custom-range.custom-range-green:focus { + outline: none; +} + +.custom-range.custom-range-green:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); +} + +.custom-range.custom-range-green:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); +} + +.custom-range.custom-range-green:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(40, 167, 69, 0.25); +} + +.custom-range.custom-range-green::-webkit-slider-thumb { + background-color: #28a745; +} + +.custom-range.custom-range-green::-webkit-slider-thumb:active { + background-color: #9be7ac; +} + +.custom-range.custom-range-green::-moz-range-thumb { + background-color: #28a745; +} + +.custom-range.custom-range-green::-moz-range-thumb:active { + background-color: #9be7ac; +} + +.custom-range.custom-range-green::-ms-thumb { + background-color: #28a745; +} + +.custom-range.custom-range-green::-ms-thumb:active { + background-color: #9be7ac; +} + +.custom-range.custom-range-teal:focus { + outline: none; +} + +.custom-range.custom-range-teal:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); +} + +.custom-range.custom-range-teal:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); +} + +.custom-range.custom-range-teal:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(32, 201, 151, 0.25); +} + +.custom-range.custom-range-teal::-webkit-slider-thumb { + background-color: #20c997; +} + +.custom-range.custom-range-teal::-webkit-slider-thumb:active { + background-color: #aaf1dc; +} + +.custom-range.custom-range-teal::-moz-range-thumb { + background-color: #20c997; +} + +.custom-range.custom-range-teal::-moz-range-thumb:active { + background-color: #aaf1dc; +} + +.custom-range.custom-range-teal::-ms-thumb { + background-color: #20c997; +} + +.custom-range.custom-range-teal::-ms-thumb:active { + background-color: #aaf1dc; +} + +.custom-range.custom-range-cyan:focus { + outline: none; +} + +.custom-range.custom-range-cyan:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); +} + +.custom-range.custom-range-cyan:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); +} + +.custom-range.custom-range-cyan:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(23, 162, 184, 0.25); +} + +.custom-range.custom-range-cyan::-webkit-slider-thumb { + background-color: #17a2b8; +} + +.custom-range.custom-range-cyan::-webkit-slider-thumb:active { + background-color: #90e4f1; +} + +.custom-range.custom-range-cyan::-moz-range-thumb { + background-color: #17a2b8; +} + +.custom-range.custom-range-cyan::-moz-range-thumb:active { + background-color: #90e4f1; +} + +.custom-range.custom-range-cyan::-ms-thumb { + background-color: #17a2b8; +} + +.custom-range.custom-range-cyan::-ms-thumb:active { + background-color: #90e4f1; +} + +.custom-range.custom-range-white:focus { + outline: none; +} + +.custom-range.custom-range-white:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); +} + +.custom-range.custom-range-white:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); +} + +.custom-range.custom-range-white:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(255, 255, 255, 0.25); +} + +.custom-range.custom-range-white::-webkit-slider-thumb { + background-color: #ffffff; +} + +.custom-range.custom-range-white::-webkit-slider-thumb:active { + background-color: white; +} + +.custom-range.custom-range-white::-moz-range-thumb { + background-color: #ffffff; +} + +.custom-range.custom-range-white::-moz-range-thumb:active { + background-color: white; +} + +.custom-range.custom-range-white::-ms-thumb { + background-color: #ffffff; +} + +.custom-range.custom-range-white::-ms-thumb:active { + background-color: white; +} + +.custom-range.custom-range-gray:focus { + outline: none; +} + +.custom-range.custom-range-gray:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); +} + +.custom-range.custom-range-gray:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); +} + +.custom-range.custom-range-gray:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(108, 117, 125, 0.25); +} + +.custom-range.custom-range-gray::-webkit-slider-thumb { + background-color: #6c757d; +} + +.custom-range.custom-range-gray::-webkit-slider-thumb:active { + background-color: #caced1; +} + +.custom-range.custom-range-gray::-moz-range-thumb { + background-color: #6c757d; +} + +.custom-range.custom-range-gray::-moz-range-thumb:active { + background-color: #caced1; +} + +.custom-range.custom-range-gray::-ms-thumb { + background-color: #6c757d; +} + +.custom-range.custom-range-gray::-ms-thumb:active { + background-color: #caced1; +} + +.custom-range.custom-range-gray-dark:focus { + outline: none; +} + +.custom-range.custom-range-gray-dark:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-range.custom-range-gray-dark:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-range.custom-range-gray-dark:focus::-ms-thumb { + box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(52, 58, 64, 0.25); +} + +.custom-range.custom-range-gray-dark::-webkit-slider-thumb { + background-color: #343a40; +} + +.custom-range.custom-range-gray-dark::-webkit-slider-thumb:active { + background-color: #88939e; +} + +.custom-range.custom-range-gray-dark::-moz-range-thumb { + background-color: #343a40; +} + +.custom-range.custom-range-gray-dark::-moz-range-thumb:active { + background-color: #88939e; +} + +.custom-range.custom-range-gray-dark::-ms-thumb { + background-color: #343a40; +} + +.custom-range.custom-range-gray-dark::-ms-thumb:active { + background-color: #88939e; +} + +.progress { + -webkit-box-shadow: none; + box-shadow: none; + border-radius: 1px; +} + +.progress.vertical { + display: inline-block; + height: 200px; + margin-right: 10px; + position: relative; + width: 30px; +} + +.progress.vertical > .progress-bar { + bottom: 0; + position: absolute; + width: 100%; +} + +.progress.vertical.sm, .progress.vertical.progress-sm { + width: 20px; +} + +.progress.vertical.xs, .progress.vertical.progress-xs { + width: 10px; +} + +.progress.vertical.xxs, .progress.vertical.progress-xxs { + width: 3px; +} + +.progress-group { + margin-bottom: 0.5rem; +} + +.progress-sm { + height: 10px; +} + +.progress-xs { + height: 7px; +} + +.progress-xxs { + height: 3px; +} + +.table tr > td .progress { + margin: 0; +} + +.card-primary:not(.card-outline) > .card-header { + background-color: #002c5f; +} + +.card-primary:not(.card-outline) > .card-header, +.card-primary:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-primary:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-primary.card-outline { + border-top: 3px solid #002c5f; +} + +.card-primary.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-primary.card-outline-tabs > .card-header a.active { + border-top: 3px solid #002c5f; +} + +.bg-primary .btn-tool, +.bg-gradient-primary .btn-tool, +.card-primary:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-primary .btn-tool:hover, +.bg-gradient-primary .btn-tool:hover, +.card-primary:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-primary .bootstrap-datetimepicker-widget .table td, +.card.bg-primary .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-primary .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-primary .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-primary .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-primary .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-primary .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table td.second:hover { + background: #001936; + color: #ffffff; +} + +.card.bg-primary .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-primary .bootstrap-datetimepicker-widget table td.active, +.card.bg-primary .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-primary .bootstrap-datetimepicker-widget table td.active:hover { + background: #004492; + color: #ffffff; +} + +.card-secondary:not(.card-outline) > .card-header { + background-color: #00aad2; +} + +.card-secondary:not(.card-outline) > .card-header, +.card-secondary:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-secondary:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-secondary.card-outline { + border-top: 3px solid #00aad2; +} + +.card-secondary.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-secondary.card-outline-tabs > .card-header a.active { + border-top: 3px solid #00aad2; +} + +.bg-secondary .btn-tool, +.bg-gradient-secondary .btn-tool, +.card-secondary:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-secondary .btn-tool:hover, +.bg-gradient-secondary .btn-tool:hover, +.card-secondary:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-secondary .bootstrap-datetimepicker-widget .table td, +.card.bg-secondary .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-secondary .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-secondary .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-secondary .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-secondary .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-secondary .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table td.second:hover { + background: #0089a9; + color: #ffffff; +} + +.card.bg-secondary .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-secondary .bootstrap-datetimepicker-widget table td.active, +.card.bg-secondary .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-secondary .bootstrap-datetimepicker-widget table td.active:hover { + background: #06d0ff; + color: #ffffff; +} + +.card-success:not(.card-outline) > .card-header { + background-color: #2a609e; +} + +.card-success:not(.card-outline) > .card-header, +.card-success:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-success:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-success.card-outline { + border-top: 3px solid #2a609e; +} + +.card-success.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-success.card-outline-tabs > .card-header a.active { + border-top: 3px solid #2a609e; +} + +.bg-success .btn-tool, +.bg-gradient-success .btn-tool, +.card-success:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-success .btn-tool:hover, +.bg-gradient-success .btn-tool:hover, +.card-success:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-success .bootstrap-datetimepicker-widget .table td, +.card.bg-success .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-success .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-success .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-success .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-success .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-success .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-success .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-success .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table td.second:hover { + background: #214c7e; + color: #ffffff; +} + +.card.bg-success .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-success .bootstrap-datetimepicker-widget table td.active, +.card.bg-success .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-success .bootstrap-datetimepicker-widget table td.active:hover { + background: #3578c6; + color: #ffffff; +} + +.card-info:not(.card-outline) > .card-header { + background-color: #aacae6; +} + +.card-info:not(.card-outline) > .card-header, +.card-info:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-info:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-info.card-outline { + border-top: 3px solid #aacae6; +} + +.card-info.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-info.card-outline-tabs > .card-header a.active { + border-top: 3px solid #aacae6; +} + +.bg-info .btn-tool, +.bg-gradient-info .btn-tool, +.card-info:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-info .btn-tool:hover, +.bg-gradient-info .btn-tool:hover, +.card-info:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-info .bootstrap-datetimepicker-widget .table td, +.card.bg-info .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-info .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-info .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-info .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-info .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-info .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-info .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-info .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table td.second:hover { + background: #8ab6dd; + color: #ffffff; +} + +.card.bg-info .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-info .bootstrap-datetimepicker-widget table td.active, +.card.bg-info .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-info .bootstrap-datetimepicker-widget table td.active:hover { + background: #d1e3f2; + color: #ffffff; +} + +.card-warning:not(.card-outline) > .card-header { + background-color: #ffc107; +} + +.card-warning:not(.card-outline) > .card-header, +.card-warning:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-warning:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-warning.card-outline { + border-top: 3px solid #ffc107; +} + +.card-warning.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-warning.card-outline-tabs > .card-header a.active { + border-top: 3px solid #ffc107; +} + +.bg-warning .btn-tool, +.bg-gradient-warning .btn-tool, +.card-warning:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-warning .btn-tool:hover, +.bg-gradient-warning .btn-tool:hover, +.card-warning:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-warning .bootstrap-datetimepicker-widget .table td, +.card.bg-warning .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-warning .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-warning .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-warning .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-warning .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-warning .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.second:hover { + background: #dda600; + color: #ffffff; +} + +.card.bg-warning .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-warning .bootstrap-datetimepicker-widget table td.active, +.card.bg-warning .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-warning .bootstrap-datetimepicker-widget table td.active:hover { + background: #ffce3a; + color: #ffffff; +} + +.card-danger:not(.card-outline) > .card-header { + background-color: #b74b37; +} + +.card-danger:not(.card-outline) > .card-header, +.card-danger:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-danger:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-danger.card-outline { + border-top: 3px solid #b74b37; +} + +.card-danger.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-danger.card-outline-tabs > .card-header a.active { + border-top: 3px solid #b74b37; +} + +.bg-danger .btn-tool, +.bg-gradient-danger .btn-tool, +.card-danger:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-danger .btn-tool:hover, +.bg-gradient-danger .btn-tool:hover, +.card-danger:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-danger .bootstrap-datetimepicker-widget .table td, +.card.bg-danger .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-danger .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-danger .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-danger .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-danger .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-danger .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table td.second:hover { + background: #983e2e; + color: #ffffff; +} + +.card.bg-danger .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-danger .bootstrap-datetimepicker-widget table td.active, +.card.bg-danger .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-danger .bootstrap-datetimepicker-widget table td.active:hover { + background: #cc6855; + color: #ffffff; +} + +.card-light:not(.card-outline) > .card-header { + background-color: #e4dcd3; +} + +.card-light:not(.card-outline) > .card-header, +.card-light:not(.card-outline) > .card-header a { + color: #1F2D3D; +} + +.card-light:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-light.card-outline { + border-top: 3px solid #e4dcd3; +} + +.card-light.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-light.card-outline-tabs > .card-header a.active { + border-top: 3px solid #e4dcd3; +} + +.bg-light .btn-tool, +.bg-gradient-light .btn-tool, +.card-light:not(.card-outline) .btn-tool { + color: rgba(31, 45, 61, 0.8); +} + +.bg-light .btn-tool:hover, +.bg-gradient-light .btn-tool:hover, +.card-light:not(.card-outline) .btn-tool:hover { + color: #1F2D3D; +} + +.card.bg-light .bootstrap-datetimepicker-widget .table td, +.card.bg-light .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-light .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-light .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-light .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-light .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-light .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-light .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-light .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table td.second:hover { + background: #d4c8ba; + color: #1F2D3D; +} + +.card.bg-light .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #1F2D3D; +} + +.card.bg-light .bootstrap-datetimepicker-widget table td.active, +.card.bg-light .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-light .bootstrap-datetimepicker-widget table td.active:hover { + background: #f7f5f3; + color: #1F2D3D; +} + +.card-dark:not(.card-outline) > .card-header { + background-color: #343a40; +} + +.card-dark:not(.card-outline) > .card-header, +.card-dark:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-dark:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-dark.card-outline { + border-top: 3px solid #343a40; +} + +.card-dark.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-dark.card-outline-tabs > .card-header a.active { + border-top: 3px solid #343a40; +} + +.bg-dark .btn-tool, +.bg-gradient-dark .btn-tool, +.card-dark:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-dark .btn-tool:hover, +.bg-gradient-dark .btn-tool:hover, +.card-dark:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-dark .bootstrap-datetimepicker-widget .table td, +.card.bg-dark .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-dark .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-dark .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-dark .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-dark .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-dark .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table td.second:hover { + background: #222629; + color: #ffffff; +} + +.card.bg-dark .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-dark .bootstrap-datetimepicker-widget table td.active, +.card.bg-dark .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-dark .bootstrap-datetimepicker-widget table td.active:hover { + background: #4b545c; + color: #ffffff; +} + +.card-lightblue:not(.card-outline) > .card-header { + background-color: #00aad2; +} + +.card-lightblue:not(.card-outline) > .card-header, +.card-lightblue:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-lightblue:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-lightblue.card-outline { + border-top: 3px solid #00aad2; +} + +.card-lightblue.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-lightblue.card-outline-tabs > .card-header a.active { + border-top: 3px solid #00aad2; +} + +.bg-lightblue .btn-tool, +.bg-gradient-lightblue .btn-tool, +.card-lightblue:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-lightblue .btn-tool:hover, +.bg-gradient-lightblue .btn-tool:hover, +.card-lightblue:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-lightblue .bootstrap-datetimepicker-widget .table td, +.card.bg-lightblue .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-lightblue .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-lightblue .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-lightblue .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-lightblue .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-lightblue .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table td.second:hover { + background: #0089a9; + color: #ffffff; +} + +.card.bg-lightblue .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-lightblue .bootstrap-datetimepicker-widget table td.active, +.card.bg-lightblue .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-lightblue .bootstrap-datetimepicker-widget table td.active:hover { + background: #06d0ff; + color: #ffffff; +} + +.card-navy:not(.card-outline) > .card-header { + background-color: #002c5f; +} + +.card-navy:not(.card-outline) > .card-header, +.card-navy:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-navy:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-navy.card-outline { + border-top: 3px solid #002c5f; +} + +.card-navy.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-navy.card-outline-tabs > .card-header a.active { + border-top: 3px solid #002c5f; +} + +.bg-navy .btn-tool, +.bg-gradient-navy .btn-tool, +.card-navy:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-navy .btn-tool:hover, +.bg-gradient-navy .btn-tool:hover, +.card-navy:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-navy .bootstrap-datetimepicker-widget .table td, +.card.bg-navy .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-navy .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-navy .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-navy .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-navy .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-navy .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table td.second:hover { + background: #001936; + color: #ffffff; +} + +.card.bg-navy .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-navy .bootstrap-datetimepicker-widget table td.active, +.card.bg-navy .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-navy .bootstrap-datetimepicker-widget table td.active:hover { + background: #004492; + color: #ffffff; +} + +.card-olive:not(.card-outline) > .card-header { + background-color: #3d9970; +} + +.card-olive:not(.card-outline) > .card-header, +.card-olive:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-olive:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-olive.card-outline { + border-top: 3px solid #3d9970; +} + +.card-olive.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-olive.card-outline-tabs > .card-header a.active { + border-top: 3px solid #3d9970; +} + +.bg-olive .btn-tool, +.bg-gradient-olive .btn-tool, +.card-olive:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-olive .btn-tool:hover, +.bg-gradient-olive .btn-tool:hover, +.card-olive:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-olive .bootstrap-datetimepicker-widget .table td, +.card.bg-olive .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-olive .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-olive .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-olive .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-olive .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-olive .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table td.second:hover { + background: #317c5b; + color: #ffffff; +} + +.card.bg-olive .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-olive .bootstrap-datetimepicker-widget table td.active, +.card.bg-olive .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-olive .bootstrap-datetimepicker-widget table td.active:hover { + background: #50b98a; + color: #ffffff; +} + +.card-lime:not(.card-outline) > .card-header { + background-color: #01ff70; +} + +.card-lime:not(.card-outline) > .card-header, +.card-lime:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-lime:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-lime.card-outline { + border-top: 3px solid #01ff70; +} + +.card-lime.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-lime.card-outline-tabs > .card-header a.active { + border-top: 3px solid #01ff70; +} + +.bg-lime .btn-tool, +.bg-gradient-lime .btn-tool, +.card-lime:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-lime .btn-tool:hover, +.bg-gradient-lime .btn-tool:hover, +.card-lime:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-lime .bootstrap-datetimepicker-widget .table td, +.card.bg-lime .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-lime .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-lime .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-lime .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-lime .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-lime .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table td.second:hover { + background: #00d75e; + color: #ffffff; +} + +.card.bg-lime .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-lime .bootstrap-datetimepicker-widget table td.active, +.card.bg-lime .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-lime .bootstrap-datetimepicker-widget table td.active:hover { + background: #34ff8d; + color: #ffffff; +} + +.card-fuchsia:not(.card-outline) > .card-header { + background-color: #f012be; +} + +.card-fuchsia:not(.card-outline) > .card-header, +.card-fuchsia:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-fuchsia:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-fuchsia.card-outline { + border-top: 3px solid #f012be; +} + +.card-fuchsia.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-fuchsia.card-outline-tabs > .card-header a.active { + border-top: 3px solid #f012be; +} + +.bg-fuchsia .btn-tool, +.bg-gradient-fuchsia .btn-tool, +.card-fuchsia:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-fuchsia .btn-tool:hover, +.bg-gradient-fuchsia .btn-tool:hover, +.card-fuchsia:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-fuchsia .bootstrap-datetimepicker-widget .table td, +.card.bg-fuchsia .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-fuchsia .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-fuchsia .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-fuchsia .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-fuchsia .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-fuchsia .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table td.second:hover { + background: #cc0da1; + color: #ffffff; +} + +.card.bg-fuchsia .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-fuchsia .bootstrap-datetimepicker-widget table td.active, +.card.bg-fuchsia .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-fuchsia .bootstrap-datetimepicker-widget table td.active:hover { + background: #f342cb; + color: #ffffff; +} + +.card-maroon:not(.card-outline) > .card-header { + background-color: #d81b60; +} + +.card-maroon:not(.card-outline) > .card-header, +.card-maroon:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-maroon:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-maroon.card-outline { + border-top: 3px solid #d81b60; +} + +.card-maroon.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-maroon.card-outline-tabs > .card-header a.active { + border-top: 3px solid #d81b60; +} + +.bg-maroon .btn-tool, +.bg-gradient-maroon .btn-tool, +.card-maroon:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-maroon .btn-tool:hover, +.bg-gradient-maroon .btn-tool:hover, +.card-maroon:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-maroon .bootstrap-datetimepicker-widget .table td, +.card.bg-maroon .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-maroon .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-maroon .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-maroon .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-maroon .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-maroon .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table td.second:hover { + background: #b41650; + color: #ffffff; +} + +.card.bg-maroon .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-maroon .bootstrap-datetimepicker-widget table td.active, +.card.bg-maroon .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-maroon .bootstrap-datetimepicker-widget table td.active:hover { + background: #e73f7c; + color: #ffffff; +} + +.card-blue:not(.card-outline) > .card-header { + background-color: #2a609e; +} + +.card-blue:not(.card-outline) > .card-header, +.card-blue:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-blue:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-blue.card-outline { + border-top: 3px solid #2a609e; +} + +.card-blue.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-blue.card-outline-tabs > .card-header a.active { + border-top: 3px solid #2a609e; +} + +.bg-blue .btn-tool, +.bg-gradient-blue .btn-tool, +.card-blue:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-blue .btn-tool:hover, +.bg-gradient-blue .btn-tool:hover, +.card-blue:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-blue .bootstrap-datetimepicker-widget .table td, +.card.bg-blue .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-blue .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-blue .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-blue .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-blue .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-blue .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table td.second:hover { + background: #214c7e; + color: #ffffff; +} + +.card.bg-blue .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-blue .bootstrap-datetimepicker-widget table td.active, +.card.bg-blue .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-blue .bootstrap-datetimepicker-widget table td.active:hover { + background: #3578c6; + color: #ffffff; +} + +.card-indigo:not(.card-outline) > .card-header { + background-color: #6610f2; +} + +.card-indigo:not(.card-outline) > .card-header, +.card-indigo:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-indigo:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-indigo.card-outline { + border-top: 3px solid #6610f2; +} + +.card-indigo.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-indigo.card-outline-tabs > .card-header a.active { + border-top: 3px solid #6610f2; +} + +.bg-indigo .btn-tool, +.bg-gradient-indigo .btn-tool, +.card-indigo:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-indigo .btn-tool:hover, +.bg-gradient-indigo .btn-tool:hover, +.card-indigo:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-indigo .bootstrap-datetimepicker-widget .table td, +.card.bg-indigo .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-indigo .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-indigo .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-indigo .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-indigo .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-indigo .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table td.second:hover { + background: #550bce; + color: #ffffff; +} + +.card.bg-indigo .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-indigo .bootstrap-datetimepicker-widget table td.active, +.card.bg-indigo .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-indigo .bootstrap-datetimepicker-widget table td.active:hover { + background: #8540f5; + color: #ffffff; +} + +.card-purple:not(.card-outline) > .card-header { + background-color: #6f42c1; +} + +.card-purple:not(.card-outline) > .card-header, +.card-purple:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-purple:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-purple.card-outline { + border-top: 3px solid #6f42c1; +} + +.card-purple.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-purple.card-outline-tabs > .card-header a.active { + border-top: 3px solid #6f42c1; +} + +.bg-purple .btn-tool, +.bg-gradient-purple .btn-tool, +.card-purple:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-purple .btn-tool:hover, +.bg-gradient-purple .btn-tool:hover, +.card-purple:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-purple .bootstrap-datetimepicker-widget .table td, +.card.bg-purple .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-purple .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-purple .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-purple .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-purple .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-purple .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table td.second:hover { + background: #5d36a4; + color: #ffffff; +} + +.card.bg-purple .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-purple .bootstrap-datetimepicker-widget table td.active, +.card.bg-purple .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-purple .bootstrap-datetimepicker-widget table td.active:hover { + background: #8c68ce; + color: #ffffff; +} + +.card-pink:not(.card-outline) > .card-header { + background-color: #e83e8c; +} + +.card-pink:not(.card-outline) > .card-header, +.card-pink:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-pink:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-pink.card-outline { + border-top: 3px solid #e83e8c; +} + +.card-pink.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-pink.card-outline-tabs > .card-header a.active { + border-top: 3px solid #e83e8c; +} + +.bg-pink .btn-tool, +.bg-gradient-pink .btn-tool, +.card-pink:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-pink .btn-tool:hover, +.bg-gradient-pink .btn-tool:hover, +.card-pink:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-pink .bootstrap-datetimepicker-widget .table td, +.card.bg-pink .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-pink .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-pink .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-pink .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-pink .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-pink .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table td.second:hover { + background: #e21b76; + color: #ffffff; +} + +.card.bg-pink .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-pink .bootstrap-datetimepicker-widget table td.active, +.card.bg-pink .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-pink .bootstrap-datetimepicker-widget table td.active:hover { + background: #ed6ca7; + color: #ffffff; +} + +.card-red:not(.card-outline) > .card-header { + background-color: #b74b37; +} + +.card-red:not(.card-outline) > .card-header, +.card-red:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-red:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-red.card-outline { + border-top: 3px solid #b74b37; +} + +.card-red.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-red.card-outline-tabs > .card-header a.active { + border-top: 3px solid #b74b37; +} + +.bg-red .btn-tool, +.bg-gradient-red .btn-tool, +.card-red:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-red .btn-tool:hover, +.bg-gradient-red .btn-tool:hover, +.card-red:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-red .bootstrap-datetimepicker-widget .table td, +.card.bg-red .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-red .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-red .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-red .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-red .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-red .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-red .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-red .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table td.second:hover { + background: #983e2e; + color: #ffffff; +} + +.card.bg-red .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-red .bootstrap-datetimepicker-widget table td.active, +.card.bg-red .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-red .bootstrap-datetimepicker-widget table td.active:hover { + background: #cc6855; + color: #ffffff; +} + +.card-orange:not(.card-outline) > .card-header { + background-color: #fd7e14; +} + +.card-orange:not(.card-outline) > .card-header, +.card-orange:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-orange:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-orange.card-outline { + border-top: 3px solid #fd7e14; +} + +.card-orange.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-orange.card-outline-tabs > .card-header a.active { + border-top: 3px solid #fd7e14; +} + +.bg-orange .btn-tool, +.bg-gradient-orange .btn-tool, +.card-orange:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-orange .btn-tool:hover, +.bg-gradient-orange .btn-tool:hover, +.card-orange:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-orange .bootstrap-datetimepicker-widget .table td, +.card.bg-orange .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-orange .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-orange .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-orange .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-orange .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-orange .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table td.second:hover { + background: #e66a02; + color: #ffffff; +} + +.card.bg-orange .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-orange .bootstrap-datetimepicker-widget table td.active, +.card.bg-orange .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-orange .bootstrap-datetimepicker-widget table td.active:hover { + background: #fd9a47; + color: #ffffff; +} + +.card-yellow:not(.card-outline) > .card-header { + background-color: #ffc107; +} + +.card-yellow:not(.card-outline) > .card-header, +.card-yellow:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-yellow:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-yellow.card-outline { + border-top: 3px solid #ffc107; +} + +.card-yellow.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-yellow.card-outline-tabs > .card-header a.active { + border-top: 3px solid #ffc107; +} + +.bg-yellow .btn-tool, +.bg-gradient-yellow .btn-tool, +.card-yellow:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-yellow .btn-tool:hover, +.bg-gradient-yellow .btn-tool:hover, +.card-yellow:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-yellow .bootstrap-datetimepicker-widget .table td, +.card.bg-yellow .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-yellow .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-yellow .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-yellow .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-yellow .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-yellow .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table td.second:hover { + background: #dda600; + color: #ffffff; +} + +.card.bg-yellow .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-yellow .bootstrap-datetimepicker-widget table td.active, +.card.bg-yellow .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-yellow .bootstrap-datetimepicker-widget table td.active:hover { + background: #ffce3a; + color: #ffffff; +} + +.card-green:not(.card-outline) > .card-header { + background-color: #28a745; +} + +.card-green:not(.card-outline) > .card-header, +.card-green:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-green:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-green.card-outline { + border-top: 3px solid #28a745; +} + +.card-green.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-green.card-outline-tabs > .card-header a.active { + border-top: 3px solid #28a745; +} + +.bg-green .btn-tool, +.bg-gradient-green .btn-tool, +.card-green:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-green .btn-tool:hover, +.bg-gradient-green .btn-tool:hover, +.card-green:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-green .bootstrap-datetimepicker-widget .table td, +.card.bg-green .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-green .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-green .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-green .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-green .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-green .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-green .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-green .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table td.second:hover { + background: #208637; + color: #ffffff; +} + +.card.bg-green .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-green .bootstrap-datetimepicker-widget table td.active, +.card.bg-green .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-green .bootstrap-datetimepicker-widget table td.active:hover { + background: #34ce57; + color: #ffffff; +} + +.card-teal:not(.card-outline) > .card-header { + background-color: #20c997; +} + +.card-teal:not(.card-outline) > .card-header, +.card-teal:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-teal:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-teal.card-outline { + border-top: 3px solid #20c997; +} + +.card-teal.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-teal.card-outline-tabs > .card-header a.active { + border-top: 3px solid #20c997; +} + +.bg-teal .btn-tool, +.bg-gradient-teal .btn-tool, +.card-teal:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-teal .btn-tool:hover, +.bg-gradient-teal .btn-tool:hover, +.card-teal:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-teal .bootstrap-datetimepicker-widget .table td, +.card.bg-teal .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-teal .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-teal .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-teal .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-teal .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-teal .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table td.second:hover { + background: #1aa67d; + color: #ffffff; +} + +.card.bg-teal .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-teal .bootstrap-datetimepicker-widget table td.active, +.card.bg-teal .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-teal .bootstrap-datetimepicker-widget table td.active:hover { + background: #3ce0af; + color: #ffffff; +} + +.card-cyan:not(.card-outline) > .card-header { + background-color: #17a2b8; +} + +.card-cyan:not(.card-outline) > .card-header, +.card-cyan:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-cyan:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-cyan.card-outline { + border-top: 3px solid #17a2b8; +} + +.card-cyan.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-cyan.card-outline-tabs > .card-header a.active { + border-top: 3px solid #17a2b8; +} + +.bg-cyan .btn-tool, +.bg-gradient-cyan .btn-tool, +.card-cyan:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-cyan .btn-tool:hover, +.bg-gradient-cyan .btn-tool:hover, +.card-cyan:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-cyan .bootstrap-datetimepicker-widget .table td, +.card.bg-cyan .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-cyan .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-cyan .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-cyan .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-cyan .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-cyan .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table td.second:hover { + background: #128294; + color: #ffffff; +} + +.card.bg-cyan .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-cyan .bootstrap-datetimepicker-widget table td.active, +.card.bg-cyan .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-cyan .bootstrap-datetimepicker-widget table td.active:hover { + background: #1fc8e3; + color: #ffffff; +} + +.card-white:not(.card-outline) > .card-header { + background-color: #ffffff; +} + +.card-white:not(.card-outline) > .card-header, +.card-white:not(.card-outline) > .card-header a { + color: #1F2D3D; +} + +.card-white:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-white.card-outline { + border-top: 3px solid #ffffff; +} + +.card-white.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-white.card-outline-tabs > .card-header a.active { + border-top: 3px solid #ffffff; +} + +.bg-white .btn-tool, +.bg-gradient-white .btn-tool, +.card-white:not(.card-outline) .btn-tool { + color: rgba(31, 45, 61, 0.8); +} + +.bg-white .btn-tool:hover, +.bg-gradient-white .btn-tool:hover, +.card-white:not(.card-outline) .btn-tool:hover { + color: #1F2D3D; +} + +.card.bg-white .bootstrap-datetimepicker-widget .table td, +.card.bg-white .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-white .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-white .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-white .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-white .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-white .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-white .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-white .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table td.second:hover { + background: #ebebeb; + color: #1F2D3D; +} + +.card.bg-white .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #1F2D3D; +} + +.card.bg-white .bootstrap-datetimepicker-widget table td.active, +.card.bg-white .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-white .bootstrap-datetimepicker-widget table td.active:hover { + background: white; + color: #1F2D3D; +} + +.card-gray:not(.card-outline) > .card-header { + background-color: #6c757d; +} + +.card-gray:not(.card-outline) > .card-header, +.card-gray:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-gray:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-gray.card-outline { + border-top: 3px solid #6c757d; +} + +.card-gray.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-gray.card-outline-tabs > .card-header a.active { + border-top: 3px solid #6c757d; +} + +.bg-gray .btn-tool, +.bg-gradient-gray .btn-tool, +.card-gray:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-gray .btn-tool:hover, +.bg-gradient-gray .btn-tool:hover, +.card-gray:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-gray .bootstrap-datetimepicker-widget .table td, +.card.bg-gray .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-gray .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gray .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gray .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gray .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gray .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table td.second:hover { + background: #596167; + color: #ffffff; +} + +.card.bg-gray .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-gray .bootstrap-datetimepicker-widget table td.active, +.card.bg-gray .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-gray .bootstrap-datetimepicker-widget table td.active:hover { + background: #868e96; + color: #ffffff; +} + +.card-gray-dark:not(.card-outline) > .card-header { + background-color: #343a40; +} + +.card-gray-dark:not(.card-outline) > .card-header, +.card-gray-dark:not(.card-outline) > .card-header a { + color: #ffffff; +} + +.card-gray-dark:not(.card-outline) > .card-header a.active { + color: #1F2D3D; +} + +.card-gray-dark.card-outline { + border-top: 3px solid #343a40; +} + +.card-gray-dark.card-outline-tabs > .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card-gray-dark.card-outline-tabs > .card-header a.active { + border-top: 3px solid #343a40; +} + +.bg-gray-dark .btn-tool, +.bg-gradient-gray-dark .btn-tool, +.card-gray-dark:not(.card-outline) .btn-tool { + color: rgba(255, 255, 255, 0.8); +} + +.bg-gray-dark .btn-tool:hover, +.bg-gradient-gray-dark .btn-tool:hover, +.card-gray-dark:not(.card-outline) .btn-tool:hover { + color: #ffffff; +} + +.card.bg-gray-dark .bootstrap-datetimepicker-widget .table td, +.card.bg-gray-dark .bootstrap-datetimepicker-widget .table th, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget .table td, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget .table th { + border: none; +} + +.card.bg-gray-dark .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gray-dark .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gray-dark .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gray-dark .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gray-dark .bootstrap-datetimepicker-widget table td.second:hover, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table thead tr:first-child th:hover, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table td.day:hover, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table td.hour:hover, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table td.minute:hover, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table td.second:hover { + background: #222629; + color: #ffffff; +} + +.card.bg-gray-dark .bootstrap-datetimepicker-widget table td.today::before, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table td.today::before { + border-bottom-color: #ffffff; +} + +.card.bg-gray-dark .bootstrap-datetimepicker-widget table td.active, +.card.bg-gray-dark .bootstrap-datetimepicker-widget table td.active:hover, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table td.active, +.card.bg-gradient-gray-dark .bootstrap-datetimepicker-widget table td.active:hover { + background: #4b545c; + color: #ffffff; +} + +.card { + -webkit-box-shadow: 0 3px 6px 0 #e4dcd3; + box-shadow: 0 3px 6px 0 #e4dcd3; + margin-bottom: 1rem; +} + +.card.bg-dark .card-header { + border-color: #383f45; +} + +.card.bg-dark, +.card.bg-dark .card-body { + color: #ffffff; +} + +.card.maximized-card { + height: 100% !important; + left: 0; + max-height: 100% !important; + max-width: 100% !important; + position: fixed; + top: 0; + width: 100% !important; + z-index: 9999; +} + +.card.maximized-card.was-collapsed .card-body { + display: block !important; +} + +.card.maximized-card [data-widget='collapse'] { + display: none; +} + +.card.maximized-card .card-header, +.card.maximized-card .card-footer { + border-radius: 0 !important; +} + +.card.collapsed-card .card-body, +.card.collapsed-card .card-footer { + display: none; +} + +.card .nav.flex-column > li { + border-bottom: 1px solid rgba(0, 0, 0, 0.125); + margin: 0; +} + +.card .nav.flex-column > li:last-of-type { + border-bottom: 0; +} + +.card.height-control .card-body { + max-height: 300px; + overflow: auto; +} + +.card .border-right { + border-right: 1px solid rgba(0, 0, 0, 0.125); +} + +.card .border-left { + border-left: 1px solid rgba(0, 0, 0, 0.125); +} + +.card.card-tabs:not(.card-outline) > .card-header { + border-bottom: 0; +} + +.card.card-tabs:not(.card-outline) > .card-header .nav-item:first-child .nav-link { + margin-left: -1px; +} + +.card.card-tabs.card-outline .nav-item { + border-bottom: 0; +} + +.card.card-tabs.card-outline .nav-item:first-child .nav-link { + border-left: 0; + margin-left: 0; +} + +.card.card-tabs .card-tools { + margin: .3rem .5rem; +} + +.card.card-tabs:not(.expanding-card).collapsed-card .card-header { + border-bottom: 0; +} + +.card.card-tabs:not(.expanding-card).collapsed-card .card-header .nav-tabs { + border-bottom: 0; +} + +.card.card-tabs:not(.expanding-card).collapsed-card .card-header .nav-tabs .nav-item { + margin-bottom: 0; +} + +.card.card-tabs.expanding-card .card-header .nav-tabs .nav-item { + margin-bottom: -1px; +} + +.card.card-outline-tabs { + border-top: 0; +} + +.card.card-outline-tabs .card-header .nav-item:first-child .nav-link { + border-left: 0; + margin-left: 0; +} + +.card.card-outline-tabs .card-header a { + border-top: 3px solid transparent; +} + +.card.card-outline-tabs .card-header a:hover { + border-top: 3px solid #dee2e6; +} + +.card.card-outline-tabs .card-header a.active:hover { + margin-top: 0; +} + +.card.card-outline-tabs .card-tools { + margin: .5rem .5rem .3rem; +} + +.card.card-outline-tabs:not(.expanding-card).collapsed-card .card-header { + border-bottom: 0; +} + +.card.card-outline-tabs:not(.expanding-card).collapsed-card .card-header .nav-tabs { + border-bottom: 0; +} + +.card.card-outline-tabs:not(.expanding-card).collapsed-card .card-header .nav-tabs .nav-item { + margin-bottom: 0; +} + +.card.card-outline-tabs.expanding-card .card-header .nav-tabs .nav-item { + margin-bottom: -1px; +} + +html.maximized-card { + overflow: hidden; +} + +.card-header::after, +.card-body::after, +.card-footer::after { + display: block; + clear: both; + content: ""; +} + +.card-header { + background-color: transparent; + border-bottom: 1px solid rgba(0, 0, 0, 0.125); + padding: 0.75rem 1.25rem; + position: relative; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.collapsed-card .card-header { + border-bottom: 0; +} + +.card-header > .card-tools { + float: right; + margin-right: -0.625rem; +} + +.card-header > .card-tools .input-group, +.card-header > .card-tools .nav, +.card-header > .card-tools .pagination { + margin-bottom: -0.3rem; + margin-top: -0.3rem; +} + +.card-header > .card-tools [data-toggle='tooltip'] { + position: relative; +} + +.card-header .card-title { + float: left; + font-size: 1.1rem; + font-weight: 400; + margin: 0; +} + +.card-text { + clear: both; +} + +.btn-tool { + background: transparent; + color: #adb5bd; + font-size: 0.76562rem; + margin: -0.75rem 0; + padding: .25rem .5rem; +} + +.btn-group.show .btn-tool, .btn-tool:hover { + color: #495057; +} + +.show .btn-tool, .btn-tool:focus { + -webkit-box-shadow: none !important; + box-shadow: none !important; +} + +.text-sm .card-title { + font-size: 1rem; +} + +.text-sm .nav-link { + padding: 0.4rem 0.8rem; +} + +.card-body > .table { + margin-bottom: 0; +} + +.card-body > .table > thead > tr > th, +.card-body > .table > thead > tr > td { + border-top-width: 0; +} + +.card-body .fc { + margin-top: 5px; +} + +.card-body .full-width-chart { + margin: -19px; +} + +.card-body.p-0 .full-width-chart { + margin: -9px; +} + +.chart-legend { + padding-left: 0; + list-style: none; + margin: 10px 0; +} + +@media (max-width: 576px) { + .chart-legend > li { + float: left; + margin-right: 10px; + } +} + +.card-comments { + background: #f8f9fa; +} + +.card-comments .card-comment { + border-bottom: 1px solid #e9ecef; + padding: 8px 0; +} + +.card-comments .card-comment::after { + display: block; + clear: both; + content: ""; +} + +.card-comments .card-comment:last-of-type { + border-bottom: 0; +} + +.card-comments .card-comment:first-of-type { + padding-top: 0; +} + +.card-comments .card-comment img { + height: 1.875rem; + width: 1.875rem; + float: left; +} + +.card-comments .comment-text { + color: #78838e; + margin-left: 40px; +} + +.card-comments .username { + color: #495057; + display: block; + font-weight: 600; +} + +.card-comments .text-muted { + font-size: 12px; + font-weight: 400; +} + +.todo-list { + list-style: none; + margin: 0; + overflow: auto; + padding: 0; +} + +.todo-list > li { + border-radius: 2px; + background: #f8f9fa; + border-left: 2px solid #e9ecef; + color: #495057; + margin-bottom: 2px; + padding: 10px; +} + +.todo-list > li:last-of-type { + margin-bottom: 0; +} + +.todo-list > li > input[type='checkbox'] { + margin: 0 10px 0 5px; +} + +.todo-list > li .text { + display: inline-block; + font-weight: 600; + margin-left: 5px; +} + +.todo-list > li .badge { + font-size: .7rem; + margin-left: 10px; +} + +.todo-list > li .tools { + color: #b74b37; + display: none; + float: right; +} + +.todo-list > li .tools > .fa, +.todo-list > li .tools > .fas, +.todo-list > li .tools > .far, +.todo-list > li .tools > .fab, +.todo-list > li .tools > .glyphicon, +.todo-list > li .tools > .ion { + cursor: pointer; + margin-right: 5px; +} + +.todo-list > li:hover .tools { + display: inline-block; +} + +.todo-list > li.done { + color: #697582; +} + +.todo-list > li.done .text { + font-weight: 500; + text-decoration: line-through; +} + +.todo-list > li.done .badge { + background: #adb5bd !important; +} + +.todo-list .primary { + border-left-color: #002c5f; +} + +.todo-list .secondary { + border-left-color: #00aad2; +} + +.todo-list .success { + border-left-color: #2a609e; +} + +.todo-list .info { + border-left-color: #aacae6; +} + +.todo-list .warning { + border-left-color: #ffc107; +} + +.todo-list .danger { + border-left-color: #b74b37; +} + +.todo-list .light { + border-left-color: #e4dcd3; +} + +.todo-list .dark { + border-left-color: #343a40; +} + +.todo-list .lightblue { + border-left-color: #00aad2; +} + +.todo-list .navy { + border-left-color: #002c5f; +} + +.todo-list .olive { + border-left-color: #3d9970; +} + +.todo-list .lime { + border-left-color: #01ff70; +} + +.todo-list .fuchsia { + border-left-color: #f012be; +} + +.todo-list .maroon { + border-left-color: #d81b60; +} + +.todo-list .blue { + border-left-color: #2a609e; +} + +.todo-list .indigo { + border-left-color: #6610f2; +} + +.todo-list .purple { + border-left-color: #6f42c1; +} + +.todo-list .pink { + border-left-color: #e83e8c; +} + +.todo-list .red { + border-left-color: #b74b37; +} + +.todo-list .orange { + border-left-color: #fd7e14; +} + +.todo-list .yellow { + border-left-color: #ffc107; +} + +.todo-list .green { + border-left-color: #28a745; +} + +.todo-list .teal { + border-left-color: #20c997; +} + +.todo-list .cyan { + border-left-color: #17a2b8; +} + +.todo-list .white { + border-left-color: #ffffff; +} + +.todo-list .gray { + border-left-color: #6c757d; +} + +.todo-list .gray-dark { + border-left-color: #343a40; +} + +.todo-list .handle { + cursor: move; + display: inline-block; + margin: 0 5px; +} + +.card-input { + max-width: 200px; +} + +.card-default .nav-item:first-child .nav-link { + border-left: 0; +} + +.modal-dialog .overlay { + background-color: #000; + display: block; + height: 100%; + left: 0; + opacity: .7; + position: absolute; + top: 0; + width: 100%; + z-index: 1052; +} + +.modal-auto { + width: auto; + max-width: none; +} + +.modal-content { + border-radius: 0; + width: auto; + margin: 0 auto; + border: 0; +} + +.modal-title { + font-family: s-core-dream; + font-size: 20px; + font-weight: 500; + letter-spacing: -0.2px; + line-height: 1.25; +} + +.modal-header .close { + font-size: 0; +} + +.btn.disabled, .btn:disabled { + cursor: not-allowed; +} + +.btn.btn-flat { + border-radius: 0; + border-width: 1px; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn.btn-file { + overflow: hidden; + position: relative; +} + +.btn.btn-file > input[type='file'] { + background: #ffffff; + cursor: inherit; + display: block; + font-size: 100px; + min-height: 100%; + min-width: 100%; + opacity: 0; + outline: none; + position: absolute; + right: 0; + text-align: right; + top: 0; +} + +.text-sm .btn { + font-size: 0.76562rem !important; +} + +.btn-default { + background-color: #f8f9fa; + border-color: #ddd; + color: #444; +} + +.btn-default:hover, .btn-default:active, .btn-default.hover { + background-color: #e9ecef; + color: #2b2b2b; +} + +.btn-app { + border-radius: 3px; + background-color: #f8f9fa; + border: 1px solid #ddd; + color: #6c757d; + font-size: 12px; + height: 60px; + margin: 0 0 10px 10px; + min-width: 80px; + padding: 15px 5px; + position: relative; + text-align: center; +} + +.btn-app > .fa, +.btn-app > .fas, +.btn-app > .far, +.btn-app > .fab, +.btn-app > .glyphicon, +.btn-app > .ion { + display: block; + font-size: 20px; +} + +.btn-app:hover { + background: #f8f9fa; + border-color: #aaaaaa; + color: #444; +} + +.btn-app:active, .btn-app:focus { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} + +.btn-app > .badge { + font-size: 10px; + font-weight: 400; + position: absolute; + right: -10px; + top: -3px; +} + +.btn-xs { + padding: 0.125rem 0.25rem; + font-size: 0.65625rem; + line-height: 1.5; + border-radius: 0.15rem; +} + +.alert .icon { + margin-right: 10px; +} + +.alert .close { + color: #000; + opacity: .2; +} + +.alert .close:hover { + opacity: .5; +} + +.alert a { + color: #ffffff; + text-decoration: underline; +} + +.alert-primary { + color: #ffffff; + background: #002c5f; + border-color: #002046; +} + +.alert-default-primary { + color: #001731; + background-color: #ccd5df; + border-color: #b8c4d2; +} + +.alert-default-primary hr { + border-top-color: #a8b7c8; +} + +.alert-default-primary .alert-link { + color: black; +} + +.alert-secondary { + color: #ffffff; + background: #00aad2; + border-color: #0095b9; +} + +.alert-default-secondary { + color: #00586d; + background-color: #cceef6; + border-color: #b8e7f2; +} + +.alert-default-secondary hr { + border-top-color: #a2e0ee; +} + +.alert-default-secondary .alert-link { + color: #002f3a; +} + +.alert-success { + color: #ffffff; + background: #2a609e; + border-color: #25548a; +} + +.alert-default-success { + color: #163252; + background-color: #d4dfec; + border-color: #c3d2e4; +} + +.alert-default-success hr { + border-top-color: #b1c5dc; +} + +.alert-default-success .alert-link { + color: #0b192a; +} + +.alert-info { + color: #ffffff; + background: #aacae6; + border-color: #96bee0; +} + +.alert-default-info { + color: #586978; + background-color: #eef4fa; + border-color: #e7f0f8; +} + +.alert-default-info hr { + border-top-color: #d3e4f2; +} + +.alert-default-info .alert-link { + color: #424f5b; +} + +.alert-warning { + color: #ffffff; + background: #ffc107; + border-color: #edb100; +} + +.alert-default-warning { + color: #856404; + background-color: #fff3cd; + border-color: #ffeeba; +} + +.alert-default-warning hr { + border-top-color: #ffe8a1; +} + +.alert-default-warning .alert-link { + color: #533f03; +} + +.alert-danger { + color: #ffffff; + background: #b74b37; + border-color: #a34331; +} + +.alert-default-danger { + color: #5f271d; + background-color: #f1dbd7; + border-color: #ebcdc7; +} + +.alert-default-danger hr { + border-top-color: #e4bcb4; +} + +.alert-default-danger .alert-link { + color: #381711; +} + +.alert-light { + color: #1F2D3D; + background: #e4dcd3; + border-color: #dacfc3; +} + +.alert-default-light { + color: #77726e; + background-color: #faf8f6; + border-color: #f7f5f3; +} + +.alert-default-light hr { + border-top-color: #ede8e4; +} + +.alert-default-light .alert-link { + color: #5c5956; +} + +.alert-dark { + color: #ffffff; + background: #343a40; + border-color: #292d32; +} + +.alert-default-dark { + color: #1b1e21; + background-color: #d6d8d9; + border-color: #c6c8ca; +} + +.alert-default-dark hr { + border-top-color: #b9bbbe; +} + +.alert-default-dark .alert-link { + color: #040505; +} + +.table { + border-top: 2px solid #002c5f; +} + +.table thead th, +.table thead td { + background: #e4dcd3; + border: 1px solid #f6f6f2; + border-bottom: 0; + line-height: 1.1; + padding-top: 15px; + padding-bottom: 15px; +} + +.table th, +.table td { + line-height: 1.1; + padding-top: 15px; + padding-bottom: 15px; +} + +.table:not(.table-dark) { + color: inherit; +} + +.table.table-head-fixed thead tr:nth-child(1) th { + background-color: #ffffff; + border-bottom: 0; + -webkit-box-shadow: inset 0 1px 0 #e4dcd3, inset 0 -1px 0 #e4dcd3; + box-shadow: inset 0 1px 0 #e4dcd3, inset 0 -1px 0 #e4dcd3; + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 10; +} + +.table.table-head-fixed.table-dark thead tr:nth-child(1) th { + background-color: #212529; + -webkit-box-shadow: inset 0 1px 0 #383f45, inset 0 -1px 0 #383f45; + box-shadow: inset 0 1px 0 #383f45, inset 0 -1px 0 #383f45; +} + +.table.no-border, +.table.no-border td, +.table.no-border th { + border: 0; +} + +.table.text-center, +.table.text-center td, +.table.text-center th { + text-align: center; +} + +.table.table-valign-middle thead > tr > th, +.table.table-valign-middle thead > tr > td, +.table.table-valign-middle tbody > tr > th, +.table.table-valign-middle tbody > tr > td { + vertical-align: middle; +} + +.card-body.p-0 .table thead > tr > th:first-of-type, +.card-body.p-0 .table thead > tr > td:first-of-type, +.card-body.p-0 .table tbody > tr > th:first-of-type, +.card-body.p-0 .table tbody > tr > td:first-of-type { + padding-left: 1.5rem; +} + +.card-body.p-0 .table thead > tr > th:last-of-type, +.card-body.p-0 .table thead > tr > td:last-of-type, +.card-body.p-0 .table tbody > tr > th:last-of-type, +.card-body.p-0 .table tbody > tr > td:last-of-type { + padding-right: 1.5rem; +} + +.border-transparent { + border-color: transparent !important; +} + +.description-block { + display: block; + margin: 10px 0; + text-align: center; +} + +.description-block.margin-bottom { + margin-bottom: 25px; +} + +.description-block > .description-header { + font-size: 16px; + font-weight: 600; + margin: 0; + padding: 0; +} + +.description-block > .description-text { + text-transform: uppercase; +} + +.description-block .description-icon { + font-size: 16px; +} + +.list-group-unbordered > .list-group-item { + border-left: 0; + border-radius: 0; + border-right: 0; + padding-left: 0; + padding-right: 0; +} + +.list-header { + color: #6c757d; + font-size: 15px; + font-weight: bold; + padding: 10px 4px; +} + +.list-seperator { + background: rgba(0, 0, 0, 0.125); + height: 1px; + margin: 15px 0 9px; +} + +.list-link > a { + color: #6c757d; + padding: 4px; +} + +.list-link > a:hover { + color: #212529; +} + +.user-block { + float: left; +} + +.user-block img { + float: left; + height: 40px; + width: 40px; +} + +.user-block .username, +.user-block .description, +.user-block .comment { + display: block; + margin-left: 50px; +} + +.user-block .username { + font-size: 16px; + font-weight: 600; + margin-top: -1px; +} + +.user-block .description { + color: #6c757d; + font-size: 13px; + margin-top: -3px; +} + +.user-block.user-block-sm img { + width: 1.875rem; + height: 1.875rem; +} + +.user-block.user-block-sm .username, +.user-block.user-block-sm .description, +.user-block.user-block-sm .comment { + margin-left: 40px; +} + +.user-block.user-block-sm .username { + font-size: 14px; +} + +.img-sm, +.img-md, +.img-lg { + float: left; +} + +.img-sm { + height: 1.875rem; + width: 1.875rem; +} + +.img-sm + .img-push { + margin-left: 2.5rem; +} + +.img-md { + width: 3.75rem; + height: 3.75rem; +} + +.img-md + .img-push { + margin-left: 4.375rem; +} + +.img-lg { + width: 6.25rem; + height: 6.25rem; +} + +.img-lg + .img-push { + margin-left: 6.875rem; +} + +.img-bordered { + border: 3px solid #adb5bd; + padding: 3px; +} + +.img-bordered-sm { + border: 2px solid #adb5bd; + padding: 2px; +} + +.img-rounded { + border-radius: 0.3rem; +} + +.img-circle { + border-radius: 50%; +} + +.img-size-64, +.img-size-50, +.img-size-32 { + height: auto; +} + +.img-size-64 { + width: 64px; +} + +.img-size-50 { + width: 50px; +} + +.img-size-32 { + width: 32px; +} + +.size-32, +.size-40, +.size-50 { + display: block; + text-align: center; +} + +.size-32 { + height: 32px; + line-height: 32px; + width: 32px; +} + +.size-40 { + height: 40px; + line-height: 40px; + width: 40px; +} + +.size-50 { + height: 50px; + line-height: 50px; + width: 50px; +} + +.attachment-block { + background: #f8f9fa; + border: 1px solid rgba(0, 0, 0, 0.125); + margin-bottom: 10px; + padding: 5px; +} + +.attachment-block .attachment-img { + float: left; + height: auto; + max-height: 100px; + max-width: 100px; +} + +.attachment-block .attachment-pushed { + margin-left: 110px; +} + +.attachment-block .attachment-heading { + margin: 0; +} + +.attachment-block .attachment-text { + color: #495057; +} + +.card > .overlay, +.card > .loading-img, +.overlay-wrapper > .overlay, +.overlay-wrapper > .loading-img, +.info-box > .overlay, +.info-box > .loading-img, +.small-box > .overlay, +.small-box > .loading-img { + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} + +.card .overlay, +.overlay-wrapper .overlay, +.info-box .overlay, +.small-box .overlay { + border-radius: 0.3rem; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + background: rgba(255, 255, 255, 0.7); + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + z-index: 50; +} + +.card .overlay > .fa, +.card .overlay > .fas, +.card .overlay > .far, +.card .overlay > .fab, +.card .overlay > .glyphicon, +.card .overlay > .ion, +.overlay-wrapper .overlay > .fa, +.overlay-wrapper .overlay > .fas, +.overlay-wrapper .overlay > .far, +.overlay-wrapper .overlay > .fab, +.overlay-wrapper .overlay > .glyphicon, +.overlay-wrapper .overlay > .ion, +.info-box .overlay > .fa, +.info-box .overlay > .fas, +.info-box .overlay > .far, +.info-box .overlay > .fab, +.info-box .overlay > .glyphicon, +.info-box .overlay > .ion, +.small-box .overlay > .fa, +.small-box .overlay > .fas, +.small-box .overlay > .far, +.small-box .overlay > .fab, +.small-box .overlay > .glyphicon, +.small-box .overlay > .ion { + color: #343a40; +} + +.card .overlay.dark, +.overlay-wrapper .overlay.dark, +.info-box .overlay.dark, +.small-box .overlay.dark { + background: rgba(0, 0, 0, 0.5); +} + +.card .overlay.dark > .fa, +.card .overlay.dark > .fas, +.card .overlay.dark > .far, +.card .overlay.dark > .fab, +.card .overlay.dark > .glyphicon, +.card .overlay.dark > .ion, +.overlay-wrapper .overlay.dark > .fa, +.overlay-wrapper .overlay.dark > .fas, +.overlay-wrapper .overlay.dark > .far, +.overlay-wrapper .overlay.dark > .fab, +.overlay-wrapper .overlay.dark > .glyphicon, +.overlay-wrapper .overlay.dark > .ion, +.info-box .overlay.dark > .fa, +.info-box .overlay.dark > .fas, +.info-box .overlay.dark > .far, +.info-box .overlay.dark > .fab, +.info-box .overlay.dark > .glyphicon, +.info-box .overlay.dark > .ion, +.small-box .overlay.dark > .fa, +.small-box .overlay.dark > .fas, +.small-box .overlay.dark > .far, +.small-box .overlay.dark > .fab, +.small-box .overlay.dark > .glyphicon, +.small-box .overlay.dark > .ion { + color: #ced4da; +} + +.tab-pane > .overlay-wrapper { + position: relative; +} + +.tab-pane > .overlay-wrapper > .overlay { + border-top-left-radius: 0; + border-top-right-radius: 0; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + margin-top: -1.25rem; + margin-left: -1.25rem; + height: calc(100% + 2 * 1.25rem); + width: calc(100% + 2 * 1.25rem); +} + +.tab-pane > .overlay-wrapper > .overlay.dark { + color: #ffffff; +} + +.ribbon-wrapper { + height: 70px; + overflow: hidden; + position: absolute; + right: -2px; + top: -2px; + width: 70px; + z-index: 10; +} + +.ribbon-wrapper.ribbon-lg { + height: 120px; + width: 120px; +} + +.ribbon-wrapper.ribbon-lg .ribbon { + right: 0px; + top: 26px; + width: 160px; +} + +.ribbon-wrapper.ribbon-xl { + height: 180px; + width: 180px; +} + +.ribbon-wrapper.ribbon-xl .ribbon { + right: 4px; + top: 47px; + width: 240px; +} + +.ribbon-wrapper .ribbon { + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); + box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); + font-size: 0.8rem; + line-height: 100%; + padding: 0.375rem 0; + position: relative; + right: -2px; + text-align: center; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4); + text-transform: uppercase; + top: 10px; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); + width: 90px; +} + +.ribbon-wrapper .ribbon::before, .ribbon-wrapper .ribbon::after { + border-left: 3px solid transparent; + border-right: 3px solid transparent; + border-top: 3px solid #9e9e9e; + bottom: -3px; + content: ''; + position: absolute; +} + +.ribbon-wrapper .ribbon::before { + left: 0; +} + +.ribbon-wrapper .ribbon::after { + right: 0; +} + +.back-to-top { + bottom: 1.25rem; + position: fixed; + right: 1.25rem; + z-index: 1032; +} + +.back-to-top:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +pre { + padding: .75rem; +} + +blockquote { + background: #ffffff; + border-left: 0.7rem solid #002c5f; + margin: 1.5em .7rem; + padding: 0.5em .7rem; +} + +.box blockquote { + background: #e9ecef; +} + +blockquote p:last-child { + margin-bottom: 0; +} + +blockquote h1, +blockquote h2, +blockquote h3, +blockquote h4, +blockquote h5, +blockquote h6 { + color: #002c5f; + font-size: 1.25rem; + font-weight: 600; +} + +blockquote.quote-primary { + border-color: #002c5f; +} + +blockquote.quote-primary h1, +blockquote.quote-primary h2, +blockquote.quote-primary h3, +blockquote.quote-primary h4, +blockquote.quote-primary h5, +blockquote.quote-primary h6 { + color: #002c5f; +} + +blockquote.quote-secondary { + border-color: #00aad2; +} + +blockquote.quote-secondary h1, +blockquote.quote-secondary h2, +blockquote.quote-secondary h3, +blockquote.quote-secondary h4, +blockquote.quote-secondary h5, +blockquote.quote-secondary h6 { + color: #00aad2; +} + +blockquote.quote-success { + border-color: #2a609e; +} + +blockquote.quote-success h1, +blockquote.quote-success h2, +blockquote.quote-success h3, +blockquote.quote-success h4, +blockquote.quote-success h5, +blockquote.quote-success h6 { + color: #2a609e; +} + +blockquote.quote-info { + border-color: #aacae6; +} + +blockquote.quote-info h1, +blockquote.quote-info h2, +blockquote.quote-info h3, +blockquote.quote-info h4, +blockquote.quote-info h5, +blockquote.quote-info h6 { + color: #aacae6; +} + +blockquote.quote-warning { + border-color: #ffc107; +} + +blockquote.quote-warning h1, +blockquote.quote-warning h2, +blockquote.quote-warning h3, +blockquote.quote-warning h4, +blockquote.quote-warning h5, +blockquote.quote-warning h6 { + color: #ffc107; +} + +blockquote.quote-danger { + border-color: #b74b37; +} + +blockquote.quote-danger h1, +blockquote.quote-danger h2, +blockquote.quote-danger h3, +blockquote.quote-danger h4, +blockquote.quote-danger h5, +blockquote.quote-danger h6 { + color: #b74b37; +} + +blockquote.quote-light { + border-color: #e4dcd3; +} + +blockquote.quote-light h1, +blockquote.quote-light h2, +blockquote.quote-light h3, +blockquote.quote-light h4, +blockquote.quote-light h5, +blockquote.quote-light h6 { + color: #e4dcd3; +} + +blockquote.quote-dark { + border-color: #343a40; +} + +blockquote.quote-dark h1, +blockquote.quote-dark h2, +blockquote.quote-dark h3, +blockquote.quote-dark h4, +blockquote.quote-dark h5, +blockquote.quote-dark h6 { + color: #343a40; +} + +blockquote.quote-lightblue { + border-color: #00aad2; +} + +blockquote.quote-lightblue h1, +blockquote.quote-lightblue h2, +blockquote.quote-lightblue h3, +blockquote.quote-lightblue h4, +blockquote.quote-lightblue h5, +blockquote.quote-lightblue h6 { + color: #00aad2; +} + +blockquote.quote-navy { + border-color: #002c5f; +} + +blockquote.quote-navy h1, +blockquote.quote-navy h2, +blockquote.quote-navy h3, +blockquote.quote-navy h4, +blockquote.quote-navy h5, +blockquote.quote-navy h6 { + color: #002c5f; +} + +blockquote.quote-olive { + border-color: #3d9970; +} + +blockquote.quote-olive h1, +blockquote.quote-olive h2, +blockquote.quote-olive h3, +blockquote.quote-olive h4, +blockquote.quote-olive h5, +blockquote.quote-olive h6 { + color: #3d9970; +} + +blockquote.quote-lime { + border-color: #01ff70; +} + +blockquote.quote-lime h1, +blockquote.quote-lime h2, +blockquote.quote-lime h3, +blockquote.quote-lime h4, +blockquote.quote-lime h5, +blockquote.quote-lime h6 { + color: #01ff70; +} + +blockquote.quote-fuchsia { + border-color: #f012be; +} + +blockquote.quote-fuchsia h1, +blockquote.quote-fuchsia h2, +blockquote.quote-fuchsia h3, +blockquote.quote-fuchsia h4, +blockquote.quote-fuchsia h5, +blockquote.quote-fuchsia h6 { + color: #f012be; +} + +blockquote.quote-maroon { + border-color: #d81b60; +} + +blockquote.quote-maroon h1, +blockquote.quote-maroon h2, +blockquote.quote-maroon h3, +blockquote.quote-maroon h4, +blockquote.quote-maroon h5, +blockquote.quote-maroon h6 { + color: #d81b60; +} + +blockquote.quote-blue { + border-color: #2a609e; +} + +blockquote.quote-blue h1, +blockquote.quote-blue h2, +blockquote.quote-blue h3, +blockquote.quote-blue h4, +blockquote.quote-blue h5, +blockquote.quote-blue h6 { + color: #2a609e; +} + +blockquote.quote-indigo { + border-color: #6610f2; +} + +blockquote.quote-indigo h1, +blockquote.quote-indigo h2, +blockquote.quote-indigo h3, +blockquote.quote-indigo h4, +blockquote.quote-indigo h5, +blockquote.quote-indigo h6 { + color: #6610f2; +} + +blockquote.quote-purple { + border-color: #6f42c1; +} + +blockquote.quote-purple h1, +blockquote.quote-purple h2, +blockquote.quote-purple h3, +blockquote.quote-purple h4, +blockquote.quote-purple h5, +blockquote.quote-purple h6 { + color: #6f42c1; +} + +blockquote.quote-pink { + border-color: #e83e8c; +} + +blockquote.quote-pink h1, +blockquote.quote-pink h2, +blockquote.quote-pink h3, +blockquote.quote-pink h4, +blockquote.quote-pink h5, +blockquote.quote-pink h6 { + color: #e83e8c; +} + +blockquote.quote-red { + border-color: #b74b37; +} + +blockquote.quote-red h1, +blockquote.quote-red h2, +blockquote.quote-red h3, +blockquote.quote-red h4, +blockquote.quote-red h5, +blockquote.quote-red h6 { + color: #b74b37; +} + +blockquote.quote-orange { + border-color: #fd7e14; +} + +blockquote.quote-orange h1, +blockquote.quote-orange h2, +blockquote.quote-orange h3, +blockquote.quote-orange h4, +blockquote.quote-orange h5, +blockquote.quote-orange h6 { + color: #fd7e14; +} + +blockquote.quote-yellow { + border-color: #ffc107; +} + +blockquote.quote-yellow h1, +blockquote.quote-yellow h2, +blockquote.quote-yellow h3, +blockquote.quote-yellow h4, +blockquote.quote-yellow h5, +blockquote.quote-yellow h6 { + color: #ffc107; +} + +blockquote.quote-green { + border-color: #28a745; +} + +blockquote.quote-green h1, +blockquote.quote-green h2, +blockquote.quote-green h3, +blockquote.quote-green h4, +blockquote.quote-green h5, +blockquote.quote-green h6 { + color: #28a745; +} + +blockquote.quote-teal { + border-color: #20c997; +} + +blockquote.quote-teal h1, +blockquote.quote-teal h2, +blockquote.quote-teal h3, +blockquote.quote-teal h4, +blockquote.quote-teal h5, +blockquote.quote-teal h6 { + color: #20c997; +} + +blockquote.quote-cyan { + border-color: #17a2b8; +} + +blockquote.quote-cyan h1, +blockquote.quote-cyan h2, +blockquote.quote-cyan h3, +blockquote.quote-cyan h4, +blockquote.quote-cyan h5, +blockquote.quote-cyan h6 { + color: #17a2b8; +} + +blockquote.quote-white { + border-color: #ffffff; +} + +blockquote.quote-white h1, +blockquote.quote-white h2, +blockquote.quote-white h3, +blockquote.quote-white h4, +blockquote.quote-white h5, +blockquote.quote-white h6 { + color: #ffffff; +} + +blockquote.quote-gray { + border-color: #6c757d; +} + +blockquote.quote-gray h1, +blockquote.quote-gray h2, +blockquote.quote-gray h3, +blockquote.quote-gray h4, +blockquote.quote-gray h5, +blockquote.quote-gray h6 { + color: #6c757d; +} + +blockquote.quote-gray-dark { + border-color: #343a40; +} + +blockquote.quote-gray-dark h1, +blockquote.quote-gray-dark h2, +blockquote.quote-gray-dark h3, +blockquote.quote-gray-dark h4, +blockquote.quote-gray-dark h5, +blockquote.quote-gray-dark h6 { + color: #343a40; +} + +.tab-custom-content { + border-top: 1px solid #dee2e6; + margin-top: .5rem; + padding-top: .5rem; +} + +.nav + .tab-custom-content { + border-top: none; + border-bottom: 1px solid #dee2e6; + margin-top: 0; + margin-bottom: .5rem; + padding-bottom: .5rem; +} + +.badge-btn { + border-radius: 0.15rem; + font-size: 0.65625rem; + font-weight: 400; + padding: 0.25rem 0.5rem; +} + +.badge-btn.badge-pill { + padding: .375rem .6rem; +} + +@media print { + .no-print, .main-sidebar, + .main-header, + .content-header { + display: none !important; + } + .content-wrapper, + .main-footer { + -webkit-transform: translate(0, 0); + transform: translate(0, 0); + margin-left: 0 !important; + min-height: 0 !important; + } + .layout-fixed .content-wrapper { + padding-top: 0 !important; + } + .invoice { + border: 0; + margin: 0; + padding: 0; + width: 100%; + } + .invoice-col { + float: left; + width: 33.3333333%; + } + .table-responsive { + overflow: auto; + } + .table-responsive > .table tr th, + .table-responsive > .table tr td { + white-space: normal !important; + } +} + +.text-bold, .text-bold.table td, .text-bold.table th { + font-weight: 700; +} + +.text-xs { + font-size: 0.65625rem !important; +} + +.text-sm { + font-size: 0.76562rem !important; +} + +.text-md { + font-size: 0.875rem !important; +} + +.text-lg { + font-size: 1.09375rem !important; +} + +.text-xl { + font-size: 1.75rem !important; +} + +.text-lightblue { + color: #00aad2 !important; +} + +.text-navy { + color: #002c5f !important; +} + +.text-olive { + color: #3d9970 !important; +} + +.text-lime { + color: #01ff70 !important; +} + +.text-fuchsia { + color: #f012be !important; +} + +.text-maroon { + color: #d81b60 !important; +} + +.text-blue { + color: #2a609e !important; +} + +.text-indigo { + color: #6610f2 !important; +} + +.text-purple { + color: #6f42c1 !important; +} + +.text-pink { + color: #e83e8c !important; +} + +.text-red { + color: #b74b37 !important; +} + +.text-orange { + color: #fd7e14 !important; +} + +.text-yellow { + color: #ffc107 !important; +} + +.text-green { + color: #28a745 !important; +} + +.text-teal { + color: #20c997 !important; +} + +.text-cyan { + color: #17a2b8 !important; +} + +.text-white { + color: #ffffff !important; +} + +.text-gray { + color: #6c757d !important; +} + +.text-gray-dark { + color: #343a40 !important; +} + +.text-underline { + text-decoration: underline !important; +} + +.bg-primary { + background-color: #002c5f !important; +} + +.bg-primary, +.bg-primary > a { + color: #ffffff !important; +} + +.bg-primary.btn:hover { + border-color: #00142c; + color: #ececec; +} + +.bg-primary.btn:not(:disabled):not(.disabled):active, .bg-primary.btn:not(:disabled):not(.disabled).active, .bg-primary.btn:active, .bg-primary.btn.active { + background-color: #00142c !important; + border-color: #000e1f; + color: #ffffff; +} + +.bg-secondary { + background-color: #00aad2 !important; +} + +.bg-secondary, +.bg-secondary > a { + color: #ffffff !important; +} + +.bg-secondary.btn:hover { + border-color: #00819f; + color: #ececec; +} + +.bg-secondary.btn:not(:disabled):not(.disabled):active, .bg-secondary.btn:not(:disabled):not(.disabled).active, .bg-secondary.btn:active, .bg-secondary.btn.active { + background-color: #00819f !important; + border-color: #007692; + color: #ffffff; +} + +.bg-success { + background-color: #2a609e !important; +} + +.bg-success, +.bg-success > a { + color: #ffffff !important; +} + +.bg-success.btn:hover { + border-color: #1f4876; + color: #ececec; +} + +.bg-success.btn:not(:disabled):not(.disabled):active, .bg-success.btn:not(:disabled):not(.disabled).active, .bg-success.btn:active, .bg-success.btn.active { + background-color: #1f4876 !important; + border-color: #1d416c; + color: #ffffff; +} + +.bg-info { + background-color: #aacae6 !important; +} + +.bg-info, +.bg-info > a { + color: #ffffff !important; +} + +.bg-info.btn:hover { + border-color: #83b1da; + color: #ececec; +} + +.bg-info.btn:not(:disabled):not(.disabled):active, .bg-info.btn:not(:disabled):not(.disabled).active, .bg-info.btn:active, .bg-info.btn.active { + background-color: #83b1da !important; + border-color: #79abd8; + color: #ffffff; +} + +.bg-warning { + background-color: #ffc107 !important; +} + +.bg-warning, +.bg-warning > a { + color: #ffffff !important; +} + +.bg-warning.btn:hover { + border-color: #d39e00; + color: #ececec; +} + +.bg-warning.btn:not(:disabled):not(.disabled):active, .bg-warning.btn:not(:disabled):not(.disabled).active, .bg-warning.btn:active, .bg-warning.btn.active { + background-color: #d39e00 !important; + border-color: #c69500; + color: #ffffff; +} + +.bg-danger { + background-color: #b74b37 !important; +} + +.bg-danger, +.bg-danger > a { + color: #ffffff !important; +} + +.bg-danger.btn:hover { + border-color: #903b2b; + color: #ececec; +} + +.bg-danger.btn:not(:disabled):not(.disabled):active, .bg-danger.btn:not(:disabled):not(.disabled).active, .bg-danger.btn:active, .bg-danger.btn.active { + background-color: #903b2b !important; + border-color: #863728; + color: #ffffff; +} + +.bg-light { + background-color: #e4dcd3 !important; +} + +.bg-light, +.bg-light > a { + color: #1F2D3D !important; +} + +.bg-light.btn:hover { + border-color: #d1c3b3; + color: #121a24; +} + +.bg-light.btn:not(:disabled):not(.disabled):active, .bg-light.btn:not(:disabled):not(.disabled).active, .bg-light.btn:active, .bg-light.btn.active { + background-color: #d1c3b3 !important; + border-color: #ccbdab; + color: #ffffff; +} + +.bg-dark { + background-color: #343a40 !important; +} + +.bg-dark, +.bg-dark > a { + color: #ffffff !important; +} + +.bg-dark.btn:hover { + border-color: #1d2124; + color: #ececec; +} + +.bg-dark.btn:not(:disabled):not(.disabled):active, .bg-dark.btn:not(:disabled):not(.disabled).active, .bg-dark.btn:active, .bg-dark.btn.active { + background-color: #1d2124 !important; + border-color: #171a1d; + color: #ffffff; +} + +.bg-lightblue { + background-color: #00aad2 !important; +} + +.bg-lightblue, +.bg-lightblue > a { + color: #ffffff !important; +} + +.bg-lightblue.btn:hover { + border-color: #00819f; + color: #ececec; +} + +.bg-lightblue.btn:not(:disabled):not(.disabled):active, .bg-lightblue.btn:not(:disabled):not(.disabled).active, .bg-lightblue.btn:active, .bg-lightblue.btn.active { + background-color: #00819f !important; + border-color: #007692; + color: #ffffff; +} + +.bg-navy { + background-color: #002c5f !important; +} + +.bg-navy, +.bg-navy > a { + color: #ffffff !important; +} + +.bg-navy.btn:hover { + border-color: #00142c; + color: #ececec; +} + +.bg-navy.btn:not(:disabled):not(.disabled):active, .bg-navy.btn:not(:disabled):not(.disabled).active, .bg-navy.btn:active, .bg-navy.btn.active { + background-color: #00142c !important; + border-color: #000e1f; + color: #ffffff; +} + +.bg-olive { + background-color: #3d9970 !important; +} + +.bg-olive, +.bg-olive > a { + color: #ffffff !important; +} + +.bg-olive.btn:hover { + border-color: #2e7555; + color: #ececec; +} + +.bg-olive.btn:not(:disabled):not(.disabled):active, .bg-olive.btn:not(:disabled):not(.disabled).active, .bg-olive.btn:active, .bg-olive.btn.active { + background-color: #2e7555 !important; + border-color: #2b6b4f; + color: #ffffff; +} + +.bg-lime { + background-color: #01ff70 !important; +} + +.bg-lime, +.bg-lime > a { + color: #ffffff !important; +} + +.bg-lime.btn:hover { + border-color: #00cd5a; + color: #ececec; +} + +.bg-lime.btn:not(:disabled):not(.disabled):active, .bg-lime.btn:not(:disabled):not(.disabled).active, .bg-lime.btn:active, .bg-lime.btn.active { + background-color: #00cd5a !important; + border-color: #00c054; + color: #ffffff; +} + +.bg-fuchsia { + background-color: #f012be !important; +} + +.bg-fuchsia, +.bg-fuchsia > a { + color: #ffffff !important; +} + +.bg-fuchsia.btn:hover { + border-color: #c30c9a; + color: #ececec; +} + +.bg-fuchsia.btn:not(:disabled):not(.disabled):active, .bg-fuchsia.btn:not(:disabled):not(.disabled).active, .bg-fuchsia.btn:active, .bg-fuchsia.btn.active { + background-color: #c30c9a !important; + border-color: #b70c90; + color: #ffffff; +} + +.bg-maroon { + background-color: #d81b60 !important; +} + +.bg-maroon, +.bg-maroon > a { + color: #ffffff !important; +} + +.bg-maroon.btn:hover { + border-color: #ab154c; + color: #ececec; +} + +.bg-maroon.btn:not(:disabled):not(.disabled):active, .bg-maroon.btn:not(:disabled):not(.disabled).active, .bg-maroon.btn:active, .bg-maroon.btn.active { + background-color: #ab154c !important; + border-color: #9f1447; + color: #ffffff; +} + +.bg-blue { + background-color: #2a609e !important; +} + +.bg-blue, +.bg-blue > a { + color: #ffffff !important; +} + +.bg-blue.btn:hover { + border-color: #1f4876; + color: #ececec; +} + +.bg-blue.btn:not(:disabled):not(.disabled):active, .bg-blue.btn:not(:disabled):not(.disabled).active, .bg-blue.btn:active, .bg-blue.btn.active { + background-color: #1f4876 !important; + border-color: #1d416c; + color: #ffffff; +} + +.bg-indigo { + background-color: #6610f2 !important; +} + +.bg-indigo, +.bg-indigo > a { + color: #ffffff !important; +} + +.bg-indigo.btn:hover { + border-color: #510bc4; + color: #ececec; +} + +.bg-indigo.btn:not(:disabled):not(.disabled):active, .bg-indigo.btn:not(:disabled):not(.disabled).active, .bg-indigo.btn:active, .bg-indigo.btn.active { + background-color: #510bc4 !important; + border-color: #4c0ab8; + color: #ffffff; +} + +.bg-purple { + background-color: #6f42c1 !important; +} + +.bg-purple, +.bg-purple > a { + color: #ffffff !important; +} + +.bg-purple.btn:hover { + border-color: #59339d; + color: #ececec; +} + +.bg-purple.btn:not(:disabled):not(.disabled):active, .bg-purple.btn:not(:disabled):not(.disabled).active, .bg-purple.btn:active, .bg-purple.btn.active { + background-color: #59339d !important; + border-color: #533093; + color: #ffffff; +} + +.bg-pink { + background-color: #e83e8c !important; +} + +.bg-pink, +.bg-pink > a { + color: #ffffff !important; +} + +.bg-pink.btn:hover { + border-color: #d91a72; + color: #ececec; +} + +.bg-pink.btn:not(:disabled):not(.disabled):active, .bg-pink.btn:not(:disabled):not(.disabled).active, .bg-pink.btn:active, .bg-pink.btn.active { + background-color: #d91a72 !important; + border-color: #ce196c; + color: #ffffff; +} + +.bg-red { + background-color: #b74b37 !important; +} + +.bg-red, +.bg-red > a { + color: #ffffff !important; +} + +.bg-red.btn:hover { + border-color: #903b2b; + color: #ececec; +} + +.bg-red.btn:not(:disabled):not(.disabled):active, .bg-red.btn:not(:disabled):not(.disabled).active, .bg-red.btn:active, .bg-red.btn.active { + background-color: #903b2b !important; + border-color: #863728; + color: #ffffff; +} + +.bg-orange { + background-color: #fd7e14 !important; +} + +.bg-orange, +.bg-orange > a { + color: #ffffff !important; +} + +.bg-orange.btn:hover { + border-color: #dc6502; + color: #ececec; +} + +.bg-orange.btn:not(:disabled):not(.disabled):active, .bg-orange.btn:not(:disabled):not(.disabled).active, .bg-orange.btn:active, .bg-orange.btn.active { + background-color: #dc6502 !important; + border-color: #cf5f02; + color: #ffffff; +} + +.bg-yellow { + background-color: #ffc107 !important; +} + +.bg-yellow, +.bg-yellow > a { + color: #ffffff !important; +} + +.bg-yellow.btn:hover { + border-color: #d39e00; + color: #ececec; +} + +.bg-yellow.btn:not(:disabled):not(.disabled):active, .bg-yellow.btn:not(:disabled):not(.disabled).active, .bg-yellow.btn:active, .bg-yellow.btn.active { + background-color: #d39e00 !important; + border-color: #c69500; + color: #ffffff; +} + +.bg-green { + background-color: #28a745 !important; +} + +.bg-green, +.bg-green > a { + color: #ffffff !important; +} + +.bg-green.btn:hover { + border-color: #1e7e34; + color: #ececec; +} + +.bg-green.btn:not(:disabled):not(.disabled):active, .bg-green.btn:not(:disabled):not(.disabled).active, .bg-green.btn:active, .bg-green.btn.active { + background-color: #1e7e34 !important; + border-color: #1c7430; + color: #ffffff; +} + +.bg-teal { + background-color: #20c997 !important; +} + +.bg-teal, +.bg-teal > a { + color: #ffffff !important; +} + +.bg-teal.btn:hover { + border-color: #199d76; + color: #ececec; +} + +.bg-teal.btn:not(:disabled):not(.disabled):active, .bg-teal.btn:not(:disabled):not(.disabled).active, .bg-teal.btn:active, .bg-teal.btn.active { + background-color: #199d76 !important; + border-color: #17926e; + color: #ffffff; +} + +.bg-cyan { + background-color: #17a2b8 !important; +} + +.bg-cyan, +.bg-cyan > a { + color: #ffffff !important; +} + +.bg-cyan.btn:hover { + border-color: #117a8b; + color: #ececec; +} + +.bg-cyan.btn:not(:disabled):not(.disabled):active, .bg-cyan.btn:not(:disabled):not(.disabled).active, .bg-cyan.btn:active, .bg-cyan.btn.active { + background-color: #117a8b !important; + border-color: #10707f; + color: #ffffff; +} + +.bg-white { + background-color: #ffffff !important; +} + +.bg-white, +.bg-white > a { + color: #1F2D3D !important; +} + +.bg-white.btn:hover { + border-color: #e6e6e6; + color: #121a24; +} + +.bg-white.btn:not(:disabled):not(.disabled):active, .bg-white.btn:not(:disabled):not(.disabled).active, .bg-white.btn:active, .bg-white.btn.active { + background-color: #e6e6e6 !important; + border-color: #dfdfdf; + color: #1F2D3D; +} + +.bg-gray { + background-color: #6c757d !important; +} + +.bg-gray, +.bg-gray > a { + color: #ffffff !important; +} + +.bg-gray.btn:hover { + border-color: #545b62; + color: #ececec; +} + +.bg-gray.btn:not(:disabled):not(.disabled):active, .bg-gray.btn:not(:disabled):not(.disabled).active, .bg-gray.btn:active, .bg-gray.btn.active { + background-color: #545b62 !important; + border-color: #4e555b; + color: #ffffff; +} + +.bg-gray-dark { + background-color: #343a40 !important; +} + +.bg-gray-dark, +.bg-gray-dark > a { + color: #ffffff !important; +} + +.bg-gray-dark.btn:hover { + border-color: #1d2124; + color: #ececec; +} + +.bg-gray-dark.btn:not(:disabled):not(.disabled):active, .bg-gray-dark.btn:not(:disabled):not(.disabled).active, .bg-gray-dark.btn:active, .bg-gray-dark.btn.active { + background-color: #1d2124 !important; + border-color: #171a1d; + color: #ffffff; +} + +.bg-gray { + background-color: #adb5bd; + color: #ffffff; +} + +.bg-gray-light { + background-color: #f2f4f5; + color: #1F2D3D !important; +} + +.bg-black { + background-color: #000; + color: #ffffff !important; +} + +.bg-white { + background-color: #ffffff; + color: #1F2D3D !important; +} + +.bg-gradient-primary { + color: #ffffff; +} + +.bg-gradient-primary { + background: #002c5f -webkit-gradient(linear, left top, left bottom, from(#264c77), to(#002c5f)) repeat-x !important; + background: #002c5f linear-gradient(180deg, #264c77, #002c5f) repeat-x !important; +} + +.bg-gradient-primary.btn.disabled, .bg-gradient-primary.btn:disabled, .bg-gradient-primary.btn:not(:disabled):not(.disabled):active, .bg-gradient-primary.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-primary.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-primary.btn:hover { + border-color: #00142c; + color: #ececec; +} + +.bg-gradient-primary.btn:hover { + background: #001a39 -webkit-gradient(linear, left top, left bottom, from(#263d56), to(#001a39)) repeat-x !important; + background: #001a39 linear-gradient(180deg, #263d56, #001a39) repeat-x !important; +} + +.bg-gradient-primary.btn:not(:disabled):not(.disabled):active, .bg-gradient-primary.btn:not(:disabled):not(.disabled).active, .bg-gradient-primary.btn:active, .bg-gradient-primary.btn.active { + border-color: #000e1f; + color: #ffffff; +} + +.bg-gradient-primary.btn:not(:disabled):not(.disabled):active, .bg-gradient-primary.btn:not(:disabled):not(.disabled).active, .bg-gradient-primary.btn:active, .bg-gradient-primary.btn.active { + background: #00142c -webkit-gradient(linear, left top, left bottom, from(#26384c), to(#00142c)) repeat-x !important; + background: #00142c linear-gradient(180deg, #26384c, #00142c) repeat-x !important; +} + +.bg-gradient-secondary { + color: #ffffff; +} + +.bg-gradient-secondary { + background: #00aad2 -webkit-gradient(linear, left top, left bottom, from(#26b7d9), to(#00aad2)) repeat-x !important; + background: #00aad2 linear-gradient(180deg, #26b7d9, #00aad2) repeat-x !important; +} + +.bg-gradient-secondary.btn.disabled, .bg-gradient-secondary.btn:disabled, .bg-gradient-secondary.btn:not(:disabled):not(.disabled):active, .bg-gradient-secondary.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-secondary.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-secondary.btn:hover { + border-color: #00819f; + color: #ececec; +} + +.bg-gradient-secondary.btn:hover { + background: #008bac -webkit-gradient(linear, left top, left bottom, from(#269cb8), to(#008bac)) repeat-x !important; + background: #008bac linear-gradient(180deg, #269cb8, #008bac) repeat-x !important; +} + +.bg-gradient-secondary.btn:not(:disabled):not(.disabled):active, .bg-gradient-secondary.btn:not(:disabled):not(.disabled).active, .bg-gradient-secondary.btn:active, .bg-gradient-secondary.btn.active { + border-color: #007692; + color: #ffffff; +} + +.bg-gradient-secondary.btn:not(:disabled):not(.disabled):active, .bg-gradient-secondary.btn:not(:disabled):not(.disabled).active, .bg-gradient-secondary.btn:active, .bg-gradient-secondary.btn.active { + background: #00819f -webkit-gradient(linear, left top, left bottom, from(#2694ad), to(#00819f)) repeat-x !important; + background: #00819f linear-gradient(180deg, #2694ad, #00819f) repeat-x !important; +} + +.bg-gradient-success { + color: #ffffff; +} + +.bg-gradient-success { + background: #2a609e -webkit-gradient(linear, left top, left bottom, from(#4a78ad), to(#2a609e)) repeat-x !important; + background: #2a609e linear-gradient(180deg, #4a78ad, #2a609e) repeat-x !important; +} + +.bg-gradient-success.btn.disabled, .bg-gradient-success.btn:disabled, .bg-gradient-success.btn:not(:disabled):not(.disabled):active, .bg-gradient-success.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-success.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-success.btn:hover { + border-color: #1f4876; + color: #ececec; +} + +.bg-gradient-success.btn:hover { + background: #224e80 -webkit-gradient(linear, left top, left bottom, from(#436893), to(#224e80)) repeat-x !important; + background: #224e80 linear-gradient(180deg, #436893, #224e80) repeat-x !important; +} + +.bg-gradient-success.btn:not(:disabled):not(.disabled):active, .bg-gradient-success.btn:not(:disabled):not(.disabled).active, .bg-gradient-success.btn:active, .bg-gradient-success.btn.active { + border-color: #1d416c; + color: #ffffff; +} + +.bg-gradient-success.btn:not(:disabled):not(.disabled):active, .bg-gradient-success.btn:not(:disabled):not(.disabled).active, .bg-gradient-success.btn:active, .bg-gradient-success.btn.active { + background: #1f4876 -webkit-gradient(linear, left top, left bottom, from(#41638a), to(#1f4876)) repeat-x !important; + background: #1f4876 linear-gradient(180deg, #41638a, #1f4876) repeat-x !important; +} + +.bg-gradient-info { + color: #ffffff; +} + +.bg-gradient-info { + background: #aacae6 -webkit-gradient(linear, left top, left bottom, from(#b7d2ea), to(#aacae6)) repeat-x !important; + background: #aacae6 linear-gradient(180deg, #b7d2ea, #aacae6) repeat-x !important; +} + +.bg-gradient-info.btn.disabled, .bg-gradient-info.btn:disabled, .bg-gradient-info.btn:not(:disabled):not(.disabled):active, .bg-gradient-info.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-info.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-info.btn:hover { + border-color: #83b1da; + color: #ececec; +} + +.bg-gradient-info.btn:hover { + background: #8cb8dd -webkit-gradient(linear, left top, left bottom, from(#9ec2e2), to(#8cb8dd)) repeat-x !important; + background: #8cb8dd linear-gradient(180deg, #9ec2e2, #8cb8dd) repeat-x !important; +} + +.bg-gradient-info.btn:not(:disabled):not(.disabled):active, .bg-gradient-info.btn:not(:disabled):not(.disabled).active, .bg-gradient-info.btn:active, .bg-gradient-info.btn.active { + border-color: #79abd8; + color: #ffffff; +} + +.bg-gradient-info.btn:not(:disabled):not(.disabled):active, .bg-gradient-info.btn:not(:disabled):not(.disabled).active, .bg-gradient-info.btn:active, .bg-gradient-info.btn.active { + background: #83b1da -webkit-gradient(linear, left top, left bottom, from(#95bde0), to(#83b1da)) repeat-x !important; + background: #83b1da linear-gradient(180deg, #95bde0, #83b1da) repeat-x !important; +} + +.bg-gradient-warning { + color: #ffffff; +} + +.bg-gradient-warning { + background: #ffc107 -webkit-gradient(linear, left top, left bottom, from(#ffca2c), to(#ffc107)) repeat-x !important; + background: #ffc107 linear-gradient(180deg, #ffca2c, #ffc107) repeat-x !important; +} + +.bg-gradient-warning.btn.disabled, .bg-gradient-warning.btn:disabled, .bg-gradient-warning.btn:not(:disabled):not(.disabled):active, .bg-gradient-warning.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-warning.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-warning.btn:hover { + border-color: #d39e00; + color: #ececec; +} + +.bg-gradient-warning.btn:hover { + background: #e0a800 -webkit-gradient(linear, left top, left bottom, from(#e4b526), to(#e0a800)) repeat-x !important; + background: #e0a800 linear-gradient(180deg, #e4b526, #e0a800) repeat-x !important; +} + +.bg-gradient-warning.btn:not(:disabled):not(.disabled):active, .bg-gradient-warning.btn:not(:disabled):not(.disabled).active, .bg-gradient-warning.btn:active, .bg-gradient-warning.btn.active { + border-color: #c69500; + color: #ffffff; +} + +.bg-gradient-warning.btn:not(:disabled):not(.disabled):active, .bg-gradient-warning.btn:not(:disabled):not(.disabled).active, .bg-gradient-warning.btn:active, .bg-gradient-warning.btn.active { + background: #d39e00 -webkit-gradient(linear, left top, left bottom, from(#daad26), to(#d39e00)) repeat-x !important; + background: #d39e00 linear-gradient(180deg, #daad26, #d39e00) repeat-x !important; +} + +.bg-gradient-danger { + color: #ffffff; +} + +.bg-gradient-danger { + background: #b74b37 -webkit-gradient(linear, left top, left bottom, from(#c26655), to(#b74b37)) repeat-x !important; + background: #b74b37 linear-gradient(180deg, #c26655, #b74b37) repeat-x !important; +} + +.bg-gradient-danger.btn.disabled, .bg-gradient-danger.btn:disabled, .bg-gradient-danger.btn:not(:disabled):not(.disabled):active, .bg-gradient-danger.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-danger.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-danger.btn:hover { + border-color: #903b2b; + color: #ececec; +} + +.bg-gradient-danger.btn:hover { + background: #9a3f2e -webkit-gradient(linear, left top, left bottom, from(#a95c4d), to(#9a3f2e)) repeat-x !important; + background: #9a3f2e linear-gradient(180deg, #a95c4d, #9a3f2e) repeat-x !important; +} + +.bg-gradient-danger.btn:not(:disabled):not(.disabled):active, .bg-gradient-danger.btn:not(:disabled):not(.disabled).active, .bg-gradient-danger.btn:active, .bg-gradient-danger.btn.active { + border-color: #863728; + color: #ffffff; +} + +.bg-gradient-danger.btn:not(:disabled):not(.disabled):active, .bg-gradient-danger.btn:not(:disabled):not(.disabled).active, .bg-gradient-danger.btn:active, .bg-gradient-danger.btn.active { + background: #903b2b -webkit-gradient(linear, left top, left bottom, from(#a0584b), to(#903b2b)) repeat-x !important; + background: #903b2b linear-gradient(180deg, #a0584b, #903b2b) repeat-x !important; +} + +.bg-gradient-light { + color: #1F2D3D; +} + +.bg-gradient-light { + background: #e4dcd3 -webkit-gradient(linear, left top, left bottom, from(#e8e1da), to(#e4dcd3)) repeat-x !important; + background: #e4dcd3 linear-gradient(180deg, #e8e1da, #e4dcd3) repeat-x !important; +} + +.bg-gradient-light.btn.disabled, .bg-gradient-light.btn:disabled, .bg-gradient-light.btn:not(:disabled):not(.disabled):active, .bg-gradient-light.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-light.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-light.btn:hover { + border-color: #d1c3b3; + color: #121a24; +} + +.bg-gradient-light.btn:hover { + background: #d5c9bb -webkit-gradient(linear, left top, left bottom, from(#dcd1c5), to(#d5c9bb)) repeat-x !important; + background: #d5c9bb linear-gradient(180deg, #dcd1c5, #d5c9bb) repeat-x !important; +} + +.bg-gradient-light.btn:not(:disabled):not(.disabled):active, .bg-gradient-light.btn:not(:disabled):not(.disabled).active, .bg-gradient-light.btn:active, .bg-gradient-light.btn.active { + border-color: #ccbdab; + color: #ffffff; +} + +.bg-gradient-light.btn:not(:disabled):not(.disabled):active, .bg-gradient-light.btn:not(:disabled):not(.disabled).active, .bg-gradient-light.btn:active, .bg-gradient-light.btn.active { + background: #d1c3b3 -webkit-gradient(linear, left top, left bottom, from(#d8ccbf), to(#d1c3b3)) repeat-x !important; + background: #d1c3b3 linear-gradient(180deg, #d8ccbf, #d1c3b3) repeat-x !important; +} + +.bg-gradient-dark { + color: #ffffff; +} + +.bg-gradient-dark { + background: #343a40 -webkit-gradient(linear, left top, left bottom, from(#52585d), to(#343a40)) repeat-x !important; + background: #343a40 linear-gradient(180deg, #52585d, #343a40) repeat-x !important; +} + +.bg-gradient-dark.btn.disabled, .bg-gradient-dark.btn:disabled, .bg-gradient-dark.btn:not(:disabled):not(.disabled):active, .bg-gradient-dark.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-dark.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-dark.btn:hover { + border-color: #1d2124; + color: #ececec; +} + +.bg-gradient-dark.btn:hover { + background: #23272b -webkit-gradient(linear, left top, left bottom, from(#44474b), to(#23272b)) repeat-x !important; + background: #23272b linear-gradient(180deg, #44474b, #23272b) repeat-x !important; +} + +.bg-gradient-dark.btn:not(:disabled):not(.disabled):active, .bg-gradient-dark.btn:not(:disabled):not(.disabled).active, .bg-gradient-dark.btn:active, .bg-gradient-dark.btn.active { + border-color: #171a1d; + color: #ffffff; +} + +.bg-gradient-dark.btn:not(:disabled):not(.disabled):active, .bg-gradient-dark.btn:not(:disabled):not(.disabled).active, .bg-gradient-dark.btn:active, .bg-gradient-dark.btn.active { + background: #1d2124 -webkit-gradient(linear, left top, left bottom, from(#3f4245), to(#1d2124)) repeat-x !important; + background: #1d2124 linear-gradient(180deg, #3f4245, #1d2124) repeat-x !important; +} + +.bg-gradient-lightblue { + color: #ffffff; +} + +.bg-gradient-lightblue { + background: #00aad2 -webkit-gradient(linear, left top, left bottom, from(#26b7d9), to(#00aad2)) repeat-x !important; + background: #00aad2 linear-gradient(180deg, #26b7d9, #00aad2) repeat-x !important; +} + +.bg-gradient-lightblue.btn.disabled, .bg-gradient-lightblue.btn:disabled, .bg-gradient-lightblue.btn:not(:disabled):not(.disabled):active, .bg-gradient-lightblue.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-lightblue.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-lightblue.btn:hover { + border-color: #00819f; + color: #ececec; +} + +.bg-gradient-lightblue.btn:hover { + background: #008bac -webkit-gradient(linear, left top, left bottom, from(#269cb8), to(#008bac)) repeat-x !important; + background: #008bac linear-gradient(180deg, #269cb8, #008bac) repeat-x !important; +} + +.bg-gradient-lightblue.btn:not(:disabled):not(.disabled):active, .bg-gradient-lightblue.btn:not(:disabled):not(.disabled).active, .bg-gradient-lightblue.btn:active, .bg-gradient-lightblue.btn.active { + border-color: #007692; + color: #ffffff; +} + +.bg-gradient-lightblue.btn:not(:disabled):not(.disabled):active, .bg-gradient-lightblue.btn:not(:disabled):not(.disabled).active, .bg-gradient-lightblue.btn:active, .bg-gradient-lightblue.btn.active { + background: #00819f -webkit-gradient(linear, left top, left bottom, from(#2694ad), to(#00819f)) repeat-x !important; + background: #00819f linear-gradient(180deg, #2694ad, #00819f) repeat-x !important; +} + +.bg-gradient-navy { + color: #ffffff; +} + +.bg-gradient-navy { + background: #002c5f -webkit-gradient(linear, left top, left bottom, from(#264c77), to(#002c5f)) repeat-x !important; + background: #002c5f linear-gradient(180deg, #264c77, #002c5f) repeat-x !important; +} + +.bg-gradient-navy.btn.disabled, .bg-gradient-navy.btn:disabled, .bg-gradient-navy.btn:not(:disabled):not(.disabled):active, .bg-gradient-navy.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-navy.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-navy.btn:hover { + border-color: #00142c; + color: #ececec; +} + +.bg-gradient-navy.btn:hover { + background: #001a39 -webkit-gradient(linear, left top, left bottom, from(#263d56), to(#001a39)) repeat-x !important; + background: #001a39 linear-gradient(180deg, #263d56, #001a39) repeat-x !important; +} + +.bg-gradient-navy.btn:not(:disabled):not(.disabled):active, .bg-gradient-navy.btn:not(:disabled):not(.disabled).active, .bg-gradient-navy.btn:active, .bg-gradient-navy.btn.active { + border-color: #000e1f; + color: #ffffff; +} + +.bg-gradient-navy.btn:not(:disabled):not(.disabled):active, .bg-gradient-navy.btn:not(:disabled):not(.disabled).active, .bg-gradient-navy.btn:active, .bg-gradient-navy.btn.active { + background: #00142c -webkit-gradient(linear, left top, left bottom, from(#26384c), to(#00142c)) repeat-x !important; + background: #00142c linear-gradient(180deg, #26384c, #00142c) repeat-x !important; +} + +.bg-gradient-olive { + color: #ffffff; +} + +.bg-gradient-olive { + background: #3d9970 -webkit-gradient(linear, left top, left bottom, from(#5aa885), to(#3d9970)) repeat-x !important; + background: #3d9970 linear-gradient(180deg, #5aa885, #3d9970) repeat-x !important; +} + +.bg-gradient-olive.btn.disabled, .bg-gradient-olive.btn:disabled, .bg-gradient-olive.btn:not(:disabled):not(.disabled):active, .bg-gradient-olive.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-olive.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-olive.btn:hover { + border-color: #2e7555; + color: #ececec; +} + +.bg-gradient-olive.btn:hover { + background: #327e5c -webkit-gradient(linear, left top, left bottom, from(#519174), to(#327e5c)) repeat-x !important; + background: #327e5c linear-gradient(180deg, #519174, #327e5c) repeat-x !important; +} + +.bg-gradient-olive.btn:not(:disabled):not(.disabled):active, .bg-gradient-olive.btn:not(:disabled):not(.disabled).active, .bg-gradient-olive.btn:active, .bg-gradient-olive.btn.active { + border-color: #2b6b4f; + color: #ffffff; +} + +.bg-gradient-olive.btn:not(:disabled):not(.disabled):active, .bg-gradient-olive.btn:not(:disabled):not(.disabled).active, .bg-gradient-olive.btn:active, .bg-gradient-olive.btn.active { + background: #2e7555 -webkit-gradient(linear, left top, left bottom, from(#4e896f), to(#2e7555)) repeat-x !important; + background: #2e7555 linear-gradient(180deg, #4e896f, #2e7555) repeat-x !important; +} + +.bg-gradient-lime { + color: #ffffff; +} + +.bg-gradient-lime { + background: #01ff70 -webkit-gradient(linear, left top, left bottom, from(#27ff85), to(#01ff70)) repeat-x !important; + background: #01ff70 linear-gradient(180deg, #27ff85, #01ff70) repeat-x !important; +} + +.bg-gradient-lime.btn.disabled, .bg-gradient-lime.btn:disabled, .bg-gradient-lime.btn:not(:disabled):not(.disabled):active, .bg-gradient-lime.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-lime.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-lime.btn:hover { + border-color: #00cd5a; + color: #ececec; +} + +.bg-gradient-lime.btn:hover { + background: #00da5f -webkit-gradient(linear, left top, left bottom, from(#26df77), to(#00da5f)) repeat-x !important; + background: #00da5f linear-gradient(180deg, #26df77, #00da5f) repeat-x !important; +} + +.bg-gradient-lime.btn:not(:disabled):not(.disabled):active, .bg-gradient-lime.btn:not(:disabled):not(.disabled).active, .bg-gradient-lime.btn:active, .bg-gradient-lime.btn.active { + border-color: #00c054; + color: #ffffff; +} + +.bg-gradient-lime.btn:not(:disabled):not(.disabled):active, .bg-gradient-lime.btn:not(:disabled):not(.disabled).active, .bg-gradient-lime.btn:active, .bg-gradient-lime.btn.active { + background: #00cd5a -webkit-gradient(linear, left top, left bottom, from(#26d572), to(#00cd5a)) repeat-x !important; + background: #00cd5a linear-gradient(180deg, #26d572, #00cd5a) repeat-x !important; +} + +.bg-gradient-fuchsia { + color: #ffffff; +} + +.bg-gradient-fuchsia { + background: #f012be -webkit-gradient(linear, left top, left bottom, from(#f236c8), to(#f012be)) repeat-x !important; + background: #f012be linear-gradient(180deg, #f236c8, #f012be) repeat-x !important; +} + +.bg-gradient-fuchsia.btn.disabled, .bg-gradient-fuchsia.btn:disabled, .bg-gradient-fuchsia.btn:not(:disabled):not(.disabled):active, .bg-gradient-fuchsia.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-fuchsia.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-fuchsia.btn:hover { + border-color: #c30c9a; + color: #ececec; +} + +.bg-gradient-fuchsia.btn:hover { + background: #cf0da3 -webkit-gradient(linear, left top, left bottom, from(#d631b1), to(#cf0da3)) repeat-x !important; + background: #cf0da3 linear-gradient(180deg, #d631b1, #cf0da3) repeat-x !important; +} + +.bg-gradient-fuchsia.btn:not(:disabled):not(.disabled):active, .bg-gradient-fuchsia.btn:not(:disabled):not(.disabled).active, .bg-gradient-fuchsia.btn:active, .bg-gradient-fuchsia.btn.active { + border-color: #b70c90; + color: #ffffff; +} + +.bg-gradient-fuchsia.btn:not(:disabled):not(.disabled):active, .bg-gradient-fuchsia.btn:not(:disabled):not(.disabled).active, .bg-gradient-fuchsia.btn:active, .bg-gradient-fuchsia.btn.active { + background: #c30c9a -webkit-gradient(linear, left top, left bottom, from(#cc31a9), to(#c30c9a)) repeat-x !important; + background: #c30c9a linear-gradient(180deg, #cc31a9, #c30c9a) repeat-x !important; +} + +.bg-gradient-maroon { + color: #ffffff; +} + +.bg-gradient-maroon { + background: #d81b60 -webkit-gradient(linear, left top, left bottom, from(#de3d78), to(#d81b60)) repeat-x !important; + background: #d81b60 linear-gradient(180deg, #de3d78, #d81b60) repeat-x !important; +} + +.bg-gradient-maroon.btn.disabled, .bg-gradient-maroon.btn:disabled, .bg-gradient-maroon.btn:not(:disabled):not(.disabled):active, .bg-gradient-maroon.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-maroon.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-maroon.btn:hover { + border-color: #ab154c; + color: #ececec; +} + +.bg-gradient-maroon.btn:hover { + background: #b61751 -webkit-gradient(linear, left top, left bottom, from(#c13a6b), to(#b61751)) repeat-x !important; + background: #b61751 linear-gradient(180deg, #c13a6b, #b61751) repeat-x !important; +} + +.bg-gradient-maroon.btn:not(:disabled):not(.disabled):active, .bg-gradient-maroon.btn:not(:disabled):not(.disabled).active, .bg-gradient-maroon.btn:active, .bg-gradient-maroon.btn.active { + border-color: #9f1447; + color: #ffffff; +} + +.bg-gradient-maroon.btn:not(:disabled):not(.disabled):active, .bg-gradient-maroon.btn:not(:disabled):not(.disabled).active, .bg-gradient-maroon.btn:active, .bg-gradient-maroon.btn.active { + background: #ab154c -webkit-gradient(linear, left top, left bottom, from(#b73867), to(#ab154c)) repeat-x !important; + background: #ab154c linear-gradient(180deg, #b73867, #ab154c) repeat-x !important; +} + +.bg-gradient-blue { + color: #ffffff; +} + +.bg-gradient-blue { + background: #2a609e -webkit-gradient(linear, left top, left bottom, from(#4a78ad), to(#2a609e)) repeat-x !important; + background: #2a609e linear-gradient(180deg, #4a78ad, #2a609e) repeat-x !important; +} + +.bg-gradient-blue.btn.disabled, .bg-gradient-blue.btn:disabled, .bg-gradient-blue.btn:not(:disabled):not(.disabled):active, .bg-gradient-blue.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-blue.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-blue.btn:hover { + border-color: #1f4876; + color: #ececec; +} + +.bg-gradient-blue.btn:hover { + background: #224e80 -webkit-gradient(linear, left top, left bottom, from(#436893), to(#224e80)) repeat-x !important; + background: #224e80 linear-gradient(180deg, #436893, #224e80) repeat-x !important; +} + +.bg-gradient-blue.btn:not(:disabled):not(.disabled):active, .bg-gradient-blue.btn:not(:disabled):not(.disabled).active, .bg-gradient-blue.btn:active, .bg-gradient-blue.btn.active { + border-color: #1d416c; + color: #ffffff; +} + +.bg-gradient-blue.btn:not(:disabled):not(.disabled):active, .bg-gradient-blue.btn:not(:disabled):not(.disabled).active, .bg-gradient-blue.btn:active, .bg-gradient-blue.btn.active { + background: #1f4876 -webkit-gradient(linear, left top, left bottom, from(#41638a), to(#1f4876)) repeat-x !important; + background: #1f4876 linear-gradient(180deg, #41638a, #1f4876) repeat-x !important; +} + +.bg-gradient-indigo { + color: #ffffff; +} + +.bg-gradient-indigo { + background: #6610f2 -webkit-gradient(linear, left top, left bottom, from(#7d34f4), to(#6610f2)) repeat-x !important; + background: #6610f2 linear-gradient(180deg, #7d34f4, #6610f2) repeat-x !important; +} + +.bg-gradient-indigo.btn.disabled, .bg-gradient-indigo.btn:disabled, .bg-gradient-indigo.btn:not(:disabled):not(.disabled):active, .bg-gradient-indigo.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-indigo.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-indigo.btn:hover { + border-color: #510bc4; + color: #ececec; +} + +.bg-gradient-indigo.btn:hover { + background: #560bd0 -webkit-gradient(linear, left top, left bottom, from(#7030d7), to(#560bd0)) repeat-x !important; + background: #560bd0 linear-gradient(180deg, #7030d7, #560bd0) repeat-x !important; +} + +.bg-gradient-indigo.btn:not(:disabled):not(.disabled):active, .bg-gradient-indigo.btn:not(:disabled):not(.disabled).active, .bg-gradient-indigo.btn:active, .bg-gradient-indigo.btn.active { + border-color: #4c0ab8; + color: #ffffff; +} + +.bg-gradient-indigo.btn:not(:disabled):not(.disabled):active, .bg-gradient-indigo.btn:not(:disabled):not(.disabled).active, .bg-gradient-indigo.btn:active, .bg-gradient-indigo.btn.active { + background: #510bc4 -webkit-gradient(linear, left top, left bottom, from(#6b2fcd), to(#510bc4)) repeat-x !important; + background: #510bc4 linear-gradient(180deg, #6b2fcd, #510bc4) repeat-x !important; +} + +.bg-gradient-purple { + color: #ffffff; +} + +.bg-gradient-purple { + background: #6f42c1 -webkit-gradient(linear, left top, left bottom, from(#855eca), to(#6f42c1)) repeat-x !important; + background: #6f42c1 linear-gradient(180deg, #855eca, #6f42c1) repeat-x !important; +} + +.bg-gradient-purple.btn.disabled, .bg-gradient-purple.btn:disabled, .bg-gradient-purple.btn:not(:disabled):not(.disabled):active, .bg-gradient-purple.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-purple.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-purple.btn:hover { + border-color: #59339d; + color: #ececec; +} + +.bg-gradient-purple.btn:hover { + background: #5e37a6 -webkit-gradient(linear, left top, left bottom, from(#7655b4), to(#5e37a6)) repeat-x !important; + background: #5e37a6 linear-gradient(180deg, #7655b4, #5e37a6) repeat-x !important; +} + +.bg-gradient-purple.btn:not(:disabled):not(.disabled):active, .bg-gradient-purple.btn:not(:disabled):not(.disabled).active, .bg-gradient-purple.btn:active, .bg-gradient-purple.btn.active { + border-color: #533093; + color: #ffffff; +} + +.bg-gradient-purple.btn:not(:disabled):not(.disabled):active, .bg-gradient-purple.btn:not(:disabled):not(.disabled).active, .bg-gradient-purple.btn:active, .bg-gradient-purple.btn.active { + background: #59339d -webkit-gradient(linear, left top, left bottom, from(#7252ab), to(#59339d)) repeat-x !important; + background: #59339d linear-gradient(180deg, #7252ab, #59339d) repeat-x !important; +} + +.bg-gradient-pink { + color: #ffffff; +} + +.bg-gradient-pink { + background: #e83e8c -webkit-gradient(linear, left top, left bottom, from(#eb5b9d), to(#e83e8c)) repeat-x !important; + background: #e83e8c linear-gradient(180deg, #eb5b9d, #e83e8c) repeat-x !important; +} + +.bg-gradient-pink.btn.disabled, .bg-gradient-pink.btn:disabled, .bg-gradient-pink.btn:not(:disabled):not(.disabled):active, .bg-gradient-pink.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-pink.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-pink.btn:hover { + border-color: #d91a72; + color: #ececec; +} + +.bg-gradient-pink.btn:hover { + background: #e41c78 -webkit-gradient(linear, left top, left bottom, from(#e83e8c), to(#e41c78)) repeat-x !important; + background: #e41c78 linear-gradient(180deg, #e83e8c, #e41c78) repeat-x !important; +} + +.bg-gradient-pink.btn:not(:disabled):not(.disabled):active, .bg-gradient-pink.btn:not(:disabled):not(.disabled).active, .bg-gradient-pink.btn:active, .bg-gradient-pink.btn.active { + border-color: #ce196c; + color: #ffffff; +} + +.bg-gradient-pink.btn:not(:disabled):not(.disabled):active, .bg-gradient-pink.btn:not(:disabled):not(.disabled).active, .bg-gradient-pink.btn:active, .bg-gradient-pink.btn.active { + background: #d91a72 -webkit-gradient(linear, left top, left bottom, from(#df3c87), to(#d91a72)) repeat-x !important; + background: #d91a72 linear-gradient(180deg, #df3c87, #d91a72) repeat-x !important; +} + +.bg-gradient-red { + color: #ffffff; +} + +.bg-gradient-red { + background: #b74b37 -webkit-gradient(linear, left top, left bottom, from(#c26655), to(#b74b37)) repeat-x !important; + background: #b74b37 linear-gradient(180deg, #c26655, #b74b37) repeat-x !important; +} + +.bg-gradient-red.btn.disabled, .bg-gradient-red.btn:disabled, .bg-gradient-red.btn:not(:disabled):not(.disabled):active, .bg-gradient-red.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-red.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-red.btn:hover { + border-color: #903b2b; + color: #ececec; +} + +.bg-gradient-red.btn:hover { + background: #9a3f2e -webkit-gradient(linear, left top, left bottom, from(#a95c4d), to(#9a3f2e)) repeat-x !important; + background: #9a3f2e linear-gradient(180deg, #a95c4d, #9a3f2e) repeat-x !important; +} + +.bg-gradient-red.btn:not(:disabled):not(.disabled):active, .bg-gradient-red.btn:not(:disabled):not(.disabled).active, .bg-gradient-red.btn:active, .bg-gradient-red.btn.active { + border-color: #863728; + color: #ffffff; +} + +.bg-gradient-red.btn:not(:disabled):not(.disabled):active, .bg-gradient-red.btn:not(:disabled):not(.disabled).active, .bg-gradient-red.btn:active, .bg-gradient-red.btn.active { + background: #903b2b -webkit-gradient(linear, left top, left bottom, from(#a0584b), to(#903b2b)) repeat-x !important; + background: #903b2b linear-gradient(180deg, #a0584b, #903b2b) repeat-x !important; +} + +.bg-gradient-orange { + color: #ffffff; +} + +.bg-gradient-orange { + background: #fd7e14 -webkit-gradient(linear, left top, left bottom, from(#fd9137), to(#fd7e14)) repeat-x !important; + background: #fd7e14 linear-gradient(180deg, #fd9137, #fd7e14) repeat-x !important; +} + +.bg-gradient-orange.btn.disabled, .bg-gradient-orange.btn:disabled, .bg-gradient-orange.btn:not(:disabled):not(.disabled):active, .bg-gradient-orange.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-orange.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-orange.btn:hover { + border-color: #dc6502; + color: #ececec; +} + +.bg-gradient-orange.btn:hover { + background: #e96b02 -webkit-gradient(linear, left top, left bottom, from(#ec8128), to(#e96b02)) repeat-x !important; + background: #e96b02 linear-gradient(180deg, #ec8128, #e96b02) repeat-x !important; +} + +.bg-gradient-orange.btn:not(:disabled):not(.disabled):active, .bg-gradient-orange.btn:not(:disabled):not(.disabled).active, .bg-gradient-orange.btn:active, .bg-gradient-orange.btn.active { + border-color: #cf5f02; + color: #ffffff; +} + +.bg-gradient-orange.btn:not(:disabled):not(.disabled):active, .bg-gradient-orange.btn:not(:disabled):not(.disabled).active, .bg-gradient-orange.btn:active, .bg-gradient-orange.btn.active { + background: #dc6502 -webkit-gradient(linear, left top, left bottom, from(#e17c28), to(#dc6502)) repeat-x !important; + background: #dc6502 linear-gradient(180deg, #e17c28, #dc6502) repeat-x !important; +} + +.bg-gradient-yellow { + color: #ffffff; +} + +.bg-gradient-yellow { + background: #ffc107 -webkit-gradient(linear, left top, left bottom, from(#ffca2c), to(#ffc107)) repeat-x !important; + background: #ffc107 linear-gradient(180deg, #ffca2c, #ffc107) repeat-x !important; +} + +.bg-gradient-yellow.btn.disabled, .bg-gradient-yellow.btn:disabled, .bg-gradient-yellow.btn:not(:disabled):not(.disabled):active, .bg-gradient-yellow.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-yellow.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-yellow.btn:hover { + border-color: #d39e00; + color: #ececec; +} + +.bg-gradient-yellow.btn:hover { + background: #e0a800 -webkit-gradient(linear, left top, left bottom, from(#e4b526), to(#e0a800)) repeat-x !important; + background: #e0a800 linear-gradient(180deg, #e4b526, #e0a800) repeat-x !important; +} + +.bg-gradient-yellow.btn:not(:disabled):not(.disabled):active, .bg-gradient-yellow.btn:not(:disabled):not(.disabled).active, .bg-gradient-yellow.btn:active, .bg-gradient-yellow.btn.active { + border-color: #c69500; + color: #ffffff; +} + +.bg-gradient-yellow.btn:not(:disabled):not(.disabled):active, .bg-gradient-yellow.btn:not(:disabled):not(.disabled).active, .bg-gradient-yellow.btn:active, .bg-gradient-yellow.btn.active { + background: #d39e00 -webkit-gradient(linear, left top, left bottom, from(#daad26), to(#d39e00)) repeat-x !important; + background: #d39e00 linear-gradient(180deg, #daad26, #d39e00) repeat-x !important; +} + +.bg-gradient-green { + color: #ffffff; +} + +.bg-gradient-green { + background: #28a745 -webkit-gradient(linear, left top, left bottom, from(#48b461), to(#28a745)) repeat-x !important; + background: #28a745 linear-gradient(180deg, #48b461, #28a745) repeat-x !important; +} + +.bg-gradient-green.btn.disabled, .bg-gradient-green.btn:disabled, .bg-gradient-green.btn:not(:disabled):not(.disabled):active, .bg-gradient-green.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-green.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-green.btn:hover { + border-color: #1e7e34; + color: #ececec; +} + +.bg-gradient-green.btn:hover { + background: #218838 -webkit-gradient(linear, left top, left bottom, from(#429a56), to(#218838)) repeat-x !important; + background: #218838 linear-gradient(180deg, #429a56, #218838) repeat-x !important; +} + +.bg-gradient-green.btn:not(:disabled):not(.disabled):active, .bg-gradient-green.btn:not(:disabled):not(.disabled).active, .bg-gradient-green.btn:active, .bg-gradient-green.btn.active { + border-color: #1c7430; + color: #ffffff; +} + +.bg-gradient-green.btn:not(:disabled):not(.disabled):active, .bg-gradient-green.btn:not(:disabled):not(.disabled).active, .bg-gradient-green.btn:active, .bg-gradient-green.btn.active { + background: #1e7e34 -webkit-gradient(linear, left top, left bottom, from(#409152), to(#1e7e34)) repeat-x !important; + background: #1e7e34 linear-gradient(180deg, #409152, #1e7e34) repeat-x !important; +} + +.bg-gradient-teal { + color: #ffffff; +} + +.bg-gradient-teal { + background: #20c997 -webkit-gradient(linear, left top, left bottom, from(#41d1a7), to(#20c997)) repeat-x !important; + background: #20c997 linear-gradient(180deg, #41d1a7, #20c997) repeat-x !important; +} + +.bg-gradient-teal.btn.disabled, .bg-gradient-teal.btn:disabled, .bg-gradient-teal.btn:not(:disabled):not(.disabled):active, .bg-gradient-teal.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-teal.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-teal.btn:hover { + border-color: #199d76; + color: #ececec; +} + +.bg-gradient-teal.btn:hover { + background: #1ba87e -webkit-gradient(linear, left top, left bottom, from(#3db592), to(#1ba87e)) repeat-x !important; + background: #1ba87e linear-gradient(180deg, #3db592, #1ba87e) repeat-x !important; +} + +.bg-gradient-teal.btn:not(:disabled):not(.disabled):active, .bg-gradient-teal.btn:not(:disabled):not(.disabled).active, .bg-gradient-teal.btn:active, .bg-gradient-teal.btn.active { + border-color: #17926e; + color: #ffffff; +} + +.bg-gradient-teal.btn:not(:disabled):not(.disabled):active, .bg-gradient-teal.btn:not(:disabled):not(.disabled).active, .bg-gradient-teal.btn:active, .bg-gradient-teal.btn.active { + background: #199d76 -webkit-gradient(linear, left top, left bottom, from(#3bac8b), to(#199d76)) repeat-x !important; + background: #199d76 linear-gradient(180deg, #3bac8b, #199d76) repeat-x !important; +} + +.bg-gradient-cyan { + color: #ffffff; +} + +.bg-gradient-cyan { + background: #17a2b8 -webkit-gradient(linear, left top, left bottom, from(#3ab0c3), to(#17a2b8)) repeat-x !important; + background: #17a2b8 linear-gradient(180deg, #3ab0c3, #17a2b8) repeat-x !important; +} + +.bg-gradient-cyan.btn.disabled, .bg-gradient-cyan.btn:disabled, .bg-gradient-cyan.btn:not(:disabled):not(.disabled):active, .bg-gradient-cyan.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-cyan.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-cyan.btn:hover { + border-color: #117a8b; + color: #ececec; +} + +.bg-gradient-cyan.btn:hover { + background: #138496 -webkit-gradient(linear, left top, left bottom, from(#3697a6), to(#138496)) repeat-x !important; + background: #138496 linear-gradient(180deg, #3697a6, #138496) repeat-x !important; +} + +.bg-gradient-cyan.btn:not(:disabled):not(.disabled):active, .bg-gradient-cyan.btn:not(:disabled):not(.disabled).active, .bg-gradient-cyan.btn:active, .bg-gradient-cyan.btn.active { + border-color: #10707f; + color: #ffffff; +} + +.bg-gradient-cyan.btn:not(:disabled):not(.disabled):active, .bg-gradient-cyan.btn:not(:disabled):not(.disabled).active, .bg-gradient-cyan.btn:active, .bg-gradient-cyan.btn.active { + background: #117a8b -webkit-gradient(linear, left top, left bottom, from(#358e9c), to(#117a8b)) repeat-x !important; + background: #117a8b linear-gradient(180deg, #358e9c, #117a8b) repeat-x !important; +} + +.bg-gradient-white { + color: #1F2D3D; +} + +.bg-gradient-white { + background: #ffffff -webkit-gradient(linear, left top, left bottom, from(white), to(#ffffff)) repeat-x !important; + background: #ffffff linear-gradient(180deg, white, #ffffff) repeat-x !important; +} + +.bg-gradient-white.btn.disabled, .bg-gradient-white.btn:disabled, .bg-gradient-white.btn:not(:disabled):not(.disabled):active, .bg-gradient-white.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-white.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-white.btn:hover { + border-color: #e6e6e6; + color: #121a24; +} + +.bg-gradient-white.btn:hover { + background: #ececec -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#ececec)) repeat-x !important; + background: #ececec linear-gradient(180deg, #efefef, #ececec) repeat-x !important; +} + +.bg-gradient-white.btn:not(:disabled):not(.disabled):active, .bg-gradient-white.btn:not(:disabled):not(.disabled).active, .bg-gradient-white.btn:active, .bg-gradient-white.btn.active { + border-color: #dfdfdf; + color: #1F2D3D; +} + +.bg-gradient-white.btn:not(:disabled):not(.disabled):active, .bg-gradient-white.btn:not(:disabled):not(.disabled).active, .bg-gradient-white.btn:active, .bg-gradient-white.btn.active { + background: #e6e6e6 -webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#e6e6e6)) repeat-x !important; + background: #e6e6e6 linear-gradient(180deg, #e9e9e9, #e6e6e6) repeat-x !important; +} + +.bg-gradient-gray { + color: #ffffff; +} + +.bg-gradient-gray { + background: #6c757d -webkit-gradient(linear, left top, left bottom, from(#828a91), to(#6c757d)) repeat-x !important; + background: #6c757d linear-gradient(180deg, #828a91, #6c757d) repeat-x !important; +} + +.bg-gradient-gray.btn.disabled, .bg-gradient-gray.btn:disabled, .bg-gradient-gray.btn:not(:disabled):not(.disabled):active, .bg-gradient-gray.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-gray.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-gray.btn:hover { + border-color: #545b62; + color: #ececec; +} + +.bg-gradient-gray.btn:hover { + background: #5a6268 -webkit-gradient(linear, left top, left bottom, from(#73797f), to(#5a6268)) repeat-x !important; + background: #5a6268 linear-gradient(180deg, #73797f, #5a6268) repeat-x !important; +} + +.bg-gradient-gray.btn:not(:disabled):not(.disabled):active, .bg-gradient-gray.btn:not(:disabled):not(.disabled).active, .bg-gradient-gray.btn:active, .bg-gradient-gray.btn.active { + border-color: #4e555b; + color: #ffffff; +} + +.bg-gradient-gray.btn:not(:disabled):not(.disabled):active, .bg-gradient-gray.btn:not(:disabled):not(.disabled).active, .bg-gradient-gray.btn:active, .bg-gradient-gray.btn.active { + background: #545b62 -webkit-gradient(linear, left top, left bottom, from(#6e7479), to(#545b62)) repeat-x !important; + background: #545b62 linear-gradient(180deg, #6e7479, #545b62) repeat-x !important; +} + +.bg-gradient-gray-dark { + color: #ffffff; +} + +.bg-gradient-gray-dark { + background: #343a40 -webkit-gradient(linear, left top, left bottom, from(#52585d), to(#343a40)) repeat-x !important; + background: #343a40 linear-gradient(180deg, #52585d, #343a40) repeat-x !important; +} + +.bg-gradient-gray-dark.btn.disabled, .bg-gradient-gray-dark.btn:disabled, .bg-gradient-gray-dark.btn:not(:disabled):not(.disabled):active, .bg-gradient-gray-dark.btn:not(:disabled):not(.disabled).active, +.show > .bg-gradient-gray-dark.btn.dropdown-toggle { + background-image: none !important; +} + +.bg-gradient-gray-dark.btn:hover { + border-color: #1d2124; + color: #ececec; +} + +.bg-gradient-gray-dark.btn:hover { + background: #23272b -webkit-gradient(linear, left top, left bottom, from(#44474b), to(#23272b)) repeat-x !important; + background: #23272b linear-gradient(180deg, #44474b, #23272b) repeat-x !important; +} + +.bg-gradient-gray-dark.btn:not(:disabled):not(.disabled):active, .bg-gradient-gray-dark.btn:not(:disabled):not(.disabled).active, .bg-gradient-gray-dark.btn:active, .bg-gradient-gray-dark.btn.active { + border-color: #171a1d; + color: #ffffff; +} + +.bg-gradient-gray-dark.btn:not(:disabled):not(.disabled):active, .bg-gradient-gray-dark.btn:not(:disabled):not(.disabled).active, .bg-gradient-gray-dark.btn:active, .bg-gradient-gray-dark.btn.active { + background: #1d2124 -webkit-gradient(linear, left top, left bottom, from(#3f4245), to(#1d2124)) repeat-x !important; + background: #1d2124 linear-gradient(180deg, #3f4245, #1d2124) repeat-x !important; +} + +[class^='bg-'].disabled { + opacity: .65; +} + +a.text-muted:hover { + color: #002c5f !important; +} + +.link-muted { + color: #5d6974; +} + +.link-muted:hover, .link-muted:focus { + color: #464f58; +} + +.link-black { + color: #6c757d; +} + +.link-black:hover, .link-black:focus { + color: #e6e8ea; +} + +.accent-primary .btn-link, +.accent-primary a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #002c5f; +} + +.accent-primary .btn-link:hover, +.accent-primary a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #000913; +} + +.accent-primary .dropdown-item:active, .accent-primary .dropdown-item.active { + background: #002c5f; + color: #ffffff; +} + +.accent-primary .custom-control-input:checked ~ .custom-control-label::before { + background: #002c5f; + border-color: black; +} + +.accent-primary .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-primary .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-primary .custom-select:focus, +.accent-primary .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-primary .custom-file-input:focus ~ .custom-file-label { + border-color: #0067df; +} + +.accent-primary .page-item .page-link { + color: #002c5f; +} + +.accent-primary .page-item.active a, +.accent-primary .page-item.active .page-link { + background-color: #002c5f; + border-color: #002c5f; + color: #002c5f; +} + +.accent-primary .page-item.disabled a, +.accent-primary .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-primary [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-primary [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-primary [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-primary [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-secondary .btn-link, +.accent-secondary a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #00aad2; +} + +.accent-secondary .btn-link:hover, +.accent-secondary a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #006c86; +} + +.accent-secondary .dropdown-item:active, .accent-secondary .dropdown-item.active { + background: #00aad2; + color: #ffffff; +} + +.accent-secondary .custom-control-input:checked ~ .custom-control-label::before { + background: #00aad2; + border-color: #00576c; +} + +.accent-secondary .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-secondary .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-secondary .custom-select:focus, +.accent-secondary .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-secondary .custom-file-input:focus ~ .custom-file-label { + border-color: #53deff; +} + +.accent-secondary .page-item .page-link { + color: #00aad2; +} + +.accent-secondary .page-item.active a, +.accent-secondary .page-item.active .page-link { + background-color: #00aad2; + border-color: #00aad2; + color: #002c5f; +} + +.accent-secondary .page-item.disabled a, +.accent-secondary .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-secondary [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-secondary [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-secondary [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-secondary [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-success .btn-link, +.accent-success a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #2a609e; +} + +.accent-success .btn-link:hover, +.accent-success a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #1a3b62; +} + +.accent-success .dropdown-item:active, .accent-success .dropdown-item.active { + background: #2a609e; + color: #ffffff; +} + +.accent-success .custom-control-input:checked ~ .custom-control-label::before { + background: #2a609e; + border-color: #152f4d; +} + +.accent-success .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-success .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-success .custom-select:focus, +.accent-success .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-success .custom-file-input:focus ~ .custom-file-label { + border-color: #6fa0d9; +} + +.accent-success .page-item .page-link { + color: #2a609e; +} + +.accent-success .page-item.active a, +.accent-success .page-item.active .page-link { + background-color: #2a609e; + border-color: #2a609e; + color: #002c5f; +} + +.accent-success .page-item.disabled a, +.accent-success .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-success [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-success [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-success [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-success [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-info .btn-link, +.accent-info a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #aacae6; +} + +.accent-info .btn-link:hover, +.accent-info a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #6fa5d5; +} + +.accent-info .dropdown-item:active, .accent-info .dropdown-item.active { + background: #aacae6; + color: #ffffff; +} + +.accent-info .custom-control-input:checked ~ .custom-control-label::before { + background: #aacae6; + border-color: #5b99cf; +} + +.accent-info .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-info .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-info .custom-select:focus, +.accent-info .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-info .custom-file-input:focus ~ .custom-file-label { + border-color: white; +} + +.accent-info .page-item .page-link { + color: #aacae6; +} + +.accent-info .page-item.active a, +.accent-info .page-item.active .page-link { + background-color: #aacae6; + border-color: #aacae6; + color: #002c5f; +} + +.accent-info .page-item.disabled a, +.accent-info .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-info [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-info [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-info [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-info [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-warning .btn-link, +.accent-warning a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #ffc107; +} + +.accent-warning .btn-link:hover, +.accent-warning a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #ba8b00; +} + +.accent-warning .dropdown-item:active, .accent-warning .dropdown-item.active { + background: #ffc107; + color: #ffffff; +} + +.accent-warning .custom-control-input:checked ~ .custom-control-label::before { + background: #ffc107; + border-color: #a07800; +} + +.accent-warning .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-warning .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-warning .custom-select:focus, +.accent-warning .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-warning .custom-file-input:focus ~ .custom-file-label { + border-color: #ffe187; +} + +.accent-warning .page-item .page-link { + color: #ffc107; +} + +.accent-warning .page-item.active a, +.accent-warning .page-item.active .page-link { + background-color: #ffc107; + border-color: #ffc107; + color: #002c5f; +} + +.accent-warning .page-item.disabled a, +.accent-warning .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-warning [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-warning [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-warning [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-warning [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-danger .btn-link, +.accent-danger a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #b74b37; +} + +.accent-danger .btn-link:hover, +.accent-danger a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #7c3325; +} + +.accent-danger .dropdown-item:active, .accent-danger .dropdown-item.active { + background: #b74b37; + color: #ffffff; +} + +.accent-danger .custom-control-input:checked ~ .custom-control-label::before { + background: #b74b37; + border-color: #692b1f; +} + +.accent-danger .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-danger .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-danger .custom-select:focus, +.accent-danger .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-danger .custom-file-input:focus ~ .custom-file-label { + border-color: #de9c90; +} + +.accent-danger .page-item .page-link { + color: #b74b37; +} + +.accent-danger .page-item.active a, +.accent-danger .page-item.active .page-link { + background-color: #b74b37; + border-color: #b74b37; + color: #002c5f; +} + +.accent-danger .page-item.disabled a, +.accent-danger .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-danger [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-danger [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-danger [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-danger [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-light .btn-link, +.accent-light a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #e4dcd3; +} + +.accent-light .btn-link:hover, +.accent-light a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #c7b6a4; +} + +.accent-light .dropdown-item:active, .accent-light .dropdown-item.active { + background: #e4dcd3; + color: #1F2D3D; +} + +.accent-light .custom-control-input:checked ~ .custom-control-label::before { + background: #e4dcd3; + border-color: #bdaa94; +} + +.accent-light .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%231F2D3D' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-light .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-light .custom-select:focus, +.accent-light .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-light .custom-file-input:focus ~ .custom-file-label { + border-color: white; +} + +.accent-light .page-item .page-link { + color: #e4dcd3; +} + +.accent-light .page-item.active a, +.accent-light .page-item.active .page-link { + background-color: #e4dcd3; + border-color: #e4dcd3; + color: #002c5f; +} + +.accent-light .page-item.disabled a, +.accent-light .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-light [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-light [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-light [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-light [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-dark .btn-link, +.accent-dark a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #343a40; +} + +.accent-dark .btn-link:hover, +.accent-dark a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #121416; +} + +.accent-dark .dropdown-item:active, .accent-dark .dropdown-item.active { + background: #343a40; + color: #ffffff; +} + +.accent-dark .custom-control-input:checked ~ .custom-control-label::before { + background: #343a40; + border-color: #060708; +} + +.accent-dark .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-dark .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-dark .custom-select:focus, +.accent-dark .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-dark .custom-file-input:focus ~ .custom-file-label { + border-color: #6d7a86; +} + +.accent-dark .page-item .page-link { + color: #343a40; +} + +.accent-dark .page-item.active a, +.accent-dark .page-item.active .page-link { + background-color: #343a40; + border-color: #343a40; + color: #002c5f; +} + +.accent-dark .page-item.disabled a, +.accent-dark .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-dark [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-dark [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-dark [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-dark [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-lightblue .btn-link, +.accent-lightblue a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #00aad2; +} + +.accent-lightblue .btn-link:hover, +.accent-lightblue a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #006c86; +} + +.accent-lightblue .dropdown-item:active, .accent-lightblue .dropdown-item.active { + background: #00aad2; + color: #ffffff; +} + +.accent-lightblue .custom-control-input:checked ~ .custom-control-label::before { + background: #00aad2; + border-color: #00576c; +} + +.accent-lightblue .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-lightblue .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-lightblue .custom-select:focus, +.accent-lightblue .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-lightblue .custom-file-input:focus ~ .custom-file-label { + border-color: #53deff; +} + +.accent-lightblue .page-item .page-link { + color: #00aad2; +} + +.accent-lightblue .page-item.active a, +.accent-lightblue .page-item.active .page-link { + background-color: #00aad2; + border-color: #00aad2; + color: #002c5f; +} + +.accent-lightblue .page-item.disabled a, +.accent-lightblue .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-lightblue [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-lightblue [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-lightblue [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-lightblue [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-navy .btn-link, +.accent-navy a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #002c5f; +} + +.accent-navy .btn-link:hover, +.accent-navy a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #000913; +} + +.accent-navy .dropdown-item:active, .accent-navy .dropdown-item.active { + background: #002c5f; + color: #ffffff; +} + +.accent-navy .custom-control-input:checked ~ .custom-control-label::before { + background: #002c5f; + border-color: black; +} + +.accent-navy .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-navy .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-navy .custom-select:focus, +.accent-navy .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-navy .custom-file-input:focus ~ .custom-file-label { + border-color: #0067df; +} + +.accent-navy .page-item .page-link { + color: #002c5f; +} + +.accent-navy .page-item.active a, +.accent-navy .page-item.active .page-link { + background-color: #002c5f; + border-color: #002c5f; + color: #002c5f; +} + +.accent-navy .page-item.disabled a, +.accent-navy .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-navy [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-navy [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-navy [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-navy [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-olive .btn-link, +.accent-olive a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #3d9970; +} + +.accent-olive .btn-link:hover, +.accent-olive a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #276248; +} + +.accent-olive .dropdown-item:active, .accent-olive .dropdown-item.active { + background: #3d9970; + color: #ffffff; +} + +.accent-olive .custom-control-input:checked ~ .custom-control-label::before { + background: #3d9970; + border-color: #20503b; +} + +.accent-olive .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-olive .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-olive .custom-select:focus, +.accent-olive .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-olive .custom-file-input:focus ~ .custom-file-label { + border-color: #87cfaf; +} + +.accent-olive .page-item .page-link { + color: #3d9970; +} + +.accent-olive .page-item.active a, +.accent-olive .page-item.active .page-link { + background-color: #3d9970; + border-color: #3d9970; + color: #002c5f; +} + +.accent-olive .page-item.disabled a, +.accent-olive .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-olive [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-olive [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-olive [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-olive [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-lime .btn-link, +.accent-lime a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #01ff70; +} + +.accent-lime .btn-link:hover, +.accent-lime a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #00b44e; +} + +.accent-lime .dropdown-item:active, .accent-lime .dropdown-item.active { + background: #01ff70; + color: #ffffff; +} + +.accent-lime .custom-control-input:checked ~ .custom-control-label::before { + background: #01ff70; + border-color: #009a43; +} + +.accent-lime .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-lime .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-lime .custom-select:focus, +.accent-lime .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-lime .custom-file-input:focus ~ .custom-file-label { + border-color: #81ffb8; +} + +.accent-lime .page-item .page-link { + color: #01ff70; +} + +.accent-lime .page-item.active a, +.accent-lime .page-item.active .page-link { + background-color: #01ff70; + border-color: #01ff70; + color: #002c5f; +} + +.accent-lime .page-item.disabled a, +.accent-lime .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-lime [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-lime [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-lime [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-lime [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-fuchsia .btn-link, +.accent-fuchsia a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #f012be; +} + +.accent-fuchsia .btn-link:hover, +.accent-fuchsia a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #ab0b87; +} + +.accent-fuchsia .dropdown-item:active, .accent-fuchsia .dropdown-item.active { + background: #f012be; + color: #ffffff; +} + +.accent-fuchsia .custom-control-input:checked ~ .custom-control-label::before { + background: #f012be; + border-color: #930974; +} + +.accent-fuchsia .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-fuchsia .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-fuchsia .custom-select:focus, +.accent-fuchsia .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-fuchsia .custom-file-input:focus ~ .custom-file-label { + border-color: #f88adf; +} + +.accent-fuchsia .page-item .page-link { + color: #f012be; +} + +.accent-fuchsia .page-item.active a, +.accent-fuchsia .page-item.active .page-link { + background-color: #f012be; + border-color: #f012be; + color: #002c5f; +} + +.accent-fuchsia .page-item.disabled a, +.accent-fuchsia .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-fuchsia [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-fuchsia [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-fuchsia [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-fuchsia [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-maroon .btn-link, +.accent-maroon a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #d81b60; +} + +.accent-maroon .btn-link:hover, +.accent-maroon a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #941342; +} + +.accent-maroon .dropdown-item:active, .accent-maroon .dropdown-item.active { + background: #d81b60; + color: #ffffff; +} + +.accent-maroon .custom-control-input:checked ~ .custom-control-label::before { + background: #d81b60; + border-color: #7d1038; +} + +.accent-maroon .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-maroon .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-maroon .custom-select:focus, +.accent-maroon .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-maroon .custom-file-input:focus ~ .custom-file-label { + border-color: #f083ab; +} + +.accent-maroon .page-item .page-link { + color: #d81b60; +} + +.accent-maroon .page-item.active a, +.accent-maroon .page-item.active .page-link { + background-color: #d81b60; + border-color: #d81b60; + color: #002c5f; +} + +.accent-maroon .page-item.disabled a, +.accent-maroon .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-maroon [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-maroon [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-maroon [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-maroon [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-blue .btn-link, +.accent-blue a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #2a609e; +} + +.accent-blue .btn-link:hover, +.accent-blue a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #1a3b62; +} + +.accent-blue .dropdown-item:active, .accent-blue .dropdown-item.active { + background: #2a609e; + color: #ffffff; +} + +.accent-blue .custom-control-input:checked ~ .custom-control-label::before { + background: #2a609e; + border-color: #152f4d; +} + +.accent-blue .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-blue .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-blue .custom-select:focus, +.accent-blue .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-blue .custom-file-input:focus ~ .custom-file-label { + border-color: #6fa0d9; +} + +.accent-blue .page-item .page-link { + color: #2a609e; +} + +.accent-blue .page-item.active a, +.accent-blue .page-item.active .page-link { + background-color: #2a609e; + border-color: #2a609e; + color: #002c5f; +} + +.accent-blue .page-item.disabled a, +.accent-blue .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-blue [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-blue [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-blue [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-blue [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-indigo .btn-link, +.accent-indigo a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #6610f2; +} + +.accent-indigo .btn-link:hover, +.accent-indigo a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #4709ac; +} + +.accent-indigo .dropdown-item:active, .accent-indigo .dropdown-item.active { + background: #6610f2; + color: #ffffff; +} + +.accent-indigo .custom-control-input:checked ~ .custom-control-label::before { + background: #6610f2; + border-color: #3d0894; +} + +.accent-indigo .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-indigo .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-indigo .custom-select:focus, +.accent-indigo .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-indigo .custom-file-input:focus ~ .custom-file-label { + border-color: #b389f9; +} + +.accent-indigo .page-item .page-link { + color: #6610f2; +} + +.accent-indigo .page-item.active a, +.accent-indigo .page-item.active .page-link { + background-color: #6610f2; + border-color: #6610f2; + color: #002c5f; +} + +.accent-indigo .page-item.disabled a, +.accent-indigo .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-indigo [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-indigo [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-indigo [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-indigo [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-purple .btn-link, +.accent-purple a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #6f42c1; +} + +.accent-purple .btn-link:hover, +.accent-purple a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #4e2d89; +} + +.accent-purple .dropdown-item:active, .accent-purple .dropdown-item.active { + background: #6f42c1; + color: #ffffff; +} + +.accent-purple .custom-control-input:checked ~ .custom-control-label::before { + background: #6f42c1; + border-color: #432776; +} + +.accent-purple .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-purple .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-purple .custom-select:focus, +.accent-purple .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-purple .custom-file-input:focus ~ .custom-file-label { + border-color: #b8a2e0; +} + +.accent-purple .page-item .page-link { + color: #6f42c1; +} + +.accent-purple .page-item.active a, +.accent-purple .page-item.active .page-link { + background-color: #6f42c1; + border-color: #6f42c1; + color: #002c5f; +} + +.accent-purple .page-item.disabled a, +.accent-purple .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-purple [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-purple [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-purple [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-purple [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-pink .btn-link, +.accent-pink a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #e83e8c; +} + +.accent-pink .btn-link:hover, +.accent-pink a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #c21766; +} + +.accent-pink .dropdown-item:active, .accent-pink .dropdown-item.active { + background: #e83e8c; + color: #ffffff; +} + +.accent-pink .custom-control-input:checked ~ .custom-control-label::before { + background: #e83e8c; + border-color: #ac145a; +} + +.accent-pink .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-pink .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-pink .custom-select:focus, +.accent-pink .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-pink .custom-file-input:focus ~ .custom-file-label { + border-color: #f6b0d0; +} + +.accent-pink .page-item .page-link { + color: #e83e8c; +} + +.accent-pink .page-item.active a, +.accent-pink .page-item.active .page-link { + background-color: #e83e8c; + border-color: #e83e8c; + color: #002c5f; +} + +.accent-pink .page-item.disabled a, +.accent-pink .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-pink [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-pink [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-pink [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-pink [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-red .btn-link, +.accent-red a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #b74b37; +} + +.accent-red .btn-link:hover, +.accent-red a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #7c3325; +} + +.accent-red .dropdown-item:active, .accent-red .dropdown-item.active { + background: #b74b37; + color: #ffffff; +} + +.accent-red .custom-control-input:checked ~ .custom-control-label::before { + background: #b74b37; + border-color: #692b1f; +} + +.accent-red .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-red .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-red .custom-select:focus, +.accent-red .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-red .custom-file-input:focus ~ .custom-file-label { + border-color: #de9c90; +} + +.accent-red .page-item .page-link { + color: #b74b37; +} + +.accent-red .page-item.active a, +.accent-red .page-item.active .page-link { + background-color: #b74b37; + border-color: #b74b37; + color: #002c5f; +} + +.accent-red .page-item.disabled a, +.accent-red .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-red [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-red [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-red [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-red [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-orange .btn-link, +.accent-orange a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #fd7e14; +} + +.accent-orange .btn-link:hover, +.accent-orange a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #c35a02; +} + +.accent-orange .dropdown-item:active, .accent-orange .dropdown-item.active { + background: #fd7e14; + color: #ffffff; +} + +.accent-orange .custom-control-input:checked ~ .custom-control-label::before { + background: #fd7e14; + border-color: #aa4e01; +} + +.accent-orange .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-orange .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-orange .custom-select:focus, +.accent-orange .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-orange .custom-file-input:focus ~ .custom-file-label { + border-color: #fec392; +} + +.accent-orange .page-item .page-link { + color: #fd7e14; +} + +.accent-orange .page-item.active a, +.accent-orange .page-item.active .page-link { + background-color: #fd7e14; + border-color: #fd7e14; + color: #002c5f; +} + +.accent-orange .page-item.disabled a, +.accent-orange .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-orange [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-orange [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-orange [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-orange [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-yellow .btn-link, +.accent-yellow a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #ffc107; +} + +.accent-yellow .btn-link:hover, +.accent-yellow a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #ba8b00; +} + +.accent-yellow .dropdown-item:active, .accent-yellow .dropdown-item.active { + background: #ffc107; + color: #ffffff; +} + +.accent-yellow .custom-control-input:checked ~ .custom-control-label::before { + background: #ffc107; + border-color: #a07800; +} + +.accent-yellow .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-yellow .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-yellow .custom-select:focus, +.accent-yellow .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-yellow .custom-file-input:focus ~ .custom-file-label { + border-color: #ffe187; +} + +.accent-yellow .page-item .page-link { + color: #ffc107; +} + +.accent-yellow .page-item.active a, +.accent-yellow .page-item.active .page-link { + background-color: #ffc107; + border-color: #ffc107; + color: #002c5f; +} + +.accent-yellow .page-item.disabled a, +.accent-yellow .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-yellow [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-yellow [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-yellow [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-yellow [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-green .btn-link, +.accent-green a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #28a745; +} + +.accent-green .btn-link:hover, +.accent-green a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #19692c; +} + +.accent-green .dropdown-item:active, .accent-green .dropdown-item.active { + background: #28a745; + color: #ffffff; +} + +.accent-green .custom-control-input:checked ~ .custom-control-label::before { + background: #28a745; + border-color: #145523; +} + +.accent-green .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-green .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-green .custom-select:focus, +.accent-green .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-green .custom-file-input:focus ~ .custom-file-label { + border-color: #71dd8a; +} + +.accent-green .page-item .page-link { + color: #28a745; +} + +.accent-green .page-item.active a, +.accent-green .page-item.active .page-link { + background-color: #28a745; + border-color: #28a745; + color: #002c5f; +} + +.accent-green .page-item.disabled a, +.accent-green .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-green [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-green [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-green [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-green [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-teal .btn-link, +.accent-teal a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #20c997; +} + +.accent-teal .btn-link:hover, +.accent-teal a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #158765; +} + +.accent-teal .dropdown-item:active, .accent-teal .dropdown-item.active { + background: #20c997; + color: #ffffff; +} + +.accent-teal .custom-control-input:checked ~ .custom-control-label::before { + background: #20c997; + border-color: #127155; +} + +.accent-teal .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-teal .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-teal .custom-select:focus, +.accent-teal .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-teal .custom-file-input:focus ~ .custom-file-label { + border-color: #7eeaca; +} + +.accent-teal .page-item .page-link { + color: #20c997; +} + +.accent-teal .page-item.active a, +.accent-teal .page-item.active .page-link { + background-color: #20c997; + border-color: #20c997; + color: #002c5f; +} + +.accent-teal .page-item.disabled a, +.accent-teal .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-teal [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-teal [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-teal [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-teal [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-cyan .btn-link, +.accent-cyan a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #17a2b8; +} + +.accent-cyan .btn-link:hover, +.accent-cyan a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #0f6674; +} + +.accent-cyan .dropdown-item:active, .accent-cyan .dropdown-item.active { + background: #17a2b8; + color: #ffffff; +} + +.accent-cyan .custom-control-input:checked ~ .custom-control-label::before { + background: #17a2b8; + border-color: #0c525d; +} + +.accent-cyan .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-cyan .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-cyan .custom-select:focus, +.accent-cyan .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-cyan .custom-file-input:focus ~ .custom-file-label { + border-color: #63d9ec; +} + +.accent-cyan .page-item .page-link { + color: #17a2b8; +} + +.accent-cyan .page-item.active a, +.accent-cyan .page-item.active .page-link { + background-color: #17a2b8; + border-color: #17a2b8; + color: #002c5f; +} + +.accent-cyan .page-item.disabled a, +.accent-cyan .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-cyan [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-cyan [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-cyan [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-cyan [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-white .btn-link, +.accent-white a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #ffffff; +} + +.accent-white .btn-link:hover, +.accent-white a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #d9d9d9; +} + +.accent-white .dropdown-item:active, .accent-white .dropdown-item.active { + background: #ffffff; + color: #1F2D3D; +} + +.accent-white .custom-control-input:checked ~ .custom-control-label::before { + background: #ffffff; + border-color: #cccccc; +} + +.accent-white .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%231F2D3D' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-white .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-white .custom-select:focus, +.accent-white .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-white .custom-file-input:focus ~ .custom-file-label { + border-color: white; +} + +.accent-white .page-item .page-link { + color: #ffffff; +} + +.accent-white .page-item.active a, +.accent-white .page-item.active .page-link { + background-color: #ffffff; + border-color: #ffffff; + color: #002c5f; +} + +.accent-white .page-item.disabled a, +.accent-white .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-white [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-white [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-white [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-white [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-gray .btn-link, +.accent-gray a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #6c757d; +} + +.accent-gray .btn-link:hover, +.accent-gray a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #494f54; +} + +.accent-gray .dropdown-item:active, .accent-gray .dropdown-item.active { + background: #6c757d; + color: #ffffff; +} + +.accent-gray .custom-control-input:checked ~ .custom-control-label::before { + background: #6c757d; + border-color: #3d4246; +} + +.accent-gray .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-gray .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-gray .custom-select:focus, +.accent-gray .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-gray .custom-file-input:focus ~ .custom-file-label { + border-color: #afb5ba; +} + +.accent-gray .page-item .page-link { + color: #6c757d; +} + +.accent-gray .page-item.active a, +.accent-gray .page-item.active .page-link { + background-color: #6c757d; + border-color: #6c757d; + color: #002c5f; +} + +.accent-gray .page-item.disabled a, +.accent-gray .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-gray [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-gray [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-gray [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-gray [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +.accent-gray-dark .btn-link, +.accent-gray-dark a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: #343a40; +} + +.accent-gray-dark .btn-link:hover, +.accent-gray-dark a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn):hover { + color: #121416; +} + +.accent-gray-dark .dropdown-item:active, .accent-gray-dark .dropdown-item.active { + background: #343a40; + color: #ffffff; +} + +.accent-gray-dark .custom-control-input:checked ~ .custom-control-label::before { + background: #343a40; + border-color: #060708; +} + +.accent-gray-dark .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"); +} + +.accent-gray-dark .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), +.accent-gray-dark .custom-select:focus, +.accent-gray-dark .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, +.accent-gray-dark .custom-file-input:focus ~ .custom-file-label { + border-color: #6d7a86; +} + +.accent-gray-dark .page-item .page-link { + color: #343a40; +} + +.accent-gray-dark .page-item.active a, +.accent-gray-dark .page-item.active .page-link { + background-color: #343a40; + border-color: #343a40; + color: #002c5f; +} + +.accent-gray-dark .page-item.disabled a, +.accent-gray-dark .page-item.disabled .page-link { + background-color: #ffffff; + border-color: #dee2e6; + color: #6c757d; +} + +.accent-gray-dark [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #C2C7D0; +} + +.accent-gray-dark [class*="sidebar-dark-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #ffffff; +} + +.accent-gray-dark [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: #343a40; +} + +.accent-gray-dark [class*="sidebar-light-"] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):hover { + color: #212529; +} + +[class*="accent-"] a.btn-primary { + color: #ffffff; +} + +[class*="accent-"] a.btn-secondary { + color: #ffffff; +} + +[class*="accent-"] a.btn-success { + color: #ffffff; +} + +[class*="accent-"] a.btn-info { + color: #ffffff; +} + +[class*="accent-"] a.btn-warning { + color: #ffffff; +} + +[class*="accent-"] a.btn-danger { + color: #ffffff; +} + +[class*="accent-"] a.btn-light { + color: #1F2D3D; +} + +[class*="accent-"] a.btn-dark { + color: #ffffff; +} diff --git a/css/Chart.min.css b/css/Chart.min.css new file mode 100644 index 0000000..9dc5ac2 --- /dev/null +++ b/css/Chart.min.css @@ -0,0 +1 @@ +@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0} \ No newline at end of file diff --git a/css/all.min.css b/css/all.min.css new file mode 100644 index 0000000..45763c9 --- /dev/null +++ b/css/all.min.css @@ -0,0 +1,5 @@ +/*! + * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ +.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(/css/font/fontawesome/fa-brands-400.eot);src:url(/css/font/fontawesome/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(/css/font/fontawesome/fa-brands-400.woff2) format("woff2"),url(/css/font/fontawesome/fa-brands-400.woff) format("woff"),url(/css/font/fontawesome/fa-brands-400.ttf) format("truetype"),url(/css/font/fontawesome/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(/css/font/fontawesome/fa-regular-400.eot);src:url(/css/font/fontawesome/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(/css/font/fontawesome/fa-regular-400.woff2) format("woff2"),url(/css/font/fontawesome/fa-regular-400.woff) format("woff"),url(/css/font/fontawesome/fa-regular-400.ttf) format("truetype"),url(/css/font/fontawesome/fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(/css/font/fontawesome/fa-solid-900.eot);src:url(/css/font/fontawesome/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(/css/font/fontawesome/fa-solid-900.woff2) format("woff2"),url(/css/font/fontawesome/fa-solid-900.woff) format("woff"),url(/css/font/fontawesome/fa-solid-900.ttf) format("truetype"),url(/css/font/fontawesome/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900} \ No newline at end of file diff --git a/css/basic.css b/css/basic.css new file mode 100644 index 0000000..9f8faf9 --- /dev/null +++ b/css/basic.css @@ -0,0 +1,983 @@ +A +{ + COLOR: #000000; + TEXT-DECORATION: none +} + +A:hover +{ + COLOR: #000000; + TEXT-DECORATION: none; + +} + +A.blue +{ + font-family:tahoma,Dotum; + letter-spacing : 0px; + COLOR: #28558c; + TEXT-DECORATION: none +} + +A.blue:hover +{ + font-family:tahoma,Dotum; + letter-spacing : 0px; + COLOR: #28558c; + TEXT-DECORATION: underline; + +}A.red +{ + font-family:tahoma,Dotum; + letter-spacing : 0px; + COLOR: #ed4441; + TEXT-DECORATION: none +} + +A.red:hover +{ + font-family:tahoma,Dotum; + letter-spacing : 0px; + COLOR: #ed4441; + TEXT-DECORATION: underline; + +} + +A.white +{ + font-family:tahoma,Dotum; + letter-spacing : -1px; + COLOR: #FFFFFF; + TEXT-DECORATION: none +} + +A.white:hover +{ + font-family:tahoma,Dotum; + letter-spacing : -1px; + COLOR: yellow; + TEXT-DECORATION: underline; + +} + +A.arial_red2 +{ + font-size:11px; + letter-spacing : 0px; + COLOR: #ed4441; + TEXT-DECORATION: none +} + +A.arial_red2:hover +{ + letter-spacing : 0px; + COLOR: #ed4441; + TEXT-DECORATION: underline; +} +IMG +{ + BORDER-BOTTOM: 0px; + BORDER-LEFT: 0px; + BORDER-RIGHT: 0px; + BORDER-TOP: 0px +} + +TABLE +{ + COLOR: #333333; + FONT-FAMILY:Dotum; + FONT-SIZE: 12px; +} + + +BODY,table, tr, td, select, textarea, li, ol, ul +{ + COLOR: #333333; + FONT-FAMILY:Gulim; + FONT-SIZE: 12px; + margin: 0; + line-height : 17px; + letter-spacing:-1px; +} + + +SELECT +{ + BACKGROUND-COLOR: #ffffff; + BACKGROUND-IMAGE: none; + BACKGROUND-REPEAT: repeat; + BORDER-BOTTOM: #c8ccc8 1px solid; + BORDER-LEFT: #c8ccc8 1px solid; + BORDER-RIGHT: #c8ccc8 1px solid; + BORDER-TOP: #c8ccc8 1px solid; + COLOR: #000000; + FONT-FAMILY:Dotum; + FONT-SIZE: 12px; +} + +textarea +{ + BORDER-BOTTOM: #E4E4E4 1px solid; + BORDER-LEFT: #E4E4E4 1px solid; + BORDER-RIGHT: #E4E4E4 1px solid; + BORDER-TOP: #E4E4E4 1px solid; + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 12px; + COLOR: #737373; + border : 1px solid #E4E4E4; +} + +td.tit_left +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #eeeeee; + + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 11px; + COLOR: #333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit_right +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #eeeeee; + + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 11px; + COLOR: #333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #eeeeee; + + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 11px; + COLOR: #333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit2 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #eeeeee; + + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 11px; + COLOR: #333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit3 +{ + BORDER-BOTTOM: #DDDDDD 1px solid; + BORDER-TOP: #DDDDDD 1px solid; + BACKGROUND-COLOR: #F1F1F1; + + FONT-FAMILY: Gulim; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:0px; + line-height:14px; +} + +td.tit4 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #EEEEEE; + + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit5 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit6 +{ + BORDER-BOTTOM: #787c9c 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #eeeeee; + + FONT-FAMILY: Dotum, Dotum; + FONT-SIZE: 12px; + COLOR: #fdff38; + letter-spacing:-1px; + line-height:14px; +} + +td.tit7 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: Gulim, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit8 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #F1F1F1; + + FONT-FAMILY: Gulim, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit9 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: Gulim, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit10 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BACKGROUND-COLOR: #d7eeda; + + FONT-FAMILY: Gulim, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit11 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BACKGROUND-COLOR: #eedbd7; + + FONT-FAMILY: Gulim, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit12 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: Gulim, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.tit13 +{ + BORDER-BOTTOM: #d5d5d5 1px solid; + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-TOP: #d5d5d5 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: Gulim, Dotum; + FONT-SIZE: 12px; + COLOR: #333333; + letter-spacing:-1px; + line-height:14px; +} + +td.conbox{ + BORDER-RIGHT: #d5d5d5 1px solid; + BORDER-LEFT: #d5d5d5 1px solid; +} + +td.page +{ + BORDER-BOTTOM: #c0c0c0 1px solid; + BORDER-TOP: #c0c0c0 1px solid; + BORDER-LEFT: #c0c0c0 1px solid; + BORDER-RIGHT: #c0c0c0 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 11px; + COLOR: #808080; + letter-spacing:0px; + +} + +td.non_page +{ + BORDER-BOTTOM: #DDDDDD 1px solid; + BORDER-TOP: #DDDDDD 1px solid; + BORDER-LEFT: #DDDDDD 1px solid; + BORDER-RIGHT: #DDDDDD 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 11px; + COLOR: #CCCCCC; + letter-spacing:0px; + +} + +td.sel_page +{ + BACKGROUND-COLOR: #fe6700; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 11px; + FONT-WEIGHT : bold; + COLOR: #FFFFFF; + letter-spacing:0px; +} + + +td.yellow +{ + BACKGROUND-COLOR: #feef8a; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #121212; + letter-spacing:0px; +} + +td.blue +{ + BORDER-BOTTOM: #89b3ff 1px solid; + BORDER-RIGHT: #89b3ff 1px solid; + BORDER-LEFT: #89b3ff 1px solid; + BORDER-TOP: #89b3ff 1px solid; + BACKGROUND-COLOR: #b0cbfd; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #121212; + letter-spacing:0px; +} + +td.cal_tit +{ + BORDER-BOTTOM: #d4d4d4 1px solid; + BORDER-RIGHT: #d4d4d4 1px solid; + BORDER-LEFT: #d4d4d4 1px solid; + BORDER-TOP: #d4d4d4 1px solid; + BACKGROUND-COLOR: #dfdfdf; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #121212; + letter-spacing:0px; +} + +td.cal_nor +{ + BORDER-BOTTOM: #d4d4d4 1px solid; + BORDER-RIGHT: #d4d4d4 1px solid; + BORDER-LEFT: #d4d4d4 1px solid; + BORDER-TOP: #d4d4d4 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #121212; + letter-spacing:0px; +} + +td.cal_sun +{ + BORDER-BOTTOM: #d4d4d4 1px solid; + BORDER-RIGHT: #d4d4d4 1px solid; + BORDER-LEFT: #d4d4d4 1px solid; + BORDER-TOP: #d4d4d4 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #e01b15; + letter-spacing:0px; +} + +td.cal_sat +{ + BORDER-BOTTOM: #d4d4d4 1px solid; + BORDER-RIGHT: #d4d4d4 1px solid; + BORDER-LEFT: #d4d4d4 1px solid; + BORDER-TOP: #d4d4d4 1px solid; + BACKGROUND-COLOR: #FFFFFF; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #0173bc; + letter-spacing:0px; +} + + + +td.cal_chk +{ + BORDER-BOTTOM: #d4d4d4 1px solid; + BORDER-RIGHT: #d4d4d4 1px solid; + BORDER-LEFT: #d4d4d4 1px solid; + BORDER-TOP: #d4d4d4 1px solid; + BACKGROUND-COLOR: #eeeeee; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #FFFFFF; + letter-spacing:0px; +} + +td.cal_chk2 +{ + BORDER-BOTTOM: #d4d4d4 1px solid; + BORDER-RIGHT: #d4d4d4 1px solid; + BORDER-LEFT: #d4d4d4 1px solid; + BORDER-TOP: #d4d4d4 1px solid; + BACKGROUND-COLOR: #dae2ef; + + FONT-FAMILY: tahoma, Dotum; + FONT-SIZE: 12px; + COLOR: #121212; + letter-spacing:0px; +} + + +input +{ + border : 1px solid #CCCCCC; + BACKGROUND-COLOR: #ffffff; + font-family : tahoma,Gulim; + color : #333333; + FONT-SIZE: 11px; +} + +input.gray +{ + border : 1px solid #CCCCCC; + BACKGROUND-COLOR: #f1f1f1; + font-family : Gulim; + color : #333333; + FONT-SIZE: 12px; + height:24px; + padding: 5 3 0 5; +} + +input.none +{ + border : 0px solid #CCCCCC; + BACKGROUND-COLOR: transparent; +} + +.brown +{ + color:#9f7732; +} + +.tahoma +{ + font-family:tahoma; + font-size:11px; + letter-spacing:0px; +} + +.tahoma_blue +{ + color:#3883c8; + font-family:tahoma; + font-size:11px; + letter-spacing:0px; +} + +.tahoma_red +{ + color:#dd3f14; + font-family:tahoma; + font-size:11px; + letter-spacing:0px; +} + +.tahoma_red2 +{ + color:#ed4441; + font-family:tahoma; + font-size:11px; + letter-spacing:0px; +} + +.tahoma_orange +{ + color:#ea6b0e; + font-family:tahoma; + font-size:11px; + letter-spacing:0px; +} + +.tahoma_blk +{ + COLOR: #333333; + FONT-FAMILY: tahoma; + FONT-SIZE: 11px; + letter-spacing:0px; +} + +.tahoma_white +{ + COLOR: #FFFFFF; + FONT-FAMILY: tahoma; + FONT-SIZE: 11px; + letter-spacing:0px; +} + +.verdana_blk +{ + COLOR: #333333; + FONT-FAMILY: Verdana; + FONT-SIZE: 11px; + letter-spacing:0px; +} + +.verdana_white +{ + COLOR: #FFFFFF; + FONT-FAMILY: Verdana; + FONT-SIZE: 11px; + letter-spacing:0px; +} + +.k_blue +{ + COLOR: #28558c; + FONT-FAMILY: Gulim,Verdana; + FONT-SIZE: 12px; + letter-spacing:0px; +} + +.k_darkorange +{ + COLOR: #da7c08; + FONT-FAMILY: Gulim,Verdana; + FONT-SIZE: 12px; +} + +.k_yellow +{ + COLOR: #fdff38; + FONT-FAMILY: Gulim,Verdana; + FONT-SIZE: 12px; +} + +.k_red +{ + COLOR: #fe7777; + FONT-FAMILY: Gulim,Verdana; + FONT-SIZE: 12px; +} + +.k_small +{ + COLOR: #333333; + FONT-FAMILY: Dotum; + FONT-SIZE: 11px; + letter-spacing:0px; + line-height:14px; +} + +.k_small_white +{ + COLOR: #FFFFFF; + FONT-FAMILY: Dotum; + FONT-SIZE: 11px; + letter-spacing:-1px; +} + +.letter0 +{ + letter-spacing:0px; +} + +.chk_font +{ + COLOR:#aeff00; +} + +.number +{ + BORDER-RIGHT: #7c7c7c 1px solid; + BORDER-TOP: #7c7c7c 1px solid; + FONT-SIZE: 9pt; + IME-MODE: disabled; + BORDER-LEFT: #7c7c7c 1px solid; + COLOR: black; + BORDER-BOTTOM: #7c7c7c 1px solid; + FONT-FAMILY: ¹ÙÅÁ; + HEIGHT: 18px; + TEXT-ALIGN: right +} + +/* 2016-11-21 ±èµ¿¼® LEFT MENU - DBÈ­·Î ÀÎÇØ Style ÀÛ¼º */ + +.l_tb A +{ + font-family:Dotum; + TEXT-DECORATION: none; + display:block; + border-radius: 3px; +} +.l_tb A:link { + color: #000000; +} +/* visited link */ +.l_tb A:visited { + color: #000000; +} + +.l_tb div +{ + -ms-user-select: none; + -moz-user-select: -moz-none; + -khtml-user-select: none; + -webkit-user-select: none; + user-select: none; +} + +.l_tb .l_top_label +{ + font-size:18px; + font-family:Malgun Gothic; + font-weight:bold; + + padding-top:7px; + padding-right:7px; + padding-bottom:10px; + padding-left:7px; + + border-bottom: 1px solid #ccc; + + border-radius: 5px; + + background: rgb(236,234,220); + background: -moz-linear-gradient(left, rgba(236,234,220,1) 0%, rgba(216,219,206,1) 0%, rgba(255,253,241,1) 100%); + background: -webkit-linear-gradient(left, rgba(236,234,220,1) 0%,rgba(216,219,206,1) 0%,rgba(255,253,241,1) 100%); + background: linear-gradient(to right, rgba(236,234,220,1) 0%,rgba(216,219,206,1) 0%,rgba(255,253,241,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eceadc', endColorstr='#fffdf1',GradientType=1 ); + background-color: #eceadc; + + cursor:default; +} + +.l_tb .l_div_label +{ + font-size:13px; + font-family:Malgun Gothic; + font-weight:bold; + + padding-top:3px; + padding-right:3px; + padding-bottom:5px; + padding-left:5px; + + border-bottom: 1px solid #ccc; + + cursor:default; +} +.l_tb .l_div_line +{ + height:3px; + line-height:3px; + padding-top:0px; + + cursor:default; +} +.l_tb .l_menu_label +{ + border-radius: 3px; + padding-bottom:2px; + padding-top:0px; + + border-bottom: 1px solid #ccc; + + background-color:#EDEDE1; +} +.l_tb .l_other_url +{ + border-radius: 3px; + padding-bottom:2px; + padding-top:0px; + + border-bottom: 1px solid #ccc; + + background-color:#F8ECE0; +} + +.l_tb A:hover +{ + COLOR: #FFFFFF; + background-color:#eeeeee; + TEXT-DECORATION: none; +} + +.l_tb_select A +{ + COLOR: #FFFFFF; + background-color:#eeeeee; + TEXT-DECORATION: none; +} +#loginBg{ + background:url(/imgs/login/login1.jpg) no-repeat left top; + position:absolute; + width:100%; + height:100%; + background-size: cover; +} +#whiteBg{ + position:absolute; + width:100%; + height:100%; + background-color: rgba(255,255,255,0.4); +} +#loginLogo{ + background:url(/imgs/common/logo.png) no-repeat left 45px bottom 105px; + position:absolute; + width:100%; + height:100%; +} +#loginSlogan{ + background:url(/imgs/common/slogan.png) no-repeat left 45px bottom 15px; + background-size: 545px; + position:absolute; + width:100%; + height:100%; +} +#loginFrame{ + position: absolute; + right: 0px; + width: 500px; + height: 100%; + background-color: rgba(0,0,0,0.7); + text-align: center; +} +#loginFrame > div{ + font-family: 'malgun gothic'; +} +#loginFrame > div:nth-child(1){ + height: 170px; + font-size: 40px; + color: rgb(255,255,255); + line-height: 45px; + letter-spacing: 13px; + text-align: left; + padding-top: 37px; + border-bottom: 2px solid white; + margin: 30px 85px; + user-select: none; + -ms-user-select: none; +} +#loginFrame > div:nth-child(2){ + line-height:55px; +} +#loginFrame > div:nth-child(3){ + line-height: 35px; +} +#loginFrame > div:nth-child(4){ + position: absolute; + right: 0px; + bottom: 0px; + top: 470px; + min-height: 50px; + width: 460px; +} +#loginFrame > div:nth-child(4) > div{ + color: rgb(255,255,255); + letter-spacing: 0px; + position: absolute; + bottom: 15px; + right: 40px; + user-select: none; + -ms-user-select: none; +} + +#loginFrame #login_btn{ + width: 310px; + height: 40px; + background-color: rgba(255, 255, 255, 0.6); + border: none; + padding: 0px; + font-size: 15px; + cursor:pointer; + line-height:20px; +} + +#loginFrame a.loginLink{ + width: 149px; + height: 30px; + background-color: rgba(255, 255, 255, 0.6); + border: none; + padding: 0px; + font-size: 13px; + text-decoration: none; + display: inline-block; + line-height: 30px; + color: rgb(0, 0, 0); + user-select: none; + -ms-user-select: none; +} + +#loginFrame #login_btn:hover{ + background-color: rgb(23, 47, 89); + color: rgb(255, 255, 255); + font-weight: bold; +} +#loginFrame a.loginLink:hover{ + background-color: rgb(23, 47, 89); + color: rgb(255, 255, 255); + font-weight: bold; +} + +#loginFrame input{ + font-family: 'malgun gothic'; + padding-left: 10px; + border: none; + width: 300px; + height: 45px; + font-size: 15px; + background-color: rgba(0,0,0,0.2); + color: rgb(255,255,255); +} + +#loginFrame input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ + color: rgba(255,255,255, 0.7); + opacity: 1; /* Firefox */ +} + +#loginFrame input:-ms-input-placeholder { /* Internet Explorer 10-11 */ + color: rgba(255,255,255, 0.7); +} + +#loginFrame input::-ms-input-placeholder { /* Microsoft Edge */ + color: rgba(255,255,255, 0.7); +} + +.tab_btn{ + background: linear-gradient(to top, rgb(158, 158, 158) 0%,rgb(169, 169, 169) 0%,rgb(255, 255, 255) 100%); + display: inline-block; + /*width: 120px;*/ + padding:0px 10px; + height: 30px; + vertical-align: bottom; + line-height: 30px; + text-align: center; + letter-spacing: 0px; + text-decoration: none; + color: #00195d; + font-size: 12px; + font-weight: 800; + font-family: 'malgun gothic'; + border-top: #868686 1px solid; + border-right: #868686 1px solid; +} +.tab_btn.on, .tab_btn:hover{ + background: #00195d; + color: #ffffff; +} +.new:after{ + position: absolute; + margin-top: -10px; + margin-left: 10px; + font-family: Gulim; + font-size: 8pt; + color: #fff; + padding: 0px 5px 0 4px; + background: #fb472a; + content: 'N'; +} + +[data-tooltip-text]:hover, [data-tooltip-text]:hover + span { + position: relative; +} + +[data-tooltip-text]:after, [data-tooltip-text] + span:after { + -webkit-transition: bottom .3s ease-in-out, opacity .3s ease-in-out; + -moz-transition: bottom .3s ease-in-out, opacity .3s ease-in-out; + transition: bottom .3s ease-in-out, opacity .3s ease-in-out; + background-color: rgba(0, 0, 0, 0.8); + -webkit-box-shadow: 0px 0px 3px 1px rgba(50, 50, 50, 0.4); + -moz-box-shadow: 0px 0px 3px 1px rgba(50, 50, 50, 0.4); + box-shadow: 0px 0px 3px 1px rgba(50, 50, 50, 0.4); + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + color: #FFFFFF; + font-size: 13px; + margin-bottom: 10px; + padding: 7px 12px; + position: absolute; + width: auto; + min-width: 85px; + max-width: 400px; + word-wrap: break-word; + z-index: 9999; + opacity: 0; + left: -9999px; + top: 90%; + content: attr(data-tooltip-text); +} + +[data-tooltip-text]:hover:after, [data-tooltip-text]:hover + span:after { + top: 130%; + left: 0; + opacity: 1; +} \ No newline at end of file diff --git a/css/bootstrap-select.min.css b/css/bootstrap-select.min.css new file mode 100644 index 0000000..d22faa6 --- /dev/null +++ b/css/bootstrap-select.min.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap-select v1.13.14 (https://developer.snapappointments.com/bootstrap-select) + * + * Copyright 2012-2020 SnapAppointments, LLC + * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) + */@-webkit-keyframes bs-notify-fadeOut{0%{opacity:.9}100%{opacity:0}}@-o-keyframes bs-notify-fadeOut{0%{opacity:.9}100%{opacity:0}}@keyframes bs-notify-fadeOut{0%{opacity:.9}100%{opacity:0}}.bootstrap-select>select.bs-select-hidden,select.bs-select-hidden,select.selectpicker{display:none!important}.bootstrap-select{width:220px\0;vertical-align:middle}.bootstrap-select>.dropdown-toggle{position:relative;width:100%;text-align:right;white-space:nowrap;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.bootstrap-select>.dropdown-toggle:after{margin-top:-1px}.bootstrap-select>.dropdown-toggle.bs-placeholder,.bootstrap-select>.dropdown-toggle.bs-placeholder:active,.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder:hover{color:#999}.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-danger,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-danger:active,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-danger:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-danger:hover,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-dark,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-dark:active,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-dark:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-dark:hover,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-info,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-info:active,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-info:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-info:hover,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-primary,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-primary:active,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-primary:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-primary:hover,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-secondary,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-secondary:active,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-secondary:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-secondary:hover,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-success,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-success:active,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-success:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder.btn-success:hover{color:rgba(255,255,255,.5)}.bootstrap-select>select{position:absolute!important;bottom:0;left:50%;display:block!important;width:.5px!important;height:100%!important;padding:0!important;opacity:0!important;border:none;z-index:0!important}.bootstrap-select>select.mobile-device{top:0;left:0;display:block!important;width:100%!important;z-index:2!important}.bootstrap-select.is-invalid .dropdown-toggle,.error .bootstrap-select .dropdown-toggle,.has-error .bootstrap-select .dropdown-toggle,.was-validated .bootstrap-select select:invalid+.dropdown-toggle{border-color:#b94a48}.bootstrap-select.is-valid .dropdown-toggle,.was-validated .bootstrap-select select:valid+.dropdown-toggle{border-color:#28a745}.bootstrap-select.fit-width{width:auto!important}.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){width:220px}.bootstrap-select .dropdown-toggle:focus,.bootstrap-select>select.mobile-device:focus+.dropdown-toggle{outline:thin dotted #333!important;outline:5px auto -webkit-focus-ring-color!important;outline-offset:-2px}.bootstrap-select.form-control{margin-bottom:0;padding:0;border:none;height:auto}:not(.input-group)>.bootstrap-select.form-control:not([class*=col-]){width:100%}.bootstrap-select.form-control.input-group-btn{float:none;z-index:auto}.form-inline .bootstrap-select,.form-inline .bootstrap-select.form-control:not([class*=col-]){width:auto}.bootstrap-select:not(.input-group-btn),.bootstrap-select[class*=col-]{float:none;display:inline-block;margin-left:0}.bootstrap-select.dropdown-menu-right,.bootstrap-select[class*=col-].dropdown-menu-right,.row .bootstrap-select[class*=col-].dropdown-menu-right{float:right}.form-group .bootstrap-select,.form-horizontal .bootstrap-select,.form-inline .bootstrap-select{margin-bottom:0}.form-group-lg .bootstrap-select.form-control,.form-group-sm .bootstrap-select.form-control{padding:0}.form-group-lg .bootstrap-select.form-control .dropdown-toggle,.form-group-sm .bootstrap-select.form-control .dropdown-toggle{height:100%;font-size:inherit;line-height:inherit;border-radius:inherit}.bootstrap-select.form-control-lg .dropdown-toggle,.bootstrap-select.form-control-sm .dropdown-toggle{font-size:inherit;line-height:inherit;border-radius:inherit}.bootstrap-select.form-control-sm .dropdown-toggle{padding:.25rem .5rem}.bootstrap-select.form-control-lg .dropdown-toggle{padding:.5rem 1rem}.form-inline .bootstrap-select .form-control{width:100%}.bootstrap-select.disabled,.bootstrap-select>.disabled{cursor:not-allowed}.bootstrap-select.disabled:focus,.bootstrap-select>.disabled:focus{outline:0!important}.bootstrap-select.bs-container{position:absolute;top:0;left:0;height:0!important;padding:0!important}.bootstrap-select.bs-container .dropdown-menu{z-index:1060}.bootstrap-select .dropdown-toggle .filter-option{position:static;top:0;left:0;float:left;height:100%;width:100%;text-align:left;overflow:hidden;-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.bs3.bootstrap-select .dropdown-toggle .filter-option{padding-right:inherit}.input-group .bs3-has-addon.bootstrap-select .dropdown-toggle .filter-option{position:absolute;padding-top:inherit;padding-bottom:inherit;padding-left:inherit;float:none}.input-group .bs3-has-addon.bootstrap-select .dropdown-toggle .filter-option .filter-option-inner{padding-right:inherit}.bootstrap-select .dropdown-toggle .filter-option-inner-inner{overflow:hidden}.bootstrap-select .dropdown-toggle .filter-expand{width:0!important;float:left;opacity:0!important;overflow:hidden}.bootstrap-select .dropdown-toggle .caret{position:absolute;top:50%;right:12px;margin-top:-2px;vertical-align:middle}.input-group .bootstrap-select.form-control .dropdown-toggle{border-radius:inherit}.bootstrap-select[class*=col-] .dropdown-toggle{width:100%}.bootstrap-select .dropdown-menu{min-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select .dropdown-menu>.inner:focus{outline:0!important}.bootstrap-select .dropdown-menu.inner{position:static;float:none;border:0;padding:0;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.bootstrap-select .dropdown-menu li{position:relative}.bootstrap-select .dropdown-menu li.active small{color:rgba(255,255,255,.5)!important}.bootstrap-select .dropdown-menu li.disabled a{cursor:not-allowed}.bootstrap-select .dropdown-menu li a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bootstrap-select .dropdown-menu li a.opt{position:relative;padding-left:2.25em}.bootstrap-select .dropdown-menu li a span.check-mark{display:none}.bootstrap-select .dropdown-menu li a span.text{display:inline-block}.bootstrap-select .dropdown-menu li small{padding-left:.5em}.bootstrap-select .dropdown-menu .notify{position:absolute;bottom:5px;width:96%;margin:0 2%;min-height:26px;padding:3px 5px;background:#f5f5f5;border:1px solid #e3e3e3;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05);pointer-events:none;opacity:.9;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select .dropdown-menu .notify.fadeOut{-webkit-animation:.3s linear 750ms forwards bs-notify-fadeOut;-o-animation:.3s linear 750ms forwards bs-notify-fadeOut;animation:.3s linear 750ms forwards bs-notify-fadeOut}.bootstrap-select .no-results{padding:3px;background:#f5f5f5;margin:0 5px;white-space:nowrap}.bootstrap-select.fit-width .dropdown-toggle .filter-option{position:static;display:inline;padding:0}.bootstrap-select.fit-width .dropdown-toggle .filter-option-inner,.bootstrap-select.fit-width .dropdown-toggle .filter-option-inner-inner{display:inline}.bootstrap-select.fit-width .dropdown-toggle .bs-caret:before{content:'\00a0'}.bootstrap-select.fit-width .dropdown-toggle .caret{position:static;top:auto;margin-top:-1px}.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark{position:absolute;display:inline-block;right:15px;top:5px}.bootstrap-select.show-tick .dropdown-menu li a span.text{margin-right:34px}.bootstrap-select .bs-ok-default:after{content:'';display:block;width:.5em;height:1em;border-style:solid;border-width:0 .26em .26em 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle,.bootstrap-select.show-menu-arrow.show>.dropdown-toggle{z-index:1061}.bootstrap-select.show-menu-arrow .dropdown-toggle .filter-option:before{content:'';border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(204,204,204,.2);position:absolute;bottom:-4px;left:9px;display:none}.bootstrap-select.show-menu-arrow .dropdown-toggle .filter-option:after{content:'';border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;bottom:-4px;left:10px;display:none}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle .filter-option:before{bottom:auto;top:-4px;border-top:7px solid rgba(204,204,204,.2);border-bottom:0}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle .filter-option:after{bottom:auto;top:-4px;border-top:6px solid #fff;border-bottom:0}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle .filter-option:before{right:12px;left:auto}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle .filter-option:after{right:13px;left:auto}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle .filter-option:after,.bootstrap-select.show-menu-arrow.open>.dropdown-toggle .filter-option:before,.bootstrap-select.show-menu-arrow.show>.dropdown-toggle .filter-option:after,.bootstrap-select.show-menu-arrow.show>.dropdown-toggle .filter-option:before{display:block}.bs-actionsbox,.bs-donebutton,.bs-searchbox{padding:4px 8px}.bs-actionsbox{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-actionsbox .btn-group button{width:50%}.bs-donebutton{float:left;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-donebutton .btn-group button{width:100%}.bs-searchbox+.bs-actionsbox{padding:0 8px 4px}.bs-searchbox .form-control{margin-bottom:0;width:100%;float:none} \ No newline at end of file diff --git a/css/bootstrap.css b/css/bootstrap.css new file mode 100644 index 0000000..26aca50 --- /dev/null +++ b/css/bootstrap.css @@ -0,0 +1,10145 @@ +/*! + * Bootstrap v4.3.1 (https://getbootstrap.com/) + * Copyright 2011-2019 The Bootstrap Authors + * Copyright 2011-2019 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +.row-0 { + margin-left: 0px; + margin-right: 0px; +} + +.row-0 > [class^=col] { + padding-left: 0px; + padding-right: 0px; +} + +.row-1 { + margin-left: -0.5px; + margin-right: -0.5px; +} + +.row-1 > [class^=col] { + padding-left: 0.5px; + padding-right: 0.5px; +} + +.row-2 { + margin-left: -1px; + margin-right: -1px; +} + +.row-2 > [class^=col] { + padding-left: 1px; + padding-right: 1px; +} + +.row-3 { + margin-left: -1.5px; + margin-right: -1.5px; +} + +.row-3 > [class^=col] { + padding-left: 1.5px; + padding-right: 1.5px; +} + +.row-4 { + margin-left: -2px; + margin-right: -2px; +} + +.row-4 > [class^=col] { + padding-left: 2px; + padding-right: 2px; +} + +.row-5 { + margin-left: -2.5px; + margin-right: -2.5px; +} + +.row-5 > [class^=col] { + padding-left: 2.5px; + padding-right: 2.5px; +} + +.row-10 { + margin-left: -5px; + margin-right: -5px; +} + +.row-10 > [class^=col] { + padding-left: 5px; + padding-right: 5px; +} + +.row-20 { + margin-left: -10px; + margin-right: -10px; +} + +.row-20 > [class^=col] { + padding-left: 10px; + padding-right: 10px; +} + +.row-30 { + margin-left: -15px; + margin-right: -15px; +} + +.row-30 > [class^=col] { + padding-left: 15px; + padding-right: 15px; +} + +.row-40 { + margin-left: -20px; + margin-right: -20px; +} + +.row-40 > [class^=col] { + padding-left: 20px; + padding-right: 20px; +} + +.row-50 { + margin-left: -25px; + margin-right: -25px; +} + +.row-50 > [class^=col] { + padding-left: 25px; + padding-right: 25px; +} + +.row-60 { + margin-left: -30px; + margin-right: -30px; +} + +.row-60 > [class^=col] { + padding-left: 30px; + padding-right: 30px; +} + +.row-70 { + margin-left: -35px; + margin-right: -35px; +} + +.row-70 > [class^=col] { + padding-left: 35px; + padding-right: 35px; +} + +.row-80 { + margin-left: -40px; + margin-right: -40px; +} + +.row-80 > [class^=col] { + padding-left: 40px; + padding-right: 40px; +} + +.row-90 { + margin-left: -45px; + margin-right: -45px; +} + +.row-90 > [class^=col] { + padding-left: 45px; + padding-right: 45px; +} + +.row-100 { + margin-left: -50px; + margin-right: -50px; +} + +.row-100 > [class^=col] { + padding-left: 50px; + padding-right: 50px; +} + +:root { + --blue: #007bff; + --indigo: #6610f2; + --purple: #6f42c1; + --pink: #e83e8c; + --red: #dc3545; + --orange: #fd7e14; + --yellow: #ffc107; + --green: #28a745; + --teal: #20c997; + --cyan: #17a2b8; + --white: #fff; + --gray: #6c757d; + --gray-dark: #343a40; + --primary: #007bff; + --secondary: #6c757d; + --success: #28a745; + --info: #17a2b8; + --warning: #ffc107; + --danger: #dc3545; + --light: #f8f9fa; + --dark: #343a40; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; +} + +*, +*::before, +*::after { + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +html { + font-family: sans-serif; + line-height: 1.15; + -webkit-text-size-adjust: 100%; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { + display: block; +} + +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #212529; + text-align: left; + background-color: #fff; +} + +[tabindex="-1"]:focus { + outline: 0 !important; +} + +hr { + -webkit-box-sizing: content-box; + box-sizing: content-box; + height: 0; + overflow: visible; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + margin-bottom: 0.5rem; +} + +p { + margin-top: 0; + margin-bottom: 1rem; +} + +abbr[title], +abbr[data-original-title] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + border-bottom: 0; + text-decoration-skip-ink: none; +} + +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} + +ol, +ul, +dl { + margin: 0; + list-style: none; + padding: 0; +} + +dt { + font-weight: 700; +} + +dd { + margin: 0; +} + +blockquote { + margin: 0 0 1rem; +} + +b, +strong { + font-weight: bolder; +} + +small { + font-size: 80%; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sub { + bottom: -.25em; +} + +sup { + top: -.5em; +} + +a { + color: #007bff; + text-decoration: none; + background-color: transparent; +} + +a:hover { + color: #0056b3; + text-decoration: underline; +} + +a:not([href]):not([tabindex]) { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus { + color: inherit; + text-decoration: none; +} + +a:not([href]):not([tabindex]):focus { + outline: 0; +} + +pre, +code, +kbd, +samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-size: 1em; +} + +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; +} + +figure { + margin: 0 0 1rem; +} + +img { + vertical-align: middle; + border-style: none; +} + +svg { + overflow: hidden; + vertical-align: middle; +} + +table { + border-collapse: collapse; +} + +caption { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +th { + text-align: inherit; +} + +label { + display: inline-block; + margin-bottom: 0.5rem; +} + +button { + border-radius: 0; +} + +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + +input, +button, +select, +optgroup, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +button, +input { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +select { + word-wrap: normal; +} + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +button:not(:disabled), +[type="button"]:not(:disabled), +[type="reset"]:not(:disabled), +[type="submit"]:not(:disabled) { + cursor: pointer; +} + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + padding: 0; + border-style: none; +} + +input[type="radio"], +input[type="checkbox"] { + -webkit-box-sizing: border-box; + box-sizing: border-box; + padding: 0; +} + +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { + -webkit-appearance: listbox; +} + +textarea { + overflow: auto; + resize: vertical; +} + +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: .5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} + +progress { + vertical-align: baseline; +} + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} + +output { + display: inline-block; +} + +summary { + display: list-item; + cursor: pointer; +} + +template { + display: none; +} + +[hidden] { + display: none !important; +} + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + margin-bottom: 0.5rem; + font-weight: 500; + line-height: 1.2; +} + +h1, .h1 { + font-size: 2.5rem; +} + +h2, .h2 { + font-size: 2rem; +} + +h3, .h3 { + font-size: 1.75rem; +} + +h4, .h4 { + font-size: 1.5rem; +} + +h5, .h5 { + font-size: 1.25rem; +} + +h6, .h6 { + font-size: 1rem; +} + +.lead { + font-size: 1.25rem; + font-weight: 300; +} + +.display-1 { + font-size: 6rem; + font-weight: 300; + line-height: 1.2; +} + +.display-2 { + font-size: 5.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-3 { + font-size: 4.5rem; + font-weight: 300; + line-height: 1.2; +} + +.display-4 { + font-size: 3.5rem; + font-weight: 300; + line-height: 1.2; +} + +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} + +small, +.small { + font-size: 80%; + font-weight: 400; +} + +mark, +.mark { + padding: 0.2em; + background-color: #fcf8e3; +} + +.list-unstyled { + padding-left: 0; + list-style: none; +} + +.list-inline { + padding-left: 0; + list-style: none; +} + +.list-inline-item { + display: inline-block; +} + +.list-inline-item:not(:last-child) { + margin-right: 0.5rem; +} + +.initialism { + font-size: 90%; + text-transform: uppercase; +} + +.blockquote { + margin-bottom: 1rem; + font-size: 1.25rem; +} + +.blockquote-footer { + display: block; + font-size: 80%; + color: #6c757d; +} + +.blockquote-footer::before { + content: "\2014\00A0"; +} + +.img-fluid { + max-width: 100%; + height: auto; +} + +.img-thumbnail { + padding: 0.25rem; + background-color: #fff; + border: 1px solid #dee2e6; + border-radius: 0.25rem; + max-width: 100%; + height: auto; +} + +.figure { + display: inline-block; +} + +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} + +.figure-caption { + font-size: 90%; + color: #6c757d; +} + +code { + font-size: 87.5%; + color: #e83e8c; + word-break: break-word; +} + +a > code { + color: inherit; +} + +kbd { + padding: 0.2rem 0.4rem; + font-size: 87.5%; + color: #fff; + background-color: #212529; + border-radius: 0.2rem; +} + +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: 700; +} + +pre { + display: block; + font-size: 87.5%; + color: #212529; +} + +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} + +.row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} + +.no-gutters { + margin-right: 0; + margin-left: 0; +} + +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} + +.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, +.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, +.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, +.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, +.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, +.col-xl-auto { + position: relative; + width: 100%; + padding-right: 15px; + padding-left: 15px; +} + +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} + +.col-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; +} + +.col-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; +} + +.col-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; +} + +.col-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} + +.col-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; +} + +.col-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; +} + +.col-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} + +.col-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; +} + +.col-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; +} + +.col-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} + +.col-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; +} + +.col-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; +} + +.col-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} + +.order-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; +} + +.order-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; +} + +.order-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; +} + +.order-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; +} + +.order-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; +} + +.order-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; +} + +.order-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; +} + +.order-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; +} + +.order-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; +} + +.order-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; +} + +.order-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; +} + +.order-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; +} + +.order-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; +} + +.order-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; +} + +.order-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; +} + +.offset-1 { + margin-left: 8.33333%; +} + +.offset-2 { + margin-left: 16.66667%; +} + +.offset-3 { + margin-left: 25%; +} + +.offset-4 { + margin-left: 33.33333%; +} + +.offset-5 { + margin-left: 41.66667%; +} + +.offset-6 { + margin-left: 50%; +} + +.offset-7 { + margin-left: 58.33333%; +} + +.offset-8 { + margin-left: 66.66667%; +} + +.offset-9 { + margin-left: 75%; +} + +.offset-10 { + margin-left: 83.33333%; +} + +.offset-11 { + margin-left: 91.66667%; +} + +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-sm-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-sm-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-sm-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-sm-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-sm-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-sm-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-sm-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-sm-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-sm-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.33333%; + } + .offset-sm-2 { + margin-left: 16.66667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.33333%; + } + .offset-sm-5 { + margin-left: 41.66667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.33333%; + } + .offset-sm-8 { + margin-left: 66.66667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.33333%; + } + .offset-sm-11 { + margin-left: 91.66667%; + } +} + +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-md-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-md-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-md-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-md-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-md-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-md-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-md-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-md-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-md-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.33333%; + } + .offset-md-2 { + margin-left: 16.66667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.33333%; + } + .offset-md-5 { + margin-left: 41.66667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.33333%; + } + .offset-md-8 { + margin-left: 66.66667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.33333%; + } + .offset-md-11 { + margin-left: 91.66667%; + } +} + +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-lg-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-lg-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-lg-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-lg-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-lg-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-lg-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-lg-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-lg-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-lg-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.33333%; + } + .offset-lg-2 { + margin-left: 16.66667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.33333%; + } + .offset-lg-5 { + margin-left: 41.66667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.33333%; + } + .offset-lg-8 { + margin-left: 66.66667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.33333%; + } + .offset-lg-11 { + margin-left: 91.66667%; + } +} + +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-xl-1 { + -webkit-box-flex: 0; + -ms-flex: 0 0 8.33333%; + flex: 0 0 8.33333%; + max-width: 8.33333%; + } + .col-xl-2 { + -webkit-box-flex: 0; + -ms-flex: 0 0 16.66667%; + flex: 0 0 16.66667%; + max-width: 16.66667%; + } + .col-xl-3 { + -webkit-box-flex: 0; + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -webkit-box-flex: 0; + -ms-flex: 0 0 33.33333%; + flex: 0 0 33.33333%; + max-width: 33.33333%; + } + .col-xl-5 { + -webkit-box-flex: 0; + -ms-flex: 0 0 41.66667%; + flex: 0 0 41.66667%; + max-width: 41.66667%; + } + .col-xl-6 { + -webkit-box-flex: 0; + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -webkit-box-flex: 0; + -ms-flex: 0 0 58.33333%; + flex: 0 0 58.33333%; + max-width: 58.33333%; + } + .col-xl-8 { + -webkit-box-flex: 0; + -ms-flex: 0 0 66.66667%; + flex: 0 0 66.66667%; + max-width: 66.66667%; + } + .col-xl-9 { + -webkit-box-flex: 0; + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -webkit-box-flex: 0; + -ms-flex: 0 0 83.33333%; + flex: 0 0 83.33333%; + max-width: 83.33333%; + } + .col-xl-11 { + -webkit-box-flex: 0; + -ms-flex: 0 0 91.66667%; + flex: 0 0 91.66667%; + max-width: 91.66667%; + } + .col-xl-12 { + -webkit-box-flex: 0; + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -webkit-box-ordinal-group: 0; + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -webkit-box-ordinal-group: 14; + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -webkit-box-ordinal-group: 1; + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -webkit-box-ordinal-group: 2; + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -webkit-box-ordinal-group: 3; + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -webkit-box-ordinal-group: 4; + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -webkit-box-ordinal-group: 5; + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -webkit-box-ordinal-group: 6; + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -webkit-box-ordinal-group: 7; + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -webkit-box-ordinal-group: 8; + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -webkit-box-ordinal-group: 9; + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -webkit-box-ordinal-group: 10; + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -webkit-box-ordinal-group: 11; + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -webkit-box-ordinal-group: 12; + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -webkit-box-ordinal-group: 13; + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.33333%; + } + .offset-xl-2 { + margin-left: 16.66667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.33333%; + } + .offset-xl-5 { + margin-left: 41.66667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.33333%; + } + .offset-xl-8 { + margin-left: 66.66667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.33333%; + } + .offset-xl-11 { + margin-left: 91.66667%; + } +} + +.table { + width: 100%; + margin-bottom: 1rem; +} + +.table th, +.table td { + padding: 0.75rem; + vertical-align: top; + border-top: 1px solid #dee2e6; +} + +.table thead th { + vertical-align: middle; +} + +.table-sm th, +.table-sm td { + padding: 0.3rem; +} + +.table-bordered { + border: 1px solid #dee2e6; +} + +.table-bordered th, +.table-bordered td { + border: 1px solid #dee2e6; +} + +.table-borderless th, +.table-borderless td, +.table-borderless thead th, +.table-borderless tbody + tbody { + border: 0; +} + +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.05); +} + +.table-hover tbody tr:hover { + color: #212529; + background-color: rgba(0, 0, 0, 0.075); +} + +.table-primary, +.table-primary > th, +.table-primary > td { + background-color: #b8daff; +} + +.table-primary th, +.table-primary td, +.table-primary thead th, +.table-primary tbody + tbody { + border-color: #7abaff; +} + +.table-hover .table-primary:hover { + background-color: #9fcdff; +} + +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th { + background-color: #9fcdff; +} + +.table-secondary, +.table-secondary > th, +.table-secondary > td { + background-color: #d6d8db; +} + +.table-secondary th, +.table-secondary td, +.table-secondary thead th, +.table-secondary tbody + tbody { + border-color: #b3b7bb; +} + +.table-hover .table-secondary:hover { + background-color: #c8cbcf; +} + +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th { + background-color: #c8cbcf; +} + +.table-success, +.table-success > th, +.table-success > td { + background-color: #c3e6cb; +} + +.table-success th, +.table-success td, +.table-success thead th, +.table-success tbody + tbody { + border-color: #8fd19e; +} + +.table-hover .table-success:hover { + background-color: #b1dfbb; +} + +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th { + background-color: #b1dfbb; +} + +.table-info, +.table-info > th, +.table-info > td { + background-color: #bee5eb; +} + +.table-info th, +.table-info td, +.table-info thead th, +.table-info tbody + tbody { + border-color: #86cfda; +} + +.table-hover .table-info:hover { + background-color: #abdde5; +} + +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th { + background-color: #abdde5; +} + +.table-warning, +.table-warning > th, +.table-warning > td { + background-color: #ffeeba; +} + +.table-warning th, +.table-warning td, +.table-warning thead th, +.table-warning tbody + tbody { + border-color: #ffdf7e; +} + +.table-hover .table-warning:hover { + background-color: #ffe8a1; +} + +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th { + background-color: #ffe8a1; +} + +.table-danger, +.table-danger > th, +.table-danger > td { + background-color: #f5c6cb; +} + +.table-danger th, +.table-danger td, +.table-danger thead th, +.table-danger tbody + tbody { + border-color: #ed969e; +} + +.table-hover .table-danger:hover { + background-color: #f1b0b7; +} + +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th { + background-color: #f1b0b7; +} + +.table-light, +.table-light > th, +.table-light > td { + background-color: #fdfdfe; +} + +.table-light th, +.table-light td, +.table-light thead th, +.table-light tbody + tbody { + border-color: #fbfcfc; +} + +.table-hover .table-light:hover { + background-color: #ececf6; +} + +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th { + background-color: #ececf6; +} + +.table-dark, +.table-dark > th, +.table-dark > td { + background-color: #c6c8ca; +} + +.table-dark th, +.table-dark td, +.table-dark thead th, +.table-dark tbody + tbody { + border-color: #95999c; +} + +.table-hover .table-dark:hover { + background-color: #b9bbbe; +} + +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th { + background-color: #b9bbbe; +} + +.table-active, +.table-active > th, +.table-active > td { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover { + background-color: rgba(0, 0, 0, 0.075); +} + +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th { + background-color: rgba(0, 0, 0, 0.075); +} + +.table .thead-dark th { + color: #fff; + background-color: #343a40; + border-color: #454d55; +} + +.table .thead-light th { + color: #495057; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.table-dark { + color: #fff; + background-color: #343a40; +} + +.table-dark th, +.table-dark td, +.table-dark thead th { + border-color: #454d55; +} + +.table-dark.table-bordered { + border: 0; +} + +.table-dark.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(255, 255, 255, 0.05); +} + +.table-dark.table-hover tbody tr:hover { + color: #fff; + background-color: rgba(255, 255, 255, 0.075); +} + +@media (max-width: 575.98px) { + .table-responsive-sm { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-sm > .table-bordered { + border: 0; + } +} + +@media (max-width: 767.98px) { + .table-responsive-md { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-md > .table-bordered { + border: 0; + } +} + +@media (max-width: 991.98px) { + .table-responsive-lg { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-lg > .table-bordered { + border: 0; + } +} + +@media (max-width: 1199.98px) { + .table-responsive-xl { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } + .table-responsive-xl > .table-bordered { + border: 0; + } +} + +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + +.table-responsive > .table-bordered { + border: 0; +} + +.form-control { + display: block; + width: 100%; + height: calc(1.5em + 0.75rem + 2px); + padding: 0.375rem 0.75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-radius: 0.25rem; + -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .form-control { + -webkit-transition: none; + transition: none; + } +} + +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} + +.form-control:focus { + color: #495057; + background-color: #fff; + border-color: #80bdff; + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.form-control::-webkit-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control::placeholder { + color: #6c757d; + opacity: 1; +} + +.form-control:disabled, .form-control[readonly] { + background-color: #e9ecef; + opacity: 1; +} + +select.form-control:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.form-control-file, +.form-control-range { + display: block; + width: 100%; +} + +.col-form-label { + padding-top: calc(0.375rem + 1px); + padding-bottom: calc(0.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} + +.col-form-label-lg { + padding-top: calc(0.5rem + 1px); + padding-bottom: calc(0.5rem + 1px); + font-size: 1.25rem; + line-height: 1.5; +} + +.col-form-label-sm { + padding-top: calc(0.25rem + 1px); + padding-bottom: calc(0.25rem + 1px); + font-size: 0.875rem; + line-height: 1.5; +} + +.form-control-plaintext { + display: block; + width: 100%; + padding-top: 0.375rem; + padding-bottom: 0.375rem; + margin-bottom: 0; + line-height: 1.5; + color: #212529; + background-color: transparent; + border: solid transparent; + border-width: 1px 0; +} + +.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg { + padding-right: 0; + padding-left: 0; +} + +.form-control-sm { + height: calc(1.5em + 0.5rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.form-control-lg { + height: calc(1.5em + 1rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +select.form-control[size], select.form-control[multiple] { + height: auto; +} + +textarea.form-control { + height: auto; +} + +.form-group { + margin-bottom: 1rem; +} + +.form-text { + display: block; + margin-top: 0.25rem; +} + +.form-row { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -5px; + margin-left: -5px; +} + +.form-row > .col, +.form-row > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; +} + +.form-check { + position: relative; + display: block; + padding-left: 1.25rem; +} + +.form-check-input { + position: absolute; + margin-top: 0.3rem; + margin-left: -1.25rem; +} + +.form-check-input:disabled ~ .form-check-label { + color: #6c757d; +} + +.form-check-label { + margin-bottom: 0; +} + +.form-check-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + margin-right: 0.75rem; +} + +.form-check-inline .form-check-input { + position: static; + margin-top: 0; + margin-right: 0.3125rem; + margin-left: 0; +} + +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #28a745; +} + +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.875rem; + line-height: 1.5; + color: #fff; + background-color: rgba(40, 167, 69, 0.9); + border-radius: 0.25rem; +} + +.was-validated .form-control:valid, .form-control.is-valid { + border-color: #28a745; + padding-right: calc(1.5em + 0.75rem); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); + background-repeat: no-repeat; + background-position: center right calc(0.375em + 0.1875rem); + background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .form-control:valid:focus, .form-control.is-valid:focus { + border-color: #28a745; + -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip, .form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated textarea.form-control:valid, textarea.form-control.is-valid { + padding-right: calc(1.5em + 0.75rem); + background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); +} + +.was-validated .custom-select:valid, .custom-select.is-valid { + border-color: #28a745; + padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem); + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .custom-select:valid:focus, .custom-select.is-valid:focus { + border-color: #28a745; + -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .custom-select:valid ~ .valid-feedback, +.was-validated .custom-select:valid ~ .valid-tooltip, .custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-control-file:valid ~ .valid-feedback, +.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback, +.form-control-file.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { + color: #28a745; +} + +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label { + color: #28a745; +} + +.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before { + border-color: #28a745; +} + +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip, .custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, .custom-control-input.is-valid:checked ~ .custom-control-label::before { + border-color: #34ce57; + background-color: #34ce57; +} + +.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before, .custom-control-input.is-valid:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before { + border-color: #28a745; +} + +.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label { + border-color: #28a745; +} + +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip, .custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip { + display: block; +} + +.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label { + border-color: #28a745; + -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} + +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #dc3545; +} + +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: .1rem; + font-size: 0.875rem; + line-height: 1.5; + color: #fff; + background-color: rgba(220, 53, 69, 0.9); + border-radius: 0.25rem; +} + +.was-validated .form-control:invalid, .form-control.is-invalid { + border-color: #dc3545; + padding-right: calc(1.5em + 0.75rem); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E"); + background-repeat: no-repeat; + background-position: center right calc(0.375em + 0.1875rem); + background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus { + border-color: #dc3545; + -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip, .form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid { + padding-right: calc(1.5em + 0.75rem); + background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem); +} + +.was-validated .custom-select:invalid, .custom-select.is-invalid { + border-color: #dc3545; + padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem); + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); +} + +.was-validated .custom-select:invalid:focus, .custom-select.is-invalid:focus { + border-color: #dc3545; + -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .custom-select:invalid ~ .invalid-feedback, +.was-validated .custom-select:invalid ~ .invalid-tooltip, .custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-control-file:invalid ~ .invalid-feedback, +.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback, +.form-control-file.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { + color: #dc3545; +} + +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip, .form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label, .custom-control-input.is-invalid ~ .custom-control-label { + color: #dc3545; +} + +.was-validated .custom-control-input:invalid ~ .custom-control-label::before, .custom-control-input.is-invalid ~ .custom-control-label::before { + border-color: #dc3545; +} + +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip, .custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before, .custom-control-input.is-invalid:checked ~ .custom-control-label::before { + border-color: #e4606d; + background-color: #e4606d; +} + +.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before, .custom-control-input.is-invalid:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-invalid:focus:not(:checked) ~ .custom-control-label::before { + border-color: #dc3545; +} + +.was-validated .custom-file-input:invalid ~ .custom-file-label, .custom-file-input.is-invalid ~ .custom-file-label { + border-color: #dc3545; +} + +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip, .custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip { + display: block; +} + +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label, .custom-file-input.is-invalid:focus ~ .custom-file-label { + border-color: #dc3545; + -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} + +.form-inline { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.form-inline .form-check { + width: 100%; +} + +@media (min-width: 576px) { + .form-inline label { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-bottom: 0; + } + .form-inline .form-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 0; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: 0; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-plaintext { + display: inline-block; + } + .form-inline .input-group, + .form-inline .custom-select { + width: auto; + } + .form-inline .form-check { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + width: auto; + padding-left: 0; + } + .form-inline .form-check-input { + position: relative; + -ms-flex-negative: 0; + flex-shrink: 0; + margin-top: 0; + margin-right: 0.25rem; + margin-left: 0; + } + .form-inline .custom-control { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + } + .form-inline .custom-control-label { + margin-bottom: 0; + } +} + +.btn { + display: inline-block; + font-weight: 400; + color: #212529; + text-align: center; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: transparent; + border: 1px solid transparent; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + border-radius: 0.25rem; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .btn { + -webkit-transition: none; + transition: none; + } +} + +.btn:hover { + color: #212529; + text-decoration: none; +} + +.btn:focus, .btn.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.btn.disabled, .btn:disabled { + opacity: 0.65; +} + +a.btn.disabled, +fieldset:disabled a.btn { + pointer-events: none; +} + +.btn-primary { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-primary:hover { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} + +.btn-primary:focus, .btn-primary.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); + box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); +} + +.btn-primary.disabled, .btn-primary:disabled { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, +.show > .btn-primary.dropdown-toggle { + color: #fff; + background-color: #0062cc; + border-color: #005cbf; +} + +.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-primary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); + box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); +} + +.btn-secondary { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:hover { + color: #fff; + background-color: #5a6268; + border-color: #545b62; +} + +.btn-secondary:focus, .btn-secondary.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); + box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); +} + +.btn-secondary.disabled, .btn-secondary:disabled { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, +.show > .btn-secondary.dropdown-toggle { + color: #fff; + background-color: #545b62; + border-color: #4e555b; +} + +.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-secondary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); + box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); +} + +.btn-success { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:hover { + color: #fff; + background-color: #218838; + border-color: #1e7e34; +} + +.btn-success:focus, .btn-success.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); + box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); +} + +.btn-success.disabled, .btn-success:disabled { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, +.show > .btn-success.dropdown-toggle { + color: #fff; + background-color: #1e7e34; + border-color: #1c7430; +} + +.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-success.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); + box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); +} + +.btn-info { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:hover { + color: #fff; + background-color: #138496; + border-color: #117a8b; +} + +.btn-info:focus, .btn-info.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); + box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); +} + +.btn-info.disabled, .btn-info:disabled { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, +.show > .btn-info.dropdown-toggle { + color: #fff; + background-color: #117a8b; + border-color: #10707f; +} + +.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-info.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); + box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); +} + +.btn-warning { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:hover { + color: #212529; + background-color: #e0a800; + border-color: #d39e00; +} + +.btn-warning:focus, .btn-warning.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); + box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); +} + +.btn-warning.disabled, .btn-warning:disabled { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, +.show > .btn-warning.dropdown-toggle { + color: #212529; + background-color: #d39e00; + border-color: #c69500; +} + +.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-warning.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); + box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); +} + +.btn-danger { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:hover { + color: #fff; + background-color: #c82333; + border-color: #bd2130; +} + +.btn-danger:focus, .btn-danger.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); + box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); +} + +.btn-danger.disabled, .btn-danger:disabled { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, +.show > .btn-danger.dropdown-toggle { + color: #fff; + background-color: #bd2130; + border-color: #b21f2d; +} + +.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-danger.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); + box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); +} + +.btn-light { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:hover { + color: #212529; + background-color: #e2e6ea; + border-color: #dae0e5; +} + +.btn-light:focus, .btn-light.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); + box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); +} + +.btn-light.disabled, .btn-light:disabled { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, +.show > .btn-light.dropdown-toggle { + color: #212529; + background-color: #dae0e5; + border-color: #d3d9df; +} + +.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-light.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); + box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); +} + +.btn-dark { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:hover { + color: #fff; + background-color: #23272b; + border-color: #1d2124; +} + +.btn-dark:focus, .btn-dark.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); + box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); +} + +.btn-dark.disabled, .btn-dark:disabled { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, +.show > .btn-dark.dropdown-toggle { + color: #fff; + background-color: #1d2124; + border-color: #171a1d; +} + +.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-dark.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); + box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); +} + +.btn-outline-primary { + color: #007bff; + border-color: #007bff; + background-color: #fff; +} + +.btn-outline-primary:hover { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:focus, .btn-outline-primary.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-primary.disabled, .btn-outline-primary:disabled { + color: #007bff; + background-color: transparent; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, +.show > .btn-outline-primary.dropdown-toggle { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.btn-outline-secondary { + color: #6c757d; + border-color: #6c757d; + background-color: #fff; +} + +.btn-outline-secondary:hover { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:focus, .btn-outline-secondary.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { + color: #6c757d; + background-color: transparent; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, +.show > .btn-outline-secondary.dropdown-toggle { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} + +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.btn-outline-success { + color: #28a745; + border-color: #28a745; + background-color: #fff; +} + +.btn-outline-success:hover { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:focus, .btn-outline-success.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-success.disabled, .btn-outline-success:disabled { + color: #28a745; + background-color: transparent; +} + +.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, +.show > .btn-outline-success.dropdown-toggle { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} + +.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-success.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.btn-outline-info { + color: #17a2b8; + border-color: #17a2b8; + background-color: #fff; +} + +.btn-outline-info:hover { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:focus, .btn-outline-info.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-info.disabled, .btn-outline-info:disabled { + color: #17a2b8; + background-color: transparent; +} + +.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, +.show > .btn-outline-info.dropdown-toggle { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} + +.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-info.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.btn-outline-warning { + color: #ffc107; + border-color: #ffc107; + background-color: #fff; +} + +.btn-outline-warning:hover { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:focus, .btn-outline-warning.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-warning.disabled, .btn-outline-warning:disabled { + color: #ffc107; + background-color: transparent; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, +.show > .btn-outline-warning.dropdown-toggle { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.btn-outline-danger { + color: #dc3545; + border-color: #dc3545; + background-color: #fff; +} + +.btn-outline-danger:hover { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:focus, .btn-outline-danger.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-danger.disabled, .btn-outline-danger:disabled { + color: #dc3545; + background-color: transparent; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, +.show > .btn-outline-danger.dropdown-toggle { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} + +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.btn-outline-light { + color: #f8f9fa; + border-color: #f8f9fa; + background-color: #fff; +} + +.btn-outline-light:hover { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:focus, .btn-outline-light.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-light.disabled, .btn-outline-light:disabled { + color: #f8f9fa; + background-color: transparent; +} + +.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, +.show > .btn-outline-light.dropdown-toggle { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} + +.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-light.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.btn-outline-dark { + color: #343a40; + border-color: #343a40; + background-color: #fff; +} + +.btn-outline-dark:hover { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:focus, .btn-outline-dark.focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-outline-dark.disabled, .btn-outline-dark:disabled { + color: #343a40; + background-color: transparent; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, +.show > .btn-outline-dark.dropdown-toggle { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} + +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus { + -webkit-box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +.btn-link { + font-weight: 400; + color: #007bff; + text-decoration: none; +} + +.btn-link:hover { + color: #0056b3; + text-decoration: underline; +} + +.btn-link:focus, .btn-link.focus { + text-decoration: underline; + -webkit-box-shadow: none; + box-shadow: none; +} + +.btn-link:disabled, .btn-link.disabled { + color: #6c757d; + pointer-events: none; +} + +.btn-lg, .btn-group-lg > .btn { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.btn-sm, .btn-group-sm > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.btn-block { + display: block; + width: 100%; +} + +.btn-block + .btn-block { + margin-top: 0.5rem; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.fade { + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +@media (prefers-reduced-motion: reduce) { + .fade { + -webkit-transition: none; + transition: none; + } +} + +.fade:not(.show) { + opacity: 0; +} + +.collapse:not(.show) { + display: none; +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +@media (prefers-reduced-motion: reduce) { + .collapsing { + -webkit-transition: none; + transition: none; + } +} + +.dropup, +.dropright, +.dropdown, +.dropleft { + position: relative; +} + +.dropdown-toggle { + white-space: nowrap; +} + +.dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid; + border-right: 0.3em solid transparent; + border-bottom: 0; + border-left: 0.3em solid transparent; +} + +.dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 10rem; + padding: 0.5rem 0; + margin: 0.125rem 0 0; + font-size: 1rem; + color: #212529; + text-align: left; + list-style: none; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; +} + +.dropdown-menu-left { + right: auto; + left: 0; +} + +.dropdown-menu-right { + right: 0; + left: auto; +} + +@media (min-width: 576px) { + .dropdown-menu-sm-left { + right: auto; + left: 0; + } + .dropdown-menu-sm-right { + right: 0; + left: auto; + } +} + +@media (min-width: 768px) { + .dropdown-menu-md-left { + right: auto; + left: 0; + } + .dropdown-menu-md-right { + right: 0; + left: auto; + } +} + +@media (min-width: 992px) { + .dropdown-menu-lg-left { + right: auto; + left: 0; + } + .dropdown-menu-lg-right { + right: 0; + left: auto; + } +} + +@media (min-width: 1200px) { + .dropdown-menu-xl-left { + right: auto; + left: 0; + } + .dropdown-menu-xl-right { + right: 0; + left: auto; + } +} + +.dropup .dropdown-menu { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: 0.125rem; +} + +.dropup .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0; + border-right: 0.3em solid transparent; + border-bottom: 0.3em solid; + border-left: 0.3em solid transparent; +} + +.dropup .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-menu { + top: 0; + right: auto; + left: 100%; + margin-top: 0; + margin-left: 0.125rem; +} + +.dropright .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; +} + +.dropright .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropright .dropdown-toggle::after { + vertical-align: 0; +} + +.dropleft .dropdown-menu { + top: 0; + right: 100%; + left: auto; + margin-top: 0; + margin-right: 0.125rem; +} + +.dropleft .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; +} + +.dropleft .dropdown-toggle::after { + display: none; +} + +.dropleft .dropdown-toggle::before { + display: inline-block; + margin-right: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0.3em solid; + border-bottom: 0.3em solid transparent; +} + +.dropleft .dropdown-toggle:empty::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle::before { + vertical-align: 0; +} + +.dropdown-menu[x-placement^="top"], .dropdown-menu[x-placement^="right"], .dropdown-menu[x-placement^="bottom"], .dropdown-menu[x-placement^="left"] { + right: auto; + bottom: auto; +} + +.dropdown-divider { + height: 0; + margin: 0.5rem 0; + overflow: hidden; + border-top: 1px solid #e9ecef; +} + +.dropdown-item { + display: block; + width: 100%; + padding: 0.25rem 1.5rem; + clear: both; + font-weight: 400; + color: #212529; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; +} + +.dropdown-item:hover, .dropdown-item:focus { + color: #16181b; + text-decoration: none; + background-color: #f8f9fa; +} + +.dropdown-item.active, .dropdown-item:active { + color: #fff; + text-decoration: none; + background-color: #007bff; +} + +.dropdown-item.disabled, .dropdown-item:disabled { + color: #6c757d; + pointer-events: none; + background-color: transparent; +} + +.dropdown-menu.show { + display: block; +} + +.dropdown-header { + display: block; + padding: 0.5rem 1.5rem; + margin-bottom: 0; + font-size: 0.875rem; + color: #6c757d; + white-space: nowrap; +} + +.dropdown-item-text { + display: block; + padding: 0.25rem 1.5rem; + color: #212529; +} + +.btn-group, +.btn-group-vertical { + position: relative; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} + +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; +} + +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover { + z-index: 1; +} + +.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn.active { + z-index: 1; +} + +.btn-toolbar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.btn-toolbar .input-group { + width: auto; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) { + margin-left: -1px; +} + +.btn-group > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group > .btn-group:not(:last-child) > .btn { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.btn-group > .btn:not(:first-child), +.btn-group > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.dropdown-toggle-split { + padding-right: 0.5625rem; + padding-left: 0.5625rem; +} + +.dropdown-toggle-split::after, +.dropup .dropdown-toggle-split::after, +.dropright .dropdown-toggle-split::after { + margin-left: 0; +} + +.dropleft .dropdown-toggle-split::before { + margin-right: 0; +} + +.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split { + padding-right: 0.375rem; + padding-left: 0.375rem; +} + +.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split { + padding-right: 0.75rem; + padding-left: 0.75rem; +} + +.btn-group-vertical { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group { + width: 100%; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) { + margin-top: -1px; +} + +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), +.btn-group-vertical > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.btn-group-vertical > .btn:not(:first-child), +.btn-group-vertical > .btn-group:not(:first-child) > .btn { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn { + margin-bottom: 0; +} + +.btn-group-toggle > .btn input[type="radio"], +.btn-group-toggle > .btn input[type="checkbox"], +.btn-group-toggle > .btn-group > .btn input[type="radio"], +.btn-group-toggle > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} + +.input-group { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} + +.input-group > .form-control, +.input-group > .form-control-plaintext, +.input-group > .custom-select, +.input-group > .custom-file { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + margin-bottom: 0; +} + +.input-group > .form-control + .form-control, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .custom-file, +.input-group > .form-control-plaintext + .form-control, +.input-group > .form-control-plaintext + .custom-select, +.input-group > .form-control-plaintext + .custom-file, +.input-group > .custom-select + .form-control, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .custom-file, +.input-group > .custom-file + .form-control, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .custom-file { + margin-left: -1px; +} + +.input-group > .form-control:focus, +.input-group > .custom-select:focus, +.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label { + z-index: 3; +} + +.input-group > .custom-file .custom-file-input:focus { + z-index: 4; +} + +.input-group > .form-control:not(:last-child), +.input-group > .custom-select:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .form-control:not(:first-child), +.input-group > .custom-select:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group > .custom-file { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::after { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .custom-file:not(:first-child) .custom-file-label { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group-prepend, +.input-group-append { + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} + +.input-group-prepend .btn, +.input-group-append .btn { + position: relative; + z-index: 2; +} + +.input-group-prepend .btn:focus, +.input-group-append .btn:focus { + z-index: 3; +} + +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .input-group-text, +.input-group-append .input-group-text + .btn { + margin-left: -1px; +} + +.input-group-prepend { + margin-right: -1px; +} + +.input-group-append { + margin-left: -1px; +} + +.input-group-text { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0.375rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + text-align: center; + white-space: nowrap; + background-color: #e9ecef; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.input-group-text input[type="radio"], +.input-group-text input[type="checkbox"] { + margin-top: 0; +} + +.input-group-lg > .form-control:not(textarea), +.input-group-lg > .custom-select { + height: calc(1.5em + 1rem + 2px); +} + +.input-group-lg > .form-control, +.input-group-lg > .custom-select, +.input-group-lg > .input-group-prepend > .input-group-text, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-append > .btn { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} + +.input-group-sm > .form-control:not(textarea), +.input-group-sm > .custom-select { + height: calc(1.5em + 0.5rem + 2px); +} + +.input-group-sm > .form-control, +.input-group-sm > .custom-select, +.input-group-sm > .input-group-prepend > .input-group-text, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-append > .btn { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} + +.input-group-lg > .custom-select, +.input-group-sm > .custom-select { + padding-right: 1.75rem; +} + +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text, +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group > .input-group-append:last-child > .input-group-text:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.custom-control { + position: relative; + display: block; + min-height: 1.5rem; + padding-left: 1.5rem; +} + +.custom-control-inline { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + margin-right: 1rem; +} + +.custom-control-input { + position: absolute; + z-index: -1; + opacity: 0; +} + +.custom-control-input:checked ~ .custom-control-label::before { + color: #fff; + border-color: #007bff; + background-color: #007bff; +} + +.custom-control-input:focus ~ .custom-control-label::before { + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-control-input:focus:not(:checked) ~ .custom-control-label::before { + border-color: #80bdff; +} + +.custom-control-input:not(:disabled):active ~ .custom-control-label::before { + color: #fff; + background-color: #b3d7ff; + border-color: #b3d7ff; +} + +.custom-control-input:disabled ~ .custom-control-label { + color: #6c757d; +} + +.custom-control-input:disabled ~ .custom-control-label::before { + background-color: #e9ecef; +} + +.custom-control-label { + position: relative; + margin-bottom: 0; + vertical-align: top; +} + +.custom-control-label::before { + position: absolute; + top: 0.25rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + background-color: #fff; + border: #adb5bd solid 1px; +} + +.custom-control-label::after { + position: absolute; + top: 0.25rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + content: ""; + background: no-repeat 50% / 50% 50%; +} + +.custom-checkbox .custom-control-label::before { + border-radius: 0.25rem; +} + +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"); +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { + border-color: #007bff; + background-color: #007bff; +} + +.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e"); +} + +.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-radio .custom-control-label::before { + border-radius: 50%; +} + +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); +} + +.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-switch { + padding-left: 2.25rem; +} + +.custom-switch .custom-control-label::before { + left: -2.25rem; + width: 1.75rem; + pointer-events: all; + border-radius: 0.5rem; +} + +.custom-switch .custom-control-label::after { + top: calc(0.25rem + 2px); + left: calc(-2.25rem + 2px); + width: calc(1rem - 4px); + height: calc(1rem - 4px); + background-color: #adb5bd; + border-radius: 0.5rem; + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .custom-switch .custom-control-label::after { + -webkit-transition: none; + transition: none; + } +} + +.custom-switch .custom-control-input:checked ~ .custom-control-label::after { + background-color: #fff; + -webkit-transform: translateX(0.75rem); + transform: translateX(0.75rem); +} + +.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} + +.custom-select { + display: inline-block; + width: 100%; + height: calc(1.5em + 0.75rem + 2px); + padding: 0.375rem 1.75rem 0.375rem 0.75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + vertical-align: middle; + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px; + background-color: #fff; + border: 1px solid #ced4da; + border-radius: 0.25rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-select:focus { + border-color: #80bdff; + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-select:focus::-ms-value { + color: #495057; + background-color: #fff; +} + +.custom-select[multiple], .custom-select[size]:not([size="1"]) { + height: auto; + padding-right: 0.75rem; + background-image: none; +} + +.custom-select:disabled { + color: #6c757d; + background-color: #e9ecef; +} + +.custom-select::-ms-expand { + display: none; +} + +.custom-select-sm { + height: calc(1.5em + 0.5rem + 2px); + padding-top: 0.25rem; + padding-bottom: 0.25rem; + padding-left: 0.5rem; + font-size: 0.875rem; +} + +.custom-select-lg { + height: calc(1.5em + 1rem + 2px); + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-left: 1rem; + font-size: 1.25rem; +} + +.custom-file { + position: relative; + display: inline-block; + width: 100%; + height: calc(1.5em + 0.75rem + 2px); + margin-bottom: 0; +} + +.custom-file-input { + position: relative; + z-index: 2; + width: 100%; + height: calc(1.5em + 0.75rem + 2px); + margin: 0; + opacity: 0; +} + +.custom-file-input:focus ~ .custom-file-label { + border-color: #80bdff; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-file-input:disabled ~ .custom-file-label { + background-color: #e9ecef; +} + +.custom-file-input:lang(en) ~ .custom-file-label::after { + content: "Browse"; +} + +.custom-file-input ~ .custom-file-label[data-browse]::after { + content: attr(data-browse); +} + +.custom-file-label { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 1; + height: calc(1.5em + 0.75rem + 2px); + padding: 0.375rem 0.75rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} + +.custom-file-label::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 3; + display: block; + height: calc(1.5em + 0.75rem); + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + content: "Browse"; + background-color: #e9ecef; + border-left: inherit; + border-radius: 0 0.25rem 0.25rem 0; +} + +.custom-range { + width: 100%; + height: calc(1rem + 0.4rem); + padding: 0; + background-color: transparent; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.custom-range:focus { + outline: none; +} + +.custom-range:focus::-webkit-slider-thumb { + -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-range:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-range:focus::-ms-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.custom-range::-moz-focus-outer { + border: 0; +} + +.custom-range::-webkit-slider-thumb { + width: 1rem; + height: 1rem; + margin-top: -0.25rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + -webkit-appearance: none; + appearance: none; +} + +@media (prefers-reduced-motion: reduce) { + .custom-range::-webkit-slider-thumb { + -webkit-transition: none; + transition: none; + } +} + +.custom-range::-webkit-slider-thumb:active { + background-color: #b3d7ff; +} + +.custom-range::-webkit-slider-runnable-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; +} + +.custom-range::-moz-range-thumb { + width: 1rem; + height: 1rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + -moz-appearance: none; + appearance: none; +} + +@media (prefers-reduced-motion: reduce) { + .custom-range::-moz-range-thumb { + -webkit-transition: none; + transition: none; + } +} + +.custom-range::-moz-range-thumb:active { + background-color: #b3d7ff; +} + +.custom-range::-moz-range-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; +} + +.custom-range::-ms-thumb { + width: 1rem; + height: 1rem; + margin-top: 0; + margin-right: 0.2rem; + margin-left: 0.2rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + appearance: none; +} + +@media (prefers-reduced-motion: reduce) { + .custom-range::-ms-thumb { + -webkit-transition: none; + transition: none; + } +} + +.custom-range::-ms-thumb:active { + background-color: #b3d7ff; +} + +.custom-range::-ms-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: transparent; + border-color: transparent; + border-width: 0.5rem; +} + +.custom-range::-ms-fill-lower { + background-color: #dee2e6; + border-radius: 1rem; +} + +.custom-range::-ms-fill-upper { + margin-right: 15px; + background-color: #dee2e6; + border-radius: 1rem; +} + +.custom-range:disabled::-webkit-slider-thumb { + background-color: #adb5bd; +} + +.custom-range:disabled::-webkit-slider-runnable-track { + cursor: default; +} + +.custom-range:disabled::-moz-range-thumb { + background-color: #adb5bd; +} + +.custom-range:disabled::-moz-range-track { + cursor: default; +} + +.custom-range:disabled::-ms-thumb { + background-color: #adb5bd; +} + +.custom-control-label::before, +.custom-file-label, +.custom-select { + -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .custom-control-label::before, + .custom-file-label, + .custom-select { + -webkit-transition: none; + transition: none; + } +} + +.nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.nav-link { + display: block; + padding: 0.5rem 1rem; +} + +.nav-link:hover, .nav-link:focus { + text-decoration: none; +} + +.nav-link.disabled { + color: #6c757d; + pointer-events: none; + cursor: default; +} + +.nav-tabs { + border-bottom: 1px solid #dee2e6; +} + +.nav-tabs .nav-item { + margin-bottom: -1px; +} + +.nav-tabs .nav-link { + border: 1px solid transparent; + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { + border-color: #e9ecef #e9ecef #dee2e6; +} + +.nav-tabs .nav-link.disabled { + color: #6c757d; + background-color: transparent; + border-color: transparent; +} + +.nav-tabs .nav-link.active, +.nav-tabs .nav-item.show .nav-link { + color: #495057; + background-color: #fff; + border-color: #dee2e6 #dee2e6 #fff; +} + +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.nav-pills .nav-link { + border-radius: 0.25rem; +} + +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: #fff; + background-color: #2b2b2b; +} + +.nav-fill .nav-item { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} + +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} + +.tab-content > .tab-pane { + display: none; +} + +.tab-content > .active { + display: block; +} + +.navbar { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 0.5rem 1rem; +} + +.navbar > .container, +.navbar > .container-fluid { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; +} + +.navbar-brand { + display: inline-block; + padding-top: 0.3125rem; + padding-bottom: 0.3125rem; + margin-right: 1rem; + font-size: 1.25rem; + line-height: inherit; + white-space: nowrap; +} + +.navbar-brand:hover, .navbar-brand:focus { + text-decoration: none; +} + +.navbar-nav { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} + +.navbar-nav .nav-link { + padding-right: 0; + padding-left: 0; +} + +.navbar-nav .dropdown-menu { + position: static; + float: none; +} + +.navbar-text { + display: inline-block; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.25rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.25rem; +} + +.navbar-toggler:hover, .navbar-toggler:focus { + text-decoration: none; +} + +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; +} + +@media (max-width: 575.98px) { + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 576px) { + .navbar-expand-sm { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } +} + +@media (max-width: 767.98px) { + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 768px) { + .navbar-expand-md { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } +} + +@media (max-width: 991.98px) { + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 992px) { + .navbar-expand-lg { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } +} + +@media (max-width: 1199.98px) { + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} + +@media (min-width: 1200px) { + .navbar-expand-xl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } +} + +.navbar-expand { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -webkit-box-pack: start; + -ms-flex-pack: start; + justify-content: flex-start; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + padding-right: 0; + padding-left: 0; +} + +.navbar-expand .navbar-nav { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} + +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} + +.navbar-expand .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; +} + +.navbar-expand > .container, +.navbar-expand > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.navbar-expand .navbar-collapse { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} + +.navbar-expand .navbar-toggler { + display: none; +} + +.navbar-light .navbar-brand { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-nav .nav-link { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { + color: rgba(0, 0, 0, 0.7); +} + +.navbar-light .navbar-nav .nav-link.disabled { + color: rgba(0, 0, 0, 0.3); +} + +.navbar-light .navbar-nav .show > .nav-link, +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .nav-link.active { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-toggler { + color: rgba(0, 0, 0, 0.5); + border-color: rgba(0, 0, 0, 0.1); +} + +.navbar-light .navbar-toggler-icon { + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} + +.navbar-light .navbar-text { + color: rgba(0, 0, 0, 0.5); +} + +.navbar-light .navbar-text a { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-light .navbar-text a:hover, .navbar-light .navbar-text a:focus { + color: rgba(0, 0, 0, 0.9); +} + +.navbar-dark .navbar-brand { + color: #fff; +} + +.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus { + color: #fff; +} + +.navbar-dark .navbar-nav .nav-link { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { + color: rgba(255, 255, 255, 0.75); +} + +.navbar-dark .navbar-nav .nav-link.disabled { + color: rgba(255, 255, 255, 0.25); +} + +.navbar-dark .navbar-nav .show > .nav-link, +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .nav-link.active { + color: #fff; +} + +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 0.5); + border-color: rgba(255, 255, 255, 0.1); +} + +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} + +.navbar-dark .navbar-text { + color: rgba(255, 255, 255, 0.5); +} + +.navbar-dark .navbar-text a { + color: #fff; +} + +.navbar-dark .navbar-text a:hover, .navbar-dark .navbar-text a:focus { + color: #fff; +} + +.card { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid rgba(0, 0, 0, 0.125); + border-radius: 0.25rem; +} + +.card > hr { + margin-right: 0; + margin-left: 0; +} + +.card > .list-group:first-child .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.card > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.card-body { + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} + +.card-title { + margin-bottom: 0.75rem; +} + +.card-subtitle { + margin-top: -0.375rem; + margin-bottom: 0; +} + +.card-text:last-child { + margin-bottom: 0; +} + +.card-link:hover { + text-decoration: none; +} + +.card-link + .card-link { + margin-left: 1.25rem; +} + +.card-header { + padding: 0.75rem 1.25rem; + margin-bottom: 0; + background-color: rgba(0, 0, 0, 0.03); + border-bottom: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-header:first-child { + border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; +} + +.card-header + .list-group .list-group-item:first-child { + border-top: 0; +} + +.card-footer { + padding: 0.75rem 1.25rem; + background-color: rgba(0, 0, 0, 0.03); + border-top: 1px solid rgba(0, 0, 0, 0.125); +} + +.card-footer:last-child { + border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); +} + +.card-header-tabs { + margin-right: -0.625rem; + margin-bottom: -0.75rem; + margin-left: -0.625rem; + border-bottom: 0; +} + +.card-header-pills { + margin-right: -0.625rem; + margin-left: -0.625rem; +} + +.card-img-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + padding: 1.25rem; +} + +.card-img { + width: 100%; + border-radius: calc(0.25rem - 1px); +} + +.card-img-top { + width: 100%; + border-top-left-radius: calc(0.25rem - 1px); + border-top-right-radius: calc(0.25rem - 1px); +} + +.card-img-bottom { + width: 100%; + border-bottom-right-radius: calc(0.25rem - 1px); + border-bottom-left-radius: calc(0.25rem - 1px); +} + +.card-deck { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-deck .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-deck { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-right: -15px; + margin-left: -15px; + } + .card-deck .card { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + margin-right: 15px; + margin-bottom: 0; + margin-left: 15px; + } +} + +.card-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; +} + +.card-group > .card { + margin-bottom: 15px; +} + +@media (min-width: 576px) { + .card-group { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -webkit-box-flex: 1; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-left: 0; + border-left: 0; + } + .card-group > .card:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-top, + .card-group > .card:not(:last-child) .card-header { + border-top-right-radius: 0; + } + .card-group > .card:not(:last-child) .card-img-bottom, + .card-group > .card:not(:last-child) .card-footer { + border-bottom-right-radius: 0; + } + .card-group > .card:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-top, + .card-group > .card:not(:first-child) .card-header { + border-top-left-radius: 0; + } + .card-group > .card:not(:first-child) .card-img-bottom, + .card-group > .card:not(:first-child) .card-footer { + border-bottom-left-radius: 0; + } +} + +.card-columns .card { + margin-bottom: 0.75rem; +} + +@media (min-width: 576px) { + .card-columns { + -webkit-column-count: 3; + column-count: 3; + -webkit-column-gap: 1.25rem; + column-gap: 1.25rem; + orphans: 1; + widows: 1; + } + .card-columns .card { + display: inline-block; + width: 100%; + } +} + +.accordion > .card { + overflow: hidden; +} + +.accordion > .card:not(:first-of-type) .card-header:first-child { + border-radius: 0; +} + +.accordion > .card:not(:first-of-type):not(:last-of-type) { + border-bottom: 0; + border-radius: 0; +} + +.accordion > .card:first-of-type { + border-bottom: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.accordion > .card:last-of-type { + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.accordion > .card .card-header { + margin-bottom: -1px; +} + +.breadcrumb { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1rem; + list-style: none; + background-color: #e9ecef; + border-radius: 0.25rem; +} + +.breadcrumb-item + .breadcrumb-item { + padding-left: 0.5rem; +} + +.breadcrumb-item + .breadcrumb-item::before { + display: inline-block; + padding-right: 0.5rem; + color: #6c757d; + content: "/"; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: underline; +} + +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: none; +} + +.breadcrumb-item.active { + color: #6c757d; +} + +.pagination { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + padding-left: 0; + list-style: none; + border-radius: 0.25rem; +} + +.page-link { + position: relative; + display: block; + padding: 0.5rem 0.75rem; + margin-left: -1px; + line-height: 1.25; + color: #007bff; + background-color: #fff; + border: 1px solid #dee2e6; +} + +.page-link:hover { + z-index: 2; + color: #0056b3; + text-decoration: none; + background-color: #e9ecef; + border-color: #dee2e6; +} + +.page-link:focus { + z-index: 2; + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} + +.page-item:first-child .page-link { + margin-left: 0; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.page-item:last-child .page-link { + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; +} + +.page-item.active .page-link { + z-index: 1; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.page-item.disabled .page-link { + color: #6c757d; + pointer-events: none; + cursor: auto; + background-color: #fff; + border-color: #dee2e6; +} + +.pagination-lg .page-link { + padding: 0.75rem 1.5rem; + font-size: 1.25rem; + line-height: 1.5; +} + +.pagination-lg .page-item:first-child .page-link { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.pagination-lg .page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} + +.pagination-sm .page-link { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; +} + +.pagination-sm .page-item:first-child .page-link { + border-top-left-radius: 0.2rem; + border-bottom-left-radius: 0.2rem; +} + +.pagination-sm .page-item:last-child .page-link { + border-top-right-radius: 0.2rem; + border-bottom-right-radius: 0.2rem; +} + +.badge { + display: inline-block; + padding: 0.25em 0.4em; + font-size: 75%; + font-weight: 700; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; +} + +@media (prefers-reduced-motion: reduce) { + .badge { + -webkit-transition: none; + transition: none; + } +} + +a.badge:hover, a.badge:focus { + text-decoration: none; +} + +.badge:empty { + display: none; +} + +.btn .badge { + position: relative; + top: -1px; +} + +.badge-pill { + padding-right: 0.6em; + padding-left: 0.6em; + border-radius: 10rem; +} + +.badge-primary { + color: #fff; + background-color: #007bff; +} + +a.badge-primary:hover, a.badge-primary:focus { + color: #fff; + background-color: #0062cc; +} + +a.badge-primary:focus, a.badge-primary.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} + +.badge-secondary { + color: #fff; + background-color: #6c757d; +} + +a.badge-secondary:hover, a.badge-secondary:focus { + color: #fff; + background-color: #545b62; +} + +a.badge-secondary:focus, a.badge-secondary.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} + +.badge-success { + color: #fff; + background-color: #28a745; +} + +a.badge-success:hover, a.badge-success:focus { + color: #fff; + background-color: #1e7e34; +} + +a.badge-success:focus, a.badge-success.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} + +.badge-info { + color: #fff; + background-color: #17a2b8; +} + +a.badge-info:hover, a.badge-info:focus { + color: #fff; + background-color: #117a8b; +} + +a.badge-info:focus, a.badge-info.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} + +.badge-warning { + color: #212529; + background-color: #ffc107; +} + +a.badge-warning:hover, a.badge-warning:focus { + color: #212529; + background-color: #d39e00; +} + +a.badge-warning:focus, a.badge-warning.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} + +.badge-danger { + color: #fff; + background-color: #dc3545; +} + +a.badge-danger:hover, a.badge-danger:focus { + color: #fff; + background-color: #bd2130; +} + +a.badge-danger:focus, a.badge-danger.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} + +.badge-light { + color: #212529; + background-color: #f8f9fa; +} + +a.badge-light:hover, a.badge-light:focus { + color: #212529; + background-color: #dae0e5; +} + +a.badge-light:focus, a.badge-light.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} + +.badge-dark { + color: #fff; + background-color: #343a40; +} + +a.badge-dark:hover, a.badge-dark:focus { + color: #fff; + background-color: #1d2124; +} + +a.badge-dark:focus, a.badge-dark.focus { + outline: 0; + -webkit-box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} + +.progress { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + height: 1rem; + overflow: hidden; + font-size: 0.75rem; + background-color: #e9ecef; + border-radius: 0.25rem; +} + +.progress-bar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + color: #fff; + text-align: center; + white-space: nowrap; + background-color: #007bff; + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +@media (prefers-reduced-motion: reduce) { + .progress-bar { + -webkit-transition: none; + transition: none; + } +} + +.progress-bar-striped { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-size: 1rem 1rem; +} + +.progress-bar-animated { + -webkit-animation: progress-bar-stripes 1s linear infinite; + animation: progress-bar-stripes 1s linear infinite; +} + +@media (prefers-reduced-motion: reduce) { + .progress-bar-animated { + -webkit-animation: none; + animation: none; + } +} + +.list-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; +} + +.list-group-item-action { + width: 100%; + color: #495057; + text-align: inherit; +} + +.list-group-item-action:hover, .list-group-item-action:focus { + z-index: 1; + color: #495057; + text-decoration: none; + background-color: #f8f9fa; +} + +.list-group-item-action:active { + color: #212529; + background-color: #e9ecef; +} + +.list-group-item { + position: relative; + display: block; + padding: 0.75rem 1.25rem; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid rgba(0, 0, 0, 0.125); +} + +.list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} + +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} + +.list-group-item.disabled, .list-group-item:disabled { + color: #6c757d; + pointer-events: none; + background-color: #fff; +} + +.list-group-item.active { + z-index: 2; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.list-group-horizontal { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} + +.list-group-horizontal .list-group-item { + margin-right: -1px; + margin-bottom: 0; +} + +.list-group-horizontal .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + border-top-right-radius: 0; +} + +.list-group-horizontal .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0; +} + +@media (min-width: 576px) { + .list-group-horizontal-sm { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-sm .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-sm .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + border-top-right-radius: 0; + } + .list-group-horizontal-sm .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0; + } +} + +@media (min-width: 768px) { + .list-group-horizontal-md { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-md .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-md .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + border-top-right-radius: 0; + } + .list-group-horizontal-md .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0; + } +} + +@media (min-width: 992px) { + .list-group-horizontal-lg { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-lg .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-lg .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + border-top-right-radius: 0; + } + .list-group-horizontal-lg .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0; + } +} + +@media (min-width: 1200px) { + .list-group-horizontal-xl { + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + } + .list-group-horizontal-xl .list-group-item { + margin-right: -1px; + margin-bottom: 0; + } + .list-group-horizontal-xl .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + border-top-right-radius: 0; + } + .list-group-horizontal-xl .list-group-item:last-child { + margin-right: 0; + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0; + } +} + +.list-group-flush .list-group-item { + border-right: 0; + border-left: 0; + border-radius: 0; +} + +.list-group-flush .list-group-item:last-child { + margin-bottom: -1px; +} + +.list-group-flush:first-child .list-group-item:first-child { + border-top: 0; +} + +.list-group-flush:last-child .list-group-item:last-child { + margin-bottom: 0; + border-bottom: 0; +} + +.list-group-item-primary { + color: #004085; + background-color: #b8daff; +} + +.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { + color: #004085; + background-color: #9fcdff; +} + +.list-group-item-primary.list-group-item-action.active { + color: #fff; + background-color: #004085; + border-color: #004085; +} + +.list-group-item-secondary { + color: #383d41; + background-color: #d6d8db; +} + +.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus { + color: #383d41; + background-color: #c8cbcf; +} + +.list-group-item-secondary.list-group-item-action.active { + color: #fff; + background-color: #383d41; + border-color: #383d41; +} + +.list-group-item-success { + color: #155724; + background-color: #c3e6cb; +} + +.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus { + color: #155724; + background-color: #b1dfbb; +} + +.list-group-item-success.list-group-item-action.active { + color: #fff; + background-color: #155724; + border-color: #155724; +} + +.list-group-item-info { + color: #0c5460; + background-color: #bee5eb; +} + +.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus { + color: #0c5460; + background-color: #abdde5; +} + +.list-group-item-info.list-group-item-action.active { + color: #fff; + background-color: #0c5460; + border-color: #0c5460; +} + +.list-group-item-warning { + color: #856404; + background-color: #ffeeba; +} + +.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus { + color: #856404; + background-color: #ffe8a1; +} + +.list-group-item-warning.list-group-item-action.active { + color: #fff; + background-color: #856404; + border-color: #856404; +} + +.list-group-item-danger { + color: #721c24; + background-color: #f5c6cb; +} + +.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus { + color: #721c24; + background-color: #f1b0b7; +} + +.list-group-item-danger.list-group-item-action.active { + color: #fff; + background-color: #721c24; + border-color: #721c24; +} + +.list-group-item-light { + color: #818182; + background-color: #fdfdfe; +} + +.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus { + color: #818182; + background-color: #ececf6; +} + +.list-group-item-light.list-group-item-action.active { + color: #fff; + background-color: #818182; + border-color: #818182; +} + +.list-group-item-dark { + color: #1b1e21; + background-color: #c6c8ca; +} + +.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus { + color: #1b1e21; + background-color: #b9bbbe; +} + +.list-group-item-dark.list-group-item-action.active { + color: #fff; + background-color: #1b1e21; + border-color: #1b1e21; +} + +.close { + float: right; + font-size: 1.5rem; + font-weight: 700; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + opacity: .5; +} + +.close:hover { + color: #000; + text-decoration: none; +} + +.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus { + opacity: .75; +} + +button.close { + padding: 0; + background-color: transparent; + border: 0; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +a.close.disabled { + pointer-events: none; +} + +.modal-open { + overflow: hidden; +} + +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} + +.modal { + position: fixed; + top: 0; + left: 0; + z-index: 1050; + display: none; + width: 100%; + height: 100%; + overflow: hidden; + outline: 0; +} + +.modal-dialog { + position: relative; + width: auto; + margin: 0.5rem; + pointer-events: none; +} + +.modal.fade .modal-dialog { + -webkit-transition: -webkit-transform 0.3s ease-out; + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; + -webkit-transform: translate(0, -50px); + transform: translate(0, -50px); +} + +@media (prefers-reduced-motion: reduce) { + .modal.fade .modal-dialog { + -webkit-transition: none; + transition: none; + } +} + +.modal.show .modal-dialog { + -webkit-transform: none; + transform: none; +} + +.modal-dialog-scrollable { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + max-height: calc(100% - 1rem); +} + +.modal-dialog-scrollable .modal-content { + max-height: calc(100vh - 1rem); + overflow: hidden; +} + +.modal-dialog-scrollable .modal-header, +.modal-dialog-scrollable .modal-footer { + -ms-flex-negative: 0; + flex-shrink: 0; +} + +.modal-dialog-scrollable .modal-body { + overflow-y: auto; +} + +.modal-dialog-centered { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: calc(100% - 1rem); +} + +.modal-dialog-centered::before { + display: block; + height: calc(100vh - 1rem); + content: ""; +} + +.modal-dialog-centered.modal-dialog-scrollable { + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + height: 100%; +} + +.modal-dialog-centered.modal-dialog-scrollable .modal-content { + max-height: none; +} + +.modal-dialog-centered.modal-dialog-scrollable::before { + content: none; +} + +.modal-content { + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + pointer-events: auto; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; + outline: 0; +} + +.modal-backdrop { + position: fixed; + top: 0; + left: 0; + z-index: 1040; + width: 100vw; + height: 100vh; + background-color: #000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop.show { + opacity: 0.5; +} + +.modal-header { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 1rem 1rem; + border-bottom: 1px solid #dee2e6; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} + +.modal-header .close { + padding: 1rem 1rem; + margin: -1rem -1rem -1rem auto; +} + +.modal-title { + margin-bottom: 0; + line-height: 1.5; +} + +.modal-body { + position: relative; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1rem; +} + +.modal-footer { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 1rem; + border-top: 1px solid #dee2e6; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} + +.modal-footer > :not(:first-child) { + margin-left: .25rem; +} + +.modal-footer > :not(:last-child) { + margin-right: .25rem; +} + +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} + +@media (min-width: 576px) { + .modal-dialog { + max-width: 500px; + margin: 1.75rem auto; + } + .modal-dialog-scrollable { + max-height: calc(100% - 3.5rem); + } + .modal-dialog-scrollable .modal-content { + max-height: calc(100vh - 3.5rem); + } + .modal-dialog-centered { + min-height: calc(100% - 3.5rem); + } + .modal-dialog-centered::before { + height: calc(100vh - 3.5rem); + } + .modal-sm { + max-width: 300px; + } +} + +@media (min-width: 992px) { + .modal-lg, + .modal-xl { + max-width: 800px; + } +} + +@media (min-width: 1200px) { + .modal-xl { + max-width: 1140px; + } +} + +.tooltip { + position: absolute; + z-index: 1070; + display: block; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + opacity: 0; +} + +.tooltip.show { + opacity: 0.9; +} + +.tooltip .arrow { + position: absolute; + display: block; + width: 0.8rem; + height: 0.4rem; +} + +.tooltip .arrow::before { + position: absolute; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] { + padding: 0.4rem 0; +} + +.bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow { + bottom: 0; +} + +.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { + top: 0; + border-width: 0.4rem 0.4rem 0; + border-top-color: #000; +} + +.bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] { + padding: 0 0.4rem; +} + +.bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow { + left: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { + right: 0; + border-width: 0.4rem 0.4rem 0.4rem 0; + border-right-color: #000; +} + +.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] { + padding: 0.4rem 0; +} + +.bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow { + top: 0; +} + +.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { + bottom: 0; + border-width: 0 0.4rem 0.4rem; + border-bottom-color: #000; +} + +.bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] { + padding: 0 0.4rem; +} + +.bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow { + right: 0; + width: 0.4rem; + height: 0.8rem; +} + +.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { + left: 0; + border-width: 0.4rem 0 0.4rem 0.4rem; + border-left-color: #000; +} + +.tooltip-inner { + max-width: 200px; + padding: 0.25rem 0.5rem; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 0.25rem; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: block; + max-width: 276px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; +} + +.popover .arrow { + position: absolute; + display: block; + width: 1rem; + height: 0.5rem; + margin: 0 0.3rem; +} + +.popover .arrow::before, .popover .arrow::after { + position: absolute; + display: block; + content: ""; + border-color: transparent; + border-style: solid; +} + +.bs-popover-top, .bs-popover-auto[x-placement^="top"] { + margin-bottom: 0.5rem; +} + +.bs-popover-top > .arrow, .bs-popover-auto[x-placement^="top"] > .arrow { + bottom: calc((0.5rem + 1px) * -1); +} + +.bs-popover-top > .arrow::before, .bs-popover-auto[x-placement^="top"] > .arrow::before { + bottom: 0; + border-width: 0.5rem 0.5rem 0; + border-top-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-top > .arrow::after, .bs-popover-auto[x-placement^="top"] > .arrow::after { + bottom: 1px; + border-width: 0.5rem 0.5rem 0; + border-top-color: #fff; +} + +.bs-popover-right, .bs-popover-auto[x-placement^="right"] { + margin-left: 0.5rem; +} + +.bs-popover-right > .arrow, .bs-popover-auto[x-placement^="right"] > .arrow { + left: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-right > .arrow::before, .bs-popover-auto[x-placement^="right"] > .arrow::before { + left: 0; + border-width: 0.5rem 0.5rem 0.5rem 0; + border-right-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^="right"] > .arrow::after { + left: 1px; + border-width: 0.5rem 0.5rem 0.5rem 0; + border-right-color: #fff; +} + +.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"] { + margin-top: 0.5rem; +} + +.bs-popover-bottom > .arrow, .bs-popover-auto[x-placement^="bottom"] > .arrow { + top: calc((0.5rem + 1px) * -1); +} + +.bs-popover-bottom > .arrow::before, .bs-popover-auto[x-placement^="bottom"] > .arrow::before { + top: 0; + border-width: 0 0.5rem 0.5rem 0.5rem; + border-bottom-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-bottom > .arrow::after, .bs-popover-auto[x-placement^="bottom"] > .arrow::after { + top: 1px; + border-width: 0 0.5rem 0.5rem 0.5rem; + border-bottom-color: #fff; +} + +.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { + position: absolute; + top: 0; + left: 50%; + display: block; + width: 1rem; + margin-left: -0.5rem; + content: ""; + border-bottom: 1px solid #f7f7f7; +} + +.bs-popover-left, .bs-popover-auto[x-placement^="left"] { + margin-right: 0.5rem; +} + +.bs-popover-left > .arrow, .bs-popover-auto[x-placement^="left"] > .arrow { + right: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} + +.bs-popover-left > .arrow::before, .bs-popover-auto[x-placement^="left"] > .arrow::before { + right: 0; + border-width: 0.5rem 0 0.5rem 0.5rem; + border-left-color: rgba(0, 0, 0, 0.25); +} + +.bs-popover-left > .arrow::after, .bs-popover-auto[x-placement^="left"] > .arrow::after { + right: 1px; + border-width: 0.5rem 0 0.5rem 0.5rem; + border-left-color: #fff; +} + +.popover-header { + padding: 0.5rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-top-left-radius: calc(0.3rem - 1px); + border-top-right-radius: calc(0.3rem - 1px); +} + +.popover-header:empty { + display: none; +} + +.popover-body { + padding: 0.5rem 0.75rem; + color: #212529; +} + +.align-baseline { + vertical-align: baseline !important; +} + +.align-top { + vertical-align: top !important; +} + +.align-middle { + vertical-align: middle !important; +} + +.align-bottom { + vertical-align: bottom !important; +} + +.align-text-bottom { + vertical-align: text-bottom !important; +} + +.align-text-top { + vertical-align: text-top !important; +} + +.bg-primary { + background-color: #007bff !important; +} + +a.bg-primary:hover, a.bg-primary:focus, +button.bg-primary:hover, +button.bg-primary:focus { + background-color: #0062cc !important; +} + +.bg-secondary { + background-color: #6c757d !important; +} + +a.bg-secondary:hover, a.bg-secondary:focus, +button.bg-secondary:hover, +button.bg-secondary:focus { + background-color: #545b62 !important; +} + +.bg-success { + background-color: #28a745 !important; +} + +a.bg-success:hover, a.bg-success:focus, +button.bg-success:hover, +button.bg-success:focus { + background-color: #1e7e34 !important; +} + +.bg-info { + background-color: #17a2b8 !important; +} + +a.bg-info:hover, a.bg-info:focus, +button.bg-info:hover, +button.bg-info:focus { + background-color: #117a8b !important; +} + +.bg-warning { + background-color: #ffc107 !important; +} + +a.bg-warning:hover, a.bg-warning:focus, +button.bg-warning:hover, +button.bg-warning:focus { + background-color: #d39e00 !important; +} + +.bg-danger { + background-color: #dc3545 !important; +} + +a.bg-danger:hover, a.bg-danger:focus, +button.bg-danger:hover, +button.bg-danger:focus { + background-color: #bd2130 !important; +} + +.bg-light { + background-color: #f8f9fa !important; +} + +a.bg-light:hover, a.bg-light:focus, +button.bg-light:hover, +button.bg-light:focus { + background-color: #dae0e5 !important; +} + +.bg-dark { + background-color: #343a40 !important; +} + +a.bg-dark:hover, a.bg-dark:focus, +button.bg-dark:hover, +button.bg-dark:focus { + background-color: #1d2124 !important; +} + +.bg-white { + background-color: #fff !important; +} + +.bg-transparent { + background-color: transparent !important; +} + +.border { + border: 1px solid #dee2e6 !important; +} + +.border-top { + border-top: 1px solid #dee2e6 !important; +} + +.border-right { + border-right: 1px solid #dee2e6 !important; +} + +.border-bottom { + border-bottom: 1px solid #dee2e6 !important; +} + +.border-left { + border-left: 1px solid #dee2e6 !important; +} + +.border-0 { + border: 0 !important; +} + +.border-top-0 { + border-top: 0 !important; +} + +.border-right-0 { + border-right: 0 !important; +} + +.border-bottom-0 { + border-bottom: 0 !important; +} + +.border-left-0 { + border-left: 0 !important; +} + +.border-primary { + border-color: #007bff !important; +} + +.border-secondary { + border-color: #6c757d !important; +} + +.border-success { + border-color: #28a745 !important; +} + +.border-info { + border-color: #17a2b8 !important; +} + +.border-warning { + border-color: #ffc107 !important; +} + +.border-danger { + border-color: #dc3545 !important; +} + +.border-light { + border-color: #f8f9fa !important; +} + +.border-dark { + border-color: #343a40 !important; +} + +.border-white { + border-color: #fff !important; +} + +.rounded-sm { + border-radius: 0.2rem !important; +} + +.rounded { + border-radius: 0.25rem !important; +} + +.rounded-top { + border-top-left-radius: 0.25rem !important; + border-top-right-radius: 0.25rem !important; +} + +.rounded-right { + border-top-right-radius: 0.25rem !important; + border-bottom-right-radius: 0.25rem !important; +} + +.rounded-bottom { + border-bottom-right-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-left { + border-top-left-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} + +.rounded-lg { + border-radius: 0.3rem !important; +} + +.rounded-circle { + border-radius: 50% !important; +} + +.rounded-pill { + border-radius: 50rem !important; +} + +.rounded-0 { + border-radius: 0 !important; +} + +.clearfix::after { + display: block; + clear: both; + content: ""; +} + +.d-none { + display: none !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; +} + +.d-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} + +@media (min-width: 576px) { + .d-sm-none { + display: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 768px) { + .d-md-none { + display: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 992px) { + .d-lg-none { + display: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media (min-width: 1200px) { + .d-xl-none { + display: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +@media print { + .d-print-none { + display: none !important; + } + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -webkit-box !important; + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -webkit-inline-box !important; + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} + +.flex-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; +} + +.flex-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; +} + +.flex-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} + +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} + +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} + +.flex-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; +} + +.flex-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; +} + +.flex-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; +} + +.flex-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; +} + +.flex-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; +} + +.justify-content-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} + +.justify-content-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} + +.justify-content-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; +} + +.justify-content-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} + +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} + +.align-items-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; +} + +.align-items-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; +} + +.align-items-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; +} + +.align-items-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; +} + +.align-items-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; +} + +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} + +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} + +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} + +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} + +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} + +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} + +.align-self-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; +} + +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} + +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} + +.align-self-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; +} + +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} + +.align-self-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; +} + +@media (min-width: 576px) { + .flex-sm-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-sm-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-sm-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-sm-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-sm-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-sm-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-sm-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 768px) { + .flex-md-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-md-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-md-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-md-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-md-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-md-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-md-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-md-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 992px) { + .flex-lg-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-lg-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-lg-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-lg-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-lg-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-lg-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-lg-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +@media (min-width: 1200px) { + .flex-xl-row { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -webkit-box-orient: vertical !important; + -webkit-box-direction: normal !important; + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -webkit-box-orient: horizontal !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -webkit-box-orient: vertical !important; + -webkit-box-direction: reverse !important; + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-xl-fill { + -webkit-box-flex: 1 !important; + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xl-grow-0 { + -webkit-box-flex: 0 !important; + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xl-grow-1 { + -webkit-box-flex: 1 !important; + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-xl-start { + -webkit-box-pack: start !important; + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -webkit-box-pack: end !important; + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -webkit-box-pack: center !important; + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -webkit-box-pack: justify !important; + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-xl-start { + -webkit-box-align: start !important; + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -webkit-box-align: end !important; + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -webkit-box-align: center !important; + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -webkit-box-align: baseline !important; + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -webkit-box-align: stretch !important; + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + -ms-grid-row-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + -ms-grid-row-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + -ms-grid-row-align: stretch !important; + align-self: stretch !important; + } +} + +.float-left { + float: left !important; +} + +.float-right { + float: right !important; +} + +.float-none { + float: none !important; +} + +@media (min-width: 576px) { + .float-sm-left { + float: left !important; + } + .float-sm-right { + float: right !important; + } + .float-sm-none { + float: none !important; + } +} + +@media (min-width: 768px) { + .float-md-left { + float: left !important; + } + .float-md-right { + float: right !important; + } + .float-md-none { + float: none !important; + } +} + +@media (min-width: 992px) { + .float-lg-left { + float: left !important; + } + .float-lg-right { + float: right !important; + } + .float-lg-none { + float: none !important; + } +} + +@media (min-width: 1200px) { + .float-xl-left { + float: left !important; + } + .float-xl-right { + float: right !important; + } + .float-xl-none { + float: none !important; + } +} + +.overflow-auto { + overflow: auto !important; +} + +.overflow-hidden { + overflow: hidden !important; +} + +.position-static { + position: static !important; +} + +.position-relative { + position: relative !important; +} + +.position-absolute { + position: absolute !important; +} + +.position-fixed { + position: fixed !important; +} + +.position-sticky { + position: -webkit-sticky !important; + position: sticky !important; +} + +.fixed-top { + position: fixed; + top: 0; + right: 0; + left: 0; + z-index: 1030; +} + +.fixed-bottom { + position: fixed; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; +} + +@supports ((position: -webkit-sticky) or (position: sticky)) { + .sticky-top { + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1020; + } +} + +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +.sr-only-focusable:active, .sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + overflow: visible; + clip: auto; + white-space: normal; +} + +.w-25 { + width: 25% !important; +} + +.w-50 { + width: 50% !important; +} + +.w-75 { + width: 75% !important; +} + +.w-100 { + width: 100% !important; +} + +.w-auto { + width: auto !important; +} + +.h-25 { + height: 25% !important; +} + +.h-50 { + height: 50% !important; +} + +.h-75 { + height: 75% !important; +} + +.h-100 { + height: 100% !important; +} + +.h-auto { + height: auto !important; +} + +.mw-100 { + max-width: 100% !important; +} + +.mh-100 { + max-height: 100% !important; +} + +.min-vw-100 { + min-width: 100vw !important; +} + +.min-vh-100 { + min-height: 100vh !important; +} + +.vw-100 { + width: 100vw !important; +} + +.vh-100 { + height: 100vh !important; +} + +.stretched-link::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + pointer-events: auto; + content: ""; + background-color: rgba(0, 0, 0, 0); +} + +.m-0 { + margin: 0 !important; +} + +.mt-0, +.my-0 { + margin-top: 0 !important; +} + +.mr-0, +.mx-0 { + margin-right: 0 !important; +} + +.mb-0, +.my-0 { + margin-bottom: 0 !important; +} + +.ml-0, +.mx-0 { + margin-left: 0 !important; +} + +.m-1 { + margin: 0.25rem !important; +} + +.mt-1, +.my-1 { + margin-top: 0.25rem !important; +} + +.mr-1, +.mx-1 { + margin-right: 0.25rem !important; +} + +.mb-1, +.my-1 { + margin-bottom: 0.25rem !important; +} + +.ml-1, +.mx-1 { + margin-left: 0.25rem !important; +} + +.m-2 { + margin: 0.5rem !important; +} + +.mt-2, +.my-2 { + margin-top: 0.5rem !important; +} + +.mr-2, +.mx-2 { + margin-right: 0.5rem !important; +} + +.mb-2, +.my-2 { + margin-bottom: 0.5rem !important; +} + +.ml-2, +.mx-2 { + margin-left: 0.5rem !important; +} + +.m-3 { + margin: 1rem !important; +} + +.mt-3, +.my-3 { + margin-top: 1rem !important; +} + +.mr-3, +.mx-3 { + margin-right: 1rem !important; +} + +.mb-3, +.my-3 { + margin-bottom: 1rem !important; +} + +.ml-3, +.mx-3 { + margin-left: 1rem !important; +} + +.m-4 { + margin: 1.5rem !important; +} + +.mt-4, +.my-4 { + margin-top: 1.5rem !important; +} + +.mr-4, +.mx-4 { + margin-right: 1.5rem !important; +} + +.mb-4, +.my-4 { + margin-bottom: 1.5rem !important; +} + +.ml-4, +.mx-4 { + margin-left: 1.5rem !important; +} + +.m-5 { + margin: 3rem !important; +} + +.mt-5, +.my-5 { + margin-top: 3rem !important; +} + +.mr-5, +.mx-5 { + margin-right: 3rem !important; +} + +.mb-5, +.my-5 { + margin-bottom: 3rem !important; +} + +.ml-5, +.mx-5 { + margin-left: 3rem !important; +} + +.p-0 { + padding: 0 !important; +} + +.pt-0, +.py-0 { + padding-top: 0 !important; +} + +.pr-0, +.px-0 { + padding-right: 0 !important; +} + +.pb-0, +.py-0 { + padding-bottom: 0 !important; +} + +.pl-0, +.px-0 { + padding-left: 0 !important; +} + +.p-1 { + padding: 0.25rem !important; +} + +.pt-1, +.py-1 { + padding-top: 0.25rem !important; +} + +.pr-1, +.px-1 { + padding-right: 0.25rem !important; +} + +.pb-1, +.py-1 { + padding-bottom: 0.25rem !important; +} + +.pl-1, +.px-1 { + padding-left: 0.25rem !important; +} + +.p-2 { + padding: 0.5rem !important; +} + +.pt-2, +.py-2 { + padding-top: 0.5rem !important; +} + +.pr-2, +.px-2 { + padding-right: 0.5rem !important; +} + +.pb-2, +.py-2 { + padding-bottom: 0.5rem !important; +} + +.pl-2, +.px-2 { + padding-left: 0.5rem !important; +} + +.p-3 { + padding: 1rem !important; +} + +.pt-3, +.py-3 { + padding-top: 1rem !important; +} + +.pr-3, +.px-3 { + padding-right: 1rem !important; +} + +.pb-3, +.py-3 { + padding-bottom: 1rem !important; +} + +.pl-3, +.px-3 { + padding-left: 1rem !important; +} + +.p-4 { + padding: 1.5rem !important; +} + +.pt-4, +.py-4 { + padding-top: 1.5rem !important; +} + +.pr-4, +.px-4 { + padding-right: 1.5rem !important; +} + +.pb-4, +.py-4 { + padding-bottom: 1.5rem !important; +} + +.pl-4, +.px-4 { + padding-left: 1.5rem !important; +} + +.p-5 { + padding: 3rem !important; +} + +.pt-5, +.py-5 { + padding-top: 3rem !important; +} + +.pr-5, +.px-5 { + padding-right: 3rem !important; +} + +.pb-5, +.py-5 { + padding-bottom: 3rem !important; +} + +.pl-5, +.px-5 { + padding-left: 3rem !important; +} + +.m-n1 { + margin: -0.25rem !important; +} + +.mt-n1, +.my-n1 { + margin-top: -0.25rem !important; +} + +.mr-n1, +.mx-n1 { + margin-right: -0.25rem !important; +} + +.mb-n1, +.my-n1 { + margin-bottom: -0.25rem !important; +} + +.ml-n1, +.mx-n1 { + margin-left: -0.25rem !important; +} + +.m-n2 { + margin: -0.5rem !important; +} + +.mt-n2, +.my-n2 { + margin-top: -0.5rem !important; +} + +.mr-n2, +.mx-n2 { + margin-right: -0.5rem !important; +} + +.mb-n2, +.my-n2 { + margin-bottom: -0.5rem !important; +} + +.ml-n2, +.mx-n2 { + margin-left: -0.5rem !important; +} + +.m-n3 { + margin: -1rem !important; +} + +.mt-n3, +.my-n3 { + margin-top: -1rem !important; +} + +.mr-n3, +.mx-n3 { + margin-right: -1rem !important; +} + +.mb-n3, +.my-n3 { + margin-bottom: -1rem !important; +} + +.ml-n3, +.mx-n3 { + margin-left: -1rem !important; +} + +.m-n4 { + margin: -1.5rem !important; +} + +.mt-n4, +.my-n4 { + margin-top: -1.5rem !important; +} + +.mr-n4, +.mx-n4 { + margin-right: -1.5rem !important; +} + +.mb-n4, +.my-n4 { + margin-bottom: -1.5rem !important; +} + +.ml-n4, +.mx-n4 { + margin-left: -1.5rem !important; +} + +.m-n5 { + margin: -3rem !important; +} + +.mt-n5, +.my-n5 { + margin-top: -3rem !important; +} + +.mr-n5, +.mx-n5 { + margin-right: -3rem !important; +} + +.mb-n5, +.my-n5 { + margin-bottom: -3rem !important; +} + +.ml-n5, +.mx-n5 { + margin-left: -3rem !important; +} + +.m-auto { + margin: auto !important; +} + +.mt-auto, +.my-auto { + margin-top: auto !important; +} + +.mr-auto, +.mx-auto { + margin-right: auto !important; +} + +.mb-auto, +.my-auto { + margin-bottom: auto !important; +} + +.ml-auto, +.mx-auto { + margin-left: auto !important; +} + +@media (min-width: 576px) { + .m-sm-0 { + margin: 0 !important; + } + .mt-sm-0, + .my-sm-0 { + margin-top: 0 !important; + } + .mr-sm-0, + .mx-sm-0 { + margin-right: 0 !important; + } + .mb-sm-0, + .my-sm-0 { + margin-bottom: 0 !important; + } + .ml-sm-0, + .mx-sm-0 { + margin-left: 0 !important; + } + .m-sm-1 { + margin: 0.25rem !important; + } + .mt-sm-1, + .my-sm-1 { + margin-top: 0.25rem !important; + } + .mr-sm-1, + .mx-sm-1 { + margin-right: 0.25rem !important; + } + .mb-sm-1, + .my-sm-1 { + margin-bottom: 0.25rem !important; + } + .ml-sm-1, + .mx-sm-1 { + margin-left: 0.25rem !important; + } + .m-sm-2 { + margin: 0.5rem !important; + } + .mt-sm-2, + .my-sm-2 { + margin-top: 0.5rem !important; + } + .mr-sm-2, + .mx-sm-2 { + margin-right: 0.5rem !important; + } + .mb-sm-2, + .my-sm-2 { + margin-bottom: 0.5rem !important; + } + .ml-sm-2, + .mx-sm-2 { + margin-left: 0.5rem !important; + } + .m-sm-3 { + margin: 1rem !important; + } + .mt-sm-3, + .my-sm-3 { + margin-top: 1rem !important; + } + .mr-sm-3, + .mx-sm-3 { + margin-right: 1rem !important; + } + .mb-sm-3, + .my-sm-3 { + margin-bottom: 1rem !important; + } + .ml-sm-3, + .mx-sm-3 { + margin-left: 1rem !important; + } + .m-sm-4 { + margin: 1.5rem !important; + } + .mt-sm-4, + .my-sm-4 { + margin-top: 1.5rem !important; + } + .mr-sm-4, + .mx-sm-4 { + margin-right: 1.5rem !important; + } + .mb-sm-4, + .my-sm-4 { + margin-bottom: 1.5rem !important; + } + .ml-sm-4, + .mx-sm-4 { + margin-left: 1.5rem !important; + } + .m-sm-5 { + margin: 3rem !important; + } + .mt-sm-5, + .my-sm-5 { + margin-top: 3rem !important; + } + .mr-sm-5, + .mx-sm-5 { + margin-right: 3rem !important; + } + .mb-sm-5, + .my-sm-5 { + margin-bottom: 3rem !important; + } + .ml-sm-5, + .mx-sm-5 { + margin-left: 3rem !important; + } + .p-sm-0 { + padding: 0 !important; + } + .pt-sm-0, + .py-sm-0 { + padding-top: 0 !important; + } + .pr-sm-0, + .px-sm-0 { + padding-right: 0 !important; + } + .pb-sm-0, + .py-sm-0 { + padding-bottom: 0 !important; + } + .pl-sm-0, + .px-sm-0 { + padding-left: 0 !important; + } + .p-sm-1 { + padding: 0.25rem !important; + } + .pt-sm-1, + .py-sm-1 { + padding-top: 0.25rem !important; + } + .pr-sm-1, + .px-sm-1 { + padding-right: 0.25rem !important; + } + .pb-sm-1, + .py-sm-1 { + padding-bottom: 0.25rem !important; + } + .pl-sm-1, + .px-sm-1 { + padding-left: 0.25rem !important; + } + .p-sm-2 { + padding: 0.5rem !important; + } + .pt-sm-2, + .py-sm-2 { + padding-top: 0.5rem !important; + } + .pr-sm-2, + .px-sm-2 { + padding-right: 0.5rem !important; + } + .pb-sm-2, + .py-sm-2 { + padding-bottom: 0.5rem !important; + } + .pl-sm-2, + .px-sm-2 { + padding-left: 0.5rem !important; + } + .p-sm-3 { + padding: 1rem !important; + } + .pt-sm-3, + .py-sm-3 { + padding-top: 1rem !important; + } + .pr-sm-3, + .px-sm-3 { + padding-right: 1rem !important; + } + .pb-sm-3, + .py-sm-3 { + padding-bottom: 1rem !important; + } + .pl-sm-3, + .px-sm-3 { + padding-left: 1rem !important; + } + .p-sm-4 { + padding: 1.5rem !important; + } + .pt-sm-4, + .py-sm-4 { + padding-top: 1.5rem !important; + } + .pr-sm-4, + .px-sm-4 { + padding-right: 1.5rem !important; + } + .pb-sm-4, + .py-sm-4 { + padding-bottom: 1.5rem !important; + } + .pl-sm-4, + .px-sm-4 { + padding-left: 1.5rem !important; + } + .p-sm-5 { + padding: 3rem !important; + } + .pt-sm-5, + .py-sm-5 { + padding-top: 3rem !important; + } + .pr-sm-5, + .px-sm-5 { + padding-right: 3rem !important; + } + .pb-sm-5, + .py-sm-5 { + padding-bottom: 3rem !important; + } + .pl-sm-5, + .px-sm-5 { + padding-left: 3rem !important; + } + .m-sm-n1 { + margin: -0.25rem !important; + } + .mt-sm-n1, + .my-sm-n1 { + margin-top: -0.25rem !important; + } + .mr-sm-n1, + .mx-sm-n1 { + margin-right: -0.25rem !important; + } + .mb-sm-n1, + .my-sm-n1 { + margin-bottom: -0.25rem !important; + } + .ml-sm-n1, + .mx-sm-n1 { + margin-left: -0.25rem !important; + } + .m-sm-n2 { + margin: -0.5rem !important; + } + .mt-sm-n2, + .my-sm-n2 { + margin-top: -0.5rem !important; + } + .mr-sm-n2, + .mx-sm-n2 { + margin-right: -0.5rem !important; + } + .mb-sm-n2, + .my-sm-n2 { + margin-bottom: -0.5rem !important; + } + .ml-sm-n2, + .mx-sm-n2 { + margin-left: -0.5rem !important; + } + .m-sm-n3 { + margin: -1rem !important; + } + .mt-sm-n3, + .my-sm-n3 { + margin-top: -1rem !important; + } + .mr-sm-n3, + .mx-sm-n3 { + margin-right: -1rem !important; + } + .mb-sm-n3, + .my-sm-n3 { + margin-bottom: -1rem !important; + } + .ml-sm-n3, + .mx-sm-n3 { + margin-left: -1rem !important; + } + .m-sm-n4 { + margin: -1.5rem !important; + } + .mt-sm-n4, + .my-sm-n4 { + margin-top: -1.5rem !important; + } + .mr-sm-n4, + .mx-sm-n4 { + margin-right: -1.5rem !important; + } + .mb-sm-n4, + .my-sm-n4 { + margin-bottom: -1.5rem !important; + } + .ml-sm-n4, + .mx-sm-n4 { + margin-left: -1.5rem !important; + } + .m-sm-n5 { + margin: -3rem !important; + } + .mt-sm-n5, + .my-sm-n5 { + margin-top: -3rem !important; + } + .mr-sm-n5, + .mx-sm-n5 { + margin-right: -3rem !important; + } + .mb-sm-n5, + .my-sm-n5 { + margin-bottom: -3rem !important; + } + .ml-sm-n5, + .mx-sm-n5 { + margin-left: -3rem !important; + } + .m-sm-auto { + margin: auto !important; + } + .mt-sm-auto, + .my-sm-auto { + margin-top: auto !important; + } + .mr-sm-auto, + .mx-sm-auto { + margin-right: auto !important; + } + .mb-sm-auto, + .my-sm-auto { + margin-bottom: auto !important; + } + .ml-sm-auto, + .mx-sm-auto { + margin-left: auto !important; + } +} + +@media (min-width: 768px) { + .m-md-0 { + margin: 0 !important; + } + .mt-md-0, + .my-md-0 { + margin-top: 0 !important; + } + .mr-md-0, + .mx-md-0 { + margin-right: 0 !important; + } + .mb-md-0, + .my-md-0 { + margin-bottom: 0 !important; + } + .ml-md-0, + .mx-md-0 { + margin-left: 0 !important; + } + .m-md-1 { + margin: 0.25rem !important; + } + .mt-md-1, + .my-md-1 { + margin-top: 0.25rem !important; + } + .mr-md-1, + .mx-md-1 { + margin-right: 0.25rem !important; + } + .mb-md-1, + .my-md-1 { + margin-bottom: 0.25rem !important; + } + .ml-md-1, + .mx-md-1 { + margin-left: 0.25rem !important; + } + .m-md-2 { + margin: 0.5rem !important; + } + .mt-md-2, + .my-md-2 { + margin-top: 0.5rem !important; + } + .mr-md-2, + .mx-md-2 { + margin-right: 0.5rem !important; + } + .mb-md-2, + .my-md-2 { + margin-bottom: 0.5rem !important; + } + .ml-md-2, + .mx-md-2 { + margin-left: 0.5rem !important; + } + .m-md-3 { + margin: 1rem !important; + } + .mt-md-3, + .my-md-3 { + margin-top: 1rem !important; + } + .mr-md-3, + .mx-md-3 { + margin-right: 1rem !important; + } + .mb-md-3, + .my-md-3 { + margin-bottom: 1rem !important; + } + .ml-md-3, + .mx-md-3 { + margin-left: 1rem !important; + } + .m-md-4 { + margin: 1.5rem !important; + } + .mt-md-4, + .my-md-4 { + margin-top: 1.5rem !important; + } + .mr-md-4, + .mx-md-4 { + margin-right: 1.5rem !important; + } + .mb-md-4, + .my-md-4 { + margin-bottom: 1.5rem !important; + } + .ml-md-4, + .mx-md-4 { + margin-left: 1.5rem !important; + } + .m-md-5 { + margin: 3rem !important; + } + .mt-md-5, + .my-md-5 { + margin-top: 3rem !important; + } + .mr-md-5, + .mx-md-5 { + margin-right: 3rem !important; + } + .mb-md-5, + .my-md-5 { + margin-bottom: 3rem !important; + } + .ml-md-5, + .mx-md-5 { + margin-left: 3rem !important; + } + .p-md-0 { + padding: 0 !important; + } + .pt-md-0, + .py-md-0 { + padding-top: 0 !important; + } + .pr-md-0, + .px-md-0 { + padding-right: 0 !important; + } + .pb-md-0, + .py-md-0 { + padding-bottom: 0 !important; + } + .pl-md-0, + .px-md-0 { + padding-left: 0 !important; + } + .p-md-1 { + padding: 0.25rem !important; + } + .pt-md-1, + .py-md-1 { + padding-top: 0.25rem !important; + } + .pr-md-1, + .px-md-1 { + padding-right: 0.25rem !important; + } + .pb-md-1, + .py-md-1 { + padding-bottom: 0.25rem !important; + } + .pl-md-1, + .px-md-1 { + padding-left: 0.25rem !important; + } + .p-md-2 { + padding: 0.5rem !important; + } + .pt-md-2, + .py-md-2 { + padding-top: 0.5rem !important; + } + .pr-md-2, + .px-md-2 { + padding-right: 0.5rem !important; + } + .pb-md-2, + .py-md-2 { + padding-bottom: 0.5rem !important; + } + .pl-md-2, + .px-md-2 { + padding-left: 0.5rem !important; + } + .p-md-3 { + padding: 1rem !important; + } + .pt-md-3, + .py-md-3 { + padding-top: 1rem !important; + } + .pr-md-3, + .px-md-3 { + padding-right: 1rem !important; + } + .pb-md-3, + .py-md-3 { + padding-bottom: 1rem !important; + } + .pl-md-3, + .px-md-3 { + padding-left: 1rem !important; + } + .p-md-4 { + padding: 1.5rem !important; + } + .pt-md-4, + .py-md-4 { + padding-top: 1.5rem !important; + } + .pr-md-4, + .px-md-4 { + padding-right: 1.5rem !important; + } + .pb-md-4, + .py-md-4 { + padding-bottom: 1.5rem !important; + } + .pl-md-4, + .px-md-4 { + padding-left: 1.5rem !important; + } + .p-md-5 { + padding: 3rem !important; + } + .pt-md-5, + .py-md-5 { + padding-top: 3rem !important; + } + .pr-md-5, + .px-md-5 { + padding-right: 3rem !important; + } + .pb-md-5, + .py-md-5 { + padding-bottom: 3rem !important; + } + .pl-md-5, + .px-md-5 { + padding-left: 3rem !important; + } + .m-md-n1 { + margin: -0.25rem !important; + } + .mt-md-n1, + .my-md-n1 { + margin-top: -0.25rem !important; + } + .mr-md-n1, + .mx-md-n1 { + margin-right: -0.25rem !important; + } + .mb-md-n1, + .my-md-n1 { + margin-bottom: -0.25rem !important; + } + .ml-md-n1, + .mx-md-n1 { + margin-left: -0.25rem !important; + } + .m-md-n2 { + margin: -0.5rem !important; + } + .mt-md-n2, + .my-md-n2 { + margin-top: -0.5rem !important; + } + .mr-md-n2, + .mx-md-n2 { + margin-right: -0.5rem !important; + } + .mb-md-n2, + .my-md-n2 { + margin-bottom: -0.5rem !important; + } + .ml-md-n2, + .mx-md-n2 { + margin-left: -0.5rem !important; + } + .m-md-n3 { + margin: -1rem !important; + } + .mt-md-n3, + .my-md-n3 { + margin-top: -1rem !important; + } + .mr-md-n3, + .mx-md-n3 { + margin-right: -1rem !important; + } + .mb-md-n3, + .my-md-n3 { + margin-bottom: -1rem !important; + } + .ml-md-n3, + .mx-md-n3 { + margin-left: -1rem !important; + } + .m-md-n4 { + margin: -1.5rem !important; + } + .mt-md-n4, + .my-md-n4 { + margin-top: -1.5rem !important; + } + .mr-md-n4, + .mx-md-n4 { + margin-right: -1.5rem !important; + } + .mb-md-n4, + .my-md-n4 { + margin-bottom: -1.5rem !important; + } + .ml-md-n4, + .mx-md-n4 { + margin-left: -1.5rem !important; + } + .m-md-n5 { + margin: -3rem !important; + } + .mt-md-n5, + .my-md-n5 { + margin-top: -3rem !important; + } + .mr-md-n5, + .mx-md-n5 { + margin-right: -3rem !important; + } + .mb-md-n5, + .my-md-n5 { + margin-bottom: -3rem !important; + } + .ml-md-n5, + .mx-md-n5 { + margin-left: -3rem !important; + } + .m-md-auto { + margin: auto !important; + } + .mt-md-auto, + .my-md-auto { + margin-top: auto !important; + } + .mr-md-auto, + .mx-md-auto { + margin-right: auto !important; + } + .mb-md-auto, + .my-md-auto { + margin-bottom: auto !important; + } + .ml-md-auto, + .mx-md-auto { + margin-left: auto !important; + } +} + +@media (min-width: 992px) { + .m-lg-0 { + margin: 0 !important; + } + .mt-lg-0, + .my-lg-0 { + margin-top: 0 !important; + } + .mr-lg-0, + .mx-lg-0 { + margin-right: 0 !important; + } + .mb-lg-0, + .my-lg-0 { + margin-bottom: 0 !important; + } + .ml-lg-0, + .mx-lg-0 { + margin-left: 0 !important; + } + .m-lg-1 { + margin: 0.25rem !important; + } + .mt-lg-1, + .my-lg-1 { + margin-top: 0.25rem !important; + } + .mr-lg-1, + .mx-lg-1 { + margin-right: 0.25rem !important; + } + .mb-lg-1, + .my-lg-1 { + margin-bottom: 0.25rem !important; + } + .ml-lg-1, + .mx-lg-1 { + margin-left: 0.25rem !important; + } + .m-lg-2 { + margin: 0.5rem !important; + } + .mt-lg-2, + .my-lg-2 { + margin-top: 0.5rem !important; + } + .mr-lg-2, + .mx-lg-2 { + margin-right: 0.5rem !important; + } + .mb-lg-2, + .my-lg-2 { + margin-bottom: 0.5rem !important; + } + .ml-lg-2, + .mx-lg-2 { + margin-left: 0.5rem !important; + } + .m-lg-3 { + margin: 1rem !important; + } + .mt-lg-3, + .my-lg-3 { + margin-top: 1rem !important; + } + .mr-lg-3, + .mx-lg-3 { + margin-right: 1rem !important; + } + .mb-lg-3, + .my-lg-3 { + margin-bottom: 1rem !important; + } + .ml-lg-3, + .mx-lg-3 { + margin-left: 1rem !important; + } + .m-lg-4 { + margin: 1.5rem !important; + } + .mt-lg-4, + .my-lg-4 { + margin-top: 1.5rem !important; + } + .mr-lg-4, + .mx-lg-4 { + margin-right: 1.5rem !important; + } + .mb-lg-4, + .my-lg-4 { + margin-bottom: 1.5rem !important; + } + .ml-lg-4, + .mx-lg-4 { + margin-left: 1.5rem !important; + } + .m-lg-5 { + margin: 3rem !important; + } + .mt-lg-5, + .my-lg-5 { + margin-top: 3rem !important; + } + .mr-lg-5, + .mx-lg-5 { + margin-right: 3rem !important; + } + .mb-lg-5, + .my-lg-5 { + margin-bottom: 3rem !important; + } + .ml-lg-5, + .mx-lg-5 { + margin-left: 3rem !important; + } + .p-lg-0 { + padding: 0 !important; + } + .pt-lg-0, + .py-lg-0 { + padding-top: 0 !important; + } + .pr-lg-0, + .px-lg-0 { + padding-right: 0 !important; + } + .pb-lg-0, + .py-lg-0 { + padding-bottom: 0 !important; + } + .pl-lg-0, + .px-lg-0 { + padding-left: 0 !important; + } + .p-lg-1 { + padding: 0.25rem !important; + } + .pt-lg-1, + .py-lg-1 { + padding-top: 0.25rem !important; + } + .pr-lg-1, + .px-lg-1 { + padding-right: 0.25rem !important; + } + .pb-lg-1, + .py-lg-1 { + padding-bottom: 0.25rem !important; + } + .pl-lg-1, + .px-lg-1 { + padding-left: 0.25rem !important; + } + .p-lg-2 { + padding: 0.5rem !important; + } + .pt-lg-2, + .py-lg-2 { + padding-top: 0.5rem !important; + } + .pr-lg-2, + .px-lg-2 { + padding-right: 0.5rem !important; + } + .pb-lg-2, + .py-lg-2 { + padding-bottom: 0.5rem !important; + } + .pl-lg-2, + .px-lg-2 { + padding-left: 0.5rem !important; + } + .p-lg-3 { + padding: 1rem !important; + } + .pt-lg-3, + .py-lg-3 { + padding-top: 1rem !important; + } + .pr-lg-3, + .px-lg-3 { + padding-right: 1rem !important; + } + .pb-lg-3, + .py-lg-3 { + padding-bottom: 1rem !important; + } + .pl-lg-3, + .px-lg-3 { + padding-left: 1rem !important; + } + .p-lg-4 { + padding: 1.5rem !important; + } + .pt-lg-4, + .py-lg-4 { + padding-top: 1.5rem !important; + } + .pr-lg-4, + .px-lg-4 { + padding-right: 1.5rem !important; + } + .pb-lg-4, + .py-lg-4 { + padding-bottom: 1.5rem !important; + } + .pl-lg-4, + .px-lg-4 { + padding-left: 1.5rem !important; + } + .p-lg-5 { + padding: 3rem !important; + } + .pt-lg-5, + .py-lg-5 { + padding-top: 3rem !important; + } + .pr-lg-5, + .px-lg-5 { + padding-right: 3rem !important; + } + .pb-lg-5, + .py-lg-5 { + padding-bottom: 3rem !important; + } + .pl-lg-5, + .px-lg-5 { + padding-left: 3rem !important; + } + .m-lg-n1 { + margin: -0.25rem !important; + } + .mt-lg-n1, + .my-lg-n1 { + margin-top: -0.25rem !important; + } + .mr-lg-n1, + .mx-lg-n1 { + margin-right: -0.25rem !important; + } + .mb-lg-n1, + .my-lg-n1 { + margin-bottom: -0.25rem !important; + } + .ml-lg-n1, + .mx-lg-n1 { + margin-left: -0.25rem !important; + } + .m-lg-n2 { + margin: -0.5rem !important; + } + .mt-lg-n2, + .my-lg-n2 { + margin-top: -0.5rem !important; + } + .mr-lg-n2, + .mx-lg-n2 { + margin-right: -0.5rem !important; + } + .mb-lg-n2, + .my-lg-n2 { + margin-bottom: -0.5rem !important; + } + .ml-lg-n2, + .mx-lg-n2 { + margin-left: -0.5rem !important; + } + .m-lg-n3 { + margin: -1rem !important; + } + .mt-lg-n3, + .my-lg-n3 { + margin-top: -1rem !important; + } + .mr-lg-n3, + .mx-lg-n3 { + margin-right: -1rem !important; + } + .mb-lg-n3, + .my-lg-n3 { + margin-bottom: -1rem !important; + } + .ml-lg-n3, + .mx-lg-n3 { + margin-left: -1rem !important; + } + .m-lg-n4 { + margin: -1.5rem !important; + } + .mt-lg-n4, + .my-lg-n4 { + margin-top: -1.5rem !important; + } + .mr-lg-n4, + .mx-lg-n4 { + margin-right: -1.5rem !important; + } + .mb-lg-n4, + .my-lg-n4 { + margin-bottom: -1.5rem !important; + } + .ml-lg-n4, + .mx-lg-n4 { + margin-left: -1.5rem !important; + } + .m-lg-n5 { + margin: -3rem !important; + } + .mt-lg-n5, + .my-lg-n5 { + margin-top: -3rem !important; + } + .mr-lg-n5, + .mx-lg-n5 { + margin-right: -3rem !important; + } + .mb-lg-n5, + .my-lg-n5 { + margin-bottom: -3rem !important; + } + .ml-lg-n5, + .mx-lg-n5 { + margin-left: -3rem !important; + } + .m-lg-auto { + margin: auto !important; + } + .mt-lg-auto, + .my-lg-auto { + margin-top: auto !important; + } + .mr-lg-auto, + .mx-lg-auto { + margin-right: auto !important; + } + .mb-lg-auto, + .my-lg-auto { + margin-bottom: auto !important; + } + .ml-lg-auto, + .mx-lg-auto { + margin-left: auto !important; + } +} + +@media (min-width: 1200px) { + .m-xl-0 { + margin: 0 !important; + } + .mt-xl-0, + .my-xl-0 { + margin-top: 0 !important; + } + .mr-xl-0, + .mx-xl-0 { + margin-right: 0 !important; + } + .mb-xl-0, + .my-xl-0 { + margin-bottom: 0 !important; + } + .ml-xl-0, + .mx-xl-0 { + margin-left: 0 !important; + } + .m-xl-1 { + margin: 0.25rem !important; + } + .mt-xl-1, + .my-xl-1 { + margin-top: 0.25rem !important; + } + .mr-xl-1, + .mx-xl-1 { + margin-right: 0.25rem !important; + } + .mb-xl-1, + .my-xl-1 { + margin-bottom: 0.25rem !important; + } + .ml-xl-1, + .mx-xl-1 { + margin-left: 0.25rem !important; + } + .m-xl-2 { + margin: 0.5rem !important; + } + .mt-xl-2, + .my-xl-2 { + margin-top: 0.5rem !important; + } + .mr-xl-2, + .mx-xl-2 { + margin-right: 0.5rem !important; + } + .mb-xl-2, + .my-xl-2 { + margin-bottom: 0.5rem !important; + } + .ml-xl-2, + .mx-xl-2 { + margin-left: 0.5rem !important; + } + .m-xl-3 { + margin: 1rem !important; + } + .mt-xl-3, + .my-xl-3 { + margin-top: 1rem !important; + } + .mr-xl-3, + .mx-xl-3 { + margin-right: 1rem !important; + } + .mb-xl-3, + .my-xl-3 { + margin-bottom: 1rem !important; + } + .ml-xl-3, + .mx-xl-3 { + margin-left: 1rem !important; + } + .m-xl-4 { + margin: 1.5rem !important; + } + .mt-xl-4, + .my-xl-4 { + margin-top: 1.5rem !important; + } + .mr-xl-4, + .mx-xl-4 { + margin-right: 1.5rem !important; + } + .mb-xl-4, + .my-xl-4 { + margin-bottom: 1.5rem !important; + } + .ml-xl-4, + .mx-xl-4 { + margin-left: 1.5rem !important; + } + .m-xl-5 { + margin: 3rem !important; + } + .mt-xl-5, + .my-xl-5 { + margin-top: 3rem !important; + } + .mr-xl-5, + .mx-xl-5 { + margin-right: 3rem !important; + } + .mb-xl-5, + .my-xl-5 { + margin-bottom: 3rem !important; + } + .ml-xl-5, + .mx-xl-5 { + margin-left: 3rem !important; + } + .p-xl-0 { + padding: 0 !important; + } + .pt-xl-0, + .py-xl-0 { + padding-top: 0 !important; + } + .pr-xl-0, + .px-xl-0 { + padding-right: 0 !important; + } + .pb-xl-0, + .py-xl-0 { + padding-bottom: 0 !important; + } + .pl-xl-0, + .px-xl-0 { + padding-left: 0 !important; + } + .p-xl-1 { + padding: 0.25rem !important; + } + .pt-xl-1, + .py-xl-1 { + padding-top: 0.25rem !important; + } + .pr-xl-1, + .px-xl-1 { + padding-right: 0.25rem !important; + } + .pb-xl-1, + .py-xl-1 { + padding-bottom: 0.25rem !important; + } + .pl-xl-1, + .px-xl-1 { + padding-left: 0.25rem !important; + } + .p-xl-2 { + padding: 0.5rem !important; + } + .pt-xl-2, + .py-xl-2 { + padding-top: 0.5rem !important; + } + .pr-xl-2, + .px-xl-2 { + padding-right: 0.5rem !important; + } + .pb-xl-2, + .py-xl-2 { + padding-bottom: 0.5rem !important; + } + .pl-xl-2, + .px-xl-2 { + padding-left: 0.5rem !important; + } + .p-xl-3 { + padding: 1rem !important; + } + .pt-xl-3, + .py-xl-3 { + padding-top: 1rem !important; + } + .pr-xl-3, + .px-xl-3 { + padding-right: 1rem !important; + } + .pb-xl-3, + .py-xl-3 { + padding-bottom: 1rem !important; + } + .pl-xl-3, + .px-xl-3 { + padding-left: 1rem !important; + } + .p-xl-4 { + padding: 1.5rem !important; + } + .pt-xl-4, + .py-xl-4 { + padding-top: 1.5rem !important; + } + .pr-xl-4, + .px-xl-4 { + padding-right: 1.5rem !important; + } + .pb-xl-4, + .py-xl-4 { + padding-bottom: 1.5rem !important; + } + .pl-xl-4, + .px-xl-4 { + padding-left: 1.5rem !important; + } + .p-xl-5 { + padding: 3rem !important; + } + .pt-xl-5, + .py-xl-5 { + padding-top: 3rem !important; + } + .pr-xl-5, + .px-xl-5 { + padding-right: 3rem !important; + } + .pb-xl-5, + .py-xl-5 { + padding-bottom: 3rem !important; + } + .pl-xl-5, + .px-xl-5 { + padding-left: 3rem !important; + } + .m-xl-n1 { + margin: -0.25rem !important; + } + .mt-xl-n1, + .my-xl-n1 { + margin-top: -0.25rem !important; + } + .mr-xl-n1, + .mx-xl-n1 { + margin-right: -0.25rem !important; + } + .mb-xl-n1, + .my-xl-n1 { + margin-bottom: -0.25rem !important; + } + .ml-xl-n1, + .mx-xl-n1 { + margin-left: -0.25rem !important; + } + .m-xl-n2 { + margin: -0.5rem !important; + } + .mt-xl-n2, + .my-xl-n2 { + margin-top: -0.5rem !important; + } + .mr-xl-n2, + .mx-xl-n2 { + margin-right: -0.5rem !important; + } + .mb-xl-n2, + .my-xl-n2 { + margin-bottom: -0.5rem !important; + } + .ml-xl-n2, + .mx-xl-n2 { + margin-left: -0.5rem !important; + } + .m-xl-n3 { + margin: -1rem !important; + } + .mt-xl-n3, + .my-xl-n3 { + margin-top: -1rem !important; + } + .mr-xl-n3, + .mx-xl-n3 { + margin-right: -1rem !important; + } + .mb-xl-n3, + .my-xl-n3 { + margin-bottom: -1rem !important; + } + .ml-xl-n3, + .mx-xl-n3 { + margin-left: -1rem !important; + } + .m-xl-n4 { + margin: -1.5rem !important; + } + .mt-xl-n4, + .my-xl-n4 { + margin-top: -1.5rem !important; + } + .mr-xl-n4, + .mx-xl-n4 { + margin-right: -1.5rem !important; + } + .mb-xl-n4, + .my-xl-n4 { + margin-bottom: -1.5rem !important; + } + .ml-xl-n4, + .mx-xl-n4 { + margin-left: -1.5rem !important; + } + .m-xl-n5 { + margin: -3rem !important; + } + .mt-xl-n5, + .my-xl-n5 { + margin-top: -3rem !important; + } + .mr-xl-n5, + .mx-xl-n5 { + margin-right: -3rem !important; + } + .mb-xl-n5, + .my-xl-n5 { + margin-bottom: -3rem !important; + } + .ml-xl-n5, + .mx-xl-n5 { + margin-left: -3rem !important; + } + .m-xl-auto { + margin: auto !important; + } + .mt-xl-auto, + .my-xl-auto { + margin-top: auto !important; + } + .mr-xl-auto, + .mx-xl-auto { + margin-right: auto !important; + } + .mb-xl-auto, + .my-xl-auto { + margin-bottom: auto !important; + } + .ml-xl-auto, + .mx-xl-auto { + margin-left: auto !important; + } +} + +.text-monospace { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important; +} + +.text-justify { + text-align: justify !important; +} + +.text-wrap { + white-space: normal !important; +} + +.text-nowrap { + white-space: nowrap !important; +} + +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.text-left { + text-align: left !important; +} + +.text-right { + text-align: right !important; +} + +.text-center { + text-align: center !important; +} + +@media (min-width: 576px) { + .text-sm-left { + text-align: left !important; + } + .text-sm-right { + text-align: right !important; + } + .text-sm-center { + text-align: center !important; + } +} + +@media (min-width: 768px) { + .text-md-left { + text-align: left !important; + } + .text-md-right { + text-align: right !important; + } + .text-md-center { + text-align: center !important; + } +} + +@media (min-width: 992px) { + .text-lg-left { + text-align: left !important; + } + .text-lg-right { + text-align: right !important; + } + .text-lg-center { + text-align: center !important; + } +} + +@media (min-width: 1200px) { + .text-xl-left { + text-align: left !important; + } + .text-xl-right { + text-align: right !important; + } + .text-xl-center { + text-align: center !important; + } +} + +.text-lowercase { + text-transform: lowercase !important; +} + +.text-uppercase { + text-transform: uppercase !important; +} + +.text-capitalize { + text-transform: capitalize !important; +} + +.font-weight-light { + font-weight: 300 !important; +} + +.font-weight-lighter { + font-weight: lighter !important; +} + +.font-weight-normal { + font-weight: 400 !important; +} + +.font-weight-bold { + font-weight: 700 !important; +} + +.font-weight-bolder { + font-weight: bolder !important; +} + +.font-italic { + font-style: italic !important; +} + +.text-white { + color: #fff !important; +} + +.text-primary { + color: #007bff !important; +} + +a.text-primary:hover, a.text-primary:focus { + color: #0056b3 !important; +} + +.text-secondary { + color: #6c757d !important; +} + +a.text-secondary:hover, a.text-secondary:focus { + color: #494f54 !important; +} + +.text-success { + color: #28a745 !important; +} + +a.text-success:hover, a.text-success:focus { + color: #19692c !important; +} + +.text-info { + color: #17a2b8 !important; +} + +a.text-info:hover, a.text-info:focus { + color: #0f6674 !important; +} + +.text-warning { + color: #ffc107 !important; +} + +a.text-warning:hover, a.text-warning:focus { + color: #ba8b00 !important; +} + +.text-danger { + color: #dc3545 !important; +} + +a.text-danger:hover, a.text-danger:focus { + color: #a71d2a !important; +} + +.text-light { + color: #f8f9fa !important; +} + +a.text-light:hover, a.text-light:focus { + color: #cbd3da !important; +} + +.text-dark { + color: #343a40 !important; +} + +a.text-dark:hover, a.text-dark:focus { + color: #121416 !important; +} + +.text-body { + color: #212529 !important; +} + +.text-muted { + color: #6c757d !important; +} + +.text-black-50 { + color: rgba(0, 0, 0, 0.5) !important; +} + +.text-white-50 { + color: rgba(255, 255, 255, 0.5) !important; +} + +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.text-decoration-none { + text-decoration: none !important; +} + +.text-break { + word-break: break-word !important; + overflow-wrap: break-word !important; +} + +.text-reset { + color: inherit !important; +} + +.visible { + visibility: visible !important; +} + +.invisible { + visibility: hidden !important; +} + +@media print { + *, + *::before, + *::after { + text-shadow: none !important; + -webkit-box-shadow: none !important; + box-shadow: none !important; + } + a:not(.btn) { + text-decoration: underline; + } + abbr[title]::after { + content: " (" attr(title) ")"; + } + pre { + white-space: pre-wrap !important; + } + pre, + blockquote { + border: 1px solid #adb5bd; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + @page { + size: a3; + } + body { + min-width: 992px !important; + } + .container { + min-width: 992px !important; + } + .navbar { + display: none; + } + .badge { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #dee2e6 !important; + } + .table-dark { + color: inherit; + } + .table-dark th, + .table-dark td, + .table-dark thead th, + .table-dark tbody + tbody { + border-color: #dee2e6; + } + .table .thead-dark th { + color: inherit; + border-color: #dee2e6; + } +} diff --git a/css/datatables.min.css b/css/datatables.min.css new file mode 100644 index 0000000..2307e0f --- /dev/null +++ b/css/datatables.min.css @@ -0,0 +1,36 @@ +/* + * This combined file was created by the DataTables downloader builder: + * https://datatables.net/download + * + * To rebuild or modify this file with the latest versions of the included + * software please visit: + * https://datatables.net/download/#dt/jszip-2.5.0/dt-1.10.25/b-1.7.1/b-colvis-1.7.1/b-html5-1.7.1/date-1.1.0/fc-3.3.3/fh-3.1.9/sc-2.0.4/sb-1.1.0/sp-1.3.0 + * + * Included libraries: + * JSZip 2.5.0, DataTables 1.10.25, Buttons 1.7.1, Column visibility 1.7.1, HTML5 export 1.7.1, DateTime 1.1.0, FixedColumns 3.3.3, FixedHeader 3.1.9, Scroller 2.0.4, SearchBuilder 1.1.0, SearchPanes 1.3.0 + */ + +table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;*cursor:hand;background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("/images/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("/images/sort_asc.png") !important}table.dataTable thead .sorting_desc{background-image:url("/images/sort_desc.png") !important}table.dataTable thead .sorting_asc_disabled{background-image:url("/images/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("/images/sort_desc_disabled.png")}table.dataTable tbody tr{background-color:#fff}table.dataTable tbody tr.selected{background-color:#b0bed9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}table.dataTable.row-border tbody th,table.dataTable.row-border tbody td,table.dataTable.display tbody th,table.dataTable.display tbody td{border-top:1px solid #ddd}table.dataTable.row-border tbody tr:first-child th,table.dataTable.row-border tbody tr:first-child td,table.dataTable.display tbody tr:first-child th,table.dataTable.display tbody tr:first-child td{border-top:none}table.dataTable.cell-border tbody th,table.dataTable.cell-border tbody td{border-top:1px solid #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}table.dataTable.cell-border tbody tr:first-child th,table.dataTable.cell-border tbody tr:first-child td{border-top:none}table.dataTable.stripe tbody tr.odd,table.dataTable.display tbody tr.odd{background-color:#f9f9f9}table.dataTable.stripe tbody tr.odd.selected,table.dataTable.display tbody tr.odd.selected{background-color:#acbad4}table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6}table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1}table.dataTable.order-column tbody tr>.sorting_1,table.dataTable.order-column tbody tr>.sorting_2,table.dataTable.order-column tbody tr>.sorting_3,table.dataTable.display tbody tr>.sorting_1,table.dataTable.display tbody tr>.sorting_2,table.dataTable.display tbody tr>.sorting_3{background-color:#fafafa}table.dataTable.order-column tbody tr.selected>.sorting_1,table.dataTable.order-column tbody tr.selected>.sorting_2,table.dataTable.order-column tbody tr.selected>.sorting_3,table.dataTable.display tbody tr.selected>.sorting_1,table.dataTable.display tbody tr.selected>.sorting_2,table.dataTable.display tbody tr.selected>.sorting_3{background-color:#acbad5}table.dataTable.display tbody tr.odd>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd>.sorting_1{background-color:#f1f1f1}table.dataTable.display tbody tr.odd>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd>.sorting_2{background-color:#f3f3f3}table.dataTable.display tbody tr.odd>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd>.sorting_3{background-color:whitesmoke}table.dataTable.display tbody tr.odd.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1{background-color:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}table.dataTable.display tbody tr.even.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3{background-color:#afbdd8}table.dataTable.display tbody tr:hover>.sorting_1,table.dataTable.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{box-sizing:content-box}.dataTables_wrapper{position:relative;clear:both;*zoom:1;zoom:1}.dataTables_wrapper .dataTables_length{float:left}.dataTables_wrapper .dataTables_length select{border:1px solid #aaa;border-radius:3px;padding:5px;background-color:transparent;padding:4px}.dataTables_wrapper .dataTables_filter{float:right;text-align:right}.dataTables_wrapper .dataTables_filter input{border:1px solid #aaa;border-radius:3px;padding:5px;background-color:transparent;margin-left:3px}.dataTables_wrapper .dataTables_info{clear:both;float:left;padding-top:.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, white 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, white 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, white 0%, #dcdcdc 100%);background:-o-linear-gradient(top, white 0%, #dcdcdc 100%);background:linear-gradient(to bottom, white 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.dataTables_wrapper .dataTables_processing{position:absolute;top:50%;left:50%;width:100%;height:40px;margin-left:-50%;margin-top:-25px;padding-top:20px;text-align:center;font-size:1.2em;background-color:white;background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));background:-webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:-moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:-ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:-o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,.dataTables_wrapper.no-footer div.dataTables_scrollBody>table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:.5em}} + + +@keyframes dtb-spinner{100%{transform:rotate(360deg)}}@-o-keyframes dtb-spinner{100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes dtb-spinner{100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dtb-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dtb-spinner{100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}div.dt-button-info{position:fixed;top:50%;left:50%;width:400px;margin-top:-100px;margin-left:-200px;background-color:white;border:2px solid #111;box-shadow:3px 3px 8px rgba(0, 0, 0, 0.3);border-radius:3px;text-align:center;z-index:21}div.dt-button-info h2{padding:.5em;margin:0;font-weight:normal;border-bottom:1px solid #ddd;background-color:#f3f3f3}div.dt-button-info>div{padding:1em}div.dt-button-collection-title{text-align:center;padding:.3em 0 .5em;font-size:.9em}div.dt-button-collection-title:empty{display:none}button.dt-button,div.dt-button,a.dt-button,input.dt-button{position:relative;display:inline-block;box-sizing:border-box;margin-right:.333em;margin-bottom:.333em;padding:.5em 1em;border:1px solid rgba(0, 0, 0, 0.3);border-radius:2px;cursor:pointer;font-size:.88em;line-height:1.6em;color:black;white-space:nowrap;overflow:hidden;background-color:rgba(0, 0, 0, 0.1);background:-webkit-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-moz-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-ms-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-o-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:linear-gradient(to bottom, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr="rgba(230, 230, 230, 0.1)", EndColorStr="rgba(0, 0, 0, 0.1)");-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;outline:none;text-overflow:ellipsis}button.dt-button.disabled,div.dt-button.disabled,a.dt-button.disabled,input.dt-button.disabled{cursor:default;opacity:.4}button.dt-button:active:not(.disabled),button.dt-button.active:not(.disabled),div.dt-button:active:not(.disabled),div.dt-button.active:not(.disabled),a.dt-button:active:not(.disabled),a.dt-button.active:not(.disabled),input.dt-button:active:not(.disabled),input.dt-button.active:not(.disabled){background-color:rgba(0, 0, 0, 0.1);background:-webkit-linear-gradient(top, rgba(179, 179, 179, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-moz-linear-gradient(top, rgba(179, 179, 179, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-ms-linear-gradient(top, rgba(179, 179, 179, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-o-linear-gradient(top, rgba(179, 179, 179, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:linear-gradient(to bottom, rgba(179, 179, 179, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr="rgba(179, 179, 179, 0.1)", EndColorStr="rgba(0, 0, 0, 0.1)");box-shadow:inset 1px 1px 3px #999}button.dt-button:active:not(.disabled):hover:not(.disabled),button.dt-button.active:not(.disabled):hover:not(.disabled),div.dt-button:active:not(.disabled):hover:not(.disabled),div.dt-button.active:not(.disabled):hover:not(.disabled),a.dt-button:active:not(.disabled):hover:not(.disabled),a.dt-button.active:not(.disabled):hover:not(.disabled),input.dt-button:active:not(.disabled):hover:not(.disabled),input.dt-button.active:not(.disabled):hover:not(.disabled){box-shadow:inset 1px 1px 3px #999;background-color:rgba(0, 0, 0, 0.1);background:-webkit-linear-gradient(top, rgba(128, 128, 128, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-moz-linear-gradient(top, rgba(128, 128, 128, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-ms-linear-gradient(top, rgba(128, 128, 128, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-o-linear-gradient(top, rgba(128, 128, 128, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:linear-gradient(to bottom, rgba(128, 128, 128, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr="rgba(128, 128, 128, 0.1)", EndColorStr="rgba(0, 0, 0, 0.1)")}button.dt-button:hover,div.dt-button:hover,a.dt-button:hover,input.dt-button:hover{text-decoration:none}button.dt-button:hover:not(.disabled),div.dt-button:hover:not(.disabled),a.dt-button:hover:not(.disabled),input.dt-button:hover:not(.disabled){border:1px solid #666;background-color:rgba(0, 0, 0, 0.1);background:-webkit-linear-gradient(top, rgba(153, 153, 153, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-moz-linear-gradient(top, rgba(153, 153, 153, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-ms-linear-gradient(top, rgba(153, 153, 153, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-o-linear-gradient(top, rgba(153, 153, 153, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:linear-gradient(to bottom, rgba(153, 153, 153, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr="rgba(153, 153, 153, 0.1)", EndColorStr="rgba(0, 0, 0, 0.1)")}button.dt-button:focus:not(.disabled),div.dt-button:focus:not(.disabled),a.dt-button:focus:not(.disabled),input.dt-button:focus:not(.disabled){border:1px solid #426c9e;text-shadow:0 1px 0 #c4def1;outline:none;background-color:#79ace9;background:-webkit-linear-gradient(top, #d1e2f7 0%, #79ace9 100%);background:-moz-linear-gradient(top, #d1e2f7 0%, #79ace9 100%);background:-ms-linear-gradient(top, #d1e2f7 0%, #79ace9 100%);background:-o-linear-gradient(top, #d1e2f7 0%, #79ace9 100%);background:linear-gradient(to bottom, #d1e2f7 0%, #79ace9 100%);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr="#d1e2f7", EndColorStr="#79ace9")}.dt-button embed{outline:none}div.dt-buttons{position:relative;float:left}div.dt-buttons.buttons-right{float:right}div.dataTables_layout_cell div.dt-buttons{float:none}div.dataTables_layout_cell div.dt-buttons.buttons-right{float:none}div.dt-button-collection{position:absolute;top:0;left:0;width:150px;margin-top:3px;padding:8px 8px 4px 8px;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.4);background-color:white;overflow:hidden;z-index:2002;border-radius:5px;box-shadow:3px 3px 5px rgba(0, 0, 0, 0.3);box-sizing:border-box}div.dt-button-collection button.dt-button,div.dt-button-collection div.dt-button,div.dt-button-collection a.dt-button{position:relative;left:0;right:0;width:100%;display:block;float:none;margin-bottom:4px;margin-right:0}div.dt-button-collection button.dt-button:active:not(.disabled),div.dt-button-collection button.dt-button.active:not(.disabled),div.dt-button-collection div.dt-button:active:not(.disabled),div.dt-button-collection div.dt-button.active:not(.disabled),div.dt-button-collection a.dt-button:active:not(.disabled),div.dt-button-collection a.dt-button.active:not(.disabled){background-color:#dadada;background:-webkit-linear-gradient(top, #f0f0f0 0%, #dadada 100%);background:-moz-linear-gradient(top, #f0f0f0 0%, #dadada 100%);background:-ms-linear-gradient(top, #f0f0f0 0%, #dadada 100%);background:-o-linear-gradient(top, #f0f0f0 0%, #dadada 100%);background:linear-gradient(to bottom, #f0f0f0 0%, #dadada 100%);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr="#f0f0f0", EndColorStr="#dadada");box-shadow:inset 1px 1px 3px #666}div.dt-button-collection.fixed{position:fixed;top:50%;left:50%;margin-left:-75px;border-radius:0}div.dt-button-collection.fixed.two-column{margin-left:-200px}div.dt-button-collection.fixed.three-column{margin-left:-225px}div.dt-button-collection.fixed.four-column{margin-left:-300px}div.dt-button-collection>:last-child{display:block !important;-webkit-column-gap:8px;-moz-column-gap:8px;-ms-column-gap:8px;-o-column-gap:8px;column-gap:8px}div.dt-button-collection>:last-child>*{-webkit-column-break-inside:avoid;break-inside:avoid}div.dt-button-collection.two-column{width:400px}div.dt-button-collection.two-column>:last-child{padding-bottom:1px;-webkit-column-count:2;-moz-column-count:2;-ms-column-count:2;-o-column-count:2;column-count:2}div.dt-button-collection.three-column{width:450px}div.dt-button-collection.three-column>:last-child{padding-bottom:1px;-webkit-column-count:3;-moz-column-count:3;-ms-column-count:3;-o-column-count:3;column-count:3}div.dt-button-collection.four-column{width:600px}div.dt-button-collection.four-column>:last-child{padding-bottom:1px;-webkit-column-count:4;-moz-column-count:4;-ms-column-count:4;-o-column-count:4;column-count:4}div.dt-button-collection .dt-button{border-radius:0}div.dt-button-background{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);background:-ms-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);background:-moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);background:-o-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);background:-webkit-gradient(radial, center center, 0, center center, 497, color-stop(0, rgba(0, 0, 0, 0.3)), color-stop(1, rgba(0, 0, 0, 0.7)));background:-webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);background:radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);z-index:2001}@media screen and (max-width: 640px){div.dt-buttons{float:none !important;text-align:center}}button.dt-button.processing,div.dt-button.processing,a.dt-button.processing{color:rgba(0, 0, 0, 0.2)}button.dt-button.processing:after,div.dt-button.processing:after,a.dt-button.processing:after{position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;box-sizing:border-box;display:block;content:" ";border:2px solid #282828;border-radius:50%;border-left-color:transparent;border-right-color:transparent;animation:dtb-spinner 1500ms infinite linear;-o-animation:dtb-spinner 1500ms infinite linear;-ms-animation:dtb-spinner 1500ms infinite linear;-webkit-animation:dtb-spinner 1500ms infinite linear;-moz-animation:dtb-spinner 1500ms infinite linear} + + +div.dt-datetime{position:absolute;background-color:white;z-index:2050;border:1px solid #ccc;box-shadow:0 5px 15px -5px rgba(0, 0, 0, 0.5);padding:0 20px 6px 20px;width:275px}div.dt-datetime.inline{position:relative;box-shadow:none}div.dt-datetime div.dt-datetime-title{text-align:center;padding:5px 0px 3px}div.dt-datetime div.dt-datetime-buttons{text-align:center}div.dt-datetime div.dt-datetime-buttons a{display:inline-block;padding:0 .5em .5em .5em;margin:0;font-size:.9em}div.dt-datetime div.dt-datetime-buttons a:hover{text-decoration:underline}div.dt-datetime table{border-spacing:0;margin:12px 0;width:100%}div.dt-datetime table.dt-datetime-table-nospace{margin-top:-12px}div.dt-datetime table th{font-size:.8em;color:#777;font-weight:normal;width:14.285714286%;padding:0 0 4px 0;text-align:center}div.dt-datetime table td{font-size:.9em;color:#444;padding:0}div.dt-datetime table td.selectable{text-align:center;background:#f5f5f5}div.dt-datetime table td.selectable.disabled{color:#aaa;background:white}div.dt-datetime table td.selectable.disabled button:hover{color:#aaa;background:white}div.dt-datetime table td.selectable.now{background-color:#ddd}div.dt-datetime table td.selectable.now button{font-weight:bold}div.dt-datetime table td.selectable.selected button{background:#4e6ca3;color:white;border-radius:2px}div.dt-datetime table td.selectable button:hover{background:#ff8000;color:white;border-radius:2px}div.dt-datetime table td.dt-datetime-week{font-size:.7em}div.dt-datetime table button{width:100%;box-sizing:border-box;border:none;background:transparent;font-size:inherit;color:inherit;text-align:center;padding:4px 0;cursor:pointer;margin:0}div.dt-datetime table button span{display:inline-block;min-width:14px;text-align:right}div.dt-datetime table.weekNumber th{width:12.5%}div.dt-datetime div.dt-datetime-calendar table{margin-top:0}div.dt-datetime div.dt-datetime-label{position:relative;display:inline-block;height:30px;padding:5px 6px;border:1px solid transparent;box-sizing:border-box;cursor:pointer}div.dt-datetime div.dt-datetime-label:hover{border:1px solid #ddd;border-radius:2px;background-color:#f5f5f5}div.dt-datetime div.dt-datetime-label select{position:absolute;top:6px;left:0;cursor:pointer;opacity:0}div.dt-datetime.horizontal{width:550px}div.dt-datetime.horizontal div.dt-datetime-date,div.dt-datetime.horizontal div.dt-datetime-time{width:48%}div.dt-datetime.horizontal div.dt-datetime-time{margin-left:4%}div.dt-datetime div.dt-datetime-date{position:relative;float:left;width:100%}div.dt-datetime div.dt-datetime-time{position:relative;float:left;width:100%;text-align:center}div.dt-datetime div.dt-datetime-time>span{vertical-align:middle}div.dt-datetime div.dt-datetime-time th{text-align:left}div.dt-datetime div.dt-datetime-time div.dt-datetime-timeblock{display:inline-block;vertical-align:middle}div.dt-datetime div.dt-datetime-iconLeft,div.dt-datetime div.dt-datetime-iconRight,div.dt-datetime div.dt-datetime-iconUp,div.dt-datetime div.dt-datetime-iconDown{width:30px;height:30px;background-position:center;background-repeat:no-repeat;opacity:.3;overflow:hidden;box-sizing:border-box}div.dt-datetime div.dt-datetime-iconLeft:hover,div.dt-datetime div.dt-datetime-iconRight:hover,div.dt-datetime div.dt-datetime-iconUp:hover,div.dt-datetime div.dt-datetime-iconDown:hover{border:1px solid #ccc;border-radius:2px;background-color:#f0f0f0;opacity:.6}div.dt-datetime div.dt-datetime-iconLeft button,div.dt-datetime div.dt-datetime-iconRight button,div.dt-datetime div.dt-datetime-iconUp button,div.dt-datetime div.dt-datetime-iconDown button{border:none;background:transparent;text-indent:30px;height:100%;width:100%;cursor:pointer}div.dt-datetime div.dt-datetime-iconLeft{position:absolute;top:5px;left:5px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==")}div.dt-datetime div.dt-datetime-iconRight{position:absolute;top:5px;right:5px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=")}div.dt-datetime div.dt-datetime-iconUp{height:20px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAALCAMAAABf9c24AAAAFVBMVEX///99fX1+fn57e3t6enoAAAAAAAC73bqPAAAABnRSTlMAYmJkZt92bnysAAAAL0lEQVR4AWOgJmBhxCvLyopHnpmVjY2VCadeoCxIHrcsWJ4RlyxCHlMWCTBRJxwAjrIBDMWSiM0AAAAASUVORK5CYII=")}div.dt-datetime div.dt-datetime-iconDown{height:20px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAALCAMAAABf9c24AAAAFVBMVEX///99fX1+fn57e3t6enoAAAAAAAC73bqPAAAABnRSTlMAYmJkZt92bnysAAAAMElEQVR4AWOgDmBiRQIsmPKMrGxQgJDFlEfIYpoPk8Utz8qM232MYFfhkQfKUg8AANefAQxecJ58AAAAAElFTkSuQmCC")}div.dt-datetime-error{clear:both;padding:0 1em;max-width:240px;font-size:11px;line-height:1.25em;text-align:center;color:#b11f1f} + + +table.DTFC_Cloned thead,table.DTFC_Cloned tfoot{background-color:white}div.DTFC_Blocker{background-color:white}div.DTFC_LeftWrapper table.dataTable,div.DTFC_RightWrapper table.dataTable{margin-bottom:0;z-index:2}div.DTFC_LeftWrapper table.dataTable.no-footer,div.DTFC_RightWrapper table.dataTable.no-footer{border-bottom:none}table.dataTable.display tbody tr.DTFC_NoData{background-color:transparent} + + +table.fixedHeader-floating{position:fixed !important;background-color:white}table.fixedHeader-floating.no-footer{border-bottom-width:0}table.fixedHeader-locked{position:absolute !important;background-color:white}@media print{table.fixedHeader-floating{display:none}} + + +div.dts{display:block !important}div.dts tbody th,div.dts tbody td{white-space:nowrap}div.dts div.dts_loading{z-index:1}div.dts div.dts_label{position:absolute;right:10px;background:rgba(0, 0, 0, 0.8);color:white;box-shadow:3px 3px 10px rgba(0, 0, 0, 0.5);text-align:right;border-radius:3px;padding:.4em;z-index:2;display:none}div.dts div.dataTables_scrollBody{background:repeating-linear-gradient(45deg, #edeeff, #edeeff 10px, white 10px, white 20px)}div.dts div.dataTables_scrollBody table{z-index:2}div.dts div.dataTables_paginate,div.dts div.dataTables_length{display:none} + + +div.dt-button-collection{overflow:visible !important}div.dt-button-collection div.dtsb-searchBuilder{width:100% !important}.dtsb-greyscale{border:1px solid #cecece !important}div.dtsb-logicContainer .dtsb-greyscale{border:none !important}div.dtsb-searchBuilder{justify-content:space-evenly;cursor:default;margin-bottom:1em;text-align:left}div.dtsb-searchBuilder button.dtsb-button,div.dtsb-searchBuilder select{font-size:1em}div.dtsb-searchBuilder div.dtsb-titleRow{justify-content:space-evenly;margin-bottom:.5em}div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title{display:inline-block;padding-top:6px}div.dtsb-searchBuilder div.dtsb-titleRow button.dtsb-clearAll{float:right;margin-bottom:.333em}div.dtsb-searchBuilder div.dtsb-vertical .dtsb-value,div.dtsb-searchBuilder div.dtsb-vertical .dtsb-data,div.dtsb-searchBuilder div.dtsb-vertical .dtsb-condition{display:block}div.dtsb-searchBuilder div.dtsb-group{position:relative;clear:both;margin-bottom:.8em}div.dtsb-searchBuilder div.dtsb-group button.dtsb-clearGroup{margin:2px;text-align:center;padding:0}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);position:absolute;margin-top:.8em;margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria{margin-bottom:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{padding:.4em;margin-right:.8em;max-width:20em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown option.dtsb-notItalic,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input option.dtsb-notItalic{font-style:normal}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-italic{font-style:italic}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer{float:right;display:inline-block}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-delete,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-right,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-left{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-delete:last-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-right:last-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-left:last-child{margin-right:0}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria span.dtsp-joiner{margin-right:.8em}div.dtsb-searchBuilder button,div.dtsb-searchBuilder select,div.dtsb-searchBuilder input{background-color:#f9f9f9}div.dtsb-searchBuilder button.dtsb-button{position:relative;display:inline-block;box-sizing:border-box;padding:.5em 1em;border:1px solid rgba(0, 0, 0, 0.3);border-radius:2px;cursor:pointer;font-size:.88em;line-height:1.6em;color:black;white-space:nowrap;overflow:hidden;background-color:rgba(0, 0, 0, 0.1);background:linear-gradient(to bottom, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;outline:none;text-overflow:ellipsis}div.dtsb-searchBuilder button.dtsb-button:hover{background-color:#cecece !important;cursor:pointer}div.dtsb-searchBuilder div.dtsb-logicContainer{border:1px solid rgba(0, 0, 0, 0.3);background-color:rgba(0, 0, 0, 0.1);background:linear-gradient(to right, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%)}div.dtsb-searchBuilder div.dtsb-logicContainer button{border:1px solid transparent;background:transparent}div.dtsb-searchBuilder button.dtsb-clearGroup{min-width:2em;padding:0}div.dtsb-searchBuilder button.dtsb-iptbtn{min-width:100px;text-align:left}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer{border:1px solid;border-color:#cecece;border-radius:3px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-logic{border:none;border-radius:0px;flex-grow:1;flex-shrink:0;flex-basis:3em;margin:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-clearGroup{border:none;border-radius:0px;width:2em;margin:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{border:1px solid;border-radius:3px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-condition{border-color:#48b13c}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-data{border-color:#e70f00}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-value,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-value{border-color:#0069ba}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-condition option.dtsb-option,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-data option.dtsb-option,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-value option.dtsb-option{background-color:white} + + +div.dtsp-topRow{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-content:flex-start;align-items:flex-start}div.dtsp-topRow input.dtsp-search{text-overflow:ellipsis;min-width:50px;flex-basis:90px;max-width:none}div.dtsp-topRow input.dtsp-search::placeholder{color:black}div.dtsp-topRow div.dtsp-subRow1{display:flex;flex-direction:row;flex-wrap:nowrap;flex:1 1 auto}div.dtsp-topRow div.dtsp-subRow1 div.dtsp-searchCont{position:relative;width:100%}div.dtsp-topRow div.dtsp-subRow1 input{padding-right:2em;width:100% !important;box-sizing:border-box;font-size:1em}div.dtsp-topRow div.dtsp-subRow1 button.dtsp-searchIcon{position:absolute;top:0;right:0;bottom:0;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAABbmlDQ1BpY2MAACiRdZE7SwNBFIU/EyWikRRaiFhsoWKhEBREO42FTZAQFYza7G5eQhKX3QQJtoKNhWAh2vgq/AfaCrYKgqAIIhb+Al+NhPVOEkiQZJbZ+3FmzmXmDHjCGTPrtAYhm8vb0bmQthxb0Xzv+PHRxRSabjrWTCQSpun4eaRF1YdR1av5voajM55wTGhpF54wLTsvPC0c3sxbineFe8y0Hhc+ER6x5YDCt0o3KvymOFXhL8X2YnQWPKqnlqpjo47NtJ0VHhYeyGYKZvU86ib+RG5pQWqfzH4coswRQsOgwDoZ8oxKzUlmjX3Bsm+eDfGY8rcoYosjRVq8I6IWpGtCalL0hHwZiir3/3k6yfGxSnd/CNpeXfdzEHz7UNpz3d9T1y2dgfcFrnM1/4bkNPkt+l5NGziGwDZc3tQ04wCudqD32dJtvSx5ZXqSSfi4gK4YdN9Dx2olq+o650+wuCVPdAeHRzAk+wNrfw8JaBFXEnV+AAAACXBIWXMAAA9hAAAPYQGoP6dpAAABMUlEQVQoU6XRr0vDQRjH8akoM4iIjqGoOIZ5oIjB5XWxajaYDGLSIhhNYjcPRDSJwbQNw+L+BNGgYYo/5pT5/shz8vDlBgMPXux7z3N3z+25VOofYyCyd4ZYCavI4gXPsRp9LqiDdrEMH+8wv8Vh8gBfWclFPOEUN3hAHjlMoRa7wTzBS5xgKLFglPkZLjDic6HyDsEMNvGR2Nxifoci3tEI+X770JU0XmPXIlax+LTPh83fFox1X6kxyzdjm9UcdXi9S+Vti6svfyNULhNR9TVsYNhW6Ff9KKCNR7/Zv6eeaQ+6+qcdpu9BqGlp1HFgud+FYdzzUcUExu0Q/cdzHGEFetIlXKPjK/sbqYoOftMiS+j9jzEJPd1Wt+5+kdR/9EM9ucIC5jCbyPc01Q32kfsBppYz3hYFcCwAAAAASUVORK5CYII=");background-repeat:no-repeat;background-position:center;background-size:12px}div.dtsp-topRow div.dtsp-subRow2{white-space:nowrap;flex:0 0 auto}div.dtsp-topRow button.dtsp-nameButton{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAABcGlDQ1BpY2MAACiRdZHNSwJBGMYftTDS8FCHkA57sOigIAXRMQzyYh3UIKvL7rirwe66zK6IdA26dBA6RF36OvQf1DXoWhAERRAR9B/0dQnZ3nEFJXSG2ffHs/O8zDwD+DM6M+yBJGCYDs+mU9JaYV0KviNMM4QoEjKzreXcUh59x88jfKI+JESv/vt6jlBRtRngGyKeYxZ3iBeIMzXHErxHPMbKcpH4hDjO6YDEt0JXPH4TXPL4SzDPZxcBv+gplbpY6WJW5gbxNHHM0KusfR5xk7BqruaoRmlNwEYWaaQgQUEVW9DhIEHVpMx6+5It3woq5GH0tVAHJ0cJZfLGSa1SV5WqRrpKU0dd5P4/T1ubnfG6h1PA4Kvrfk4CwX2g2XDd31PXbZ4BgRfg2uz4K5TT/DfpjY4WOwYiO8DlTUdTDoCrXWD82ZK53JICtPyaBnxcACMFYPQeGN7wsmr/x/kTkN+mJ7oDDo+AKdof2fwDCBRoDkL8UccAAAAJcEhZcwAAD2EAAA9hAag/p2kAAAK2SURBVFgJ7ZY9j41BFICvryCExrJBQ6HyEYVEIREaUZDQIRoR2ViJKCioxV+gkVXYTVZEQiEUhG2EQnxUCh0FKolY4ut5XnM2cyfva3Pt5m7EPcmzZ2bemTNnzjkzd1utnvQi0IvAfxiBy5z5FoxO89kPY+8mbMjtzs47RXs5/WVpbAG6bWExt5PuIibvhVkwmC+ck3eK9ln6/fAddFojYzBVuYSBpcnIEvRaqOw2RcaN18FPuJH0JvRUxbT3wWf4ltiKPgfVidWlbGZgPozDFfgAC+EA/K2EI4cwcAJ+gPaeQ+VQU2SOMMGcPgPl/m/V2p50rrbRsRgt9Iv5h6xtpP22Bz7Ce1C+gFFxfKzOmShcU+Qmyh2w3w8rIJfddHTck66EukL/xPhj+JM8rHNmFys0Pg4v0up3aFNlwR9NYyodd3OL/C64zpsymcTFcf6ElM4YzjAWKYrJkaq8kE/yUYNP4BoYvS1QRo+hNtF5xfkTUjoTheukSFFMjlTFm6PjceOca/SMpKfeCR1L6Uzk/y2WIkVhNFJlJAZhP+hYns7b9D3IPuhY5mYrIv8OrQJvR5NYyNaW4jsU8pSGNySiVx4o5tXq3JkoXE/mg5R/M8dGJCJpKhaDcjBRdbI/Rm8g69c122om33BHmj2CHoV5qa9jUXBraJ+G1fAVjIBO1klc87ro1K4JZ/K35SWW3TwcyDd6TecqnAEd8cGq2+w84xvBm1n3vS0izKkkwh5XNC/GmFPqqAtPF89AOScKuemaNzoTV1SD5dtSbmLf1/RV+tC0WTgcj6R7HEtrVGWaqu/lYDZ/2pvxQ/kIyw/gFByHC9AHw910hv1aUUumyd8yy0QfhmEkfiNod0Xusct68J1qc8Tdux0Z97Q+hsDb+AYGYEbF/4Guw2Q/qDPqZG/zXgT+3Qj8AtKnfWhFwmuAAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-position:center;background-size:23px;vertical-align:bottom}div.dtsp-topRow button.dtsp-countButton{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAABcGlDQ1BpY2MAACiRdZHNSwJBGMYftTDS8FCHkA57sOigIAXRMQzyYh3UIKvL7rirwe66zK6IdA26dBA6RF36OvQf1DXoWhAERRAR9B/0dQnZ3nEFJXSG2ffHs/O8zDwD+DM6M+yBJGCYDs+mU9JaYV0KviNMM4QoEjKzreXcUh59x88jfKI+JESv/vt6jlBRtRngGyKeYxZ3iBeIMzXHErxHPMbKcpH4hDjO6YDEt0JXPH4TXPL4SzDPZxcBv+gplbpY6WJW5gbxNHHM0KusfR5xk7BqruaoRmlNwEYWaaQgQUEVW9DhIEHVpMx6+5It3woq5GH0tVAHJ0cJZfLGSa1SV5WqRrpKU0dd5P4/T1ubnfG6h1PA4Kvrfk4CwX2g2XDd31PXbZ4BgRfg2uz4K5TT/DfpjY4WOwYiO8DlTUdTDoCrXWD82ZK53JICtPyaBnxcACMFYPQeGN7wsmr/x/kTkN+mJ7oDDo+AKdof2fwDCBRoDkL8UccAAAAJcEhZcwAAD2EAAA9hAag/p2kAAAG5SURBVEgN3VU9LwVBFF0fiYhofUSlEQkKhU7z/oBCQkIiGr9BgUbhVzy9BAnhFyjV/AYFiU5ICM7ZN+c5Zud5dm3lJmfmzrkz9+7cu3c3y/6jjOBSF8CxXS7FmTkbwqIJjDpJvTcmsJ4K3KPZUpyZsx0sxoB9J6mnAkyC7wGuuCFIipNtEcpcWExgXpOBc78vgj6N+QO4NVsjwdFM59tUIDxDrHMBOeIQ34C5ZDregXuAQm4YcI68nN9B3wr2PcwPAIPkN2EqtJH6b+QZm1ajjTx7BqwAr26Lb+C2Kvpbt0Mb2HAJ7NrGFGfmXO3DeA4UshDfQAVmH0gaUFg852TTTDvlxwBlCtxy9zXyBhQFaq0wMmIdRebrfgosA3zb2hKnqG0oqchp4QbuR8X0TjzABhbdOT8jnQ/atcgqpnfwOA7yqZyTU587ZkIGdesLTt2EkynOnbreMUUKMI/dA4B/QVOcO13CQh+5wWCgDwo/75u59odB/wjmfhbgvACcAOyZPHihMWAoIwxyCLgf1oxfgjzVbgBXSTzIN+f0pg6s5DkcesLMRpsBrgE2XO3CN64JFP7JtUeKHX4CKtRRXFZ+7dEAAAAASUVORK5CYII=");background-repeat:no-repeat;background-position:center;background-size:18px;vertical-align:bottom}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane table thead th,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane table thead td{width:100% !important}div.dt-button-collection{z-index:2002}div.dtsp-columns-1{max-width:100%;margin:0px !important}div.dtsp-columns-2{max-width:49%;margin:0px !important}div.dtsp-columns-3{max-width:32%;margin:0px !important}div.dtsp-columns-4{max-width:24%;margin:0px !important}div.dtsp-columns-5{max-width:19%;margin:0px !important}div.dtsp-columns-6{max-width:16%;margin:0px !important}div.dtsp-columns-7{max-width:14%;margin:0px !important}div.dtsp-columns-8{min-width:12%;margin:0px !important}div.dtsp-columns-9{max-width:10.5%;margin:0px !important}div.dt-button-collection{float:none}div.dtsp-panesContainer{margin-bottom:1em}div.dtsp-panesContainer div.dataTables_wrapper{width:100%}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_layout_cell{padding:0}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollHead{display:none !important}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody{background:white !important;border-bottom:none}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody thead{display:none}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody table{table-layout:fixed}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody table tr>th,div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody table tr>td{padding:5px 10px}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody td.dtsp-nameColumn{width:100% !important}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont{width:100%;display:flex;flex-direction:row;justify-content:flex-start;align-content:flex-start;align-items:flex-start}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-name{text-overflow:ellipsis;overflow:hidden;display:inline-block;vertical-align:middle;white-space:nowrap;flex-grow:1}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill{display:inline-block;background-color:#cfcfcf;text-align:center;border:1px solid #cfcfcf;border-radius:10px;width:auto;min-width:30px;color:black;font-size:.9em;padding:0 4px}div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill:empty{display:none}div.dtsp-panesContainer{clear:both;padding-left:0;padding-right:0;text-align:center}div.dtsp-panesContainer div.dtsp-searchPanes{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-content:flex-start;align-items:stretch;clear:both;text-align:left}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane{flex-grow:1;flex-shrink:0;font-size:.9em}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper{flex:1;box-sizing:border-box}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper div.dataTables_filter{display:none}div.dtsp-panesContainer div.dtsp-title{float:left;padding:10px 0}div.dtsp-panesContainer button.dtsp-clearAll{float:right;padding:10px;font-size:1em}div.dtsp-hidden{display:none !important}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper{border:2px solid #f0f0f0;border-radius:4px}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper:hover{border:2px solid #cfcfcf}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dtsp-selected{border:2px solid #3276b1;border-radius:4px}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dtsp-selected:hover{border:2px solid #286092}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dtsp-topRow div.dtsp-searchCont input.dtsp-search{border:none;padding-left:3px}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane input.dtsp-paneInputButton,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton{height:35px;width:35px;min-width:0;display:inline-block;margin:2px;border:0px solid transparent;background-color:transparent;margin-bottom:0px}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane input.dtsp-paneInputButton:hover,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton:hover{background-color:#f0f0f0;border-radius:2px;cursor:pointer}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton{opacity:.6}div.dtsp-panesContainer button.dtsp-clearAll{border:1px solid transparent;background-color:transparent}div.dtsp-panesContainer button.dtsp-clearAll:hover{background-color:#f0f0f0;border-radius:2px;cursor:pointer}div.dtsp-panesContainer button.dtsp-disabledButton{cursor:default !important;color:#7c7c7c}div.dtsp-panesContainer button.dtsp-disabledButton:hover{background-color:transparent}div.dtsp-panesContainer button.dtsp-disabledButton:focus{outline:none}div.dtsp-narrow{flex-direction:column !important}div.dtsp-narrow div.dtsp-subRows{width:100%;text-align:right}@media screen and (max-width: 767px){div.dtsp-columns-4,div.dtsp-columns-5,div.dtsp-columns-6{max-width:31% !important;min-width:31% !important}}@media screen and (max-width: 640px){div.dtsp-searchPanes{flex-direction:column !important}div.dtsp-searchPane{max-width:98% !important;min-width:98% !important}} + + diff --git a/css/font/S-CoreDream_woff/S-CoreDream-1.woff b/css/font/S-CoreDream_woff/S-CoreDream-1.woff new file mode 100644 index 0000000..91a6d2f Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-1.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-2.woff b/css/font/S-CoreDream_woff/S-CoreDream-2.woff new file mode 100644 index 0000000..8cd8393 Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-2.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-3.woff b/css/font/S-CoreDream_woff/S-CoreDream-3.woff new file mode 100644 index 0000000..9185e46 Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-3.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-4.woff b/css/font/S-CoreDream_woff/S-CoreDream-4.woff new file mode 100644 index 0000000..8e6607e Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-4.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-5.woff b/css/font/S-CoreDream_woff/S-CoreDream-5.woff new file mode 100644 index 0000000..93f1283 Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-5.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-6.woff b/css/font/S-CoreDream_woff/S-CoreDream-6.woff new file mode 100644 index 0000000..0129984 Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-6.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-7.woff b/css/font/S-CoreDream_woff/S-CoreDream-7.woff new file mode 100644 index 0000000..f6b2637 Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-7.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-8.woff b/css/font/S-CoreDream_woff/S-CoreDream-8.woff new file mode 100644 index 0000000..7fc9399 Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-8.woff differ diff --git a/css/font/S-CoreDream_woff/S-CoreDream-9.woff b/css/font/S-CoreDream_woff/S-CoreDream-9.woff new file mode 100644 index 0000000..9f706ab Binary files /dev/null and b/css/font/S-CoreDream_woff/S-CoreDream-9.woff differ diff --git a/css/font/fontawesome/fa-brands-400.eot b/css/font/fontawesome/fa-brands-400.eot new file mode 100644 index 0000000..d05ea58 Binary files /dev/null and b/css/font/fontawesome/fa-brands-400.eot differ diff --git a/css/font/fontawesome/fa-brands-400.svg b/css/font/fontawesome/fa-brands-400.svg new file mode 100644 index 0000000..4e48a46 --- /dev/null +++ b/css/font/fontawesome/fa-brands-400.svg @@ -0,0 +1,3717 @@ + + + + +Created by FontForge 20201107 at Tue Mar 16 10:15:04 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/css/font/fontawesome/fa-brands-400.ttf b/css/font/fontawesome/fa-brands-400.ttf new file mode 100644 index 0000000..fc567cd Binary files /dev/null and b/css/font/fontawesome/fa-brands-400.ttf differ diff --git a/css/font/fontawesome/fa-brands-400.woff b/css/font/fontawesome/fa-brands-400.woff new file mode 100644 index 0000000..db70e73 Binary files /dev/null and b/css/font/fontawesome/fa-brands-400.woff differ diff --git a/css/font/fontawesome/fa-brands-400.woff2 b/css/font/fontawesome/fa-brands-400.woff2 new file mode 100644 index 0000000..b8a8f65 Binary files /dev/null and b/css/font/fontawesome/fa-brands-400.woff2 differ diff --git a/css/font/fontawesome/fa-regular-400.eot b/css/font/fontawesome/fa-regular-400.eot new file mode 100644 index 0000000..fae180d Binary files /dev/null and b/css/font/fontawesome/fa-regular-400.eot differ diff --git a/css/font/fontawesome/fa-regular-400.svg b/css/font/fontawesome/fa-regular-400.svg new file mode 100644 index 0000000..9dba8c3 --- /dev/null +++ b/css/font/fontawesome/fa-regular-400.svg @@ -0,0 +1,801 @@ + + + + +Created by FontForge 20201107 at Tue Mar 16 10:15:04 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/css/font/fontawesome/fa-regular-400.ttf b/css/font/fontawesome/fa-regular-400.ttf new file mode 100644 index 0000000..d1ac9ba Binary files /dev/null and b/css/font/fontawesome/fa-regular-400.ttf differ diff --git a/css/font/fontawesome/fa-regular-400.woff b/css/font/fontawesome/fa-regular-400.woff new file mode 100644 index 0000000..e9f54b1 Binary files /dev/null and b/css/font/fontawesome/fa-regular-400.woff differ diff --git a/css/font/fontawesome/fa-regular-400.woff2 b/css/font/fontawesome/fa-regular-400.woff2 new file mode 100644 index 0000000..9df490e Binary files /dev/null and b/css/font/fontawesome/fa-regular-400.woff2 differ diff --git a/css/font/fontawesome/fa-solid-900.eot b/css/font/fontawesome/fa-solid-900.eot new file mode 100644 index 0000000..afe3152 Binary files /dev/null and b/css/font/fontawesome/fa-solid-900.eot differ diff --git a/css/font/fontawesome/fa-solid-900.svg b/css/font/fontawesome/fa-solid-900.svg new file mode 100644 index 0000000..dce459d --- /dev/null +++ b/css/font/fontawesome/fa-solid-900.svg @@ -0,0 +1,5034 @@ + + + + +Created by FontForge 20201107 at Tue Mar 16 10:15:04 2021 + By Robert Madole +Copyright (c) Font Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/css/font/fontawesome/fa-solid-900.ttf b/css/font/fontawesome/fa-solid-900.ttf new file mode 100644 index 0000000..f33e816 Binary files /dev/null and b/css/font/fontawesome/fa-solid-900.ttf differ diff --git a/css/font/fontawesome/fa-solid-900.woff b/css/font/fontawesome/fa-solid-900.woff new file mode 100644 index 0000000..73c1a4d Binary files /dev/null and b/css/font/fontawesome/fa-solid-900.woff differ diff --git a/css/font/fontawesome/fa-solid-900.woff2 b/css/font/fontawesome/fa-solid-900.woff2 new file mode 100644 index 0000000..dc52d95 Binary files /dev/null and b/css/font/fontawesome/fa-solid-900.woff2 differ diff --git a/css/jquery-confirm.min.css b/css/jquery-confirm.min.css new file mode 100644 index 0000000..b66d205 --- /dev/null +++ b/css/jquery-confirm.min.css @@ -0,0 +1,9 @@ +/*! + * jquery-confirm v3.3.4 (http://craftpip.github.io/jquery-confirm/) + * Author: boniface pereira + * Website: www.craftpip.com + * Contact: hey@craftpip.com + * + * Copyright 2013-2019 jquery-confirm + * Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE) + */@-webkit-keyframes jconfirm-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes jconfirm-spin{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}body[class*=jconfirm-no-scroll-]{overflow:hidden!important}.jconfirm{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;font-family:inherit;overflow:hidden}.jconfirm .jconfirm-bg{position:fixed;top:0;left:0;right:0;bottom:0;-webkit-transition:opacity .4s;transition:opacity .4s}.jconfirm .jconfirm-bg.jconfirm-bg-h{opacity:0!important}.jconfirm .jconfirm-scrollpane{-webkit-perspective:500px;perspective:500px;-webkit-perspective-origin:center;perspective-origin:center;display:table;width:100%;height:100%}.jconfirm .jconfirm-row{display:table-row;width:100%}.jconfirm .jconfirm-cell{display:table-cell;vertical-align:middle}.jconfirm .jconfirm-holder{max-height:100%;padding:50px 0}.jconfirm .jconfirm-box-container{-webkit-transition:-webkit-transform;transition:-webkit-transform;transition:transform;transition:transform,-webkit-transform}.jconfirm .jconfirm-box-container.jconfirm-no-transition{-webkit-transition:none!important;transition:none!important}.jconfirm .jconfirm-box{background:white;border-radius:4px;position:relative;outline:0;padding:15px 15px 0;overflow:hidden;margin-left:auto;margin-right:auto}@-webkit-keyframes type-blue{1%,100%{border-color:#3498db}50%{border-color:#5faee3}}@keyframes type-blue{1%,100%{border-color:#3498db}50%{border-color:#5faee3}}@-webkit-keyframes type-green{1%,100%{border-color:#2ecc71}50%{border-color:#54d98c}}@keyframes type-green{1%,100%{border-color:#2ecc71}50%{border-color:#54d98c}}@-webkit-keyframes type-red{1%,100%{border-color:#e74c3c}50%{border-color:#ed7669}}@keyframes type-red{1%,100%{border-color:#e74c3c}50%{border-color:#ed7669}}@-webkit-keyframes type-orange{1%,100%{border-color:#f1c40f}50%{border-color:#f4d03f}}@keyframes type-orange{1%,100%{border-color:#f1c40f}50%{border-color:#f4d03f}}@-webkit-keyframes type-purple{1%,100%{border-color:#9b59b6}50%{border-color:#b07cc6}}@keyframes type-purple{1%,100%{border-color:#9b59b6}50%{border-color:#b07cc6}}@-webkit-keyframes type-dark{1%,100%{border-color:#34495e}50%{border-color:#46627f}}@keyframes type-dark{1%,100%{border-color:#34495e}50%{border-color:#46627f}}.jconfirm .jconfirm-box.jconfirm-type-animated{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.jconfirm .jconfirm-box.jconfirm-type-blue{border-top:solid 7px #3498db;-webkit-animation-name:type-blue;animation-name:type-blue}.jconfirm .jconfirm-box.jconfirm-type-green{border-top:solid 7px #2ecc71;-webkit-animation-name:type-green;animation-name:type-green}.jconfirm .jconfirm-box.jconfirm-type-red{border-top:solid 7px #e74c3c;-webkit-animation-name:type-red;animation-name:type-red}.jconfirm .jconfirm-box.jconfirm-type-orange{border-top:solid 7px #f1c40f;-webkit-animation-name:type-orange;animation-name:type-orange}.jconfirm .jconfirm-box.jconfirm-type-purple{border-top:solid 7px #9b59b6;-webkit-animation-name:type-purple;animation-name:type-purple}.jconfirm .jconfirm-box.jconfirm-type-dark{border-top:solid 7px #34495e;-webkit-animation-name:type-dark;animation-name:type-dark}.jconfirm .jconfirm-box.loading{height:120px}.jconfirm .jconfirm-box.loading:before{content:'';position:absolute;left:0;background:white;right:0;top:0;bottom:0;border-radius:10px;z-index:1}.jconfirm .jconfirm-box.loading:after{opacity:.6;content:'';height:30px;width:30px;border:solid 3px transparent;position:absolute;left:50%;margin-left:-15px;border-radius:50%;-webkit-animation:jconfirm-spin 1s infinite linear;animation:jconfirm-spin 1s infinite linear;border-bottom-color:dodgerblue;top:50%;margin-top:-15px;z-index:2}.jconfirm .jconfirm-box div.jconfirm-closeIcon{height:20px;width:20px;position:absolute;top:10px;right:10px;cursor:pointer;opacity:.6;text-align:center;font-size:27px!important;line-height:14px!important;display:none;z-index:1}.jconfirm .jconfirm-box div.jconfirm-closeIcon:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-closeIcon .fa{font-size:16px}.jconfirm .jconfirm-box div.jconfirm-closeIcon .glyphicon{font-size:16px}.jconfirm .jconfirm-box div.jconfirm-closeIcon .zmdi{font-size:16px}.jconfirm .jconfirm-box div.jconfirm-closeIcon:hover{opacity:1}.jconfirm .jconfirm-box div.jconfirm-title-c{display:block;font-size:22px;line-height:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;padding-bottom:15px}.jconfirm .jconfirm-box div.jconfirm-title-c.jconfirm-hand{cursor:move}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{font-size:inherit;display:inline-block;vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c i{vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:inherit;font-family:inherit;display:inline-block;vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-content-pane{margin-bottom:15px;height:auto;-webkit-transition:height .4s ease-in;transition:height .4s ease-in;display:inline-block;width:100%;position:relative;overflow-x:hidden;overflow-y:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane.no-scroll{overflow-y:hidden}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar{width:3px}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar-track{background:rgba(0,0,0,0.1)}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content{overflow:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content img{max-width:100%;height:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content:empty{display:none}.jconfirm .jconfirm-box .jconfirm-buttons{padding-bottom:11px}.jconfirm .jconfirm-box .jconfirm-buttons>button{margin-bottom:4px;margin-left:2px;margin-right:2px}.jconfirm .jconfirm-box .jconfirm-buttons button{display:inline-block;padding:6px 12px;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;min-height:1em;-webkit-transition:opacity .1s ease,background-color .1s ease,color .1s ease,background .1s ease,-webkit-box-shadow .1s ease;transition:opacity .1s ease,background-color .1s ease,color .1s ease,background .1s ease,-webkit-box-shadow .1s ease;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease,-webkit-box-shadow .1s ease;-webkit-tap-highlight-color:transparent;border:0;background-image:none}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue{background-color:#3498db;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue:hover{background-color:#2980b9;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green{background-color:#2ecc71;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green:hover{background-color:#27ae60;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-red{background-color:#e74c3c;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-red:hover{background-color:#c0392b;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-orange{background-color:#f1c40f;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-orange:hover{background-color:#f39c12;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default{background-color:#ecf0f1;color:#000;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default:hover{background-color:#bdc3c7;color:#000}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-purple{background-color:#9b59b6;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-purple:hover{background-color:#8e44ad;color:#FFF}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-dark{background-color:#34495e;color:#FFF;text-shadow:none;-webkit-transition:background .2s;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-dark:hover{background-color:#2c3e50;color:#FFF}.jconfirm .jconfirm-box.jconfirm-type-red .jconfirm-title-c .jconfirm-icon-c{color:#e74c3c!important}.jconfirm .jconfirm-box.jconfirm-type-blue .jconfirm-title-c .jconfirm-icon-c{color:#3498db!important}.jconfirm .jconfirm-box.jconfirm-type-green .jconfirm-title-c .jconfirm-icon-c{color:#2ecc71!important}.jconfirm .jconfirm-box.jconfirm-type-purple .jconfirm-title-c .jconfirm-icon-c{color:#9b59b6!important}.jconfirm .jconfirm-box.jconfirm-type-orange .jconfirm-title-c .jconfirm-icon-c{color:#f1c40f!important}.jconfirm .jconfirm-box.jconfirm-type-dark .jconfirm-title-c .jconfirm-icon-c{color:#34495e!important}.jconfirm .jconfirm-clear{clear:both}.jconfirm.jconfirm-rtl{direction:rtl}.jconfirm.jconfirm-rtl div.jconfirm-closeIcon{left:5px;right:auto}.jconfirm.jconfirm-white .jconfirm-bg,.jconfirm.jconfirm-light .jconfirm-bg{background-color:#444;opacity:.2}.jconfirm.jconfirm-white .jconfirm-box,.jconfirm.jconfirm-light .jconfirm-box{-webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2);box-shadow:0 2px 6px rgba(0,0,0,0.2);border-radius:5px}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons{float:right}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button{text-transform:uppercase;font-size:14px;font-weight:bold;text-shadow:none}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.btn-default,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default{-webkit-box-shadow:none;box-shadow:none;color:#333}.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.btn-default:hover,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default:hover{background:#ddd}.jconfirm.jconfirm-white.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-light.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-black .jconfirm-bg,.jconfirm.jconfirm-dark .jconfirm-bg{background-color:darkslategray;opacity:.4}.jconfirm.jconfirm-black .jconfirm-box,.jconfirm.jconfirm-dark .jconfirm-box{-webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2);box-shadow:0 2px 6px rgba(0,0,0,0.2);background:#444;border-radius:5px;color:white}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons{float:right}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button{border:0;background-image:none;text-transform:uppercase;font-size:14px;font-weight:bold;text-shadow:none;-webkit-transition:background .1s;transition:background .1s;color:white}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button.btn-default,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default{-webkit-box-shadow:none;box-shadow:none;color:#fff;background:0}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button.btn-default:hover,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default:hover{background:#666}.jconfirm.jconfirm-black.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-dark.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm .jconfirm-box.hilight.jconfirm-hilight-shake{-webkit-animation:shake .82s cubic-bezier(0.36,0.07,0.19,0.97) both;animation:shake .82s cubic-bezier(0.36,0.07,0.19,0.97) both;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.jconfirm .jconfirm-box.hilight.jconfirm-hilight-glow{-webkit-animation:glow .82s cubic-bezier(0.36,0.07,0.19,0.97) both;animation:glow .82s cubic-bezier(0.36,0.07,0.19,0.97) both;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@-webkit-keyframes shake{10%,90%{-webkit-transform:translate3d(-2px,0,0);transform:translate3d(-2px,0,0)}20%,80%{-webkit-transform:translate3d(4px,0,0);transform:translate3d(4px,0,0)}30%,50%,70%{-webkit-transform:translate3d(-8px,0,0);transform:translate3d(-8px,0,0)}40%,60%{-webkit-transform:translate3d(8px,0,0);transform:translate3d(8px,0,0)}}@keyframes shake{10%,90%{-webkit-transform:translate3d(-2px,0,0);transform:translate3d(-2px,0,0)}20%,80%{-webkit-transform:translate3d(4px,0,0);transform:translate3d(4px,0,0)}30%,50%,70%{-webkit-transform:translate3d(-8px,0,0);transform:translate3d(-8px,0,0)}40%,60%{-webkit-transform:translate3d(8px,0,0);transform:translate3d(8px,0,0)}}@-webkit-keyframes glow{0%,100%{-webkit-box-shadow:0 0 0 red;box-shadow:0 0 0 red}50%{-webkit-box-shadow:0 0 30px red;box-shadow:0 0 30px red}}@keyframes glow{0%,100%{-webkit-box-shadow:0 0 0 red;box-shadow:0 0 0 red}50%{-webkit-box-shadow:0 0 30px red;box-shadow:0 0 30px red}}.jconfirm{-webkit-perspective:400px;perspective:400px}.jconfirm .jconfirm-box{opacity:1;-webkit-transition-property:all;transition-property:all}.jconfirm .jconfirm-box.jconfirm-animation-top,.jconfirm .jconfirm-box.jconfirm-animation-left,.jconfirm .jconfirm-box.jconfirm-animation-right,.jconfirm .jconfirm-box.jconfirm-animation-bottom,.jconfirm .jconfirm-box.jconfirm-animation-opacity,.jconfirm .jconfirm-box.jconfirm-animation-zoom,.jconfirm .jconfirm-box.jconfirm-animation-scale,.jconfirm .jconfirm-box.jconfirm-animation-none,.jconfirm .jconfirm-box.jconfirm-animation-rotate,.jconfirm .jconfirm-box.jconfirm-animation-rotatex,.jconfirm .jconfirm-box.jconfirm-animation-rotatey,.jconfirm .jconfirm-box.jconfirm-animation-scaley,.jconfirm .jconfirm-box.jconfirm-animation-scalex{opacity:0}.jconfirm .jconfirm-box.jconfirm-animation-rotate{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jconfirm .jconfirm-box.jconfirm-animation-rotatex{-webkit-transform:rotateX(90deg);transform:rotateX(90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotatexr{-webkit-transform:rotateX(-90deg);transform:rotateX(-90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotatey{-webkit-transform:rotatey(90deg);transform:rotatey(90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotateyr{-webkit-transform:rotatey(-90deg);transform:rotatey(-90deg);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-scaley{-webkit-transform:scaley(1.5);transform:scaley(1.5);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-scalex{-webkit-transform:scalex(1.5);transform:scalex(1.5);-webkit-transform-origin:center;transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-top{-webkit-transform:translate(0px,-100px);transform:translate(0px,-100px)}.jconfirm .jconfirm-box.jconfirm-animation-left{-webkit-transform:translate(-100px,0px);transform:translate(-100px,0px)}.jconfirm .jconfirm-box.jconfirm-animation-right{-webkit-transform:translate(100px,0px);transform:translate(100px,0px)}.jconfirm .jconfirm-box.jconfirm-animation-bottom{-webkit-transform:translate(0px,100px);transform:translate(0px,100px)}.jconfirm .jconfirm-box.jconfirm-animation-zoom{-webkit-transform:scale(1.2);transform:scale(1.2)}.jconfirm .jconfirm-box.jconfirm-animation-scale{-webkit-transform:scale(0.5);transform:scale(0.5)}.jconfirm .jconfirm-box.jconfirm-animation-none{visibility:hidden}.jconfirm.jconfirm-supervan .jconfirm-bg{background-color:rgba(54,70,93,0.95)}.jconfirm.jconfirm-supervan .jconfirm-box{background-color:transparent}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-blue{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-green{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-red{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-orange{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-purple{border:0}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-dark{border:0}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-closeIcon{color:white}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c{text-align:center;color:white;font-size:28px;font-weight:normal}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c>*{padding-bottom:25px}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-content-pane{margin-bottom:25px}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-content{text-align:center;color:white}.jconfirm.jconfirm-supervan .jconfirm-box .jconfirm-buttons{text-align:center}.jconfirm.jconfirm-supervan .jconfirm-box .jconfirm-buttons button{font-size:16px;border-radius:2px;background:#303f53;text-shadow:none;border:0;color:white;padding:10px;min-width:100px}.jconfirm.jconfirm-supervan.jconfirm-rtl .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-material .jconfirm-bg{background-color:rgba(0,0,0,0.67)}.jconfirm.jconfirm-material .jconfirm-box{background-color:white;-webkit-box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);padding:30px 25px 10px 25px}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.87)}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,0.87);font-size:22px;font-weight:bold}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-content{color:rgba(0,0,0,0.87)}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons{text-align:right}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons button{text-transform:uppercase;font-weight:500}.jconfirm.jconfirm-material.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-bootstrap .jconfirm-bg{background-color:rgba(0,0,0,0.21)}.jconfirm.jconfirm-bootstrap .jconfirm-box{background-color:white;-webkit-box-shadow:0 3px 8px 0 rgba(0,0,0,0.2);box-shadow:0 3px 8px 0 rgba(0,0,0,0.2);border:solid 1px rgba(0,0,0,0.4);padding:15px 0 0}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.87)}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,0.87);font-size:22px;font-weight:bold;padding-left:15px;padding-right:15px}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-content{color:rgba(0,0,0,0.87);padding:0 15px}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons{text-align:right;padding:10px;margin:-5px 0 0;border-top:solid 1px #ddd;overflow:hidden;border-radius:0 0 4px 4px}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons button{font-weight:500}.jconfirm.jconfirm-bootstrap.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-modern .jconfirm-bg{background-color:slategray;opacity:.6}.jconfirm.jconfirm-modern .jconfirm-box{background-color:white;-webkit-box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);box-shadow:0 7px 8px -4px rgba(0,0,0,0.2),0 13px 19px 2px rgba(0,0,0,0.14),0 5px 24px 4px rgba(0,0,0,0.12);padding:30px 30px 15px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,0.87);top:15px;right:15px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,0.87);font-size:24px;font-weight:bold;text-align:center;margin-bottom:10px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{-webkit-transition:-webkit-transform .5s;transition:-webkit-transform .5s;transition:transform .5s;transition:transform .5s,-webkit-transform .5s;-webkit-transform:scale(0);transform:scale(0);display:block;margin-right:0;margin-left:0;margin-bottom:10px;font-size:69px;color:#aaa}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content{text-align:center;font-size:15px;color:#777;margin-bottom:25px}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons{text-align:center}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons button{font-weight:bold;text-transform:uppercase;-webkit-transition:background .1s;transition:background .1s;padding:10px 20px}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons button+button{margin-left:4px}.jconfirm.jconfirm-modern.jconfirm-open .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{-webkit-transform:scale(1);transform:scale(1)} \ No newline at end of file diff --git a/css/jquery-ui.min.css b/css/jquery-ui.min.css new file mode 100644 index 0000000..43e9703 --- /dev/null +++ b/css/jquery-ui.min.css @@ -0,0 +1,7 @@ +/*! jQuery UI - v1.12.1 - 2016-09-14 +* http://jqueryui.com +* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?bgShadowXPos=&bgOverlayXPos=&bgErrorXPos=&bgHighlightXPos=&bgContentXPos=&bgHeaderXPos=&bgActiveXPos=&bgHoverXPos=&bgDefaultXPos=&bgShadowYPos=&bgOverlayYPos=&bgErrorYPos=&bgHighlightYPos=&bgContentYPos=&bgHeaderYPos=&bgActiveYPos=&bgHoverYPos=&bgDefaultYPos=&bgShadowRepeat=&bgOverlayRepeat=&bgErrorRepeat=&bgHighlightRepeat=&bgContentRepeat=&bgHeaderRepeat=&bgActiveRepeat=&bgHoverRepeat=&bgDefaultRepeat=&iconsHover=url(%22images%2Fui-icons_555555_256x240.png%22)&iconsHighlight=url(%22images%2Fui-icons_777620_256x240.png%22)&iconsHeader=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsError=url(%22images%2Fui-icons_cc0000_256x240.png%22)&iconsDefault=url(%22images%2Fui-icons_777777_256x240.png%22)&iconsContent=url(%22images%2Fui-icons_444444_256x240.png%22)&iconsActive=url(%22images%2Fui-icons_ffffff_256x240.png%22)&bgImgUrlShadow=&bgImgUrlOverlay=&bgImgUrlHover=&bgImgUrlHighlight=&bgImgUrlHeader=&bgImgUrlError=&bgImgUrlDefault=&bgImgUrlContent=&bgImgUrlActive=&opacityFilterShadow=Alpha(Opacity%3D30)&opacityFilterOverlay=Alpha(Opacity%3D30)&opacityShadowPerc=30&opacityOverlayPerc=30&iconColorHover=%23555555&iconColorHighlight=%23777620&iconColorHeader=%23444444&iconColorError=%23cc0000&iconColorDefault=%23777777&iconColorContent=%23444444&iconColorActive=%23ffffff&bgImgOpacityShadow=0&bgImgOpacityOverlay=0&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityContent=75&bgImgOpacityHeader=75&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgTextureShadow=flat&bgTextureOverlay=flat&bgTextureError=flat&bgTextureHighlight=flat&bgTextureContent=flat&bgTextureHeader=flat&bgTextureActive=flat&bgTextureHover=flat&bgTextureDefault=flat&cornerRadius=3px&fwDefault=normal&ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&cornerRadiusShadow=8px&thicknessShadow=5px&offsetLeftShadow=0px&offsetTopShadow=0px&opacityShadow=.3&bgColorShadow=%23666666&opacityOverlay=.3&bgColorOverlay=%23aaaaaa&fcError=%235f3f3f&borderColorError=%23f1a899&bgColorError=%23fddfdf&fcHighlight=%23777620&borderColorHighlight=%23dad55e&bgColorHighlight=%23fffa90&fcContent=%23333333&borderColorContent=%23dddddd&bgColorContent=%23ffffff&fcHeader=%23333333&borderColorHeader=%23dddddd&bgColorHeader=%23e9e9e9&fcActive=%23ffffff&borderColorActive=%23003eff&bgColorActive=%23007fff&fcHover=%232b2b2b&borderColorHover=%23cccccc&bgColorHover=%23ededed&fcDefault=%23454545&borderColorDefault=%23c5c5c5&bgColorDefault=%23f6f6f6 +* Copyright jQuery Foundation and other contributors; Licensed MIT */ + +.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup > .ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup > .ui-controlgroup-item:focus,.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical > .ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px;background-size:auto;}.ui-icon,.ui-widget-content .ui-icon{background-image:url("/images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("/images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("/images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("/images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("/images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("/images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("/images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.003;filter:Alpha(Opacity=.3)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666} \ No newline at end of file diff --git a/css/koin.css b/css/koin.css new file mode 100644 index 0000000..a074897 --- /dev/null +++ b/css/koin.css @@ -0,0 +1,1723 @@ +.row-0 { + margin-left: 0px; + margin-right: 0px; +} + +.row-0 > [class^=col] { + padding-left: 0px; + padding-right: 0px; +} + +.row-1 { + margin-left: -0.5px; + margin-right: -0.5px; +} + +.row-1 > [class^=col] { + padding-left: 0.5px; + padding-right: 0.5px; +} + +.row-2 { + margin-left: -1px; + margin-right: -1px; +} + +.row-2 > [class^=col] { + padding-left: 1px; + padding-right: 1px; +} + +.row-3 { + margin-left: -1.5px; + margin-right: -1.5px; +} + +.row-3 > [class^=col] { + padding-left: 1.5px; + padding-right: 1.5px; +} + +.row-4 { + margin-left: -2px; + margin-right: -2px; +} + +.row-4 > [class^=col] { + padding-left: 2px; + padding-right: 2px; +} + +.row-5 { + margin-left: -2.5px; + margin-right: -2.5px; +} + +.row-5 > [class^=col] { + padding-left: 2.5px; + padding-right: 2.5px; +} + +.row-10 { + margin-left: -5px; + margin-right: -5px; +} + +.row-10 > [class^=col] { + padding-left: 5px; + padding-right: 5px; +} + +.row-20 { + margin-left: -10px; + margin-right: -10px; +} + +.row-20 > [class^=col] { + padding-left: 10px; + padding-right: 10px; +} + +.row-30 { + margin-left: -15px; + margin-right: -15px; +} + +.row-30 > [class^=col] { + padding-left: 15px; + padding-right: 15px; +} + +.row-40 { + margin-left: -20px; + margin-right: -20px; +} + +.row-40 > [class^=col] { + padding-left: 20px; + padding-right: 20px; +} + +.row-50 { + margin-left: -25px; + margin-right: -25px; +} + +.row-50 > [class^=col] { + padding-left: 25px; + padding-right: 25px; +} + +.row-60 { + margin-left: -30px; + margin-right: -30px; +} + +.row-60 > [class^=col] { + padding-left: 30px; + padding-right: 30px; +} + +.row-70 { + margin-left: -35px; + margin-right: -35px; +} + +.row-70 > [class^=col] { + padding-left: 35px; + padding-right: 35px; +} + +.row-80 { + margin-left: -40px; + margin-right: -40px; +} + +.row-80 > [class^=col] { + padding-left: 40px; + padding-right: 40px; +} + +.row-90 { + margin-left: -45px; + margin-right: -45px; +} + +.row-90 > [class^=col] { + padding-left: 45px; + padding-right: 45px; +} + +.row-100 { + margin-left: -50px; + margin-right: -50px; +} + +.row-100 > [class^=col] { + padding-left: 50px; + padding-right: 50px; +} + +/* icons */ +[class*=icon-] { + display: inline-block; + background-size: contain; + background-repeat: no-repeat; + background-position: 50% 50%; + font-size: 0; + line-height: 1; +} + +.icon-logo { + background-image: url("/images/img-logo-small.svg"); + width: 114.5px; + height: 15.9px; +} + +.icon-logo-sm { + background-image: url("/images/img-logo-small.svg"); + width: 30.1px; + height: 15.9px; +} + +.icon-menu { + background-image: url("/images/icon-menu.svg"); + width: 24px; + height: 24px; + vertical-align: top; +} + +.icon-logout { + background-image: url("/images/btn-logout.svg"); + width: 24px; + height: 24px; +} + +.icon-global { + background-image: url("/images/icon-global.svg"); + width: 16px; + height: 16px; +} + +.icon-regional { + background-image: url("/images/icon-regional.svg"); + width: 16px; + height: 16px; +} + +.icon-country { + background-image: url("/images/icon-country.svg"); + width: 16px; + height: 16px; +} + +.icon-statistic { + background-image: url("/images/icon-statistic.svg"); + width: 16px; + height: 16px; +} + +.icon-admin { + background-image: url("/images/icon-admin.svg"); + width: 16px; + height: 16px; +} + +.icon-plus { + background-image: url("/images/btn-plus.svg"); + width: 13px; + height: 13px; +} + +.icon-minus { + background-image: url("/images/btn-minus.svg"); + width: 13px; + height: 13px; +} + +.icon-s-arr-down { + background-image: url("/images/btn-s-add.svg"); + width: 10px; + height: 10px; +} + +.icon-home { + background-image: url("/images/icon-home.svg"); + width: 16px; + height: 16px; +} + +.icon-trophy { + background-image: url("/images/btn-tab-01.svg"); + width: 16px; + height: 16px; +} + +.icon-clock { + background-image: url("/images/btn-tab-02.svg"); + width: 16px; + height: 16px; +} + +.icon-search { + background-image: url("/images/icon-search.svg"); + width: 20px; + height: 20px; +} + +.icon-prev { + background-image: url("/images/icon-left.svg"); + width: 10px; + height: 10px; +} + +.icon-next { + background-image: url("/images/icon-right.svg"); + width: 10px; + height: 10px; +} + +.icon-import { + background-image: url("/images/icon-import.svg"); + width: 70px; + height: 70px; +} + +.icon-s-add { + background-image: url("/images/icon-s-add.svg"); + width: 12.5px; + height: 12.5px; +} + +.icon-s-minus { + background-image: url("/images/icon-s-minus.svg"); + width: 12.5px; + height: 12.5px; +} + +.icon-refresh { + background-image: url("/images/icon-refresh.svg"); + width: 24px; + height: 24px; +} + +.icon-photo { + background-image: url("/images/img-no-phpto.svg"); + width: 72px; + height: 72px; +} + +.icon-close { + background-image: url("/images/icon-modalclose.svg"); + width: 24px; + height: 24px; +} + +.icon-top { + background-image: url("/images/icon-top.svg"); + width: 17.2px; + height: 17.2px; +} + +.icon-level-2 { + background-image: url("/images/icon-level-2.svg"); + width: 16px; + height: 16px; + background-size: 12px 12px; +} + +.icon-level-3 { + background-image: url("/images/icon-level-3.svg"); + width: 16px; + height: 16px; + background-size: 4px 4px; +} + +input.form-control { + height: 40px; +} + +select.form-control { + height: 40px; + border: 1px solid #e4dcd3; + letter-spacing: -0.34px; + border-radius: 4px; + padding-top: 5px; + -webkit-appearance: none; + -moz-appearance: none; + background-position: right 13px top 50%; + background-repeat: no-repeat; + background-image: url("/images/icon-arrow-01.svg"); + padding-right: 40px; +} + +@media (max-width: 991.98px) { + input.form-control { + font-size: 14px; + } + select.form-control { + font-size: 14px; + } +} + +.col-form-label { + font-size: 16px; + font-weight: 500; + line-height: 1.1; + letter-spacing: -0.32px; +} + +.row.align-items-center > .col-form-label { + padding-top: 0; + padding-bottom: 0; +} + +.custom-control { + display: inline-block; + padding-left: 26px; + position: relative; + margin-right: 20px; + min-height: 20px; + margin: 9px 33px 9px 0; +} + +.custom-control input { + opacity: 0; + position: absolute; + left: -99999px; + font-size: 0; +} + +.custom-control b, +.custom-control span { + color: #afafaf; +} + +.custom-control i { + display: block; + width: 20px; + height: 20px; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + -o-transform: translateY(-50%); + border: 1px solid #e4dcd3; + border-radius: 50%; +} + +.custom-control-radio i { + background: #fff; + margin-top: -1px; +} + +.custom-control-radio input:checked ~ span { + color: #002c5f; +} + +.custom-control-radio input:checked ~ i { + background: #002c5f; + border-color: #002c5f; +} + +.custom-control-radio input:checked ~ i::before { + content: ''; + display: block; + width: 8px; + height: 8px; + border-radius: 50%; + background: #fff; + position: absolute; + left: 50%; + top: 50%; + margin: -4px 0 0 -4px; +} + +.custom-control-checkbox-primary i { + background: #fff url("/images/icon-ckck-beige.svg") no-repeat center; + margin-top: -1px; +} + +.custom-control-checkbox-primary input:checked ~ i { + background: #002c5f url("/images/icon-ckck-light.svg") no-repeat center; + border-color: #002c5f; +} + +.custom-control-checkbox-secondary i { + background: #fff url("/images/icon-ckck-beige.svg") no-repeat center; + margin-top: -1px; +} + +.custom-control-checkbox-secondary input:checked ~ i { + background: #00aad2 url("/images/icon-ckck-light.svg") no-repeat center; + border-color: #00aad2; +} + +.custom-control-checkbox-square { + padding-left: 18px; + font-size: 12px; + min-height: 12px; +} + +.custom-control-checkbox-square i { + width: 12px; + height: 12px; + border: 1px solid #aacae6; + background: none; + border-radius: 0; + margin-top: -1px; +} + +.custom-control-checkbox-square b, +.custom-control-checkbox-square span { + color: #aacae6; +} + +.custom-control-checkbox-square input:checked ~ i { + background: #aacae6 url("/images/icon-s-checkbox-black.svg") no-repeat center/8.9px auto; + border-color: #aacae6; +} + +.btn { + height: 36px; + font-size: 16px; + line-height: 1.3; + padding-left: 30px; + padding-right: 30px; +} + +.btn i { + vertical-align: middle; +} + +.input-group-append .btn { + width: 36px; + height: 100%; + padding-left: 0; + padding-right: 0; +} + +.btn-group .btn { + padding-left: .75rem; + padding-right: .75rem; +} + +@media (max-width: 991.98px) { + .btn { + font-size: 14px; + font-weight: 500; + letter-spacing: -0.28px; + } +} + +.btn-sm { + height: 24px; + font-size: 12px; + letter-spacing: -0.48px; + padding: 3px 12px; +} + +.btn-logout { + width: 80px; + height: 80px; + background: #aacae6; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + text-align: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-right: -1.125rem; +} + +@media (max-width: 991.98px) { + .btn-logout { + width: 60px; + height: 60px; + } + .btn-logout i { + width: 18px; + height: 18px; + } +} + +.doc-type-btns .btn { + height: 32px; + font-size: 14px; +} + +.brand-logo-mobile { + display: block; + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + line-height: 1; +} + +.brand-logo-mobile i { + vertical-align: top; +} + +.copyright { + text-align: right; +} + +@media (max-width: 991.98px) { + .copyright { + text-align: center; + letter-spacing: -0.2px; + } +} + +.welcome { + color: #fff; +} + +.btn-outline-light { + color: #afafaf; +} + +.btn-top { + position: fixed; + right: -60px; + bottom: 20px; + z-index: 1; + -webkit-transition: all .2s ease-in-out; + transition: all .2s ease-in-out; +} + +.btn-top button { + display: block; + width: 36px; + height: 36px; + background: #002c5f; + border-radius: 4px; + border: 0; + position: relative; +} + +.btn-top i { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +html.is-scrolled .btn-top { + right: 20px; + -webkit-transition-delay: .4s; + transition-delay: .4s; +} + +.btn-top.moveup { + bottom: 30px; + -webkit-transition-delay: 0s; + transition-delay: 0s; +} + +@media (max-width: 991.98px) { + .btn-top { + bottom: 15px; + } + .btn-top button { + width: 30px; + height: 30px; + } + html.is-scrolled .btn-top { + right: 15px; + } +} + +.content-top { + margin-bottom: 30px; +} + +.main-tab .nav { + background: #fff; + border-radius: 50rem; + overflow: hidden; + position: relative; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; +} + +.main-tab .nav::before { + content: ''; + border: 1px solid #e4dcd3; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + border-radius: 50rem; +} + +.main-tab .nav-item { + position: relative; +} + +.main-tab .nav-link { + border-radius: 50rem; + border: 1px solid transparent !important; + min-width: 160px; + height: 40px; + padding-top: 7px; + padding-bottom: 7px; + color: #afafaf; + font-size: 16px; + font-weight: 500; + letter-spacing: -0.16px; + text-align: center; +} + +.main-tab .nav-link.active { + background: #002c5f; + border-color: #002c5f; + color: #fff; +} + +.main-tab .nav-link.active::after { + content: ''; + display: inline-block; + vertical-align: middle; + background: url("/images/icon-ck.svg") no-repeat 50% 50%; + width: 20px; + height: 20px; + -webkit-transform: translateY(-1px); + transform: translateY(-1px); + margin-left: 6px; +} + +@media (max-width: 991.98px) { + .main-tab { + margin: -24px -24px 0; + } + .main-tab .nav { + background: transparent; + border-radius: 0; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + } + .main-tab .nav::before { + display: none; + } + .main-tab .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .main-tab .nav-link { + border-radius: 50rem; + border: 1px solid transparent !important; + min-width: 0; + padding: 12px 1rem; + height: 49px; + } + .main-tab .nav-link.active { + background: transparent; + border-color: transparent; + color: #002c5f; + } + .main-tab .nav-link.active::before { + content: ''; + display: block; + height: 2px; + width: 100%; + background: #002c5f; + position: absolute; + left: 0; + bottom: 1px; + } + .main-tab .nav-link.active::after { + background-image: url("/images/icon-ck-navy.svg"); + } + .content-top .doc-type-btns { + margin-top: 24px; + } + .content-top .btn-group { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + } +} + +.sub-title-area { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + margin-bottom: 11px; + min-height: 30px; +} + +.sub-title { + font-size: 20px; + font-family: s-core-dream; + font-weight: 500; + letter-spacing: -0.4px; + margin-bottom: 0; + line-height: 1.4; +} + +@media (max-width: 991.98px) { + .sub-title-area { + margin-bottom: 7px; + min-height: 24px; + } + .sub-title { + font-size: 16px; + } +} + +.btn-group-icon .btn { + height: 30px; + width: 30px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + padding: 0; +} + +.row + .row { + margin-top: 1rem; +} + +@media (max-width: 991.98px) { + .btn-group-icon .btn { + height: 24px; + width: 24px; + } + .btn-group-icon .btn i { + width: 12px; + height: 12px; + } + .card { + margin-bottom: 24px; + } + .row + .row { + margin-top: 0; + } +} + +.chart-frame { + height: 290px; +} + +.information { + background: #002c5f url("/images/bg-info.svg") no-repeat 0 100%; + min-height: 272px; + padding: 20px; + margin: -1.25rem; + border-radius: 0.3rem; + overflow: hidden; +} + +.information .row + .row { + margin-top: 0; +} + +.information dl { + margin-top: 13px; +} + +.information dl dt { + font-size: 14px; + color: #a2edff; + letter-spacing: -0.28px; + font-weight: 400; + margin-bottom: 3px; +} + +.information dl dd { + font-size: 16px; + line-height: 1; + letter-spacing: -0.32px; + color: #fff; +} + +.information .row:first-of-type [class^=col]:first-of-type dl { + margin-top: 0; +} + +.jscharting-area { + text-align: center; + padding: 20px 0; +} + +.jscharting-area .jscharting-frame { + height: 160px; +} + +.jscharting-area .label { + font-size: 16px; + font-weight: 500; + letter-spacing: -0.32px; + margin-top: 5px; +} + +.jscharting-area .text-point-sm { + display: block; + font-size: 14px; + color: #afafaf; + letter-spacing: -0.28px; + margin-top: 3px; +} + +.jscharting-area #brandingLogo { + display: none; +} + +@media (min-width: 992px) { + .kpi .row [class^=col] + [class^=col] { + border-left: 1px solid #e4dcd3; + } +} + +.bg-cell { + background: #f2f1ef; +} + +@media (max-width: 991.98px) { + .table-mobile-normal colgroup, + .table-mobile-normal tbody, + .table-mobile-normal tr, + .table-mobile-normal th, + .table-mobile-normal td { + display: block; + text-align: left !important; + } + .table-mobile-normal thead { + display: none; + } + .table-mobile-normal tbody .mobile-subject { + width: 100%; + font-weight: 500; + margin-bottom: 5px; + font-weight: 500; + font-family: s-core-dream; + } + .table-mobile-normal tbody tr { + padding: 18px 20px; + border-top: 1px solid #ddd; + margin: 0 -5px; + } + .table-mobile-normal tbody tr::after { + content: ''; + clear: both; + display: block; + } + .table-mobile-normal tbody tr:first-child { + border-top: 0; + } + .table-mobile-normal tbody td { + padding: 0 5px 3px; + border: 0; + float: left; + width: 50%; + } + .table-mobile-normal tbody td::before { + content: attr(data-label); + display: block; + color: #afafaf; + font-size: 12px; + line-height: 1.3; + } + .table-mobile-checklist colgroup, + .table-mobile-checklist tbody, + .table-mobile-checklist tr, + .table-mobile-checklist th, + .table-mobile-checklist td { + display: block; + text-align: left !important; + } + .table-mobile-checklist thead { + display: none; + } + .table-mobile-checklist tbody .mobile-subject { + width: 100%; + font-weight: 500; + margin-bottom: 5px; + font-weight: 500; + font-family: s-core-dream; + } + .table-mobile-checklist tbody .bg-cell { + background: transparent; + } + .table-mobile-checklist tbody tr { + padding: 18px 20px; + border-top: 1px solid #ddd; + } + .table-mobile-checklist tbody tr::after { + content: ''; + clear: both; + display: block; + } + .table-mobile-checklist tbody tr:first-child { + border-top: 0; + } + .table-mobile-checklist tbody td { + padding: 0; + border: 0; + line-height: 1.1; + vertical-align: middle; + } + .table-mobile-checklist tbody td + td { + margin-top: 2px; + } + .table-mobile-checklist tbody td::before { + content: attr(data-label); + display: block; + color: #afafaf; + font-size: 12px; + } + .table-mobile-checklist tbody .text-success, + .table-mobile-checklist tbody .text-danger { + font-weight: 500; + font-family: s-core-dream; + display: inline-block; + } + .table-mobile-checklist tbody .mobile-badge { + display: inline-block; + border: 1px solid #df9d91; + color: #df9d91; + font-size: 12px; + text-align: center; + height: 22px; + line-height: 20px; + padding: 0 12px; + margin-bottom: 7px; + } + .table-mobile-checklist tbody .d-inline-block { + font-weight: 500; + font-family: s-core-dream; + font-size: 12px; + color: #002c5f; + } + .table-mobile-checklist tbody .d-inline-block::before { + display: inline-block; + vertical-align: middle; + margin-right: 3px; + color: #000; + font-weight: 400; + } + .table-mobile-checklist tbody .d-inline-block::after { + content: ''; + display: inline-block; + vertical-align: middle; + width: 1px; + height: 14px; + background: #afafaf; + margin: 0 10px; + } + .table-mobile-checklist tbody .d-inline-block:last-of-type::after { + display: none; + } +} + +.table-top { + margin-bottom: 14px; +} + +.table-top input.form-control { + height: 36px; +} + +.table-top select.form-control { + height: 36px; +} + +.length { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 17px; +} + +.length select { + margin: 0 8px; +} + +.length .input-group { + margin-left: 24px; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.length .input-group .form-control { + width: 220px; +} + +@media (max-width: 991.98px) { + .length { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: 6px; + } + .length select { + margin: 0; + width: 70px; + } + .length .input-group { + margin-left: 8px; + -webkit-box-flex: 1; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + } + .length .input-group .form-control { + width: 100%; + } +} + +.showing { + font-size: 16px; + line-height: 1.44; + letter-spacing: -0.32px; + color: #afafaf; +} + +@media (max-width: 991.98px) { + .showing { + font-size: 12px; + margin-top: -8px; + } +} + +.pagination li { + margin: 0 1px; +} + +@media (max-width: 991.98px) { + .pagination-wrap { + margin-top: 20px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + } +} + +.has-sort { + display: inline-block; + margin: 0 auto; + text-align: left; + font-weight: 500; + font-family: s-core-dream; + line-height: 1.14; + position: relative; + padding-right: 12px; + cursor: pointer; +} + +.has-sort::before { + content: ''; + display: block; + width: 0; + height: 0; + border-style: solid; + border-width: 4px 3.5px 0 3.5px; + border-color: #b7a48e transparent transparent transparent; + position: absolute; + right: 0; + top: 50%; + margin-top: -2px; +} + +.has-sort.active::before { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.statistic-wrap { + margin: -30px; +} + +.statistic-wrap .sub-title { + font-size: 16px; + margin: 24px 0 15px 12px; +} + +.statistic-wrap > .row > [class^=col]:first-of-type { + border-right: 1px solid #e4dcd3; +} + +.statistic-left { + padding: 30px 20px; + min-width: 226px; +} + +.statistic-top { + padding: 30px 20px; +} + +.statistic-bottom { + padding: 30px 20px; + border-top: 1px solid #e4dcd3; +} + +.drag-area { + padding: 0 12px; +} + +.cell-group { + background: #fff; + border-radius: 4px; + -webkit-box-shadow: 0 3px 4px 0 #e4dcd3; + box-shadow: 0 3px 4px 0 #e4dcd3; + margin: 0 -12px 12px -12px; +} + +.cell-group .expand { + height: 32px; + line-height: 32px; + padding: 0 13px; + color: #000; + font-weight: 500; + font-family: s-core-dream; + color: #002c5f; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + line-height: 1; +} + +.cell-group .expand em { + font-style: normal; + font-weight: 500; +} + +.cell-group .expand.active i { + background-image: url("/images/icon-s-minus.svg"); +} + +.cell-group .expand.active + .toggle { + display: block; +} + +.cell-group .toggle { + border-top: 1px solid #dfdfdf; + padding: 12px; + display: none; +} + +.cell { + cursor: pointer; +} + +.cell > span { + display: block; + width: 161px; + height: 32px; + line-height: 32px; + color: #fff; + font-weight: 500; + letter-spacing: -0.28px; + border-radius: 4px; + padding: 0 13px; +} + +.cell + .cell { + margin-top: 6px; +} + +.drop-area { + height: 200px; + border-radius: 4px; + border: dashed 2px #e4dcd3; + background-color: #ffffff; + padding: 20px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +.drop-area::before { + display: block; + content: 'Drag and drop the item to be set as the analysis unit'; + font-size: 14px; + color: #afafaf; + letter-spacing: -0.28px; + margin-bottom: 5px; + text-align: center; +} + +.drop-area::after { + content: ''; + display: block; + background: url("/images/icon-import.svg") no-repeat center; + width: 70px; + height: 70px; +} + +.statistic-bottom .drop-area { + height: 180px; + width: 161px; + margin-top: 28px; +} + +.drop-area.statistic-top .drop-area::before { + content: 'Drag and drop the Checklist type to be analyzed'; +} + +.is-drag .drop-area { + border-color: #2a609e; +} + +.refresh { + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-bottom: 10px; +} + +.refresh span { + font-size: 16px; + letter-spacing: -0.32; + margin-right: 2px; +} + +.drop-zone { + min-width: 161px; +} + +.drop-zone .cell > span { + position: relative; +} + +.drop-zone .cell > span::before { + content: ''; + background: url("/images/icon-s-close.svg") no-repeat 50% 50%; + width: 12px; + height: 12px; + position: absolute; + right: 13px; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); +} + +body.body-login { + height: 100vh; + background: #002c5f; +} + +.login-slogan { + height: 100vh; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + background: #002c5f; +} + +.login-slogan .text { + font-family: s-core-dream; + line-height: 1.31; + font-weight: 500; + font-size: 35px; + color: #fff; + letter-spacing: 1.75px; +} + +.login { + height: 100vh; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + background-image: linear-gradient(130deg, #00ff66, #37786e); + -webkit-box-shadow: -20px 0 45px 0 #00000029; + box-shadow: -20px 0 45px 0 #00000029; +} + +.login .form { + width: 280px; +} + +.login h1 { + color: #fff; + margin-bottom: 20px; +} + +.login h1 i { + width: 128.8px; + height: 18px; +} + +.login h1 p { + font-family: s-core-dream; + font-size: 0.785em; + font-weight: 700; + margin-top: 5px; + color: #ccff00; +} + +.login .form-control { + border-color: #aacae6; + background: transparent; + height: 40px; + color: #fff; +} + +.login .btn { + height: 40px; + font-weight: 700; +} + +.login .btn:disabled, .login .btn.disabled { + border-color: #fff; + background: #fff; + color: #002c5f; + opacity: 1; +} + +@media (max-width: 767.98px) { + .login-slogan { + position: fixed; + z-index: -1; + } +} + +.accessible-top { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + margin-bottom: 5px; +} + +.accessible { + margin-top: 25px; +} + +.accessible .custom-control { + font-weight: 500; + font-size: 16px; +} + +.accessible .box { + border: 1px solid #e4dcd3; + background: #f2f1ee; + padding: 20px; + border-radius: 4px; +} + +.accessible .box + .box { + margin-top: 20px; +} + +.accessible .box > .row > [class^=col] { + min-height: 60px; +} + +.accessible .box > .row > [class^=col]:first-of-type .custom-control { + margin-top: 18px; +} + +.accessible .group { + border: 1px solid #e4dcd3; + background: #fff; + padding: 0 20px; + border-radius: 4px; +} + +.accessible .group [class^=col] { + padding-top: 9px; + padding-bottom: 9px; +} + +.accessible .group [class^=col]:first-of-type::before { + content: ''; + width: 1px; + height: 100%; + background: #e4dcd3; + position: absolute; + right: 0; + top: 0; +} + +.accessible .group .custom-control { + min-width: 150px; +} + +.accessible .group + .group { + margin-top: 12px; +} + +@media (max-width: 767.98px) { + .row.align-items-center > .col-form-label { + padding-top: 6px; + } + .col-form-label { + margin-bottom: 8px; + font-size: 14px; + } + .accessible-top { + display: block; + margin-bottom: 5px; + } + .accessible-top .col-form-label { + padding-top: 0; + } + .accessible { + margin-top: 0; + } + .accessible .custom-control { + font-size: 14px; + margin-top: 5px; + margin-bottom: 5px; + } + .accessible .box + .box { + margin-top: 12px; + } + .accessible .box > .row > [class^=col] { + min-height: 0; + } + .accessible .box > .row > [class^=col]:first-of-type .custom-control { + margin-top: 0; + } + .accessible .group { + margin-top: 8px; + } + .accessible .group [class^=col] { + padding-top: 5px; + padding-bottom: 5px; + } + .accessible .group [class^=col]:first-of-type::before { + width: 100%; + height: 1px; + left: 0; + bottom: 0; + top: auto; + } + .accessible .group .custom-control { + min-width: 48%; + } + .accessible .group + .group { + margin-top: 8px; + } +} + +.btns-right { + border-top: 1px solid #e4dcd3; + text-align: right; + padding-top: 20px; + margin-top: 20px; +} + +.btns-center { + margin-top: 15px; + margin-bottom: 35px; + text-align: center; +} + +.data-empty { + border: 1px dashed #e4dcd3; + height: 153px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +.data-empty p { + font-size: 14px; + color: #afafaf; + letter-spacing: -0.28px; + margin-top: 5px; +} + +.thumb { + width: 100%; + height: 100%; + display: block; + overflow: hidden; + position: relative; +} + +.thumb::before { + content: ''; + display: block; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.1); + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + z-index: 1; +} + +.thumb img { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + max-width: none; +} + +.thumb img.vertical { + width: 100%; + height: auto; +} + +.thumb img.horizontal { + height: 100%; + width: auto; +} + +.gallery ul { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin: -6px; +} + +.gallery li { + padding: 6px; +} + +.gallery a { + display: block; + position: relative; +} + +.gallery a::before { + content: ''; + display: block; + width: 100%; + height: 100%; + background: rgba(0, 44, 95, 0.5); + position: absolute; + left: 0; + top: 0; + z-index: 1; + opacity: 0; + -webkit-transition: opacity .15s; + transition: opacity .15s; +} + +.gallery a::after { + content: ''; + display: block; + width: 42px; + height: 42px; + background: url("/images/icon-zoom.svg") no-repeat 50% 50%; + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + z-index: 2; + opacity: 0; + -webkit-transition: opacity .15s; + transition: opacity .15s; +} + +.gallery a:hover::before, .gallery a:hover::after { + opacity: 1; +} + +.gallery .thumb { + height: 153px; + width: 180px; + border: 1px solid #e4dcd3; +} + +.gallery .data-empty { + height: 153px; + width: 180px; +} + +.gallery .data-empty .icon-photo { + width: 51.5px; + height: 51.5px; +} + +.img-enlarge { + max-height: 80vh; + max-width: 90vw; +} diff --git a/css/main-common.css b/css/main-common.css new file mode 100644 index 0000000..c20715c --- /dev/null +++ b/css/main-common.css @@ -0,0 +1,385 @@ +*:not(.fa, .far, .fas){ + font-family: s-core-dream !important; + font-weight: 400; + -webkit-font-smoothing: antialiased !important; +} + +.login { + background: url(/images/login/login1.jpg) no-repeat center center fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; +} +.login h1 p { + font-size: 0.785em; + font-weight: 700; + color: #ffffff; + width: 220px; +} +.login .form{ + background: #00000080; + border-radius: 5px; + width: auto; +} +.login .form-control{ + border-color:#fff; +} +.login .form-control::placeholder{ + color:#fff; +} + +#btn-login{ + background-color: #3A465C; + color: #fff; +} +#btn-login:hover{ + background-color: #7396FF; +} +body { + background: #EFF3F6; +} +.btn-logout{ + background: #EFF3F6; + height: 40px; + width: 40px; +} +.sidebar-collapse .main-sidebar .icon-logo { + background-image: url("/images/img-kri-logo-mini.png"); + width: 32px; + height: 32px; +} +.icon-logo { + background-image: url("/images/img-kri-logo-mini.png"); + width: 108px; + height: 60px; +} + +.icon-logo-sm { + background-image: url("/images/img-kri-logo-mini.png"); + width: 32px; + height: 32px; +} + +.main-sidebar { + background: #3A465C; +} +.nav-sidebar > .nav-item > .nav{ + background:#303948; +} + +.main-header { + border-bottom:none; +} + +.card-primary.card-outline { + border-top: 3px solid #3A465C; +} + +.btn-primary { background-color: #3A465C; border-color:#3A465C; } +.btn-primary:hover { background-color: #464D5C; border-color:#464D5C;} +.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle +{ color: #ffffff; background-color: #3A4863; border-color:#3A4863;} + +.btn-outline-primary { color: #3A465C; border-color: #3A465C; background-color: #fff; } +.btn-outline-primary:hover { color: #ffffff; background-color: #464D5C; border-color: #464D5C; } +.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle +{ color: #ffffff; background-color: #3A4863; border-color: #3A4863; } + +.btn-secondary { background-color: #7CCFFC; border-color:#7CCFFC; } +.btn-secondary:hover { background-color: #6FBAE3; border-color:#6FBAE3; } +.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle +{ color: #ffffff; background-color: #7DD1FF; border-color:#7DD1FF; } + +.btn-outline-secondary { color: #7CCFFC; border-color: #7CCFFC; background-color: #fff; } +.btn-outline-secondary:hover { color: #ffffff; background-color: #6FBAE3; border-color: #6FBAE3; } +.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle +{ color: #ffffff; background-color: #7DD1FF; border-color: #7DD1FF; } + +.btn-success { background-color: #ADDB4F; border-color:#ADDB4F; } +.btn-success:hover { background-color: #98C246; border-color:#98C246; } +.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle +{ color: #ffffff; background-color: #B5E653; border-color:#B5E653; } + +.btn-outline-success { color: #ADDB4F; border-color: #ADDB4F; background-color: #fff; } +.btn-outline-success:hover { color: #ffffff; background-color: #98C246; border-color: #98C246; } +.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .show > .btn-outline-success.dropdown-toggle +{ color: #ffffff; background-color: #B5E653; border-color: #B5E653; } + +.btn-info { background-color: #FFC46B;border-color:#FFC46B; } +.btn-info:hover { background-color: #E6B060; border-color:#E6B060; } +.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, .show > .btn-info.dropdown-toggle +{ color: #ffffff; background-color: #FFC266; border-color:#FFC266; } + +.btn-outline-info { color: #FFC46B; border-color: #FFC46B; background-color: #fff; } +.btn-outline-info:hover { color: #ffffff; background-color: #E6B060; border-color: #E6B060; } +.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .show > .btn-outline-info.dropdown-toggle +{ color: #ffffff; background-color: #FFC266; border-color: #FFC266; } + +.btn-danger { background-color: #FF5252; border-color:#FF5252; } +.btn-danger:hover { background-color: #E64949; border-color:#E64949; } +.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, .show > .btn-danger.dropdown-toggle +{ color: #ffffff; background-color: #FF4D4D; border-color:#FF4D4D; } + +.btn-outline-danger { color: #FF5252; border-color: #FF5252; background-color: #fff; } +.btn-outline-danger:hover { color: #ffffff; background-color: #E64949; border-color: #E64949; } +.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .show > .btn-outline-danger.dropdown-toggle +{ color: #ffffff; background-color: #FF4D4D; border-color: #FF4D4D; } + +.btn-light { background-color: #E0E0E0; color:#fff; border-color:#E0E0E0; } +.btn-light:hover { background-color: #C7C7C7; color:#fff; border-color:#C7C7C7; } +.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle +{ color: #ffffff; background-color: #E0E0E0; border-color:#E0E0E0; } + +.btn-outline-light { color: #E0E0E0; border-color: #E0E0E0; background-color: #fff; } +.btn-outline-light:hover { color: #ffffff; background-color: #C7C7C7; border-color: #C7C7C7; } +.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, .show > .btn-outline-light.dropdown-toggle +{ color: #ffffff; background-color: #E0E0E0; border-color: #E0E0E0; } + +.btn-link { color: #3A465C; } +.btn-link:hover { color: #464D5C;text-decoration: underline; } +.btn-link:not(:disabled):not(.disabled):active, .btn-link:not(:disabled):not(.disabled).active, .show > .btn-link.dropdown-toggle +{ color: #3A4863; } + +.btn-primary.disabled, .btn-primary:disabled { filter: opacity(0.8); background-color: #3A465C; border-color: #3A465C; } +.btn-secondary.disabled, .btn-secondary:disabled { filter: opacity(0.8); background-color: #7CCFFC; border-color: #7CCFFC; } +.btn-success.disabled, .btn-success:disabled { filter: opacity(0.8); background-color: #ADDB4F; border-color: #ADDB4F; } +.btn-info.disabled, .btn-info:disabled { filter: opacity(0.8); background-color: #FFC46B; border-color: #FFC46B; } +.btn-danger.disabled, .btn-danger:disabled { filter: opacity(0.8); background-color: #FF5252; border-color: #FF5252; } +.btn-light.disabled, .btn-light:disabled { filter: opacity(0.8); background-color: #E0E0E0; border-color: #E0E0E0; color:#fff; } +.btn-outline-primary.disabled, .btn-outline-primary:disabled { filter: opacity(0.8); color: #3A465C; border-color: #3A465C; background-color: #fff; } +.btn-outline-secondary.disabled, .btn-outline-secondary:disabled { filter: opacity(0.8); color: #7CCFFC; border-color: #7CCFFC; background-color: #fff; } +.btn-outline-success.disabled, .btn-outline-success:disabled { filter: opacity(0.8); color: #ADDB4F; border-color: #ADDB4F; background-color: #fff; } +.btn-outline-info.disabled, .btn-outline-info:disabled { filter: opacity(0.8); color: #FFC46B; border-color: #FFC46B; background-color: #fff; } +.btn-outline-danger.disabled, .btn-outline-danger:disabled { filter: opacity(0.8); color: #FF5252; border-color: #FF5252; background-color: #fff; } +.btn-outline-light.disabled, .btn-outline-light:disabled { filter: opacity(0.8); color: #E0E0E0; border-color: #E0E0E0; background-color: #fff; } +.btn-link.disabled, .btn-link:disabled { filter: opacity(0.8); color: #3A465C;text-decoration: none; } + +.nav-sidebar > .nav-item.menu-open { + border-bottom: none; +} + +.sidebar-collapse .nav-link{ + padding-left: 1rem !important; +} +.sidebar-collapse .nav-icon{ + width: 1.5rem !important; +} +.nav-sidebar > .nav-item > .nav > .nav-item > .nav { + background: #242830; +} +.nav-sidebar > .nav-item > .nav .nav-link.active{ + color: #7396FF; +} +.nav-sidebar > .nav-item > .nav-link.active, .nav-sidebar > .nav-item > .nav-link:focus{ + background-color:#7396FF; +} +.nav-sidebar .nav-item > .nav-link{ + font-size:13px; +} +.nav-sidebar .nav-link p{ + font-weight:400; +} +.nav-treeview .nav-link p{ + font-weight:300; +} +.sidebar-collapse .main-sidebar:hover .icon-logo{ + background-image: url("/images/img-kri-logo-mini.png"); + width: 108px; + height: 60px; +} + +.welcome{ + color:#000; +} + +.table { + border-top: 2px solid #989898; +} +.table thead th, .table thead td{ + background: #EFF3F6; + border: 1px solid #E5E5E5; + font-weight:500; + border-top-width:0; + border-left-width:0; + border-right-width:0; +} +.table th, .table td{ + border: 1px solid #E5E5E5; + border-top-width:0; + border-left-width:0; + border-right-width:0; +} +.table.tr-colors > tbody > tr:nth-child(2n - 1) > th, .table.tr-colors > tbody > tr:nth-child(2n - 1) > td{ + background-color:#f6f6f6; +} +.table-bordered th, .table-bordered td{ + border: 1px solid #E5E5E5; + border-top-width:0; +} +.table-simple { + border: 1px solid #E5E5E5; +} +.table-simple thead th, .table-simple thead td { + background-color:#fff; +} + +.table-headline { + border-top: 1px solid #989898; +} +.table-headline thead th, .table-headline thead td { + border-bottom: 1px solid #989898; + background-color:#fff; +} +.table-gray { + border-top:none; +} +.table-gray thead th, .table-gray thead td { + background-color: #A1A4A6; + color:#fff; +} + +.table-borderless th, .table-borderless td, .table-borderless thead th, .table-borderless tbody + tbody{ + border:none; +} + +.table-sm2 th, .table-sm2 td { + padding-top: 0.2rem; + padding-bottom: 0.2rem; +} + +.table-sm3 th, .table-sm3 td { + padding-top: 0.4rem; + padding-bottom: 0.4rem; + } + + +.form-control:disabled, .form-control[readonly] { + background-color: #fff; + color: #666; +} +.form-control:disabled{ + cursor:not-allowed; +} + + +.content-header h1{ + color:#000; + font-size: 1.48rem; + font-weight: 500; +} + +.content-header .breadcrumb { + background: #EFF3F6; + line-height: 1.8rem; + padding: 5px; +} + +.content-header .breadcrumb-item{ + color:#666; + font-size:0.72rem; +} +.content-header .breadcrumb-item + .breadcrumb-item::before{ + background:#666; +} + +.content-wrapper{ + background-color:#fff; +} + +.content-wrapper .content-body { + padding: 0 1.5rem 0 1.5rem; +} + +.content-wrapper .content{ + background:#EFF3F6; +} + +.col-form-label{ + font-size:0.79rem; + color:#333; +} + +.custom-control b, .custom-control span{ + color:#333; + font-weight: 400; + font-size:0.79rem; + vertical-align: text-top; +} +.custom-control:not(.custom-control-checkbox-square) i{ + margin-top:0px; + width: 18px; + height: 18px; +} + +.custom-control-checkbox-square { + padding-left: 24px; +} +.custom-control-checkbox-square i{ + width: 16px; + height: 16px; + border: 1px solid #e4dcd3; + background:#fff; + margin-top: 1px; +} +.custom-control-checkbox-square input:checked ~ i { + background: #7396FF url(/images/icon-ckck-light.svg) no-repeat center; + background-position-x: 2px; +} + +.custom-control i:hover{ + border-color:#7396FF; +} + +.custom-control input:checked ~ i{ + background-color:#7396FF; + border-color: #7396FF; +} +.custom-control-radio input:checked ~ i{ + background-color:#FFF; +} +.custom-control-radio input:checked ~ i::before { + width: 12px; + height: 12px; + background: #7396ff; + margin: -6px 0 0 -6px; +} +.custom-control-radio input:checked ~ span{ + color:#333; +} +.form-control, .input-group-text, .custom-select, .custom-file{ + font-size:0.79rem; + padding:0.175rem 0.5rem; + height:32px !important; + border-color:#EFF3F6; + color:#333; +} +.form-control:focus{ + border-color:#ebf1f7; +} +.custom-select{ + padding-right: 1.5rem; +} +.input-group-text{ + background:#EFEFEF; + color:#333; +} +textarea.form-control{ + height:auto !important; +} + +.selectDate{ + cursor:pointer; +} + +.ui-widget-overlay { + opacity: .3; +} +.ui-dialog { + z-index: 5000 !important ; +} + +.main-footer{ + color:#666; +} + diff --git a/css/media-query.css b/css/media-query.css new file mode 100644 index 0000000..59550e1 --- /dev/null +++ b/css/media-query.css @@ -0,0 +1,65 @@ +/* + ##Device = Desktops + ##Screen = 1281px to higher resolution desktops +*/ + +@media (min-width: 1281px) { + + /* CSS */ + +} + +/* + ##Device = Laptops, Desktops + ##Screen = B/w 1025px to 1280px +*/ + +@media (min-width: 1025px) and (max-width: 1280px) { + + /* CSS */ + +} + +/* + ##Device = Tablets, Ipads (portrait) + ##Screen = B/w 768px to 1024px +*/ + +@media (min-width: 768px) and (max-width: 1024px) { + + /* CSS */ + +} + +/* + ##Device = Tablets, Ipads (landscape) + ##Screen = B/w 768px to 1024px +*/ + +@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { + + /* CSS */ + +} + +/* + ##Device = Low Resolution Tablets, Mobiles (Landscape) + ##Screen = B/w 481px to 767px +*/ + +@media (min-width: 481px) and (max-width: 767px) { + + /* CSS */ + +} + +/* + ##Device = Most of the Smartphones Mobiles (Portrait) + ##Screen = B/w 320px to 479px +*/ + +@media (min-width: 320px) and (max-width: 480px) { + + /* CSS */ + +} \ No newline at end of file diff --git a/css/scss/adminLTE/AdminLTE.scss b/css/scss/adminLTE/AdminLTE.scss new file mode 100644 index 0000000..78f6c26 --- /dev/null +++ b/css/scss/adminLTE/AdminLTE.scss @@ -0,0 +1,25 @@ +/*! + * AdminLTE v3.0.5 + * Author: Colorlib + * Website: AdminLTE.io + * License: Open source - MIT + */ +// Bootstrap +// --------------------------------------------------- +@import '../view/webfont'; +@import '../bootstrap/functions'; +@import 'bootstrap-variables'; +@import '../bootstrap/bootstrap'; + +// Variables and Mixins +// --------------------------------------------------- +@import 'variables'; +@import 'mixins'; + +@import 'parts/core'; +@import 'parts/components'; +//@import 'parts/extra-components'; +//@import 'parts/pages'; +//@import 'parts/plugins'; +@import 'parts/miscellaneous'; + diff --git a/css/scss/adminLTE/_alerts.scss b/css/scss/adminLTE/_alerts.scss new file mode 100644 index 0000000..8bf52b0 --- /dev/null +++ b/css/scss/adminLTE/_alerts.scss @@ -0,0 +1,36 @@ +// +// Component: Alert +// + +.alert { + .icon { + margin-right: 10px; + } + + .close { + color: $black; + opacity: .2; + + &:hover { + opacity: .5; + } + } + + a { + color: $white; + text-decoration: underline; + } +} + +//Alert Variants +@each $color, $value in $theme-colors { + .alert-#{$color} { + color: color-yiq($value); + background: $value; + border-color: darken($value, 5%); + } + + .alert-default-#{$color} { + @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level)); + } +} diff --git a/css/scss/adminLTE/_bootstrap-variables.scss b/css/scss/adminLTE/_bootstrap-variables.scss new file mode 100644 index 0000000..dd59571 --- /dev/null +++ b/css/scss/adminLTE/_bootstrap-variables.scss @@ -0,0 +1,914 @@ +// Variables +// +// Variables should follow the `$component-state-property-size` formula for +// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs. + + +// +// Color system +// + +// stylelint-disable +$white: #ffffff !default; +$gray-100: #f8f9fa !default; +$gray-200: #e9ecef !default; +$gray-300: #dee2e6 !default; +$gray-400: #ced4da !default; +$gray-500: #adb5bd !default; +$gray-600: #6c757d !default; +$gray-700: #495057 !default; +$gray-800: #343a40 !default; +$gray-900: #212529 !default; +$black: #000 !default; + +$grays: () !default; +$grays: map-merge(( + "100": $gray-100, + "200": $gray-200, + "300": $gray-300, + "400": $gray-400, + "500": $gray-500, + "600": $gray-600, + "700": $gray-700, + "800": $gray-800, + "900": $gray-900 +), $grays); + +$blue: #2a609e !default; +$indigo: #6610f2 !default; +$purple: #6f42c1 !default; +$pink: #e83e8c !default; +$red: #b74b37 !default; +$orange: #fd7e14 !default; +$yellow: #ffc107 !default; +$green: #28a745 !default; +$teal: #20c997 !default; +$cyan: #17a2b8 !default; +$navy: #002c5f !default; +$sky: #aacae6 !default; +$lightblue: #00aad2 !default; + +$colors: () !default; +$colors: map-merge(( + "blue": $blue, + //"indigo": $indigo, + //"purple": $purple, + //"pink": $pink, + "red": $red, + "orange": $orange, + "yellow": $yellow, + "green": $green, + //"teal": $teal, + //"cyan": $cyan, + "white": $white, + "gray": $gray-600, + "gray-dark": $gray-800 +), $colors); + +$primary: $navy !default; +$secondary: $lightblue !default; +$success: $blue !default; +$info: $sky !default; +$warning: $yellow !default; +$danger: $red !default; +$light: #e4dcd3 !default; +$dark: $gray-800 !default; + +$theme-colors: () !default; +$theme-colors: map-merge(( + "primary": $primary, + "secondary": $secondary, + "success": $success, + "info": $info, + "warning": $warning, + "danger": $danger, + "light": $light, + "dark": $dark +), $theme-colors); +// stylelint-enable + +// Set a specific jump point for requesting color jumps +$theme-color-interval: 8% !default; + +// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255. +$yiq-contrasted-threshold: 200 !default; + +// Customize the light and dark text colors for use in our YIQ color contrast function. +$yiq-text-dark: #1F2D3D !default; +$yiq-text-light: $white !default; + +// Options +// +// Quickly modify global styling by enabling or disabling optional features. + +$enable-caret: true !default; +$enable-rounded: true !default; +$enable-shadows: true !default; +$enable-gradients: false !default; +$enable-transitions: true !default; +$enable-prefers-reduced-motion-media-query: true !default; +$enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS +$enable-grid-classes: true !default; +$enable-pointer-cursor-for-buttons: true !default; +$enable-print-styles: true !default; +$enable-responsive-font-sizes: false !default; +$enable-validation-icons: true !default; +$enable-deprecation-messages: true !default; + +// Spacing +// +// Control the default styling of most Bootstrap elements by modifying these +// variables. Mostly focused on spacing. +// You can add more entries to the $spacers map, should you need more variation. + +// stylelint-disable +$spacer: 1rem !default; +$spacers: () !default; +$spacers: map-merge(( + 0: 0, + 1: ($spacer * .25), + 2: ($spacer * .5), + 3: $spacer, + 4: ($spacer * 1.5), + 5: ($spacer * 3) +), $spacers); + +// This variable affects the `.h-*` and `.w-*` classes. +$sizes: () !default; +$sizes: map-merge(( + 25: 25%, + 50: 50%, + 75: 75%, + 100: 100% +), $sizes); +// stylelint-enable + +// Body +// +// Settings for the `` element. + +$body-bg: $white !default; +$body-color: #000 !default; + +// Links +// +// Style anchor elements. + +$link-color: theme-color("primary") !default; +$link-decoration: none !default; +$link-hover-color: darken($link-color, 15%) !default; +$link-hover-decoration: none !default; + +// Paragraphs +// +// Style p element. + +$paragraph-margin-bottom: 0 !default; + + +// Grid breakpoints +// +// Define the minimum dimensions at which your layout will change, +// adapting to different screen sizes, for use in media queries. + +$grid-breakpoints: ( + xs: 0, + sm: 576px, + md: 768px, + lg: 992px, + xl: 1200px +) !default; + +@include _assert-ascending($grid-breakpoints, "$grid-breakpoints"); +@include _assert-starts-at-zero($grid-breakpoints); + + +// Grid containers +// +// Define the maximum width of `.container` for different screen sizes. + +$container-max-widths: ( + sm: 540px, + md: 720px, + lg: 960px, + xl: 1140px +) !default; + +@include _assert-ascending($container-max-widths, "$container-max-widths"); + + +// Grid columns +// +// Set the number of columns and specify the width of the gutters. + +$grid-columns: 12 !default; +$grid-gutter-width: 20px !default; + +// Components +// +// Define common padding and border radius sizes and more. + +$line-height-lg: 1.5 !default; +$line-height-sm: 1.5 !default; + +$border-width: 1px !default; +$border-color: #e4dcd3 !default; + +$border-radius: .3rem !default; +$border-radius-lg: .3rem !default; +$border-radius-sm: .2rem !default; + +$component-active-color: $white !default; +$component-active-bg: theme-color("primary") !default; + +$caret-width: .3em !default; + +$transition-base: all .2s ease-in-out !default; +$transition-fade: opacity .15s linear !default; +$transition-collapse: height .35s ease !default; + + +// Fonts +// +// Font, line-height, and color for body text, headings, and more. + +// stylelint-disable value-keyword-case +$font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; +$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default; +$font-family-base: $font-family-sans-serif !default; +// stylelint-enable value-keyword-case + +$font-size-base: 0.875rem !default; // Assumes the browser default, typically `16px` +$font-size-lg: ($font-size-base * 1.25) !default; +$font-size-sm: ($font-size-base * .875) !default; + +$font-weight-light: 300 !default; +$font-weight-normal: 400 !default; +$font-weight-bold: 700 !default; + +$font-weight-base: $font-weight-normal !default; +$line-height-base: 1.5 !default; + +$h1-font-size: $font-size-base * 2.5 !default; +$h2-font-size: $font-size-base * 2 !default; +$h3-font-size: $font-size-base * 1.75 !default; +$h4-font-size: $font-size-base * 1.5 !default; +$h5-font-size: $font-size-base * 1.25 !default; +$h6-font-size: $font-size-base !default; + +$headings-margin-bottom: 0 !default; +$headings-font-family: inherit !default; +$headings-font-weight: 500 !default; +$headings-line-height: 1.2 !default; +$headings-color: inherit !default; + +$display1-size: 6rem !default; +$display2-size: 5.5rem !default; +$display3-size: 4.5rem !default; +$display4-size: 3.5rem !default; + +$display1-weight: 300 !default; +$display2-weight: 300 !default; +$display3-weight: 300 !default; +$display4-weight: 300 !default; +$display-line-height: $headings-line-height !default; + +$lead-font-size: ($font-size-base * 1.25) !default; +$lead-font-weight: 300 !default; + +$small-font-size: 80% !default; + +$text-muted: $gray-600 !default; + +$blockquote-small-color: $gray-600 !default; +$blockquote-font-size: ($font-size-base * 1.25) !default; + +$hr-border-color: rgba($black, .1) !default; +$hr-border-width: $border-width !default; + +$mark-padding: .2em !default; + +$dt-font-weight: $font-weight-bold !default; + +$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default; +$nested-kbd-font-weight: $font-weight-bold !default; + +$list-inline-padding: .5rem !default; + +$mark-bg: #fcf8e3 !default; + +$hr-margin-y: $spacer !default; + + +// Tables +// +// Customizes the `.table` component with basic values, each used across all table variations. + +$table-cell-padding: .75rem !default; +$table-cell-padding-sm: .3rem !default; + +$table-bg: #fff !default; +$table-accent-bg: rgba($black, .05) !default; +$table-hover-bg: rgba($black, .075) !default; +$table-active-bg: $table-hover-bg !default; + +$table-border-width: $border-width !default; +$table-border-color: $border-color !default; + +$table-head-bg: #e4dcd3 !default; +$table-head-color: #000 !default; + +$table-dark-bg: $gray-900 !default; +$table-dark-accent-bg: rgba($white, .05) !default; +$table-dark-hover-bg: rgba($white, .075) !default; +$table-dark-border-color: lighten($gray-900, 10%) !default; +$table-dark-color: $body-bg !default; + + +// Buttons + Forms +// +// Shared variables that are reassigned to `$input-` and `$btn-` specific variables. + +$input-btn-padding-y: .375rem !default; +$input-btn-padding-x: .75rem !default; +$input-btn-font-size: 16px !default; +$input-btn-line-height: $line-height-base !default; + +$input-btn-focus-width: .2rem !default; +$input-btn-focus-color: rgba($component-active-bg, .25) !default; +$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default; + +$input-btn-padding-y-sm: .25rem !default; +$input-btn-padding-x-sm: .5rem !default; +$input-btn-line-height-sm: $line-height-sm !default; + +$input-btn-padding-y-lg: .5rem !default; +$input-btn-padding-x-lg: 1rem !default; +$input-btn-line-height-lg: $line-height-lg !default; + +$input-btn-border-width: $border-width !default; + + +// Buttons +// +// For each of Bootstrap's buttons, define text, background, and border color. + +$btn-padding-y: $input-btn-padding-y !default; +$btn-padding-x: $input-btn-padding-x !default; +$btn-line-height: $input-btn-line-height !default; + +$btn-padding-y-sm: $input-btn-padding-y-sm !default; +$btn-padding-x-sm: $input-btn-padding-x-sm !default; +$btn-line-height-sm: $input-btn-line-height-sm !default; + +$btn-padding-y-lg: $input-btn-padding-y-lg !default; +$btn-padding-x-lg: $input-btn-padding-x-lg !default; +$btn-line-height-lg: $input-btn-line-height-lg !default; + +$btn-border-width: $input-btn-border-width !default; + +$btn-font-weight: $font-weight-normal !default; +$btn-box-shadow: none !default; +$btn-focus-width: 0 !default; +$btn-focus-box-shadow: none !default; +$btn-disabled-opacity: .65 !default; +$btn-active-box-shadow: none !default; + +$btn-link-disabled-color: $gray-600 !default; + +$btn-block-spacing-y: .5rem !default; + +// Allows for customizing button radius independently from global border radius +$btn-border-radius: $border-radius !default; +$btn-border-radius-lg: $border-radius-lg !default; +$btn-border-radius-sm: $border-radius-sm !default; + +$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default; + + +// Forms + +$input-padding-y: $input-btn-padding-y !default; +$input-padding-x: $input-btn-padding-x !default; +$input-line-height: $input-btn-line-height !default; + +$input-padding-y-sm: $input-btn-padding-y-sm !default; +$input-padding-x-sm: $input-btn-padding-x-sm !default; +$input-line-height-sm: $input-btn-line-height-sm !default; + +$input-padding-y-lg: $input-btn-padding-y-lg !default; +$input-padding-x-lg: $input-btn-padding-x-lg !default; +$input-line-height-lg: $input-btn-line-height-lg !default; + +$input-bg: $white !default; +$input-disabled-bg: #e4dcd3 !default; + +$input-color: $gray-700 !default; +$input-border-color: $border-color !default; +$input-border-width: $input-btn-border-width !default; +$input-box-shadow: inset 0 0 0 rgba($black, 0) !default; + +$input-border-radius: $border-radius !default; +$input-border-radius-lg: $border-radius-lg !default; +$input-border-radius-sm: $border-radius-sm !default; + +$input-focus-bg: $input-bg !default; +$input-focus-border-color: lighten($component-active-bg, 25%) !default; +$input-focus-color: $input-color !default; +$input-focus-width: 0 !default; +$input-focus-box-shadow: none !default; + +$input-placeholder-color: lighten($gray-600, 15%) !default; + +$input-height-border: $input-border-width * 2 !default; + +$input-height-inner: ($font-size-base * $input-btn-line-height) + ($input-btn-padding-y * 2) !default; +$input-height-inner-half: calc(#{$input-line-height * .5em} + #{$input-padding-y}) !default; +$input-height-inner-quarter: calc(#{$input-line-height * .25em} + #{$input-padding-y / 2}) !default; + +$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default; + +$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default; +$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default; + +$input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2) !default; +$input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default; + +$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default; + +$form-text-margin-top: .25rem !default; + +$form-check-input-gutter: 1.25rem !default; +$form-check-input-margin-y: .3rem !default; +$form-check-input-margin-x: .25rem !default; + +$form-check-inline-margin-x: .75rem !default; +$form-check-inline-input-margin-x: .3125rem !default; + +$form-group-margin-bottom: .75rem !default; + +$input-group-addon-color: $input-color !default; +$input-group-addon-bg: $gray-200 !default; +$input-group-addon-border-color: $input-border-color !default; + +$custom-control-gutter: .5rem !default; +$custom-control-spacer-x: 1rem !default; + +$custom-control-indicator-size: 1rem !default; +$custom-control-indicator-bg: $gray-300 !default; +$custom-control-indicator-bg-size: 50% 50% !default; +$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default; + +$custom-control-indicator-disabled-bg: $gray-200 !default; +$custom-control-label-disabled-color: $gray-600 !default; + +$custom-control-indicator-checked-color: $component-active-color !default; +$custom-control-indicator-checked-bg: $component-active-bg !default; +$custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default; +$custom-control-indicator-checked-box-shadow: none !default; + +$custom-control-indicator-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default; + +$custom-control-indicator-active-color: $component-active-color !default; +$custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default; +$custom-control-indicator-active-box-shadow: none !default; + +$custom-checkbox-indicator-border-radius: $border-radius !default; +$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default; + +$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default; +$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default; +$custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default; +$custom-checkbox-indicator-indeterminate-box-shadow: none !default; + +$custom-radio-indicator-border-radius: 50% !default; +$custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"), "#", "%23") !default; + +$custom-select-padding-y: .375rem !default; +$custom-select-padding-x: .75rem !default; +$custom-select-height: $input-height !default; +$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator +$custom-select-line-height: $input-btn-line-height !default; +$custom-select-color: $input-color !default; +$custom-select-disabled-color: $gray-600 !default; +$custom-select-bg: $white !default; +$custom-select-disabled-bg: $gray-200 !default; +$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions +$custom-select-indicator-color: $gray-800 !default; +$custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default; +$custom-select-border-width: $input-btn-border-width !default; +$custom-select-border-color: $input-border-color !default; +$custom-select-border-radius: $border-radius !default; + +$custom-select-focus-border-color: $input-focus-border-color !default; +$custom-select-focus-box-shadow: none !default; + +$custom-select-font-size-sm: 75% !default; +$custom-select-height-sm: $input-height-sm !default; + +$custom-select-font-size-lg: 125% !default; +$custom-select-height-lg: $input-height-lg !default; + +$custom-file-height: $input-height !default; +$custom-file-focus-border-color: $input-focus-border-color !default; +$custom-file-focus-box-shadow: $custom-select-focus-box-shadow !default; + +$custom-file-padding-y: $input-btn-padding-y !default; +$custom-file-padding-x: $input-btn-padding-x !default; +$custom-file-line-height: $input-btn-line-height !default; +$custom-file-color: $input-color !default; +$custom-file-bg: $input-bg !default; +$custom-file-border-width: $input-btn-border-width !default; +$custom-file-border-color: $input-border-color !default; +$custom-file-border-radius: $input-border-radius !default; +$custom-file-box-shadow: $custom-select-focus-box-shadow !default; +$custom-file-button-color: $custom-file-color !default; +$custom-file-button-bg: $input-group-addon-bg !default; +$custom-file-text: ( + en: "Browse" +) !default; + +$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-btn-focus-box-shadow !default; + + +// Form validation +$form-feedback-margin-top: $form-text-margin-top !default; +$form-feedback-font-size: $small-font-size !default; +$form-feedback-valid-color: theme-color("success") !default; +$form-feedback-invalid-color: theme-color("danger") !default; + + +// Dropdowns +// +// Dropdown menu container and contents. + +$dropdown-min-width: 10rem !default; +$dropdown-padding-y: .5rem !default; +$dropdown-spacer: .125rem !default; +$dropdown-bg: $white !default; +$dropdown-border-color: rgba($black, .15) !default; +$dropdown-border-radius: $border-radius !default; +$dropdown-border-width: $border-width !default; +$dropdown-divider-bg: $gray-200 !default; +$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default; + +$dropdown-link-color: $gray-900 !default; +$dropdown-link-hover-color: darken($gray-900, 5%) !default; +$dropdown-link-hover-bg: $gray-100 !default; + +$dropdown-link-active-color: $component-active-color !default; +$dropdown-link-active-bg: $component-active-bg !default; + +$dropdown-link-disabled-color: $gray-600 !default; + +$dropdown-item-padding-y: .25rem !default; +$dropdown-item-padding-x: 1rem !default; + +$dropdown-header-color: $gray-600 !default; + + +// Z-index master list +// +// Warning: Avoid customizing these values. They're used for a bird's eye view +// of components dependent on the z-axis and are designed to all work together. + +$zindex-dropdown: 1000 !default; +$zindex-sticky: 1020 !default; +$zindex-fixed: 1030 !default; +$zindex-modal-backdrop: 1040 !default; +$zindex-modal: 1050 !default; +$zindex-popover: 1060 !default; +$zindex-tooltip: 1070 !default; + +// Navs + +$nav-link-padding-y: .75rem !default; +$nav-link-padding-x: 1rem !default; +$nav-link-disabled-color: $gray-600 !default; + +$nav-tabs-border-color: $gray-300 !default; +$nav-tabs-border-width: $border-width !default; +$nav-tabs-border-radius: $border-radius !default; +$nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default; +$nav-tabs-link-active-color: $gray-700 !default; +$nav-tabs-link-active-bg: $body-bg !default; +$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default; + +$nav-pills-border-radius: $border-radius !default; +$nav-pills-link-active-color: $component-active-color !default; +$nav-pills-link-active-bg: $blue !default; + +// Navbar + +$navbar-padding-y: 1rem !default; +$navbar-padding-x: 1.125rem !default; + +$navbar-nav-link-padding-x: 1rem !default; + +$navbar-brand-font-size: $font-size-lg !default; +// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link +$nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default; +$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default; +$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default; + +$navbar-toggler-padding-y: .25rem !default; +$navbar-toggler-padding-x: .75rem !default; +$navbar-toggler-font-size: $font-size-lg !default; +$navbar-toggler-border-radius: $btn-border-radius !default; + +$navbar-dark-color: rgba($white, .75) !default; +$navbar-dark-hover-color: rgba($white, 1) !default; +$navbar-dark-active-color: $white !default; +$navbar-dark-disabled-color: rgba($white, .25) !default; +$navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default; +$navbar-dark-toggler-border-color: rgba($white, .1) !default; + +$navbar-light-color: rgba($black, .5) !default; +$navbar-light-hover-color: rgba($black, .7) !default; +$navbar-light-active-color: rgba($black, .9) !default; +$navbar-light-disabled-color: rgba($black, .3) !default; +$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default; +$navbar-light-toggler-border-color: rgba($black, .1) !default; + +// Pagination + +$pagination-padding-y: .5rem !default; +$pagination-padding-x: .75rem !default; +$pagination-padding-y-sm: .25rem !default; +$pagination-padding-x-sm: .5rem !default; +$pagination-padding-y-lg: .75rem !default; +$pagination-padding-x-lg: 1.5rem !default; +$pagination-line-height: 1.25 !default; + +$pagination-color: #afafaf !default; +$pagination-bg: transparent !default; +$pagination-border-width: $border-width !default; +$pagination-border-color: $border-color !default; + +$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default; + +$pagination-hover-color: $link-hover-color !default; +$pagination-hover-bg: $gray-200 !default; +$pagination-hover-border-color: $gray-300 !default; + +$pagination-active-color: $primary !default; +$pagination-active-bg: #e4dcd3 !default; +$pagination-active-border-color: $pagination-active-bg !default; + +$pagination-disabled-color: $gray-600 !default; +$pagination-disabled-bg: $white !default; +$pagination-disabled-border-color: $gray-300 !default; + + +// Jumbotron + +$jumbotron-padding: 2rem !default; +$jumbotron-bg: $gray-200 !default; + + +// Cards + +$card-spacer-y: .75rem !default; +$card-spacer-x: 1.25rem !default; +$card-border-width: 0 !default; //$border-width !default; +$card-border-radius: $border-radius !default; +$card-border-color: rgba($black, .125) !default; +$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default; +$card-cap-bg: rgba($black, .03) !default; +$card-bg: $white !default; + +$card-img-overlay-padding: 1.25rem !default; + +$card-group-margin: ($grid-gutter-width / 2) !default; +$card-deck-margin: $card-group-margin !default; + +$card-columns-count: 3 !default; +$card-columns-gap: 1.25rem !default; +$card-columns-margin: $card-spacer-y !default; + + +// Tooltips + +$tooltip-font-size: $font-size-sm !default; +$tooltip-max-width: 200px !default; +$tooltip-color: $white !default; +$tooltip-bg: $black !default; +$tooltip-border-radius: $border-radius !default; +$tooltip-opacity: .9 !default; +$tooltip-padding-y: .25rem !default; +$tooltip-padding-x: .5rem !default; +$tooltip-margin: 0 !default; + +$tooltip-arrow-width: .8rem !default; +$tooltip-arrow-height: .4rem !default; +$tooltip-arrow-color: $tooltip-bg !default; + +// Form tooltips must come after regular tooltips +$form-feedback-tooltip-padding-y: $tooltip-padding-y !default; +$form-feedback-tooltip-padding-x: $tooltip-padding-x !default; +$form-feedback-tooltip-font-size: $tooltip-font-size !default; +$form-feedback-tooltip-line-height: $line-height-base !default; +$form-feedback-tooltip-opacity: $tooltip-opacity !default; +$form-feedback-tooltip-border-radius: $tooltip-border-radius !default; + +// Popovers + +$popover-font-size: $font-size-sm !default; +$popover-bg: $white !default; +$popover-max-width: 276px !default; +$popover-border-width: $border-width !default; +$popover-border-color: rgba($black, .2) !default; +$popover-border-radius: $border-radius-lg !default; +$popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default; + +$popover-header-bg: darken($popover-bg, 3%) !default; +$popover-header-color: $headings-color !default; +$popover-header-padding-y: .5rem !default; +$popover-header-padding-x: .75rem !default; + +$popover-body-color: $body-color !default; +$popover-body-padding-y: $popover-header-padding-y !default; +$popover-body-padding-x: $popover-header-padding-x !default; + +$popover-arrow-width: 1rem !default; +$popover-arrow-height: .5rem !default; +$popover-arrow-color: $popover-bg !default; + +$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default; + + +// Badges + +$badge-font-size: 75% !default; +$badge-font-weight: $font-weight-bold !default; +$badge-padding-y: .25em !default; +$badge-padding-x: .4em !default; +$badge-border-radius: $border-radius !default; + +$badge-pill-padding-x: .6em !default; +// Use a higher than normal value to ensure completely rounded edges when +// customizing padding or font-size on labels. +$badge-pill-border-radius: 10rem !default; + + +// Modals + +// Padding applied to the modal body +$modal-inner-padding: 1rem !default; + +$modal-dialog-margin: .5rem !default; +$modal-dialog-margin-y-sm-up: 1.75rem !default; + +$modal-title-line-height: $line-height-base !default; + +$modal-content-bg: $white !default; +$modal-content-border-color: rgba($black, .2) !default; +$modal-content-border-width: $border-width !default; +$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default; +$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default; + +$modal-backdrop-bg: $black !default; +$modal-backdrop-opacity: .5 !default; +$modal-header-border-color: $gray-200 !default; +$modal-footer-border-color: $modal-header-border-color !default; +$modal-header-border-width: $modal-content-border-width !default; +$modal-footer-border-width: $modal-header-border-width !default; +$modal-header-padding: 1rem !default; + +$modal-lg: 800px !default; +$modal-md: 500px !default; +$modal-sm: 300px !default; + +$modal-transition: transform .3s ease-out !default; + + +// Alerts +// +// Define alert colors, border radius, and padding. + +$alert-padding-y: .75rem !default; +$alert-padding-x: 1.25rem !default; +$alert-margin-bottom: 1rem !default; +$alert-border-radius: $border-radius !default; +$alert-link-font-weight: $font-weight-bold !default; +$alert-border-width: $border-width !default; + +$alert-bg-level: -10 !default; +$alert-border-level: -9 !default; +$alert-color-level: 6 !default; + + +// Progress bars + +$progress-height: 1rem !default; +$progress-font-size: ($font-size-base * .75) !default; +$progress-bg: $gray-200 !default; +$progress-border-radius: $border-radius !default; +$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default; +$progress-bar-color: $white !default; +$progress-bar-bg: theme-color("primary") !default; +$progress-bar-animation-timing: 1s linear infinite !default; +$progress-bar-transition: width .6s ease !default; + +// List group + +$list-group-bg: $white !default; +$list-group-border-color: rgba($black, .125) !default; +$list-group-border-width: $border-width !default; +$list-group-border-radius: $border-radius !default; + +$list-group-item-padding-y: .75rem !default; +$list-group-item-padding-x: 1.25rem !default; + +$list-group-hover-bg: $gray-100 !default; +$list-group-active-color: $component-active-color !default; +$list-group-active-bg: $component-active-bg !default; +$list-group-active-border-color: $list-group-active-bg !default; + +$list-group-disabled-color: $gray-600 !default; +$list-group-disabled-bg: $list-group-bg !default; + +$list-group-action-color: $gray-700 !default; +$list-group-action-hover-color: $list-group-action-color !default; + +$list-group-action-active-color: $body-color !default; +$list-group-action-active-bg: $gray-200 !default; + + +// Image thumbnails + +$thumbnail-padding: .25rem !default; +$thumbnail-bg: $body-bg !default; +$thumbnail-border-width: $border-width !default; +$thumbnail-border-color: $gray-300 !default; +$thumbnail-border-radius: $border-radius !default; +$thumbnail-box-shadow: 0 1px 2px rgba($black, .075) !default; + + +// Figures + +$figure-caption-font-size: 90% !default; +$figure-caption-color: $gray-600 !default; + + +// Breadcrumbs + +$breadcrumb-padding-y: .75rem !default; +$breadcrumb-padding-x: 1rem !default; +$breadcrumb-item-padding: .5rem !default; + +$breadcrumb-margin-bottom: 1rem !default; + +$breadcrumb-bg: $gray-200 !default; +$breadcrumb-divider-color: $gray-600 !default; +$breadcrumb-active-color: $gray-600 !default; +$breadcrumb-divider: "/" !default; + + +// Carousel + +$carousel-control-color: $white !default; +$carousel-control-width: 15% !default; +$carousel-control-opacity: .5 !default; + +$carousel-indicator-width: 30px !default; +$carousel-indicator-height: 3px !default; +$carousel-indicator-spacer: 3px !default; +$carousel-indicator-active-bg: $white !default; + +$carousel-caption-width: 70% !default; +$carousel-caption-color: $white !default; + +$carousel-control-icon-width: 20px !default; + +$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default; +$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default; + +$carousel-transition: transform .6s ease !default; + + +// Close + +$close-font-size: $font-size-base * 1.5 !default; +$close-font-weight: $font-weight-bold !default; +$close-color: $black !default; +$close-text-shadow: 0 1px 0 $white !default; + +// Code + +$code-font-size: 87.5% !default; +$code-color: $pink !default; + +$kbd-padding-y: .2rem !default; +$kbd-padding-x: .4rem !default; +$kbd-font-size: $code-font-size !default; +$kbd-color: $white !default; +$kbd-bg: $gray-900 !default; + +$pre-color: $gray-900 !default; +$pre-scrollable-max-height: 340px !default; + + +// Printing +$print-page-size: a3 !default; +$print-body-min-width: map-get($grid-breakpoints, "lg") !default; diff --git a/css/scss/adminLTE/_brand.scss b/css/scss/adminLTE/_brand.scss new file mode 100644 index 0000000..a6aad1f --- /dev/null +++ b/css/scss/adminLTE/_brand.scss @@ -0,0 +1,77 @@ +// +// Component: Brand +// + +.brand-link { + display: flex; + align-items: center; + justify-content: center; + height: 80px; + font-size: $navbar-brand-font-size; + line-height: $line-height-lg; + transition: width $transition-speed $transition-fn; + white-space: nowrap; + + &:hover { + color: $white; + text-decoration: none; + } + + .text-sm & { + font-size: inherit; + } + + [class*='sidebar-dark'] & { + border-bottom: 1px solid lighten($dark, 10%); + color: rgba($white, .8); + } + + [class*='sidebar-light'] & { + border-bottom: 1px solid $gray-300; + color: rgba($black, .8); + } + + .brand-image { + //float: left; + margin: 0; + width: auto; + } + + .brand-image-xs { + float: left; + line-height: .8; + margin-top: -.1rem; + max-height: 33px; + width: auto; + } + + .brand-image-xl { + line-height: .8; + max-height: 40px; + width: auto; + + &.single { + margin-top: -.3rem; + } + } + + &.text-sm, + .text-sm & { + .brand-image { + height: 29px; + margin-bottom: -.25rem; + margin-left: .95rem; + margin-top: -.25rem; + } + + .brand-image-xs { + margin-top: -.2rem; + max-height: 29px; + } + + .brand-image-xl { + margin-top: -.225rem; + max-height: 38px; + } + } +} diff --git a/css/scss/adminLTE/_buttons.scss b/css/scss/adminLTE/_buttons.scss new file mode 100644 index 0000000..ea28648 --- /dev/null +++ b/css/scss/adminLTE/_buttons.scss @@ -0,0 +1,108 @@ +// +// Component: Button +// + +.btn { + &.disabled, + &:disabled { + cursor: not-allowed; + } + + // Flat buttons + &.btn-flat { + @include border-radius(0); + border-width: 1px; + box-shadow: none; + } + + // input file btn + &.btn-file { + overflow: hidden; + position: relative; + + > input[type='file'] { + background: $white; + cursor: inherit; + display: block; + font-size: 100px; + min-height: 100%; + min-width: 100%; + opacity: 0; + outline: none; + position: absolute; + right: 0; + text-align: right; + top: 0; + } + } + + .text-sm & { + font-size: $font-size-sm !important; + } +} + +// Button color variations +.btn-default { + background-color: $button-default-background-color; + border-color: $button-default-border-color; + color: $button-default-color; + + &:hover, + &:active, + &.hover { + background-color: darken($button-default-background-color, 5%); + color: darken($button-default-color, 10%); + } +} + +// Application buttons +.btn-app { + @include border-radius(3px); + background-color: $button-default-background-color; + border: 1px solid $button-default-border-color; + color: $gray-600; + font-size: 12px; + height: 60px; + margin: 0 0 10px 10px; + min-width: 80px; + padding: 15px 5px; + position: relative; + text-align: center; + + // Icons within the btn + > .fa, + > .fas, + > .far, + > .fab, + > .glyphicon, + > .ion { + display: block; + font-size: 20px; + } + + &:hover { + background: $button-default-background-color; + border-color: darken($button-default-border-color, 20%); + color: $button-default-color; + } + + &:active, + &:focus { + @include box-shadow(inset 0 3px 5px rgba($black, 0.125)); + } + + // The badge + > .badge { + font-size: 10px; + font-weight: 400; + position: absolute; + right: -10px; + top: -3px; + } +} + +// Extra Button Size + +.btn-xs { + @include button-size($button-padding-y-xs, $button-padding-x-xs, $button-font-size-xs, $button-line-height-xs, $button-border-radius-xs); +} diff --git a/css/scss/adminLTE/_callout.scss b/css/scss/adminLTE/_callout.scss new file mode 100644 index 0000000..d1cfe88 --- /dev/null +++ b/css/scss/adminLTE/_callout.scss @@ -0,0 +1,51 @@ +// +// Component: Callout +// + +// Base styles (regardless of theme) +.callout { + @if $enable-rounded { + @include border-radius($border-radius); + } + + @if $enable-shadows { + box-shadow: map-get($elevations, 1); + } @else { + border: 1px solid $gray-300; + } + + background-color: $white; + border-left: 5px solid $gray-200; + margin-bottom: map-get($spacers, 3); + padding: 1rem; + + a { + color: $gray-700; + text-decoration: underline; + + &:hover { + color: $gray-200; + } + } + + p:last-child { + margin-bottom: 0; + } + + // Themes for different contexts + &.callout-danger { + border-left-color: darken(theme-color('danger'), 10%); + } + + &.callout-warning { + border-left-color: darken(theme-color('warning'), 10%); + } + + &.callout-info { + border-left-color: darken(theme-color('info'), 10%); + } + + &.callout-success { + border-left-color: darken(theme-color('success'), 10%); + } +} diff --git a/css/scss/adminLTE/_cards.scss b/css/scss/adminLTE/_cards.scss new file mode 100644 index 0000000..c5e19e8 --- /dev/null +++ b/css/scss/adminLTE/_cards.scss @@ -0,0 +1,476 @@ +// +// Component: Cards +// + +// Color variants +@each $name, $color in $theme-colors { + @include cards-variant($name, $color); +} + +@each $name, $color in $colors { + @include cards-variant($name, $color); +} + +.card { + @include box-shadow($card-shadow); + margin-bottom: map-get($spacers, 3); + + &.bg-dark { + .card-header { + border-color: $card-dark-border-color; + } + + &, + .card-body { + color: $white; + } + } + + &.maximized-card { + height: 100% !important; + left: 0; + max-height: 100% !important; + max-width: 100% !important; + position: fixed; + top: 0; + width: 100% !important; + z-index: 9999; + + &.was-collapsed .card-body { + display: block !important; + } + + [data-widget='collapse'] { + display: none; + } + + .card-header, + .card-footer { + @include border-radius(0 !important); + } + } + + // collapsed mode + &.collapsed-card { + .card-body, + .card-footer { + display: none; + } + } + + .nav.flex-column { + > li { + border-bottom: 1px solid $card-border-color; + margin: 0; + + &:last-of-type { + border-bottom: 0; + } + } + } + + // fixed height to 300px + &.height-control { + .card-body { + max-height: 300px; + overflow: auto; + } + } + + .border-right { + border-right: 1px solid $card-border-color; + } + + .border-left { + border-left: 1px solid $card-border-color; + } + + &.card-tabs { + &:not(.card-outline) { + & > .card-header { + border-bottom: 0; + + .nav-item { + &:first-child .nav-link { + margin-left: -1px; + } + } + } + } + + &.card-outline { + .nav-item { + border-bottom: 0; + + &:first-child .nav-link { + border-left: 0; + margin-left: 0; + } + } + } + + .card-tools { + margin: .3rem .5rem; + } + + &:not(.expanding-card).collapsed-card { + .card-header { + border-bottom: 0; + + .nav-tabs { + border-bottom: 0; + + .nav-item { + margin-bottom: 0; + } + } + } + } + + &.expanding-card { + .card-header { + .nav-tabs { + .nav-item { + margin-bottom: -1px; + } + } + } + } + } + + &.card-outline-tabs { + border-top: 0; + + .card-header { + .nav-item { + &:first-child .nav-link { + border-left: 0; + margin-left: 0; + } + } + + a { + border-top: 3px solid transparent; + + &:hover { + border-top: 3px solid $nav-tabs-border-color; + } + + &.active { + &:hover { + margin-top: 0; + } + } + } + } + + .card-tools { + margin: .5rem .5rem .3rem; + } + + &:not(.expanding-card).collapsed-card .card-header { + border-bottom: 0; + + .nav-tabs { + border-bottom: 0; + + .nav-item { + margin-bottom: 0; + } + } + } + + &.expanding-card { + .card-header { + .nav-tabs { + .nav-item { + margin-bottom: -1px; + } + } + } + } + } + +} + +// Maximized Card Body Scroll fix +html.maximized-card { + overflow: hidden; +} + +// Add clearfix to header, body and footer +.card-header, +.card-body, +.card-footer { + @include clearfix; +} + +// Box header +.card-header { + background-color: transparent; + border-bottom: 1px solid $card-border-color; + padding: (($card-spacer-y / 2) * 2) $card-spacer-x; + position: relative; + + @if $enable-rounded { + @include border-top-radius($border-radius); + } + + .collapsed-card & { + border-bottom: 0; + } + + > .card-tools { + float: right; + margin-right: -$card-spacer-x / 2; + + .input-group, + .nav, + .pagination { + margin-bottom: -$card-spacer-y / 2.5; + margin-top: -$card-spacer-y / 2.5; + } + + [data-toggle='tooltip'] { + position: relative; + } + } + + .card-title { + float: left; + font-size: $card-title-font-size; + font-weight: $card-title-font-weight; + margin: 0; + } +} + + + +.card-text { + clear: both; +} + + +// Box Tools Buttons +.btn-tool { + background: transparent; + color: $gray-500; + font-size: $font-size-sm; + margin: -(($card-spacer-y / 2) * 2) 0; + padding: .25rem .5rem; + + .btn-group.show &, + &:hover { + color: $gray-700; + } + + .show &, + &:focus { + box-shadow: none !important; + } +} + +.text-sm { + .card-title { + font-size: $card-title-font-size-sm; + } + + .nav-link { + padding: $card-nav-link-padding-sm-y $card-nav-link-padding-sm-x; + } +} + +// Box Body +.card-body { + // @include border-radius-sides(0, 0, $border-radius, $border-radius); + // .no-header & { + // @include border-top-radius($border-radius); + // } + + // Tables within the box body + > .table { + margin-bottom: 0; + + > thead > tr > th, + > thead > tr > td { + border-top-width: 0; + } + } + + // Calendar within the box body + .fc { + margin-top: 5px; + } + + .full-width-chart { + margin: -19px; + } + + &.p-0 .full-width-chart { + margin: -9px; + } +} + +.chart-legend { + @include list-unstyled; + margin: 10px 0; + + > li { + @media (max-width: map-get($grid-breakpoints, sm)) { + float: left; + margin-right: 10px; + } + } +} + +// Comment Box +.card-comments { + background: $gray-100; + + .card-comment { + @include clearfix; + border-bottom: 1px solid $gray-200; + padding: 8px 0; + + &:last-of-type { + border-bottom: 0; + } + + &:first-of-type { + padding-top: 0; + } + + img { + height: $card-img-size; + width: $card-img-size; + float: left; + } + } + + .comment-text { + color: lighten($gray-700, 20%); + margin-left: 40px; + } + + .username { + color: $gray-700; + display: block; + font-weight: 600; + } + + .text-muted { + font-size: 12px; + font-weight: 400; + } +} + +// Widgets +//----------- + +// Widget: TODO LIST +.todo-list { + list-style: none; + margin: 0; + overflow: auto; + padding: 0; + + // Todo list element + > li { + @include border-radius(2px); + background: $gray-100; + border-left: 2px solid $gray-200; + color: $gray-700; + margin-bottom: 2px; + padding: 10px; + + &:last-of-type { + margin-bottom: 0; + } + + > input[type='checkbox'] { + margin: 0 10px 0 5px; + } + + .text { + display: inline-block; + font-weight: 600; + margin-left: 5px; + } + + // Time labels + .badge { + font-size: .7rem; + margin-left: 10px; + } + + // Tools and options box + .tools { + color: theme-color('danger'); + display: none; + float: right; + + // icons + > .fa, + > .fas, + > .far, + > .fab, + > .glyphicon, + > .ion { + cursor: pointer; + margin-right: 5px; + } + } + + &:hover .tools { + display: inline-block; + } + + &.done { + color: darken($gray-500, 25%); + + .text { + font-weight: 500; + text-decoration: line-through; + } + + .badge { + background: $gray-500 !important; + } + } + } + + // Color variants + @each $name, $color in $theme-colors { + .#{$name} { + border-left-color: $color; + } + } + + @each $name, $color in $colors { + .#{$name} { + border-left-color: $color; + } + } + + .handle { + cursor: move; + display: inline-block; + margin: 0 5px; + } +} + +// END TODO WIDGET + +// Input in box +.card-input { + max-width: 200px; +} + +// Nav Tabs override +.card-default { + .nav-item { + &:first-child .nav-link { + border-left: 0; + } + } +} diff --git a/css/scss/adminLTE/_carousel.scss b/css/scss/adminLTE/_carousel.scss new file mode 100644 index 0000000..7e5010a --- /dev/null +++ b/css/scss/adminLTE/_carousel.scss @@ -0,0 +1,24 @@ +// +// Component: Carousel +// + +.carousel-control { + &.left, + &.right { + background-image: none; + } + + > .fa, + > .fas, + > .far, + > .fab, + > .glyphicon, + > .ion { + display: inline-block; + font-size: 40px; + margin-top: -20px; + position: absolute; + top: 50%; + z-index: 5; + } +} diff --git a/css/scss/adminLTE/_colors.scss b/css/scss/adminLTE/_colors.scss new file mode 100644 index 0000000..1cd515f --- /dev/null +++ b/css/scss/adminLTE/_colors.scss @@ -0,0 +1,91 @@ +// +// Misc: Colors +// + +// Background colors (theme colors) +@each $name, $color in $theme-colors { + @include background-variant($name, $color); +} + +// Background colors (colors) +@each $name, $color in $colors { + @include background-variant($name, $color); +} + +.bg-gray { + background-color: $gray-500; + color: color-yiq($gray-500); +} + +.bg-gray-light { + background-color: lighten($gray-200, 3%); + color: color-yiq(lighten($gray-200, 3%)) !important; +} + +.bg-black { + background-color: $black; + color: color-yiq($black) !important; +} + +.bg-white { + background-color: $white; + color: color-yiq($white) !important; +} + +// Gradient Background colors (theme colors) +@each $name, $color in $theme-colors { + @include background-gradient-variant($name, $color); +} + +// Gradient Background colors (colors) +@each $name, $color in $colors { + @include background-gradient-variant($name, $color); +} + +// Backgrund Color Disabled +[class^='bg-'].disabled { + opacity: .65; +} + +// Text muted hover +a.text-muted:hover { + color: theme-color(primary) !important; +} + +// Link Styles +.link-muted { + color: darken($gray-500, 30%); + + &:hover, + &:focus { + color: darken($gray-500, 40%); + } +} + +.link-black { + color: $gray-600; + + &:hover, + &:focus { + color: lighten($gray-500, 20%); + } +} + +// Accent colors (theme colors) +@each $name, $color in $theme-colors { + @include accent-variant($name, $color); +} + +// Accent colors (colors) +@each $name, $color in $colors { + @include accent-variant($name, $color); +} + +// Accent button override fix +[class*="accent-"] { + @each $name, $color in $theme-colors { + a.btn-#{$name} { + color: color-yiq($color); + } + } +} diff --git a/css/scss/adminLTE/_control-sidebar.scss b/css/scss/adminLTE/_control-sidebar.scss new file mode 100644 index 0000000..a15c2e4 --- /dev/null +++ b/css/scss/adminLTE/_control-sidebar.scss @@ -0,0 +1,178 @@ +// +// Component: Control Sidebar +// + +html.control-sidebar-animate { + overflow-x: hidden; +} + +.control-sidebar { + bottom: $main-footer-height; + position: absolute; + top: $main-header-height; + z-index: $zindex-control-sidebar; + + &, + &::before { + bottom: $main-footer-height; + display: none; + right: -$control-sidebar-width; + width: $control-sidebar-width; + @include transition(right $transition-speed $transition-fn, display $transition-speed $transition-fn); + } + + &::before { + content: ''; + display: block; + position: fixed; + top: 0; + z-index: -1; + } +} + +body.text-sm { + .control-sidebar { + bottom: $main-footer-height-sm; + top: $main-header-height-sm; + } +} + +.main-header.text-sm ~ .control-sidebar { + top: $main-header-height-sm; +} + +.main-footer.text-sm ~ .control-sidebar { + bottom: $main-footer-height-sm; +} + +.control-sidebar-push-slide { + .content-wrapper, + .main-footer { + @include transition(margin-right $transition-speed $transition-fn); + } + } + +// Control sidebar open state +.control-sidebar-open { + .control-sidebar { + display: block; + + &, + &::before { + right: 0; + } + } + + &.control-sidebar-push, + &.control-sidebar-push-slide { + .content-wrapper, + .main-footer { + margin-right: $control-sidebar-width; + } + } +} + +// Control sidebar slide over content state +.control-sidebar-slide-open { + .control-sidebar { + display: block; + + &, + &::before { + right: 0; + @include transition(right $transition-speed $transition-fn, display $transition-speed $transition-fn); + } + } + + &.control-sidebar-push, + &.control-sidebar-push-slide { + .content-wrapper, + .main-footer { + margin-right: $control-sidebar-width; + } + } +} + +// Dark skin +.control-sidebar-dark { + &, + a, + .nav-link { + color: $sidebar-dark-color; + } + + // Background + & { + background: $sidebar-dark-bg; + } + + a:hover { + color: $sidebar-dark-hover-color; + } + + // Headers and labels + h1, + h2, + h3, + h4, + h5, + h6, + label { + color: $sidebar-dark-hover-color; + } + + // Tabs + .nav-tabs { + background-color: $sidebar-dark-hover-bg; + border-bottom: 0; + margin-bottom: 5px; + + .nav-item { + margin: 0; + } + + .nav-link { + border-radius: 0; + padding: 10px 20px; + position: relative; + text-align: center; + + &, + &:hover, + &:active, + &:focus, + &.active { + border: 0; + } + + &:hover, + &:active, + &:focus, + &.active { + border-bottom-color: transparent; + border-left-color: transparent; + border-top-color: transparent; + color: $sidebar-dark-hover-color; + } + + &.active { + background-color: $sidebar-dark-bg; + } + } + } + + .tab-pane { + padding: 10px 15px; + } +} + +// Light skin +.control-sidebar-light { + color: lighten($sidebar-light-color, 10%); + + // Background + & { + background: $sidebar-light-bg; + border-left: $main-header-bottom-border; + } +} diff --git a/css/scss/adminLTE/_direct-chat.scss b/css/scss/adminLTE/_direct-chat.scss new file mode 100644 index 0000000..5329b3d --- /dev/null +++ b/css/scss/adminLTE/_direct-chat.scss @@ -0,0 +1,224 @@ +// +// Component: Direct Chat +// + +.direct-chat { + .card-body { + overflow-x: hidden; + padding: 0; + position: relative; + } + + &.chat-pane-open { + .direct-chat-contacts { + @include translate(0, 0); + } + } + + + &.timestamp-light { + .direct-chat-timestamp { + color: lighten(color-yiq($yiq-text-light), 10%); + } + } + + &.timestamp-dark { + .direct-chat-timestamp { + color: darken(color-yiq($yiq-text-dark), 20%); + } + } +} + +.direct-chat-messages { + @include translate(0, 0); + height: 250px; + overflow: auto; + padding: 10px; +} + +.direct-chat-msg, +.direct-chat-text { + display: block; +} + +.direct-chat-msg { + @include clearfix; + margin-bottom: 10px; +} + +.direct-chat-messages, +.direct-chat-contacts { + transition: transform .5s ease-in-out; +} + +.direct-chat-text { + @if $enable-rounded { + @include border-radius($border-radius-lg); + } + + background: $direct-chat-default-msg-bg; + border: 1px solid $direct-chat-default-msg-border-color; + color: $direct-chat-default-font-color; + margin: 5px 0 0 50px; + padding: 5px 10px; + position: relative; + + //Create the arrow + &::after, + &::before { + border: solid transparent; + border-right-color: $direct-chat-default-msg-border-color; + content: ' '; + height: 0; + pointer-events: none; + position: absolute; + right: 100%; + top: 15px; + width: 0; + } + + &::after { + border-width: 5px; + margin-top: -5px; + } + + &::before { + border-width: 6px; + margin-top: -6px; + } + + .right & { + margin-left: 0; + margin-right: 50px; + + &::after, + &::before { + border-left-color: $direct-chat-default-msg-border-color; + border-right-color: transparent; + left: 100%; + right: auto; + } + } +} + +.direct-chat-img { + @include border-radius(50%); + float: left; + height: 40px; + width: 40px; + + .right & { + float: right; + } +} + +.direct-chat-infos { + display: block; + font-size: $font-size-sm; + margin-bottom: 2px; +} + +.direct-chat-name { + font-weight: 600; +} + +.direct-chat-timestamp { + color: darken($gray-500, 25%); +} + +//Direct chat contacts pane +.direct-chat-contacts-open { + .direct-chat-contacts { + @include translate(0, 0); + } +} + +.direct-chat-contacts { + @include translate(101%, 0); + background: $dark; + bottom: 0; + color: $white; + height: 250px; + overflow: auto; + position: absolute; + top: 0; + width: 100%; +} + +.direct-chat-contacts-light { + background: $light; + + .contacts-list-name { + color: $gray-700; + } + + .contacts-list-date { + color: $gray-600; + } + + .contacts-list-msg { + color: darken($gray-600, 10%); + } +} + +//Contacts list -- for displaying contacts in direct chat contacts pane +.contacts-list { + @include list-unstyled; + + > li { + @include clearfix; + border-bottom: 1px solid rgba($black, 0.2); + margin: 0; + padding: 10px; + + &:last-of-type { + border-bottom: 0; + } + } +} + +.contacts-list-img { + @include border-radius(50%); + float: left; + width: 40px; +} + +.contacts-list-info { + color: $white; + margin-left: 45px; +} + +.contacts-list-name, +.contacts-list-status { + display: block; +} + +.contacts-list-name { + font-weight: 600; +} + +.contacts-list-status { + font-size: $font-size-sm; +} + +.contacts-list-date { + color: $gray-400; + font-weight: normal; +} + +.contacts-list-msg { + color: darken($gray-400, 10%); +} + +// Color variants +@each $name, $color in $theme-colors { + .direct-chat-#{$name} { + @include direct-chat-variant($color); + } +} + +@each $name, $color in $colors { + .direct-chat-#{$name} { + @include direct-chat-variant($color); + } +} diff --git a/css/scss/adminLTE/_dropdown.scss b/css/scss/adminLTE/_dropdown.scss new file mode 100644 index 0000000..ad01fd7 --- /dev/null +++ b/css/scss/adminLTE/_dropdown.scss @@ -0,0 +1,272 @@ +// +// Component: Dropdown +// + +// General Dropdown Rules +//.dropdown-item { +// &:first-of-type { +// @include border-top-radius($border-radius); +// } +// &:last-of-type { +// @include border-bottom-radius($border-radius); +// } +//} + +.text-sm { + .dropdown-menu { + font-size: $font-size-sm !important; + } + + .dropdown-toggle::after { + vertical-align: .2rem + } +} + +.dropdown-item-title { + font-size: $font-size-base; + margin: 0; +} + +.dropdown-icon { + &::after { + margin-left: 0; + } +} + +// Dropdown Sizes +.dropdown-menu-lg { + max-width: 300px; + min-width: 280px; + padding: 0; + + .dropdown-divider { + margin: 0; + } + + .dropdown-item { + padding: $dropdown-padding-y $dropdown-item-padding-x; + } + + p { + margin: 0; + white-space: normal; + } +} + +// Dropdown Submenu +.dropdown-submenu { + position: relative; + + & > a:after { + @include caret-right; + float: right; + margin-left: .5rem; + margin-top: .5rem; + } + + & > .dropdown-menu { + left: 100%; + margin-left: 0px; + margin-top: 0px; + top: 0; + } +} + +// Dropdown Hover +.dropdown-hover { + &:hover, + &.nav-item.dropdown:hover, + .dropdown-submenu:hover, + &.dropdown-submenu:hover { + > .dropdown-menu { + display: block; + } + } +} + + + +// Dropdown Sizes +.dropdown-menu-xl { + max-width: 420px; + min-width: 360px; + padding: 0; + + .dropdown-divider { + margin: 0; + } + + .dropdown-item { + padding: $dropdown-padding-y $dropdown-item-padding-x; + } + + p { + margin: 0; + white-space: normal; + } +} + +// Dropdown header and footer +.dropdown-footer, +.dropdown-header { + display: block; + font-size: $font-size-sm; + padding: .5rem $dropdown-item-padding-x; + text-align: center; +} + +// Add fade animation to dropdown menus by appending +// the class .animated-dropdown-menu to the .dropdown-menu ul (or ol) +.open:not(.dropup) > .animated-dropdown-menu { + @include animation(flipInX .7s both); + backface-visibility: visible !important; +} + +@keyframes flipInX { + 0% { + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transition-timing-function: ease-in; + opacity: 0; + } + + 40% { + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transition-timing-function: ease-in; + } + + 60% { + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + 100% { + transform: perspective(400px); + } +} + +// Fix dropdown menu in navbars +.navbar-custom-menu > .navbar-nav { + > li { + position: relative; + > .dropdown-menu { + position: absolute; + right: 0; + left: auto; + } + } +} + +@include media-breakpoint-down(sm) { + .navbar-custom-menu > .navbar-nav { + float: right; + > li { + position: static; + > .dropdown-menu { + position: absolute; + right: 5%; + left: auto; + border: 1px solid #ddd; + background: $white; + } + } + } +} + +// User Menu +.navbar-nav > .user-menu { + > .nav-link:after { + content:none; + } + + > .dropdown-menu { + @include border-top-radius(0); + padding: 0; + width: 280px; + + &, + > .user-body { + @include border-bottom-radius(4px); + } + + // Header menu + > li.user-header { + height: 175px; + padding: 10px; + text-align: center; + + // User image + > img { + z-index: 5; + height: 90px; + width: 90px; + border: 3px solid; + border-color: transparent; + border-color: rgba(255, 255, 255, 0.2); + } + + > p { + z-index: 5; + font-size: 17px; + //text-shadow: 2px 2px 3px #333333; + margin-top: 10px; + + > small { + display: block; + font-size: 12px; + } + } + } + + // Menu Body + > .user-body { + @include clearfix; + border-bottom: 1px solid $gray-700; + border-top: 1px solid $gray-300; + padding: 15px; + + a { + @include media-breakpoint-up(sm) { + background: $white !important; + color: $gray-700 !important; + } + } + } + + // Menu Footer + > .user-footer { + @include clearfix; + background-color: $gray-100; + padding: 10px; + + .btn-default { + color: $gray-600; + + &:hover { + @include media-breakpoint-up(sm) { + background-color: $gray-100; + } + } + } + } + } + + .user-image { + @include media-breakpoint-up(sm) { + float: none; + line-height: 10px; + margin-right: .4rem; + margin-top: -8px; + } + + border-radius: 50%; + float: left; + height: $sidebar-user-image-width; + margin-right: 10px; + margin-top: -2px; + width: $sidebar-user-image-width; + } +} diff --git a/css/scss/adminLTE/_elevation.scss b/css/scss/adminLTE/_elevation.scss new file mode 100644 index 0000000..56d06d5 --- /dev/null +++ b/css/scss/adminLTE/_elevation.scss @@ -0,0 +1,14 @@ +// +// Component: Elevation +// + +.elevation-0 { + box-shadow: none !important; +} + +// Background colors (colors) +@each $name, $value in $elevations { + .elevation-#{$name} { + box-shadow: $value !important; + } +} diff --git a/css/scss/adminLTE/_forms.scss b/css/scss/adminLTE/_forms.scss new file mode 100644 index 0000000..06fcd6e --- /dev/null +++ b/css/scss/adminLTE/_forms.scss @@ -0,0 +1,277 @@ +// +// Component: Forms +// + +.form-group { + &.has-icon { + position: relative; + + .form-control { + padding-right: 35px; + } + + .form-icon { + background-color: transparent; + border: 0; + cursor: pointer; + font-size: 1rem; + // margin-top: -3px; + padding: $input-btn-padding-y $input-btn-padding-x; + position: absolute; + right: 3px; + top: 0; + } + } +} + +// Button groups +.btn-group-vertical { + .btn { + &.btn-flat:first-of-type, + &.btn-flat:last-of-type { + @include border-radius(0); + } + } +} + +// Support icons in form-control +.form-control-feedback { + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + line-height: $input-height; + } +} + +.input-lg + .form-control-feedback, +.input-group-lg + .form-control-feedback { + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + line-height: $input-height-lg; + } +} + +.form-group-lg { + .form-control + .form-control-feedback { + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + line-height: $input-height-lg; + } + } +} + +.input-sm + .form-control-feedback, +.input-group-sm + .form-control-feedback { + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + line-height: $input-height-sm; + } +} + +.form-group-sm { + .form-control + .form-control-feedback { + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + line-height: $input-height-sm; + } + } +} + +label:not(.form-check-label):not(.custom-file-label) { + //font-weight: $font-weight-bold; +} + +.warning-feedback { + @include font-size($form-feedback-font-size); + color: theme-color('warning'); + display: none; + margin-top: $form-feedback-margin-top; + width: 100%; +} + +.warning-tooltip { + @include border-radius($form-feedback-tooltip-border-radius); + @include font-size($form-feedback-tooltip-font-size); + background-color: rgba(theme-color('warning'), $form-feedback-tooltip-opacity); + color: color-yiq(theme-color('warning')); + display: none; + line-height: $form-feedback-tooltip-line-height; + margin-top: .1rem; + max-width: 100%; // Contain to parent when possible + padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x; + position: absolute; + top: 100%; + z-index: 5; +} + +.form-control { + &.is-warning { + border-color: theme-color('warning'); + + @if $enable-validation-icons { + // padding-right: $input-height-inner; + // background-image: none; + // background-repeat: no-repeat; + // background-position: center right $input-height-inner-quarter; + // background-size: $input-height-inner-half $input-height-inner-half; + } + + &:focus { + border-color: theme-color('warning'); + box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + } + + ~ .warning-feedback, + ~ .warning-tooltip { + display: block; + } + } +} + +// stylelint-disable-next-line selector-no-qualifying-type +textarea.form-control { + &.is-warning { + @if $enable-validation-icons { + padding-right: $input-height-inner; + background-position: top $input-height-inner-quarter right $input-height-inner-quarter; + } + } +} + +.custom-select { + &.is-warning { + border-color: theme-color('warning'); + + @if $enable-validation-icons { + // padding-right: $custom-select-feedback-icon-padding-right; + // background: $custom-select-background, none $custom-select-bg no-repeat $custom-select-feedback-icon-position / $custom-select-feedback-icon-size; + } + + &:focus { + border-color: theme-color('warning'); + box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + } + + ~ .warning-feedback, + ~ .warning-tooltip { + display: block; + } + } +} + + +.form-control-file { + &.is-warning { + ~ .warning-feedback, + ~ .warning-tooltip { + display: block; + } + } +} + +.form-check-input { + &.is-warning { + ~ .form-check-label { + color: theme-color('warning'); + } + + ~ .warning-feedback, + ~ .warning-tooltip { + display: block; + } + } +} + +.custom-control-input.is-warning { + ~ .custom-control-label { + color: theme-color('warning'); + + &::before { + border-color: theme-color('warning'); + } + } + + ~ .warning-feedback, + ~ .warning-tooltip { + display: block; + } + + &:checked { + ~ .custom-control-label::before { + @include gradient-bg(lighten(theme-color('warning'), 10%)); + border-color: lighten(theme-color('warning'), 10%); + } + } + + &:focus { + ~ .custom-control-label::before { + box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + } + + &:not(:checked) ~ .custom-control-label::before { + border-color: theme-color('warning'); + } + } +} + +// custom file +.custom-file-input { + &.is-warning { + ~ .custom-file-label { + border-color: theme-color('warning'); + } + + ~ .warning-feedback, + ~ .warning-tooltip { + display: block; + } + + &:focus { + ~ .custom-file-label { + border-color: theme-color('warning'); + box-shadow: 0 0 0 $input-focus-width rgba(theme-color('warning'), .25); + } + } + } +} + +// custom switch color variations +.custom-switch { + @each $name, $color in $theme-colors { + @include custom-switch-variant($name, $color); + } + + @each $name, $color in $colors { + @include custom-switch-variant($name, $color); + } +} + +// custom range color variations +.custom-range { + @each $name, $color in $theme-colors { + @include custom-range-variant($name, $color); + } + + @each $name, $color in $colors { + @include custom-range-variant($name, $color); + } +} diff --git a/css/scss/adminLTE/_info-box.scss b/css/scss/adminLTE/_info-box.scss new file mode 100644 index 0000000..6366dbe --- /dev/null +++ b/css/scss/adminLTE/_info-box.scss @@ -0,0 +1,146 @@ +// +// Component: Info Box +// + +.info-box { + @include box-shadow($card-shadow); + @include border-radius($border-radius); + + background: $white; + display: flex; + margin-bottom: map-get($spacers, 3); + min-height: 80px; + padding: .5rem; + position: relative; + width: 100%; + + .progress { + background-color: rgba($black, .125); + height: 2px; + margin: 5px 0; + + .progress-bar { + background-color: $white; + } + } + + .info-box-icon { + @if $enable-rounded { + border-radius: $border-radius; + } + + align-items: center; + display: flex; + font-size: 1.875rem; + justify-content: center; + text-align: center; + width: 70px; + + > img { + max-width: 100%; + } + } + + .info-box-content { + display: flex; + flex-direction: column; + justify-content: center; + line-height: 120%; + flex: 1; + padding: 0 10px; + } + + .info-box-number { + display: block; + margin-top: .25rem; + font-weight: $font-weight-bold; + } + + .progress-description, + .info-box-text { + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + + @each $name, $color in $theme-colors { + .info-box { + .bg-#{$name}, + .bg-gradient-#{$name} { + color: color-yiq($color); + + .progress-bar { + background-color: color-yiq($color); + } + } + } + } + + .info-box-more { + display: block; + } + + .progress-description { + margin: 0; + + } + + @include media-breakpoint-up(md) { + .col-xl-2 &, + .col-lg-2 &, + .col-md-2 & { + .progress-description { + display: none; + } + } + + .col-xl-3 &, + .col-lg-3 &, + .col-md-3 & { + .progress-description { + display: none; + } + } + } + + @include media-breakpoint-up(lg) { + .col-xl-2 &, + .col-lg-2 &, + .col-md-2 & { + .progress-description { + @include font-size(.75rem); + display: block; + } + } + + .col-xl-3 &, + .col-lg-3 &, + .col-md-3 & { + .progress-description { + @include font-size(.75rem); + display: block; + } + } + } + + @include media-breakpoint-up(xl) { + .col-xl-2 &, + .col-lg-2 &, + .col-md-2 & { + .progress-description { + @include font-size(1rem); + display: block; + } + } + + .col-xl-3 &, + .col-lg-3 &, + .col-md-3 & { + .progress-description { + @include font-size(1rem); + display: block; + } + } + } +} diff --git a/css/scss/adminLTE/_layout.scss b/css/scss/adminLTE/_layout.scss new file mode 100644 index 0000000..300ba75 --- /dev/null +++ b/css/scss/adminLTE/_layout.scss @@ -0,0 +1,676 @@ +// +// Core: Layout +// + +html.scroll-smooth { + scroll-behavior: smooth; +} + +body{ + font-family: s-core-dream;font-weight: 400; -webkit-font-smoothing: antialiased;background: $primary; +} + +@include media-breakpoint-down(md) { + body{ + background: $primary; + } + .container-fluid{padding: 0;} +} + +html, +body, +.wrapper { + min-height: 100%; +} + +.wrapper { + position: relative; + + & .content-wrapper { + min-height: calc(100vh - #{$main-header-height} - #{$main-footer-height}); + } + + .layout-boxed & { + @include box-shadow(0 0 10 rgba($black, .3)); + + &, + &::before { + margin: 0 auto; + max-width: $boxed-layout-max-width; + } + + & .main-sidebar { + left: inherit; + } + } + + @supports not (-webkit-touch-callout: none) { + .layout-fixed & .sidebar { + height: calc(100vh - (#{$main-header-height-inner} + #{$main-header-bottom-border-width})); + } + .layout-fixed.text-sm & .sidebar { + height: calc(100vh - (#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width})); + } + } + + .layout-navbar-fixed.layout-fixed & { + .control-sidebar { + top: $main-header-height; + } + + .main-header.text-sm ~ .control-sidebar { + top: $main-header-height-sm; + } + + .sidebar { + margin-top: $main-header-height; + } + + .brand-link.text-sm ~ .sidebar { + margin-top: $main-header-height-sm; + } + } + + .layout-navbar-fixed.layout-fixed.text-sm & { + .control-sidebar { + top: $main-header-height-sm; + } + + .sidebar { + margin-top: $main-header-height-sm; + } + } + + .layout-navbar-fixed.sidebar-mini.sidebar-collapse &, + .layout-navbar-fixed.sidebar-mini-md.sidebar-collapse & { + .brand-link { + height: $main-header-height; + width: $sidebar-mini-width; + + &.text-sm { + height: $main-header-height-sm; + } + } + } + + .layout-navbar-fixed.sidebar-mini.sidebar-collapse.text-sm &, + .layout-navbar-fixed.sidebar-mini-md.sidebar-collapse.text-sm & { + .brand-link { + height: $main-header-height-sm; + } + } + + body:not(.layout-fixed).layout-navbar-fixed & { + .main-sidebar { + // margin-top: calc(#{$main-header-height} / -1); + + // .sidebar { + // margin-top: $main-header-height; + // } + } + } + + body:not(.layout-fixed).layout-navbar-fixed.text-sm & { + .main-sidebar { + margin-top: calc(#{$main-header-height-sm} / -1); + + .sidebar { + margin-top: $main-header-height-sm; + } + } + } + + .layout-navbar-fixed & { + .control-sidebar { + top: 0; + } + + a.anchor { + display: block; + position: relative; + top: calc((#{$main-header-height-inner} + #{$main-header-bottom-border-width} + (#{$main-header-link-padding-y} * 2)) / -1); + } + + .main-sidebar:hover { + .brand-link { + transition: width $transition-speed $transition-fn; + width: $sidebar-width; + } + } + + .brand-link { + overflow: hidden; + position: fixed; + top: 0; + transition: width $transition-speed $transition-fn; + width: $sidebar-width; + z-index: $zindex-main-header + 1; + } + + // Sidebar variants brand-link fix + @each $name, $color in $theme-colors { + .sidebar-dark-#{$name} .brand-link:not([class*="navbar"]) { + background-color: $sidebar-dark-bg; + } + + .sidebar-light-#{$name} .brand-link:not([class*="navbar"]) { + background-color: $sidebar-light-bg; + } + } + + .content-wrapper { + margin-top: $main-header-height; + } + + .main-header.text-sm ~ .content-wrapper { + margin-top: $main-header-height-sm; + } + + .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: $zindex-main-header - 1; + } + } + + .layout-navbar-fixed.text-sm & { + .content-wrapper { + margin-top: $main-header-height-sm; + } + } + + .layout-navbar-not-fixed & { + .brand-link { + position: static; + } + + .sidebar, + .content-wrapper { + margin-top: 0; + } + + .main-header { + position: static; + } + } + + .layout-navbar-not-fixed.layout-fixed & { + .sidebar { + margin-top: 0; + } + } + + @each $breakpoint in map-keys($grid-breakpoints) { + @include media-breakpoint-up($breakpoint) { + $infix: breakpoint-infix($breakpoint, $grid-breakpoints); + + .layout#{$infix}-navbar-fixed.layout-fixed & { + .control-sidebar { + top: $main-header-height; + } + + .text-sm & .main-header ~ .control-sidebar, + .main-header.text-sm ~ .control-sidebar { + top: $main-header-height-sm; + } + + .sidebar { + margin-top: $main-header-height; + } + + .text-sm & .brand-link ~ .sidebar, + .brand-link.text-sm ~ .sidebar { + margin-top: $main-header-height-sm; + } + } + + .layout#{$infix}-navbar-fixed.layout-fixed.text-sm & { + .control-sidebar { + top: $main-header-height-sm; + } + + .sidebar { + margin-top: $main-header-height-sm; + } + } + + .layout#{$infix}-navbar-fixed & { + .control-sidebar { + top: 0; + } + + a.anchor { + display: block; + position: relative; + top: calc((#{$main-header-height-inner} + #{$main-header-bottom-border-width} + (#{$main-header-link-padding-y} * 2)) / -1); + } + + &.sidebar-collapse { + .brand-link { + height: $main-header-height; + transition: width $transition-speed $transition-fn; + width: $sidebar-mini-width; + + .text-sm &, + &.text-sm { + height: $main-header-height-sm; + } + } + + .main-sidebar:hover { + .brand-link { + transition: width $transition-speed $transition-fn; + width: $sidebar-width; + } + } + } + + .brand-link { + overflow: hidden; + position: fixed; + top: 0; + transition: width $transition-speed $transition-fn; + width: $sidebar-width; + z-index: $zindex-main-header + 1; + } + + // Sidebar variants brand-link fix + @each $name, $color in $theme-colors { + .sidebar-dark-#{$name} .brand-link:not([class*="navbar"]) { + background-color: $sidebar-dark-bg; + } + + .sidebar-light-#{$name} .brand-link:not([class*="navbar"]) { + background-color: $sidebar-light-bg; + } + } + + .content-wrapper { + margin-top: $main-header-height; + } + + .text-sm & .main-header ~ .content-wrapper, + .main-header.text-sm ~ .content-wrapper { + margin-top: $main-header-height-sm; + } + + .main-header { + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: $zindex-main-sidebar - 1; + } + } + + .layout#{$infix}-navbar-fixed.text-sm & { + .content-wrapper { + margin-top: $main-header-height-sm; + } + } + + body:not(.layout-fixed).layout#{$infix}-navbar-fixed & { + // .main-sidebar { + // margin-top: calc(#{$main-header-height} / -1); + + // .sidebar { + // margin-top: $main-header-height; + // } + // } + } + + body:not(.layout-fixed).layout#{$infix}-navbar-fixed.text-sm & { + .main-sidebar { + margin-top: calc(#{$main-header-height-sm} / -1); + + .sidebar { + margin-top: $main-header-height-sm; + } + } + } + + .layout#{$infix}-navbar-not-fixed & { + .brand-link { + position: static; + } + + .sidebar, + .content-wrapper { + margin-top: 0; + } + + .main-header { + position: static; + } + } + + .layout#{$infix}-navbar-not-fixed.layout-fixed & { + .sidebar { + margin-top: 0; + } + } + } + } + + .layout-footer-fixed & { + .control-sidebar { + bottom: 0; + } + } + + .layout-footer-fixed & { + .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: $zindex-main-footer; + } + } + + .layout-footer-not-fixed & { + .main-footer { + position: static; + } + + .content-wrapper { + margin-bottom: 0; + } + } + + @each $breakpoint in map-keys($grid-breakpoints) { + @include media-breakpoint-up($breakpoint) { + $infix: breakpoint-infix($breakpoint, $grid-breakpoints); + .layout#{$infix}-footer-fixed & { + .control-sidebar { + bottom: 0; + } + } + + .layout#{$infix}-footer-fixed & { + .main-footer { + bottom: 0; + left: 0; + position: fixed; + right: 0; + z-index: $zindex-main-footer; + } + + .content-wrapper { + padding-bottom: $main-footer-height; + } + } + + .layout#{$infix}-footer-not-fixed & { + .main-footer { + position: static; + } + } + } + } + + .layout-top-nav & { + margin-left: 0; + + .main-header { + .brand-image { + margin-top: -.5rem; + margin-right: .2rem; + height: 33px; + } + } + + & .main-sidebar { + bottom: inherit; + height: inherit; + } + + & .content-wrapper, + & .main-header, + & .main-footer { + margin-left: 0; + } + } +} + + +body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) { + .content-wrapper, + .main-footer, + .main-header { + &, + &::before { + margin-left: 0; + } + } +} + +body:not(.sidebar-mini-md) { + .content-wrapper, + .main-footer, + .main-header { + @include media-breakpoint-up(md) { + @include transition(margin-left $transition-speed $transition-fn); + + margin-left: $sidebar-width; + + .sidebar-collapse & { + margin-left: 0; + } + } + + @include media-breakpoint-down(md) { + &, + &::before { + margin-left: 0; + } + } + } +} + +.sidebar-mini-md { + .content-wrapper, + .main-footer, + .main-header { + @include media-breakpoint-up(md) { + @include transition(margin-left $transition-speed $transition-fn); + + margin-left: $sidebar-width; + + .sidebar-collapse & { + margin-left: $sidebar-mini-width; + } + } + + @include media-breakpoint-down(md) { + &, + &::before { + margin-left: $sidebar-mini-width; + } + } + } +} + +.content-wrapper { + //background: $main-bg; + .content-body{ + padding: 0 0 0 $content-padding-x; + } + .content{background: #f6f6f2; border-radius: 5px 0 0 5px;padding: 30px 20px;} +} +@include media-breakpoint-down(md) { + .content-wrapper { + .content-body{ + padding: 0; + } + .content{ + border-radius: 5px 5px 0 0;padding: 24px 24px 40px; + } + } +} + +.main-sidebar { + &, + &::before { + $local-sidebar-transition: margin-left $transition-speed $transition-fn, width $transition-speed $transition-fn; + @include transition($local-sidebar-transition); + width: $sidebar-width; + } + + .sidebar-collapse:not(.sidebar-mini):not(.sidebar-mini-md) & { + &, + &::before { + box-shadow: none !important; + } + } + + .sidebar-collapse & { + &, + &::before { + margin-left: -$sidebar-width; + } + + .nav-sidebar.nav-child-indent .nav-treeview { + padding: 0; + } + } + + @include media-breakpoint-down(sm) { + &, + &::before { + box-shadow: none !important; + margin-left: -$sidebar-width; + } + + .sidebar-open & { + &, + &::before { + margin-left: 0; + } + } + } +} + +:not(.layout-fixed) { + .main-sidebar { + height: inherit; + min-height: 100%; + position: absolute; + top: 0; + } +} + +.layout-fixed { + .brand-link { + width: $sidebar-width; + } + + .main-sidebar { + bottom: 0; + float: none; + height: 100vh; + left: 0; + position: fixed; + top: 0; + } + + .control-sidebar { + bottom: 0; + float: none; + height: 100vh; + position: fixed; + top: 0; + + .control-sidebar-content { + height: calc(100vh - #{$main-header-height}); + } + } +} + +@supports (-webkit-touch-callout: none) { + .layout-fixed { + .main-sidebar { + height: inherit; + } + } +} + +.main-footer { + //background: $main-footer-bg; + //border-top: $main-footer-border-top; + color: #e4dcd3; + padding: 12px 44px; + font-size: 11px; + + .text-sm &, + &.text-sm { + padding: $main-footer-padding-sm; + } +} +@include media-breakpoint-down(md) { + .main-footer { + padding: 10px 24px;font-size: 10px; + } +} + +.content-header { + padding: 20px $content-padding-x; + + .text-sm & { + padding: 10px $content-padding-x; + } + + h1 { + font-size: 1.8rem;line-height: 1.038;font-family: s-core-dream;font-weight: 700;margin: 0 0 8px 0; + font-size: 26px;letter-spacing: -0.26; + color: #fff; + + .text-sm & { + font-size: 1.5rem; + } + } + + .breadcrumb { + background: transparent; + line-height: 1.8rem; + margin-bottom: 3px; + padding: 0;align-items: center; + + .text-sm & { + line-height: 1.5rem; + } + } + @include media-breakpoint-down(md) { + .breadcrumb{margin-bottom: 0;} + } + + + .breadcrumb-item{ + color: #fff;font-size: 12px;line-height: 1.42; + & + .breadcrumb-item{ + padding: 0; + &::before{ + content: '';display: inline-block;padding: 0;margin: 0 12px; + width: 3px;height: 3px;background: #aacae6;vertical-align: middle; + } + } + .icon-home{vertical-align: middle;} + } +} + + + +.hold-transition { + .content-wrapper, + .main-header, + .main-sidebar, + .main-sidebar *, + .control-sidebar, + .control-sidebar *, + .main-footer { + transition: none !important; + animation-duration: 0s !important; + } +} diff --git a/css/scss/adminLTE/_main-header.scss b/css/scss/adminLTE/_main-header.scss new file mode 100644 index 0000000..accafac --- /dev/null +++ b/css/scss/adminLTE/_main-header.scss @@ -0,0 +1,141 @@ +// +// Component: Main Header +// + +.main-header { + padding-top: 0;padding-bottom: 0; + border-bottom: $main-header-bottom-border; + z-index: $zindex-main-header; + + .nav-link { + height: $nav-link-height; + position: relative; + } + + .text-sm &, + &.text-sm { + .nav-link { + height: $nav-link-sm-height; + padding: $nav-link-sm-padding-y $nav-link-padding-x; + + > .fa, + > .fas, + > .far, + > .fab, + > .glyphicon, + > .ion { + font-size: $font-size-sm; + } + } + + } + + .navbar-nav { + .nav-item { + + .nav-item{ + margin-left: 20px; + } + } + + &[class*='-right'] { + .dropdown-menu { + left: auto; + margin-top: -3px; + right: 0; + + @media (max-width: breakpoint-max(xs)) { + left: 0; + right: auto; + } + } + } + } +} + +// Add this class to images within a nav-link +.navbar-img { + height: $main-header-height / 2; + width: auto; +} + +// Navbar badge +.navbar-badge { + font-size: .6rem; + font-weight: 300; + padding: 2px 4px; + position: absolute; + right: 5px; + top: 9px; +} + +.btn-navbar { + background-color: transparent; + border-left-width: 0; +} + +.form-control-navbar { + border-right-width: 0; + + & + .input-group-append { + margin-left: 0; + } +} + +.form-control-navbar, +.btn-navbar { + transition: none; +} + +/* .navbar-dark { + .form-control-navbar, + .btn-navbar { + background-color: $main-header-dark-form-control-bg; + border: $main-header-dark-form-control-border; + } + + .form-control-navbar { + &::placeholder { + color: $main-header-dark-placeholder-color; + } + + + .input-group-append > .btn-navbar { + color: $main-header-dark-placeholder-color; + } + + &:focus { + &, + & + .input-group-append .btn-navbar { + background-color: $main-header-dark-form-control-focused-bg; + border: $main-header-dark-form-control-focused-border !important; + color: $main-header-dark-form-control-focused-color; + } + } + } +} + +.navbar-light { + .form-control-navbar, + .btn-navbar { + background-color: $main-header-light-form-control-bg; + border: $main-header-light-form-control-border; + } + + .form-control-navbar { + &::placeholder { + color: $main-header-light-placeholder-color; + } + + + .input-group-append > .btn-navbar { + color: $main-header-light-placeholder-color; + } + + &:focus { + &, + & + .input-group-append .btn-navbar { + background-color: $main-header-light-form-control-focused-bg; + border: $main-header-light-form-control-focused-border !important; + color: $main-header-light-form-control-focused-color; + } + } + } +} */ diff --git a/css/scss/adminLTE/_main-sidebar.scss b/css/scss/adminLTE/_main-sidebar.scss new file mode 100644 index 0000000..68dce86 --- /dev/null +++ b/css/scss/adminLTE/_main-sidebar.scss @@ -0,0 +1,671 @@ +// +// Component: Main Sidebar +// + +.main-sidebar { + height: 100vh; + overflow-y: hidden; + z-index: $zindex-main-sidebar; + background: #000; + + // Remove Firefox Focusring + a { + &:-moz-focusring { + border: 0; + outline: none; + } + } + +} + +.sidebar { + height: calc(100% - (#{$main-header-height-inner} + #{$main-header-bottom-border-width})); + overflow-y: auto; + padding-bottom: $sidebar-padding-y; + padding-left: $sidebar-padding-x; + padding-right: $sidebar-padding-x; + padding-top: $sidebar-padding-y; +} + +// Sidebar user panel +.user-panel { + position: relative; + + &, + .info { + overflow: hidden; + white-space: nowrap; + } + + .image { + display: inline-block; + padding-left: $nav-link-padding-x - .2; + } + + img { + height: auto; + width: $sidebar-user-image-width; + } + + .info { + display: inline-block; + padding: 5px 5px 5px 10px; + } + + .status, + .dropdown-menu { + font-size: $font-size-sm; + } +} + +// Sidebar navigation menu +.nav-sidebar { + // All levels + .nav-item { + > .nav-link { + //margin-bottom: .2rem; + color: #fff; + + .right { + @include transition(transform $transition-fn $transition-speed); + } + } + } + + .nav-link > .right, + .nav-link > p > .right { + position: absolute; + right: 1rem; + top: .7rem; + + i, + span { + margin-left: .5rem; + } + + &:nth-child(2) { + right: 2.2rem; + } + } + + .menu-open { + > .nav-treeview { + display: block; + } + + > .nav-link { + i.right { + @include rotate(-90deg); + } + } + } + + // First Level + > .nav-item { + margin-bottom: 0; + + .nav-icon { + margin-left: .05rem; + margin-right: .3rem; + text-align: center; + width: 2rem; + + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + font-size: 1.1rem; + } + } + + .float-right { + margin-top: 3px; + } + } + + // Tree view menu + .nav-treeview { + display: none; + list-style: none; + padding: 0; + + > .nav-item { + > .nav-link { + > .nav-icon { + //width: $sidebar-nav-icon-width; + } + } + } + } + + &.nav-child-indent { + .nav-treeview { + transition: padding $transition-speed $transition-fn; + padding-left: 1rem; + + .text-sm & { + padding-left: .5rem; + } + } + + &.nav-legacy { + .nav-treeview { + .nav-treeview { + padding-left: 2rem; + margin-left: -1rem; + + .text-sm & { + padding-left: 1rem; + margin-left: -.5rem; + } + } + } + } + } + + .nav-header { + font-size: .9rem; + padding: $nav-link-padding-y; + + &:not(:first-of-type) { + padding: 1.7rem 1rem .5rem; + } + } + + .nav-link p { + display: inline-block; + animation-name: fadeIn; + animation-duration: $transition-speed; + animation-fill-mode: both; + margin: 0; + } +} + +#sidebar-overlay { + @include media-breakpoint-down(md) { + .sidebar-open & { + display: block; + } + } + + background-color: rgba($black, 0.1); + bottom: 0; + display: none; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: $zindex-main-sidebar - 1; +} + + +.sidebar-mini .main-sidebar:not(.sidebar-no-expand), +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand), +.sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover, +.sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover, +.sidebar-mini .main-sidebar.sidebar-focused, +.sidebar-mini-md .main-sidebar.sidebar-focused { + .nav-compact.nav-sidebar.nav-child-indent:not(.nav-flat) .nav-treeview { + padding-left: 1rem; + margin-left: -.5rem; + } +} + +// Nav Flat +.nav-flat { + margin: (-$sidebar-padding-x/2) (-$sidebar-padding-x) 0; + + .nav-item { + > .nav-link { + border-radius: 0; + margin-bottom: 0; + + > .nav-icon { + margin-left: .55rem; + } + } + } + + &:not(.nav-child-indent) { + .nav-treeview { + .nav-item { + > .nav-link { + > .nav-icon { + margin-left: .4rem; + } + } + } + } + } + + &.nav-child-indent { + .nav-treeview { + padding-left: 0; + + .nav-icon { + margin-left: .85rem; + } + + .nav-treeview { + border-left: .2rem solid; + + .nav-icon { + margin-left: 1.15rem; + } + + .nav-treeview { + .nav-icon { + margin-left: 1.45rem; + } + + .nav-treeview { + .nav-icon { + margin-left: 1.75rem; + } + + .nav-treeview { + .nav-icon { + margin-left: 2.05rem; + } + } + } + } + } + } + } + + .sidebar-collapse &.nav-child-indent { + .nav-treeview { + .nav-icon { + margin-left: .55rem; + } + + .nav-link { + padding-left: calc(#{$nav-link-padding-x} - .2rem); + } + + .nav-treeview { + .nav-icon { + margin-left: .35rem; + } + + .nav-treeview { + .nav-icon { + margin-left: .15rem; + } + + .nav-treeview { + .nav-icon { + margin-left: -.15rem; + } + + .nav-treeview { + .nav-icon { + margin-left: -.35rem; + } + } + } + } + } + } + } + + .sidebar-mini .main-sidebar:not(.sidebar-no-expand):hover &, + .sidebar-mini-md .main-sidebar:not(.sidebar-no-expand):hover &, + .sidebar-mini .main-sidebar.sidebar-focused &, + .sidebar-mini-md .main-sidebar.sidebar-focused & { + &.nav-compact.nav-sidebar .nav-treeview { + .nav-icon { + margin-left: .4rem; + } + } + + &.nav-sidebar.nav-child-indent .nav-treeview { + .nav-icon { + margin-left: .85rem; + } + + .nav-treeview { + .nav-icon { + margin-left: 1.15rem; + } + + .nav-treeview { + .nav-icon { + margin-left: 1.45rem; + } + + .nav-treeview { + .nav-icon { + margin-left: 1.75rem; + } + + .nav-treeview { + .nav-icon { + margin-left: 2.05rem; + } + } + } + } + } + } + } + + .nav-icon { + @include transition(margin-left $transition-fn $transition-speed); + } + + .nav-treeview { + .nav-icon { + margin-left: -.2rem; + } + } + + &.nav-sidebar > .nav-item { + .nav-treeview, + > .nav-treeview { + background: rgba($white, .05); + + .nav-item { + > .nav-link { + border-left: .2rem solid; + } + } + } + } +} + +.nav-legacy { + margin: (-$sidebar-padding-x/2) (-$sidebar-padding-x) 0; + + &.nav-sidebar .nav-item { + > .nav-link { + border-radius: 0; + margin-bottom: 0; + + > .nav-icon { + margin-left: .55rem; + + .text-sm & { + margin-left: .75rem; + } + } + } + } + + &.nav-sidebar > .nav-item { + > .nav-link { + &.active { + background: inherit; + border-left: 3px solid transparent; + box-shadow: none; + + > .nav-icon { + margin-left: calc(.55rem - 3px); + + .text-sm & { + margin-left: calc(.75rem - 3px); + } + } + } + } + } + + .text-sm &.nav-sidebar.nav-flat .nav-treeview { + .nav-item { + > .nav-link { + > .nav-icon { + margin-left: calc(.75rem - 3px); + } + } + } + } + + .sidebar-mini &, + .sidebar-mini-md & { + > .nav-item .nav-link { + .nav-icon { + @include transition(margin-left $transition-fn $transition-speed); + margin-left: .75rem; + } + } + } + + .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused &.nav-child-indent, + .sidebar-mini.sidebar-collapse .main-sidebar:hover &.nav-child-indent, + .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused &.nav-child-indent, + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover &.nav-child-indent { + .nav-treeview { + padding-left: 1rem; + + .nav-treeview { + padding-left: 2rem; + margin-left: -1rem; + } + } + } + + .sidebar-mini.sidebar-collapse.text-sm .main-sidebar.sidebar-focused &.nav-child-indent, + .sidebar-mini.sidebar-collapse.text-sm .main-sidebar:hover &.nav-child-indent, + .sidebar-mini-md.sidebar-collapse.text-sm .main-sidebar.sidebar-focused &.nav-child-indent, + .sidebar-mini-md.sidebar-collapse.text-sm .main-sidebar:hover &.nav-child-indent { + .nav-treeview { + padding-left: .5rem; + + .nav-treeview { + padding-left: 1rem; + margin-left: -.5rem; + } + } + } + + .sidebar-mini.sidebar-collapse &, + .sidebar-mini-md.sidebar-collapse & { + > .nav-item > .nav-link { + .nav-icon { + margin-left: .55rem; + } + + &.active { + > .nav-icon{ + margin-left: .36rem; + } + } + } + + &.nav-child-indent { + .nav-treeview { + .nav-treeview { + padding-left: 0; + margin-left: 0; + } + } + } + } + + + .sidebar-mini.sidebar-collapse.text-sm &, + .sidebar-mini-md.sidebar-collapse.text-sm & { + > .nav-item > .nav-link { + .nav-icon { + margin-left: .75rem; + } + + &.active { + > .nav-icon{ + margin-left: calc(.75rem - 3px); + } + } + } + } + + /* [class*='sidebar-dark'] & { + &.nav-sidebar > .nav-item { + .nav-treeview, + > .nav-treeview { + background: rgba($white, .05); + } + + > .nav-link.active { + color: $sidebar-dark-active-color; + } + } + + .nav-treeview > .nav-item > .nav-link { + &.active, + &:focus, + &:hover { + background: none; + color: $sidebar-dark-active-color; + } + } + } + + [class*='sidebar-light'] & { + &.nav-sidebar > .nav-item { + .nav-treeview, + > .nav-treeview { + background: rgba($black, .05); + } + + > .nav-link.active { + color: $sidebar-light-active-color; + } + } + + .nav-treeview > .nav-item > .nav-link { + &.active, + &:focus, + &:hover { + background: none; + color: $sidebar-light-active-color; + } + } + } */ +} + + +.nav-collapse-hide-child { + .menu-open > .nav-treeview { + max-height: min-content; + animation-name: fadeIn; + animation-duration: $transition-speed; + animation-fill-mode: both; + } + + .sidebar-collapse & { + .menu-open > .nav-treeview { + max-height: 0; + animation-name: fadeOut; + animation-duration: $transition-speed; + animation-fill-mode: both; + } + } + + .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused &, + .sidebar-mini.sidebar-collapse .main-sidebar:hover &, + .sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused &, + .sidebar-mini-md.sidebar-collapse .main-sidebar:hover & { + .menu-open > .nav-treeview { + max-height: min-content; + animation-name: fadeIn; + animation-duration: $transition-speed; + animation-fill-mode: both; + } + } +} + +// Nav Compact +.nav-compact { + .nav-link, + .nav-header { + padding-top: ($nav-link-padding-y / 2); + padding-bottom: ($nav-link-padding-y / 2); + } + + .nav-header:not(:first-of-type) { + padding-top: ($nav-link-padding-y * 1.5); + padding-bottom: ($nav-link-padding-y / 2); + } + + .nav-link > .right, + .nav-link > p > .right { + top: .465rem; + } + + .text-sm & { + .nav-link > .right, + .nav-link > p > .right { + top: .7rem; + } + } +} + +// Sidebar Form Control +/* [class*='sidebar-dark'] { + .form-control-sidebar, + .btn-sidebar { + background: lighten($sidebar-dark-bg, 5%); + border: 1px solid lighten($sidebar-dark-bg, 15%); + color: lighten(color-yiq(lighten($sidebar-dark-bg, 5%)), 15%); + } + + .form-control-sidebar:focus, + .btn-sidebar:focus { + border: 1px solid lighten($sidebar-dark-bg, 30%); + } + + .btn-sidebar:hover { + background: lighten($sidebar-dark-bg, 7.5%); + } + + .btn-sidebar:focus { + background: lighten($sidebar-dark-bg, 10%); + } +} */ + +/* [class*='sidebar-light'] { + .form-control-sidebar, + .btn-sidebar { + background: darken($sidebar-light-bg, 5%); + border: 1px solid darken($sidebar-light-bg, 15%); + color: color-yiq(darken($sidebar-light-bg, 5%)); + } + + .form-control-sidebar:focus, + .btn-sidebar:focus { + border: 1px solid darken($sidebar-light-bg, 30%); + } + + .btn-sidebar:hover { + background: darken($sidebar-light-bg, 7.5%); + } + + .btn-sidebar:focus { + background: darken($sidebar-light-bg, 10%); + } +} */ + +// Sidebar inline input-group fix +.sidebar .form-inline .input-group { + width: 100%; +} +.sidebar nav .form-inline { + margin-bottom: .2rem; +} + +// Sidebar Collapse on Layout Boxed + +.layout-boxed { + &.sidebar-collapse .main-sidebar { + margin-left: 0; + } + .content-wrapper, + .main-header, + .main-footer { + z-index: 9999; + position: relative; + } +} diff --git a/css/scss/adminLTE/_miscellaneous.scss b/css/scss/adminLTE/_miscellaneous.scss new file mode 100644 index 0000000..d3ed4f7 --- /dev/null +++ b/css/scss/adminLTE/_miscellaneous.scss @@ -0,0 +1,479 @@ +// +// Misc: Miscellaneous +// + +.border-transparent { + border-color: transparent !important; +} + +// Description Blocks +.description-block { + display: block; + margin: 10px 0; + text-align: center; + + &.margin-bottom { + margin-bottom: 25px; + } + + > .description-header { + font-size: 16px; + font-weight: 600; + margin: 0; + padding: 0; + } + + > .description-text { + text-transform: uppercase; + } + + // Description Block Extension + .description-icon { + font-size: 16px; + } +} + +// List utility classes +.list-group-unbordered { + > .list-group-item { + border-left: 0; + border-radius: 0; + border-right: 0; + padding-left: 0; + padding-right: 0; + } +} + +.list-header { + color: $gray-600; + font-size: 15px; + font-weight: bold; + padding: 10px 4px; +} + +.list-seperator { + background: $card-border-color; + height: 1px; + margin: 15px 0 9px; +} + +.list-link { + > a { + color: $gray-600; + padding: 4px; + + &:hover { + color: $gray-900; + } + } +} + +// User block +.user-block { + float: left; + + img { + float: left; + height: 40px; + width: 40px; + } + + .username, + .description, + .comment { + display: block; + margin-left: 50px; + } + + .username { + font-size: 16px; + font-weight: 600; + margin-top: -1px; + } + + .description { + color: $gray-600; + font-size: 13px; + margin-top: -3px; + } + + &.user-block-sm { + img { + width: $img-size-sm; + height: $img-size-sm; + } + + .username, + .description, + .comment { + margin-left: 40px; + } + + .username { + font-size: 14px; + } + } +} + +// Image sizes +.img-sm, +.img-md, +.img-lg { + float: left; +} + +.img-sm { + height: $img-size-sm; + width: $img-size-sm; + + + .img-push { + margin-left: $img-size-sm + $img-size-push; + } +} + +.img-md { + width: $img-size-md; + height: $img-size-md; + + + .img-push { + margin-left: $img-size-md + $img-size-push; + } +} + +.img-lg { + width: $img-size-lg; + height: $img-size-lg; + + + .img-push { + margin-left: $img-size-lg + $img-size-push; + } +} + +// Image bordered +.img-bordered { + border: 3px solid $gray-500; + padding: 3px; +} + +.img-bordered-sm { + border: 2px solid $gray-500; + padding: 2px; +} + +// Rounded and Circle Images +.img-rounded { + @include border-radius($border-radius) +} + +.img-circle { + @include border-radius(50%); +} + +// Image sizes +.img-size-64, +.img-size-50, +.img-size-32 { + height: auto; +} + +.img-size-64 { + width: 64px; +} + +.img-size-50 { + width: 50px; +} + +.img-size-32 { + width: 32px; +} + +// Block sizes +.size-32, +.size-40, +.size-50 { + display: block; + text-align: center; +} + +.size-32 { + height: 32px; + line-height: 32px; + width: 32px; +} + +.size-40 { + height: 40px; + line-height: 40px; + width: 40px; +} + +.size-50 { + height: 50px; + line-height: 50px; + width: 50px; +} + +// General attachemnt block +.attachment-block { + background: $gray-100; + border: 1px solid $card-border-color; + margin-bottom: 10px; + padding: 5px; + + .attachment-img { + float: left; + height: auto; + max-height: 100px; + max-width: 100px; + } + + .attachment-pushed { + margin-left: 110px; + } + + .attachment-heading { + margin: 0; + } + + .attachment-text { + color: $gray-700; + } +} + +// Overlays for Card, InfoBox & SmallBox +.card, +.overlay-wrapper, +.info-box, +.small-box { + // Box overlay for LOADING STATE effect + > .overlay, + > .loading-img { + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + } + + .overlay { + @include border-radius($border-radius); + align-items: center; + background: rgba($white, 0.7); + display: flex; + justify-content: center; + z-index: 50; + + > .fa, + > .fas, + > .far, + > .fab, + > .glyphicon, + > .ion { + color: $gray-800; + } + + &.dark { + background: rgba($black, 0.5); + + > .fa, + > .fas, + > .far, + > .fab, + > .glyphicon, + > .ion { + color: $gray-400; + } + } + } +} + +.tab-pane { + // Box overlay for LOADING STATE effect on Tab Panels + > .overlay-wrapper { + position: relative; + > .overlay { + border-top-left-radius: 0; + border-top-right-radius: 0; + flex-direction: column; + margin-top: -$card-spacer-x; + margin-left: -$card-spacer-x; + height: calc(100% + 2 * #{$card-spacer-x}); + width: calc(100% + 2 * #{$card-spacer-x}); + + &.dark { + color: $white; + } + } + } +} + +// Ribbon +.ribbon-wrapper { + height: $ribbon-wrapper-size; + overflow: hidden; + position: absolute; + right: -2px; + top: -2px; + width: $ribbon-wrapper-size; + z-index: 10; + + &.ribbon-lg { + height: $ribbon-lg-wrapper-size; + width: $ribbon-lg-wrapper-size; + + .ribbon { + right: $ribbon-lg-right; + top: $ribbon-lg-top; + width: $ribbon-lg-width; + } + } + + &.ribbon-xl { + height: $ribbon-xl-wrapper-size; + width: $ribbon-xl-wrapper-size; + + .ribbon { + right: $ribbon-xl-right; + top: $ribbon-xl-top; + width: $ribbon-xl-width; + } + } + + .ribbon { + box-shadow: 0 0 $ribbon-border-size rgba($black, .3); + font-size: $ribbon-font-size; + line-height: $ribbon-line-height; + padding: $ribbon-padding; + position: relative; + right: $ribbon-right; + text-align: center; + text-shadow: 0 -1px 0 rgba($black, .4); + text-transform: uppercase; + top: $ribbon-top; + transform: rotate(45deg); + width: $ribbon-width; + + &::before, + &::after { + border-left: $ribbon-border-size solid transparent; + border-right: $ribbon-border-size solid transparent; + border-top: $ribbon-border-size solid #9e9e9e; + bottom: -$ribbon-border-size; + content: ''; + position: absolute; + } + + &::before { + left: 0; + } + + &::after { + right: 0; + } + } +} + +// Scroll To Top +.back-to-top { + bottom: 1.25rem; + position: fixed; + right: 1.25rem; + z-index: $zindex-control-sidebar + 1; + + &:focus { + box-shadow: none; + } +} + +// Pre +pre { + padding: .75rem; +} + +// Blockquotes styles +blockquote { + background: $white; + border-left: .7rem solid $primary; + margin: 1.5em .7rem; + padding: 0.5em .7rem; + + .box & { + background: $gray-200; + } + + p:last-child { + margin-bottom: 0; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + color: $primary; + font-size: 1.25rem; + font-weight: 600; + } + + @each $color, $value in $theme-colors { + &.quote-#{$color} { + border-color: $value; + + h1, + h2, + h3, + h4, + h5, + h6 { + color: $value; + } + } + } + + @each $color, $value in $colors { + &.quote-#{$color} { + border-color: $value; + + h1, + h2, + h3, + h4, + h5, + h6 { + color: $value; + } + } + } +} + + +// Tab Custom Content + +.tab-custom-content { + border-top: $nav-tabs-border-width solid $nav-tabs-border-color; + margin-top: .5rem; + padding-top: .5rem; +} + +.nav + .tab-custom-content { + border-top: none; + border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color; + margin-top: 0; + margin-bottom: .5rem; + padding-bottom: .5rem; +} + + +// Badge BTN Style +.badge-btn { + border-radius: $button-border-radius-xs; + font-size: $button-font-size-xs; + font-weight: 400; + padding: $button-padding-y-xs*2 $button-padding-x-xs*2; +} + +.badge-btn.badge-pill { + padding: .375rem .6rem; +} diff --git a/css/scss/adminLTE/_mixins.scss b/css/scss/adminLTE/_mixins.scss new file mode 100644 index 0000000..147a0da --- /dev/null +++ b/css/scss/adminLTE/_mixins.scss @@ -0,0 +1,13 @@ +// +// General: Mixins +// + +@import 'mixins/cards'; +@import 'mixins/sidebar'; +@import 'mixins/navbar'; +@import 'mixins/accent'; +@import 'mixins/custom-forms'; +@import 'mixins/backgrounds'; +@import 'mixins/direct-chat'; +@import 'mixins/toasts'; +@import 'mixins/miscellaneous'; diff --git a/css/scss/adminLTE/_modals.scss b/css/scss/adminLTE/_modals.scss new file mode 100644 index 0000000..1a07957 --- /dev/null +++ b/css/scss/adminLTE/_modals.scss @@ -0,0 +1,28 @@ +// +// Component: Modals +// + +// Overlay +.modal-dialog { + .overlay { + background-color: $black; + display: block; + height: 100%; + left: 0; + opacity: .7; + position: absolute; + top: 0; + width: 100%; + z-index: ($zindex-modal + 2); + } +} + +.modal-auto{width: auto;max-width: none;} + +.modal-content { + border-radius: 0;width: auto;margin: 0 auto;border: 0; +} + +.modal-title{font-family: s-core-dream;font-size:20px;font-weight: 500;letter-spacing: -0.2px;line-height: 1.25;} + +.modal-header .close{font-size: 0;} \ No newline at end of file diff --git a/css/scss/adminLTE/_navs.scss b/css/scss/adminLTE/_navs.scss new file mode 100644 index 0000000..9c32ef4 --- /dev/null +++ b/css/scss/adminLTE/_navs.scss @@ -0,0 +1,100 @@ +// +// Component: Nav +// + +.nav-pills { + .nav-link { + color: $gray-600; + + // &:not(.active):hover { + // color: theme-color('primary'); + // } + } + + .nav-item { + &.dropdown.show { + .nav-link:hover { + color: $dropdown-link-active-color; + } + } + } +} + +// Vertical Tabs +.nav-tabs.flex-column { + border-bottom: 0; + border-right: $nav-tabs-border-width solid $nav-tabs-border-color; + + .nav-link { + border-bottom-left-radius: $nav-tabs-border-radius; + border-top-right-radius: 0; + margin-right: -$nav-tabs-border-width; + + @include hover-focus { + border-color: $gray-200 transparent $gray-200 $gray-200; + } + } + + .nav-link.active, + .nav-item.show .nav-link { + border-color: $gray-300 transparent $gray-300 $gray-300; + } + + &.nav-tabs-right { + border-left: $nav-tabs-border-width solid $nav-tabs-border-color; + border-right: 0; + + .nav-link { + border-bottom-left-radius: 0; + border-bottom-right-radius: $nav-tabs-border-radius; + border-top-left-radius: 0; + border-top-right-radius: $nav-tabs-border-radius; + margin-left: -$nav-tabs-border-width; + + @include hover-focus { + border-color: $gray-200 $gray-200 $gray-200 transparent; + } + } + + .nav-link.active, + .nav-item.show .nav-link { + border-color: $gray-300 $gray-300 $gray-300 transparent; + } + } +} + +.navbar-no-expand { + flex-direction: row; + + .nav-link { + padding-left: $navbar-nav-link-padding-x; + padding-right: $navbar-nav-link-padding-x; + } + + .dropdown-menu { + position: absolute; + } +} + +// Color variants +@each $color, $value in $theme-colors { + @if $color == dark or $color == light { + .navbar-#{$color} { + background-color: $value; + } + } +} + +@each $color, $value in $theme-colors { + @if $color != dark and $color != light { + .navbar-#{$color} { + background-color: $value; + } + } +} + +@each $color, $value in $colors { + .navbar-#{$color} { + background-color: $value; + } +} diff --git a/css/scss/adminLTE/_print.scss b/css/scss/adminLTE/_print.scss new file mode 100644 index 0000000..e86548d --- /dev/null +++ b/css/scss/adminLTE/_print.scss @@ -0,0 +1,52 @@ +// +// Misc: Print +// + +@media print { + //Add to elements that you do not want to show when printing + .no-print { + display: none !important; + } + + //Elements that we want to hide when printing + .main-sidebar, + .main-header, + .content-header { + @extend .no-print; + } + + //This is the only element that should appear, so let's remove the margins + .content-wrapper, + .main-footer { + @include translate(0, 0); + margin-left: 0 !important; + min-height: 0 !important; + } + + .layout-fixed .content-wrapper { + padding-top: 0 !important; + } + + //Invoice printing + .invoice { + border: 0; + margin: 0; + padding: 0; + width: 100%; + } + + .invoice-col { + float: left; + width: 33.3333333%; + } + + //Make sure table content displays properly + .table-responsive { + overflow: auto; + + > .table tr th, + > .table tr td { + white-space: normal !important; + } + } +} diff --git a/css/scss/adminLTE/_products.scss b/css/scss/adminLTE/_products.scss new file mode 100644 index 0000000..2c94e60 --- /dev/null +++ b/css/scss/adminLTE/_products.scss @@ -0,0 +1,54 @@ +// +// Component: Products +// + +.products-list { + list-style: none; + margin: 0; + padding: 0; + + > .item { + @include clearfix; + + @if $enable-rounded { + @include border-radius($border-radius); + } + + background: $white; + padding: 10px 0; + } + + .product-img { + float: left; + + img { + height: 50px; + width: 50px; + } + } + + .product-info { + margin-left: 60px; + } + + .product-title { + font-weight: 600; + } + + .product-description { + color: $gray-600; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } +} + +.product-list-in-card > .item { + @include border-radius(0); + border-bottom: 1px solid $card-border-color; + + &:last-of-type { + border-bottom-width: 0; + } +} diff --git a/css/scss/adminLTE/_progress-bars.scss b/css/scss/adminLTE/_progress-bars.scss new file mode 100644 index 0000000..ca65a9b --- /dev/null +++ b/css/scss/adminLTE/_progress-bars.scss @@ -0,0 +1,66 @@ +// +// Component: Progress Bar +// + +//General CSS +.progress { + @include box-shadow(none); + @include border-radius($progress-bar-border-radius); + + // Vertical bars + &.vertical { + display: inline-block; + height: 200px; + margin-right: 10px; + position: relative; + width: 30px; + + > .progress-bar { + bottom: 0; + position: absolute; + width: 100%; + } + + //Sizes + &.sm, + &.progress-sm { + width: 20px; + } + + &.xs, + &.progress-xs { + width: 10px; + } + + &.xxs, + &.progress-xxs { + width: 3px; + } + } +} + +.progress-group { + margin-bottom: map-get($spacers, 2); +} + +// size variation +.progress-sm { + height: 10px; +} + +.progress-xs { + height: 7px; +} + +.progress-xxs { + height: 3px; +} + +// Remove margins from progress bars when put in a table +.table { + tr > td { + .progress { + margin: 0; + } + } +} diff --git a/css/scss/adminLTE/_sidebar-mini.scss b/css/scss/adminLTE/_sidebar-mini.scss new file mode 100644 index 0000000..eaacfcf --- /dev/null +++ b/css/scss/adminLTE/_sidebar-mini.scss @@ -0,0 +1,220 @@ +// +// Component: Sidebar Mini +// + +// Logo style +.logo-xs, +.logo-xl { + opacity: 1; + position: absolute; + visibility: visible; + + &.brand-image-xs { + left: 18px; + top: 12px; + } + + &.brand-image-xl { + left: 12px; + top: 6px; + } +} + +.logo-xs { + opacity: 0; + visibility: hidden; + + &.brand-image-xl { + left: 16px; + top: 8px; + } +} + +.brand-link { + &.logo-switch { + &::before { + content: '\00a0'; + } + } +} + +// Add sidebar-mini class to the body tag to activate this feature +.sidebar-mini { + @include media-breakpoint-up(lg) { + @include sidebar-mini-breakpoint; + } +} +@include media-breakpoint-down(md) { + .sidebar-mini.sidebar-collapse .main-sidebar { + box-shadow: none !important; + } +} + +.sidebar-mini-md { + @include media-breakpoint-up(md) { + @include sidebar-mini-breakpoint; + } +} +@include media-breakpoint-down(sm) { + .sidebar-mini-md.sidebar-collapse .main-sidebar { + box-shadow: none !important; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +.sidebar-collapse { + .main-sidebar.sidebar-focused, + .main-sidebar:hover { + .nav-header { + display: inline-block; + } + } + + .sidebar-no-expand.main-sidebar.sidebar-focused, + .sidebar-no-expand.main-sidebar:hover { + width: $sidebar-mini-width; + + .nav-header { + display: none; + } + + .brand-link { + width: $sidebar-mini-width !important; + } + + .user-panel .image { + float: none !important; + } + + .logo-xs { + animation-name: fadeIn; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: visible; + } + + .logo-xl { + animation-name: fadeOut; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: hidden; + } + + .nav-sidebar.nav-child-indent .nav-treeview { + padding-left: 0; + } + + .brand-text, + .user-panel > .info, + .nav-sidebar .nav-link p { + margin-left: -10px; + animation-name: fadeOut; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: hidden; + width: 0; + } + + .nav-sidebar > .nav-item .nav-icon { + margin-right: 0; + } + } +} + +.nav-sidebar { + position: relative; + + &:hover { + overflow: visible; + } +} + +.sidebar-form, +.nav-sidebar > .nav-header { + overflow: hidden; + text-overflow: clip; +} + +.nav-sidebar .nav-item > .nav-link { + position: relative; + font-size: 14px; + + > .float-right { + margin-top: -7px; + position: absolute; + right: 10px; + top: 50%; + } +} + +.nav-sidebar { + .nav-icon{vertical-align: middle;margin-top: -2px;} + > .nav-item { + > .nav-link{ + &.active, + &:focus{background: #00aad2;} + .right{ + right: 1rem;top: 50%;margin-top: -6.5px; + } + } + &.menu-open{ + > .nav-link{ + + .right{ background-image: url('/images/btn-minus.svg'); transform: none; -webkit-transform: none; -moz-transform: none; -ms-transform: none; -o-transform: none; } + } + border-bottom: 2px solid #00aad2; + } + //2depth + > .nav{ + background: #2b2b2b; + .nav-link{ + padding-top: 6px;padding-bottom: 6px; + } + > .nav-item{ + > .nav-link{ + .right{right: 23px;top: 50%;margin-top: -4px;} + } + &.menu-open{ + > .nav-link{ + p i{ transform: rotate(-180deg); -webkit-transform: rotate(-180deg); -moz-transform: rotate(-180deg); -ms-transform: rotate(-180deg); -o-transform: rotate(-180deg); background-image: url('/images/btn-s-minus-down.svg');} + } + } + //3depth + > .nav{ + background: #001936; + } + } + } + } +} + +.sidebar-collapse{ + .main-sidebar .icon-logo{background-image: url('/images/img-logo-small.svg');width: 30.1px;height: 15.9px;} +} + +.sidebar .nav-link p, +.main-sidebar .brand-text, +.main-sidebar .logo-xs, +.main-sidebar .logo-xl, +.sidebar .user-panel .info { + @include transition(margin-left $transition-speed linear, opacity $transition-speed ease, visibility $transition-speed ease) +} diff --git a/css/scss/adminLTE/_small-box.scss b/css/scss/adminLTE/_small-box.scss new file mode 100644 index 0000000..c3491cb --- /dev/null +++ b/css/scss/adminLTE/_small-box.scss @@ -0,0 +1,152 @@ +// +// Component: Small Box +// + +.small-box { + @include border-radius($border-radius); + @include box-shadow($card-shadow); + + display: block; + margin-bottom: 20px; + position: relative; + + // content wrapper + > .inner { + padding: 10px; + } + + > .small-box-footer { + background: rgba($black, 0.1); + color: rgba($white, 0.8); + display: block; + padding: 3px 0; + position: relative; + text-align: center; + text-decoration: none; + z-index: 10; + + &:hover { + background: rgba($black, 0.15); + color: $white; + } + } + + h3 { + @include font-size(2.2rem); + font-weight: bold; + margin: 0 0 10px 0; + padding: 0; + white-space: nowrap; + } + + @include media-breakpoint-up(lg) { + .col-xl-2 &, + .col-lg-2 &, + .col-md-2 & { + h3 { + @include font-size(1.6rem); + } + } + + .col-xl-3 &, + .col-lg-3 &, + .col-md-3 & { + h3 { + @include font-size(1.6rem); + } + } + } + + @include media-breakpoint-up(xl) { + .col-xl-2 &, + .col-lg-2 &, + .col-md-2 & { + h3 { + @include font-size(2.2rem); + } + } + + .col-xl-3 &, + .col-lg-3 &, + .col-md-3 & { + h3 { + @include font-size(2.2rem); + } + } + } + + p { + font-size: 1rem; + + > small { + color: $gray-100; + display: block; + font-size: 0.9rem; + margin-top: 5px; + } + } + + h3, + p { + z-index: 5; + } + + // the icon + .icon { + color: rgba($black, 0.15); + z-index: 0; + + > i { + font-size: 90px; + position: absolute; + right: 15px; + top: 15px; + transition: all $transition-speed linear; + + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + font-size: 70px; + top: 20px; + } + } + + } + + // Small box hover state + &:hover { + text-decoration: none; + + // Animate icons on small box hover + .icon > i { + font-size: 95px; + + &.fa, + &.fas, + &.far, + &.fab, + &.glyphicon, + &.ion { + font-size: 75px; + } + } + } +} + +@include media-breakpoint-down(sm) { + // No need for icons on very small devices + .small-box { + text-align: center; + + .icon { + display: none; + } + + p { + font-size: 12px; + } + } +} diff --git a/css/scss/adminLTE/_social-widgets.scss b/css/scss/adminLTE/_social-widgets.scss new file mode 100644 index 0000000..211ddf8 --- /dev/null +++ b/css/scss/adminLTE/_social-widgets.scss @@ -0,0 +1,93 @@ +// +// Component: Social Widgets +// + +//General widget style +.card-widget { + border: 0; + position: relative; +} + +//User Widget Style 1 +.widget-user { + + //User name container + .widget-user-header { + @if $enable-rounded { + @include border-top-radius($border-radius); + } + + height: 135px; + padding: 1rem; + text-align: center; + } + + //User name + .widget-user-username { + font-size: 25px; + font-weight: 300; + margin-bottom: 0; + margin-top: 0; + text-shadow: 0 1px 1px rgba($black, 0.2); + } + + //User single line description + .widget-user-desc { + margin-top: 0; + } + + //User image container + .widget-user-image { + left: 50%; + margin-left: -45px; + position: absolute; + top: 80px; + + > img { + border: 3px solid $white; + height: auto; + width: 90px; + } + } + + .card-footer { + padding-top: 50px; + } +} + +//User Widget Style 2 +.widget-user-2 { + + //User name container + .widget-user-header { + @include border-top-radius($border-radius); + padding: 1rem; + } + + //User name + .widget-user-username { + font-size: 25px; + font-weight: 300; + margin-bottom: 5px; + margin-top: 5px; + } + + //User single line description + .widget-user-desc { + margin-top: 0; + } + + .widget-user-username, + .widget-user-desc { + margin-left: 75px; + } + + //User image container + .widget-user-image { + > img { + float: left; + height: auto; + width: 65px; + } + } +} diff --git a/css/scss/adminLTE/_table.scss b/css/scss/adminLTE/_table.scss new file mode 100644 index 0000000..128d738 --- /dev/null +++ b/css/scss/adminLTE/_table.scss @@ -0,0 +1,88 @@ +// +// Component: Table +// + +.table { + border-top: 2px solid $primary; + + thead th, + thead td{ + background: $table-head-bg; + border: 1px solid #f6f6f2; + border-bottom: 0; + line-height: 1.1;padding-top: 15px;padding-bottom: 15px; + } + + th, td{ + line-height: 1.1;padding-top: 15px;padding-bottom: 15px; + } + + &:not(.table-dark) { + color: inherit; + } + + // fixed table head + &.table-head-fixed { + thead tr:nth-child(1) th { + background-color: $white; + border-bottom: 0; + box-shadow: inset 0 1px 0 $table-border-color, + inset 0 -1px 0 $table-border-color; + position: sticky; + top: 0; + z-index: 10; + } + + &.table-dark { + thead tr { + &:nth-child(1) th { + background-color: $table-dark-bg; + box-shadow: inset 0 1px 0 $table-dark-border-color, + inset 0 -1px 0 $table-dark-border-color; + } + } + } + } + + // no border + &.no-border { + &, + td, + th { + border: 0; + } + } + + // .text-center in tables + &.text-center { + &, + td, + th { + text-align: center; + } + } + + &.table-valign-middle { + thead > tr > th, + thead > tr > td, + tbody > tr > th, + tbody > tr > td { + vertical-align: middle; + } + } + + .card-body.p-0 & { + thead > tr > th, + thead > tr > td, + tbody > tr > th, + tbody > tr > td { + &:first-of-type { + padding-left: map-get($spacers, 4); + } + + &:last-of-type { + padding-right: map-get($spacers, 4); + } + } + } +} \ No newline at end of file diff --git a/css/scss/adminLTE/_text.scss b/css/scss/adminLTE/_text.scss new file mode 100644 index 0000000..590afc9 --- /dev/null +++ b/css/scss/adminLTE/_text.scss @@ -0,0 +1,41 @@ +// +// Component: Text +// + +// text modification +.text-bold { + &, &.table td, &.table th { + font-weight: 700; + } +} + +.text-xs { + font-size: $font-size-xs !important; +} + +.text-sm { + font-size: $font-size-sm !important; +} + +.text-md { + font-size: $font-size-base !important; +} + +.text-lg { + font-size: $font-size-lg !important; +} + +.text-xl { + font-size: $font-size-xl !important; +} + +// text color variations +@each $name, $color in $colors { + .text-#{$name} { + color: #{$color} !important; + } +} + +.text-underline{ + text-decoration: underline !important; +} \ No newline at end of file diff --git a/css/scss/adminLTE/_timeline.scss b/css/scss/adminLTE/_timeline.scss new file mode 100644 index 0000000..0868e59 --- /dev/null +++ b/css/scss/adminLTE/_timeline.scss @@ -0,0 +1,127 @@ +// +// Component: Timeline +// + +.timeline { + margin: 0 0 45px; + padding: 0; + position: relative; + // The line + &::before { + @include border-radius($border-radius); + background: $gray-300; + bottom: 0; + content: ''; + left: 31px; + margin: 0; + position: absolute; + top: 0; + width: 4px; + } + // Element + > div { + &::before, + &::after { + content: ""; + display: table; + } + + margin-bottom: 15px; + margin-right: 10px; + position: relative; + // The content + > .timeline-item { + @include box-shadow($card-shadow); + @include border-radius($border-radius); + background: $white; + color: $gray-700; + margin-left: 60px; + margin-right: 15px; + margin-top: 0; + padding: 0; + position: relative; + // The time and header + > .time { + color: #999; + float: right; + font-size: 12px; + padding: 10px; + } + // Header + > .timeline-header { + border-bottom: 1px solid $card-border-color; + color: $gray-700; + font-size: 16px; + line-height: 1.1; + margin: 0; + padding: 10px; + // Link in header + > a { + font-weight: 600; + } + } + // Item body and footer + > .timeline-body, + > .timeline-footer { + padding: 10px; + } + + > .timeline-body { + > img { + margin: 10px; + } + > dl, ol, ul { + margin: 0; + } + } + + > .timeline-footer { + > a { + color: $white; + } + } + } + // The icons at line + > .fa, + > .fas, + > .far, + > .fab, + > .glyphicon, + > .ion { + background: $gray-500; + border-radius: 50%; + font-size: 15px; + height: 30px; + left: 18px; + line-height: 30px; + position: absolute; + text-align: center; + top: 0; + width: 30px; + } + } + // Time label + > .time-label { + > span { + @include border-radius(4px); + background-color: $white; + display: inline-block; + font-weight: 600; + padding: 5px; + } + } +} + +.timeline-inverse { + > div { + > .timeline-item { + @include box-shadow(none); + background: $gray-100; + border: 1px solid $gray-300; + + > .timeline-header { + border-bottom-color: $gray-300; + } + } + } +} diff --git a/css/scss/adminLTE/_toasts.scss b/css/scss/adminLTE/_toasts.scss new file mode 100644 index 0000000..3d5b4f4 --- /dev/null +++ b/css/scss/adminLTE/_toasts.scss @@ -0,0 +1,56 @@ +// +// Component: Toasts +// + +.toasts-top-right { + position: absolute; + right: 0; + top: 0; + z-index: $zindex-toasts; + + &.fixed { + position: fixed; + } +} + +.toasts-top-left { + left: 0; + position: absolute; + top: 0; + z-index: $zindex-toasts; + + &.fixed { + position: fixed; + } +} + +.toasts-bottom-right { + bottom: 0; + position: absolute; + right: 0; + z-index: $zindex-toasts; + + &.fixed { + position: fixed; + } +} + +.toasts-bottom-left { + bottom: 0; + left: 0; + position: absolute; + z-index: $zindex-toasts; + + &.fixed { + position: fixed; + } +} + +.toast { + @each $name, $color in $theme-colors { + @include toast-variant($name, $color); + } + @each $name, $color in $colors { + @include toast-variant($name, $color); + } +} diff --git a/css/scss/adminLTE/_users-list.scss b/css/scss/adminLTE/_users-list.scss new file mode 100644 index 0000000..896d2ab --- /dev/null +++ b/css/scss/adminLTE/_users-list.scss @@ -0,0 +1,45 @@ +// +// Component: Users List +// + +.users-list { + @include list-unstyled; + + > li { + float: left; + padding: 10px; + text-align: center; + width: 25%; + + img { + @include border-radius(50%); + height: auto; + max-width: 100%; + } + + > a:hover { + &, + .users-list-name { + color: #999; + } + } + } +} + +.users-list-name, +.users-list-date { + display: block; +} + +.users-list-name { + color: $gray-700; + font-size: $font-size-sm; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.users-list-date { + color: darken($gray-500, 20%); + font-size: 12px; +} diff --git a/css/scss/adminLTE/_variables.scss b/css/scss/adminLTE/_variables.scss new file mode 100644 index 0000000..11840f1 --- /dev/null +++ b/css/scss/adminLTE/_variables.scss @@ -0,0 +1,237 @@ +// +// Core: Variables +// + +// COLORS +// -------------------------------------------------------- +$blue: #0073b7 !default; +$lightblue: #3c8dbc !default; +$navy: #002c5f !default; +$teal: #39cccc !default; +$olive: #3d9970 !default; +$lime: #01ff70 !default; +$orange: #ff851b !default; +$fuchsia: #f012be !default; +$purple: #605ca8 !default; +$maroon: #d81b60 !default; +$black: #111 !default; +$gray-x-light: #d2d6de !default; + +$colors: map-merge(( + 'lightblue': $lightblue, + 'navy': $navy, + 'olive': $olive, + 'lime': $lime, + 'fuchsia': $fuchsia, + 'maroon': $maroon, +), $colors); + +// LAYOUT +// -------------------------------------------------------- + +$font-size-root: 1rem !default; + +// Sidebar +$sidebar-width: 230px !default; +$sidebar-padding-x: 0 !default; +$sidebar-padding-y: 0 !default; + +// Boxed layout maximum width +$boxed-layout-max-width: 1250px !default; + +// When to show the smaller logo +$screen-header-collapse: map-get($grid-breakpoints, md) !default; + +// Body background (Affects main content background only) +$main-bg: #002c5f !default; + +// Content padding +$content-padding-y: 1.875rem !default; +$content-padding-x: 1.5rem !default; + +// IMAGE SIZES +// -------------------------------------------------------- +$img-size-sm: 1.875rem !default; +$img-size-md: 3.75rem !default; +$img-size-lg: 6.25rem !default; +$img-size-push: .625rem !default; + +// MAIN HEADER +// -------------------------------------------------------- +$main-header-bottom-border-width: $border-width !default; +$main-header-bottom-border-color: #1f4672 !default; +$main-header-bottom-border: $main-header-bottom-border-width solid $main-header-bottom-border-color !default; +$main-header-link-padding-y: $navbar-padding-y !default; +$main-header-link-padding-x: $navbar-padding-x !default; +$main-header-brand-padding-y: $navbar-brand-padding-y !default; +$main-header-brand-padding-x: $navbar-padding-x !default; +$main-header-height-inner: ($nav-link-height + ($main-header-link-padding-y * 2)) !default; +$main-header-height: calc(#{$main-header-height-inner} + #{$main-header-bottom-border-width}) !default; +$nav-link-sm-padding-y: .35rem !default; +$nav-link-sm-height: ($font-size-sm * $line-height-sm + $nav-link-sm-padding-y * 1.785) !default; +$main-header-height-sm-inner: ($nav-link-sm-height + ($main-header-link-padding-y * 2)) !default; +$main-header-height-sm: calc(#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width}) !default; + + +// Main header skins +$main-header-dark-form-control-bg: hsla(100, 100%, 100%, 0.2) !default; +$main-header-dark-form-control-focused-bg: hsla(100, 100%, 100%, 0.6) !default; +$main-header-dark-form-control-focused-color: $gray-800 !default; +$main-header-dark-form-control-border: 0 !default; +$main-header-dark-form-control-focused-border: 0 !default; +$main-header-dark-placeholder-color: hsla(100, 100%, 100%, 0.6) !default; + +$main-header-light-form-control-bg: darken($gray-100, 2%) !default; +$main-header-light-form-control-focused-bg: $gray-200 !default; +$main-header-light-form-control-focused-color: $gray-800 !default; +$main-header-light-form-control-border: 0 !default; +$main-header-light-form-control-focused-border: 0 !default; +$main-header-light-placeholder-color: hsla(0, 0%, 0%, 0.6) !default; + +// MAIN FOOTER +// -------------------------------------------------------- +$main-footer-padding: 1rem !default; +$main-footer-padding-sm: $main-footer-padding * .812 !default; +$main-footer-border-top-width: 1px !default; +$main-footer-border-top-color: $gray-300 !default; +$main-footer-border-top: $main-footer-border-top-width solid $main-footer-border-top-color !default; +$main-footer-height-inner: (($font-size-root * $line-height-base) + ($main-footer-padding * 2)) !default; +$main-footer-height: calc(#{$main-footer-height-inner} + #{$main-footer-border-top-width}) !default; +$main-footer-height-sm-inner: (($font-size-sm * $line-height-base) + ($main-footer-padding-sm * 2)) !default; +$main-footer-height-sm: calc(#{$main-footer-height-sm-inner} + #{$main-footer-border-top-width}) !default; +$main-footer-bg: $white !default; + +// SIDEBAR SKINS +// -------------------------------------------------------- + +// Dark sidebar +$sidebar-dark-bg: $dark !default; +$sidebar-dark-hover-bg: hsla(100, 100%, 100%, 0.1) !default; +$sidebar-dark-color: #C2C7D0 !default; +$sidebar-dark-hover-color: $white !default; +$sidebar-dark-active-color: $white !default; +$sidebar-dark-submenu-bg: transparent !default; +$sidebar-dark-submenu-color: #C2C7D0 !default; +$sidebar-dark-submenu-hover-color: $white !default; +$sidebar-dark-submenu-hover-bg: $sidebar-dark-hover-bg !default; +$sidebar-dark-submenu-active-color: $sidebar-dark-bg !default; +$sidebar-dark-submenu-active-bg: hsla(100, 100%, 100%, 0.9) !default; +$sidebar-dark-header-color: $white !default; + +// Light sidebar +$sidebar-light-bg: $white !default; +$sidebar-light-hover-bg: rgba($black, .1) !default; +$sidebar-light-color: $gray-800 !default; +$sidebar-light-hover-color: $gray-900 !default; +$sidebar-light-active-color: $black !default; +$sidebar-light-submenu-bg: transparent !default; +$sidebar-light-submenu-color: #777 !default; +$sidebar-light-submenu-hover-color: #000 !default; +$sidebar-light-submenu-hover-bg: $sidebar-light-hover-bg !default; +$sidebar-light-submenu-active-color: $sidebar-light-hover-color !default; +$sidebar-light-submenu-active-bg: $sidebar-light-submenu-hover-bg !default; +$sidebar-light-header-color: $gray-800 !default; + +// SIDEBAR MINI +// -------------------------------------------------------- +$sidebar-mini-width: ($nav-link-padding-x + $sidebar-padding-x + .9rem) * 2 !default; +$sidebar-nav-icon-width: $sidebar-mini-width - (($sidebar-padding-x + $nav-link-padding-x) * 2) !default; +$sidebar-user-image-width: $sidebar-nav-icon-width + ($nav-link-padding-x / 2) !default; + +// CONTROL SIDEBAR +// -------------------------------------------------------- +$control-sidebar-width: $sidebar-width !default; + +// Cards +// -------------------------------------------------------- +$card-border-color: $border-color !default; +$card-dark-border-color: lighten($gray-900, 10%) !default; +$card-shadow: 0 3px 6px 0 #e4dcd3 !default; +$card-title-font-size: 1.1rem !default; +$card-title-font-size-sm: 1rem !default; +$card-title-font-weight: $font-weight-normal !default; +$card-nav-link-padding-sm-y: .4rem !default; +$card-nav-link-padding-sm-x: .8rem !default; +$card-img-size: $img-size-sm !default; + +// PROGRESS BARS +// -------------------------------------------------------- +$progress-bar-border-radius: 1px !default; +$progress-bar-sm-border-radius: 1px !default; +$progress-bar-xs-border-radius: 1px !default; + +// DIRECT CHAT +// -------------------------------------------------------- +$direct-chat-height: 250px !default; +$direct-chat-default-msg-bg: $gray-x-light !default; +$direct-chat-default-font-color: #444 !default; +$direct-chat-default-msg-border-color: $gray-x-light !default; + +// CHAT WIDGET +// -------------------------------------------------------- +$attachment-border-radius: 3px !default; + +// Z-INDEX +// -------------------------------------------------------- +$zindex-main-header: $zindex-fixed + 4 !default; +$zindex-main-sidebar: $zindex-fixed + 8 !default; +$zindex-main-footer: $zindex-fixed + 2 !default; +$zindex-control-sidebar: $zindex-fixed + 1 !default; +$zindex-sidebar-mini-links: 010 !default; +$zindex-toasts: $zindex-main-sidebar + 2 !default; + +// TRANSITIONS SETTINGS +// -------------------------------------------------------- + +// Transition global options +$transition-speed: 0.3s !default; +$transition-fn: ease-in-out !default; + +// TEXT +// -------------------------------------------------------- +$font-size-xs: ($font-size-base * .75) !default; +$font-size-xl: ($font-size-base * 2) !default; + + +// BUTTON +// -------------------------------------------------------- +$button-default-background-color: $gray-100 !default; +$button-default-color: #444 !default; +$button-default-border-color: #ddd !default; + +$button-padding-y-xs: .125rem !default; +$button-padding-x-xs: .25rem !default; +$button-line-height-xs: $line-height-sm !default; +$button-font-size-xs: ($font-size-base * .75) !default; +$button-border-radius-xs: .15rem !default; + + +// ELEVATION +// -------------------------------------------------------- +$elevations: (); +$elevations: map-merge(( + 1: unquote('0 1px 3px ' + rgba($black, 0.12) + ', 0 1px 2px ' + rgba($black, 0.24)), + 2: unquote('0 3px 6px ' + rgba($black, 0.16) + ', 0 3px 6px ' + rgba($black, 0.23)), + 3: unquote('0 10px 20px ' + rgba($black, 0.19) + ', 0 6px 6px ' + rgba($black, 0.23)), + 4: unquote('0 14px 28px ' + rgba($black, 0.25) + ', 0 10px 10px ' + rgba($black, 0.22)), + 5: unquote('0 19px 38px ' + rgba($black, 0.30) + ', 0 15px 12px ' + rgba($black, 0.22)), +), $elevations); + +// RIBBON +// -------------------------------------------------------- +$ribbon-border-size: 3px !default; +$ribbon-line-height: 100% !default; +$ribbon-padding: .375rem 0 !default; +$ribbon-font-size: .8rem !default; +$ribbon-width: 90px !default; +$ribbon-wrapper-size: 70px !default; +$ribbon-top: 10px !default; +$ribbon-right: -2px !default; +$ribbon-lg-wrapper-size: 120px !default; +$ribbon-lg-width: 160px !default; +$ribbon-lg-top: 26px !default; +$ribbon-lg-right: 0px !default; +$ribbon-xl-wrapper-size: 180px !default; +$ribbon-xl-width: 240px !default; +$ribbon-xl-top: 47px !default; +$ribbon-xl-right: 4px !default; diff --git a/css/scss/adminLTE/mixins/_accent.scss b/css/scss/adminLTE/mixins/_accent.scss new file mode 100644 index 0000000..b2807ec --- /dev/null +++ b/css/scss/adminLTE/mixins/_accent.scss @@ -0,0 +1,94 @@ +// +// Mixins: Accent +// + +// Accent Variant +@mixin accent-variant($name, $color) { + .accent-#{$name} { + $link-color: $color; + $link-hover-color: darken($color, 15%); + $pagination-active-bg: $color; + $pagination-active-border-color: $color; + + .btn-link, + a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.btn) { + color: $link-color; + + @include hover { + color: $link-hover-color; + } + } + + .dropdown-item { + &:active, + &.active { + background: $color; + color: color-yiq($color); + } + } + + .custom-control-input:checked ~ .custom-control-label { + &::before { + background: $color; + border-color: darken($color, 20%); + } + + &::after { + $newColor: color-yiq($color); + background-image: str-replace($custom-checkbox-indicator-icon-checked, str-replace(#{$custom-control-indicator-checked-color}, '#', '%23'), str-replace(#{$newColor}, '#', '%23')); + } + } + + .form-control:focus:not(.is-invalid):not(.is-warning):not(.is-valid), + .custom-select:focus, + .custom-control-input:focus:not(:checked) ~ .custom-control-label::before, + .custom-file-input:focus ~ .custom-file-label { + border-color: lighten($color, 25%); + } + + .page-item { + .page-link { + color: $link-color; + } + + &.active a, + &.active .page-link { + background-color: $pagination-active-bg; + border-color: $pagination-active-border-color; + color: $pagination-active-color; + } + + &.disabled a, + &.disabled .page-link { + background-color: $pagination-disabled-bg; + border-color: $pagination-disabled-border-color; + color: $pagination-disabled-color; + } + } + + [class*="sidebar-dark-"] { + .sidebar { + a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: $sidebar-dark-color; + + @include hover { + color: $sidebar-dark-hover-color; + } + } + } + } + + [class*="sidebar-light-"] { + .sidebar { + a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link) { + color: $sidebar-light-color; + + @include hover { + color: $sidebar-light-hover-color; + } + } + } + } + } +} + diff --git a/css/scss/adminLTE/mixins/_backgrounds.scss b/css/scss/adminLTE/mixins/_backgrounds.scss new file mode 100644 index 0000000..5cc0353 --- /dev/null +++ b/css/scss/adminLTE/mixins/_backgrounds.scss @@ -0,0 +1,64 @@ +// +// Mixins: Backgrounds +// + +// Background Variant +@mixin background-variant($name, $color) { + .bg-#{$name} { + background-color: #{$color} !important; + + &, + > a { + color: color-yiq($color) !important; + } + + &.btn { + &:hover { + border-color: darken($color, 10%); + color: darken(color-yiq($color), 7.5%); + } + + &:not(:disabled):not(.disabled):active, + &:not(:disabled):not(.disabled).active, + &:active, + &.active { + background-color: darken($color, 10%) !important; + border-color: darken($color, 12.5%); + color: color-yiq(darken($color, 10%)); + } + } + } +} + +// Background Gradient Variant +@mixin background-gradient-variant($name, $color) { + .bg-gradient-#{$name} { + @include bg-gradient-variant('&', $color); + color: color-yiq($color); + + &.btn { + &.disabled, + &:disabled, + &:not(:disabled):not(.disabled):active, + &:not(:disabled):not(.disabled).active, + .show > &.dropdown-toggle { + background-image: none !important; + } + + &:hover { + @include bg-gradient-variant('&', darken($color, 7.5%)); + border-color: darken($color, 10%); + color: darken(color-yiq($color), 7.5%); + } + + &:not(:disabled):not(.disabled):active, + &:not(:disabled):not(.disabled).active, + &:active, + &.active { + @include bg-gradient-variant('&', darken($color, 10%)); + border-color: darken($color, 12.5%); + color: color-yiq(darken($color, 10%)); + } + } + } +} diff --git a/css/scss/adminLTE/mixins/_cards.scss b/css/scss/adminLTE/mixins/_cards.scss new file mode 100644 index 0000000..c118b98 --- /dev/null +++ b/css/scss/adminLTE/mixins/_cards.scss @@ -0,0 +1,82 @@ +// +// Mixins: Cards Variant +// + +@mixin cards-variant($name, $color) { + .card-#{$name} { + &:not(.card-outline) { + > .card-header { + background-color: $color; + + &, + a { + color: color-yiq($color); + } + + a.active { + color: color-yiq($white); + } + } + } + + &.card-outline { + border-top: 3px solid $color; + } + + &.card-outline-tabs { + > .card-header { + a { + &:hover { + border-top: 3px solid $nav-tabs-border-color; + } + + &.active { + border-top: 3px solid $color; + } + } + } + } + } + + .bg-#{$name}, + .bg-gradient-#{$name}, + .card-#{$name}:not(.card-outline) { + .btn-tool { + color: rgba(color-yiq($color), 0.8); + + &:hover { + color: color-yiq($color); + } + } + } + + .card.bg-#{$name}, + .card.bg-gradient-#{$name} { + .bootstrap-datetimepicker-widget { + .table td, + .table th { + border: none; + } + + table thead tr:first-child th:hover, + table td.day:hover, + table td.hour:hover, + table td.minute:hover, + table td.second:hover { + background: darken($color, 8%); + color: color-yiq($color); + } + + table td.today::before { + border-bottom-color: color-yiq($color); + } + + table td.active, + table td.active:hover { + background: lighten($color, 10%); + color: color-yiq($color); + } + } + } +} + diff --git a/css/scss/adminLTE/mixins/_custom-forms.scss b/css/scss/adminLTE/mixins/_custom-forms.scss new file mode 100644 index 0000000..3e1cfb0 --- /dev/null +++ b/css/scss/adminLTE/mixins/_custom-forms.scss @@ -0,0 +1,81 @@ +// +// Mixins: Custom Forms +// + +// Custom Switch Variant +@mixin custom-switch-variant($name, $color) { + &.custom-switch-off-#{$name} { + & .custom-control-input ~ .custom-control-label::before { + background: #{$color}; + border-color: darken($color, 20%); + } + + & .custom-control-input:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25); + } + + & .custom-control-input ~ .custom-control-label::after { + background: darken($color, 25%); + } + } + + &.custom-switch-on-#{$name} { + & .custom-control-input:checked ~ .custom-control-label::before { + background: #{$color}; + border-color: darken($color, 20%); + } + + & .custom-control-input:checked:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25); + } + + & .custom-control-input:checked ~ .custom-control-label::after { + background: lighten($color, 30%); + } + } +} + +// Custom Range Variant +@mixin custom-range-variant($name, $color) { + &.custom-range-#{$name} { + &:focus { + outline: none; + + &::-webkit-slider-thumb { + box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25); + } + + &::-moz-range-thumb { + box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25); + } + + &::-ms-thumb { + box-shadow: 0 0 0 1px $body-bg, 0 0 0 2px rgba($color, .25); + } + } + + &::-webkit-slider-thumb { + background-color: $color; + + &:active { + background-color: lighten($color, 35%); + } + } + + &::-moz-range-thumb { + background-color: $color; + + &:active { + background-color: lighten($color, 35%); + } + } + + &::-ms-thumb { + background-color: $color; + + &:active { + background-color: lighten($color, 35%); + } + } + } +} diff --git a/css/scss/adminLTE/mixins/_direct-chat.scss b/css/scss/adminLTE/mixins/_direct-chat.scss new file mode 100644 index 0000000..6e01002 --- /dev/null +++ b/css/scss/adminLTE/mixins/_direct-chat.scss @@ -0,0 +1,17 @@ +// +// Mixins: Direct Chat +// + +// Direct Chat Variant +@mixin direct-chat-variant($bg-color, $color: #fff) { + .right > .direct-chat-text { + background: $bg-color; + border-color: $bg-color; + color: color-yiq($bg-color); + + &::after, + &::before { + border-left-color: $bg-color; + } + } +} diff --git a/css/scss/adminLTE/mixins/_miscellaneous.scss b/css/scss/adminLTE/mixins/_miscellaneous.scss new file mode 100644 index 0000000..813986d --- /dev/null +++ b/css/scss/adminLTE/mixins/_miscellaneous.scss @@ -0,0 +1,35 @@ +// +// Mixins: Miscellaneous +// + +// ETC +@mixin translate($x, $y) { + transform: translate($x, $y); +} + +// Different radius each side +@mixin border-radius-sides($top-left, $top-right, $bottom-left, $bottom-right) { + border-radius: $top-left $top-right $bottom-left $bottom-right; +} + +@mixin calc($property, $expression) { + #{$property}: calc(#{$expression}); +} + +@mixin rotate($value) { + transform: rotate($value); +} + +@mixin animation($animation) { + animation: $animation; +} + +// Gradient background +@mixin gradient($color: #F5F5F5, $start: #EEE, $stop: #FFF) { + background: $color; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, $start), color-stop(1, $stop)); + background: -ms-linear-gradient(bottom, $start, $stop); + background: -moz-linear-gradient(center bottom, $start 0%, $stop 100%); + background: -o-linear-gradient($stop, $start); +} + diff --git a/css/scss/adminLTE/mixins/_navbar.scss b/css/scss/adminLTE/mixins/_navbar.scss new file mode 100644 index 0000000..18e429d --- /dev/null +++ b/css/scss/adminLTE/mixins/_navbar.scss @@ -0,0 +1,34 @@ +// +// Mixins: Navbar +// + +// Navbar Variant +@mixin navbar-variant($color, $font-color: rgba(255, 255, 255, 0.8), $hover-color: #f6f6f6, $hover-bg: rgba(0, 0, 0, 0.1)) { + background-color: $color; + + .nav > li > a { + color: $font-color; + } + + .nav > li > a:hover, + .nav > li > a:active, + .nav > li > a:focus, + .nav .open > a, + .nav .open > a:hover, + .nav .open > a:focus, + .nav > .active > a { + background: $hover-bg; + color: $hover-color; + } + + // Add color to the sidebar toggle button + .sidebar-toggle { + color: $font-color; + + &:hover, + &:focus { + background: $hover-bg; + color: $hover-color; + } + } +} diff --git a/css/scss/adminLTE/mixins/_sidebar.scss b/css/scss/adminLTE/mixins/_sidebar.scss new file mode 100644 index 0000000..acc6a47 --- /dev/null +++ b/css/scss/adminLTE/mixins/_sidebar.scss @@ -0,0 +1,165 @@ +// +// Mixins: Sidebar +// + +// Sidebar Color +@mixin sidebar-color($color) { + .nav-sidebar > .nav-item { + & > .nav-link.active { + background-color: $color; + color: color-yiq($color); + } + } + + .nav-sidebar.nav-legacy > .nav-item { + & > .nav-link.active { + border-color: $color; + } + } +} + +// Sidebar Mini Breakpoints +@mixin sidebar-mini-breakpoint() { + // A fix for text overflow while transitioning from sidebar mini to full sidebar + .nav-sidebar, + .nav-sidebar > .nav-header, + .nav-sidebar .nav-link { + white-space: nowrap; + overflow: hidden; + } + + // When the sidebar is collapsed... + &.sidebar-collapse { + .d-hidden-mini { + display: none; + } + + // Apply the new margins to the main content and footer + .content-wrapper, + .main-footer, + .main-header { + margin-left: $sidebar-mini-width !important; + } + + // Make the sidebar headers + .nav-sidebar .nav-header { + display: none; + } + + .nav-sidebar .nav-link p { + width: 0; + } + + .sidebar .user-panel > .info, + .nav-sidebar .nav-link p, + .brand-text { + margin-left: -10px; + animation-name: fadeOut; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: hidden; + } + + .logo-xl { + animation-name: fadeOut; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: hidden; + } + + .logo-xs { + display: inline-block; + animation-name: fadeIn; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: visible; + } + + // Modify the sidebar to shrink instead of disappearing + .main-sidebar { + overflow-x: hidden; + + &, + &::before { + // Don't go away! Just shrink + margin-left: 0; + width: $sidebar-mini-width; + } + + .user-panel { + .image { + float: none; + } + } + + &:hover, + &.sidebar-focused { + width: $sidebar-width; + + .brand-link { + width: $sidebar-width; + } + + .user-panel { + text-align: left; + + .image { + float: left; + } + } + + .user-panel > .info, + .nav-sidebar .nav-link p, + .brand-text, + .logo-xl { + display: inline-block; + margin-left: 0; + animation-name: fadeIn; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: visible; + } + + .logo-xs { + animation-name: fadeOut; + animation-duration: $transition-speed; + animation-fill-mode: both; + visibility: hidden; + } + + .brand-image { + margin-right: .5rem; + } + + // Make the sidebar links, menus, labels, badges + // and angle icons disappear + .sidebar-form, + .user-panel > .info { + display: block !important; + -webkit-transform: translateZ(0); + } + + .nav-sidebar > .nav-item > .nav-link > span { + display: inline-block !important; + } + } + } + + // Make an element visible only when sidebar mini is active + .visible-sidebar-mini { + display: block !important; + } + + &.layout-fixed { + .main-sidebar:hover { + .brand-link { + width: $sidebar-width; + } + } + + .brand-link { + width: $sidebar-mini-width; + } + } + } +} diff --git a/css/scss/adminLTE/mixins/_toasts.scss b/css/scss/adminLTE/mixins/_toasts.scss new file mode 100644 index 0000000..f198eb2 --- /dev/null +++ b/css/scss/adminLTE/mixins/_toasts.scss @@ -0,0 +1,23 @@ +// +// Mixins: Toasts +// + +// Toast Variant +@mixin toast-variant($name, $color) { + &.bg-#{$name} { + background: rgba($color, .9) !important; + @if (color-yiq($color) == $yiq-text-light) { + + .close { + color: color-yiq($color); + text-shadow: 0 1px 0 #000; + } + } + + .toast-header { + background: rgba($color, .85); + color: color-yiq($color); + } + } +} + diff --git a/css/scss/adminLTE/pages/_404_500_errors.scss b/css/scss/adminLTE/pages/_404_500_errors.scss new file mode 100644 index 0000000..bc31045 --- /dev/null +++ b/css/scss/adminLTE/pages/_404_500_errors.scss @@ -0,0 +1,43 @@ +// +// Pages: 400 and 500 error pages +// + +.error-page { + margin: 20px auto 0; + width: 600px; + + @include media-breakpoint-down(sm) { + width: 100%; + } + + //For the error number e.g: 404 + > .headline { + float: left; + font-size: 100px; + font-weight: 300; + + @include media-breakpoint-down(sm) { + float: none; + text-align: center; + } + } + + //For the message + > .error-content { + display: block; + margin-left: 190px; + + @include media-breakpoint-down(sm) { + margin-left: 0; + } + + > h3 { + font-size: 25px; + font-weight: 300; + + @include media-breakpoint-down(sm) { + text-align: center; + } + } + } +} diff --git a/css/scss/adminLTE/pages/_e-commerce.scss b/css/scss/adminLTE/pages/_e-commerce.scss new file mode 100644 index 0000000..e754214 --- /dev/null +++ b/css/scss/adminLTE/pages/_e-commerce.scss @@ -0,0 +1,45 @@ +// +// Pages: E-commerce +// + +// product image +.product-image { + @include img-fluid; + width: 100%; +} + +// product image thumbnails list +.product-image-thumbs { + align-items: stretch; + display: flex; + margin-top: 2rem; +} + +// product image thumbnail +.product-image-thumb { + @include box-shadow($thumbnail-box-shadow); + @include border-radius($thumbnail-border-radius); + + background-color: $thumbnail-bg; + border: $thumbnail-border-width solid $thumbnail-border-color; + display: flex; + margin-right: 1rem; + max-width: 6.5rem + ($thumbnail-padding * 2); + padding: $thumbnail-padding * 2; + + img { + @include img-fluid; + align-self: center; + } + + &:hover { + opacity: 0.5; + } +} + +// product share +.product-share { + a { + margin-right: .5rem; + } +} diff --git a/css/scss/adminLTE/pages/_invoice.scss b/css/scss/adminLTE/pages/_invoice.scss new file mode 100644 index 0000000..281e4c3 --- /dev/null +++ b/css/scss/adminLTE/pages/_invoice.scss @@ -0,0 +1,13 @@ +// +// Pages: Invoice +// + +.invoice { + background: $white; + border: 1px solid $card-border-color; + position: relative; +} + +.invoice-title { + margin-top: 0; +} diff --git a/css/scss/adminLTE/pages/_lockscreen.scss b/css/scss/adminLTE/pages/_lockscreen.scss new file mode 100644 index 0000000..22da5de --- /dev/null +++ b/css/scss/adminLTE/pages/_lockscreen.scss @@ -0,0 +1,78 @@ +// +// Pages: Lock Screen +// + +// ADD THIS CLASS TO THE TAG +.lockscreen { + background: $gray-200; + + // User name [optional] + .lockscreen-name { + font-weight: 600; + text-align: center; + } +} + +.lockscreen-logo { + font-size: 35px; + font-weight: 300; + margin-bottom: 25px; + text-align: center; + + a { + color: $gray-700; + } +} + +.lockscreen-wrapper { + margin: 0 auto; + margin-top: 10%; + max-width: 400px; +} + + +// Will contain the image and the sign in form +.lockscreen-item { + @include border-radius(4px); + background: $white; + margin: 10px auto 30px; + padding: 0; + position: relative; + width: 290px; +} + +// User image +.lockscreen-image { + @include border-radius(50%); + background: $white; + left: -10px; + padding: 5px; + position: absolute; + top: -25px; + z-index: 10; + + > img { + @include border-radius(50%); + height: 70px; + width: 70px; + } +} + +// Contains the password input and the login button +.lockscreen-credentials { + margin-left: 70px; + + .form-control { + border: 0; + } + + .btn { + background-color: $white; + border: 0; + padding: 0 10px; + } +} + +.lockscreen-footer { + margin-top: 10px; +} diff --git a/css/scss/adminLTE/pages/_login_and_register.scss b/css/scss/adminLTE/pages/_login_and_register.scss new file mode 100644 index 0000000..634273d --- /dev/null +++ b/css/scss/adminLTE/pages/_login_and_register.scss @@ -0,0 +1,97 @@ +// +// Pages: Login & Register +// + +.login-logo, +.register-logo { + font-size: 2.1rem; + font-weight: 300; + margin-bottom: .9rem; + text-align: center; + + a { + color: $gray-700; + } +} + +.login-page, +.register-page { + align-items: center; + background: $gray-200; + display: flex; + flex-direction: column; + height: 100vh; + justify-content: center; +} + +.login-box, +.register-box { + width: 360px; + + @media (max-width: map-get($grid-breakpoints, sm)) { + margin-top: .5rem; + width: 90%; + } +} + +.login-card-body, +.register-card-body { + background: $white; + border-top: 0; + color: #666; + padding: 20px; + + .input-group { + .form-control { + border-right: 0; + + &:focus { + box-shadow: none; + + & ~ .input-group-append .input-group-text { + border-color: $input-focus-border-color; + } + } + + &.is-valid { + &:focus { + box-shadow: none; + } + + & ~ .input-group-append .input-group-text { + border-color: $success; + } + } + + &.is-invalid { + &:focus { + box-shadow: none; + } + + & ~ .input-group-append .input-group-text { + border-color: $danger; + } + } + } + + .input-group-text { + background-color: transparent; + border-bottom-right-radius: $border-radius; + border-left: 0; + border-top-right-radius: $border-radius; + color: #777; + transition: $input-transition; + } + } +} + +.login-box-msg, +.register-box-msg { + margin: 0; + padding: 0 20px 20px; + text-align: center; +} + +.social-auth-links { + margin: 10px 0; +} diff --git a/css/scss/adminLTE/pages/_mailbox.scss b/css/scss/adminLTE/pages/_mailbox.scss new file mode 100644 index 0000000..06fb63a --- /dev/null +++ b/css/scss/adminLTE/pages/_mailbox.scss @@ -0,0 +1,99 @@ +// +// Pages: Mailbox +// + +.mailbox-messages { + > .table { + margin: 0; + } +} + +.mailbox-controls { + padding: 5px; + + &.with-border { + border-bottom: 1px solid $card-border-color; + } +} + +.mailbox-read-info { + border-bottom: 1px solid $card-border-color; + padding: 10px; + + h3 { + font-size: 20px; + margin: 0; + } + + h5 { + margin: 0; + padding: 5px 0 0; + } +} + +.mailbox-read-time { + color: #999; + font-size: 13px; +} + +.mailbox-read-message { + padding: 10px; +} + +.mailbox-attachments { + @include list-unstyled; + li { + border: 1px solid #eee; + float: left; + margin-bottom: 10px; + margin-right: 10px; + width: 200px; + } +} + +.mailbox-attachment-name { + color: #666; + font-weight: bold; +} + +.mailbox-attachment-icon, +.mailbox-attachment-info, +.mailbox-attachment-size { + display: block; +} + +.mailbox-attachment-info { + background: $gray-100; + padding: 10px; +} + +.mailbox-attachment-size { + color: #999; + font-size: 12px; + + > span { + display: inline-block; + padding-top: 0.75rem; + } +} + +.mailbox-attachment-icon { + color: #666; + font-size: 65px; + max-height: 132.5px; + padding: 20px 10px; + text-align: center; + + &.has-img { + padding: 0; + + > img { + height: auto; + max-width: 100%; + } + } +} + +.mailbox-attachment-close { + @extend .close; +} diff --git a/css/scss/adminLTE/pages/_profile.scss b/css/scss/adminLTE/pages/_profile.scss new file mode 100644 index 0000000..e007ad0 --- /dev/null +++ b/css/scss/adminLTE/pages/_profile.scss @@ -0,0 +1,37 @@ +// +// Pages: Profile +// + +.profile-user-img { + border: 3px solid $gray-500; + margin: 0 auto; + padding: 3px; + width: 100px; +} + +.profile-username { + font-size: 21px; + margin-top: 5px; +} + +.post { + border-bottom: 1px solid $gray-500; + color: #666; + margin-bottom: 15px; + padding-bottom: 15px; + + &:last-of-type { + border-bottom: 0; + margin-bottom: 0; + padding-bottom: 0; + } + + .user-block { + margin-bottom: 15px; + width: 100%; + } + + .row { + width: 100%; + } +} diff --git a/css/scss/adminLTE/pages/_projects.scss b/css/scss/adminLTE/pages/_projects.scss new file mode 100644 index 0000000..3d88b60 --- /dev/null +++ b/css/scss/adminLTE/pages/_projects.scss @@ -0,0 +1,26 @@ +// +// Pages: Projects +// + +.projects { + td { + vertical-align: middle; + } + + .list-inline { + margin-bottom: 0; + } + + // table avatar + img.table-avatar, + .table-avatar img { + border-radius: 50%; + display: inline; + width: 2.5rem; + } + + // project state + .project-state { + text-align: center; + } +} diff --git a/css/scss/adminLTE/parts/_components.scss b/css/scss/adminLTE/parts/_components.scss new file mode 100644 index 0000000..f6f923b --- /dev/null +++ b/css/scss/adminLTE/parts/_components.scss @@ -0,0 +1,14 @@ +// +// Part: Components +// + +@import '../forms'; +@import '../progress-bars'; +@import '../cards'; +@import '../modals'; +//@import '../toasts'; +@import '../buttons'; +//@import '../callout'; +@import '../alerts'; +@import '../table'; +//@import '../carousel'; diff --git a/css/scss/adminLTE/parts/_core.scss b/css/scss/adminLTE/parts/_core.scss new file mode 100644 index 0000000..8c7259f --- /dev/null +++ b/css/scss/adminLTE/parts/_core.scss @@ -0,0 +1,12 @@ +// +// Part: Core +// + +@import '../layout'; +@import '../main-header'; +@import '../brand'; +@import '../main-sidebar'; +@import '../sidebar-mini'; +@import '../control-sidebar'; +@import '../dropdown'; +@import '../navs'; diff --git a/css/scss/adminLTE/parts/_extra-components.scss b/css/scss/adminLTE/parts/_extra-components.scss new file mode 100644 index 0000000..ecaa444 --- /dev/null +++ b/css/scss/adminLTE/parts/_extra-components.scss @@ -0,0 +1,11 @@ +// +// Part: Extra Components +// + +@import '../small-box'; +@import '../info-box'; +@import '../timeline'; +@import '../products'; +@import '../direct-chat'; +@import '../users-list'; +@import '../social-widgets'; diff --git a/css/scss/adminLTE/parts/_miscellaneous.scss b/css/scss/adminLTE/parts/_miscellaneous.scss new file mode 100644 index 0000000..e3cdd09 --- /dev/null +++ b/css/scss/adminLTE/parts/_miscellaneous.scss @@ -0,0 +1,9 @@ +// +// Part: Miscellaneous +// + +@import '../miscellaneous'; +@import '../print'; +@import '../text'; +//@import '../elevation'; +@import '../colors'; diff --git a/css/scss/adminLTE/parts/_pages.scss b/css/scss/adminLTE/parts/_pages.scss new file mode 100644 index 0000000..8e87f22 --- /dev/null +++ b/css/scss/adminLTE/parts/_pages.scss @@ -0,0 +1,12 @@ +// +// Part: Pages +// + +@import '../pages/mailbox'; +@import '../pages/lockscreen'; +@import '../pages/login_and_register'; +@import '../pages/404_500_errors'; +@import '../pages/invoice'; +@import '../pages/profile'; +@import '../pages/e-commerce'; +@import '../pages/projects'; diff --git a/css/scss/adminLTE/parts/_plugins.scss b/css/scss/adminLTE/parts/_plugins.scss new file mode 100644 index 0000000..cd83287 --- /dev/null +++ b/css/scss/adminLTE/parts/_plugins.scss @@ -0,0 +1,16 @@ +// +// Part: Plugins +// + +@import '../plugins/mixins'; +@import '../plugins/fullcalendar'; +@import '../plugins/select2'; +@import '../plugins/bootstrap-slider'; +//@import '../plugins/icheck-bootstrap'; +//@import '../plugins/mapael'; +//@import '../plugins/jqvmap'; +@import '../plugins/sweetalert2'; +//@import '../plugins/toastr'; +@import '../plugins/pace'; +@import '../plugins/bootstrap-switch'; +@import '../plugins/miscellaneous'; diff --git a/css/scss/adminLTE/plugins/_bootstrap-slider.scss b/css/scss/adminLTE/plugins/_bootstrap-slider.scss new file mode 100644 index 0000000..65cd1a6 --- /dev/null +++ b/css/scss/adminLTE/plugins/_bootstrap-slider.scss @@ -0,0 +1,35 @@ +// +// Plugin: Bootstrap Slider +// + +// Tooltip fix +.slider .tooltip.in { + opacity: $tooltip-opacity; +} + +// Style override +.slider { + &.slider-vertical { + height: 100%; + } + &.slider-horizontal { + width: 100%; + } +} + +// Colors +@each $name, $color in $theme-colors { + .slider-#{$name} .slider { + .slider-selection { + background: $color; + } + } +} + +@each $name, $color in $colors { + .slider-#{$name} .slider { + .slider-selection { + background: $color; + } + } +} diff --git a/css/scss/adminLTE/plugins/_bootstrap-switch.scss b/css/scss/adminLTE/plugins/_bootstrap-switch.scss new file mode 100644 index 0000000..9219c7c --- /dev/null +++ b/css/scss/adminLTE/plugins/_bootstrap-switch.scss @@ -0,0 +1,175 @@ +/** + * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches. + * + * @version v3.4 (MODDED) + * @homepage https://bttstrp.github.io/bootstrap-switch + * @author Mattia Larentis (http://larentis.eu) + * @license MIT + */ + +$bootstrap-switch-border-radius: $btn-border-radius; +$bootstrap-switch-handle-border-radius: .1rem; + +.bootstrap-switch { + border: $input-border-width solid $input-border-color; + border-radius: $bootstrap-switch-border-radius; + cursor: pointer; + direction: ltr; + display: inline-block; + line-height: .5rem; + overflow: hidden; + position: relative; + text-align: left; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + user-select: none; + vertical-align: middle; + z-index: 0; + + .bootstrap-switch-container { + border-radius: $bootstrap-switch-border-radius; + display: inline-block; + top: 0; + transform: translate3d(0, 0, 0); + + } + + &:focus-within { + box-shadow: $input-btn-focus-box-shadow; + } + + .bootstrap-switch-handle-on, + .bootstrap-switch-handle-off, + .bootstrap-switch-label { + box-sizing: border-box; + cursor: pointer; + display: table-cell; + font-size: 1rem; + font-weight: 500; + line-height: 1.2rem; + padding: .25rem .5rem; + vertical-align: middle; + } + + .bootstrap-switch-handle-on, + .bootstrap-switch-handle-off { + text-align: center; + z-index: 1; + + &.bootstrap-switch-default { + background: $gray-200; + color: color-yiq($gray-200); + } + + @each $name, $color in $theme-colors { + &.bootstrap-switch-#{$name} { + background: $color; + color: color-yiq($color); + } + } + + @each $name, $color in $colors { + &.bootstrap-switch-#{$name} { + background: $color; + color: color-yiq($color); + } + } + } + + .bootstrap-switch-handle-on { + border-bottom-left-radius: $bootstrap-switch-handle-border-radius; + border-top-left-radius: $bootstrap-switch-handle-border-radius; + } + + .bootstrap-switch-handle-off { + border-bottom-right-radius: $bootstrap-switch-handle-border-radius; + border-top-right-radius: $bootstrap-switch-handle-border-radius; + } + + input[type='radio'], + input[type='checkbox'] { + filter: alpha(opacity=0); + left: 0; + margin: 0; + opacity: 0; + position: absolute; + top: 0; + visibility: hidden; + z-index: -1; + } + + &.bootstrap-switch-mini { + .bootstrap-switch-handle-on, + .bootstrap-switch-handle-off, + .bootstrap-switch-label { + font-size: .875rem; + line-height: 1.5; + padding: .1rem .3rem; + } + } + + &.bootstrap-switch-small { + .bootstrap-switch-handle-on, + .bootstrap-switch-handle-off, + .bootstrap-switch-label { + font-size: .875rem; + line-height: 1.5; + padding: .2rem .4rem; + } + } + + &.bootstrap-switch-large { + .bootstrap-switch-handle-on, + .bootstrap-switch-handle-off, + .bootstrap-switch-label { + font-size: 1.25rem; + line-height: 1.3333333rem; + padding: .3rem .5rem; + } + } + + &.bootstrap-switch-disabled, + &.bootstrap-switch-readonly, + &.bootstrap-switch-indeterminate { + cursor: default; + + .bootstrap-switch-handle-on, + .bootstrap-switch-handle-off, + .bootstrap-switch-label { + cursor: default; + filter: alpha(opacity=50); + opacity: .5; + } + } + + &.bootstrap-switch-animate .bootstrap-switch-container { + transition: margin-left .5s; + } + + &.bootstrap-switch-inverse { + .bootstrap-switch-handle-on { + border-radius: 0 $bootstrap-switch-handle-border-radius $bootstrap-switch-handle-border-radius 0; + } + + .bootstrap-switch-handle-off { + border-radius: $bootstrap-switch-handle-border-radius 0 0 $bootstrap-switch-handle-border-radius; + } + } + + // &.bootstrap-switch-focused { + // border-color: $input-btn-focus-color; + // box-shadow: $input-btn-focus-box-shadow; + // outline: 0; + // } + + &.bootstrap-switch-on .bootstrap-switch-label, + &.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label { + border-bottom-right-radius: $bootstrap-switch-handle-border-radius; + border-top-right-radius: $bootstrap-switch-handle-border-radius; + } + + &.bootstrap-switch-off .bootstrap-switch-label, + &.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label { + border-bottom-left-radius: $bootstrap-switch-handle-border-radius; + border-top-left-radius: $bootstrap-switch-handle-border-radius; + } +} diff --git a/css/scss/adminLTE/plugins/_fullcalendar.scss b/css/scss/adminLTE/plugins/_fullcalendar.scss new file mode 100644 index 0000000..e023b7c --- /dev/null +++ b/css/scss/adminLTE/plugins/_fullcalendar.scss @@ -0,0 +1,131 @@ +// +// Plugin: Full Calendar +// + +// Buttons +.fc-button { + background: $gray-100; + background-image: none; + border-bottom-color: #ddd; + border-color: #ddd; + color: $gray-700; + + &:hover, + &:active, + &.hover { + background-color: #e9e9e9; + } +} + +// Calendar title +.fc-header-title h2 { + color: #666; + font-size: 15px; + line-height: 1.6em; + margin-left: 10px; +} + +.fc-header-right { + padding-right: 10px; +} + +.fc-header-left { + padding-left: 10px; +} + +// Calendar table header cells +.fc-widget-header { + background: #fafafa; +} + +.fc-grid { + border: 0; + width: 100%; +} + +.fc-widget-header:first-of-type, +.fc-widget-content:first-of-type { + border-left: 0; + border-right: 0; +} + +.fc-widget-header:last-of-type, +.fc-widget-content:last-of-type { + border-right: 0; +} + +.fc-toolbar, +.fc-toolbar.fc-header-toolbar { + margin: 0; + padding: 1rem; +} + +@include media-breakpoint-down(xs) { + .fc-toolbar { + flex-direction: column; + + .fc-left { + order: 1; + margin-bottom: .5rem; + } + + .fc-center { + order: 0; + margin-bottom: .375rem; + } + + .fc-right { + order: 2; + } + } +} + +.fc-day-number { + font-size: 20px; + font-weight: 300; + padding-right: 10px; +} + +.fc-color-picker { + list-style: none; + margin: 0; + padding: 0; + + > li { + float: left; + font-size: 30px; + line-height: 30px; + margin-right: 5px; + + .fa, + .fas, + .far, + .fab, + .glyphicon, + .ion { + transition: transform linear .3s; + + &:hover { + @include rotate(30deg); + } + } + } +} + +#add-new-event { + transition: all linear .3s; +} + +.external-event { + @include box-shadow($card-shadow); + + border-radius: $border-radius; + cursor: move; + font-weight: bold; + margin-bottom: 4px; + padding: 5px 10px; + + &:hover { + @include box-shadow(inset 0 0 90px rgba(0, 0, 0, 0.2)); + } +} diff --git a/css/scss/adminLTE/plugins/_icheck-bootstrap.scss b/css/scss/adminLTE/plugins/_icheck-bootstrap.scss new file mode 100644 index 0000000..2a5f49b --- /dev/null +++ b/css/scss/adminLTE/plugins/_icheck-bootstrap.scss @@ -0,0 +1,41 @@ +// +// Plugin: iCheck Bootstrap +// + +// iCheck colors (theme colors) +@each $name, $color in $theme-colors { + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + label::before, + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before { + border-color: #{$color}; + } + + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before, + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before { + border-color: #{$color}; + } + + .icheck-#{$name} > input:first-child:checked + label::before, + .icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before { + background-color: #{$color}; + border-color: #{$color}; + } +} + +// iCheck colors (colors) +@each $name, $color in $colors { + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + label::before, + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before { + border-color: #{$color}; + } + + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before, + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before { + border-color: #{$color}; + } + + .icheck-#{$name} > input:first-child:checked + label::before, + .icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before { + background-color: #{$color}; + border-color: #{$color}; + } +} diff --git a/css/scss/adminLTE/plugins/_jqvmap.scss b/css/scss/adminLTE/plugins/_jqvmap.scss new file mode 100644 index 0000000..ef04ae4 --- /dev/null +++ b/css/scss/adminLTE/plugins/_jqvmap.scss @@ -0,0 +1,21 @@ +// +// Plugins: JQVMap +// + +// Zoom Button size fixes +.jqvmap-zoomin, +.jqvmap-zoomout { + background-color: $button-default-background-color; + border: 1px solid $button-default-border-color; + border-radius: $btn-border-radius; + color: $button-default-color; + height: 15px; + width: 15px; + + &:hover, + &:active, + &.hover { + background-color: darken($button-default-background-color, 5%); + color: darken($button-default-color, 10%); + } +} diff --git a/css/scss/adminLTE/plugins/_mapael.scss b/css/scss/adminLTE/plugins/_mapael.scss new file mode 100644 index 0000000..770a169 --- /dev/null +++ b/css/scss/adminLTE/plugins/_mapael.scss @@ -0,0 +1,70 @@ +// +// Plugins: jQuery Mapael +// + +.mapael { + .map { + position: relative; + } + + .mapTooltip { + @include reset-text(); + @include border-radius($tooltip-border-radius); + @include font-size($tooltip-font-size); + background-color: $tooltip-bg; + color: $tooltip-color; + display: block; + max-width: $tooltip-max-width; + padding: $tooltip-padding-y $tooltip-padding-x; + position: absolute; + text-align: center; + word-wrap: break-word; + z-index: $zindex-tooltip; + } + + .myLegend { + background-color: $gray-100; + border: 1px solid $gray-500; + padding: 10px; + width: 600px; + } + + .zoomButton { + background-color: $button-default-background-color; + border: 1px solid $button-default-border-color; + border-radius: $btn-border-radius; + color: $button-default-color; + cursor: pointer; + font-weight: bold; + height: 16px; + left: 10px; + line-height: 14px; + padding-left: 1px; + position: absolute; + text-align: center; + top: 0; + + user-select: none; + width: 16px; + + &:hover, + &:active, + &.hover { + background-color: darken($button-default-background-color, 5%); + color: darken($button-default-color, 10%); + } + } + + .zoomReset { + line-height: 12px; + top: 10px; + } + + .zoomIn { + top: 30px; + } + + .zoomOut { + top: 50px; + } +} diff --git a/css/scss/adminLTE/plugins/_miscellaneous.scss b/css/scss/adminLTE/plugins/_miscellaneous.scss new file mode 100644 index 0000000..c68d6b5 --- /dev/null +++ b/css/scss/adminLTE/plugins/_miscellaneous.scss @@ -0,0 +1,39 @@ +// +// Plugins: Miscellaneous +// Old plugin codes +// + +// _fix for sparkline tooltip +.jqstooltip { + height: auto !important; + padding: 5px !important; + width: auto !important; +} + +// jQueryUI +.connectedSortable { + min-height: 100px; +} + +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} + +.sort-highlight { + background: $gray-100; + border: 1px dashed $gray-300; + margin-bottom: 10px; +} + +// Charts +.chart { + overflow: hidden; + position: relative; +} diff --git a/css/scss/adminLTE/plugins/_mixins.scss b/css/scss/adminLTE/plugins/_mixins.scss new file mode 100644 index 0000000..5e5b625 --- /dev/null +++ b/css/scss/adminLTE/plugins/_mixins.scss @@ -0,0 +1,74 @@ +// +// General: Mixins +// + +// Select2 Variant +@mixin select2-variant($name, $color) { + .select2-#{$name} { + + + .select2-container--default { + &.select2-container--open { + .select2-selection--single { + border-color: lighten($color, 25%); + } + } + + &.select2-container--focus .select2-selection--single { + border-color: lighten($color, 25%); + } + } + + .select2-container--default &, + .select2-container--default { + &.select2-dropdown, + .select2-dropdown, + .select2-search--inline { + .select2-search__field { + &:focus { + border: $input-border-width solid lighten($color, 25%); + } + } + } + + .select2-results__option--highlighted { + background-color: $color; + color: color-yiq($color); + + &[aria-selected] { + &, + &:hover { + background-color: darken($color, 3%); + color: color-yiq(darken($color, 3%)); + } + } + } + + //Multiple select + & { + .select2-selection--multiple { + &:focus { + border-color: lighten($color, 25%); + } + + .select2-selection__choice { + background-color: $color; + border-color: darken($color, 5%); + color: color-yiq($color); + } + + .select2-selection__choice__remove { + color: rgba(color-yiq($color), 0.7); + + &:hover { + color: color-yiq($color); + } + } + } + + &.select2-container--focus .select2-selection--multiple { + border-color: lighten($color, 25%); + } + } + } + } +} diff --git a/css/scss/adminLTE/plugins/_pace.scss b/css/scss/adminLTE/plugins/_pace.scss new file mode 100644 index 0000000..843dc58 --- /dev/null +++ b/css/scss/adminLTE/plugins/_pace.scss @@ -0,0 +1,211 @@ +// +// Plugin: Pace +// + +.pace { + z-index: $zindex-main-sidebar + 10; + + .pace-progress { + z-index: $zindex-main-sidebar + 11; + } + + .pace-activity { + z-index: $zindex-main-sidebar + 12; + } +} + +// Mixin +@mixin pace-variant($name, $color) { + .pace-#{$name} { + .pace { + .pace-progress { + background: $color; + } + } + } + + .pace-barber-shop-#{$name} { + .pace { + background: color-yiq($color); + + .pace-progress { + background: $color; + } + + .pace-activity { + background-image: linear-gradient(45deg, rgba(color-yiq($color), 0.2) 25%, transparent 25%, transparent 50%, rgba(color-yiq($color), 0.2) 50%, rgba(color-yiq($color), 0.2) 75%, transparent 75%, transparent); + } + } + } + + .pace-big-counter-#{$name} { + .pace { + .pace-progress::after { + color: rgba($color, .19999999999999996); + } + } + } + + .pace-bounce-#{$name} { + .pace { + .pace-activity { + background: $color; + } + } + } + + .pace-center-atom-#{$name} { + .pace-progress { + height: 100px; + width: 80px; + + &::before { + background: $color; + color: color-yiq($color); + font-size: .8rem; + line-height: .7rem; + padding-top: 17%; + } + } + + .pace-activity { + border-color: $color; + + &::after, + &::before { + border-color: $color; + } + } + } + + .pace-center-circle-#{$name} { + .pace { + .pace-progress { + background: rgba($color, .8); + color: color-yiq($color); + } + } + } + + .pace-center-radar-#{$name} { + .pace { + .pace-activity { + border-color: $color transparent transparent; + } + + .pace-activity::before { + border-color: $color transparent transparent; + } + } + } + + .pace-center-simple-#{$name} { + .pace { + background: color-yiq($color); + border-color: $color; + + .pace-progress { + background: $color; + } + } + } + + .pace-material-#{$name} { + .pace { + color: $color; + } + } + + .pace-corner-indicator-#{$name} { + .pace { + .pace-activity { + background: $color; + } + + .pace-activity::after, + .pace-activity::before { + border: 5px solid color-yiq($color); + } + + + .pace-activity::before { + border-right-color: rgba($color, .2); + border-left-color: rgba($color, .2); + } + + .pace-activity::after { + border-top-color: rgba($color, .2); + border-bottom-color: rgba($color, .2); + } + } + } + + .pace-fill-left-#{$name} { + .pace { + .pace-progress { + background-color: rgba($color, 0.19999999999999996); + } + } + } + + .pace-flash-#{$name} { + .pace { + .pace-progress { + background: $color; + } + + .pace-progress-inner { + box-shadow: 0 0 10px $color, 0 0 5px $color; + } + + .pace-activity { + border-top-color: $color; + border-left-color: $color; + } + } + } + + .pace-loading-bar-#{$name} { + .pace { + .pace-progress { + background: $color; + color: $color; + box-shadow: 120px 0 color-yiq($color), 240px 0 color-yiq($color); + } + + .pace-activity { + box-shadow: inset 0 0 0 2px $color, inset 0 0 0 7px color-yiq($color); + } + } + } + + .pace-mac-osx-#{$name} { + .pace { + .pace-progress { + background-color: $color; + box-shadow: inset -1px 0 $color, inset 0 -1px $color, inset 0 2px rgba(color-yiq($color), 0.5), inset 0 6px rgba(color-yiq($color), .3); + } + + .pace-activity { + background-image: radial-gradient(rgba(color-yiq($color), .65) 0%, rgba(color-yiq($color), .15) 100%); + height: 12px; + } + } + } + + .pace-progress-color-#{$name} { + .pace-progress { + color: $color; + } + } +} + + +@each $name, $color in $theme-colors { + @include pace-variant($name, $color); +} + +@each $name, $color in $colors { + @include pace-variant($name, $color); +} + diff --git a/css/scss/adminLTE/plugins/_select2.scss b/css/scss/adminLTE/plugins/_select2.scss new file mode 100644 index 0000000..66aca6f --- /dev/null +++ b/css/scss/adminLTE/plugins/_select2.scss @@ -0,0 +1,275 @@ +// +// Plugin: Select2 +// + +//Signle select +// .select2-container--default, +// .select2-selection { +// &.select2-container--focus, +// &:focus, +// &:active { +// outline: none; +// } +// } + +.select2-container--default { + .select2-selection--single { + border: $input-border-width solid $input-border-color; + //border-radius: $input-radius; + padding: ($input-padding-y * 1.25) $input-padding-x; + height: $input-height; + } + + &.select2-container--open { + .select2-selection--single { + border-color: lighten($primary, 25%); + } + } + + & .select2-dropdown { + border: $input-border-width solid $input-border-color; + //border-radius: $input-radius; + } + + & .select2-results__option { + padding: 6px 12px; + user-select: none; + -webkit-user-select: none; + } + + & .select2-selection--single .select2-selection__rendered { + padding-left: 0; + //padding-right: 0; + height: auto; + margin-top: -3px; + } + + &[dir="rtl"] .select2-selection--single .select2-selection__rendered { + padding-right: 6px; + padding-left: 20px; + } + + & .select2-selection--single .select2-selection__arrow { + height: 31px; + right: 6px; + } + + & .select2-selection--single .select2-selection__arrow b { + margin-top: 0; + } + + .select2-dropdown, + .select2-search--inline { + .select2-search__field { + border: $input-border-width solid $input-border-color; + + &:focus { + outline: none; + border: $input-border-width solid $input-focus-border-color; + } + } + } + + .select2-dropdown { + &.select2-dropdown--below { + border-top: 0; + } + + &.select2-dropdown--above { + border-bottom: 0; + } + } + + .select2-results__option { + &[aria-disabled='true'] { + color: $gray-600; + } + + &[aria-selected='true'] { + $color: $gray-300; + + background-color: $color; + + &, + &:hover { + color: color-yiq($color); + } + } + } + + .select2-results__option--highlighted { + $color: $primary; + background-color: $color; + color: color-yiq($color); + + &[aria-selected] { + $color: darken($color, 3%); + + &, + &:hover { + background-color: $color; + color: color-yiq($color); + } + } + } + + //Multiple select + & { + .select2-selection--multiple { + border: $input-border-width solid $input-border-color; + min-height: $input-height; + + &:focus { + border-color: $input-focus-border-color; + } + + .select2-selection__rendered { + padding: 0 $input-padding-x / 2 $input-padding-y; + margin-bottom: -$input-padding-x / 2; + + li:first-child.select2-search.select2-search--inline { + width: 100%; + margin-left: $input-padding-x / 2; + + .select2-search__field { + width: 100% !important; + } + } + + + .select2-search.select2-search--inline { + .select2-search__field { + border: 0; + margin-top: 6px; + } + } + } + + .select2-selection__choice { + background-color: $primary; + border-color: darken($primary, 5%); + color: color-yiq($primary); + padding: 0 10px; + margin-top: .31rem; + } + + .select2-selection__choice__remove { + color: rgba(255, 255, 255, 0.7); + float: right; + margin-left: 5px; + margin-right: -2px; + + &:hover { + color: $white; + } + } + + .text-sm &, + &.text-sm { + .select2-search.select2-search--inline { + .select2-search__field { + margin-top: 8px; + } + } + + .select2-selection__choice { + margin-top: .4rem; + } + } + } + + &.select2-container--focus { + .select2-selection--single, + .select2-selection--multiple { + border-color: $input-focus-border-color; + } + + .select2-search__field { + border: 0; + } + } + } + + & .select2-selection--single .select2-selection__rendered li { + padding-right: 10px; + } + + .input-group-prepend ~ & { + .select2-selection { + border-bottom-left-radius: 0; + border-top-left-radius: 0; + } + } + + .input-group > &:not(:last-child) { + .select2-selection { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + } + } +} + +// Select2 Bootstrap4 Theme overrides +.select2-container--bootstrap4 { + &.select2-container--focus .select2-selection { + box-shadow: none; + } +} + +// text-sm / form-control-sm override +select.form-control-sm ~ { + .select2-container--default { + font-size: $font-size-sm; + } +} + +.text-sm, +select.form-control-sm ~ { + .select2-container--default { + .select2-selection--single { + height: $input-height-sm; + + .select2-selection__rendered { + margin-top: -.4rem; + } + + .select2-selection__arrow { + top: -.12rem; + } + } + + .select2-selection--multiple { + min-height: $input-height-sm; + + .select2-selection__rendered { + padding: 0 $input-padding-x-sm / 2 $input-padding-y-sm; + margin-top: -($input-padding-x-sm / 5); + + li:first-child.select2-search.select2-search--inline { + margin-left: $input-padding-x-sm / 2; + } + + .select2-search.select2-search--inline { + .select2-search__field { + margin-top: 6px; + } + } + } + } + } +} + +// Dropdown Fix inside maximized card +.maximized-card .select2-dropdown { + z-index: 9999; +} + +// Background colors (theme colors) +@each $name, $color in $theme-colors { + @include select2-variant($name, $color); +} + +// Background colors (colors) +@each $name, $color in $colors { + @include select2-variant($name, $color); +} diff --git a/css/scss/adminLTE/plugins/_sweetalert2.scss b/css/scss/adminLTE/plugins/_sweetalert2.scss new file mode 100644 index 0000000..a5b7aaa --- /dev/null +++ b/css/scss/adminLTE/plugins/_sweetalert2.scss @@ -0,0 +1,40 @@ +// +// Plugin: SweetAlert2 +// + +// Icon Colors +.swal2-icon { + &.swal2-info { + border-color: ligthen($info, 20%); + color: $info; + } + + &.swal2-warning { + border-color: ligthen($warning, 20%); + color: $warning; + } + + &.swal2-error { + border-color: ligthen($danger, 20%); + color: $danger; + } + + &.swal2-question { + border-color: ligthen($secondary, 20%); + color: $secondary; + } + + &.swal2-success { + border-color: ligthen($success, 20%); + color: $success; + + .swal2-success-ring { + border-color: ligthen($success, 20%); + } + + [class^='swal2-success-line'] { + background-color: $success; + } + } + +} diff --git a/css/scss/adminLTE/plugins/_toastr.scss b/css/scss/adminLTE/plugins/_toastr.scss new file mode 100644 index 0000000..9400ca5 --- /dev/null +++ b/css/scss/adminLTE/plugins/_toastr.scss @@ -0,0 +1,60 @@ +// +// Plugin: Toastr +// + +// Background to FontAwesome Icons +// #toast-container > .toast { +// background-image: none !important; +// } +// #toast-container > .toast .toast-message:before { +// font-family: 'Font Awesome 5 Free'; +// font-size: 24px; +// font-weight: 900; +// line-height: 18px; +// float: left; +// color: #FFF; +// padding-right: 0.5em; +// margin: auto 0.5em auto -1.5em; +// } +// #toast-container > .toast-warning .toast-message:before { +// content: "\f06a"; +// } +// #toast-container > .toast-error .toast-message:before { +// content: "\f071"; +// } +// #toast-container > .toast-info .toast-message:before { +// content: "\f05a"; +// } +// #toast-container > .toast-success .toast-message:before { +// content: "\f058"; +// } + + +#toast-container { + // Background color + .toast { + background-color: $primary; + } + + .toast-success { + background-color: $success; + } + + .toast-error { + background-color: $danger; + } + + .toast-info { + background-color: $info; + } + + .toast-warning { + background-color: $warning; + } +} + +// full width fix +.toast-bottom-full-width .toast, +.toast-top-full-width .toast { + max-width: inherit; +} diff --git a/css/scss/bootstrap/_alert.scss b/css/scss/bootstrap/_alert.scss new file mode 100644 index 0000000..da2a98a --- /dev/null +++ b/css/scss/bootstrap/_alert.scss @@ -0,0 +1,51 @@ +// +// Base styles +// + +.alert { + position: relative; + padding: $alert-padding-y $alert-padding-x; + margin-bottom: $alert-margin-bottom; + border: $alert-border-width solid transparent; + @include border-radius($alert-border-radius); +} + +// Headings for larger alerts +.alert-heading { + // Specified to prevent conflicts of changing $headings-color + color: inherit; +} + +// Provide class for links that match alerts +.alert-link { + font-weight: $alert-link-font-weight; +} + + +// Dismissible alerts +// +// Expand the right padding and account for the close button's positioning. + +.alert-dismissible { + padding-right: $close-font-size + $alert-padding-x * 2; + + // Adjust close link position + .close { + position: absolute; + top: 0; + right: 0; + padding: $alert-padding-y $alert-padding-x; + color: inherit; + } +} + + +// Alternate styles +// +// Generate contextual modifier classes for colorizing the alert. + +@each $color, $value in $theme-colors { + .alert-#{$color} { + @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level)); + } +} diff --git a/css/scss/bootstrap/_badge.scss b/css/scss/bootstrap/_badge.scss new file mode 100644 index 0000000..2082f05 --- /dev/null +++ b/css/scss/bootstrap/_badge.scss @@ -0,0 +1,54 @@ +// Base class +// +// Requires one of the contextual, color modifier classes for `color` and +// `background-color`. + +.badge { + display: inline-block; + padding: $badge-padding-y $badge-padding-x; + @include font-size($badge-font-size); + font-weight: $badge-font-weight; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + @include border-radius($badge-border-radius); + @include transition($badge-transition); + + @at-root a#{&} { + @include hover-focus { + text-decoration: none; + } + } + + // Empty badges collapse automatically + &:empty { + display: none; + } +} + +// Quick fix for badges in buttons +.btn .badge { + position: relative; + top: -1px; +} + +// Pill badges +// +// Make them extra rounded with a modifier to replace v3's badges. + +.badge-pill { + padding-right: $badge-pill-padding-x; + padding-left: $badge-pill-padding-x; + @include border-radius($badge-pill-border-radius); +} + +// Colors +// +// Contextual variations (linked badges get darker on :hover). + +@each $color, $value in $theme-colors { + .badge-#{$color} { + @include badge-variant($value); + } +} diff --git a/css/scss/bootstrap/_breadcrumb.scss b/css/scss/bootstrap/_breadcrumb.scss new file mode 100644 index 0000000..be30950 --- /dev/null +++ b/css/scss/bootstrap/_breadcrumb.scss @@ -0,0 +1,41 @@ +.breadcrumb { + display: flex; + flex-wrap: wrap; + padding: $breadcrumb-padding-y $breadcrumb-padding-x; + margin-bottom: $breadcrumb-margin-bottom; + list-style: none; + background-color: $breadcrumb-bg; + @include border-radius($breadcrumb-border-radius); +} + +.breadcrumb-item { + // The separator between breadcrumbs (by default, a forward-slash: "/") + + .breadcrumb-item { + padding-left: $breadcrumb-item-padding; + + &::before { + display: inline-block; // Suppress underlining of the separator in modern browsers + padding-right: $breadcrumb-item-padding; + color: $breadcrumb-divider-color; + content: $breadcrumb-divider; + } + } + + // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built + // without `
+ + + + \ No newline at end of file diff --git a/include/header.asp b/include/header.asp new file mode 100644 index 0000000..48d19e4 --- /dev/null +++ b/include/header.asp @@ -0,0 +1,288 @@ + +<% +call Time_Check(Session("Login_Check")) +' +if request("request_chk") = "" then +%> + +<% +end if + +Response.Charset = "EUC-KR" +Response.codePage = "949" +Response.ContentType="text/html;charset=euc-kr" +%> + + + + + + + + <%=GNB_TITLE%> + <% If Request("dialog") <> "1" Then %> + <% If Request("command") <> "excel" Then %> + + + + + + + + + + + + + + + + + + + + + + + <% End If %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% End If %> + + + +
+ + <% If Request("cutmenu") <> "1" And Request("command") <> "excel" Then %> + + <% End If %> + + + + \ No newline at end of file diff --git a/include/holiday_count.asp b/include/holiday_count.asp new file mode 100644 index 0000000..02a9761 --- /dev/null +++ b/include/holiday_count.asp @@ -0,0 +1,70 @@ +<% +''ÀÔ»çÀÏÀÚ¸¦ ±âÁØÀ¸·Î ³âÂ÷ °è»êÇÔ. +'2³â¿¡ 1°³¾¿ Áõ°¡ÇÔ. + + dim Holyday_year(2) + dim Krc_in_date 'krcÀÔ»çÀÏÀÚ + dim dateGubun + dim day_off + + function holiday_count(user_number, sel_date) + '''/==³âÂ÷ ÇöȲ + + query = "select " + query = query & " dbo.VAC_REM('" & user_number & "', '" & sel_date & "') " + query = query & " + ISNULL( " + query = query & " (SELECT sum(vac_change_cnt) FROM T_VACATION_CUSTOM " + query = query & " WHERE p_no = '" & user_number & "' " + query = query & " AND vac_season = dbo.VAC_YEAR('" & user_number & "', '" & sel_date & "') " + query = query & " ), 0) AS vac_rem, " + query = query & " dbo.VAC_USE('" & user_number & "', '" & sel_date & "') AS vac_use " + Rs.open Query, adoconn, 1 + Holyday_year(1) = Rs("vac_rem") + Holyday_year(2) = Rs("vac_use") + Rs.close + 'Holyday_year(1) : ±Ý³â ÃÑ »ç¿ë°¡´É ³âÂ÷ + 'Holyday_year(2) : ±Ý³â ÃÑ »ç¿ëÇÑ ³âÂ÷ + end function + + function day_off_chk(tmpyear, tmpmonth, tmpday) + Query = " SELECT dbo.holiday_chk('" & tmpyear & "-" & RIGHT("0" & tmpmonth, 2) & "-" & RIGHT("0" & tmpday, 2) & "') as holi_chk " + Rs.Open query, adoconn,adOpenStatic,adLockReadOnly + If Rs("holi_chk") = "1" Then + day_off = "true" + Else + day_off = "false" + End if + Rs.Close + end function + + function day_off_chk_only(tmpyear, tmpmonth, tmpday) + Query = " SELECT dbo.only_holiday_chk('" & tmpyear & "-" & RIGHT("0" & tmpmonth, 2) & "-" & RIGHT("0" & tmpday, 2) & "') as holi_chk " + Rs.Open query, adoconn,adOpenStatic,adLockReadOnly + If Rs("holi_chk") = "1" Then + day_off = "true" + Else + day_off = "false" + End if + Rs.Close + end function + + function getSeason(user_number, sel_date) + vac_season = "" + Query = " SELECT dbo.VAC_YEAR('" & user_number & "', '" & sel_date & "') as vac_season " + Rs.Open query, adoconn,adOpenStatic,adLockReadOnly + vac_season = Rs("vac_season") + Rs.Close + getSeason = vac_season + End Function + + function getWeeknum(tmpyear, tmpmonth, tmpday) + vac_season = "" + Query = " SELECT TOP 1 weeknum FROM project2.dbo.login_weeknum with(nolock) WHERE '" & tmpyear & "-" & RIGHT("0" & tmpmonth, 2) & "-" & RIGHT("0" & tmpday, 2) & "' BETWEEN sdate and edate " + Rs.Open query, adoconn,adOpenStatic,adLockReadOnly + vac_season = Rs("weeknum") + Rs.Close + getWeeknum = vac_season + End Function +%> + + \ No newline at end of file diff --git a/include/left.asp b/include/left.asp new file mode 100644 index 0000000..3d3c7bc --- /dev/null +++ b/include/left.asp @@ -0,0 +1,151 @@ +<% If Request("cutmenu") <> "1" Then %> + + + + +<% End If %> \ No newline at end of file diff --git a/include/mail_config.asp b/include/mail_config.asp new file mode 100644 index 0000000..0eda3c0 --- /dev/null +++ b/include/mail_config.asp @@ -0,0 +1,42 @@ +<% + set objMessage = createobject("cdo.message") + set objConfig = createobject("cdo.configuration") + + Set Flds = objConfig.Fields + + Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2 + '-> 서버 접근방법ì�„ 설정합니다 + Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="smtp.office365.com" + '-> 서버 주소를 설정합니다 + Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")=1 + '-> SMTP ì ‘ì†� ì�¸ì¦�방법ì�„ 설정합니다 + Flds.item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 + '-> 접근할 í�¬íŠ¸ë²ˆí˜¸ë¥¼ 설정합니다 + Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusername")="admin@korearic.onmicrosoft.com" + '-> SMTP 서버ì—� ì�¸ì¦�í•  ID를 입력합니다 + Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword")="it#51304" + '-> SMTP 서버ì—� ì�¸ì¦�í•  암호를 입력합니다 + Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 30 + '-> ì ‘ì†�시ë�„í•  제한시간ì�„ 설정합니다 + Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendtls") = True + Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = 1 + + Flds.update + + Set objMessage.Configuration = objConfig + + objMessage.To = mail_target + If mail_from = "" Then + mail_from = "info@kric.com" + End If + objMessage.From = mail_from + objMessage.Subject = mail_subject + objMessage.HTMLBody = mail_body + objMessage.fields.update + if Trim(mail_subject) <> "" and Trim(mail_target) <> "" and Trim(mail_body) <> "" then + objMessage.Send + end if + + set objMessage = Nothing + set objConfig = Nothing +%> \ No newline at end of file diff --git a/index.asp b/index.asp new file mode 100644 index 0000000..58c81d9 --- /dev/null +++ b/index.asp @@ -0,0 +1,151 @@ + + + +
+ +
+

Main

+
+ + +
+
+
+
+
+ +
+
+ +
+
+ + + + +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ + + + +
+ + \ No newline at end of file diff --git a/inspection/Ajax_Money.asp b/inspection/Ajax_Money.asp new file mode 100644 index 0000000..d24793f --- /dev/null +++ b/inspection/Ajax_Money.asp @@ -0,0 +1,123 @@ + + +<% +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +MoneyDate = Request("MoneyDate") + +query = "" +query = query &" select *, CASE WHEN p_subject LIKE '%KRC%' THEN 'KRC' WHEN p_subject LIKE '%KRD%' THEN 'KRD' ELSE 'KRI' END as comp from"&VbCrlf +query = query &" ("&VbCrlf +query = query &" --³»±ÙÁ÷(ÄÚµù Á¦¿Ü)"&VbCrlf +query = query &" select '³»±ÙÁ÷' as m_n, TMP.m_name, left(m.M_JUMIN,6) + '-' + right(m.M_JUMIN,7) as M_JUMIN, M.m_mobile, b.b_fullname, isnull(m.m_b_no,'') m_b_no, TMP.p_sn, TPM.p_subject, work_dt, D.d_write_date, s_gubun,"&VbCrlf +query = query &" s_pay_unit, s_wan, s_sum, convert(varchar(15),insert_dt,23) as insert_dt, p.p_no, p.p_name, isnull(tmp.attribute05, ' ') as attribute05"&VbCrlf +query = query &" from project2.dbo.t_neakeun_pay TMP WITH(NOLOCK) "&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.neakeun_work NW WITH(NOLOCK) ON TMP.attribute01 = cast(NW.id as varchar)"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.T_PROJECT_METHOD TPM WITH(NOLOCK) ON TMP.p_sn = TPM.p_child_sn"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.person P WITH(NOLOCK) on TMP.insert_user = p.p_no"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.man M WITH(NOLOCK) ON left(tmp.m_jumin,6) = LEFT(m.m_jumin,6) and TMP.m_name = m.m_name"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.bank B WITH(NOLOCK) ON m.M_bank = b.b_code"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.Document D WITH(NOLOCK) ON isnull(TMP.attribute05,'') = D.d_no"&VbCrlf +query = query &" where D.d_order_cnt = '77' " +if MoneyDate = "2022-04" Then + query = query &" and work_dt between '"&MoneyDate&"-01' and '"&MoneyDate&"-25' " +elseif MoneyDate > "2022-04" Then + '''''''''''''''''''20230807 ¹ÚÁؼº ÇÏÁöÀ± ¼±ÀÓÀÇ Áö°á ´©¶ôÀ¸·Î ÀÎÇÑ ÇϵåÄÚµå·Î ƯÁ¤ ¹®¼­ 2023-07¿ù¿¡ ³ª¿Ã¼ö ÀÖµµ·Ï ¼öÁ¤ + '''''''''''''''''''query = query &" and work_dt between cast(DATEADD(m,-1,cast('"&MoneyDate&"-26' as date))as varchar) and '"&MoneyDate&"-25' " + query = query &" and ( work_dt between cast(DATEADD(m,-1,cast('"&MoneyDate&"-26' as date))as varchar) and '"&MoneyDate&"-25' " + query = query &" or ( '"&MoneyDate&"' = '2023-07' and TMP.attribute05 in ('KRC-2023-t-00507','KRC-2023-t-00506','KRC-2023-t-00505')))" + '''''''''''''''''''20241205 ÀÌÀçÀº Á¶¹Î¾Æ Ã¥ÀÓÀÇ ³»±ÙÁ÷ ¼ö´ç Áö°á ´©¶ôÀ¸·Î ÀÎÇÑ ÇϵåÄÚµå·Î ƯÁ¤ ¹®¼­ ¼ö´ç°ü¸®(n) 2024-11¿ù¿¡ ³ª¿Ã¼ö ÀÖµµ·Ï ¼öÁ¤ but ¹Ý¿µ Ãë¼Ò + ' query = query &" or ( '"&MoneyDate&"' = '2023-07' and TMP.attribute05 in ('KRC-2023-t-00507','KRC-2023-t-00506','KRC-2023-t-00505'))" + ' query = query &" or ( '"&MoneyDate&"' = '2024-11' and TMP.attribute05 in ('KRC-2024-t-01104')))" +else + query = query & " and LEFT(work_dt, 7) = '" & MoneyDate & "' " +end if +query = query &" AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004'"&VbCrlf +query = query &" "&VbCrlf +query = query &" union all"&VbCrlf +query = query &" --³»±ÙÁ÷(ÄÚµù)"&VbCrlf +query = query &" select '³»±ÙÁ÷' as m_n, TMP.m_name, left(m.M_JUMIN,6) + '-' + right(m.M_JUMIN,7) as M_JUMIN, M.m_mobile, b.b_fullname, isnull(m.m_b_no,'') m_b_no, TMP.p_sn, TPM.p_subject, work_dt, D.d_write_date, s_gubun,"&VbCrlf +query = query &" s_pay_unit, s_wan, s_sum, convert(varchar(15),insert_dt,23) as insert_dt, p.p_no, p.p_name, isnull(tmp.attribute05, ' ') as attribute05"&VbCrlf +query = query &" from project2.dbo.t_neakeun_pay TMP WITH(NOLOCK)"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.neakeun_work NW WITH(NOLOCK) ON TMP.attribute01 = cast(NW.id as varchar)"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.T_PROJECT_METHOD TPM WITH(NOLOCK) ON TMP.p_sn = TPM.p_child_sn"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.person P WITH(NOLOCK) on TMP.insert_user = p.p_no"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.man M WITH(NOLOCK) ON left(tmp.m_jumin,6) = LEFT(m.m_jumin,6) and TMP.m_name = m.m_name"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.bank B WITH(NOLOCK) ON m.M_bank = b.b_code"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.Document D WITH(NOLOCK) ON isnull(TMP.attribute05,'') = D.d_no"&VbCrlf +query = query &" where D.d_order_cnt = '77'"&VbCrlf +if MoneyDate = "2022-04" Then + query = query &" and D.d_write_date between '"&MoneyDate&"-16' and cast(DATEADD(m,1,cast('"&MoneyDate&"-05' as date)) as varchar)"&VbCrlf +elseif MoneyDate > "2022-04" Then + query = query &" and D.d_write_date between '"&MoneyDate&"-06' and cast(DATEADD(m,1,cast('"&MoneyDate&"-05' as date)) as varchar)"&VbCrlf +else + query = query &" and D.d_write_date between '"&MoneyDate&"-16' and cast(DATEADD(m,1,cast('"&MoneyDate&"-15' as date)) as varchar)"&VbCrlf +end if +query = query &" AND NW.in_time + NW.out_time + NW.p_sebu_code = '000000004'"&VbCrlf +query = query &" "&VbCrlf +query = query &" union all"&VbCrlf +query = query &" --¸éÁ¢¿ø(CATI)"&VbCrlf +query = query &" select '¸éÁ¢¿ø' as m_n, TMP.m_name, left(m.M_JUMIN,6) + '-' + right(m.M_JUMIN,7) as M_JUMIN, M.m_mobile, b.b_fullname, isnull(m.m_b_no,'') m_b_no, TMP.p_sn, TPM.p_subject, TMP.work_dt, D.d_write_date, s_gubun,"&VbCrlf +query = query &" s_pay_unit, s_wan + isnull(add_count, 0) as s_wan, s_sum, convert(varchar(15),insert_dt,23) as insert_dt, p.p_no, p.p_name, isnull(tmp.attribute05, ' ') as attribute05"&VbCrlf +query = query &" from project2.dbo.t_myun_pay TMP WITH(NOLOCK)"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.T_PROJECT_METHOD TPM WITH(NOLOCK) ON TMP.p_sn = TPM.p_child_sn"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.person P WITH(NOLOCK) on TMP.insert_user = p.p_no"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.man M WITH(NOLOCK) ON left(tmp.m_jumin,6) = LEFT(m.m_jumin,6) and TMP.m_name = m.m_name"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.bank B WITH(NOLOCK) ON m.M_bank = b.b_code"&VbCrlf +query = query &" LEFT OUTER JOIN project2.dbo.Document D WITH(NOLOCK) ON isnull(TMP.attribute05,'') = D.d_no"&VbCrlf +query = query &" where TMP.confirm_yn = 'Y' and s_sum <> '0' and D.d_order_cnt = '77'"&VbCrlf +if MoneyDate = "2022-04" Then + query = query &" and D.d_write_date between '"&MoneyDate&"-16' and cast(DATEADD(m,1,cast('"&MoneyDate&"-05' as date)) as varchar)"&VbCrlf +elseif MoneyDate > "2022-04" Then + query = query &" and D.d_write_date between '"&MoneyDate&"-06' and cast(DATEADD(m,1,cast('"&MoneyDate&"-05' as date)) as varchar)"&VbCrlf +else + query = query &" and D.d_write_date between '"&MoneyDate&"-16' and cast(DATEADD(m,1,cast('"&MoneyDate&"-15' as date)) as varchar)"&VbCrlf +end if +query = query &" ) T"&VbCrlf +query = query &" order by p_sn, s_gubun"&VbCrlf +'Response.Write query +Rs.Open query, adoConn, 1 +set json = jsObject() +Redim data(Rs.recordcount-1) +iCnt = 0 + +if not Rs.eof then + while not Rs.eof + set MoneyList = jsObject() + MoneyList("Company") = Rs("comp") + MoneyList("P_Sn") = Rs("p_sn") + MoneyList("P_Subject") = Rs("p_subject") + MoneyList("P_Name") = Rs("m_name") + MoneyList("M_Jumin") = Rs("M_JUMIN") + MoneyList("M_Work") = Rs("s_gubun") + MoneyList("Danga") = Rs("s_pay_unit") + MoneyList("Cnt") = Rs("s_wan") + MoneyList("Allowance") = Rs("s_sum") + MoneyList("WorkDate") = Rs("work_dt") + MoneyList("Doc_Date") = Rs("d_write_date") + MoneyList("M_Phone") = Rs("m_mobile") + MoneyList("M_Bank") = Rs("b_fullname") + MoneyList("M_Acount") = CStr(Rs("m_b_no")) + MoneyList("P_No") = Rs("p_no") + MoneyList("P_SV") = Rs("p_name") + MoneyList("ConfirmDate") = Rs("insert_dt") + MoneyList("D_No") = Rs("attribute05") + MoneyList("M_Gubun") = Rs("m_n") + set data(iCnt) = MoneyList + iCnt = iCnt + 1 + Rs.movenext + wend + json("recordsTotal") = Rs.recordcount + json("recordsFiltered") = Rs.recordcount + json("data") = data +Else + json("data") = "" +End If + +Rs.close + +response.write toJSON(json) +%> \ No newline at end of file diff --git a/inspection/MoneyList.asp b/inspection/MoneyList.asp new file mode 100644 index 0000000..70a537b --- /dev/null +++ b/inspection/MoneyList.asp @@ -0,0 +1,305 @@ + + + +
+ + +
+

¼ö´ç °ü¸®

+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
ȸ
ȍ
ÇÁ·ÎÁ§Æ®
ÄÚµå
ÇÁ·ÎÁ§Æ®
¸í
ÀÌ
¸§
ÁÖ¹Î
¹øÈ£
¾÷
¹«
´Ü
°¡
¼ö
·®
ÃÑ
±Ý¾×
±Ù¹«
³¯Â¥
ÁöÃâ
°áÀÇÀÏ
ÀüÈ­
¹øÈ£
ÀºÇà¸í°èÁÂ
¹øÈ£
»ç¿øNo´ã´ç
S/V
ÀÔ·Â
³¯Â¥
°áÀç
¹®¼­¹øÈ£
±¸
ºÐ
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/capi_device_log.asp b/inspection/capi_device_log.asp new file mode 100644 index 0000000..faf4297 --- /dev/null +++ b/inspection/capi_device_log.asp @@ -0,0 +1,61 @@ + +<% + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT ROW_NUMBER() OVER(ORDER BY D.ID) AS NO, D.ID, DU.ID as UID, D.T_DEVICE_MODEL, D.T_NO, " + query = query & " ISNULL(DU.P_CHILD_SN, '') AS P_CHILD_SN, " + query = query & " ISNULL(VPM.P_SUBJECT, '') AS P_SUBJECT, " + query = query & " ISNULL(DU.MAN_ID, '') AS MAN_ID," + query = query & " ISNULL(M.M_NAME, '') AS M_NAME," + query = query & " ISNULL(DU.USE_ST_DT, '') AS USE_ST_DT," + query = query & " ISNULL(DU.USE_ED_DT, '') AS USE_ED_DT," + query = query & " ISNULL(DU.D_NO, '') AS D_NO," + query = query & " ISNULL(DU.INSERT_USER, '') AS INSERT_USER," + query = query & " ISNULL(P.p_name, '') AS INSERT_USER_NAME," + query = query & " INSERT_DT, MODIFY_DT " + query = query & " FROM project2.dbo.T_DEVICE D" + query = query & " LEFT JOIN project2.dbo.T_DEVICE_USE DU ON D.ID = DU.DEVICE_ID" + query = query & " LEFT JOIN project2.dbo.V_PROJECT_METHOD VPM ON DU.P_CHILD_SN = VPM.p_child_sn" + query = query & " LEFT JOIN project2.dbo.man M ON DU.MAN_ID = M.new_id" + query = query & " LEFT JOIN project2.dbo.V_Person P ON DU.INSERT_USER = P.p_no " + query = query & " WHERE D.ID = " & device_id & " AND DU.USE_YN = 'N' " + query = query & " ORDER BY MODIFY_DT DESC " + + response.write "" + response.write "" + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write "" + Rs.Open query, adoConn, 1 + do while not Rs.eof + response.write "" + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write "" + Rs.movenext + loop + Rs.close + response.write "
ÇÁ·ÎÁ§Æ®¸éÁ¢¿ø´ë¿©±â°£´ë¿©½ÅûÀÚ±â·ÏÀϽÃ
[" & Rs("P_CHILD_SN") & "] " & Rs("P_SUBJECT") & "" + if Rs("MAN_ID") <> "" Then + response.write "[" & Rs("MAN_ID") & "] " & Rs("M_NAME") + End if + response.write "" & Rs("USE_ST_DT") & " ~ " & Rs("USE_ED_DT") & "" & Rs("INSERT_USER_NAME") & "" & Rs("MODIFY_DT") & "" + if Rs("INSERT_USER") = Cstr(Session("User_Number")) Then + response.write "" + End if + response.write "
" +%> \ No newline at end of file diff --git a/inspection/capi_device_log_del.asp b/inspection/capi_device_log_del.asp new file mode 100644 index 0000000..d0369d7 --- /dev/null +++ b/inspection/capi_device_log_del.asp @@ -0,0 +1,26 @@ + +<% + set dbin = server.CreateObject("ADODB.CONNECTION") + + use_id = request("use_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET USE_YN = '' " + query = query & " WHERE ID = " & use_id & " AND USE_YN = 'N' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/inspection/capi_device_man_reg.asp b/inspection/capi_device_man_reg.asp new file mode 100644 index 0000000..fd2702a --- /dev/null +++ b/inspection/capi_device_man_reg.asp @@ -0,0 +1,28 @@ + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + + man_id = request("man_id") + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET MAN_ID = '" & man_id & "' " + query = query & " WHERE DEVICE_ID = " & device_id & " AND USE_YN = 'Y' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/inspection/capi_device_mod.asp b/inspection/capi_device_mod.asp new file mode 100644 index 0000000..56a5d6f --- /dev/null +++ b/inspection/capi_device_mod.asp @@ -0,0 +1,61 @@ + +<% + set dbin = server.CreateObject("ADODB.CONNECTION") + + p_child_sn = request("p_child_sn") + use_ed_dt = request("use_ed_dt") + man_id = request("man_id") + device_id = request("device_id") + + if man_id = "" then + man_value = "MAN_ID" + else + man_value = "'" & man_id & "'" + end if + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT ID " + query = query & " FROM project2.dbo.T_DEVICE_USE " + query = query & " WHERE DEVICE_ID = " & device_id & " AND USE_YN = 'Y' " + + Rs.Open Query, adoConn, 1 + if Rs.recordCount > 0 then + row_id = Rs("ID") + else + row_id = "0" + end if + Rs.close + + if cint(row_id) > 0 then + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET USE_YN = 'N', MODIFY_DT = getdate() " + query = query & " WHERE ID = " & row_id & " " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + query = "" + query = query & " INSERT INTO project2.dbo.T_DEVICE_USE " + query = query & " (DEVICE_ID, P_CHILD_SN, USE_ST_DT, USE_ED_DT, MAN_ID, USE_YN, D_NO, MODIFY_DT, INSERT_DT, INSERT_USER) " + query = query & " SELECT " & device_id & ", '" & p_child_sn & "', USE_ST_DT, '" & use_ed_dt & "', " & man_value & ", 'Y', D_NO, getdate(), getdate(), INSERT_USER " + query = query & " FROM project2.dbo.T_DEVICE_USE " + query = query & " WHERE ID = " & row_id & " " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + + response.Write "1" + else + response.Write "0" + end if + end if +%> \ No newline at end of file diff --git a/inspection/capi_device_reg.asp b/inspection/capi_device_reg.asp new file mode 100644 index 0000000..906983e --- /dev/null +++ b/inspection/capi_device_reg.asp @@ -0,0 +1,69 @@ + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + + p_child_sn = URLDecode(request("p_child_sn")) + use_st_dt = request("use_st_dt") + use_ed_dt = request("use_ed_dt") + use_device_cnt = request("use_device_cnt") + use_device_id = request("use_device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT ID " + query = query & " FROM project2.dbo.V_DEVICE_STATUS " + query = query & " WHERE P_CHILD_SN = '' " + query = query & " AND ID IN (" & use_device_id & ")" + + Rs.Open Query, adoConn, 1 + + if Rs.recordcount < cint(use_device_cnt) Then + Rs.Close + response.Write "2" + response.End + End if + insertCnt = 0 + + now_year = Right(left(now(),4),2) + now_month = mid(now(),6,2) + now_day = mid(now(),9,2) + now_hour = right("0" & hour(now), 2) + now_minute = right("0" & minute(now), 2) + now_second = right("0" & second(now), 2) + now_micro = right("000" & (timer * 1000) Mod 1000, 3) + + d_no = "G" & now_year & now_month & now_day & now_hour & now_minute & now_second & now_micro ' ±×·ìID + + for k=1 To Rs.recordcount + query = "" + query = query & " INSERT INTO project2.dbo.T_DEVICE_USE " + query = query & " (DEVICE_ID, P_CHILD_SN, USE_ST_DT, USE_ED_DT, D_NO, USE_YN, MODIFY_DT, INSERT_DT, INSERT_USER) VALUES " + query = query & " (" & Rs("ID") & ", '" & p_child_sn & "', '" & use_st_dt & "', '" & use_ed_dt & "', '" & d_no & "', 'Y', getdate(), getdate(), '" & session("User_number") & "'); " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + insertCnt = insertCnt + 1 + + Rs.moveNext + Next + Rs.close + if insertCnt = cint(use_device_cnt) Then + response.Write "1" + else + response.Write "0" + end if + + function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing + end function +%> \ No newline at end of file diff --git a/inspection/capi_device_return.asp b/inspection/capi_device_return.asp new file mode 100644 index 0000000..f9eea69 --- /dev/null +++ b/inspection/capi_device_return.asp @@ -0,0 +1,27 @@ + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET USE_YN = 'N', MODIFY_DT = getdate() " + query = query & " WHERE DEVICE_ID IN (" & device_id & ") AND USE_YN = 'Y' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/inspection/capi_device_status.asp b/inspection/capi_device_status.asp new file mode 100644 index 0000000..71e53ab --- /dev/null +++ b/inspection/capi_device_status.asp @@ -0,0 +1,895 @@ + + +<% + Dim query, p_no + p_no = session("User_Number") +%> + +
+ + +
+

CAPI ±â±â ¿¹¾à

+
+ + +
+
+
+
+
+
+
+
+ ÇÁ·ÎÁ§Æ® : + ´ë¿©½ÅûÀÚ : + ¸éÁ¢¿ø : +
+
Á¶È¸µÈ ±â±â ¼ö :
+
+ + +
+
+ <% + dim availity_device_cnt, chk_user + availity_device_cnt = 0 + query = "" + query = query & " SELECT NO, ID, T_DEVICE_MODEL, T_NO, T_PHONE_NO, P_CHILD_SN, P_SUBJECT, " + query = query & " MAN_ID, M_NAME, USE_ST_DT, USE_ED_DT, D_NO, INSERT_USER, INSERT_USER_NAME, " + query = query & " (SELECT COUNT(*) FROM project2.dbo.T_DEVICE_USE WHERE USE_YN = 'N' AND DEVICE_ID = VDS.ID) AS LOG_CNT " + query = query & " FROM project2.dbo.V_DEVICE_STATUS VDS " + query = query & " ORDER BY NO " + + adors.open query, adoconn, adopenstatic, adlockreadonly + %> + + + + + + + + + + + + + + + + <% + + Do While Not adors.Eof + chk_user = iif(adors("INSERT_USER") = cstr(session("User_Number")), true, false) ' insert_user¿Í ·Î±×ÀÎ À¯Àú°¡ °°À¸¸é true + + if adors("P_CHILD_SN") = "" then '´ë¿© °¡´ÉÇÑ ±â±âÀ϶§ + availity_device_cnt = availity_device_cnt + 1 + end if + %> + + + + + + + + + + + + + + <% + adors.MoveNext + Loop + %> +
NoÁ¾·ùÀåºñ¹øÈ£ÇÚµåÆù¹øÈ£ÇÁ·ÎÁ§Æ®¸éÁ¢¿ø´ë¿©½ÃÀÛÀϹݳ³¿¹Á¤ÀϼöÁ¤ / ¹Ý³³´ë¿©½ÅûÀÚ±â·Ï
<%=adors("NO")%>" name="DEVICE_ID"/><%=adors("T_DEVICE_MODEL")%><%=adors("T_NO")%><%=adors("T_PHONE_NO")%><%=iif(adors("P_CHILD_SN") = "", "", "[" & adors("P_CHILD_SN") & "] ")%><%=adors("P_SUBJECT")%><% + if adors("P_CHILD_SN") <> "" Then + if adors("MAN_ID") = "" Then + if chk_user = true Then + %>" onkeyup="if(event.keyCode==13){search_Name(this.value, '<%=adors("ID")%>');}" value="" placeholder="À̸§ + Enter"><% + End if + Else + %>[<%=adors("MAN_ID")%>] <%=adors("M_NAME")%><% + End if + End if + %><%=adors("USE_ST_DT")%><%=adors("USE_ED_DT")%><% + if adors("P_CHILD_SN") <> "" Then + if chk_user = true Then + %> + "/>  + "/><% + End if + end if + %><%=adors("INSERT_USER_NAME")%><% + if cint(adors("LOG_CNT")) > 0 then + %>"/><% + end if + %>
+
+
+ + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ®
´ë¿©±â°£ + + ~ + +
±â±â¼±Åà - ´ë¿©°¡´É¼ö·® : <%=availity_device_cnt%>
+
+
+
+
+
0 / <%=availity_device_cnt%>
+
+


+
+
+
¼±ÅÃÇÑ ¼ö·® : 0
+
+
+ <% + adors.close + %> +
+ + + + + + + + <% + Query = " SELECT p_child_sn, p_subject, p_method_nm, p_intention, ISNULL(D.T_name, '') as d_name " + Query = Query & " FROM V_PROJECT_METHOD VPM LEFT OUTER JOIN v_Department D " + Query = Query & " ON VPM.p_rsch_dept = D.before_t_cd1 " + Query = Query & " WHERE ISNULL(p_child_sn, '') <> '' " + Query = Query & " AND p_progress_status >= '006' " + Query = Query & " AND (p_research_complete + p_field_complete + p_dp_complete) IS NULL " + Query = Query & " AND ( " + Query = Query & " p_rsch_1_a = '" & p_no & "' OR p_rsch_2_a = '" & p_no & "' OR p_rsch_3_a = '" & p_no & "' OR p_rsch_4_a = '" & p_no & "' OR " + Query = Query & " p_rsch_1_b = '" & p_no & "' OR p_rsch_2_b = '" & p_no & "' OR p_rsch_3_b = '" & p_no & "' OR p_rsch_4_b = '" & p_no & "' OR " + Query = Query & " p_rsch_1_c = '" & p_no & "' OR p_rsch_2_c = '" & p_no & "' OR p_rsch_3_c = '" & p_no & "' OR p_rsch_4_c = '" & p_no & "' OR " + Query = Query & " p_sv_1 = '" & p_no & "' OR p_sv_2 = '" & p_no & "' OR p_sv_3 = '" & p_no & "' OR p_sv_4 = '" & p_no & "' OR " + Query = Query & " p_code_1 = '" & p_no & "' OR p_code_2 = '" & p_no & "' OR p_code_3 = '" & p_no & "' OR p_code_4 = '" & p_no & "' OR " + Query = Query & " p_verify_1 = '" & p_no & "' OR p_verify_2 = '" & p_no & "' OR p_verify_3 = '" & p_no & "' OR p_verify_4 = '" & p_no & "' OR " + Query = Query & " p_dp_1 = '" & p_no & "' OR p_dp_2 = '" & p_no & "' OR p_dp_3 = '" & p_no & "' OR p_dp_4 = '" & p_no & "' OR " + Query = Query & " p_it_1 = '" & p_no & "' OR p_it_2 = '" & p_no & "' OR p_it_3 = '" & p_no & "' OR p_it_4 = '" & p_no & "' OR " + Query = Query & " p_supp_1 = '" & p_no & "' OR p_supp_2 = '" & p_no & "' OR p_supp_3 = '" & p_no & "' OR p_supp_4 = '" & p_no & "' " + Query = Query & " ) " + Query = Query & " ORDER BY p_child_sn " + + + Rs.Open Query, adoConn, 1 + for i = 1 to Rs.RecordCount + %> + + + + + + + <% + Rs.MoveNext + next + Rs.Close + %> + + + +
ÇÁ·ÎÁ§Æ® ÄÚµåÇÁ·ÎÁ§Æ® ¸íÁ¶»ç¹æ¹ý´ã´çºÎ¼­
<%=Rs("p_child_sn")%>','<%=Rs("p_subject")%>')"><%=Rs("p_subject")%><%=Rs("p_method_nm")%><%=Rs("d_name")%>
Á÷Á¢ÀÔ·Â :
+
+
+ + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ®
¹Ý³³¿¹Á¤ÀÏ + +
¸éÁ¢¿ø   º¯°æ : ±âÁ¸ :
+ +
+
+
+
+
+
+ + + +
+ + + \ No newline at end of file diff --git a/inspection/cati_confirm_save.asp b/inspection/cati_confirm_save.asp new file mode 100644 index 0000000..904260c --- /dev/null +++ b/inspection/cati_confirm_save.asp @@ -0,0 +1,301 @@ + + +<% +'#################################################################################### +'-- °ËÁõ¿Ï·á Áߺ¹µ¥ÀÌÅÍ Ã¼Å©(20170824) ¡é¡é---------------------------------------------- + query = " select top 1 " + query = query & " prj_code, tel_cnt, count(tel_cnt) as Áߺ¹Ä«¿îÆ® " + query = query & " from [new_cati].[dbo].[T_INSPECTION_CATI] with(nolock) " + query = query & " where prj_code='" & request("prj_code") & "' " + query = query & " and qc_ok='1' " '-- °ËÁõ¿Ï·á(1) + query = query & " and tel_result<>'2' " '-- ºÒ·®À» Á¦¿ÜÇÑ ³ª¸ÓÁö (¿Ï·á) + query = query & " and tel_del_yn='N' " '-- »ç¿ë(N) + query = query & " group by prj_code, tel_cnt " + query = query & " having count(tel_cnt)>1 " +' response.Write query +' response.end + ckRs.Open query, adoConn, 1 + if Not ckRs.eof then '-- Áߺ¹ÀÖÀ½ + ckRs.close + response.write "


¡Ø °ËÁõ¿Ï·áµÈ µ¥ÀÌÅÍ¿¡ Áߺ¹µÈ °ËÁõ¿Ï·á ³»¿ëÀÌ ÀÖ½À´Ï´Ù. ITÆÀ¿¡ ¹®ÀÇÇÏ¿© Áֽñ⠹ٶø´Ï´Ù


" + Response.End + end if + ckRs.close + + +'-- °ËÁõ¿Ï·á Áߺ¹µ¥ÀÌÅÍ Ã¼Å©(20170824) ¡è¡è---------------------------------------------- + +'-- CATI ¿Ï·áµ¥ÀÌÅÍ Áߺ¹ üũ(20170824) ¡é¡é---------------------------------------------- + + query = " select top 1 prj_code, s_tcnt " + query = query & " from [new_cati].[dbo].[sheet1] with(nolock) " + query = query & " where prj_code='" & request("prj_code") & "' " + query = query & " group by prj_code, s_tcnt " + query = query & " having count(s_tcnt)>1 " '-- Ä«¿îÆÃÀÌ 1º¸´Ù Å«°Å(Áߺ¹) + 'response.Write query + 'response.end + ckRs.Open query, adoConn, 1 + if not ckRs.eof then '-- Áߺ¹°Ç ÀÖÀ½ + ckRs.close + response.write "


¡Ø Áߺ¹µÈ ¿Ï·á°ÇÀÌ ÀÖ½À´Ï´Ù. ITÆÀ¿¡ ¹®ÀÇÇÏ¿© Áֽñ⠹ٶø´Ï´Ù


" + response.end + end if + ckRs.close + +'-- CATI ¿Ï·áµ¥ÀÌÅÍ Áߺ¹ üũ(20170824) ¡è¡è---------------------------------------------- + + +'#################################################################################### + +%> + + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +dbin.Open adoConn + +Dim add_count +Dim lunchYN +Dim dinnerYN +'response.Write "cnt : " & request("cnt") &"
" + +p_field_date_st = request("p_field_date_st") + + +for i=1 to request("cnt") + 'd_order_cnt = request("d_order_cnt")(i) + 'response.Write "---------------------------------------------------------------------------"&"
" + 'response.Write "i : "& i & "
" + 'response.Write "d_order_cnt : " & request("d_order_cnt")(i) & "
" + 'response.Write "m_name : " & request("m_name")(i) & "
" + 'response.Write "s_client_no : " & request("s_client_no")(i) & "
" + 'response.Write "money_type : " & request("money_type") & "
" + 'response.Write "add_count : " & request("add_count")(i) & "
" + 'response.Write "add_count_memo : " & request("addCntReason")(i) & "
" + 'response.Write "addMoney : " & request("addMoney")(i) & "
" + 'response.Write "add_Money_memo : " & request("addMoneyReason")(i) & "
" + 'response.Write "cati_confirm : " & request("cati_confirm_"&i) & "
" + 'response.Write "request(tok_cnt)(i) : " & request("tok_cnt")(i) & "
" + 'response.Write "paperMoney : " & request("paperMoney") & "
" + 'response.Write "tok_cnt + add_count : " & cint(request("tok_cnt")(i)) + request("add_count")(i) & "
" + + if d_order_cnt = "°áÀç ¹Ý·Á" OR d_order_cnt = "" OR isnull(d_order_cnt) then + If Trim(request("add_count")(i)) = "" Then + add_count = 0 + Else + add_count = Cstr(request("add_count")(i)) + End if + + If Trim(request("addMoney")(i)) = "" Then + addMoney = 0 + Else + addMoney = Cstr(request("addMoney")(i)) + End if + + if request("lunch_"&i) = "Y" then + lunch_money = "5000" + lunchYN = "Y" + else + lunch_money = "0" + lunchYN = "N" + end if + + if request("dinner_"&i) = "Y" then + dinner_money = "5000" + dinnerYN = "Y" + else + dinner_money = "0" + dinnerYN = "N" + end if + + + + + '´Ù¸¥ ÇÁ·ÎÁ§Æ®¿¡ ±Ý¾×ÀÌ µé¾î°¡ ÀÖÀ¸¸é Ãß°¡ ±Ý¾×¸¸ ³Ö±â. + If Trim(request("alreadyMoney")(i)) = "N" Then + 'ºÎ¼ö´çÀ϶§ÀÇ sumºñ¿ë °è»ê : ((ºÎ¼ö+Ãß°¡ºÎ¼ö)*´Ü°¡)+Ãß°¡±Ý¾×+Á¡½É+Àú³á + if request("money_type") = "ºÎ¼ö" then + s_sum = cstr((CLng((request("tok_cnt")(i)) + CLng(add_count)) * request("paperMoney")) + addMoney + lunch_money + dinner_money) + else + s_sum = cstr(CLng(request("dayMoney")) + addMoney) + end if + if request("money_type") = "ÀÏ´ç" then + s_pay_unit = request("dayMoney") + elseif request("money_type") = "ºÎ¼ö" then + s_pay_unit = request("paperMoney") + end if + else + s_pay_unit = 0 + s_sum = addMoney + end if + + id = request("id")(i) + + sql = " SELECT T.prj_code, T.s_client_no, T.s_client_name, T.s_client_jumin, s_date, SUM(T.no_cnt) as no_cnt, " + sql = sql & " SUM(T.tok_cnt) as tok_cnt, SUM(T.error_cnt) as error_cnt, tmp.confirm_yn, tmp.lunch, tmp.dinner " + sql = sql & " , add_count, cast(add_count_memo as varchar) as add_count_memo, add_money, add_money_memo, isnull(qc_ok,'0') as qc_ok, tmp.id, tmp.s_pay_unit, isnull(tmp.money_type,'ºÎ¼ö') as money_type , " + sql = sql & " CASE " + sql = sql & " WHEN d.d_order_cnt = '99' THEN '°áÀç ¹Ý·Á' " + sql = sql & " WHEN d.d_order_cnt = '77' THEN '°áÀç ¿Ï·á' " + sql = sql & " WHEN d.d_order_cnt IS NULL THEN '' " + sql = sql & " ELSE '°áÀçÁß' " + sql = sql & " END AS d_order_cnt " + sql = sql & " FROM " + sql = sql & " ( " + sql = sql & " SELECT s.prj_code, P.prj_name, s_client_jumin, s_client as s_client_no, s_client_name, s_date, " + sql = sql & " case when c.tel_result IS null then 1 else 0 end as no_cnt, " + sql = sql & " case when c.tel_result != 2 then 1 else 0 end as tok_cnt, " + sql = sql & " case when c.tel_result = 2 then 1 else 0 end as error_cnt, c.intranet_pay, C.qc_ok " + sql = sql & " FROM new_cati.dbo.Sheet1 s " + sql = sql & " Left Outer Join " + +'-- 20170811(°ú°Å »ç¿ë¼Ò½º) sql = sql & " new_cati.dbo.T_Inspection_Cati c " +'-- Áߺ¹Á¦°Å ---¡é ------------------------------------------------------------------------------ + sql = sql & " ( " + sql = sql & " select " + sql = sql & " prj_code,tel_cnt,tel_client_no, tel_result, tel_del_yn, intranet_pay, qc_ok " + sql = sql & " from [new_cati].[dbo].[T_INSPECTION_CATI] with(nolock) " + sql = sql & " where prj_code='" & request("prj_code") & "' " + sql = sql & " AND tel_result is not null " + sql = sql & " AND tel_del_yn = 'N' " + sql = sql & " group by prj_code,tel_cnt,tel_client_no, tel_result, tel_del_yn, intranet_pay, qc_ok " + sql = sql & " ) c " +'-- Áߺ¹Á¦°Å ---¡è ------------------------------------------------------------------------------ + sql = sql & " ON s.prj_code = c.prj_code " + sql = sql & " AND s.s_tcnt = c.tel_cnt " + sql = sql & " AND c.tel_result is not null " + sql = sql & " LEFT OUTER JOIN new_cati.dbo.project P ON S.prj_code = P.prj_code " + sql = sql & " WHERE s.prj_code = '" & request("prj_code") & "' " + sql = sql & " AND s.s_client_name not in ('Cati_Test', '±èÀÏÁß') " + sql = sql & " AND s.s_client = '" & request("s_client_no")(i) & "' " + sql = sql & " AND c.tel_del_yn = 'N' " + 'sql = sql & " and convert(varchar(20),c.tel_date,23) = '" & request("date") & "' " + sql = sql & " AND s_date = '" & request("date") & "' " + sql = sql & " ) T left outer join T_MYUN_PAY TMP ON T.prj_code = TMP.prj_code and t.s_client_jumin = tmp.m_jumin and T.s_date = tmp.work_dt " + sql = sql & " left outer join Document d on tmp.attribute05 = d.d_no AND d_delok = 'N' " + sql = sql & " left outer join ¹®¼­³»¿ë m on tmp.attribute05 = m.¹®¼­¹øÈ£ AND m.del_yes_no = 'no' " + sql = sql & " GROUP BY T.prj_code, s_client_no, s_client_name, T.s_client_jumin, s_date, tmp.confirm_yn, tmp.lunch, tmp.dinner, " + sql = sql & " add_count, add_count_memo, add_money, add_money_memo, qc_ok, tmp.id, tmp.s_pay_unit, tmp.money_type, d_order_cnt " + sql = sql & " ORDER BY qc_ok desc, s_pay_unit desc, cast(s_client_no as int) " + + 'response.Write sql + rs.open sql, adoConn, adopenstatic, adlockreadonly + Dim savaGubun + savaGubun = false + if rs.recordCount > 0 then + if rs("qc_ok") = "1" then + savaGubun = true + end if + end if + rs.close + '°ËÁõ ¹Ì¿Ï·áÀÎ °ÍÀº ÀúÀå ¹× ¾÷µ¥ÀÌÆ® ÇÏÁö ¾Ê±â. + 'response.Write "approvalYn : " & trim(request("approvalYn")(i)) & "
" + if trim(request("qc_ok")(i)) = "1" and trim(request("approvalYn")(i)) = "" and savaGubun then + 'ÀúÀåµÈ °ÍÀÌ ÀÖÀ¸¸é update + if id <> "" then + if request("money_type") = "ÀÏ´ç" then + query = " SET NOCOUNT ON;update T_MYUN_PAY " + query = query & " set confirm_yn = '" & request("cati_confirm_"&i) & "' " + query = query & " , money_type = '" & request("money_type") & "' " + query = query & " , s_pay_unit = '" & s_pay_unit & "', s_wan = '' " + query = query & " , lunch = 'N' " + query = query & " , dinner = 'N' " + query = query & " , s_sum = '" & s_sum & "' " + query = query & " , add_count = '" & add_count & "' " + query = query & " , add_count_memo = '" & request("addCntReason")(i) & "' " + query = query & " , add_money = '" & addMoney & "' " + query = query & " , add_money_memo = '" & request("addMoneyReason")(i) & "' " + query = query & " where id = '"& id &"' " + query = query & " SET NOCOUNT OFF; SELECT SCOPE_IDENTITY() ID; " + elseif request("money_type") = "ºÎ¼ö" then + query = " SET NOCOUNT ON;update T_MYUN_PAY " + query = query & " set confirm_yn = '" & request("cati_confirm_"&i) & "' " + query = query & " , money_type = '" & request("money_type") & "' " + query = query & " , lunch = '" & lunchYN & "' " + query = query & " , dinner = '" & dinnerYN & "' " + query = query & " , s_pay_unit = '" & s_pay_unit & "', s_wan = '" & request("tok_cnt")(i) & "' " + query = query & " , s_sum = '" & s_sum & "' " + query = query & " , add_count = '" & add_count & "' " + query = query & " , add_count_memo = '" & request("addCntReason")(i) & "' " + query = query & " , add_money = '" & addMoney & "' " + query = query & " , add_money_memo = '" & request("addMoneyReason")(i) & "' " + query = query & " where id = '"& id &"' " + query = query & " SET NOCOUNT OFF; SELECT SCOPE_IDENTITY() ID; " + end if + else + if request("money_type") = "ÀÏ´ç" then + query = " SET NOCOUNT ON;insert into T_MYUN_PAY( " + query = query & " p_sn, prj_code, money_type, m_name, m_jumin, work_dt, pay_type, lunch, dinner, est_money, s_gubun, s_pay_unit, s_wan, s_sum, pay_month, confirm_yn " + query = query & " , add_count, add_count_memo, add_money, add_money_memo, insert_dt, insert_user) " + query = query & " values ( " + query = query & " '" & request("intranet_project") & "', '" & request("prj_code") & "', '" & request("money_type") & "', '" & request("m_name")(i) & "', '" & request("m_jumin")(i) & "', " + query = query & " '" & request("date") & "', '2', 'N', 'N', '" & request("myun") & "', 'CATI', '" & s_pay_unit & "', " + query = query & " '" & request("tok_cnt")(i) & "', " + query = query & " '" & s_sum & "', '', " + query = query & " '" & request("cati_confirm_"&i) & "', '" & (add_count) & "', " + query = query & " '" & request("addCntReason")(i) & "', '" & (addMoney) & "', '" & request("addMoneyReason")(i) & "', getdate(), '" & Session("User_Number") & "') " + query = query & " SET NOCOUNT OFF; SELECT SCOPE_IDENTITY() ID; " + elseif request("money_type") = "ºÎ¼ö" then + query = " SET NOCOUNT ON;insert into T_MYUN_PAY( " + query = query & " p_sn, prj_code, money_type, m_name, m_jumin, work_dt, pay_type, lunch, dinner, est_money, s_gubun, s_pay_unit, s_wan, s_sum, pay_month, confirm_yn " + query = query & " , add_count, add_count_memo, add_money, add_money_memo, insert_dt, insert_user) " + query = query & " values ( " + query = query & " '" & request("intranet_project") & "', '" & request("prj_code") & "', '" & request("money_type") & "', '" & request("m_name")(i) & "', '" & request("m_jumin")(i) & "', " + query = query & " '" & request("date") & "', '2', '"& lunchYN & "', '" & dinnerYN & "', '" & request("myun") & "', 'CATI', '" & s_pay_unit & "', " + query = query & " '" & request("tok_cnt")(i) & "', " + query = query & " '" & s_sum & "', '', " + query = query & " '" & request("cati_confirm_"&i) & "', '" & (add_count) & "', " + query = query & " '" & request("addCntReason")(i) & "', '" & (addMoney) & "', '" & request("addMoneyReason")(i) & "', getdate(), '" & Session("User_Number") & "') " + query = query & " SET NOCOUNT OFF; SELECT SCOPE_IDENTITY() ID; " + end if + end if + + 'response.Write "INSERT, UPDATE : " & query & "
" + + Dim rsp + set rsp = dbin.Execute(query) + if id = "" then + id = rsp("id") + end if + + query = " update new_cati.dbo.T_INSPECTION_CATI " + query = query & " set intranet_pay = '"& id &"' " + query = query & " where convert(varchar(20),tel_date,23) = '"& request("date") &"' " + query = query & " and prj_code = '"& request("prj_code") &"' " + query = query & " and tel_client_no = '"& request("s_client_no")(i) &"' " + 'response.Write "ID UPDATE : " & query & "
" + dbin.Execute query + end if + + 'response.Write " id : " & rsp("id") & "
" + 'response.Write " j : " & j & "
" + 'response.Write " k : " & k & "
" + + END if +next + +dbin.Close + %> + + + + +
+" > +" > +" > +" > +" > +" > + > +" > +
+ + diff --git a/inspection/check_jumin.asp b/inspection/check_jumin.asp new file mode 100644 index 0000000..cf63da9 --- /dev/null +++ b/inspection/check_jumin.asp @@ -0,0 +1,439 @@ + + + +<% + + + Response.Expires = 0 + 'Response.Buffer = false + dim jumin + dim jumin_chk + dim sql + + dim err + dim re_Db_value + dim bank_name + dim gubun_name + dim m_grade_name + dim grade_name_1 + dim grade_name_2 + dim grade_name_3 + dim grade_name_4 + dim grade_name_5 + dim grade_name_6 + dim grade_name_7 + + dim new_id + dim web_posi + + + jumin = Request.QueryString("jumin") + web_posi = request("web_posi") + + + Dim j + Dim k + Dim t + Dim i + Dim e + Dim w + Dim w2 + Dim d + Dim m + + Dim mm + Dim dd + Dim yy + + Dim o + + j = Trim(Replace(jumin, "-", "")) + k = "234567892345" + + e = "" + w2 = "" + w = "" + + + If Len(j) = 0 Then + e = "À߸øµÈ ÀÔ·Â" + else + For i = 1 To Len(j) - 1 + If Asc(Mid(j, i, 1)) < Asc("0") Or Asc(Mid(j, i, 1)) > Asc("9") Then + e = "À߸øµÈ ÀÔ·Â" + exit for + end if + t = t + (clng(Mid(j, i, 1)) * clng(Mid(k, i, 1))) + Next + + Select Case clng(Mid(j, 7, 1)) + Case 1, 2, 3, 4 + t = (11 - (t Mod 11)) Mod 10 + Case 5, 6, 7, 8 + t = (13 - (t Mod 11)) Mod 10 + Case Else + e = "À߸øµÈ ¼ºº° Ç¥½Ã" + End Select + + Select Case clng(Mid(j, 7, 1)) + Case 1, 2, 5, 6 + m = 1900 + Case 3, 4, 7, 8 + m = 2000 + Case Else + e = "À߸øµÈ ¼ºº° Ç¥½Ã" + End Select + + yy = clng(Mid(j, 1, 2)) + m + mm = clng(Mid(j, 3, 2)) + dd = clng(Mid(j, 5, 2)) + + Select Case mm + Case 1, 3, 5, 7, 8, 10, 12 + If clng(Mid(j, 5, 2)) > 31 Then + e = "ÃÖ´ë ÀÏ Ãʰú" + elseIf clng(Mid(j, 5, 2)) < 0 Then + e = "ÃÖÀú ÀÏ Ãʰú" + end if + Case 4, 6, 9, 11 + If clng(Mid(j, 5, 2)) > 30 Then + e = "ÃÖ´ë ÀÏ Ãʰú" + elseif clng(Mid(j, 5, 2)) < 0 Then + e = "ÃÖÀú ÀÏ Ãʰú" + end if + Case 2 + o = 28 + If yy Mod 4 = 0 Then + o = 29 + end if + If yy Mod 100 = 0 Then + o = 28 + end if + If yy Mod 400 = 0 Then + o = 29 + end if + + If clng(Mid(j, 5, 2)) > o Then + e = "ÃÖ´ë ÀÏ Ãʰú" + elseif clng(Mid(j, 5, 2)) < 0 Then + e = "ÃÖÀú ÀÏ Ãʰú" + end if + Case Else + e = "ÃÖ´ë ¿ù Ãʰú" + End Select + + + d = cStr(yy) & "-" & cStr(mm) & "-" & cStr(dd) +' Response.Write yy & "
" +' Response.Write year(date) + + If cint(yy) > cint(year(date)) Then + w = "ÁÖÀÇ:¾ÆÁ÷ Ãâ»ýÇÏÁö ¾ÊÀº »ç¶÷ÀÇ Áֹεî·Ï¹øÈ£" + end if + + If clng(Mid(j, Len(j), 1)) <> t Then + e = "À߸øµÈ ¼ýÀÚ Á¶ÇÕ" + End If + end if + + ''/////////=============================== + '//============== + '±ÍÈ­ ¿Ü±¹ÀÎ ÁֹιøÈ£ +''¿Ü±¹ÀÎÁֹιøÈ£À̸é + if mid(jumin,7,1) = "5" or mid(jumin,7,1) = "6" then + e = "" + w = "" + end if + '//============== + ''/////////=============================== + + + If e = "" Then + jumin_chk = "Á¤»ó" + If w <> "" Then jumin_chk = "¿À·ù" + Else + jumin_chk = "¿À·ù" + End If + + + if web_posi = "fgi_jumin_chk" then + sql = "select * from man_fgi where m_jumin = '" & jumin & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordcount > 0 then + jumin_chk = "¿À·ù" + err = "ÀÌ¹Ì µî·ÏµÈ ÁֹιøÈ£ ÀÔ´Ï´Ù." + end if + Rs.close + else + sql = "select * from man where m_jumin = '" & jumin & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordcount > 0 then + jumin_chk = "¿À·ù" + err = "ÀÌ¹Ì µî·ÏµÈ ÁֹιøÈ£ ÀÔ´Ï´Ù." + end if + Rs.close + end if + + + %> + + + + + + + + + +ÁֹιøÈ£ üũ + + +

+
+ +
+ +<%if jumin_chk="Á¤»ó" then %> + + + + + + + +<% elseif err<>"" then %> + +<% + if web_posi = "fgi_jumin_chk" then + sql = "select a.*, b.p_subject, b.p_intention from man_fgi as a " + sql = sql & " inner join project as b on a.p_sn = b.p_sn " + sql = sql & " where m_jumin = '" & jumin & "'" + '& _ + ' " and substring(b.p_field_end2,1,4) <> '2010'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + re_Db_value = "" + re_Db_value = re_Db_value & left(Rs("m_jumin"),6) & "$$$" + re_Db_value = re_Db_value & right(Rs("m_jumin"),7) & "$$$" + re_Db_value = re_Db_value & Rs("m_name") & "$$$" + re_Db_value = re_Db_value & Rs("m_tel") & "$$$" + re_Db_value = re_Db_value & Rs("m_mobile") & "$$$" + if isnull(Rs("m_note")) then + re_Db_value = re_Db_value & Rs("m_note") & "$$$" + else + tmpstr = Rs("m_note") + tmpstr = replace(Rs("m_note"),chr(10)+chr(13),"
") + tmpstr = replace(Rs("m_note"),chr(13),"
") + re_Db_value = re_Db_value & tmpstr & "$$$" + end if + re_Db_value = re_Db_value & Rs("m_filename") & "$$$"%> + + + + + + + <% re_Db_value = re_Db_value & tmpstr & "$$$" + + else%> + + + + <%sql = "select * from man where m_jumin = '" & jumin & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + 'm_jumin m_offer_date m_name, m_bank, m_b_no, m_addres, m_tel, m_mobile, m_gubun, m_note + bank_name = Rs("m_bank") + gubun_name = Rs("m_gubun") + m_grade_name = Rs("m_Grade") + grade_name_1 = Rs("grade_1") + grade_name_2 = Rs("grade_2") + grade_name_3 = Rs("grade_3") + grade_name_4 = Rs("grade_4") + grade_name_5 = Rs("grade_5") + grade_name_6 = Rs("grade_6") + grade_name_7 = Rs("grade_7") + m_id = Rs("id") + new_id = Rs("new_id") + re_Db_value = "" + re_Db_value = re_Db_value & left(Rs("m_jumin"),6) & "$$$" + re_Db_value = re_Db_value & right(Rs("m_jumin"),7) & "$$$" + re_Db_value = re_Db_value & Rs("m_offer_date") & "$$$" + re_Db_value = re_Db_value & Rs("m_name") & "$$$" + re_Db_value = re_Db_value & Rs("m_bank") & "$$$" + re_Db_value = re_Db_value & Rs("m_b_no") & "$$$" + re_Db_value = re_Db_value & Rs("m_addres") & "$$$" + re_Db_value = re_Db_value & Rs("m_tel") & "$$$" + re_Db_value = re_Db_value & Rs("m_mobile") & "$$$" + re_Db_value = re_Db_value & Rs("m_gubun") & "$$$" + ' re_Db_value = re_Db_value & TransHTML(Rs("m_note")) & "$$$" + if isnull(Rs("m_note")) then + re_Db_value = re_Db_value & Rs("m_note") & "$$$" + else + tmpstr = Rs("m_note") + tmpstr = replace(Rs("m_note"),chr(10)+chr(13),"
") + tmpstr = replace(Rs("m_note"),chr(13)," ") + re_Db_value = re_Db_value & tmpstr & "$$$" + end if + re_Db_value = re_Db_value & Rs("m_Grade") & "$$$" + re_Db_value = re_Db_value & Rs("grade_1") & "$$$" + re_Db_value = re_Db_value & Rs("grade_2") & "$$$" + re_Db_value = re_Db_value & Rs("grade_3") & "$$$" + re_Db_value = re_Db_value & Rs("grade_4") & "$$$" + re_Db_value = re_Db_value & Rs("grade_5") & "$$$" + re_Db_value = re_Db_value & Rs("grade_6") & "$$$" + re_Db_value = re_Db_value & Rs("grade_7") & "$$$" + re_Db_value = re_Db_value & Rs("m_activity") & "$$$" + + Rs.close + + 'ÀÏÁ¾·ù À̸§ °¡²Ù ¿À±â + sql = "select * from category where ±¸ºÐ = 'work' and code = '" & gubun_name & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + re_Db_value = re_Db_value & Rs("name") & "$$$" + Rs.close + + 'ÀºÇàÀ̸§ °¡²Ù¿À±â + sql = "select * from bank where b_code = '" & bank_name & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + re_Db_value = re_Db_value & Rs("b_name") & "$$$" + Rs.close + + + 'GradeÀ̸§ °¡²Ù¿À±â + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & m_grade_name & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & grade_name_1 & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & grade_name_2 & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & grade_name_3 & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & grade_name_4 & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & grade_name_5 & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & grade_name_6 & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + sql = "select * from category where ±¸ºÐ = 'grade' and code = '" & grade_name_7 & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if Rs.recordCount > 0 then + re_Db_value = re_Db_value & Rs("name") & "$$$" + else + re_Db_value = re_Db_value & "$$$" + end if + Rs.close + + + re_Db_value = re_Db_value & m_id & "$$$" + re_Db_value = re_Db_value & new_id & "$$$" + + %> + + + + <%end if%> +<% else %> + + + + + + +<% end if %> +
+ ÀÔ·ÂÇϽŠÁֹιøÈ£ <%=jumin%> Àº Á¤»óÀÎ ¹øÈ£ ÀÔ´Ï´Ù. +
+ +
+ ÀÔ·ÂÇϽŠÁֹιøÈ£ <%=jumin%> Àº
+ <%tmpstr = "" + do while not Rs.EOF + tmpstr = tmpstr & "ÇÁ·ÎÁ§Æ®¸í : " & Rs("p_subject") & " ==> " & Rs("p_intention") & " ==> ÀúÀåÀÏÀÚ : " & rs("insert_date") & "
" + Rs.MoveNext + loop + Rs.Close %> + <%=tmpstr%>

+ ¿¡ ÀÌ¹Ì ÀÔ·ÂÀÌ µÇ¾î ÀÖ½À´Ï´Ù. "Ãë¼Ò" ¹öưÀ» ´­·¯ÁÖ¼¼¿ä"

+
+ +
+ ÀÔ·ÂÇϽŠÁֹιøÈ£ <%=jumin%> Àº ÀÌ¹Ì µî·ÏµÇ¾î ÀÖ´Â ¹øÈ£ ÀÔ´Ï´Ù.

+ ¼öÁ¤ÇϽǷÁ¸é "¼öÁ¤" ¹öưÀ» ´Ù¸¥ ¹øÈ£¸¦ ÀÔ·ÂÇϽǷÁ¸é "´Ý±â" ¹öưÀ» ´­·¯ÁÖ¼¼¿ä"

+
+ +      + +
+ ÀÔ·ÂÇϽŠÁֹιøÈ£ <%=jumin%> Àº ºñÁ¤»óÀÎ ¹øÈ£ ÀÔ´Ï´Ù.
+ ºñÁ¤»ó ÀÌÀ¯ : <%=e%> <%=w%> <%=err%> +
+ +
+
+
+ + \ No newline at end of file diff --git a/inspection/cins_cnt.asp b/inspection/cins_cnt.asp new file mode 100644 index 0000000..66a9034 --- /dev/null +++ b/inspection/cins_cnt.asp @@ -0,0 +1,61 @@ + +<% +Response.CharSet = "EUC-KR" + +dim prj_code : prj_code = Request("prj_code") +dim prj_name : prj_name = unescape(Request("prj_name")) +%> + \ No newline at end of file diff --git a/inspection/cins_confirm.asp b/inspection/cins_confirm.asp new file mode 100644 index 0000000..dd0a7fc --- /dev/null +++ b/inspection/cins_confirm.asp @@ -0,0 +1,429 @@ + + +<% +Dim prj_code : prj_code = Request("prj_code") +Dim prj_name : prj_name = Request("prj_name") +%> + +
+ +
+

°¨Ã» ±Ù¹«È®ÀÎ

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "nk" %> + +
+
+ + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® + ÇÁ·ÎÁ§Æ® ¼±Åà + +
´Ü°¡ ¼³Á¤ ¿ø Confrim ó¸®
+ + + + + + + + + + + + + + + + <% + dim no : no = 0 + query = "" + query = query &" select isnull(cast(BB.Id as varchar),'') as ID, isnull(cast(CC.Id as varchar),'') as Pay_id, AA.*,isnull(BB.job_add_time_memo,'') as job_add_time_memo, isnull(BB.job_confirm_yn,'N') as job_confirm_yn, "&VbCrlf + query = query &" isnull(CC.s_pay_unit,'0') as s_pay_unit, isnull(CC.s_wan,'0') as s_wan, isnull(CC.s_sum, '0') as s_sum, isnull(CC.insert_user,'') as insert_user, "&VbCrlf + query = query &" isnull(CC.attribute01,'') as attribute01, isnull(CC.attribute05,'') as attribute05, "&VbCrlf + query = query &" case when DD.d_order_cnt = '77' then '°áÀç ¿Ï·á' when DD.d_order_cnt is null then '' else '°áÀç Áß' end as d_order_cnt from "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select prj_code, tel_inspection_user as n_name, n_birth, tel_inspection_date as n_date, "&VbCrlf + query = query &" count(case when b.tel_del_yn='N' and b.tel_result = '1' then '1' end) as t_cnt, "&VbCrlf + query = query &" count(case when b.tel_del_yn='Y' and b.tel_result = '2' then '2' end) as r_cnt, "&VbCrlf + query = query &" count(case when b.tel_del_yn='N' and b.tel_result = '2' then '3' end) as e_cnt "&VbCrlf + query = query &" from "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select (select intranet_project from new_cati.dbo.project where prj_code = a.prj_code) as prj_code, tel_inspection_user, "&VbCrlf + query = query &" case "&VbCrlf + query = query &" when len(tel_inspection_uid) = 8 then (select cast(p_no as varchar) as p_no from project2.dbo.person where p_no=tel_inspection_uid) "&VbCrlf + query = query &" else (select left(m_jumin,6) from project2.dbo.man where id=tel_inspection_uid) "&VbCrlf + query = query &" end as n_birth, "&VbCrlf + query = query &" convert(varchar,tel_inspection_date,23) as tel_inspection_date, "&VbCrlf + query = query &" tel_del_yn, tel_result "&VbCrlf + query = query &" from new_cati.dbo.T_INSPECTION_CATI as a "&VbCrlf + query = query &" where a.tel_del_yn <> '' and a.tel_inspection_user <> '' "&VbCrlf + query = query &" ) as b "&VbCrlf + query = query &" group by b.prj_code, b.tel_inspection_user, b.n_birth, b.tel_inspection_date "&VbCrlf + query = query &" ) as AA "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select id, p_child_sn, neakeun_name, left(neakeun_jumin,6) as neakeun_jumin, date, job_add_time_memo, job_confirm_yn, workload from project2.dbo.neakeun_work "&VbCrlf + query = query &" where p_sebu='°¨Ã»' and ISNULL(workload, '') = '' "&VbCrlf + query = query &" ) BB on AA.n_name=BB.neakeun_name and AA.n_birth=BB.neakeun_jumin and left(AA.prj_code,11)=BB.p_child_sn and AA.n_date=BB.date "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select id, p_sn, m_name, left(m_jumin,6) as m_jumin, s_pay_unit, s_wan, s_sum, insert_user, attribute01, attribute05 from project2.dbo.T_NEAKEUN_PAY "&VbCrlf + query = query &" where s_gubun='°¨Ã»' AND ISNULL(attribute02, '') = '' "&VbCrlf + query = query &" ) CC on AA.n_name=CC.m_name and AA.n_birth=CC.m_jumin and left(AA.prj_code,11)=CC.p_sn and BB.id=CC.attribute01 "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select d_no, d_order_cnt from project2.dbo.Document "&VbCrlf + query = query &" where d_delok='N' "&VbCrlf + query = query &" ) DD on CC.attribute05=DD.d_no "&VbCrlf + query = query &" where prj_code = '" & prj_code & "' "&VbCrlf + query = query &" and (n_birth is not null and len(cast(n_birth as varchar)) <> 8) "&VbCrlf + query = query &" order by AA.prj_code, AA.n_name, AA.n_birth,AA.n_date "&VbCrlf + 'Response.Write query + Rs.open query, adoconn, adopenstatic, adlockreadonly + Dim input_readonly + while not rs.eof + If rs("job_confirm_yn") = "Y" Then + input_readonly = "readonly='reaonldy'" + else + input_readonly = "" + End If + no = no + 1 + %> + + + + + + + + + + + + + + + <% + rs.movenext + wend + + rs.Close + %> +
¼ø¹øÇÁ·ÎÁ§Æ® ÄÚµåÆÝó»ý³â¿ùÀϱٹ«ÀÏÀÚ¿Ï·á¿¡·¯À簨û´Ü°¡ÇÕ°èºñ°íÈ®ÀÎ
<%=no %><%=rs("prj_code") %><%=rs("n_name") %>" />" /><%=rs("n_birth") %><%=rs("n_date") %><%=rs("t_cnt") %><%=rs("e_cnt") %><%=rs("r_cnt") %>" class="p_unit" tabindex="<%=no %>" <%=input_readonly %>/>¿ø<%=FormatNumber(rs("s_sum"),0) %>¿ø" class="p_etc" tabindex="1000+<%=no %>" <%=input_readonly %> style="width:100%;"/> + <%If rs("job_confirm_yn") = "N" Then%> + + <%Else %> + <%If rs("attribute05") = "" Then %> + + <%Else %> + <%=rs("d_order_cnt") %> + <%End If %> + <%End If %> +
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/coding_confirm.asp b/inspection/coding_confirm.asp new file mode 100644 index 0000000..9e0df46 --- /dev/null +++ b/inspection/coding_confirm.asp @@ -0,0 +1,651 @@ + + +<% + Dim query, p_no : p_no = session("User_Number") +%> + +
+ + +
+

ÄÚµù ±Ù¹«È®ÀÎ

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "nk" %> + + + + + + + +
+ +
+
+ +
+
+ +
+ + + + + + + + + + + + + + + <% + Query = " SELECT NP.attribute01, NP.p_sn, NP.m_name, LEFT(NP.m_jumin, 6) AS m_jumin, " + Query = Query & " NP.work_dt, NP.s_wan, NP.s_pay_unit, NP.s_sum, " + Query = Query & " ISNULL(NP.attribute05, '') AS attribute05, " + Query = Query & " ISNULL(D.d_order_cnt, 0) AS d_order_cnt " + Query = Query & " FROM project2.dbo.neakeun_work NW " + Query = Query & " LEFT JOIN project2.dbo.T_NEAKEUN_PAY NP ON CONVERT(varchar, NW.id) = NP.attribute01" + Query = Query & " LEFT JOIN project2.dbo.Document D ON NP.attribute05 = D.d_no AND D.d_delok = 'N'" + Query = Query & " WHERE NW.p_sebu = 'ÄÚµù' " + Query = Query & " AND NW.in_time + NW.out_time = '00000000' " + Query = Query & " AND ISNULL(D.d_order_cnt, 0) <> 77" + Query = Query & " ORDER BY NP.work_dt DESC, NP.p_sn DESC, NP.m_name, NP.s_sum " + + Rs.Open Query, adoConn, 1 + for i = 1 to Rs.RecordCount + %> + + + + + + + + + + + <% + Rs.MoveNext + next + Rs.Close + %> +
°áÀç¿Ï·áµÈ ³»¿ªÀº ¸ñ·Ï¿¡ ³ª¿ÀÁö ¾Ê½À´Ï´Ù.
Excelµî·ÏÀÏÇÁ·ÎÁ§Æ®ÄÚµåÄÚµù±Ù¹«ÀÚ°³¼ö´Ü°¡°³¼ö ¡¿ ´Ü°¡»óÅÂ
<%=Rs("work_dt")%><%=Rs("p_sn")%><%=Rs("m_name")%> (<%=Rs("m_jumin")%>)<%=formatNumber(Rs("s_wan"), 0)%><%=formatNumber(Rs("s_pay_unit"), 0)%><%=formatNumber(Rs("s_sum"), 0)%><% + if Rs("d_order_cnt") = "0" then + Response.Write "¹Ì°áÀç ¶Ç´Â ¹Ý·Á" + else + Response.Write "°áÀç ÁøÇàÁß" + end if + %><% + if Rs("d_order_cnt") = "0" then + %> + " class="delPay_btn" /> + <% + end if + %>
+
+ +
+ + + + + + + + + + +
´Ü°¡ ¡¿ ÄÚµù±Ù¹«ÀÚº° Áý°è
°³¼ö(ÇÕ)´Ü°¡°³¼ö(ÇÕ) ¡¿ ´Ü°¡ÄÚµù±Ù¹«ÀÚ
+
+
+ + + + + + + + + + + + + + + +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/coding_confirm_approval.asp b/inspection/coding_confirm_approval.asp new file mode 100644 index 0000000..e3fb46f --- /dev/null +++ b/inspection/coding_confirm_approval.asp @@ -0,0 +1,57 @@ + + + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + dim p_child_sn : p_child_sn = request("p_child_sn") + dim info : set info = JSON.parse(request("result")) + Dim rsp + executeCount = 0 + chk = 0 + for i = 0 To info.length - 1 + query = "SET NOCOUNT ON;" + query = query & " INSERT INTO project2.dbo.neakeun_work" + query = query & " (neakeun_jumin, neakeun_name, p_sn, p_sebu, date, yoil, in_time, out_time, job_in_time, job_out_time, job_jumal_time, " + query = query & " insert_date, insert_time, insert_ip, p_sv_no, p_sv_main, p_child_sn, job_start_time, job_end_time, job_total_time, " + query = query & " job_lunch_yn, job_dinner_yn, job_confirm_yn, p_sebu_code) " + query = query & " VALUES " + query = query & " ( " + query = query & " (SELECT TOP 1 LEFT(m_jumin, 6) + '0000000' FROM project2.dbo.man WHERE new_id = '" & info.get(i).coderID & "')," + query = query & " (SELECT TOP 1 m_name FROM project2.dbo.man WHERE new_id = '" & info.get(i).coderID & "')," + query = query & " LEFT('" & p_child_sn & "', 7), 'ÄÚµù', CONVERT(varchar(10), getdate(), 120), datename(dw, getdate()), " + query = query & " '0000', '0000', " & info.get(i).codingCount & ", 0, 0, CONVERT(varchar(10), getdate(), 120), RIGHT(CONVERT(varchar(16), getdate(), 120), 5), " + query = query & " '" & Request.ServerVariables("Remote_Addr") & "', '" & Session("User_Number") & "', '" & Session("User_Number") & "', '" & p_child_sn & "', '1000', '2400', 0, '', '', 'Y', '4'" + query = query & " )" + query = query & " SET NOCOUNT OFF; SELECT SCOPE_IDENTITY() ID; " + set rsp = dbin.Execute(query) + + if rsp("ID") <> "" then + query = "" + query = query & " INSERT INTO project2.dbo.T_NEAKEUN_PAY " + query = query & " (p_sn, m_name, m_jumin, work_dt, s_ot, s_gubun, s_pay_unit, s_wan, s_sum, " + query = query & " s_time_style, pay_type, pay_month, insert_dt, insert_user, attribute01) " + query = query & " SELECT p_child_sn, neakeun_name, neakeun_jumin, date, '0', p_sebu, " + query = query & " " & info.get(i).unitPay & ", " & info.get(i).codingCount & ", " & cdbl(info.get(i).unitPay) * cdbl(info.get(i).codingCount) & ", " + query = query & " '', '1', CONVERT(varchar(7), dateadd(m, 1, getdate()), 120) + '-15', " + query = query & " getdate(), '" & Session("User_Number") & "', '" & rsp("ID") & "' " + query = query & " FROM project2.dbo.neakeun_work WHERE id = '" & rsp("ID") & "' " + + dbin.Execute query, chk + executeCount = executeCount + chk + End if + Next + + if executeCount = info.length then + Response.Write "1" + else + Response.Write "0" + end if + dbin.Close +%> \ No newline at end of file diff --git a/inspection/coding_confirm_delete.asp b/inspection/coding_confirm_delete.asp new file mode 100644 index 0000000..469ba63 --- /dev/null +++ b/inspection/coding_confirm_delete.asp @@ -0,0 +1,36 @@ + + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + Dim id : id = request("id") + Dim i : i = 0 + Dim j : j = 0 + + query = "" + query = query & " DELETE FROM project2.dbo.T_NEAKEUN_PAY WHERE attribute01 = '" & id & "' " + + dbin.Execute query, i + + if i = 1 then + query = "" + query = query & " DELETE FROM project2.dbo.neakeun_work WHERE id = " & id & " " + + dbin.Execute query, j + + if j = 1 then + Response.Write "1" + end if + end if + + if i <> 1 or j <> 1 then + Response.Write "0" + end if + dbin.Close +%> \ No newline at end of file diff --git a/inspection/coding_confirm_excelRead.asp b/inspection/coding_confirm_excelRead.asp new file mode 100644 index 0000000..f524798 --- /dev/null +++ b/inspection/coding_confirm_excelRead.asp @@ -0,0 +1,103 @@ +<%@ LANGUAGE="VBSCRIPT" CodePage=65001 %> +<% + On Error Resume Next + Response.charset="UTF-8" + + Set xlDb = Server.CreateObject("ADODB.Connection") + Set oRs = Server.CreateObject("ADODB.RecordSet") + + excelName = URLDecode(Request("excelName")) + FileName = "D:\TEMP\" & excelName + + + connectString = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & FileName & "; Extended Properties='Excel 12.0;HDR=NO;IMEX=1'" + xlDb.Open connectString + + Dim resultTb(3, 16384) + fieldCount = 0 + + Dim excelRow + If LCase(Right(excelName, 4)) = "xlsx" Then + excelRow = "300000" + Else + excelRow = "65536" + End If + + For i=0 To 63 ' 255 * 50 = 12,750번째 컬럼까지 확ì�¸ (빈칸나오면 멈춤) + stCol_n = 1 + (255 * i) + edCol_n = 255 + (255 * i) + Query = "SELECT * FROM [코딩 단가$" & excelColName(stCol_n) & "1:" & excelColName(edCol_n) & "3" & "] " + oRs.Open Query, xlDb, 1 + If Err.number <> 0 Then '오류 ë°œìƒ� 시 ì�´ 부분 실행 + Exit For + End If + For row=1 To 3 + For f=0 To oRs.Fields.Count-1 + resultTb(row, f+fieldCount) = oRs.Fields(f).Value + Next + oRs.moveNext + Next + fieldCount = fieldCount + oRs.Fields.Count + oRs.Close + Next + + Dim resultJson, qusNo, coderID, unitPay, firCount, totCount + resultJson = "" + qusNo = "" + coderID = "" + unitPay = "" + firCount = 0 + totCount = 0 + + For i=0 To fieldCount + If Trim(resultTb(1, i)) = "코딩" Then + Query = "SELECT count(*) FROM [코딩 단가$" & excelColName(i+1) & "4:" & excelColName(i+1) & excelRow & "] " + Query = Query & "WHERE IIF(IsNull(F1), '', cstr(F1)) NOT IN ('', '998', '999', '9998', '9999')" + oRs.Open Query, xlDb, 1 + If firCount = 0 Then + firCount = cLng(oRs.Fields(0).Value) + End If + totCount = totCount + cLng(oRs.Fields(0).Value) + oRs.Close + End If + If Trim(resultTb(2, i)) = "ë‚´ê·¼ì§�코드" Then + If firCount <> 0 Then + resultJson = resultJson & "{""qusNo"":""" & qusNo & """,""firstCount"":""" & firCount & """,""totalCount"":""" & totCount & """,""coderID"":""" & coderID & """,""unitPay"":""" & unitPay & """}," + End If + qusNo = Trim(resultTb(1, i)) + coderID = Trim(resultTb(2, i+1)) + unitPay = Trim(resultTb(3, i+1)) + firCount = 0 + totCount = 0 + End If + If i = fieldCount-1 Then + resultJson = resultJson & "{""qusNo"":""" & qusNo & """,""firstCount"":""" & firCount & """,""totalCount"":""" & totCount & """,""coderID"":""" & coderID & """,""unitPay"":""" & unitPay & """}" + End If + Next + xlDb.Close + + Response.Write "[" & resultJson & "]" + + function excelColName(num) + if num <= 26 then + excelColName = chr(num + 64) + else + div = int(num / 26) + modval = num mod 26 + if modval = 0 then + modval = 26 + div = div - 1 + end if + excelColName = excelColName(div) + excelColName(modval) + End if + end function + + function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing + end function +%> + \ No newline at end of file diff --git a/inspection/coding_confirm_fileupload.asp b/inspection/coding_confirm_fileupload.asp new file mode 100644 index 0000000..a0e5269 --- /dev/null +++ b/inspection/coding_confirm_fileupload.asp @@ -0,0 +1,15 @@ +<%@ LANGUAGE="VBSCRIPT" %> +<% + Response.charset="EUC-KR" + On Error Resume Next + Set uploadform = Server.CreateObject("DEXT.FileUpload") + uploadform.DefaultPath = "D:\TEMP" + uploadform.Save + Set uploadform = Nothing + If Err Then + Response.Write "Error occured :" + Response.Write Err.Description + Else + Response.Write "1" + End If +%> \ No newline at end of file diff --git a/inspection/date_neakeun_work.asp b/inspection/date_neakeun_work.asp new file mode 100644 index 0000000..abfb15d --- /dev/null +++ b/inspection/date_neakeun_work.asp @@ -0,0 +1,201 @@ + +<% +dim command +command = Request("command") + +p_sn = request("p_sn") +work_type = request("work_type") +neakeun_jumin = request("neakeun_jumin") +neakeun_name = request("neakeun_name") +work_date = request("work_date") + +if work_date = "" or isnull(work_date) then + work_date = date() +end if + +dim tmp_p_sn +dim sum_job_in_time +dim sum_job_out_time +dim sum_job_add_time +dim sum_all_work_time + +if command <> "excel" then +%> + + +
+ +
+

ÀÏÀÚº° ³»±ÙÁ÷ ±Ù¹«ÇöȲ

+
+ + +
+
+
+
+
+<% +End If + +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=ÀÏÀÚº°_³»±ÙÁ÷_±Ù¹«ÇöȲ.xls" +end if +%> + <%if command <> "excel" then%> + <% Dim f_menu : f_menu = "np" %> + + <%End If%> +
+ + <%if command <> "excel" then %> + + + + <% + query = " select *" + query = query & " from direct_costcode " + query = query & " where d_cost_kind = 'field' " + query = query & " and d_cost_useyn = 'y' " + query = query & " and d_cost_parents = '2' " + Adors.Open query, adoConn, 1 + %> + + + + + + + + + + + + + + + + + <%end if %> + <% if command <> "" then %> + + + + <% end if %> +
ÇÁ·ÎÁ§Æ® ¹øÈ£¾÷¹« + +
¸éÁ¢¿ø ÁֹιøÈ£¸éÁ¢¿ø À̸§
±Ù¹« ÀÏÀÚ + +
+ +

+
+ + + + + + + + + + + + <% + '--ÇÁ·ÎÁ§Æ® º° ³»±ÙÁ÷ ¼Ò¿äºñ¿ë °Ë»ö-Á¾·á ÇÁ·ÎÁ§Æ® + query = " select nw.neakeun_jumin, nw.neakeun_name, in_time, out_time, round(SUM(nw.job_in_time),2) as job_in_time, round(SUM(nw.job_out_time),2) as job_out_time, " + query = query & " sum(convert(float,nw.job_add_time)) as job_add_time, round(SUM(nw.job_in_time) + sum(convert(float,nw.job_add_time)),2) as all_work_time " + query = query & " from neakeun_work nw left outer join T_PROJECT_METHOD tpm on nw.p_child_sn = tpm.p_child_sn " + query = query & " left outer join project p on nw.p_child_sn = p.p_sn " + query = query & " where date = '"&work_date&"' " + if p_sn <> "" then + query = query & " AND nw.p_child_sn LIKE '%"& p_sn &"%' " + end if + if work_type <> "" then + query = query & " AND p_sebu_code = '"&work_type&"' " + end if + if neakeun_jumin <> "" then + query = query & " AND nw.neakeun_jumin like '%"&neakeun_jumin&"%' " + end if + if neakeun_name <> "" then + query = query & " AND nw.neakeun_name like '%"&neakeun_name&"%' " + end if + query = query & " group by nw.neakeun_jumin, nw.neakeun_name, in_time, out_time " + query = query & " order by nw.neakeun_name " + + Adors.open query,adoconn,1 + + sum_job_in_time = 0 + sum_job_out_time = 0 + sum_job_add_time = 0 + sum_all_work_time = 0 + + for i=1 to Adors.recordcount + if not isnull(Adors("neakeun_jumin")) then + sum_job_in_time = sum_job_in_time + Adors("job_in_time") + sum_job_out_time = sum_job_out_time + Adors("job_out_time") + sum_job_add_time = sum_job_add_time + Adors("job_add_time") + sum_all_work_time = sum_all_work_time + Adors("all_work_time") + end if + + %> + + + + + + + + + + + <% Adors.movenext + next + Adors.close + %> + + + + + + + +
»ý³â¿ùÀÏÀ̸§Ãâ±Ù½Ã°£Åð±Ù½Ã°£ÃÑ ±Ù¹«½Ã°£Ãʰú ±Ù¹«½Ã°£Ãß°¡ ±Ù¹«½Ã°£´©Àû ÅõÀÔ ½Ã°£
<%= left(Adors("neakeun_jumin"), 6)%><%= Adors("neakeun_name")%><%= Adors("in_time")%><%= Adors("out_time")%><%= Adors("job_in_time")%><%= Adors("job_out_time")%><%= Adors("job_add_time")%><%= Adors("all_work_time")%>
ÃÑ ÇÕ°è<%= sum_job_in_time%><%= sum_job_out_time%><%= sum_job_add_time%><%= sum_all_work_time%>
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/direct_cost_prjSearch_2014.asp b/inspection/direct_cost_prjSearch_2014.asp new file mode 100644 index 0000000..d9030b1 --- /dev/null +++ b/inspection/direct_cost_prjSearch_2014.asp @@ -0,0 +1,369 @@ + + +<% + Response.Expires = 0 + Dim Sql + dim i + dim j + Dim txtHtml + dim tempStr + Dim PrjCnt + dim direct_cost_PrjCnt + dim user_name + dim tmp_year + dim tmp_month + dim p_depart + dim sc_name + dim sc_name_type + dim sc_method + dim direct_cost_type + dim Search_flag + dim prj_list() 'È«±Ù Ãß°¡ + dim krc_team() + dim krc_team_cnt + dim cost_type + + p_depart = Session("Depart_Code") + if p_depart <= 10 or (p_depart >= 20 and p_depart <= 95) then + p_depart_name = "research" + elseif p_depart = 12 then + p_depart_name = "field" + else + p_depart_name = "admin" + end if + + tmp_year = Request("tmp_year") + tmp_month = Request("tmp_month") + p_depart = Request("p_depart") + sc_name = Request("sc_name") + sc_name_type = Request("sc_name_type") + sc_method = Request("sc_method") + cost_type = request("cost_type") + if cost_type = "" then + cost_type = "field" + end if + + if tmp_year = "" and tmp_month = "" and p_depart = "" and sc_method = "" then + search_flag = 1 + else + search_flag = 2 + end if + + if tmp_year = "" then + tmp_year = year(date) + end if + + if tmp_month = "" then + tmp_month = 0 + end if + if p_depart = "" then + p_depart = 0 + end if + + if sc_method = "" then + sc_method = 100 + end if + + if sc_name_type = "" then + sc_name_type = 0 + end if + + sql = "" + sql = sql & " SELECT DISTINCT before_t_cd1 as d_code, LEFT(T_Name, 8) as d_name " + sql = sql & " FROM project2.dbo.v_Department " + sql = sql & " WHERE (before_t_cd1 in (12, 90) or before_t_cd1 between 20 and 99) " + sql = sql & " order by LEFT(T_Name, 8) " + Rs.open sql, adoconn,adopenstatic, adlockreadonly + krc_team_cnt = Rs.recordcount + redim krc_team(krc_team_cnt,2) + krc_team_cnt = 0 + do while not Rs.eof + krc_team_cnt = krc_team_cnt + 1 + krc_team(krc_team_cnt,1) = rs("d_code") + krc_team(krc_team_cnt,2) = rs("d_name") + Rs.movenext + loop + Rs.close + + Sql = "select p_name from person where p_no ='" & Session("user_number") & "'" + Rs.open sql, adoconn,adopenstatic, adlockreadonly + user_name = Rs.fields("p_name") + Rs.close + %> + +
+ +
+

Á÷Á¢ºñ °ü¸®

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + <% if search_flag = 2 then %> +
+ <% + query = "SELECT T.*, TPMC.p_method_nm " + query = query & "FROM ( " + query = query & " SELECT " + query = query & " CASE " + query = query & " WHEN TPM.p_child_sn = '' THEN TPM.p_sn ELSE TPM.p_child_sn " + query = query & " END AS p_sn " + query = query & " , TPM.p_subject " + query = query & " , TPM.p_sub_type " + query = query & " , TPM.p_method_cd " + query = query & " , TPM.p_method_nm " + query = query & " , TPM.p_intention " + query = query & " , TPM.p_input_dt " + query = query & " , ISNULL(D.dc_yn, 'N') as dc_yn " + query = query & " FROM V_PROJECT as TPB " + query = query & " INNER JOIN V_PROJECT_METHOD as TPM " + query = query & " ON TPB.p_sn = TPM.p_sn " + query = query & " AND TPM.p_progress_status >= '006' " + query = query & " AND TPM.p_sub_type = 'C' " + query = query & " LEFT JOIN ( SELECT DISTINCT p_child_sn, 'Y' as dc_yn " + query = query & " FROM direct_cost dc WHERE del_yes_no = 'no' AND cost_type = '" & cost_type & "' AND p_child_sn is not null ) D " + query = query & " ON TPM.p_child_sn = D.p_child_sn " + 'Á¶È¸ ¿É¼Ç + if p_depart <> "0" AND p_depart <> "" then + query = query & " WHERE ( p_depart_dep = " & p_depart & " " + query = query & " or p_rsch_dept = " & p_depart & " " + query = query & " or p_field_dept = " & p_depart & " " + query = query & " or p_is_dept = " & p_depart & " " + query = query & " or p_supp_dept = " & p_depart & " " + query = query & " ) " + else + ' query = query & " WHERE (p_depart_dep <= 10 or (p_depart_dep >= 31 and p_depart_dep <=49)) " + end If + query = query & " ) as T LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON T.p_method_cd = TPMC.p_method_cd" + '³â ¿É¼Ç + if tmp_year <> "0" and tmp_year <> "" then + query = query & " WHERE SUBSTRING(convert(varchar(30), T.p_input_dt, 112), 1, 4) = '" & tmp_year & "' " + else + query = query & " WHERE SUBSTRING(convert(varchar(30), T.p_input_dt, 112), 1, 4) = '" & year(date()) & "' " + end if + '¿ù ¿É¼Ç + if tmp_month <> "0" and tmp_month <> "" then + query = query & " AND SUBSTRING(convert(varchar(30), T.p_input_dt, 112), 5, 2) = '" & right("0" & tmp_month, 2) & "' " + end if + 'À¯Çü ¿É¼Ç + if sc_method <> "100" and sc_method <> ""then + query = query & " AND T.p_method_cd = '" & sc_method & "' " + end if + if sc_name <> "" then + if cint(sc_name_type) = "0" then + query = query & " and p_sn like '%" & sc_name & "%'" 'ÇÁ·ÎÁ§Æ® ÄÚµå + else + query = query & " and p_subject like '%" & sc_name & "%'" 'ÇÁ·ÎÁ§Æ®À̸§º° + end if + end if + query = query & " order by p_sn DESC" + Rs.open query, adoconn, adopenstatic, adlockreadonly + PrjCnt = Rs.recordcount + + redim prj_list(PrjCnt, 6) + i=0 + do while not Rs.eof + i = i + 1 + prj_list(i, 1) = Rs.fields("p_sn") + prj_list(i, 2) = Rs.fields("p_subject") + if rs("p_sub_type") = "C" then + prj_list(i, 3) = Rs.fields("p_method_nm") + elseif rs("p_sub_type") = "M" then + prj_list(i, 3) = "¸ÖƼ" + end if + prj_list(i, 4) = Rs.fields("p_intention") + prj_list(i, 5) = Rs.fields("p_sub_type") + prj_list(i, 6) = Rs.fields("dc_yn") + Rs.movenext + loop + Rs.close + %> + + + + + + + <% end if ' if search_flag = 2 then %> +
+ ¼±ÅÃÇÏ´Â ³â/¿ùÀº Á¶»ç ½ÃÀÛÀÏÀ» ÀǹÌÇÕ´Ï´Ù. + ¾Æ·¡¿¡¼­ ãÀ» Á¶°ÇÀ» ¼±ÅÃÇϽðí "ã±â"¸¦ ´­·¯ÁÖ¼¼¿ä. +
+ + + + +
+ µî·Ï³âµµ +    + Á¶»ç½ÃÀÛ¿ù +    + º»ºÎ +    + <% + dim dir_cost_method_type() 'Á¶»ç¹æ¹ýÀÇ Á¾·ù(ºÐ·ù) + dim cost_sql + dim iii + + cost_sql = "SELECT * FROM T_PROJECT_METHOD_CD WHERE p_method_yn = 'y' ORDER BY p_method_cd " + Rs.open cost_sql, adoconn, adopenstatic, adlockreadonly + redim dir_cost_method_type(rs.recordcount+1,2) 'Á¶»ç¹æ¹ýÀÇ Á¾·ù(ºÐ·ù) + dir_cost_method_type(0,1) = "100" + dir_cost_method_type(0,2) = "Àüü" + dir_cost_method_type(1,1) = "0" + dir_cost_method_type(1,2) = "¸ÖƼ(M)" + iii = 1 + do while not Rs.eof + iii = iii + 1 + dir_cost_method_type(iii,1) = trim(rs("p_method_cd")) + dir_cost_method_type(iii,2) = trim(rs("p_method_nm")) + Rs.movenext + loop + Rs.close + %> + Á¶»ç ¹æ¹ý +    + Á¶°Ç + +   + +
+
+ +
+ <% if p_depart_name = cost_type or p_depart_name = "admin" then %> + + + <% end if %> +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/direct_cost_save_2014.asp b/inspection/direct_cost_save_2014.asp new file mode 100644 index 0000000..f7889c1 --- /dev/null +++ b/inspection/direct_cost_save_2014.asp @@ -0,0 +1,383 @@ + + +<% + Response.Expires = 0 + + Dim Sql, query + dim i, j, k + Dim txtHtml + Dim PrjCnt + dim user_name + dim p_sn + dim direct_cost_save_gubun + dim line_total + dim write_count 'ÀúÀåȽ¼ö(±×·ìÀ¸·Î »ç¿ëÇϱ⵵ ÇÔ) + dim db_table_name + dim title + dim krc_no + dim target99 + dim txt_memo(2) '1:¸Þ¸ð, 2 : °æ¿µÁö¿ø½Ç Àü¿ë ¸Þ¸ð + dim project_type_code + dim tmp_memo + dim p_sample + dim gap() + + dim url_posi + dim tmpstr + dim cnt + + dim sc_team + dim sc_name + dim sc_method + dim sc_year + dim sc_month + dim user_team + dim cost_type + dim count + dim progressFlag '¿¹»óÁ÷Á¢ºñ ´Ü°¡¸¦ ÀÔ·Â ÇÏÁö ¾Ê¾ÒÀ» °æ¿ì ¹Ø¿¡ ¼Ò½º¸¦ µ¹Áö ¾Ê´Â´Ù.. + + progressFlag = "true" + + cost_type = request("cost_type") + db_table_name = "¹®¼­³»¿ë" + + title="Á÷Á¢ºñ" + + user_name = session("loginuser") + url_posi = request("url_posi") + user_team = request("user_team") + + sc_year = request("sc_year") + sc_month = request("sc_month") + sc_team = request("sc_team") + sc_name = request("sc_name") + sc_method = request("sc_method") + p_subject_group = request("txt_p_subject_group") + p_sn_group = request("txt_p_sn_group") + + p_sn = Request.Form("p_sn") + direct_cost_save_gubun = Request("gubun")'¿¹»óÀ̳Ä? ½ÇÁ¦³Ä? + line_total = request("line_total") + txt_memo(1) = request("txt_memo") + if session("Depart_Code") = "18" then + txt_memo(2) = request("txt_memo2") + end if + project_type_code = request("project_type_code") + + p_method_cd = request("p_method_cd") + complete = request("complete") + p_sub_type = request("p_sub_type") + + if Instr(p_method_cd,"@") > 0 then + list_p_sn = split(p_method_cd,"@") + p_method_cd = list_p_sn(0) + p_child_sn = list_p_sn(1) + end if + p_child_sn = request("p_child_sn") + + count = 1 '½ÇÁ¦ ÀúÀåÇÒ ¶óÀÎ ¼ö + redim gap(line_total, 12) + + for i=1 to line_total + gap(i, 11) = replace(request("gap_cha")(i),",","") + + hangmok = request("hangmok")(i) + if gap(i, 11) <> "" then + gap(count, 1) = request("hangmok")(i) + gap(count, 2) = request("sebu")(i) + gap(count, 3) = replace(request("est_gap1")(i),",","") + gap(count, 4) = replace(request("est_gap2")(i),",","") + gap(count, 5) = replace(request("est_gap3")(i),",","") + gap(count, 6) = replace(request("est_gap4")(i),",","") + gap(count, 7) = replace(request("act_gap1")(i),",","") + gap(count, 8) = replace(request("act_gap2")(i),",","") + gap(count, 9) = replace(request("act_gap3")(i),",","") + gap(count, 10) = replace(request("act_gap4")(i),",","") + gap(count, 11) = replace(request("gap_cha")(i),",","") + gap(count, 12) = request("line_memo")(i) + + if trim(gap(count, 3)) = "" and gap(count,6) > "0" then + Response.write ("") + progressFlag = "False" + exit for + end if + + if trim(gap(count, 6)) = "" then + gap(count, 6) = "0" + end if + if trim(gap(count, 10)) = "" then + gap(count, 10) = "0" + end if + count = count + 1 + end if + next + + if progressFlag = "true" then + for i=1 to line_total + for j=1 to 12 + gap(i, j) = trim(gap(i,j)) + next + next + Sql = "select max(write_count) as write_count from direct_cost where p_sn='" & trim(p_sn) & "' and cost_type = '" & cost_type & "' " + + Rs.open sql, adoconn, adopenstatic, adlockreadonly + if isnull(Rs("write_count")) then + write_count = 0 + else + write_count = Rs("write_count") + end if + rs.close + + PrjCnt = 0 + Sql = "select p_sn from direct_cost where p_sn='" & trim(p_sn) & "'" + sql = sql & " and del_yes_no = 'no' and cost_type = '" & cost_type & "' " + sql = sql & " and hangmok not like '¸Þ¸ð%' " + + Rs.open sql, adoconn, adopenstatic, adlockreadonly + + PrjCnt = Rs.recordcount + Rs.close + + ConDate=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) + + if cint(PrjCnt) > 0 then 'Á÷Á¢ºñ°¡ µî·ÏÀÌ µÇ¾î ÀÖÀ¸¸é + query = "select memo , krc_no, hangmok from direct_cost where p_sn = '" & p_sn & "' and del_yes_no = 'no' and hangmok like '¸Þ¸ð%' and cost_type = '" & cost_type & "' " + rs.open query,adoconn,adOpenStatic,adLockReadOnly + + do while not rs.eof + if rs("hangmok") = "¸Þ¸ð" then + else + tmp_memo = rs("memo") + end if + krc_no = rs("krc_no") + rs.movenext + loop + rs.close + + sql = "update direct_cost set del_yes_no = 'yes', " + sql = sql & " del_date = '" & ConDate & "', " + sql = sql & " del_time = '" & time() & "', " + sql = sql & " del_user = '" & session("loginuser") & "'," + sql = sql & " del_user_code = '" & session("user_number") & "', " + sql = sql & " del_ip = '" & Request.ServerVariables("REMOTE_HOST") & "' " + sql = sql & " where p_sn = '" & p_sn & "'" + sql = sql & " and del_yes_no = 'no' and cost_type = '" & cost_type & "' " + sql = sql & " and p_child_sn = '" & p_child_sn & "' " + + if complete <> "cancle" then + adoConn.execute sql + end if + end if + + query = "select * from T_PROJECT_BASE where p_sn = '" & p_sn & "'" + Rs.open query, adoconn, adopenstatic, adlockreadonly + p_subject = rs("p_subject") + rs.close + + krc_no = replace(krc_no," ","") + ''ÀúÀå ½ÃÀÛ + ''//======================== + ''//======================== + for i=1 to count-1 + query = "insert into direct_cost (" + query = query & " p_sn, krc_no, p_subject, hangmok, sebu, est_danga, est_bu_or_cnt, est_dosu_or_time, est_money, act_danga, " + query = query & " act_bu_or_cnt, act_dosu_or_time, act_money, cha_money, memo, " + query = query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, write_count,p_subject_group, p_sn_group, cost_type, p_child_sn" + query = query & " ) values (" + query = query & "'" & p_sn & "', " + query = query & "'" & krc_no & "', " + query = query & "'" & p_subject & "', " + 'query = query & project_type_code & ", " + query = query & "'" & gap(i, 1) & "', " + query = query & "'" & gap(i, 2) & "', " + query = query & "'" & gap(i, 3) & "', " + query = query & "'" & gap(i, 4) & "', " + query = query & "'" & gap(i, 5) & "', " + query = query & "'" & gap(i, 6) & "', " + query = query & "'" & gap(i, 7) & "', " + query = query & "'" & gap(i, 8) & "', " + query = query & "'" & gap(i, 9) & "', " + query = query & "'" & gap(i, 10) & "', " + query = query & "'" & gap(i, 11) & "', " + query = query & "'" & gap(i, 12) & "', " + query = query & "'" & ConDate & "'," + query = query & "'" & time() & "'," + query = query & "'" & session("loginuser") & "', " + query = query & "'" & session("user_number") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_HOST") & "', " + query = query & "'" & write_count+1 & "', " + query = query & "'" & p_subject_group & "', " + query = query & "'" & p_sn_group & "', '" & cost_type & "', '" & p_child_sn & "')" + 'Response.Write query & "
" + + if complete <> "cancle" and (gap(i, 6) <> "0" or gap(i, 10) <> "0") then + adoConn.Execute query + end if + next + + if cost_type = "field" then + query = "insert into direct_cost (" + query = query & " p_sn, krc_no, p_subject, hangmok, memo, " + query = query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, write_count,p_subject_group, p_sn_group, cost_type, p_child_sn " + query = query & " ) values (" + query = query & "'" & p_sn & "', " + query = query & "'" & krc_no & "', " + query = query & "'" & p_subject & "', " + query = query & "'¸Þ¸ð'," + query = query & "'" & txt_memo(1) & "'," + query = query & "'" & ConDate & "'," + query = query & "'" & time() & "'," + query = query & "'" & session("loginuser") & "', " + query = query & "'" & session("user_number") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_HOST") & "', " + query = query & "'" & write_count+1 & "', " + query = query & "'" & p_subject_group & "', " + query = query & "'" & p_sn_group & "', '" & cost_type & "', '" & p_child_sn & "')" + 'Response.Write query & "
" + if complete <> "cancle" then + adoConn.Execute query + end if + + query = "insert into direct_cost (" + query = query & " p_sn, krc_no, p_subject, hangmok, memo, " + query = query & " modify_date, modify_time, modify_user, modify_user_code, modify_ip, write_count,p_subject_group, p_sn_group, cost_type, p_child_sn " + query = query & " ) values (" + query = query & "'" & p_sn & "', " + query = query & "'" & krc_no & "', " + query = query & "'" & p_subject & "', " + query = query & "'¸Þ¸ð_°æ¿µÁö¿ø½Ç'," + if session("Depart_Code") = "18" then '°æ¿µÁö¿ø½Ç »ç¶÷À̸é ÇöÀç º¸ÀÌ´Â Àü¿ë¸Þ¸ð¸¦ + query = query & "'" & txt_memo(2) & "'," + else + query = query & "'" & tmp_memo & "'," + end if + query = query & "'" & ConDate & "'," + query = query & "'" & time() & "'," + query = query & "'" & session("loginuser") & "', " + query = query & "'" & session("user_number") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_HOST") & "', " + query = query & "'" & write_count+1 & "', " + query = query & "'" & p_subject_group & "', " + query = query & "'" & p_sn_group & "', '" & cost_type & "', '" & p_child_sn & "')" + 'Response.Write query & "
" + + if complete <> "cancle" then + adoConn.Execute query + end if + end if + ''//======================================================================== + if cost_type = "research" or cost_type = "field" or cost_type = "dp" then + query = " SELECT p_sn, p_method_cd , p_child_sn, p_sub_type, p_input_complete " + query = query & " FROM T_PROJECT_METHOD " + query = query & " WHERE p_sn = '"& p_sn &"' " + query = query & " AND p_child_sn = '"& p_child_sn &"' " + + adors.Open query, adoconn, 1 + + '##### p_input_complete => index 1 ¿¬±¸, index 2 ½Ç»ç, index 3 DPÆÀ(2018-02-27 ±èÁ¾ÈÖ) + if complete = "yes" and cost_type = "field" then + if user_team = "8" then + complete_str = mid(adors("p_input_complete"),1,1) & "o" & mid(adors("p_input_complete"),3,1) + Else + complete_str = mid(adors("p_input_complete"),1,1) & "o" & mid(adors("p_input_complete"),3,1) + end if + elseif complete = "yes" and cost_type = "research" then + complete_str = "o" & mid(adors("p_input_complete"),2,1) & mid(adors("p_input_complete"),3,1) + elseif complete = "cancle" and cost_type = "field" then + if user_team = "8" then + complete_str = mid(adors("p_input_complete"),1,1) & "x" & mid(adors("p_input_complete"),3,1) + Else + complete_str = mid(adors("p_input_complete"),1,1) & "x" & mid(adors("p_input_complete"),3,1) + end if + elseif complete = "cancle" and cost_type = "research" then + complete_str = "x" & mid(adors("p_input_complete"),2,1) & mid(adors("p_input_complete"),3,1) + end if + + if complete = "yes" OR complete = "cancle" then + query = " UPDATE T_PROJECT_METHOD " + query = query & " SET p_input_complete = '"& complete_str &"' " + query = query & " WHERE p_sn = '"& p_sn &"' " + query = query & " AND p_child_sn = '"& adors("p_child_sn") &"' " + + adoConn.execute query + end if + + adors.close + + if complete_str = "ooo" Or complete_str = "oooo" then '##### index 1 ¿¬±¸, index 2 ½Ç»ç, index 3 DPÆÀ(2018-02-27 ±èÁ¾ÈÖ) + '¾Ë¶÷±â´É Ãß°¡ *********************************************** + query = "" + query = query & " insert into Intranet_Alarm Values " + query = query & " ( " + query = query & " '" & p_child_sn & "', " + query = query & " '', " + query = query & " 'ÁøÇà»óŰ¡ °áÀç»ó½Å °¡´ÉÀ¸·Î', " + query = query & " '', " + query = query & " '', " + query = query & " (SELECT TOP 1 cast(p2.p_no as varchar) +','+ cast(p.p_no as varchar) " + query = query & " FROM T_PROJECT_BASE tpb INNER JOIN person p ON tpb.p_input_user = p.p_no " + query = query & " INNER JOIN (select p_no, p_depart, p_team_place, p_resign from person) p2 ON p.p_depart = p2.p_depart and p2.p_resign = '0' " + query = query & " WHERE tpb.p_sn = '" & p_sn & "' and p2.p_team_place between '0' and '5' " + query = query & " ORDER BY p2.p_team_place DESC) " + query = query & " ) " + + adoConn.execute query + end if + + if complete = "sv" Or complete = "qc" Then + query = "" + query = query & " UPDATE direct_cost_field " + query = query & " SET " & complete & "_prog = 'complete' " + query = query & " WHERE p_child_sn = '" & p_child_sn & "' " + + adoConn.execute query, i + + if i = 0 Then + query = "" + query = query & " INSERT INTO direct_cost_field (p_child_sn, " & complete & "_prog, del_yn) " + query = query & " VALUES ('" & p_child_sn & "', 'complete', 'n') " + + adoConn.execute query + End If + End If + end if + end if ' progressFlag +''//======================== +''ÀúÀå ³¡ +''//======================== +%> + + + + + +Á÷Á¢ºñ ÀÛ¼º + + + +
+ + + + + + + + + + + + +<% + +%> \ No newline at end of file diff --git a/inspection/direct_cost_sv_memo_save_2014.asp b/inspection/direct_cost_sv_memo_save_2014.asp new file mode 100644 index 0000000..ac9487f --- /dev/null +++ b/inspection/direct_cost_sv_memo_save_2014.asp @@ -0,0 +1,41 @@ + +<% + p_child_sn = Request("p_child_sn") + txt_memo = request("txt_memo") + sql = "update direct_cost set memo = '" & txt_memo & "'" + sql = sql & " where p_child_sn = '" & p_child_sn & "'" + sql = sql & " and del_yes_no = 'no'" + sql = sql & " and hangmok='¸Þ¸ð' " + 'response.write sql + adoConn.execute sql, i +''//======================== + %> + + + + + + + +¸Þ¸ðÀúÀå + + + + + +<% %> diff --git a/inspection/end_project_neakun_expence.asp b/inspection/end_project_neakun_expence.asp new file mode 100644 index 0000000..da1f02e --- /dev/null +++ b/inspection/end_project_neakun_expence.asp @@ -0,0 +1,282 @@ + +<% +dim command +command = Request("command") + +p_sn = request("p_sn") +p_subject = request("p_subject") +work_type = request("work_type") +p_depart = request("p_depart") +year_from = request("year_from") +year_to = request("year_to") +month_from = request("month_from") +month_to = request("month_to") + +dim tmp_p_sn +dim subTotal +dim subTime +dim allTotal +dim allTime + +if month_from = "" or month_from = "00" then + month_from = "01" +elseif cint(month_from) < 10 and len(month_from) < 2 then + month_from = "0" & month_from +end if +if month_to = "" or month_to = "00" then + month_to = "12" +elseif cint(month_to) < 10 and len(month_to) < 2 then + month_to = "0" & month_to +end if + +if tmp_month = "" then + tmp_month = cstr(month(date())) +end if + +if command <> "excel" then +%> + + +
+ +
+

Á¾·á ÇÁ·ÎÁ§Æ® ³»±ÙÁ÷ ¼Ò¿äºñ¿ë

+
+ + +
+
+
+
+
+<% +End If + +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=ÇÁ·ÎÁ§Æ®º°_³»±ÙÁ÷_¼Ò¿äºñ¿ë.xls" +end if +%> + <%if command <> "excel" then%> + <% Dim f_menu : f_menu = "np" %> + + <%End If%> + + + <%if command <> "excel" then%> + + + + + + + + <% + query = " select *" + query = query & " from direct_costcode " + query = query & " where d_cost_kind = 'field' " + query = query & " and d_cost_useyn = 'y' " + query = query & " and d_cost_parents = '2' " + Adors.Open query, adoConn, 1 + %> + + + <% + query = "" + query = query & " SELECT DISTINCT before_t_cd1 as d_code, LEFT(T_Name, 8) as d_name " + query = query & " FROM project2.dbo.v_Department " + query = query & " WHERE before_t_cd1 between 20 and 99 " + query = query & " order by LEFT(T_Name, 8) " + Adors.Open query, adoConn, 1 + %> + + + + + + + + + + + <%end if %> + <% if command <> "" then %> + + + + <% end if %> +
ÇÁ·ÎÁ§Æ® ¹øÈ£ÇÁ·ÎÁ§Æ®¸í
¾÷¹« + + ¿¬±¸ºÎ¼­ + +
°Ë»ö±â°£ ¼³Á¤ + value="<%=year(date) %>" <% else %> value="<%=year_from %>" <% end if %> style="width:46px;text-align:right" />³â + ¿ù +   ~   + value="<%=year(date) %>" <% else %> value="<%=year_to %>" <% end if %> style="width:46px;text-align:right" />³â + ¿ù   (* ÇØ´ç ±â°£Àº ¼öÇà °èȹ¼­ ±âÁØ ½Ç»ç ½ÃÀÛÀÏÀÔ´Ï´Ù.) +
+ +

+
+ + + + + + + + + + + + <% + '--ÇÁ·ÎÁ§Æ® º° ³»±ÙÁ÷ ¼Ò¿äºñ¿ë °Ë»ö-Á¾·á ÇÁ·ÎÁ§Æ® + query = " select isnull(d2.d_name,d1.d_name) as d_name, tmp.p_sn, tmp.p_child_sn as p_child_sn, isnull(tpm.p_subject,p.p_subject) as p_subject, tmp.p_sebu_code, tmp.s_gubun as p_sebu, " + query = query & " st_date, ed_date, job_total_time, s_sum, isnull(tpm.p_method_cd,'') as p_method_cd, isnull(tpm.p_sub_type,'') as p_sub_type " + query = query & " from ( " + query = query & " select nw.p_sn, tmp.p_sn as p_child_sn, s_gubun, ROUND(SUM(tmp.s_wan),2) as job_total_time, SUM(tmp.s_sum) as s_sum, MIN(work_dt) as st_date, MAX(work_dt) as ed_date, nw.p_sebu_code " + query = query & " from t_neakeun_pay tmp left outer join neakeun_work nw on tmp.attribute01 = convert(varchar(15),nw.id) " + query = query & " where s_gubun not like 'Ãß°¡%' " + query = query & " group by tmp.p_sn, tmp.s_gubun, nw.p_sn, nw.p_sebu_code " + query = query & " union " + query = query & " select nw.p_sn, tmp.p_sn as p_child_sn, s_gubun, '' as job_total_time, SUM(tmp.s_sum) as s_sum, MIN(work_dt) as st_date, MAX(work_dt) as ed_date, '0' as p_sebu_code " + query = query & " from t_neakeun_pay tmp left outer join neakeun_work nw on tmp.attribute01 = convert(varchar(15),nw.id) " + query = query & " where tmp.s_gubun like 'Ãß°¡%' " + query = query & " group by tmp.p_sn, tmp.s_gubun, nw.p_sn " + query = query & " ) tmp " + query = query & " left outer join T_PROJECT_METHOD tpm on tmp.p_child_sn = tpm.p_child_sn " + query = query & " left outer join project p on tmp.p_sn = p.p_sn " + query = query & " left outer join Depart d1 on tpm.p_rsch_dept = d1.d_code " + query = query & " left outer join Depart d2 on p.p_depart = d2.d_code " + query = query & " where tmp.p_child_sn != '' AND (p.p_field_complete = 1 or tpm.p_field_complete = 1) " + if p_sn <> "" then + query = query & " AND tmp.p_sn LIKE '%"& p_sn &"%' " + end if + if p_subject <> "" then + query = query & " AND (p.p_subject LIKE '%"&p_subject&"%' OR tpm.p_subject like '%"&p_subject&"%') " + end if + if work_type <> "" then + query = query & " AND tmp.p_sebu_code = '"&work_type&"' " + end if + if p_depart <> "" then + query = query & " AND (p.p_depart = '"&p_depart&"' OR tpm.p_rsch_dept = '"&p_depart&"') " + end if + if month_from <> "" then + query = query & " AND (tpm.p_field_date_st >= '"&year_from&"-"&month_from&"-00' OR P.p_field_st >= '"&year_from&"-"&month_from&"-00') " + end if + if month_to <> "" then + query = query & " AND (tpm.p_field_date_st <= '"&year_to&"-"&month_to&"-32' OR P.p_field_st <= '"&year_to&"-"&month_to&"-32') " + end if + query = query & " order by p_child_sn, p_sebu_code desc " + + Adors.open query,adoconn,1 + + if Adors.recordcount > 0 then + tmp_p_sn = Adors("p_child_sn") + end if + + subTime = 0 + subTotal = 0 + allTime = 0 + allTotal = 0 + + for i=1 to Adors.recordcount + if not isnull(Adors("job_total_time")) then + subTime = subTime + Adors("job_total_time") + allTime = allTime + Adors("job_total_time") + end if + if not isnull(Adors("s_sum")) then + subTotal = subTotal + Adors("s_sum") + allTotal = allTotal + Adors("s_sum") + end if + + %> + + + + + + + + + + + <% Adors.movenext + if i < Adors.recordcount then + if tmp_p_sn <> Adors("p_child_sn") then + %> + + + + + + <% + tmp_p_sn = Adors("p_child_sn") + subTime = 0 + subTotal = 0 + end if + else + %> + + + + + + <% + end if + next + Adors.close + %> + + + + + +
¿¬±¸ºÎ¼­ÇÁ·ÎÁ§Æ® ¹øÈ£ÇÁ·ÎÁ§Æ® ¸í¾÷¹«½ÇÁ¦ Á¶»ç ½ÃÀÛ³¯Â¥½ÇÁ¦ Á¶»ç Á¾·á³¯Â¥ÃÑ ÅõÀԽð£ÃÑ ÁöÃâºñ¿ë
<%= Adors("d_name")%><%= Adors("p_child_sn")%>','<%=Adors("p_sub_type")%>','<%=Adors("p_method_cd")%>','<%=Adors("p_child_sn")%>')" class="blue"><%= Adors("p_subject")%><%= Adors("p_sebu")%><%= Adors("st_date")%><%= Adors("ed_date")%><%= Adors("job_total_time")%><%= formatnumber(Adors("s_sum") ,0)%>
[<%= tmp_p_sn%>]ÇÁ·ÎÁ§Æ® ¼Ò°è<%= subTime%><%= formatnumber(subTotal,0)%>
[<%= tmp_p_sn%>]ÇÁ·ÎÁ§Æ® ¼Ò°è<%= subTime%><%= formatnumber(subTotal,0)%>
ÃÑ ÇÕ°è<%= allTime%><%= formatnumber(allTotal,0)%>
+
+ +<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/etc_confirm.asp b/inspection/etc_confirm.asp new file mode 100644 index 0000000..6b0dbf8 --- /dev/null +++ b/inspection/etc_confirm.asp @@ -0,0 +1,344 @@ + + + +
+ +
+

¸éÁ¢¿ø È®ÀÎ(±âŸ)

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "my" %> + +
+ " /> + " /> + " /> + " /> + <% + query = "" + query = query & " select sebu, est_danga FROM direct_cost where p_child_sn = '"& request("p_child_sn") &"' " + query = query & " and del_yes_no = 'no' " + query = query & " and sebu IN ('±³À°ºñ', '¼Ò°³ºñ','ÇØµ¶¿ø', '¸éÁ¢¿ø¼ö´ç1','¸éÁ¢¿ø¼ö´ç2','¸éÁ¢¿ø¼ö´ç3','¸éÁ¢¿ø¼ö´ç4','¸éÁ¢¿ø¼ö´ç5') " + 'response.Write query + Rs.Open query, adoConn, 1 + %> + + + + + + +
ÇÁ·ÎÁ§Æ® + + +
+ <% + query = " select tmp.id, m_name, m_jumin, work_dt, money_type, est_money, s_pay_unit, s_wan, add_money, add_money_memo, confirm_yn, " + query = query & " CASE " + query = query & " WHEN d.d_order_cnt = '99' THEN '°áÀç ¹Ý·Á' " + query = query & " WHEN d.d_order_cnt = '77' THEN '°áÀç ¿Ï·á' " + query = query & " WHEN d.d_order_cnt IS NULL THEN '' " + query = query & " ELSE '°áÀçÁß' " + query = query & " end as d_order_cnt " + query = query & " from T_MYUN_PAY tmp left outer join Document d on tmp.attribute05 = d.d_no " + query = query & " where p_sn = '"& request("p_child_sn") &"' " + query = query & " and s_gubun = 'ETC' " + query = query & " and insert_user = '" & session("User_Number") & "' " + query = query & " order by tmp.id asc " + query = query & " " + ' Response.write query + adors.Open query, adoConn, 1 + %> + + + + + + + + + + + + + + + <% if Rs.recordcount > 0 then %> + + <% for i=1 to adors.recordcount + 30 %> + <% 'µ¥ÀÌÅͰ¡ ÀÖÀ¸¸é ºÒ·¯¿Â´Ù. + if adors.recordcount >= i then %> + + + + + + + + + + + + + + + <% + adors.movenext + else + 'µ¥ÀÌÅÍ ¾ø´Â ºóÄ­ + %> + + + + + + + + + + + + + + <% end if + next %> + + + + <% + else + %> + + <% end if %> + <% Rs.close %> +
¼ø¹ø¸éÁ¢¿ø±Ù¹«³¯Â¥¾÷¹«±¸ºÐ¿¹»óÁ÷Á¢ºñ´Ü°¡¼ö·®Ãß°¡»èÁ¦¼ö´ç»çÀ¯°áÀç»óÅÂ
(°ËÁõ»óÅÂ)
Confirm
+ +
<%= i %> + "/> + + + readonly + <% end if %> + > + "/> + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + <% else %> + + <% end if %> + + + " id='work_date_<%=i%>' name='work_date_<%=i%>' readonly + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + <% else %> + OnClick="winopn('/include/calendar.html?actval=work_date_<%=i%>')" + <% end if %> + > + + " + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + " readonly/> + <% else %> + + <% end if %> + + " + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + + " + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + + " + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + + " + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + + " readonly/> + + checked <% end if %> + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + disabled + <% end if %> + /> + +
<%= i %> + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
<% if request("p_child_sn") <> "" then %>¿¹»óÁ÷Á¢ºñ°¡ ¾ø½À´Ï´Ù. ITÆÀ¿¡ ¹®ÀÇÇØ ÁÖ¼¼¿ä.<% end if %>
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/etc_confirm_save.asp b/inspection/etc_confirm_save.asp new file mode 100644 index 0000000..b5eb695 --- /dev/null +++ b/inspection/etc_confirm_save.asp @@ -0,0 +1,95 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +dbin.Open adoConn + +Dim add_count +Dim add_money +DIm s_pay_unit +Dim s_ot_pay +DIm est_money +'response.Write "cnt : " & request("cnt") &"
" + +p_field_date_st = request("p_field_date_st") +p_field_date_end = request("p_field_date_end") +p_child_sn = request("p_child_sn") + + +for i=1 to request("record_cnt") + 30 + d_order_cnt = request("approvalYN_" & cstr(i)) + 'response.Write "---------------------------------------------------------------------------"&"
" + 'response.Write "i : "& i & "
" + 'response.Write "d_order_cnt : " & request("d_order_cnt")(i) & "
" + 'response.Write "add_count : " & request("add_count")(i) & "
" + 'response.Write "add_count_memo : " & request("add_count_memo")(i) & "
" + 'response.Write "chk_work_confirm : " & request("chk_work_confirm_"&i) & "
" + + if (d_order_cnt = "°áÀç ¹Ý·Á" OR d_order_cnt = "" OR isnull(d_order_cnt)) and request("txtName_"&i) <> "" then + s_pay_unit = 0 + s_ot_pay = 0 + + If Trim(request("add_money_"&i)) = "" Then + add_money = 0 + Else + add_money = Cstr(request("add_money_"&i)) + End if + + if request("s_pay_unit_" & i) = "" then + s_pay_unit = 0 + else + s_pay_unit = replace(request("s_pay_unit_" & i),",","") + end if + + if request("count_" & i) = "" then + count = 0 + else + count = request("count_" & i) + end if + +'¿øÀÎ ÆÄ¾Ç Àü±îÁö´Â update X + if request("id_"&i) <> "" then + query = " update T_MYUN_PAY " + query = query & " set p_sn = '" & p_child_sn & "', money_type = '" & request("workType_"&i) & "', m_name = '" & request("txtName_"&i) & "', " + query = query & " m_jumin = '" & request("txtJumin_"&i) & "', work_dt = '" & request("work_date_"&i) & "', " + query = query & " est_money = '" & request("est_money_"&i) & "', s_pay_unit = '" & s_pay_unit & "', " + query = query & " s_wan = '" & count & "', s_sum = '" & (cdbl(count) * cdbl(s_pay_unit)) + cdbl(add_money) & "', " + query = query & " confirm_yn = '" & request("confirm_"&i) & "', add_money = '" & add_money & "', " + query = query & " add_money_memo = '" & request("add_money_memo_"&i) & "', insert_dt = getdate() " + query = query & " where id = '"& request("id_"&i) &"' " + Else + query = " insert into T_MYUN_PAY( " + query = query & " pay_type, p_sn, money_type, m_name, m_jumin, work_dt, s_gubun, s_pay_unit, s_wan, " + query = query & " s_sum, confirm_yn, est_money, add_money, add_money_memo, insert_dt, insert_user " + query = query & " ) values ( " + query = query & " '2', '" & p_child_sn & "', '" & request("workType_"&i) & "', '" & request("txtName_"&i) & "', '" & request("txtJumin_"&i) & "'" + query = query & " , '" & request("work_date_"&i) & "', " + query = query & " 'ETC', " + query = query & " '" & s_pay_unit & "', " + query = query & " '" & count & "', " + query = query & " '" & (cdbl(count) * cdbl(s_pay_unit)) + cdbl(add_money) & "', '" & request("confirm_"&i) & "', '" & request("est_money_"&i) & "', " + query = query & " '" & add_money & "', '" & request("add_money_memo_"&i) & "', getdate(), '" & Session("User_Number") & "') " + end if + + 'response.Write query & "
" + dbin.Execute query + END if +next + +dbin.Close + %> + + + + +
+ " /> +
+ + diff --git a/inspection/f_menu.asp b/inspection/f_menu.asp new file mode 100644 index 0000000..c2f04a6 --- /dev/null +++ b/inspection/f_menu.asp @@ -0,0 +1,44 @@ + \ No newline at end of file diff --git a/inspection/ing_project_state.asp b/inspection/ing_project_state.asp new file mode 100644 index 0000000..8f6113d --- /dev/null +++ b/inspection/ing_project_state.asp @@ -0,0 +1,255 @@ + +<% +dim command +command = Request("command") + +p_sn = request("p_sn") +p_subject = request("p_subject") +work_type = request("work_type") +p_depart = request("p_depart") + +dim tmp_p_sn +dim subTime +dim allTime +dim subPay +dim allPay + +if tmp_month = "" then + tmp_month = cstr(month(date())) +end if + +if command <> "excel" then +%> + + +
+ +
+

ÁøÇà ÇÁ·ÎÁ§Æ® ³»±ÙÁ÷ ºñ¿ëÇöȲ

+
+ + +
+
+
+
+
+<% +End If + +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=ÁøÇàÇÁ·ÎÁ§Æ®_³»±ÙÁ÷_ºñ¿ëÇöȲ.xls" +end if +%> + <%if command <> "excel" then%> + <% Dim f_menu : f_menu = "np" %> + + <%End If%> +
+ + <%if command <> "excel" then%> + + + + + + + + <% + query = " select *" + query = query & " from direct_costcode " + query = query & " where d_cost_kind = 'field' " + query = query & " and d_cost_useyn = 'y' " + query = query & " and d_cost_parents = '2' " + Adors.Open query, adoConn, 1 + %> + + + <% + query = "" + query = query & " SELECT DISTINCT before_t_cd1 as d_code, LEFT(T_Name, 8) as d_name " + query = query & " FROM project2.dbo.v_Department " + query = query & " WHERE before_t_cd1 between 20 and 99 " + query = query & " order by LEFT(T_Name, 8) " + Adors.Open query, adoConn, 1 + %> + + + + + + + + + + <%end if %> + <% if command <> "" then %> + + + + <% end if %> +
ÇÁ·ÎÁ§Æ® ¹øÈ£ÇÁ·ÎÁ§Æ®¸í
¾÷¹« + + ¿¬±¸ºÎ¼­ + +
+ ¡Ø´©Àû ºñ¿ëÀº ³»±ÙÁ÷ ConfirmÀÌ ¿Ï·áµÈ ±âÁØÀÔ´Ï´Ù(½ÇÁ¦Á÷Á¢ºñ¿Í ´Ù¸¦ ¼ö ÀÖ½À´Ï´Ù) +
+ +

+
+ + + + + + + + + + + + + <% + '--ÇÁ·ÎÁ§Æ® º° ³»±ÙÁ÷ ¼Ò¿äºñ¿ë °Ë»ö-Á¾·á ÇÁ·ÎÁ§Æ® + query = " select isnull(d2.d_name,d1.d_name) as d_name,ISNULL(nw.p_child_sn, nw.p_sn) as p_child_sn, isnull(tpm.p_subject,p.p_subject) as p_subject, p_sebu, " + query = query & " MIN(date) as st_date, isnull(p.p_field_end,tpm.p_field_date_end) as p_field_date_end ,MAX(date) as sv_confirm_date, " + query = query & " round(SUM(job_total_time),2) as job_total_time, SUM(s_sum) as s_sum , " + query = query & " nw.p_sn, isnull(tpm.p_method_cd,'') as p_method_cd, isnull(tpm.p_sub_type,'') as p_sub_type " + query = query & " from (select nk.p_sebu, isnull(p_sebu_code,'') as p_sebu_code, nk.p_sn, DATE, case when left(tn.s_gubun, 4) = 'Ãß°¡¼ö´ç' then '0' else job_total_time end as job_total_time, isnull(nk.p_child_sn, '') as p_child_sn, isnull(job_confirm_yn, '') as job_confirm_yn, ISNULL(s_sum, 0) as s_sum " + query = query & " from neakeun_work nk left outer join T_NEAKEUN_PAY tn on cast(nk.id as varchar) = tn.attribute01 " + query = query & " where isnull(nk.p_child_sn, '') <> '') nw left outer join T_PROJECT_METHOD tpm on nw.p_child_sn = tpm.p_child_sn " + query = query & " left outer join project p on nw.p_sn = p.p_sn " + query = query & " left outer join Depart d1 on tpm.p_rsch_dept = d1.d_code " + query = query & " left outer join Depart d2 on p.p_depart = d2.d_code " + query = query & " where date != '' " + query = query & " AND nw.job_confirm_yn = 'Y' " + query = query & " AND ((p.p_field_complete is null or p.p_field_complete != '1') AND (tpm.p_field_complete is null or tpm.p_field_complete != '1')) " + + if p_sn <> "" then + query = query & " AND nw.p_child_sn LIKE '%"& p_sn &"%' " + end if + if p_subject <> "" then + query = query & " AND (p.p_subject LIKE '%"&p_subject&"%' OR tpm.p_subject like '%"&p_subject&"%') " + end if + if work_type <> "" then + query = query & " AND p_sebu_code = '"&work_type&"' " + end if + if p_depart <> "" then + query = query & " AND (p.p_depart = '"&p_depart&"' OR tpm.p_rsch_dept = '"&p_depart&"') " + end if + query = query & " group by d1.d_name,d2.d_name, nw.p_sn, p_sebu, nw.p_child_sn, p_sebu_code, tpm.p_subject, p.p_subject, p_field_end, p_field_date_end, nw.p_sn, tpm.p_method_cd, tpm.p_sub_type " + query = query & " order by nw.p_sn, nw.p_child_sn, p_sebu_code, p_sebu " + + Adors.open query,adoconn,1 + if Adors.recordcount <> 0 then + tmp_p_sn = Adors("p_child_sn") + end if + subTime = 0 + sumPay = 0 + allTime = 0 + allPay = 0 + for i=1 to Adors.recordcount + if not isnull(Adors("job_total_time")) then + subTime = subTime + Adors("job_total_time") + allTime = allTime + Adors("job_total_time") + end if + if not isnull(Adors("s_sum")) then + subPay = subPay + Adors("s_sum") + allPay = allPay + Adors("s_sum") + end if + %> + + + + + + + + + + + + <% Adors.movenext + if i < Adors.recordcount then + if tmp_p_sn <> Adors("p_child_sn") then + %> + + + + + + <% + tmp_p_sn = Adors("p_child_sn") + subTime = 0 + subTotal = 0 + subPay = 0 + subTotalPay = 0 + end if + else + %> + + + + + + <% + end if + next + Adors.close + %> + + + + + +
¿¬±¸ºÎ¼­ÇÁ·ÎÁ§Æ® ¹øÈ£ÇÁ·ÎÁ§Æ® ¸í¾÷¹«¾÷¹« ½ÃÀÛÀϽǻç Á¾·á ¿¹Á¤ÀÏSV ÃÖÁ¾ È®ÀÎ ÀÏÀÚ´©Àû ÅõÀÔ ½Ã°£´©Àû ºñ¿ë
<%= Adors("d_name")%><%= Adors("p_child_sn")%>','<%=Adors("p_sub_type")%>','<%=Adors("p_method_cd")%>','<%=Adors("p_child_sn")%>')" class="blue"><%= Adors("p_subject")%><%= Adors("p_sebu")%><%= Adors("st_date")%><%= Adors("p_field_date_end")%><%= Adors("sv_confirm_date")%><%= Adors("job_total_time")%><%= FormatNumber(Adors("s_sum"),0)%>
[<%= tmp_p_sn%>]ÇÁ·ÎÁ§Æ® ¼Ò°è<%= subTime%><%= FormatNumber(subPay,0)%>
[<%= tmp_p_sn%>]ÇÁ·ÎÁ§Æ® ¼Ò°è<%= subTime%><%= FormatNumber(subPay,0)%>
ÃÑ ÇÕ°è<%= allTime%><%= FormatNumber(allPay,0)%>
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> + \ No newline at end of file diff --git a/inspection/ins_cnt.asp b/inspection/ins_cnt.asp new file mode 100644 index 0000000..a1b3b05 --- /dev/null +++ b/inspection/ins_cnt.asp @@ -0,0 +1,68 @@ + +<% +Response.CharSet = "EUC-KR" + +dim prj_code : prj_code = Request("prj_code") +dim prj_name : prj_name = unescape(Request("prj_name")) +%> + \ No newline at end of file diff --git a/inspection/ins_confirm.asp b/inspection/ins_confirm.asp new file mode 100644 index 0000000..b6c7f6b --- /dev/null +++ b/inspection/ins_confirm.asp @@ -0,0 +1,554 @@ + + +<% +Dim prj_code : prj_code = Request("prj_code") +Dim prj_name : prj_name = Request("prj_name") +%> + +
+ +
+

°ËÁõ ±Ù¹«È®ÀÎ

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "nk" %> + +
+
+ + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® + ÇÁ·ÎÁ§Æ® ¼±Åà +
´Ü°¡ ¼³Á¤ ¿ø Confrim ó¸®
+ + + + + + + + + + + + + + + + <% + dim no : no = 0 + query = "" + query = query&" select isnull(cast(BB.Id as varchar),'') as ID, isnull(cast(CC.Id as varchar),'') as pay_id, AA.*,isnull(BB.job_add_time_memo,'') as job_add_time_memo, isnull(BB.job_confirm_yn,'N') as job_confirm_yn, "&VbCrlf + query = query&" isnull(CC.s_pay_unit,'0') as s_pay_unit, isnull(CC.s_wan,'0') as s_wan, isnull(CC.s_sum, '0') as s_sum, isnull(CC.insert_user,'') as insert_user, "&VbCrlf + query = query&" isnull(CC.attribute01,'') as attribute01, isnull(CC.attribute05,'') as attribute05, CC.chk1, CC.chk2,"&VbCrlf + query = query&" case when DD.d_order_cnt = '77' then '°áÀç ¿Ï·á' when DD.d_order_cnt is null then '' else '°áÀç Áß' end as d_order_cnt from "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" select p_sn, ins_user, ins_birth, ins_date, sum(TOK) as TOK, sum(ERROR) as ERROR, sum(NOTEL) as NOTEL from "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" select left(pvt.p_sn,11) as p_sn, "&VbCrlf + query = query&" (select m_name from project2.dbo.man where id = inspection_user) as ins_user, "&VbCrlf + query = query&" (select left(m_jumin,6) from project2.dbo.man where id = inspection_user) as ins_birth, "&VbCrlf + query = query&" pvt.ins_date, TOK, ERROR, NOTEL from "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" select * from "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" select p_sn, inspection_user, convert(varchar, inspection_date, 23) as ins_date, pass_stat from T_INSPECTION_RES where pass_stat in ('TOK', 'ERROR') "&VbCrlf + query = query&" union all "&VbCrlf + query = query&" select p_sn, inspection_user, convert(varchar, inspection_date, 23) as ins_date, pass_stat from T_INSPECTION_RES_log where pass_stat in ('NOTEL') "&VbCrlf + query = query&" ) u "&VbCrlf + query = query&" ) a "&VbCrlf + query = query&" pivot "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" count(pass_stat) for pass_stat in (TOK, ERROR, NOTEL) "&VbCrlf + query = query&" )as pvt "&VbCrlf + query = query&" where len(pvt.inspection_user) <> 8 "&VbCrlf + query = query&" ) as PP "&VbCrlf + query = query&" group by p_sn, ins_user, ins_birth, ins_date "&VbCrlf + query = query&" ) as AA "&VbCrlf + query = query&" left join "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" select id, p_child_sn, neakeun_name, left(neakeun_jumin,6) as neakeun_jumin, date, job_add_time_memo, job_confirm_yn, workload from project2.dbo.neakeun_work "&VbCrlf + query = query&" where p_sebu='°ËÁõ' and ISNULL(workload, '') = '' "&VbCrlf + query = query&" ) BB on AA.ins_user=BB.neakeun_name and AA.ins_birth=BB.neakeun_jumin and left(AA.p_sn,11)=BB.p_child_sn and AA.ins_date=BB.date "&VbCrlf + query = query&" left join "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" select id, p_sn, m_name, left(m_jumin,6) as m_jumin, s_pay_unit, s_wan, s_sum, insert_user, attribute01, attribute05, chk1, chk2 from project2.dbo.T_NEAKEUN_PAY "&VbCrlf + query = query&" where s_gubun='°ËÁõ' and ISNULL(attribute02, '') = '' "&VbCrlf + query = query&" ) CC on AA.ins_user=CC.m_name and AA.ins_birth=CC.m_jumin and left(AA.p_sn,11)=CC.p_sn and BB.id=CC.attribute01 "&VbCrlf + query = query&" left join "&VbCrlf + query = query&" ( "&VbCrlf + query = query&" select d_no, d_order_cnt from project2.dbo.Document "&VbCrlf + query = query&" where d_delok='N' "&VbCrlf + query = query&" ) DD on CC.attribute05=DD.d_no "&VbCrlf + query = query&" where AA.p_sn = '" & prj_code & "' "&VbCrlf + query = query&" order by AA.p_sn, AA.ins_user, AA.ins_date "&VbCrlf + 'Response.Write query + Rs.open query, adoconn, adopenstatic, adlockreadonly + Dim input_readonly + while not rs.eof + If rs("job_confirm_yn") = "Y" Then + input_readonly = "readonly='reaonldy'" + else + input_readonly = "" + End If + no = no + 1 + %> + + + + + + + + + + + + + + + <% + rs.movenext + wend + + rs.Close + %> +
¼ø¹øÇÁ·ÎÁ§Æ® ÄÚµåÆÝó»ý³â¿ùÀϱٹ«ÀÏÀÚ¿Ï·á´Ü°¡ÇÕ°èºñ°íÈ®ÀÎ
<%=no %><%=rs("p_sn") %><%=rs("ins_user") %>" />" /><%=rs("ins_birth") %><%=rs("ins_date") %><%=rs("TOK") %> checked="checked" <%End If %>/><%=rs("ERROR") %> checked="checked" <%End If %>/><%=rs("NOTEL") %>" class="p_unit" tabindex="<%=no %>" <%=input_readonly %>/>¿ø<%=FormatNumber(rs("s_sum"),0) %>¿ø" class="p_etc" tabindex="1000+<%=no %>" <%=input_readonly %> style="width:100%;"/> + <%If rs("job_confirm_yn") = "N" Then%> + + <%Else %> + <%If rs("attribute05") = "" Then %> + + <%Else %> + <%=rs("d_order_cnt") %> + <%End If %> + <%End If %> +
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/interviewer_cati_check.asp b/inspection/interviewer_cati_check.asp new file mode 100644 index 0000000..b618412 --- /dev/null +++ b/inspection/interviewer_cati_check.asp @@ -0,0 +1,684 @@ + + + +<% + Dim qc_ckd : qc_ckd="1" '-- ¸®½ºÆ®¼±Åÿ©ºÎ üũ (¼±Åð¡´É(0) / ¼±ÅúҰ¡(1)) + Dim list_ckd : list_ckd="1" '-- ¸®½ºÆ®°¡ ÀÖÀ¸¸é(0) / ¾øÀ¸¸é(1)) + + dim moneyType + day_time = 8 ' <- day_time ¹Ì¸¸ ±Ù¹« ½Ã »¡°­»öÀ¸·Î Ç¥½Ã +%> + +
+ +
+

¸éÁ¢¿ø È®ÀÎ(CATI)

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "my" %> + +
+ > + > + > + <% + ' ÃâÅð±Ù ½Ã°£ ±â·Ï #Å×ÀÌºí¿¡ ±â·Ï + sql = "" + sql = sql & " CREATE TABLE #work_log_cati ( "&VbCrlf + sql = sql & " m_name varchar(20) not null, "&VbCrlf + sql = sql & " m_jumin varchar(20) not null, "&VbCrlf + sql = sql & " start_time varchar(8) not null, "&VbCrlf + sql = sql & " end_time varchar(8) not null, "&VbCrlf + sql = sql & " time_gap varchar(10) not null "&VbCrlf + sql = sql & " ) "&VbCrlf + sql = sql & " INSERT INTO #work_log_cati "&VbCrlf + sql = sql & " SELECT ST.myun_name, LEFT(ST.myun_jumin, 6) as myun_jumin, ST.start_time, ISNULL(ED.end_time, '') as end_time, "&VbCrlf + sql = sql & " case when ISNULL(ED.end_time, '') <> '' then CONVERT(varchar(5), CONVERT(numeric(4,2), ROUND(datediff(MI, ST.start_time, ED.end_time) / 60.0, 2))) else '' end as time_gap "&VbCrlf + sql = sql & " FROM "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " SELECT myun_name, myun_jumin, min(login_time) as start_time "&VbCrlf + sql = sql & " FROM new_cati.dbo.login WITH(NOLOCK) "&VbCrlf + sql = sql & " WHERE login_date = '" & request("date") & "' "&VbCrlf + sql = sql & " GROUP BY myun_name, myun_jumin "&VbCrlf + sql = sql & " ) ST LEFT OUTER JOIN "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " SELECT log_user_name, log_user_jumin, max(log_en_time) as end_time "&VbCrlf + sql = sql & " FROM new_cati.dbo.Logfile WITH(NOLOCK) "&VbCrlf + sql = sql & " WHERE log_date = '" & request("date") & "' "&VbCrlf + sql = sql & " GROUP BY log_user_name, log_user_jumin "&VbCrlf + sql = sql & " ) ED ON ST.myun_name = ED.log_user_name AND ST.myun_jumin = ED.log_user_jumin "&VbCrlf + sql = sql & " WHERE myun_name NOT IN ('±èÀÏÁß', 'Cati_test') "&VbCrlf + 'response.Write sql + 'response.Write "

" + adoConn.execute(sql) + + 'response.Write "job_code : " & Session("job_code") & "
" + '±âÁ¸¿¡ ÀúÀåµÇ¾î ÀÖ´Â µ¥ÀÌÅÍ °¡Á®¿À±â. + '¾÷¹« Á¤º¸ °¡Á®¿À±â. + + sql = " SELECT T.prj_code, T.s_client_no, T.s_client_name, T.s_client_jumin, s_date, T.no_cnt, "&VbCrlf + sql = sql & " T.tok_cnt , T.error_cnt, tmp.confirm_yn, tmp.lunch, tmp.dinner "&VbCrlf + sql = sql & " , add_count, cast(add_count_memo as varchar) as add_count_memo, add_money, add_money_memo, isnull(qc_ok,'0') as qc_ok, tmp.id, tmp.s_pay_unit, isnull(tmp.money_type,'ºÎ¼ö') as money_type , "&VbCrlf + sql = sql & " CASE "&VbCrlf + sql = sql & " WHEN d.d_order_cnt = '99' THEN '°áÀç ¹Ý·Á' "&VbCrlf + sql = sql & " WHEN d.d_order_cnt = '77' THEN '°áÀç ¿Ï·á' "&VbCrlf + sql = sql & " WHEN d.d_order_cnt IS NULL THEN '' "&VbCrlf + sql = sql & " ELSE '°áÀçÁß' "&VbCrlf + sql = sql & " END AS d_order_cnt, "&VbCrlf + sql = sql & " wlc.start_time, wlc.end_time, isnull(wlc.time_gap, 0) as time_gap, isnull(nwc.nw_cnt, 0) as nw_cnt "&VbCrlf + sql = sql & " FROM "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " SELECT prj_code, prj_name, s_client_jumin, s_client_no, s_client_name, s_date, "&VbCrlf + sql = sql & " SUM(no_cnt) as no_cnt, SUM(tok_cnt) as tok_cnt, SUM(error_cnt) as error_cnt, intranet_pay, qc_ok "&VbCrlf + sql = sql & " FROM ( "&VbCrlf + sql = sql & " SELECT s.prj_code, P.prj_name, s_client_jumin, s_client as s_client_no, s_client_name, s_date, "&VbCrlf + sql = sql & " case when c.tel_result IS null then 1 else 0 end as no_cnt, "&VbCrlf + sql = sql & " case when c.tel_result != 2 then 1 else 0 end as tok_cnt, "&VbCrlf + sql = sql & " case when c.tel_result = 2 then 1 else 0 end as error_cnt, c.intranet_pay, C.qc_ok FROM "&VbCrlf + sql = sql & " new_cati.dbo.Sheet1 s "&VbCrlf + sql = sql & " Left Outer Join "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " select CONVERT(varchar(10), tel_date, 120) as s_tel_date, "&VbCrlf + sql = sql & " prj_code,tel_cnt,tel_client_no, tel_result, tel_del_yn, intranet_pay, qc_ok "&VbCrlf + sql = sql & " from [new_cati].[dbo].[T_INSPECTION_CATI] with(nolock) "&VbCrlf + sql = sql & " where prj_code='" & request("prj_code") & "' "&VbCrlf + sql = sql & " AND tel_result is not null "&VbCrlf + sql = sql & " AND tel_del_yn = 'N' "&VbCrlf + sql = sql & " group by prj_code,tel_cnt,tel_client_no, tel_result, tel_del_yn, intranet_pay, CONVERT(varchar(10), tel_date, 120), qc_ok "&VbCrlf + sql = sql & " ) c "&VbCrlf + sql = sql & " ON s.prj_code = c.prj_code "&VbCrlf + sql = sql & " AND s.s_tcnt = c.tel_cnt "&VbCrlf + sql = sql & " AND s.s_client = c.tel_client_no "&VbCrlf + sql = sql & " AND c.tel_result is not null "&VbCrlf + sql = sql & " AND c.tel_del_yn = 'N' "&VbCrlf + sql = sql & " LEFT OUTER JOIN new_cati.dbo.project P ON S.prj_code = P.prj_code "&VbCrlf + sql = sql & " WHERE s.prj_code = '" & request("prj_code") & "' "&VbCrlf + sql = sql & " AND s.s_client_name not in ('Cati_Test', '±èÀÏÁß') "&VbCrlf + sql = sql & " AND s_tel_date = '" & request("date") & "' "&VbCrlf + sql = sql & " ) T "&VbCrlf + sql = sql & " GROUP BY prj_code, prj_name, s_client_jumin, s_client_no, s_client_name, s_date, intranet_pay, qc_ok "&VbCrlf + sql = sql & " ) T left outer join T_MYUN_PAY TMP "&VbCrlf + sql = sql & " ON T.prj_code = TMP.prj_code "&VbCrlf + sql = sql & " and T.s_client_name = TMP.m_name "&VbCrlf + sql = sql & " and T.s_client_jumin = TMP.m_jumin "&VbCrlf + sql = sql & " and T.s_date = tmp.work_dt "&VbCrlf + sql = sql & " left outer join Document d on tmp.attribute05 = d.d_no AND d_delok = 'N' "&VbCrlf + sql = sql & " left outer join ¹®¼­³»¿ë m on tmp.attribute05 = m.¹®¼­¹øÈ£ AND m.del_yes_no = 'no' "&VbCrlf + sql = sql & " left outer join #work_log_cati wlc on T.s_client_name = wlc.m_name AND LEFT(T.s_client_jumin, 6) = wlc.m_jumin "&VbCrlf + sql = sql & " left outer join ( "&VbCrlf + sql = sql & " SELECT neakeun_name, LEFT(neakeun_jumin, 6) as neakeun_jumin, date, COUNT(*) as nw_cnt "&VbCrlf + sql = sql & " FROM neakeun_work "&VbCrlf + sql = sql & " GROUP BY neakeun_name, LEFT(neakeun_jumin, 6), date "&VbCrlf + sql = sql & " ) nwc on T.s_client_name = nwc.neakeun_name AND LEFT(T.s_client_jumin, 6) = nwc.neakeun_jumin AND T.s_date = nwc.date "&VbCrlf + sql = sql & " ORDER BY qc_ok desc, s_pay_unit desc, cast(s_client_no as int) "&VbCrlf + AdoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + + + + + + + + <% + dim tmp_est_money, tmp_s_sum + tmp_est_money = 0 + tmp_s_sum = 0 + + query = " select dc1.p_child_sn, sebu, est_danga, dc2.est_money, isnull(tmp.s_sum, 0) as s_sum "&VbCrlf + query = query & " FROM direct_cost dc1 left outer join ( "&VbCrlf + query = query & " select p_child_sn, sum(cast(est_money as int)) as est_money "&VbCrlf + query = query & " FROM direct_cost "&VbCrlf + query = query & " where p_child_sn = '"& request("intranet_project") &"' "&VbCrlf + query = query & " and del_yes_no = 'no' "&VbCrlf + query = query & " and sebu like '¸éÁ¢¿ø¼ö´ç%' "&VbCrlf + query = query & " and hangmok = '48' "&VbCrlf + query = query & " group by p_child_sn "&VbCrlf + query = query & " ) dc2 on dc1.p_child_sn = dc2.p_child_sn "&VbCrlf + query = query & " left outer join ( "&VbCrlf + query = query & " select p_sn, sum(s_sum) as s_sum "&VbCrlf + query = query & " from T_MYUN_PAY "&VbCrlf + query = query & " where p_sn = '"& request("intranet_project") &"' "&VbCrlf + query = query & " AND confirm_yn = 'Y' "&VbCrlf + query = query & " group by p_sn "&VbCrlf + query = query & " ) tmp on dc1.p_child_sn = tmp.p_sn "&VbCrlf + query = query & " where dc1.p_child_sn = '"& request("intranet_project") &"' "&VbCrlf + query = query & " and del_yes_no = 'no' "&VbCrlf + query = query & " and sebu like '¸éÁ¢¿ø¼ö´ç%' "&VbCrlf + query = query & " and hangmok = '48' "&VbCrlf + 'response.Write query + rsp.Open query, adoConn, 1 + + if rsp.recordCount > 0 then + tmp_est_money = cdbl(rsp("est_money")) + tmp_s_sum = cdbl(rsp("s_sum")) + end if + + if adors.recordcount > 0 then %> + + + + + + + + + <% End if %> + <% + + if adors.recordcount > 0 then + moneyType = "ºÎ¼ö" + if request("searchType") = "moneyTypeChange" then + moneyType = request("money_type") + elseif adors("money_type") = "ÀÏ´ç" then + moneyType = "ÀÏ´ç" + elseif adors("money_type") = "ÀÏ´ç" then + moneyType = "ºÎ¼ö" + end if + end if + %> + <% if adors.recordcount > 0 then %> + + + + + + + + + + + + + + <% end if %> + <% if request("date") <> "" then %> + + + +
ÇÁ·ÎÁ§Æ®¸í + + + ³¯Â¥¼±Åà + <% + query = " select distinct s_date " + query = query & " FROM new_cati.dbo.sheet1 " + query = query & " where prj_code = '"& request("prj_code") &"' " + query = query & " order by s_date " + 'response.Write query + rsp.Open query, adoConn, 1 + %> + +
ÀÎÆ®¶ó³Ý
ÇÁ·ÎÁ§Æ® ¹øÈ£
<%=request("intranet_project") %>¸éÁ¢¿ø
¿¹»óÁ÷Á¢ºñ ÃÑ ¼ö´ç
<%=FormatNumber(tmp_est_money,0) %> ¿ø´©Àû
Confirm ±Ý¾×
<%=FormatNumber(tmp_s_sum,0) %> ¿ø
ÀÏ´ç ¶Ç´Â ºÎ¼ö ¼±Åà + checked="checked" <% end if %>/>ºÎ¼ö + checked="checked" <% end if %>/>ÀÏ´ç + ºÎ¼ö´Ü°¡ readonly <% end if %> value="<%=adors("s_pay_unit") %>" />ÀÏ´ç±Ý¾× readonly <% end if %> value="<%=adors("s_pay_unit") %>" />¿¹»óÁ÷Á¢ºñ + +
ÇÏ´Ü ¸®½ºÆ® Áß ¹è°æ»ö»óÀÌ [¡¡¡¡] ÀÎ ¸®½ºÆ®´Â ³»±ÙÁ÷ ¾÷¹«ÀÏÁö°¡ ÀÖ´Â ¸éÁ¢¿ø ÀÔ´Ï´Ù.
+ + + + + + + + + + + + + + + + + <% + Dim pay_unit_blank_cnt + Dim total_tok_count + pay_unit_blank_cnt = 0 + total_tok_count = 0 + + for i=1 to adors.recordcount + list_ckd="0" + query = " select top 1 tmp1.money_type, tmp1.prj_code, tmp1.s_pay_unit, tmp1.s_sum, tmp2.prj_code as lunch_prj_code, tmp2.prj_name as lunch_prj_name, tmp2.lunch, "&VbCrlf + query = query & " tmp3.prj_code as dinner_prj_code, tmp3.prj_name as dinner_prj_name, tmp3.dinner, tmp4.s_sum as allSum "&VbCrlf + query = query & " from T_MYUN_PAY tmp1 left outer join ( "&VbCrlf + query = query & " select top 1 tmp.prj_code, p.prj_name, lunch, work_dt "&VbCrlf + query = query & " from T_MYUN_PAY tmp left outer join new_cati.dbo.project p on tmp.prj_code = p.prj_code "&VbCrlf + query = query & " where work_dt = '" & request("date") & "' "&VbCrlf + query = query & " and m_name = '"& adors("s_client_name") & "' "&VbCrlf + query = query & " and m_jumin = '" & adors("s_client_jumin") &"' "&VbCrlf + query = query & " order by lunch desc "&VbCrlf + query = query & " ) tmp2 on tmp1.work_dt = tmp2.work_dt "&VbCrlf + query = query & " left outer join ( "&VbCrlf + query = query & " select top 1 tmp.prj_code, p.prj_name, dinner, work_dt "&VbCrlf + query = query & " from T_MYUN_PAY tmp left outer join new_cati.dbo.project p on tmp.prj_code = p.prj_code "&VbCrlf + query = query & " where work_dt = '" & request("date") & "' "&VbCrlf + query = query & " and m_name = '"& adors("s_client_name") & "' "&VbCrlf + query = query & " and m_jumin = '" & adors("s_client_jumin") &"' "&VbCrlf + query = query & " order by dinner desc "&VbCrlf + query = query & " ) tmp3 on tmp1.work_dt = tmp3.work_dt "&VbCrlf + query = query & " left outer join ( "&VbCrlf + query = query & " select SUM(s_sum) as s_sum, work_dt "&VbCrlf + query = query & " from T_MYUN_PAY tmp left outer join new_cati.dbo.project p on tmp.prj_code = p.prj_code "&VbCrlf + query = query & " where work_dt = '" & request("date") & "' "&VbCrlf + query = query & " and m_name = '"& adors("s_client_name") & "' "&VbCrlf + query = query & " and m_jumin = '" & adors("s_client_jumin") &"' and confirm_yn = 'y' "&VbCrlf + query = query & " group by work_dt "&VbCrlf + query = query & " ) tmp4 on tmp1.work_dt = tmp4.work_dt "&VbCrlf + query = query & " where tmp1.work_dt = '" & request("date") & "' "&VbCrlf + query = query & " and tmp1.confirm_yn = 'y' "&VbCrlf + query = query & " and tmp1.m_name = '"& adors("s_client_name") & "' "&VbCrlf + query = query & " and tmp1.m_jumin = '" & adors("s_client_jumin") &"' "&VbCrlf + query = query & " and tmp1.prj_code <> '"& adors("prj_code") &"' "&VbCrlf + query = query & " order by money_type desc, s_pay_unit desc "&VbCrlf + 'response.Write query & "
" + rsp.Open query, adoConn, 1 + %> + + + + + + <% + dim tmpPayYn + tmpPayYn = false + if rsp.recordcount > 0 then + if rsp("prj_code") <> request("prj_code") then + if rsp("money_type") = "ºÎ¼ö" and moneyType = "ÀÏ´ç" then + tmpPayYn = true + elseif rsp("money_type") = "ÀÏ´ç" then + tmpPayYn = true + end if + end if + end if + + if tmpPayYn then %> + + <% else %> + <% + total_tok_count = total_tok_count + cint(adors("tok_cnt")) + %> + + + + + + + + + + + + <% end if %> + + + + + + <% + rsp.close + adors.movenext + next + AdoRs.close + %> + + + +
¼ø¹øÀ̸§½ÃÀÛ / Á¾·á
* <%=day_time %>½Ã°£ ¹Ì¸¸ ¾÷¹« ½Ã
»¡°­»öÀ¸·Î Ç¥½Ã
°ËÁõ¿Ï·á
ºÎ¼ö
Ãß°¡¼ö´ç1
Ãß°¡¼ö´ç2
Ãß°¡/»èÁ¦ºÎ¼ö»çÀ¯Ãß°¡/»èÁ¦¼ö´ç»çÀ¯°áÀç»óÅÂConfirm
+ +
<%=i %> + <%=adors("s_client_name") %> + " > + " > + " > + " > + " > + + + <%If adors("time_gap")="" Then '-- ÃâÅð±Ù ½Ã°£Á¤º¸ ¾øÀ½%> + color="red" <%else %>color="black" <% end if %>><%= LEFT(adors("start_time"), 5)%> / <%= LEFT(adors("end_time"), 5)%> (<%=adors("time_gap") %>)
(ÃâÅð±ÙÁ¤º¸ ºÒÀÏÄ¡)
+ <%Else %> + color="red" <%else %>color="black" <% end if %>><%= LEFT(adors("start_time"), 5)%> / <%= LEFT(adors("end_time"), 5)%> (<%=adors("time_gap") %>) + <%End if%> +
<%=adors("tok_cnt") %>" > + [<%=rsp("prj_code") %>]¿¡ <%=formatNumber(rsp("s_sum"),0) %>¿øÀÇ + + <% if rsp("money_type") = "ÀÏ´ç" then %> + ÀÏ´çÀÌ + <% else %> + ºÎ¼ö´Ü°¡°¡ + <% end if %> + + ÀԷµǾî ÀÖ½À´Ï´Ù.(ÃÑ±Ý¾× : <%=formatNumber(rsp("allSum"),0)%>¿ø) + + + + 0 then + if rsp("lunch") = "Y" and adors("prj_code") <> rsp("lunch_prj_code") then %> + onclick="alert_eat('<%=rsp("lunch_prj_code") %>','<%=rsp("lunch_prj_name") %>','lunch')" + <% end if + end if + %>> + + + disabled="disabled" style="display:none" + <% elseIf adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + disabled="disabled" + <% elseIf rsp.recordcount >0 then %> + <% if rsp("lunch") = "Y" and rsp("lunch_prj_code") <> request("prj_code") then %> + disabled="disabled" style="display:none" + <% elseif rsp("lunch") = "Y" and adors("prj_code") <> rsp("lunch_prj_code") then %> + disabled="disabled" style="display:none" + <% Else %> + <% if (adors("lunch") = "Y") or (Cint(adors("time_gap")) >= 7) then %> + checked + <% end if '´çÀÏ ¾÷¹« ½Ã°£¿¡ µû¸¥ Ãß°¡ ¼ö´ç Áö±Þ %> + <% end if %> + <% else %> + <% if (adors("lunch") = "Y") or (Cint(adors("time_gap")) >= 7) then %> checked <% end if '´çÀÏ ¾÷¹« ½Ã°£¿¡ µû¸¥ Ãß°¡ ¼ö´ç Áö±Þ %> + <% end if %> + /> + 0 then + if rsp("dinner") = "Y" and adors("prj_code") <> rsp("dinner_prj_code") then %> + onclick="alert_eat('<%=rsp("dinner_prj_code") %>','<%=rsp("dinner_prj_name") %>','dinner')" + <% end if + end if %>> + + + disabled="disabled" style="display:none" + <% Elseif adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + disabled="disabled" + <% Elseif rsp.recordcount >0 then %> + <% If rsp("dinner") = "Y" and rsp("dinner_prj_code") <> request("prj_code") then %> + disabled="disabled" style="display:none" + <% Elseif rsp("dinner") = "Y" and adors("prj_code") <> rsp("dinner_prj_code") then %> + disabled="disabled" style="display:none" + <% Else %> + <% if (adors("dinner") = "Y") or (Cint(adors("time_gap")) >=10 ) then %> + checked + <% end if '´çÀÏ ¾÷¹« ½Ã°£¿¡ µû¸¥ Ãß°¡ ¼ö´ç Áö±Þ %> + <% End if %> + <% Else %> + <% if (adors("dinner") = "Y") or (Cint(adors("time_gap")) >=10 ) then %> checked <% end if '´çÀÏ ¾÷¹« ½Ã°£¿¡ µû¸¥ Ãß°¡ ¼ö´ç Áö±Þ %> + <% end if %> /> + " + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + />" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + />" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + />" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + />" readonly/> + + <% if adors("qc_ok") = "1" then %> + checked <% end if %> + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + disabled + <% end if %> /> + <% + '-----------------------------QC °ËÁõ ¿Ï·á ¿©ºÎ ¹× ¸®½ºÆ®¼±Åð¡´É¿©ºÎ üũ(20170813)------------------------------------------- + if Not (adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß") then + qc_ckd="0" + End If + '------------------------------------------------------------------------------------------------------------------------- + %> + <% else %> + °ËÁõ¹Ì¿Ï·á + <% end if %> + +
¸ðµç ¸éÁ¢¿øÀÇ TOKºÎ¼öÀÇ ÇÕÀº <%=total_tok_count %> ÀÔ´Ï´Ù.
+ ***°áÀç ÁøÇàÁß ¶Ç´Â °áÀç ¿Ï·áµÈ ¹®¼­´Â ÄÁÆß ¼öÁ¤ÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù. Âü°íÇØ ÁÖ¼¼¿ä. +
+ <%if list_ckd="0" then '-- ¸®½ºÆ®°¡ Àִ°æ¿ì¸¸.. %> + <% + '#################################################################################### + '-- CATI ¿Ï·áµ¥ÀÌÅÍ Áߺ¹ üũ(20170824) ¡é¡é---------------------------------------------- + query = " select top 1 prj_code, s_tcnt " + query = query & " from [new_cati].[dbo].[sheet1] with(nolock) " + query = query & " where prj_code='"&request("prj_code")&"' " + query = query & " group by prj_code, s_tcnt " + query = query & " having count(s_tcnt)>1 " '-- Ä«¿îÆÃÀÌ 1º¸´Ù Å«°Å(Áߺ¹) + 'response.Write query + rsp.Open query, adoConn, 1 + if not rsp.eof then '-- Áߺ¹°Ç ÀÖÀ½ + rsp.close + response.write "¡Ø Áߺ¹µÈ ¿Ï·á°ÇÀÌ ÀÖ½À´Ï´Ù. ITÆÀ¿¡ ¹®ÀÇÇÏ¿© Áֽñ⠹ٶø´Ï´Ù" + response.write "" + response.end + end if + rsp.close + '-- CATI ¿Ï·áµ¥ÀÌÅÍ Áߺ¹ üũ(20170824) ¡è¡è---------------------------------------------- + '#################################################################################### + '-- °ËÁõ¿Ï·á µ¥ÀÌÅÍÁß Áߺ¹µ¥ÀÌÅÍ Ã¼Å©(20170813)-------------------- + query = " select top 1 " + query = query & " prj_code, tel_cnt, count(tel_cnt) as Áߺ¹Ä«¿îÆ® " + query = query & " from [new_cati].[dbo].[T_INSPECTION_CATI] with(nolock) " + query = query & " where prj_code='" & request("prj_code") & "' " + query = query & " and qc_ok='1' " '-- °ËÁõ¿Ï·á(1) + query = query & " and tel_result<>'2' " '-- ºÒ·®À» Á¦¿ÜÇÑ ³ª¸ÓÁö (¿Ï·á) + query = query & " and tel_del_yn='N' " '-- »ç¿ë(N) + query = query & " group by prj_code, tel_cnt " + query = query & " having count(tel_cnt)>1 " + 'response.Write query + rsp.Open query, adoConn, 1 + if rsp.eof then '-- Á¤»ó + %> + <%If qc_ckd="0" Then %> + + <%Else %> +


¡Ø °ËÁõÀÌ [¹Ì¿Ï·á]À̰ųª, [°áÁ¦Áß] ¶Ç´Â [°áÁ¦¿Ï·á] µÈ ¸®½ºÆ® ÀÔ´Ï´Ù


+ <%End If %> + <% + else ' °ËÁõ¿Ï·áµ¥ÀÌÅÍ¿¡ Áߺ¹ÀÖÀ½ + %>


¡Ø °ËÁõ¿Ï·áµÈ µ¥ÀÌÅÍ¿¡ Áߺ¹µÈ °ËÁõ¿Ï·á ³»¿ëÀÌ ÀÖ½À´Ï´Ù. ITÆÀ¿¡ ¹®ÀÇÇÏ¿© Áֽñ⠹ٶø´Ï´Ù


<% + end if + rsp.close + %> + <%end if%> + +
+
+ + + <% end if%> + + +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/interviewer_cati_check_ajax_date.asp b/inspection/interviewer_cati_check_ajax_date.asp new file mode 100644 index 0000000..99d3dfb --- /dev/null +++ b/inspection/interviewer_cati_check_ajax_date.asp @@ -0,0 +1,24 @@ + +<% + prj_code = request("prj_code") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write "" & "
" + + query = " select s_date " + query = query & " FROM new_cati.dbo.sheet1 " + query = query & " where prj_code = '"& prj_code &"' " + query = query & " group by s_date " + query = query & " order by s_date " + Rs.Open query, adoConn, 1 + + for i=1 to Rs.recordCount + response.write "" + Rs.movenext + next + Rs.close +%> \ No newline at end of file diff --git a/inspection/interviewer_cati_check_ajax_myun.asp b/inspection/interviewer_cati_check_ajax_myun.asp new file mode 100644 index 0000000..2d9247c --- /dev/null +++ b/inspection/interviewer_cati_check_ajax_myun.asp @@ -0,0 +1,25 @@ + +<% + intranet_project = request("intranet_project") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write "" & "
" + + query = " select sebu, est_danga " + query = query & " FROM direct_cost " + query = query & " where p_child_sn = '"& intranet_project &"' " + query = query & " and del_yes_no = 'no' " + query = query & " and sebu like '¸éÁ¢¿ø¼ö´ç%' " + query = query & " and hangmok = '48' " + + Rs.Open query, adoConn, 1 + for i=1 to Rs.recordCount + response.write "" + Rs.movenext + next + Rs.close +%> \ No newline at end of file diff --git a/inspection/interviewer_check.asp b/inspection/interviewer_check.asp new file mode 100644 index 0000000..041c6b6 --- /dev/null +++ b/inspection/interviewer_check.asp @@ -0,0 +1,599 @@ + + + +<% +p_child_sn = request("p_child_sn") +%> + +
+ +
+

¸éÁ¢¿ø È®ÀÎ(FF)

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "my" %> + +
+ + + + + + + +
ÇÁ·ÎÁ§Æ® + + +
+ <% + if p_child_sn <> "" then + query = " select dc1.p_child_sn, sebu, est_danga, dc2.est_money, isnull(tmp.s_sum, 0) as s_sum, "&VbCrlf + query = query & " isnull((select TOP 1 s_sum - add_money - (s_pay_unit * (s_wan + add_count)) from T_MYUN_PAY where prj_code = dc1.p_child_sn and s_ot = 'Y' and confirm_yn = 'Y' order by insert_dt desc),'0') as s_ot_pay_unit "&VbCrlf + query = query & " FROM direct_cost dc1 left outer join ( "&VbCrlf + query = query & " select p_child_sn, sum(cast(est_money as int)) as est_money "&VbCrlf + query = query & " FROM direct_cost "&VbCrlf + '--------------------------------------------------------------------------------------- + query = query & " where p_child_sn = "&VbCrlf + query = query & " (select intranet_project from t_project_fcs where p_child_sn='"& p_child_sn &"' ) "&VbCrlf + query = query & " " + query = query & " and del_yes_no = 'no' "&VbCrlf + query = query & " and (sebu like '¸éÁ¢¿ø¼ö´ç%' or sebu = '±³À°ºñ') "&VbCrlf + query = query & " and hangmok = '48' "&VbCrlf + query = query & " group by p_child_sn "&VbCrlf + query = query & " ) dc2 on dc1.p_child_sn = dc2.p_child_sn "&VbCrlf + query = query & " left outer join ( "&VbCrlf + query = query & " select p_sn, sum(s_sum) as s_sum "&VbCrlf + query = query & " from T_MYUN_PAY "&VbCrlf + query = query & " where prj_code = '"& p_child_sn &"' "&VbCrlf + query = query & " AND confirm_yn = 'Y' "&VbCrlf + query = query & " group by p_sn "&VbCrlf + query = query & " ) tmp on dc1.p_child_sn = tmp.p_sn "&VbCrlf + query = query & " where dc1.p_child_sn = "&VbCrlf + query = query & " (select intranet_project from t_project_fcs where p_child_sn='"& p_child_sn &"' ) "&VbCrlf + query = query & " and del_yes_no = 'no' "&VbCrlf + query = query & " and sebu like '¸éÁ¢¿ø¼ö´ç%' "&VbCrlf + query = query & " and hangmok = '48' "&VbCrlf + + 'response.Write query + Rs.Open query, adoConn, 1 + + if Rs.recordcount > 0 then %> + + + + + + + + + +
ÇÁ·ÎÁ§Æ® ¹øÈ£<%=p_child_sn %>ÃÑ ¿¹»óÁ÷Á¢ºñ<%=FormatNumber(Rs("est_money"),0) %> ¿ø´©Àû Confirm ±Ý¾×<%=FormatNumber(Rs("s_sum"),0) %> ¿ø
+ <% End if %> + + + + + + + + + + + + + + + <% + query = " SELECT TIR.s_type " + query = query & " from ( " + query = query & " select " + query = query & " X.p_method_cd, X.p_sn, X.p_child_sn, X.p_subject, X.p_field_complete, X.p_rsch_dept, " + query = query & " X.p_progress_status, X.p_sv_1, X.p_sv_2, X.p_sv_3, X.p_sv_4 " + query = query & " from " + query = query & " ( " + query = query & " select p_method_cd, p_sn, p_child_sn, p_subject, p_field_complete, p_rsch_dept, p_progress_status, p_sv_1, p_sv_2, p_sv_3, p_sv_4 " + query = query & " from T_PROJECT_METHOD union all " + query = query & " select a.p_method_cd, a.p_sn, b.p_child_sn, b.p_subject, a.p_field_complete, a.p_rsch_dept, a.p_progress_status, a.p_sv_1, a.p_sv_2, a.p_sv_3, a.p_sv_4 " + query = query & " from T_PROJECT_METHOD a inner join T_PROJECT_FCS b on a.p_sn = b.p_sn and a.p_method_cd = b.p_method_cd " + query = query & " ) X " + query = query & " group by " + query = query & " X.p_method_cd, X.p_sn, X.p_child_sn, X.p_subject, X.p_field_complete, X.p_rsch_dept, " + query = query & " X.p_progress_status, X.p_sv_1, X.p_sv_2, X.p_sv_3, X.p_sv_4 " + query = query & " ) TPM " + query = query & " LEFT OUTER JOIN RES RE " + query = query & " ON TPM.p_child_sn = RE.p_sn " + query = query & " LEFT OUTER JOIN T_INSPECTION_RES TIR " + query = query & " ON RE.p_sn = TIR.p_sn " + query = query & " AND RE.r_sn = TIR.r_sn " + query = query & " WHERE TIR.pass_stat <> 'ERROR' " + if Session("Depart_Code") <> "18" Then + query = query & " and (tpm.p_sv_1 = '" & session("User_Number") & "' or tpm.p_sv_2 = '" & session("User_Number") & "' or tpm.p_sv_3 = '" & session("User_Number") & "' or tpm.p_sv_4 = '" & session("User_Number") & "') " + end if + query = query & " AND TPM.p_child_sn = '" & p_child_sn & "' and TIR.s_area = '¼­¿ï' " ' ¼­¿ï¸¸ ¼ö´çÁ¤»ê + query = query & " GROUP BY TIR.s_type " + query = query & " ORDER BY s_type " + AdoRs.open query, adoconn, adopenstatic, adlockreadonly + + do while not AdoRs.EoF + query = " SELECT TIR.p_sn, " + query = query & " TIR.s_area, " + query = query & " AREA.num, " + query = query & " TIR.s_type, " + query = query & " isnull((select TOP 1 s_pay_unit FROM T_MYUN_PAY where prj_code = TIR.p_sn AND s_area = TIR.s_area AND s_type = TIR.s_type Order by insert_dt desc), '0') as s_pay_unit, " + query = query & " isnull((select TOP 1 est_money FROM T_MYUN_PAY where prj_code = TIR.p_sn AND s_area = TIR.s_area AND s_type = TIR.s_type Order by insert_dt desc), '0') as est_money " + query = query & " from ( " + query = query & " select " + query = query & " X.p_method_cd, X.p_sn, X.p_child_sn, X.p_subject, X.p_field_complete, X.p_rsch_dept, " + query = query & " X.p_progress_status, X.p_sv_1, X.p_sv_2, X.p_sv_3, X.p_sv_4 " + query = query & " from " + query = query & " ( " + query = query & " select p_method_cd, p_sn, p_child_sn, p_subject, p_field_complete, p_rsch_dept, p_progress_status, p_sv_1, p_sv_2, p_sv_3, p_sv_4 " + query = query & " from T_PROJECT_METHOD union all " + query = query & " select a.p_method_cd, a.p_sn, b.p_child_sn, b.p_subject, a.p_field_complete, a.p_rsch_dept, a.p_progress_status, a.p_sv_1, a.p_sv_2, a.p_sv_3, a.p_sv_4 " + query = query & " from T_PROJECT_METHOD a inner join T_PROJECT_FCS b on a.p_sn = b.p_sn and a.p_method_cd = b.p_method_cd " + query = query & " ) X " + query = query & " group by " + query = query & " X.p_method_cd, X.p_sn, X.p_child_sn, X.p_subject, X.p_field_complete, X.p_rsch_dept, " + query = query & " X.p_progress_status, X.p_sv_1, X.p_sv_2, X.p_sv_3, X.p_sv_4 " + query = query & " ) TPM " + query = query & " LEFT OUTER JOIN RES RE " + query = query & " ON TPM.p_child_sn = RE.p_sn " + query = query & " LEFT OUTER JOIN T_INSPECTION_RES TIR " + query = query & " ON RE.p_sn = TIR.p_sn " + query = query & " AND RE.r_sn = TIR.r_sn " + query = query & " LEFT OUTER JOIN T_MYUN_PAY TMP " + query = query & " ON TIR.p_sn = TMP.prj_code " + query = query & " AND TIR.s_area = TMP.s_area " + query = query & " AND TIR.s_type = TMP.s_type " + query = query & " AND convert(char(10),RE.r_date,126) = TMP.work_dt " + query = query & " AND TIR.m_name = TMP.m_name " + query = query & " AND TIR.m_no = (SELECT TOP 1 new_id FROM man where m_name = TMP.m_name AND left(m_jumin, 6) = LEFT(TMP.m_jumin,6) order by new_id) " + query = query & " LEFT OUTER JOIN ( " + query = query & " select 1 as num, '¼­¿ï' as s_area union all " + query = query & " select 2 as num, '´ëÀü' as s_area union all " + query = query & " select 3 as num, '´ë±¸' as s_area union all " + query = query & " select 4 as num, '±¤ÁÖ' as s_area union all " + query = query & " select 5 as num, 'ºÎ»ê' as s_area union all " + query = query & " select 6 as num, '°­¿ø' as s_area union all " + query = query & " select 7 as num, 'Á¦ÁÖ' as s_area " + query = query & " ) AREA " + query = query & " ON TIR.s_area = AREA.s_area " + query = query & " WHERE TIR.pass_stat <> 'ERROR' " + query = query & " and (tpm.p_sv_1 = '" & session("User_Number") & "' or tpm.p_sv_2 = '" & session("User_Number") & "' or tpm.p_sv_3 = '" & session("User_Number") & "' or tpm.p_sv_4 = '" & session("User_Number") & "') " + query = query & " AND TPM.p_child_sn = '" & p_child_sn & "' " + query = query & " AND TIR.s_type = '" & AdoRs("s_type") & "' " + query = query & " AND TIR.s_area = '¼­¿ï' " ' ¼­¿ï¸¸ ¼ö´ç Á¤»ê + query = query & " GROUP BY TIR.p_sn, TIR.s_area, TIR.s_type, AREA.num, TMP.est_money " + query = query & " ORDER BY s_type, AREA.num " + rsc.open query, adoconn, adopenstatic, adlockreadonly + %> + + <% if AdoRs("s_type") = "A" then %> + + <% end if %> + + <% For j=1 To 7 %> + <% if rsc.EOF = false then + if j = rsc("num") Then %> + + <% rsc.MoveNext + Else + %><% + End if + Else + %><% + End if + Next%> + + <% + rsc.close + AdoRs.MoveNext + loop + Rs.close + AdoRs.close + %> +
Áö¿ª / ¼³¹®ÁöTYPE ´Ü°¡ ¹× ¿¹»óÁ÷Á¢ºñ ¼³Á¤
±³À°ºñ´Ü°¡
" style="width:60%;text-align:right;" />¿ø
¼­¿ï´ëÀü´ë±¸±¤Áֺλ갭¿øÁ¦ÁÖ
Àû¿ë´Ü°¡
/
¿¹»óÁ÷Á¢ºñ
<%=AdoRs("s_type")%>_<%=AdoRs("s_type")%>" id="pay_unit_<%=rsc("num") %>_<%=AdoRs("s_type")%>" value="<%=rsc("s_pay_unit") %>" style="width:70%;text-align:right;"/>¿ø
+ +
  
+ + + + + + + + + + + + + + + + <% + sql = "" & vbCrLf + sql = sql & " SELECT id, m_no, m_name, prj_code, p_sn, p_subject, s_area, s_type, num, s_ot, s_ot_yn, " & vbCrLf + sql = sql & " sum(total_cnt) as total_cnt, sum(tok) as tok, sum(no_tok) as no_tok, add_count, add_count_memo, add_money, add_money_memo, confirm_yn, d_order_cnt " & vbCrLf + sql = sql & " FROM ( " & vbCrLf + sql = sql & " SELECT isnull(T.id, 0) as id, " & vbCrLf + sql = sql & " RE.m_no, RE.m_name, RE.p_sn as prj_code, " & vbCrLf + sql = sql & " ( " & vbCrLf + sql = sql & " (select intranet_project from t_project_fcs where p_child_sn = RE.p_sn) " & vbCrLf + sql = sql & " ) as p_sn, " & vbCrLf + sql = sql & " TPM.p_subject, RE.s_area, RE.s_type, " & vbCrLf + sql = sql & " T.num, T.s_ot, T.s_ot_yn, RE.total_cnt, sum(convert(int, isnull(T.TOK,0))) as tok, sum(convert(int, isnull(T.NO_TOK,0))) as no_tok, r_date as final_date, " & vbCrLf + sql = sql & " T.add_count, T.add_count_memo, T.add_money, T.add_money_memo, T.confirm_yn, T.d_order_cnt " & vbCrLf + sql = sql & " from ( " & vbCrLf + sql = sql & " select " & vbCrLf + sql = sql & " X.p_method_cd, X.p_sn, X.p_child_sn, X.p_subject, X.p_field_complete, X.p_rsch_dept, " & vbCrLf + sql = sql & " X.p_progress_status, X.p_sv_1, X.p_sv_2, X.p_sv_3, X.p_sv_4 " & vbCrLf + sql = sql & " from " & vbCrLf + sql = sql & " ( " & vbCrLf + sql = sql & " select p_method_cd, p_sn, p_child_sn, p_subject, p_field_complete, p_rsch_dept, p_progress_status, p_sv_1, p_sv_2, p_sv_3, p_sv_4 " & vbCrLf + sql = sql & " from T_PROJECT_METHOD union all " & vbCrLf + sql = sql & " select a.p_method_cd, a.p_sn, b.p_child_sn, b.p_subject, a.p_field_complete, a.p_rsch_dept, a.p_progress_status, a.p_sv_1, a.p_sv_2, a.p_sv_3, a.p_sv_4 " & vbCrLf + sql = sql & " from T_PROJECT_METHOD a inner join T_PROJECT_FCS b on a.p_sn = b.p_sn and a.p_method_cd = b.p_method_cd and a.p_child_sn=b.intranet_project " + sql = sql & " ) X " & vbCrLf + sql = sql & " group by " & vbCrLf + sql = sql & " X.p_method_cd, X.p_sn, X.p_child_sn, X.p_subject, X.p_field_complete, X.p_rsch_dept, " & vbCrLf + sql = sql & " X.p_progress_status, X.p_sv_1, X.p_sv_2, X.p_sv_3, X.p_sv_4 " & vbCrLf + sql = sql & " ) TPM LEFT OUTER JOIN " & vbCrLf + sql = sql & " ( " & vbCrLf + sql = sql & " SELECT p_sn, s_area, s_type, m_name, m_no, r_date, COUNT(*) as total_cnt FROM RES " & vbCrLf + sql = sql & " WHERE r_error is null and m_error is null and s_error is null and q_error is null and delgubun='N' " & vbCrLf + sql = sql & " GROUP BY p_sn, s_area, s_type, m_name, m_no, r_date " & vbCrLf + sql = sql & " ) RE ON TPM.p_child_sn = RE.p_sn LEFT OUTER JOIN " & vbCrLf + sql = sql & " ( " & vbCrLf + sql = sql & " SELECT isnull(TMP.id,0) as id, " & vbCrLf + sql = sql & " TIR.m_no, " & vbCrLf + sql = sql & " TIR.m_name, " & vbCrLf + sql = sql & " TIR.p_sn, " & vbCrLf + sql = sql & " TIR.s_area, " & vbCrLf + sql = sql & " AREA.num, " & vbCrLf + sql = sql & " TIR.s_type, " & vbCrLf + sql = sql & " isnull(TMP.s_ot,'N') as s_ot, " & vbCrLf + sql = sql & " isnull((SELECT TOP 1 s_ot FROM T_MYUN_PAY WHERE prj_code = TIR.p_sn AND s_area = TIR.s_area AND s_type = TIR.s_type " & vbCrLf + sql = sql & " and s_ot = 'Y' and confirm_yn = 'Y' and m_name = TIR.m_name and m_jumin = (select top 1 m_jumin from man where new_id = TIR.m_no) " & vbCrLf + sql = sql & " ),'N') as s_ot_yn, " & vbCrLf + sql = sql & " CASE WHEN TIR.pass_stat <> 'ERROR' THEN '1' ELSE '0' END as TOK, " & vbCrLf + sql = sql & " CASE WHEN isnull(qc_stat, '') <> '' THEN '1' ELSE '0' END as NO_TOK, " & vbCrLf + sql = sql & " convert(char(10),R.r_date,126) as final_date, " & vbCrLf + sql = sql & " TMP.add_count, " & vbCrLf + sql = sql & " TMP.add_count_memo, " & vbCrLf + sql = sql & " TMP.add_money, " & vbCrLf + sql = sql & " TMP.add_money_memo, " & vbCrLf + sql = sql & " TMP.confirm_yn, " & vbCrLf + sql = sql & " CASE WHEN D.d_order_cnt = '99' THEN '°áÀç ¹Ý·Á' " & vbCrLf + sql = sql & " WHEN D.d_order_cnt = '77' THEN '°áÀç ¿Ï·á' " & vbCrLf + sql = sql & " WHEN D.d_order_cnt IS NULL THEN '' " & vbCrLf + sql = sql & " ELSE '°áÀçÁß' " & vbCrLf + sql = sql & " END AS d_order_cnt " & vbCrLf + sql = sql & " FROM " & vbCrLf + sql = sql & " RES R " & vbCrLf + sql = sql & " LEFT OUTER JOIN T_INSPECTION_RES TIR " & vbCrLf + sql = sql & " ON R.r_sn = TIR.r_sn " & vbCrLf + sql = sql & " AND R.p_sn = TIR.p_sn " & vbCrLf + sql = sql & " LEFT OUTER JOIN T_MYUN_PAY TMP " & vbCrLf + sql = sql & " ON TIR.p_sn = TMP.prj_code " & vbCrLf + sql = sql & " AND TIR.s_area = TMP.s_area " & vbCrLf + sql = sql & " AND TIR.s_type = TMP.s_type " & vbCrLf + sql = sql & " AND TIR.m_name = TMP.m_name " & vbCrLf + sql = sql & " AND TIR.m_no = (SELECT TOP 1 new_id FROM man where m_name = TMP.m_name AND left(m_jumin, 6) = LEFT(TMP.m_jumin,6) order by new_id) " & vbCrLf + sql = sql & " LEFT OUTER JOIN ( " & vbCrLf + sql = sql & " select 1 as num, '¼­¿ï' as s_area union all " & vbCrLf + sql = sql & " select 2 as num, '´ëÀü' as s_area union all " & vbCrLf + sql = sql & " select 3 as num, '´ë±¸' as s_area union all " & vbCrLf + sql = sql & " select 4 as num, '±¤ÁÖ' as s_area union all " & vbCrLf + sql = sql & " select 5 as num, 'ºÎ»ê' as s_area union all " & vbCrLf + sql = sql & " select 6 as num, '°­¿ø' as s_area union all " & vbCrLf + sql = sql & " select 7 as num, 'Á¦ÁÖ' as s_area " & vbCrLf + sql = sql & " ) AREA " & vbCrLf + sql = sql & " ON TIR.s_area = AREA.s_area " & vbCrLf + sql = sql & " LEFT OUTER JOIN Document D " & vbCrLf + sql = sql & " ON TMP.attribute05 = D.d_no " & vbCrLf + sql = sql & " AND D.d_delok = 'N' " & vbCrLf + sql = sql & " Where R.Delgubun = 'N' " & vbCrLf + sql = sql & " ) T ON RE.p_sn = T.p_sn AND RE.s_area = T.s_area AND RE.s_type = T.s_type AND RE.r_date = T.final_date AND RE.m_no = T.m_no " & vbCrLf + sql = sql & " WHERE TPM.p_child_sn = '"& p_child_sn &"' and T.s_area = '¼­¿ï' " & vbCrLf '¼­¿ï¸¸ ¼ö´ç Á¤»ê + if not ((Session("teamplace") = 3 AND Session("Depart_Code") = "12") or (Session("Depart_Code") = "18")) then + sql = sql & " and (tpm.p_sv_1 = '" & session("User_Number") & "' or tpm.p_sv_2 = '" & session("User_Number") & "' or tpm.p_sv_3 = '" & session("User_Number") & "' or tpm.p_sv_4 = '" & session("User_Number") & "') " & vbCrLf + end if + sql = sql & " GROUP BY id, RE.m_no, RE.m_name, RE.p_sn, TPM.p_subject, RE.s_area, RE.s_type, T.num, T.s_ot, T.s_ot_yn, RE.total_cnt, RE.r_date, " & vbCrLf + sql = sql & " T.add_count, T.add_count_memo, T.add_money, T.add_money_memo, T.confirm_yn, T.d_order_cnt " & vbCrLf + sql = sql & " ) T " & vbCrLf + sql = sql & " group by id, m_no, m_name, prj_code, p_sn, p_subject, s_area, s_type, num, s_ot, s_ot_yn, add_count, add_count_memo, add_money, add_money_memo, confirm_yn, d_order_cnt " & vbCrLf + sql = sql & " order by m_name " & vbCrLf + AdoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% + + dim total_tok_count + total_tok_count = 0 + + for i=1 to adors.recordcount + %> + + + + + + + + + + + + + + + + <% + + total_tok_count = total_tok_count + cint(adors("tok")) + adors.movenext + next + %> + + + + <% + if adors.recordcount = 0 then + %> + + + + <% + end if + AdoRs.close + %> +
¼ø¹ø¸éÁ¢¿øÁö¿ª¼³¹®
TYPE
TOK
ºÎ¼ö
Ãß°¡/»èÁ¦
ºÎ¼ö
»çÀ¯Ãß°¡/»èÁ¦
¼ö´ç
»çÀ¯±³À°ºñ°áÀç»óÅÂ(°ËÁõ»óÅÂ)Confirm
+ +
<%=adors.AbsolutePosition %> + "/> + "/> + "/> + "/> + "/> + "/> + "/> + "/> + "/> + <%=adors("m_name") %> + <%=adors("s_area") %><%=adors("s_type") %><%=adors("tok") %> + " style="width:95%;text-align:right" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + + " style="width:95%;text-align:left" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + " style="width:95%;text-align:right" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + />" style="width:95%;text-align:left" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> + readonly + <% end if %> + /> + + checked <%end if %> value="Y" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" OR adors("s_ot_yn") = "Y" then %> + disabled + <% end if %> + + <% if adors("total_cnt") <> adors("no_tok") then %> + + <% else %> + " style="text-align:right" readonly/> + <% end if %> + + + checked <%end if %> value="Y" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" OR (adors("total_cnt") <> adors("no_tok")) then %> + disabled + <% end if %> + /> +
¸ðµç ¸éÁ¢¿øÀÇ TOKºÎ¼öÀÇ ÇÕÀº <%=total_tok_count %> ÀÔ´Ï´Ù.
°Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù.
+ ***°áÀç ÁøÇàÁß ¶Ç´Â °áÀç ¿Ï·áµÈ ¹®¼­´Â ÄÁÆß ¼öÁ¤ÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù. Âü°íÇØ ÁÖ¼¼¿ä.
+ + <% end if %> +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/interviewer_check_save.asp b/inspection/interviewer_check_save.asp new file mode 100644 index 0000000..112d430 --- /dev/null +++ b/inspection/interviewer_check_save.asp @@ -0,0 +1,105 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +dbin.Open adoConn + +Dim add_count +Dim add_money +DIm s_pay_unit +Dim s_ot_pay +DIm est_money +'response.Write "cnt : " & request("cnt") &"
" +p_child_sn = request("p_child_sn") + + +for i=1 to request("cnt") + d_order_cnt = request("d_order_cnt")(i) + 'response.Write "---------------------------------------------------------------------------"&"
" + 'response.Write "i : "& i & "
" + 'response.Write "d_order_cnt : " & request("d_order_cnt")(i) & "
" + 'response.Write "add_count : " & request("add_count")(i) & "
" + 'response.Write "add_count_memo : " & request("add_count_memo")(i) & "
" + 'response.Write "chk_work_confirm : " & request("chk_work_confirm_"&i) & "
" + + if d_order_cnt = "°áÀç ¹Ý·Á" OR d_order_cnt = "" OR isnull(d_order_cnt) then + s_pay_unit = 0 + s_ot_pay = 0 + If Trim(request("add_count")(i)) = "" Then + add_count = 0 + Else + add_count = Cstr(request("add_count")(i)) + End if + If Trim(request("add_money")(i)) = "" Then + add_money = 0 + Else + add_money = Cstr(request("add_money")(i)) + End if + if request("pay_unit_" & request("num")(i) & "_" & request("s_type")(i)) = "" then + s_pay_unit = 0 + else + s_pay_unit = request("pay_unit_" & request("num")(i) & "_" & request("s_type")(i)) + end if + + est_money = request("myun_" & request("num")(i) & "_" & request("s_type")(i)) + + if request("work_s_ot_"&i) = "Y" then + if request("ot_pay_unit") = "" then + s_ot_pay = 0 + else + s_ot_pay = request("ot_pay_unit") + end if + end if + + id = request("id")(i) + confirm_flag = request("work_confirm_"&i) + + + + if id <> "0" then + query = " update T_MYUN_PAY " + query = query & " set confirm_yn = '" & request("work_confirm_"&i) & "' " + query = query & " , s_sum = '" & (cdbl(request("tok")(i)) * cdbl(s_pay_unit)) + (cdbl(add_count) * cdbl(s_pay_unit)) + cdbl(add_money) + cdbl(s_ot_pay) & "' " + query = query & " , add_count = '" & add_count & "' " + query = query & " , add_count_memo = '" & request("add_count_memo")(i) & "' " + query = query & " , add_money = '" & add_money & "' " + query = query & " , add_money_memo = '" & request("add_money_memo")(i) & "' " + query = query & " , s_ot = '" & request("work_s_ot_"&i) & "' " + query = query & " , s_pay_unit = '" & s_pay_unit & "' " + query = query & " , est_money = '" & est_money & "' " + query = query & " where id = '"& id &"' " + else + query = " insert into T_MYUN_PAY( " + query = query & " pay_type, p_sn, prj_code, s_area, s_type, m_name, m_jumin, work_dt, s_ot, s_gubun, s_pay_unit, s_wan, " + query = query & " s_sum, pay_month, confirm_yn, est_money, add_count, add_count_memo, add_money, add_money_memo, insert_dt, insert_user " + query = query & " ) values ( " + query = query & " '2', '" & request("p_sn")(i) & "', '" & request("prj_code")(i) & "', '" & request("s_area")(i) & "', '" & request("s_type")(i) & "', '" & request("m_name")(i) & "', " + query = query & " (select top 1 m_jumin from man where new_id = '" & request("m_no")(i) & "'), convert(varchar(10), getdate(), 120), " + query = query & " '" & request("work_s_ot_"&i) & "' , 'FF', " + query = query & " '" & s_pay_unit & "', " + query = query & " '" & request("tok")(i) & "', " + query = query & " '" & (cdbl(request("tok")(i)) * cdbl(s_pay_unit)) + (cdbl(add_count) * cdbl(s_pay_unit)) + cdbl(add_money) + cdbl(s_ot_pay) & "', '', '" & request("work_confirm_"&i) & "', '" & est_money & "', '" & add_count & "' , " + query = query & " '" & request("add_count_memo")(i) & "', '" & add_money & "', '" & request("add_money_memo")(i) & "', getdate(), '" & Session("User_Number") & "') " + end if + 'response.Write query + dbin.Execute query + END if +Next + +dbin.Close + %> + + + + +
+ " /> +
+ + diff --git a/inspection/interviewer_grade_info.asp b/inspection/interviewer_grade_info.asp new file mode 100644 index 0000000..2bc3de8 --- /dev/null +++ b/inspection/interviewer_grade_info.asp @@ -0,0 +1,126 @@ + +<% +SET rsa = server.CreateObject("ADODB.RECORDSET") +SET rsp = server.CreateObject("ADODB.RECORDSET") + + +dim xid : xid=request.item("xid") '-- ¸éÁ¢/³»±ÙÁ÷ ¾ÆÀ̵ð +dim xname : xname=request.item("xname") '-- ¸éÁ¢/³»±ÙÁ÷ À̸§ +dim xjumin : xjumin=request.item("xjumin") '-- ÁֹιøÈ£ (¾Õ 6ÀÚ¸®) + + +%> + + + + + +<%=GNB_TITLE%> + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + +
¡Ø µî·ÏµÈ ³»±ÙÁ÷ µî±ÞÀ» Ç¥½Ã ÇÕ´Ï´Ù
+ + + + +
³»±ÙÁ÷/¸éÁ¢¿ø ID[<%=xid%>] À̸§[<%=xname%>] ÁֹιøÈ£ [<%=xjumin%>-*******]
+ + + + + + + + + +<% + + sql= " select " + sql=sql&" A1.attribute01, A1.m_grade_dt ,A2.name, A2.cost, A1.insert_dt, A3.p_name " + sql=sql&" from " + sql=sql&" ( " + sql=sql&" select AA.* from " + sql=sql&" ( " + sql=sql&" select " + sql=sql&" (ROW_NUMBER() OVER(PARTITION BY attribute01 ORDER BY m_grade_dt desc, id desc)) as RK, " + sql=sql&" id, m_id, m_grade, attribute01, m_grade_dt, insert_dt , insert_user " + sql=sql&" from [dbo].[T_MYUN_GRADE_HISTORY] " + sql=sql&" where m_id in ( " + sql=sql&" select id from man " + sql=sql&" where m_name='"&xname&"' " + sql=sql&" and new_id='"&xid&"' " + sql=sql&" ) " + sql=sql&" and attribute01 is not null AND m_grade <> '' " + sql=sql&" ) AA " + sql=sql&" where AA.RK='1' " + sql=sql&" ) A1 " + sql=sql&" left join " + sql=sql&" ( " + sql=sql&" select * from category a " + sql=sql&" join " + sql=sql&" (select * from t_neakeun_pay_COST where type='cost' and use_end_dt = '') b " + sql=sql&" on a.code = b.grade " + sql=sql&" where ±¸ºÐ='grade' " + sql=sql&" ) A2 " + sql=sql&" on A1.m_grade=A2.code " + sql=sql&" left join " + sql=sql&" ( " + sql=sql&" select p_no, p_name from person " + sql=sql&" ) A3 " + sql=sql&" on A1.insert_user=A3.p_no " + rsp.Open sql, adoConn, 1 + if rsp.eof then + response.write "" + end if + while not rsp.Eof + %> + + + + + + + + + <% + rsp.movenext + Wend + rsp.Close + %> +
³»±ÙÁ÷ ¾÷¹«±¸ºÐµî±Þ±Ý¾×µî±Þ½ÃÇàÀϵî·ÏÀÚµî·ÏÀÏÀÚ
¡Ø Àû¿ëµÈ ³»±ÙÁ÷ µî±ÞÀÌ ¾ø½À´Ï´Ù
<%=rsp("attribute01")%><%=rsp("name")%><%=formatnumber(rsp("cost"),0)%><%=rsp("m_grade_dt")%><%=rsp("p_name")%><%=left(rsp("insert_dt"),18)%>
+ +
 
¡¡
+ +
+ + + diff --git a/inspection/interviewer_regist.asp b/inspection/interviewer_regist.asp new file mode 100644 index 0000000..f928171 --- /dev/null +++ b/inspection/interviewer_regist.asp @@ -0,0 +1,650 @@ + + + +
+ +
+

¸éÁ¢¿ø/³»±ÙÁ÷ µî·Ï/¼öÁ¤

+
+ + +
+
+
+
+
+<% + Response.Expires = 0 + + dim Jumin_Num(2) + dim txt_title + + Jumin_Num(1) = mid(Request.QueryString("Jumin"),1,6) + Jumin_Num(2) = mid(Request.QueryString("Jumin"),7,7) + txt_title = Request.QueryString("txt_title") + + dim myun_name + + myun_name = request("myun_name") + + Dim txtHtml + Dim sql + Dim i + Dim tmpAge + + dim ConDate + dim isSaved + + isSaved = Request.QueryString("isSaved") + + if isSaved = "true" then + alert ("ÀúÀå ¿Ï·á") + end if + + ConDate=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) +%> + <% Dim f_menu : f_menu = "my" %> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if session("Depart_Code") = "12" or tmp_admin_chk = "1" then %> + + + + + + + + + + <% + end if + %> +
+ ³»±ÙÁ÷ ¸éÁ¢¿ø ½Å±Ô µî·Ï ¹× ¼öÁ¤À» À§ÇÑ ÆäÀÌÁöÀÔ´Ï´Ù. +
* ÁֹιøÈ£ ÀÎÁõÀ» ¹ÞÁö ¾ÊÀ¸½Ã¸é, ÀÔ·ÂÀÌ µÇÁö ¾Ê½À´Ï´Ù. +
Ç׸ñÀº Çʼö ÀÔ·Â Ç׸ñÀÔ´Ï´Ù. +
+ +
³»±ÙÁ÷/¸éÁ¢¿ø ID + + + ÁÖ¿ä¾÷¹« + +
À̸§ + + + + + ÁֹιøÈ£ + + - + + +
ºñ°í + +
¸éÁ¢¿ø µî±Þ + + KPC µî±Þ + +
³»±ÙÁ÷ µî±Þ + + <% + sql = " SELECT d_cost_code, d_cost_name FROM direct_costcode " + sql = sql & " WHERE d_cost_useyn = 'Y' AND d_cost_kind in ('field','dp') AND d_cost_parents = '2' AND d_cost_code NOT IN (8, 9) " + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% For i = 1 To adoRs.recordCount %> + + <% + adoRs.MoveNext + Next + adoRs.MoveFirst + %> + + + <% For i = 1 To adoRs.recordCount %> + + <% + adoRs.MoveNext + Next + adoRs.MoveFirst + %> + + + <% For i = 1 To adoRs.recordCount %> + + <% + adoRs.MoveNext + Next + %> + + <% + adoRs.Close + %> +
<%= adors("d_cost_name") %>
+ " name='txt_grade_<%=adors("d_cost_code") %>' onclick="showHideLayersAll(grade<%=adors("d_cost_code") %>);" readonly>
+
+ µî±Þº¯°æÀÏÀÚ" id="grade_yn_<%=adors("d_cost_code") %>" style="vertical-align:middle;"/> + +
+
µî·ÏÀÏÀÚ + + Ȱµ¿ ¿©ºÎ + +
ÀüÈ­¹øÈ£ + - + - + + ÈÞ´ëÀüÈ­¹øÈ£ + - + - + +
ÁÖ¼Ò + +
ÀºÇà + + °èÁ¹øÈ£(¼ýÀÚ¸¸ ÀÔ·Â) + +
+ +
+ ¡Ø [³»±ÙÁ÷ µî±Þ] º¯°æÀº - ¾÷¹«º° [µî±Þº¯°æÀÏÀÚ] üũ ÈÄ, ³¯Â¥¸¦ ¼±ÅÃÇØ ÁÖ¼Å¾ß ÇØ´çÀÏÀÚ·Î Àû¿ë µË´Ï´Ù
+ ¡Ø [³»±ÙÁ÷ ±Ù¹« È®ÀÎ] ÄÁÆß ±âÁØ - ÄÁÆß½Ã µî·ÏµÇ¾î ÀÖ´Â µî±ÞÀ¸·Î Àû¿ë µÇ¸ç, ÄÁÆß ÈÄ ³»±ÙÁ÷ µî±ÞÀ» º¯°æÇϽаæ¿ì¶ó¸é º¯°æµÈ µî±ÞÀ¸·Î Àû¿ëµÇÁö ¾Ê½À´Ï´Ù. Çʿ信 µû¶ó ¹Ý·ÁÈÄ Àç ÄÁÆß ÇϽñ⠹ٶø´Ï´Ù +
+
+ +
+ <% + sql = "select * from bank where chk = 0 order by b_fullname" + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% + sql = "select * from category a join (select * from t_neakeun_pay_COST where type='cost' and use_end_dt = '') b on a.code = b.grade where ±¸ºÐ='grade' order by code" + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% for i = 1 TO 7 %> + <% + left_val = 320 + %> + + <% Next %> + + + <% + sql = "select * from category where ±¸ºÐ = 'work' and code <> '99' order by sort_key" + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/interviewer_regist.asp_bak b/inspection/interviewer_regist.asp_bak new file mode 100644 index 0000000..82f4f4f --- /dev/null +++ b/inspection/interviewer_regist.asp_bak @@ -0,0 +1,650 @@ + + + +
+ +
+

¸éÁ¢¿ø/³»±ÙÁ÷ µî·Ï/¼öÁ¤

+
+ + +
+
+
+
+
+<% + Response.Expires = 0 + + dim Jumin_Num(2) + dim txt_title + + Jumin_Num(1) = mid(Request.QueryString("Jumin"),1,6) + Jumin_Num(2) = mid(Request.QueryString("Jumin"),7,7) + txt_title = Request.QueryString("txt_title") + + dim myun_name + + myun_name = request("myun_name") + + Dim txtHtml + Dim sql + Dim i + Dim tmpAge + + dim ConDate + dim isSaved + + isSaved = Request.QueryString("isSaved") + + if isSaved = "true" then + alert ("ÀúÀå ¿Ï·á") + end if + + ConDate=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) +%> + <% Dim f_menu : f_menu = "my" %> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%if session("Depart_Code") = "12" or tmp_admin_chk = "1" then %> + + + + + + + + + + <% + end if + %> +
+ ³»±ÙÁ÷ ¸éÁ¢¿ø ½Å±Ô µî·Ï ¹× ¼öÁ¤À» À§ÇÑ ÆäÀÌÁöÀÔ´Ï´Ù. +
* ÁֹιøÈ£ ÀÎÁõÀ» ¹ÞÁö ¾ÊÀ¸½Ã¸é, ÀÔ·ÂÀÌ µÇÁö ¾Ê½À´Ï´Ù. +
Ç׸ñÀº Çʼö ÀÔ·Â Ç׸ñÀÔ´Ï´Ù. +
+ +
³»±ÙÁ÷/¸éÁ¢¿ø ID + + + ÁÖ¿ä¾÷¹« + +
À̸§ + + + + + ÁֹιøÈ£ + + - + + +
ºñ°í + +
¸éÁ¢¿ø µî±Þ + + KPC µî±Þ + +
³»±ÙÁ÷ µî±Þ + + <% + sql = " SELECT d_cost_code, d_cost_name FROM direct_costcode " + sql = sql & " WHERE d_cost_useyn = 'Y' AND d_cost_kind in ('field','dp') AND d_cost_parents = '2' AND d_cost_code NOT IN (8, 9) " + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% For i = 1 To adoRs.recordCount %> + + <% + adoRs.MoveNext + Next + adoRs.MoveFirst + %> + + + <% For i = 1 To adoRs.recordCount %> + + <% + adoRs.MoveNext + Next + adoRs.MoveFirst + %> + + + <% For i = 1 To adoRs.recordCount %> + + <% + adoRs.MoveNext + Next + %> + + <% + adoRs.Close + %> +
<%= adors("d_cost_name") %>
+ " name='txt_grade_<%=adors("d_cost_code") %>' onclick="showHideLayersAll(grade<%=adors("d_cost_code") %>);" readonly>
+
+ µî±Þº¯°æÀÏÀÚ" id="grade_yn_<%=adors("d_cost_code") %>" style="vertical-align:middle;"/> + +
+
µî·ÏÀÏÀÚ + + Ȱµ¿ ¿©ºÎ + +
ÀüÈ­¹øÈ£ + - + - + + ÈÞ´ëÀüÈ­¹øÈ£ + - + - + +
ÁÖ¼Ò + +
ÀºÇà + + °èÁ¹øÈ£(¼ýÀÚ¸¸ ÀÔ·Â) + +
+ +
+ ¡Ø [³»±ÙÁ÷ µî±Þ] º¯°æÀº - ¾÷¹«º° [µî±Þº¯°æÀÏÀÚ] üũ ÈÄ, ³¯Â¥¸¦ ¼±ÅÃÇØ ÁÖ¼Å¾ß ÇØ´çÀÏÀÚ·Î Àû¿ë µË´Ï´Ù
+ ¡Ø [³»±ÙÁ÷ ±Ù¹« È®ÀÎ] ÄÁÆß ±âÁØ - ÄÁÆß½Ã µî·ÏµÇ¾î ÀÖ´Â µî±ÞÀ¸·Î Àû¿ë µÇ¸ç, ÄÁÆß ÈÄ ³»±ÙÁ÷ µî±ÞÀ» º¯°æÇϽаæ¿ì¶ó¸é º¯°æµÈ µî±ÞÀ¸·Î Àû¿ëµÇÁö ¾Ê½À´Ï´Ù. Çʿ信 µû¶ó ¹Ý·ÁÈÄ Àç ÄÁÆß ÇϽñ⠹ٶø´Ï´Ù +
+
+ +
+ <% + sql = "select * from bank where chk = 0 order by b_fullname" + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% + sql = "select * from category a join (select * from t_neakeun_pay_COST where type='cost' and use_end_dt = '') b on a.code = b.grade where ±¸ºÐ='grade' order by code" + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% for i = 1 TO 7 %> + <% + left_val = 320 + %> + + <% Next %> + + + <% + sql = "select * from category where ±¸ºÐ = 'work' and code <> '99' order by sort_key" + adoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/interviewer_regist_ok.asp b/inspection/interviewer_regist_ok.asp new file mode 100644 index 0000000..05b66a6 --- /dev/null +++ b/inspection/interviewer_regist_ok.asp @@ -0,0 +1,310 @@ + + +<%'#################################################### +'¸éÁ¢¿ø µî·Ï ÀúÀå È­¸é +'#################################################### +%> +<% + + Response.Expires = 0 + Response.Flush + + + Dim sql + dim i + dim j + dim k + dim m_jumin + dim m_offer_date + dim m_name + dim before_m_name + dim m_bank + dim m_b_no + dim m_addres + dim m_tel + dim m_mobile + dim m_gubun + dim m_note + dim m_Grade + dim Grade_1, Grade_2, Grade_3, Grade_4, Grade_5, Grade_6, Grade_7 + dim grade_yn_1, grade_yn_2, grade_yn_3, grade_yn_4, grade_yn_5, grade_yn_6, grade_yn_7 + dim kpc_grade + dim m_activity + dim ConDate + + + + ConDate=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) + + + + m_jumin = trim(Request.Form("txtJumin1")) & trim(Request.Form("txtJumin2")) + m_offer_date = trim(Request.Form("txt_date")) + m_name = trim(Request.Form("txtName")) + m_bank = trim(Request.Form("txt_bank_code")) 'ÀºÇàÄÚµå + m_b_no = trim(Request.Form("txt_bank_no")) '°èÁ¹øÈ£ + m_addres = trim(Request.Form("txtaddress")) + m_tel = trim(Request.Form("txtTel1")) & "-" & trim(Request.Form("txtTel2")) & "-" & trim(Request.Form("txtTel3")) + m_mobile = trim(Request.Form("txtMobile1")) & "-" & trim(Request.Form("txtMobile2")) & "-" & trim(Request.Form("txtMobile3")) + m_gubun = trim(Request.Form("txt_gubun_code")) + m_note = CheckWord(trim(Request.Form("txt_note"))) + m_Grade = trim(Request.Form("txt_m_grade_code")) + + Grade_1 = trim(Request.Form("txt_grade_1_code")) + Grade_2 = trim(Request.Form("txt_grade_2_code")) + Grade_3 = trim(Request.Form("txt_grade_3_code")) + Grade_4 = trim(Request.Form("txt_grade_4_code")) + Grade_5 = trim(Request.Form("txt_grade_5_code")) + Grade_6 = trim(Request.Form("txt_grade_6_code")) + Grade_7 = trim(Request.Form("txt_grade_7_code")) + + kpc_grade = trim(Request.Form("txt_kpc_grade_code")) + m_activity = trim(Request.Form("txt_activity")) + + grade_date_1 = trim(Request.Form("grade_date_1")) + grade_date_2 = trim(Request.Form("grade_date_2")) + grade_date_3 = trim(Request.Form("grade_date_3")) + grade_date_4 = trim(Request.Form("grade_date_4")) + grade_date_5 = trim(Request.Form("grade_date_5")) + grade_date_6 = trim(Request.Form("grade_date_6")) + grade_date_7 = trim(Request.Form("grade_date_7")) + + grade_yn_1 = "0" + grade_yn_2 = "0" + grade_yn_3 = "0" + grade_yn_4 = "0" + grade_yn_5 = "0" + grade_yn_6 = "0" + grade_yn_7 = "0" + + if trim(Request.Form("grade_yn_1")) <> "" then + grade_yn_1 = trim(Request.Form("grade_yn_1")) + end if + if trim(Request.Form("grade_yn_2")) <> "" then + grade_yn_2 = trim(Request.Form("grade_yn_2")) + end if + if trim(Request.Form("grade_yn_3")) <> "" then + grade_yn_3 = trim(Request.Form("grade_yn_3")) + end if + if trim(Request.Form("grade_yn_4")) <> "" then + grade_yn_4 = trim(Request.Form("grade_yn_4")) + end if + if trim(Request.Form("grade_yn_5")) <> "" then + grade_yn_5 = trim(Request.Form("grade_yn_5")) + end if + if trim(Request.Form("grade_yn_6")) <> "" then + grade_yn_6 = trim(Request.Form("grade_yn_6")) + end if + if trim(Request.Form("grade_yn_7")) <> "" then + grade_yn_7 = trim(Request.Form("grade_yn_7")) + end if + + '°èÁ¹øÈ£ÀÇ ±æÀ̰¡ 14ÀÚ¸®À̸鼭 ³óÇù ¶Ç´Â ´ÜÀ§³óÇùÀÇ °æ¿ì´Â ¸ðµÎ ´ÜÀ§³óÇù°èÁÂÀÓ. + if len(m_b_no)=14 and (cint(m_bank) = 11 or cint(m_bank) = 12) then + m_bank="12" + end if + +'µî·ÏµÈ ¸éÁ¢¿ø üũ + sql = "select * from man where m_jumin = '" & m_jumin & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + + if Rs.recordcount > 0 then 'µî·ÏµÇ¾î ÀÖÀ¸¸é + before_m_name = Rs("m_name") + + datequery = "select top 1 * from T_myun_Grade_HISTORY where m_id = '" & Rs("id") & "' order by m_grade_dt desc, insert_dt desc " + Drs.open datequery, adoconn, adopenstatic, adlockreadonly + + sql = "update man set " + sql = sql & "new_id = case when (isnull(new_id,'') = '' and '" & m_activity & "' = 'Ȱµ¿') or (m_gubun <> '" & m_gubun & "' and '" & m_gubun & "' <> '99' and isnull(new_id,'') <> '') then (select left(m_gubun, 1) + '-' + case when m_gubun = '10' or m_gubun='31' then right('0000' + cast(cast(right(max(new_id),4) as int)+1 as varchar),4) else (right(m_gubun, 1) + right('0000' + cast(cast(right(max(new_id),4) as int)+1 as varchar),3)) end as maxid from man where m_gubun <> '99' and m_gubun = '" & m_gubun & "' group by m_gubun) else new_id end , " + sql = sql & "m_jumin = '" & m_jumin & "', " + sql = sql & "m_offer_date = '" & m_offer_date & "', " + sql = sql & "m_name = '" & m_name & "', " + sql = sql & "m_bank = '" & m_bank & "', " + sql = sql & "m_b_no = '" & m_b_no & "', " + sql = sql & "m_addres = '" & m_addres & "', " + sql = sql & "m_tel = '" & m_tel & "', " + sql = sql & "m_mobile = '" & m_mobile & "', " + sql = sql & "m_gubun = '" & m_gubun & "', " + sql = sql & "m_grade = '" & m_Grade & "', " + if grade_yn_1 = "1" then + sql = sql & "grade_1 = '" & Grade_1 & "', " + end if + if grade_yn_2 = "1" then + sql = sql & "grade_2 = '" & Grade_2 & "', " + end if + if grade_yn_3 = "1" then + sql = sql & "grade_3 = '" & Grade_3 & "', " + end if + if grade_yn_4 = "1" then + sql = sql & "grade_4 = '" & Grade_4 & "', " + end if + if grade_yn_5 = "1" then + sql = sql & "grade_5 = '" & Grade_5 & "', " + end if + if grade_yn_6 = "1" then + sql = sql & "grade_6 = '" & Grade_6 & "', " + end if + if grade_yn_7 = "1" then + sql = sql & "grade_7 = '" & Grade_7 & "', " + end if + sql = sql & "kpc_grade = '" & kpc_grade & "', " + + if m_activity = "°æ°í" then + m_note = m_note & ", °æ°í ÀúÀå : " & ConDate + end if + + sql = sql & "m_note = '" & m_note & "', " + sql = sql & "m_activity = '" & m_activity & "', " + sql = sql & "insert_date = '" & ConDate & "', " + sql = sql & "insert_time = '" & time() & "', " + sql = sql & "insert_user = '" & Session("User_Number") & "', " + sql = sql & "insert_ip = '" & Request.ServerVariables("REMOTE_HOST") & "' " + sql = sql & " where m_jumin = '" & m_jumin & "'" + + 'Response.Write sql & "
" + adoconn.Execute sql + + Drs.Close + Rs.close + + sql = " select isnull(new_id, '') as new_id, id, m_name from man " + sql = sql & " where m_jumin = '" & m_jumin & "' " + Drs.open sql, adoconn, adopenstatic, adlockreadonly + '===================================================================== ÀúÀåµÇÀÖ´ø ³»±Ù/¸éÁ¢¿øÀÇ À̸§ ¸ðµÎ º¯°æ ===================================================================== + if Drs("new_id") <> "" and Drs("m_name") <> before_m_name then + sql = " update res set m_name='" & Drs("m_name") & "' where m_no ='" & Drs("new_id") & "' " + adoconn.Execute sql + sql = " update T_INSPECTION_RES set m_name='" & Drs("m_name") & "' where m_no ='" & Drs("new_id") & "' " + adoconn.Execute sql + sql = " update T_MYUN_PAY set m_name='" & Drs("m_name") & "' where m_jumin = '" & m_jumin & "' " + adoconn.Execute sql + sql = " update neakeun_work set neakeun_name='" & Drs("m_name") & "' where neakeun_name = '" & before_m_name & "' and neakeun_jumin = '" & left(m_jumin,6) & "0000000' " + adoconn.Execute sql + sql = " update T_NEAKEUN_PAY set m_name='" & Drs("m_name") & "' where m_name = '" & before_m_name & "' and m_jumin = '" & left(m_jumin,6) & "0000000' " + adoconn.Execute sql + sql = " update neakeun_in_out_time set neakeun_name='" & Drs("m_name") & "' where neakeun_name = '" & before_m_name & "' and neakeun_jumin = '" & left(m_jumin,6) & "0000000' " + adoconn.Execute sql + sql = " update myun_pay set m_name='" & Drs("m_name") & "' where m_name = '" & before_m_name & "' and m_jumin = '" & m_jumin & "' " + adoconn.Execute sql + sql = " update T_MYUN_GRADE_HISTORY set m_name='" & Drs("m_name") & "' where m_id = '" & Drs("id") & "' " + adoconn.Execute sql + end if + '===================================================================================================================================================================== + Drs.Close + else + sql = "insert into man (new_id, m_jumin, m_offer_date, m_name, " + sql = sql & " m_bank, m_b_no, m_addres, m_tel, m_mobile, m_Grade, grade_1, grade_2, grade_3, grade_4, grade_5, grade_6, grade_7, " + sql = sql & " m_gubun, m_note, m_activity, insert_date, insert_time, insert_user, insert_ip) " + sql = sql & " values (" + sql = sql & " case when '" & m_activity & "' = 'Ȱµ¿' then (select left(m_gubun, 1) + '-' + case when m_gubun = '10' or m_gubun='31' then right('0000' + cast(cast(right(max(new_id),4) as int)+1 as varchar),4) else (right(m_gubun, 1) + right('0000' + cast(cast(right(max(new_id),4) as int)+1 as varchar),3)) end as maxid from man where m_gubun <> '99' and m_gubun = '" & m_gubun & "' group by m_gubun) else null end, " + sql = sql & "'" & m_jumin & "', " + sql = sql & "'" & m_offer_date & "', " + sql = sql & "'" & m_name & "', " + sql = sql & "'" & m_bank & "', " + sql = sql & "'" & m_b_no & "', " + sql = sql & "'" & m_addres & "', " + sql = sql & "'" & m_tel & "', " + sql = sql & "'" & m_mobile & "', " + sql = sql & "'" & m_Grade & "', " + sql = sql & "'" & Grade_1 & "', " + sql = sql & "'" & Grade_2 & "', " + sql = sql & "'" & Grade_3 & "', " + sql = sql & "'" & Grade_4 & "', " + sql = sql & "'" & Grade_5 & "', " + sql = sql & "'" & Grade_6 & "', " + sql = sql & "'" & Grade_7 & "', " + sql = sql & "'" & m_gubun & "', " + sql = sql & "'" & m_note & "'," + sql = sql & "'" & m_activity & "', " + sql = sql & "'" & ConDate & "', " + sql = sql & "'" & time() & "', " + sql = sql & "'" & Session("User_Number") & "', " + sql = sql & "'" & Request.ServerVariables("REMOTE_HOST") & "') " + + 'Response.Write sql & "
" + adoconn.Execute sql + + Rs.close + end If + '---- ÀÔ·ÂÇÑ ¸éÁ¢¿ø¿¡ ÇØ´çÇÏ´Â ¸éÁ¢¿ø ID Á¤º¸¸¦ ÀÐ¾î ¿È + sql = "select * from man where m_jumin = '" & m_jumin & "' and m_name = '" & m_name & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + + if Rs.recordcount > 0 then 'µî·ÏµÇ¾î ÀÖÀ¸¸é + Dim m_id + m_id = Rs("id") + if m_gubun <> "99" then + if grade_yn_1 = "1" then + sql = " insert into T_MYUN_GRADE_HISTORY (m_id, m_jumin, m_name, m_grade, insert_dt, insert_user, m_grade_dt, attribute01, attribute02) " + sql = sql & " values ('" & m_id & "', '" & m_jumin & "', '" & m_name & "', '" & Grade_1 & "', getdate(), '" & Session("User_Number") & "', '" & grade_date_1 & "', " + sql = sql & " (SELECT d_cost_name FROM direct_costcode WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents='2' AND d_cost_code='1'), '1') " + adoconn.Execute sql + end if + if grade_yn_2 = "1" then + sql = " insert into T_MYUN_GRADE_HISTORY (m_id, m_jumin, m_name, m_grade, insert_dt, insert_user, m_grade_dt, attribute01, attribute02) " + sql = sql & " values ('" & m_id & "', '" & m_jumin & "', '" & m_name & "', '" & Grade_2 & "', getdate(), '" & Session("User_Number") & "', '" & grade_date_2 & "', " + sql = sql & " (SELECT d_cost_name FROM direct_costcode WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents='2' AND d_cost_code='2'), '2') " + adoconn.Execute sql + end if + if grade_yn_3 = "1" then + sql = " insert into T_MYUN_GRADE_HISTORY (m_id, m_jumin, m_name, m_grade, insert_dt, insert_user, m_grade_dt, attribute01, attribute02) " + sql = sql & " values ('" & m_id & "', '" & m_jumin & "', '" & m_name & "', '" & Grade_3 & "', getdate(), '" & Session("User_Number") & "', '" & grade_date_3 & "', " + sql = sql & " (SELECT d_cost_name FROM direct_costcode WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents='2' AND d_cost_code='3'), '3') " + adoconn.Execute sql + end if + if grade_yn_4 = "1" then + sql = " insert into T_MYUN_GRADE_HISTORY (m_id, m_jumin, m_name, m_grade, insert_dt, insert_user, m_grade_dt, attribute01, attribute02) " + sql = sql & " values ('" & m_id & "', '" & m_jumin & "', '" & m_name & "', '" & Grade_4 & "', getdate(), '" & Session("User_Number") & "', '" & grade_date_4 & "', " + sql = sql & " (SELECT d_cost_name FROM direct_costcode WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents='2' AND d_cost_code='4'), '4') " + adoconn.Execute sql + end if + if grade_yn_5 = "1" then + sql = " insert into T_MYUN_GRADE_HISTORY (m_id, m_jumin, m_name, m_grade, insert_dt, insert_user, m_grade_dt, attribute01, attribute02) " + sql = sql & " values ('" & m_id & "', '" & m_jumin & "', '" & m_name & "', '" & Grade_5 & "', getdate(), '" & Session("User_Number") & "', '" & grade_date_5 & "', " + sql = sql & " (SELECT d_cost_name FROM direct_costcode WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents='2' AND d_cost_code='5'), '5') " + adoconn.Execute sql + end if + if grade_yn_6 = "1" then + sql = " insert into T_MYUN_GRADE_HISTORY (m_id, m_jumin, m_name, m_grade, insert_dt, insert_user, m_grade_dt, attribute01, attribute02) " + sql = sql & " values ('" & m_id & "', '" & m_jumin & "', '" & m_name & "', '" & Grade_6 & "', getdate(), '" & Session("User_Number") & "', '" & grade_date_6 & "', " + sql = sql & " (SELECT d_cost_name FROM direct_costcode WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents='2' AND d_cost_code='6'), '6') " + adoconn.Execute sql + end if + if grade_yn_7 = "1" then + sql = " insert into T_MYUN_GRADE_HISTORY (m_id, m_jumin, m_name, m_grade, insert_dt, insert_user, m_grade_dt, attribute01, attribute02) " + sql = sql & " values ('" & m_id & "', '" & m_jumin & "', '" & m_name & "', '" & Grade_7 & "', getdate(), '" & Session("User_Number") & "', '" & grade_date_7 & "', " + sql = sql & " (SELECT d_cost_name FROM direct_costcode WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents='2' AND d_cost_code='7'), '7') " + adoconn.Execute sql + end if + end if + End if + Rs.close + + dim web_posi + web_posi = Request("txt_web_posi") +%> + + + + + + +¸éÁ¢¿ø ½Å±Ô ÀúÀå ¹× ¼öÁ¤ È®ÀÎ + + + + + + + + + + + + + diff --git a/inspection/interviewer_search.asp b/inspection/interviewer_search.asp new file mode 100644 index 0000000..3054fff --- /dev/null +++ b/inspection/interviewer_search.asp @@ -0,0 +1,615 @@ + +<% +dim command +command = Request("command") +if command <> "excel" then +%> + + +
+ +
+

¸éÁ¢¿ø/³»±ÙÁ÷ °Ë»ö

+
+ + +
+
+
+
+
+<% +End If + +if command = "excel" then + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=³»±ÙÁ÷_¸éÁ¢¿ø_°Ë»ö¸®½ºÆ®.xls" +end if +dim new_id +dim m_name +dim m_grade, grade_1, grade_2, grade_3, grade_4, grade_5, grade_6, grade_7 +dim kpc_grade +dim m_activity1, m_activity2, m_activity3, m_activity4 +dim p_method +dim m_gubun1, m_gubun2, m_gubun3, m_gubun4, m_gubun5, m_gubun6, m_gubun7, m_gubun8, m_gubun9, m_gubun10, m_gubun11, m_gubun12, m_gubun13, m_gubun14, m_gubun15, m_gubun16, m_gubun17, m_gubun99 +dim m_tel +dim m_offer_date +dim m_offer_date_st +dim m_offer_date_end +dim m_last_work_date +dim m_last_work_date_st +dim m_last_work_date_end +dim m_p_sn +dim n_grade() + +m_offer_date_st=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) +m_offer_date_end=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) + +If request("m_offer_date_st") <> "" then + m_offer_date_st = request("m_offer_date_st") +end If +If request("m_offer_date_end") <> "" then + m_offer_date_end = request("m_offer_date_end") +end If + +m_last_work_date_st=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) +m_last_work_date_end=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) + +If request("m_last_work_date_st") <> "" then + m_last_work_date_st = request("m_last_work_date_st") +end If +If request("m_last_work_date_end") <> "" then + m_last_work_date_end = request("m_last_work_date_end") +end If + +new_id = request("new_id") +m_name = request("m_name") +m_grade = request("m_grade") +grade_1 = request("grade_1") +grade_2 = request("grade_2") +grade_3 = request("grade_3") +grade_4 = request("grade_4") +grade_5 = request("grade_5") +grade_6 = request("grade_6") +grade_7 = request("grade_7") +kpc_grade = request("kpc_grade") +m_activity1 = request("m_activity1") +m_activity2 = request("m_activity2") +m_activity3 = request("m_activity3") +m_activity4 = request("m_activity4") +p_method = request("p_method") +m_p_sn = request("m_p_sn") +m_gubun1 = request("m_gubun1") +m_gubun2 = request("m_gubun2") +m_gubun3 = request("m_gubun3") +m_gubun4 = request("m_gubun4") +m_gubun5 = request("m_gubun5") +m_gubun6 = request("m_gubun6") +m_gubun7 = request("m_gubun7") +m_gubun8 = request("m_gubun8") +m_gubun9 = request("m_gubun9") +m_gubun10 = request("m_gubun10") +m_gubun11 = request("m_gubun11") +m_gubun12 = request("m_gubun12") +m_gubun13 = request("m_gubun13") +m_gubun14 = request("m_gubun14") +m_gubun15 = request("m_gubun15") +m_gubun16 = request("m_gubun16") +m_gubun17 = request("m_gubun17") +m_gubun99 = request("m_gubun99") +m_tel = request("m_tel") +m_offer_date = request("m_offer_date") +m_last_work_date = request("m_last_work_date") + +sql = " SELECT d_cost_code, d_cost_name FROM direct_costcode " +sql = sql & " WHERE d_cost_useyn = 'Y' AND d_cost_kind = 'field' AND d_cost_parents = '2' AND d_cost_code NOT IN (8, 9) " +adoRs.open sql, adoconn, adopenstatic, adlockreadonly + +redim n_grade(adoRs.recordCount, 2) +For i = 1 To adoRs.recordCount + n_grade(i, 1) = adors("d_cost_name") + n_grade(i, 2) = adors("d_cost_code") + adoRs.MoveNext +Next +adoRs.Close +%> + <%if command <> "excel" then %> + <% Dim f_menu : f_menu = "my" %> + + <%End If%> +
+ <%if command <> "excel" then %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% end if %> + + + +
IDÀ̸§
Ȱµ¿¿©ºÎ + checked="checked" <%end if %> />Ȱµ¿  + checked="checked" <%end if %> />ºñȰµ¿  + checked="checked" <%end if %> />°æ°í  + checked="checked" <%end if %> />ºÒ·® + ÀüÈ­¹øÈ£
ÅõÀÔÇÁ·ÎÁ§Æ® + Á¶»ç¹æ¹ý + + +
+ ¸éÁ¢¿ø µî±Þ + + + + KPC µî±Þ + + +
+ ¸éÁ¢¿ø µî±Þ + + + + <% + For i = 1 To UBOUND(n_grade) + %> + + <% + NEXT + %> + + + <% + For i = 1 To UBOUND(n_grade) + %> + + <% + Next + %> + +
<%= n_grade(i, 1) %>
+ +
+
+ ÁÖ¿ä¾÷¹« + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
checked="checked" <%end if %> />¸ð´ÏÅ͸µ checked="checked" <%end if %> />ÀüÈ­Á¶»ç
checked="checked" <%end if %> />¸éÁ¢¿ø_¼­¿ï checked="checked" <%end if %> />¸éÁ¢¿ø_ºÎ»ê checked="checked" <%end if %> />¸éÁ¢¿ø_´ë±¸ checked="checked" <%end if %> />¸éÁ¢¿ø_´ëÀü checked="checked" <%end if %> />¸éÁ¢¿ø_±¤ÁÖ checked="checked" <%end if %> />¸éÁ¢¿ø_°­¿ø checked="checked" <%end if %> />¸éÁ¢¿ø_Á¦ÁÖ
checked="checked" <%end if %> />AS checked="checked" <%end if %> />ÆÝÄ¡ checked="checked" <%end if %> />ÄÚµù checked="checked" <%end if %> />°ËÁõ checked="checked" <%end if %> />³ìÀ½Çص¶ checked="checked" <%end if %> />ÄÁÅÃ
checked="checked" <%end if %> />¼Ò°³ÀÚ checked="checked" <%end if %> />±âŸ checked="checked" <%end if %> />ºñȰµ¿
+
+ µî·ÏÀÏÀÚ + + checked="checked" <%end if %> />Àüü +   + checked="checked" <%end if %> />±â°£ + + + ~ + + +
+ ÃÖ±Ù¾÷¹«ÀÏÀÚ + + checked="checked" <%end if %> />Àüü +   + checked="checked" <%end if %> />±â°£ + + + ~ + + +
+ + +
+ + <%if command <> "excel" then %> + + + + <% end if %> + + + + + + + + + + + <% + For i = 1 To UBOUND(n_grade) + %> + + <% + Next + %> + + + + + + <% + If command <> "" then + query = "select " + if command <> "excel" then + query = query & " top 30 " + end if + query = query & " new_id, m_name, left(m_jumin,7) as m_jumin, case when replace(isnull(m_mobile,''), '-', '') <> '' then m_mobile else isnull(m_tel, '') end as m_tel, " + query = query & " (select top 1 name from category where code = isnull(m.m_Grade, '') and ±¸ºÐ = 'grade') as m_grade, " + '-- grade_1 grade_2 grade_3 grade_4 grade_5 grade_6 grade_7 + query = query & " (select top 1 name from category where code = isnull(m.grade_1, '') and ±¸ºÐ = 'grade') as grade_1, " + query = query & " (select top 1 name from category where code = isnull(m.grade_2, '') and ±¸ºÐ = 'grade') as grade_2, " + query = query & " (select top 1 name from category where code = isnull(m.grade_3, '') and ±¸ºÐ = 'grade') as grade_3, " + query = query & " (select top 1 name from category where code = isnull(m.grade_4, '') and ±¸ºÐ = 'grade') as grade_4, " + query = query & " (select top 1 name from category where code = isnull(m.grade_5, '') and ±¸ºÐ = 'grade') as grade_5, " + query = query & " (select top 1 name from category where code = isnull(m.grade_6, '') and ±¸ºÐ = 'grade') as grade_6, " + query = query & " (select top 1 name from category where code = isnull(m.grade_7, '') and ±¸ºÐ = 'grade') as grade_7, " + query = query & " (select top 1 name from category where code = isnull(m.kpc_grade, '') and ±¸ºÐ = 'grade') as kpc_grade, " + query = query & " (select top 1 name from category where code = m.m_gubun and ±¸ºÐ = 'work') as m_gubun, " + query = query & " (select top 1 b_fullname from bank where b_code = m.m_bank) as m_bank, substring(m_b_no,0,len(m_b_no)-1) + '**' as m_b_no " + query = query & ", isnull(er_rate, '0') as er_rate, m_activity, m_note, m_offer_date, m_last_work_date from man m " + query = query & " left outer join ( " + query = query & " select m_no, cast(round(sum(er_cnt) * 1.00 / SUM(t_cnt) * 100.00, 2) as numeric(4,1)) as er_rate from ( " + query = query & " select r.m_no, case when pass_stat = 'ERROR' then 1 else 0 end as er_cnt, 1 as t_cnt from RES r inner join T_INSPECTION_RES tir On r.r_sn = tir.r_sn " + query = query & " where r.DelGubun='N' and r_error is null and s_error is null and m_error is null " + if m_p_sn <> "" then + query = query & " and (r.p_sn in (Select p_child_sn from T_PROJECT_FCS where p_sn in (Select p_sn From T_PROJECT_METHOD where p_method_cd = '2' and p_child_sn like '%" & m_p_sn & "%')) or r.p_sn like '%" & m_p_sn & "%' ) " + end if + query = query & " union all " + query = query & " select m.new_id, case when tel_result = '2' then 1 else 0 end as er_cnt, 1 as t_cnt from new_cati.dbo.T_INSPECTION_CATI tic inner join man m on tic.tel_client_no = m.id WHERE tel_del_yn='N' " + if m_p_sn <> "" then + query = query & " and tic.prj_code in (Select prj_code From new_cati.dbo.project Where intranet_project like '%" & m_p_sn & "%') " + end if + query = query & " ) T group by m_no " + query = query & " ) E on m.new_id = E.m_no " + query = query & " where substring(m_jumin,7,1) <> 0 " + if m_name <> "" then + query = query & " and m_name like '%" & m_name & "%' " + end if + + if m_grade <> "" then + query = query & " and isnull(m.m_Grade, '') like '%" & m_grade & "%' " + end if + if grade_1 <> "" then + query = query & " and isnull(m.grade_1, '') like '%" & grade_1 & "%' " + end if + if grade_2 <> "" then + query = query & " and isnull(m.grade_2, '') like '%" & grade_2 & "%' " + end if + if grade_3 <> "" then + query = query & " and isnull(m.grade_3, '') like '%" & grade_3 & "%' " + end if + if grade_4 <> "" then + query = query & " and isnull(m.grade_4, '') like '%" & grade_4 & "%' " + end if + if grade_5 <> "" then + query = query & " and isnull(m.grade_5, '') like '%" & grade_5 & "%' " + end if + if grade_6 <> "" then + query = query & " and isnull(m.grade_6, '') like '%" & grade_6 & "%' " + end if + if grade_7 <> "" then + query = query & " and isnull(m.grade_7, '') like '%" & grade_7 & "%' " + end if + if kpc_grade <> "" then + query = query & " and isnull(kpc_grade, '') like '%" & kpc_grade & "%' " + end if + if new_id <> "" then + query = query & " and new_id like '%" & new_id & "%' " + end if + if m_p_sn <> "" then + query = query & " and new_id in ( " + query = query & " Select distinct m_no From( " + query = query & " select m_no from res where (p_sn in ( " + query = query & " select p_child_sn from T_PROJECT_FCS where p_sn in ( " + query = query & " Select p_sn From T_PROJECT_METHOD where p_method_cd = '2' and p_child_sn like '%" & m_p_sn & "%')) " + query = query & " or p_sn like '%" & m_p_sn & "%' ) " + query = query & " and DelGubun = 'N' and r_error is null and s_error is null and m_error is null " + query = query & " union all " + query = query & " select new_id From new_cati.dbo.logfile l inner join man m on l.log_user = m.id " + query = query & " where l.prj_code in (Select prj_code From new_cati.dbo.project Where intranet_project like '%" & m_p_sn & "%') " + query = query & " union all " + query = query & " select m.new_id from neakeun_work n inner join man m on left(n.neakeun_jumin, 6) = LEFT(m.m_jumin,6) and n.neakeun_name = m.m_name where n.p_child_sn like '%" & m_p_sn & "%' " + query = query & " ) T " + query = query & " ) " + end if + if m_tel <> "" then + query = query & " and (replace(m_tel,'-','') like '%" & replace(m_tel,"-","") & "%' or replace(m_mobile,'-','') like '%" & replace(m_tel,"-","") & "%') " + end if + query = query & " and M_activity in ( " + If m_activity1 <> "" then + query = query & " '" & m_activity1 & "'," + end if + if m_activity2 <> "" then + query = query & " '" & m_activity2 & "'," + End IF + IF m_activity3 <> "" then + query = query & " '" & m_activity3 & "'," + ENd IF + IF m_activity4 <> "" then + query = query & " '" & m_activity4 & "'," + End If + query = query & " 'ºóÄ­') " + query = query & "and m_gubun in (" + If m_gubun1 <> "" then + query = query & " '" & m_gubun1 &"'," + End If + If m_gubun2 <> "" then + query = query & " '" & m_gubun2 &"'," + End If + If m_gubun3 <> "" then + query = query & " '" & m_gubun3 &"'," + End If + If m_gubun4 <> "" then + query = query & " '" & m_gubun4 &"'," + End If + If m_gubun5 <> "" then + query = query & " '" & m_gubun5 &"'," + End If + If m_gubun6 <> "" then + query = query & " '" & m_gubun6 &"'," + End If + If m_gubun7 <> "" then + query = query & " '" & m_gubun7 &"'," + End If + If m_gubun8 <> "" then + query = query & " '" & m_gubun8 &"'," + End If + If m_gubun9 <> "" then + query = query & " '" & m_gubun9 &"'," + End If + If m_gubun10 <> "" then + query = query & " '" & m_gubun10 &"'," + End If + If m_gubun11 <> "" then + query = query & " '" & m_gubun11 &"'," + End If + If m_gubun12 <> "" then + query = query & " '" & m_gubun12 &"'," + End If + If m_gubun13 <> "" then + query = query & " '" & m_gubun13 &"'," + End If + If m_gubun14 <> "" then + query = query & " '" & m_gubun14 &"'," + End If + If m_gubun15 <> "" then + query = query & " '" & m_gubun15 &"'," + End If + If m_gubun16 <> "" then + query = query & " '" & m_gubun16 &"'," + End If + If m_gubun17 <> "" then + query = query & " '" & m_gubun17 &"'," + End If + If m_gubun99 <> "" then + query = query & " '" & m_gubun99 &"'," + End If + query = query & " 'ºóÄ­')" + If m_offer_date <> "" then + query = query & " and m_offer_date between '" & m_offer_date_st & "' and '" & m_offer_date_end & "' " + End If + If m_last_work_date <> "" then + query = query & " and m_last_work_date between '" & m_last_work_date_st & "' and '" & m_last_work_date_end & "' " + End If + if p_method <> "" then + query = query & " and cast(m.id as varchar) in ( " + query = query & " select isnull(cast(id as varchar), '') as id from " + query = query & " ( select m_name, m_jumin from " + query = query & " ( select p_sn, m_name, left(m_jumin,6) as m_jumin from T_NEAKEUN_PAY union all " + query = query & " select p_sn, m_name, left(m_jumin,6) as m_jumin from T_MYUN_PAY union all " + query = query & " select p_sn, m_name, left(m_jumin,6) as m_jumin from myun_pay ) T " + query = query & " where p_sn in (select p_child_sn from T_PROJECT_METHOD where p_method_cd = '" & p_method & "' and p_child_sn is not null ) " + query = query & " group by m_name, m_jumin " + query = query & " ) s left outer join man m on s.m_name = m.m_name and s.m_jumin = left(m.m_jumin,6)) " + end if + + query = query & " order by new_id " + AdoRs.open query, adoconn, adopenstatic, adlockreadonly + + 'response.Write query + i = 1 + do until AdoRs.eof + + i = i+1 + tit = 4 + (i mod 2) + %> + + + + + + + + + + + + + + + + + + + + + + + <% + AdoRs.moveNext + loop + AdoRs.close + + if i = 1 then + %> + + + + <% + end If + end If + %> +
+ * ÃÖ´ë 30¸í ±îÁö Ç¥½ÃµË´Ï´Ù. +
ID¾÷¹«À̸§»ý³â¿ùÀÏÀüÈ­¹øÈ£ÃÖ±Ù¾÷¹«ºñ°í¿¡·¯À²¸éÁ¢¿ø
µî±Þ
<%=n_grade(i, 1) %>KPC
µî±Þ
Ȱµ¿¿©ºÎÀºÇà°èÁÂ
<%= AdoRs("new_id")%> <%= AdoRs("m_gubun")%> <%= AdoRs("m_name")%> <%= AdoRs("m_jumin")%> <%= AdoRs("m_tel")%> <%= AdoRs("m_last_work_date")%> <%= AdoRs("m_note")%> <%= AdoRs("er_rate")%>(<% if cint(AdoRs("er_rate")) <= 10 then response.Write "A" else if cint(AdoRs("er_rate")) <= 30 then response.Write "B" else if cint(AdoRs("er_rate")) <= 40 then response.Write "C" else if cint(AdoRs("er_rate")) < 50 then response.Write "D" else response.write "F" end if %>) <%= AdoRs("m_grade")%> <%= AdoRs("grade_1")%> <%= AdoRs("grade_2")%> <%= AdoRs("grade_3")%> <%= AdoRs("grade_4")%> <%= AdoRs("grade_5")%> <%= AdoRs("grade_6")%> <%= AdoRs("grade_7")%> <%= AdoRs("kpc_grade")%> <%= AdoRs("m_activity")%> <%= AdoRs("m_bank")%> <%= AdoRs("m_b_no")%> 
°Ë»öµÈ ÀÚ·á°¡ ¾ø½À´Ï´Ù
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/interviewer_status.asp b/inspection/interviewer_status.asp new file mode 100644 index 0000000..539ebe8 --- /dev/null +++ b/inspection/interviewer_status.asp @@ -0,0 +1,324 @@ + +<% +dim command +command = Request("command") + +s_date_st = request("s_date_st") +s_date_end = request("s_date_end") +s_name = request("s_name") +s_p_sn = request("s_p_sn") +s_p_subject = request("s_p_subject") +s_column = replace(request("s_column"), " ", "") + +Dim column_dic +Set column_dic = Server.CreateObject("Scripting.Dictionary") +With column_dic + .Add "intranet_project", "ÀÎÆ®¶ó³ÝÇÁ·ÎÁ§Æ®" + .Add "p_child_sn", "FCSÇÁ·ÎÁ§Æ®" + .Add "p_subject", "ÇÁ·ÎÁ§Æ®¸í" + .Add "work_kind", "¾÷¹«±¸ºÐ" + .Add "m_name", "¸éÁ¢¿ø ¼º¸í" + .Add "s_area", "Áö¿ª" + .Add "s_type", "¼³¹®Type" + .Add "inspection_user_name", "°ËÁõ¿ø ¼º¸í" + .Add "r_date", "À̰ü³¯Â¥" + .Add "sum_esc", "À̰üºÎ¼ö" + .Add "sum_tok", "TOK" + .Add "sum_pass", "PASS" + .Add "sum_err", "ERR" + .Add "sum_notel", "NOTEL" +End With + +if command <> "excel" then +%> + + +
+ + +
+

FF ¸éÁ¢¿ø ÇöȲ

+
+ + +
+
+
+
+
+<% +End If +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=FF_Status.xls" +end if +%> +
+ + + + <% If command <> "excel" Then %> + + + + + + + + + + + + + + + + + + + + + <% End if %> + <% if command <> "" Then %> + + + + <% End if %> +
±â °£ + + ~ + + ¸éÁ¢¿ø ¼º¸í + +
ÇÁ·ÎÁ§Æ® ÄÚµå + + ÇÁ·ÎÁ§Æ® ¸í + +
Áý°è Column ¼±Åà + + + + + + + +
°Ë»ö ½Ã 1ºÐ¿¡¼­ 10ºÐ °¡·® ¼Ò¿äµÉ ¼ö ÀÖ½À´Ï´Ù + + +
+
+ + <% + query = " SELECT " + if s_column <> "" Then + query = query & " " & s_column & ", " + else + query = query & " intranet_project, p_subject, m_name, " + End if + query = query & " SUM(esc_cnt) as sum_esc, SUM(tok_cnt) as sum_tok, SUM(err_cnt) as sum_err, SUM(no_tel) as sum_notel, SUM(pass_cnt) as sum_pass " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT TPF.p_subject, CASE WHEN TPF.intranet_project = '' THEN TPF.p_child_sn ELSE TPF.intranet_project END as intranet_project, " + query = query & " TPF.p_child_sn, R.r_date, R.s_area, R.s_type, " + query = query & " R.m_name, R.m_no, " + query = query & " 1 as esc_cnt, " + query = query & " CASE WHEN TIR.r_result = '1' AND TIR.qc_stat = 'OK' THEN 1 ELSE 0 END as tok_cnt, " + query = query & " CASE WHEN TIR.r_result <> '1' AND TIR.pass_stat = 'PASS' THEN 1 ELSE 0 END as pass_cnt, " + query = query & " CASE WHEN TIR.pass_stat = 'ERROR' THEN 1 ELSE 0 END as err_cnt, " + query = query & " CASE WHEN TIR.r_result IN ('5', '6', '7') AND TIR.pass_stat NOT IN ('ERROR', 'PASS') THEN 1 ELSE 0 END as no_tel, " + query = query & " ISNULL(M.m_name, ISNULL(P.p_name, '')) as inspection_user_name, ISNULL(TIR.inspection_user, '') as inspection_user, CONVERT(VARCHAR(10), TIR.inspection_date, 120) as inspection_date " + query = query & " FROM RES R WITH(NOLOCK) " + query = query & " LEFT OUTER JOIN T_INSPECTION_RES TIR WITH(NOLOCK) ON R.r_sn = TIR.r_sn " + query = query & " LEFT OUTER JOIN V_PROJECT_FCS TPF WITH(NOLOCK) ON R.p_sn = TPF.p_child_sn " + query = query & " LEFT OUTER JOIN Man M WITH(NOLOCK) ON TIR.inspection_user = M.id " + query = query & " LEFT OUTER JOIN Person P WITH(NOLOCK) ON TIR.inspection_user = P.p_no " + query = query & " WHERE DelGubun = 'N' AND r_error IS NULL AND s_error IS NULL AND m_error IS NULL AND q_error IS NULL " + query = query & " ) T " + query = query & " WHERE r_date BETWEEN '" & s_date_st & "' AND '" & s_date_end & "' " + If s_name <> "" Then + query = query & " AND m_name LIKE '%" & s_name & "%' " + End If + If s_p_sn <> "" Then + query = query & " AND intranet_project LIKE '" & s_p_sn & "%' " + End If + If s_p_subject <> "" Then + query = query & " AND p_subject LIKE '%" & s_p_subject & "%' " + End If + if s_column <> "" Then + query = query & " GROUP BY " & s_column & " " + query = query & " ORDER BY " & s_column & " " + Else + query = query & " GROUP BY intranet_project, p_subject, m_name " + query = query & " ORDER BY intranet_project, p_subject, m_name " + End if + 'response.Write query + AdoRs.open query, adoconn, adopenstatic, adlockreadonly + + If AdoRs.RecordCount > 0 Then + %> + + <% + For i = 0 To AdoRs.fields.count - 1 + %> + + <% + Next + %> + + <% + Else + %> + + + + <% + End If + + Do While Not AdoRs.Eof + %> + + <% + For i = 0 To AdoRs.fields.count - 1 ' ¿ø·¡ - 1 ¸¸ ÇØ¾ßµÇ´Âµ¥, ¸¶Áö¸· Ä÷³ cnt ¿¡ Detail È­¸é ¸µÅ©¸¦ °É±âÀ§ÇØ Á¶Á¤ + %> + + <% + Next + %> + + <% + AdoRs.MoveNext + Loop + %> +
<%= column_dic.Item(AdoRs.fields(i).Name)%> 
°Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù
<%= AdoRs.fields(i) %>
+
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/interviewer_work_day.asp b/inspection/interviewer_work_day.asp new file mode 100644 index 0000000..d6a0d69 --- /dev/null +++ b/inspection/interviewer_work_day.asp @@ -0,0 +1,97 @@ + +<% + dim Query + dim adors + dim new_id : new_id = request("new_id") + + set adors = server.CreateObject("adodb.recordset") +%> + + + + + + + + + + + + + <% + Query = "" + Query = Query & " SELECT max(div) as div, date FROM " & Vbcrlf + Query = Query & " ( " & Vbcrlf + Query = Query & " SELECT '³»±ÙÁ÷ ¾÷¹«ÀÏÁö' as div, date FROM neakeun_in_out_time WHERE neakeun_name = (SELECT top 1 m_name FROM man where new_id = '" & new_id & "') UNION ALL " & Vbcrlf + Query = Query & " SELECT 'CATI ·Î±×ÀÎ' as div, login_date AS date FROM new_cati.dbo.login WHERE myun_id = (SELECT top 1 id FROM man where new_id = '" & new_id & "') UNION ALL " & Vbcrlf + Query = Query & " SELECT 'K-FCS(°ËÁõ)' as div, r_date as date FROM res WHERE m_no = '" & new_id & "' " & Vbcrlf + + Query = Query & " ) T " & Vbcrlf + Query = Query & " GROUP BY date " & Vbcrlf + Query = Query & " ORDER BY date " & Vbcrlf + + adors.open Query, adoconn, 1 + %> +
+ <% If adors.recordCount > 0 Then %> +
+ <% adors.moveFirst %><%= adors("date")%> ~ <% adors.moveLast %><%= adors("date")%> (ÃÑ <%= adors.recordCount%>ÀÏ) +
+
+ <% + adors.moveFirst + Do While Not adors.Eof + %> +
<%= adors("div")%>
-
<%= adors("date") %>

+ <% + adors.MoveNext + Loop + %> +
+ <% End If %> +
+ + +<% + set adors = nothing + +%> \ No newline at end of file diff --git a/inspection/manJson.asp b/inspection/manJson.asp new file mode 100644 index 0000000..8ee4777 --- /dev/null +++ b/inspection/manJson.asp @@ -0,0 +1,29 @@ + +<% + + + manIDs = request("mans") + Dim resultJson + resultJson = "[" + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT new_id, m_name, LEFT(m_jumin, 6) AS m_jumin " + query = query & " FROM MAN " + query = query & " WHERE new_id IN ('" & replace(manIDs, ",", "','") & "') " + + Rs.Open query, adoConn, 1 + do while not Rs.eof + resultJson = resultJson & "{""id"":""" & Rs("new_id") & """,""name"":""" & Rs("m_name") & """,""birth"":""" & Rs("m_jumin") & """}" + Rs.movenext + if not Rs.eof then + resultJson = resultJson & "," + end if + loop + Rs.close + resultJson = resultJson & "]" + Response.Write resultJson +%> \ No newline at end of file diff --git a/inspection/money_list_2015.asp b/inspection/money_list_2015.asp new file mode 100644 index 0000000..ae57c38 --- /dev/null +++ b/inspection/money_list_2015.asp @@ -0,0 +1,271 @@ + +<% +dim command +command = Request("command") + +dim p_field_date +dim pay_month +dim sel_sv + +p_field_date = request("p_field_date") +pay_month = LEFT((DateAdd("m",1,p_field_date)), 7) +sel_sv = request("sel_sv") + +if command <> "excel" then + query = "select * from person " + query = query & "where ( p_depart='12' and p_job_part = '03' AND p_resign='0' and isnull(krc_in_date,'') <> '')" 'sv + query = query & " order by p_depart, p_order " + 'response.Write query + adors.open query, adoconn, adopenstatic, adlockreadonly + Max_person = 0 + redim person_table(adors.recordcount,3) + do while not adors.eof + Max_person = Max_person + 1 + person_table(Max_person,1) = adors("p_no") + person_table(Max_person,2) = adors("p_name") + person_table(Max_person,3) = adors("p_security") + adors.movenext + loop + adors.close +%> + + +
+ + +
+

¼ö´ç °ü¸®

+
+ + +
+
+
+
+
+<% +End if +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=¼ö´ç¿ë³»±ÙÁ÷¸®½ºÆ®.xls" +end if +%> +
+ <%if command <> "excel" then%> + + + + + +
ÀÏÀÚ + + + + +
+ <% end if %> + <% if command <> "" then %> + + + + + + + + + + + + + + + + + + + + + + <% + sql = sql & " SELECT *, " & vbCrlf + sql = sql & " CASE " & vbCrlf + sql = sql & " WHEN p_subject LIKE '%KRC%' THEN 'KRC' " & vbCrlf + sql = sql & " WHEN p_subject LIKE '%KRD%' THEN 'KRD' " & vbCrlf + sql = sql & " ELSE 'KRI' " & vbCrlf + sql = sql & " END AS comp " & vbCrlf + sql = sql & " FROM ( " & vbCrlf + sql = sql & " SELECT '³»±ÙÁ÷' AS m_n, " & vbCrlf + sql = sql & " TMP.m_name, " & vbCrlf + sql = sql & " LEFT(m.M_JUMIN, 6) + '-' + RIGHT(m.M_JUMIN, 7) AS M_JUMIN, " & vbCrlf + sql = sql & " M.m_mobile, " & vbCrlf + sql = sql & " b.b_fullname, " & vbCrlf + sql = sql & " m.m_b_no, " & vbCrlf + sql = sql & " TMP.p_sn, " & vbCrlf + sql = sql & " TPM.p_subject, " & vbCrlf + sql = sql & " work_dt, " & vbCrlf + sql = sql & " D.d_write_date, " & vbCrlf + sql = sql & " s_gubun, " & vbCrlf + sql = sql & " s_pay_unit, " & vbCrlf + sql = sql & " s_wan, " & vbCrlf + sql = sql & " s_sum, " & vbCrlf + sql = sql & " CONVERT(VARCHAR(15), insert_dt, 23) AS insert_dt, " & vbCrlf + sql = sql & " p.p_name, " & vbCrlf + sql = sql & " ISNULL(tmp.attribute05, ' ') AS attribute05 " & vbCrlf + sql = sql & " FROM t_neakeun_pay TMP WITH(NOLOCK) " & vbCrlf + sql = sql & " LEFT OUTER JOIN neakeun_work NW WITH(NOLOCK) " & vbCrlf + sql = sql & " ON TMP.attribute01 = CAST(NW.id AS VARCHAR) " & vbCrlf + sql = sql & " LEFT OUTER JOIN T_PROJECT_METHOD TPM " & vbCrlf + sql = sql & " ON TMP.p_sn = TPM.p_child_sn " & vbCrlf + sql = sql & " LEFT OUTER JOIN person P WITH(NOLOCK) " & vbCrlf + sql = sql & " ON TMP.insert_user = p.p_no " & vbCrlf + sql = sql & " LEFT OUTER JOIN man M WITH(NOLOCK) " & vbCrlf + sql = sql & " ON LEFT(tmp.m_jumin, 6) = LEFT(m.m_jumin, 6) " & vbCrlf + sql = sql & " AND TMP.m_name = m.m_name " & vbCrlf + sql = sql & " LEFT OUTER JOIN bank B WITH(NOLOCK) " & vbCrlf + sql = sql & " ON m.M_bank = b.b_code " & vbCrlf + sql = sql & " LEFT OUTER JOIN Document D WITH(NOLOCK) " & vbCrlf + sql = sql & " ON ISNULL(TMP.attribute05, '') = D.d_no " & vbCrlf + sql = sql & " WHERE D.d_order_cnt = '77' " & vbCrlf + sql = sql & " AND ( " & vbCrlf + sql = sql & " (work_dt BETWEEN CAST(DATEADD(m, -1, CAST('2024-07-26' AS DATE)) AS VARCHAR) AND '2024-07-25' " & vbCrlf + sql = sql & " AND NW.in_time + NW.out_time + NW.p_sebu_code <> '000000004') " & vbCrlf + sql = sql & " OR (D.d_write_date BETWEEN '2024-07-06' AND CAST(DATEADD(m, 1, CAST('2024-07-05' AS DATE)) AS VARCHAR) " & vbCrlf + sql = sql & " AND NW.in_time + NW.out_time + NW.p_sebu_code = '000000004') " & vbCrlf + sql = sql & " ) " & vbCrlf + sql = sql & " UNION ALL " & vbCrlf + sql = sql & " SELECT '¸éÁ¢¿ø' AS m_n, " & vbCrlf + sql = sql & " TMP.m_name, " & vbCrlf + sql = sql & " LEFT(m.M_JUMIN, 6) + '-' + RIGHT(m.M_JUMIN, 7) AS M_JUMIN, " & vbCrlf + sql = sql & " M.m_mobile, " & vbCrlf + sql = sql & " b.b_fullname, " & vbCrlf + sql = sql & " m.m_b_no, " & vbCrlf + sql = sql & " TMP.p_sn, " & vbCrlf + sql = sql & " TPM.p_subject, " & vbCrlf + sql = sql & " TMP.work_dt, " & vbCrlf + sql = sql & " D.d_write_date, " & vbCrlf + sql = sql & " s_gubun, " & vbCrlf + sql = sql & " s_pay_unit, " & vbCrlf + sql = sql & " s_wan + ISNULL(add_count, 0) AS s_wan, " & vbCrlf + sql = sql & " s_sum, " & vbCrlf + sql = sql & " CONVERT(VARCHAR(15), insert_dt, 23) AS insert_dt, " & vbCrlf + sql = sql & " p.p_name, " & vbCrlf + sql = sql & " ISNULL(TMP.attribute05, ' ') AS attribute05 " & vbCrlf + sql = sql & " FROM t_myun_pay TMP WITH(NOLOCK) " & vbCrlf + sql = sql & " LEFT OUTER JOIN T_PROJECT_METHOD TPM WITH(NOLOCK) " & vbCrlf + sql = sql & " ON TMP.p_sn = TPM.p_child_sn " & vbCrlf + sql = sql & " LEFT OUTER JOIN person P WITH(NOLOCK) " & vbCrlf + sql = sql & " ON TMP.insert_user = p.p_no " & vbCrlf + sql = sql & " LEFT OUTER JOIN man M WITH(NOLOCK) " & vbCrlf + sql = sql & " ON LEFT(tmp.m_jumin, 6) = LEFT(m.m_jumin, 6) " & vbCrlf + sql = sql & " AND TMP.m_name = m.m_name " & vbCrlf + sql = sql & " LEFT OUTER JOIN bank B WITH(NOLOCK) " & vbCrlf + sql = sql & " ON m.M_bank = b.b_code " & vbCrlf + sql = sql & " LEFT OUTER JOIN Document D WITH(NOLOCK) " & vbCrlf + sql = sql & " ON ISNULL(TMP.attribute05, '') = D.d_no " & vbCrlf + sql = sql & " WHERE TMP.confirm_yn = 'Y' " & vbCrlf + sql = sql & " AND s_sum <> '0' " & vbCrlf + sql = sql & " AND D.d_order_cnt = '77' " & vbCrlf + sql = sql & " AND D.d_write_date BETWEEN '2024-07-06' AND CAST(DATEADD(m, 1, CAST('2024-07-05' AS DATE)) AS VARCHAR) " & vbCrlf + sql = sql & " ) T " & vbCrlf + sql = sql & " ORDER BY p_sn, s_gubun; " & vbCrlf + ' response.Write sql + AdoRs.open sql, adoconn, adopenstatic, adLockReadOnly + for i=1 to adors.recordcount + %> + + + + + + + + + + + + + + + + + + + + + <% + adors.movenext + next + AdoRs.close + %> +
ȸ»çÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸í¸éÁ¢¿øÁֹιøÈ£¾÷¹«´Ü°¡¼ö·®Ãѱݾױٹ«³¯Â¥ÁöÃâ°áÀÇÀÏÀüÈ­¹øÈ£ÀºÇà¸í°èÁ¹øÈ£ÀÔ·ÂÀÚÀԷ³¯Â¥°áÀç¹®¼­¹øÈ£±¸ºÐ
<%=adors("comp") %><%=adors("p_sn") %><%=adors("p_subject") %><%=adors("m_name") %><%=adors("M_JUMIN") %><%=adors("s_gubun") %><%=adors("s_pay_unit") %><%=adors("s_wan") %><%=adors("s_sum") %><%=adors("work_dt") %><%=adors("d_write_date") %><%=adors("m_mobile") %><%=adors("b_fullname") %>'<%=adors("m_b_no") %><%=adors("p_name") %><%=adors("insert_dt") %><%=adors("attribute05") %><%=adors("m_n") %>
+ <% end if %> +
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/myun_neakeun_state.asp b/inspection/myun_neakeun_state.asp new file mode 100644 index 0000000..1dabb70 --- /dev/null +++ b/inspection/myun_neakeun_state.asp @@ -0,0 +1,211 @@ + +<% +dim command +command = Request("command") + +p_sn = request("p_sn") +work_type = request("work_type") +neakeun_jumin = request("neakeun_jumin") +neakeun_name = request("neakeun_name") +work_date_st = request("work_date_st") +work_date_ed = request("work_date_ed") + +if work_date_st = "" or isnull(work_date_st) then + work_date_st = date() +end if +if work_date_ed = "" or isnull(work_date_ed) then + work_date_ed = date() +end if + +dim sum_job_add_time +dim sum_all_work_time +dim sum_job_lunch_time +dim sum_job_dinner_time +dim sum_expected_pay + +if command <> "excel" then +%> + + +
+ +
+

³»±ÙÁ÷º° Áö±Þ´©°è

+
+ + +
+
+
+
+
+<% +End If + +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=³»±ÙÁ÷º°_Áö±Þ´©°è.xls" +end if +%> + <%if command <> "excel" then%> + <% Dim f_menu : f_menu = "np" %> + + <%End If%> +
+ + <%if command <> "excel" then%> + + + + + + + + + + <% + query = " select *" + query = query & " from direct_costcode " + query = query & " where d_cost_kind = 'field' " + query = query & " and d_cost_useyn = 'y' " + query = query & " and d_cost_parents = '2' " + Adors.Open query, adoConn, 1 + %> + + + + + + + <%end if %> + <% if command <> "" then %> + + + + <% end if %> +
»ý³â¿ùÀÏÀ̸§
±Ù¹« ÀÏÀÚ + +   ~   + + ¾÷¹« + +
+ +

+
+ + + + + + + + + + + <% + '--ÇÁ·ÎÁ§Æ® º° ³»±ÙÁ÷ ¼Ò¿äºñ¿ë °Ë»ö-Á¾·á ÇÁ·ÎÁ§Æ® + query = " select neakeun_jumin, neakeun_name " + query = query & " , sum(job_add_time) as job_add_time " + query = query & " , round(sum(job_in_time),2) as job_total_time " + query = query & " , sum(isnull(convert(int, job_lunch_yn), 0)) as job_lunch_yn " + query = query & " , sum(isnull(convert(int, job_dinner_yn), 0)) as job_dinner_yn " + query = query & " , s_sum " + query = query & " from ( " + query = query & " select neakeun_jumin, neakeun_name, date " + query = query & " , sum(convert(float, job_add_time)) as job_add_time " + query = query & " , sum(job_in_time) as job_in_time " + query = query & " , job_lunch_yn " + query = query & " , job_dinner_yn " + query = query & " from neakeun_work " + query = query & " where job_confirm_yn = 'Y' and date between '"&work_date_st&"' and '"&work_date_ed&"' " + if work_type <> "" then + query = query & " AND p_sebu_code = '"&work_type&"' " + end if + query = query & " group by neakeun_jumin, neakeun_name, date, job_lunch_yn, job_dinner_yn " + query = query & " ) as T left outer join ( " + query = query & " select m_name, m_jumin, SUM(s_sum) as s_sum " + query = query & " from t_neakeun_pay " + query = query & " where work_dt between '"&work_date_st&"' and '"&work_date_ed&"' " + query = query & " group by m_name, m_jumin " + query = query & " ) tmp on t.neakeun_jumin = tmp.m_jumin and t.neakeun_name = tmp.m_name " + query = query & " where neakeun_jumin != '' " + if neakeun_jumin <> "" then + query = query & " AND left(neakeun_jumin, 7) like '%"&neakeun_jumin&"%' " + end if + if neakeun_name <> "" then + query = query & " AND neakeun_name like '%"&neakeun_name&"%' " + end if + query = query & " group by neakeun_jumin, neakeun_name, s_sum " + query = query & " order by neakeun_name " + + Adors.open query,adoconn,1 + + sum_job_add_time = 0 + sum_all_work_time = 0 + sum_job_lunch_time = 0 + sum_job_dinner_time = 0 + sum_expected_pay = 0 + + for i=1 to Adors.recordcount + if not isnull(Adors("neakeun_jumin")) then + sum_job_add_time = sum_job_add_time + Adors("job_add_time") + sum_all_work_time = sum_all_work_time + Adors("job_total_time") + sum_job_lunch_time = sum_job_lunch_time + Adors("job_lunch_yn") + sum_job_dinner_time = sum_job_dinner_time + Adors("job_dinner_yn") + sum_expected_pay = sum_expected_pay + Adors("s_sum") + end if + %> + + + + + + + + + + <% Adors.movenext + next + Adors.close + %> + + + + + + + + +
»ý³â¿ùÀÏÀ̸§°¡°¨³»¿ªÃÑÅõÀԽð£Á߽﮽ÄÁö±Þ¿¹Á¤ºñ¿ë
<%= left(Adors("neakeun_jumin"), 7)%><%= Adors("neakeun_name")%><%= Adors("job_add_time")%><%= Adors("job_total_time")%><%= Adors("job_lunch_yn")%><%= Adors("job_dinner_yn")%><%= formatnumber(Adors("s_sum"),0)%>
ÃÑ ÇÕ°è<%= sum_job_add_time%><%= sum_all_work_time%><%= sum_job_lunch_time%><%= sum_job_dinner_time%><%= formatnumber(sum_expected_pay,0)%>
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/n_etc_list.xlsx b/inspection/n_etc_list.xlsx new file mode 100644 index 0000000..d15c5f2 Binary files /dev/null and b/inspection/n_etc_list.xlsx differ diff --git a/inspection/n_work_status.asp b/inspection/n_work_status.asp new file mode 100644 index 0000000..d69cd2b --- /dev/null +++ b/inspection/n_work_status.asp @@ -0,0 +1,361 @@ + +<% +dim command +command = Request("command") + +s_date_st = request("s_date_st") +s_date_end = request("s_date_end") +s_name = request("s_name") +s_work = request("s_work") +s_p_sn = request("s_p_sn") +s_p_subject = request("s_p_subject") +s_column = replace(request("s_column"), " ", "") + +Dim column_dic +Set column_dic = Server.CreateObject("Scripting.Dictionary") +With column_dic + .Add "p_child_sn", "ÇÁ·ÎÁ§Æ®ÄÚµå" + .Add "p_subject", "ÇÁ·ÎÁ§Æ®¸í" + .Add "prj_code", "CATIÄÚµå" + .Add "new_id", "¸éÁ¢¿øID" + .Add "log_user_name", "¸éÁ¢¿ø¸í" + .Add "log_date", "¾÷¹«ÀÏÀÚ" + .Add "in_time", "Ãâ±Ù½Ã°£" + .Add "out_time", "Åð±Ù½Ã°£" + .Add "first_call", "ùCall" + .Add "Last_call", "¸¶Áö¸·Call" + .Add "¿Ï·á", "¿Ï·á" + .Add "¿¡·¯", "¿¡·¯" + .Add "Áß´Ü", "Áß´Ü" + .Add "ÄõÅÍ¿À¹ö", "ÄõÅÍ¿À¹ö" + .Add "°ÅÀý", "°ÅÀý" + .Add "´ë»óÀھƴÔ", "´ë»óÀھƴÔ" + .Add "°á¹ø", "°á¹ø" + .Add "ºñ¼ö½Å", "ºñ¼ö½Å" + .Add "ÅëÈ­Áß", "ÅëÈ­Áß" + .Add "ºÎÀçÁß", "ºÎÀçÁß" +End With + +if command <> "excel" then +%> + + +
+ + +
+

CATI ¸éÁ¢¿ø ÇöȲ

+
+ + +
+
+
+
+
+<% +End If +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=CATI_Status.xls" +end if +%> +
+ + + + + <% If command <> "excel" Then %> + + + + + + + + + + + + + + + + + + + + + <% End if %> + <% if command <> "" Then %> + + + + <% End if %> +
±â °£ + + ~ + + ¸éÁ¢¿ø ¼º¸í + +
ÇÁ·ÎÁ§Æ® ÄÚµå + + ÇÁ·ÎÁ§Æ® ¸í + +
Áý°è Column ¼±Åà + + + + +
°Ë»ö ½Ã 1ºÐ¿¡¼­ 10ºÐ °¡·® ¼Ò¿äµÉ ¼ö ÀÖ½À´Ï´Ù + + +
+
+ + <% + query = " SELECT " + if s_column <> "" Then + query = query & " " & s_column & ", " + else + query = query & " p_child_sn, p_subject, prj_code, new_id, log_user_name, log_date, in_time, out_time, first_call, Last_call, " + End if + query = query & " SUM(¿Ï·á) as ¿Ï·á, SUM(¿¡·¯) as ¿¡·¯, SUM(Áß´Ü) as Áß´Ü, SUM(ÄõÅÍ¿À¹ö) as ÄõÅÍ¿À¹ö, SUM(°ÅÀý) as °ÅÀý, " + query = query & " SUM(´ë»óÀھƴÔ) as ´ë»óÀھƴÔ, SUM(°á¹ø) as °á¹ø, SUM(ºñ¼ö½Å) as ºñ¼ö½Å, SUM(ÅëÈ­Áß) as ÅëÈ­Áß, SUM(ºÎÀçÁß) as ºÎÀçÁß " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT c.p_child_sn, c.p_subject, a.prj_code, " + query = query & " a.log_user, (SELECT TOP 1 new_id FROM man WHERE id = a.log_user) AS new_id, a.log_user_name, a.log_date, " + query = query & " a.in_time, a.out_time, a.first_call, a.Last_call, " + query = query & " ¿Ï·á, ¿¡·¯, Áß´Ü, ÄõÅÍ¿À¹ö, °ÅÀý, ´ë»óÀھƴÔ, °á¹ø, ºñ¼ö½Å, ÅëÈ­Áß, ºÎÀçÁß " + query = query & " FROM V_Cati_callcount a LEFT JOIN new_cati.dbo.project b " + query = query & " ON a.prj_code = b.prj_code LEFT JOIN project2.dbo.T_project_method c " + query = query & " ON b.intranet_project = c.p_child_sn " + query = query & " WHERE a.log_date BETWEEN '" & s_date_st & "' AND '" & s_date_end & "' " + query = query & " ) T " + If s_name <> "" Then + query = query & " AND log_user_name LIKE '%" & s_name & "%' " + End If + If s_p_sn <> "" Then + query = query & " AND p_child_sn LIKE '" & s_p_sn & "%' " + End If + If s_p_subject <> "" Then + query = query & " AND p_subject LIKE '%" & s_p_subject & "%' " + End If + if s_column <> "" Then + query = query & " GROUP BY " & s_column & " " + query = query & " ORDER BY " & s_column & " " + Else + query = query & " GROUP BY p_child_sn, p_subject, prj_code, new_id, log_user_name, log_date, in_time, out_time, first_call, Last_call " + query = query & " ORDER BY p_child_sn, p_subject, prj_code, new_id, log_user_name, log_date, in_time, out_time, first_call, Last_call " + End if + 'response.Write query + AdoRs.open query, adoconn, adopenstatic, adlockreadonly + + Dim all_cnt + If AdoRs.RecordCount > 0 Then + %> + + <% + For i = 0 To AdoRs.fields.count - 1 + %> + <%If column_dic.Item(AdoRs.fields(i).Name)="¿Ï·á" Then %> + + <%End If %> + + + <% + Next + %> + + <% + Else + %> + + + + <% + End If + + Do While Not AdoRs.Eof + %> + + <% + For i = 0 To AdoRs.fields.count - 1 + If column_dic.Item(AdoRs.fields(i).Name) = "¿Ï·á" Then + all_cnt = 0 + all_cnt = Adors("¿Ï·á") + Adors("¿¡·¯") + Adors("Áß´Ü") + Adors("ÄõÅÍ¿À¹ö") +Adors("°ÅÀý") + Adors("´ë»óÀھƴÔ")+ Adors("°á¹ø")+ Adors("°ÅÀý")+ Adors("ÅëÈ­Áß")+ Adors("ºÎÀçÁß") + %> + + <% + End If + %> + + <% + Next + %> + + <% + AdoRs.MoveNext + Loop + %> +
ÃÑ Count <%= column_dic.Item(AdoRs.fields(i).Name) %> 
°Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù
<%= all_cnt %><%= AdoRs.fields(i) %>
+
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/neakeun_del_ajax.asp b/inspection/neakeun_del_ajax.asp new file mode 100644 index 0000000..707d456 --- /dev/null +++ b/inspection/neakeun_del_ajax.asp @@ -0,0 +1,93 @@ + + + +<% +Response.CharSet = "EUC-KR" + +dim gubun : gubun = Request("gubun") +dim n_id : n_id = Request("n_id") +dim n_pay_id : n_pay_id = Request("n_pay_id") +dim prj_code : prj_code = Request("prj_code") +dim n_name : n_name = replace(unescape(Request("n_name"))," ","") +dim n_birth : n_birth = Request("n_birth") +dim e_gubun : e_gubun = unescape(Request("n_gubun")) +dim n_date : n_date = Request("n_date") +dim n_cnt : n_cnt = Request("n_cnt") +dim p_danga : p_danga = Request("p_danga") +dim add1 : add1 = Request("n_add1") +dim add2 : add2 = Request("n_add2") +dim p_sum : p_sum = Request("p_sum") +dim p_etc : p_etc = unescape(Request("p_etc")) +dim n_gubun +dim insert_ok +Dim json_obj +Dim etc_ok, etc_cnt + +Select case gubun + case "p" + n_gubun = "ÆÝÄ¡" + case "v1" + n_gubun = "°ËÁõ" + case "v2" + n_gubun = "°¨Ã»" + case "e" + n_gubun = e_gubun + etc_ok = "ETC" +End Select + + if etc_ok = "ETC" Then + query = " Select count(*) as cnt from project2.dbo.t_neakeun_pay where attribute01 = '" & n_id & "'" + Rs.open query, adoconn, adopenstatic, adlockreadonly + + If not rs.eof Then + etc_cnt = rs("cnt") + Else + etc_cnt = 0 + End If + + Rs.close + Else + etc_cnt = 1 + End If + + set json_obj = jsObject() + + on error resume next + 'NÀ¸·Î º¯°æ + + If Cint(etc_cnt) < 2 Then + query = " delete from project2.dbo.neakeun_work " + query = query&" where neakeun_jumin = '" & n_birth & "0000000' and neakeun_name = '" & n_name & "' " + query = query&" and p_child_sn = '" & prj_code & "' and date = '" & n_date & "' " + query = query&" and p_sebu='" & n_gubun & "' and id = '" & n_id & "' " + if etc_ok = "ETC" then + query = query&" and workload='" & etc_ok & "' " + End If + AdoConn.Execute query '»èÁ¦ + + if Err.Number <> 0 Then + json_obj("err1") = Err.description + End If + End If + + query = " delete from project2.dbo.t_neakeun_pay " + query = query&" where m_jumin = '" & n_birth & "0000000' and m_name = '" & n_name & "' " + query = query&" and p_sn = '" & prj_code & "' and work_dt = '" & n_date & "' " + query = query&" and s_gubun='" & n_gubun & "' and attribute01 = '" & n_id & "' and id = '" & n_pay_id & "' " + if etc_ok = "ETC" then + query = query&" and attribute02='" & etc_ok & "' " + End If + AdoConn.Execute query '»èÁ¦ + if Err.Number <> 0 then + insert_ok = "0" 'insert ½ÇÆÐ + json_obj("err2") = Err.description + else + insert_ok = "1" 'insert ¼º°ø + end if + + on error goto 0 + 'Response.Write query + json_obj("ok") = insert_ok + json_obj("id") = "" + Response.Write toJSON(json_obj) +%> diff --git a/inspection/neakeun_save_ajax.asp b/inspection/neakeun_save_ajax.asp new file mode 100644 index 0000000..73857f9 --- /dev/null +++ b/inspection/neakeun_save_ajax.asp @@ -0,0 +1,172 @@ + + +<% +Response.CharSet = "EUC-KR" + +dim gubun : gubun = Request("gubun") +dim prj_code : prj_code = Request("prj_code") +dim n_name : n_name = replace(unescape(Request("n_name"))," ","") +dim n_birth : n_birth = Request("n_birth") +dim e_gubun : e_gubun = unescape(Request("n_gubun")) +dim n_date : n_date = Request("n_date") +dim n_cnt : n_cnt = Request("n_cnt") '½Ã°£(ºÎ¼ö) +dim p_danga : p_danga = Request("p_danga") '´Ü°¡ +dim add1 : add1 = Request("n_add1") +dim add2 : add2 = Request("n_add2") +dim p_sum : p_sum = Request("p_sum") +dim p_etc : p_etc = unescape(Request("p_etc")) +dim err_chk : err_chk = Request("err_chk") +dim no_chk : no_chk = Request("no_chk") +dim n_gubun, n_gubun_cd +dim insert_ok, select_ok1, select_ok2, select_ok +Dim id, pay_id +Dim json_obj +dim etc_ok +n_birth = Cstr(n_birth) + +set json_obj = jsObject() + +Select case gubun + case "p" + n_gubun = "ÆÝÄ¡" + case "v1" + n_gubun = "°ËÁõ" + case "v2" + n_gubun = "°¨Ã»" + case "e" + n_gubun = e_gubun + etc_ok = "ETC" +End Select + + query = " select d_cost_code from project2.dbo.direct_costcode where d_cost_kind='field' and d_cost_name = '" & n_gubun & "' and d_cost_useyn = 'Y' " + Rs.open query, adoconn, adopenstatic, adlockreadonly + if not rs.eof then + n_gubun_cd = Rs("d_cost_code") + end if + Rs.close + + query = "select * from project2.dbo.neakeun_work where p_child_sn = '" & prj_code & "' and neakeun_name = '" & n_name & "' and neakeun_jumin = '" & n_birth & "0000000' and date = '" & n_date & "' and p_sebu = '" & n_gubun & "' " + If etc_ok = "ETC" Then + query = query&"and workload = '" & etc_ok & "' " + Else + query = query&"and ISNULL(workload, '') = '' " + End IF + Rs.open query, adoconn, adopenstatic, adlockreadonly + if not Rs.eof Then + select_ok1 = 1 + id = Rs("id") + Else + select_ok1 = 0 + End If + Rs.close + + query = "select * from project2.dbo.t_neakeun_pay where p_sn = '" & prj_code & "' and m_name = '" & n_name & "' and m_jumin = '" & n_birth & "0000000' and work_dt = '" & n_date & "' and s_gubun = '" & n_gubun & "' " + If etc_ok = "ETC" Then + query = query&"and attribute02 = '" & etc_ok & "' " + Else + query = query&"and ISNULL(attribute02, '') = '' " + End IF + Rs.open query, adoconn, adopenstatic, adlockreadonly + if not Rs.eof Then + pay_id = Rs("id") + select_ok2 = 2 + Else + select_ok2 = 0 + End If + Rs.close + + select_ok = select_ok1 + select_ok2 + + on error resume next + + If select_ok = 2 or select_ok = 0 Then + query = "Set NoCount On " + query = query&" Insert into project2.dbo.neakeun_work " + query = query&" (neakeun_jumin, neakeun_name, p_sn, p_sebu, date, yoil, in_time, out_time, job_in_time, job_out_time, job_jumal_time, " + query = query&" insert_date, insert_time, insert_ip, p_sv_no, p_sv_main, p_child_sn, job_start_time, job_end_time, job_total_time, job_lunch_yn, " + query = query&" job_dinner_yn, job_confirm_yn, p_sebu_code, job_add_time, job_add_time_memo, workload, extra_pay1, extra_pay2 " + query = query&" ) values (" + query = query&"'" & n_birth & "0000000', "'neakeun_jumin + query = query&"'" & n_name & "', "'neakeun_name + query = query&"'" & left(prj_code,7) & "', "'p_sn + query = query&"'" & n_gubun & "', "'p_sebu + query = query&"'" & n_date & "', "'date + query = query&"DATENAME(DW,'" & n_date & "'), "'yoil + query = query&"'0000', "'in_time + query = query&"'0000', "'out-time + query = query&"'0', "'job_in_time + query = query&"'0', "'job_out_time + query = query&"'0', "'job_jumal_time + query = query&"CONVERT(CHAR(10), GETDATE(), 23), "'insert_date + query = query&"CONVERT(CHAR(5), GETDATE(), 8), "'insert_time + query = query&"'" & Request.ServerVariables("remote_host") & "', "'insert_ip + query = query&"'" & Session("User_Number") & "', "'p_sv_no + query = query&"'" & Session("User_Number") & "', "'p_sv_main + query = query&"'" & prj_code & "', "'p_child_sn + query = query&"'1000', "'job_start_time + query = query&"'2400', "'job_end_time + query = query&"'0', "'job_total_time + query = query&"'', " + query = query&"'', " + query = query&"'Y', "'job_Confirm_yn + query = query&"'" & n_gubun_cd & "', "'job_sebu_code + query = query&"'', "'job_add_time + query = query&"'" & p_etc & "', "'job_add_time_memo + query = query&"'" & etc_ok & "', "'±âŸ ¼ö´ç + query = query&"'" & add1 & "', "'±âŸ ¼ö´ç + query = query&"'" & add2 & "' "'±âŸ ¼ö´ç + query = query&" ) " + query = query&" select @@IDENTITY as ID " + query = query&" Set NoCount off " + + Rs.Open query, adoConn, adOpenForwardOnly, adLockReadOnly, adCmdText + If Not(Rs.Eof Or Rs.Bof) Then + id = Rs(0) + End If + Rs.Close + End If + If select_ok <> 2 Then + query = "Set NoCount On " + query = query & " insert into project2.dbo.t_neakeun_pay (p_sn, m_name, m_jumin, work_dt, s_ot, s_gubun, s_pay_unit, s_wan, s_sum, s_time_style, pay_type, pay_month, insert_dt, insert_user, attribute01, attribute02, chk1, chk2) " + query = query & " values (" + query = query & "'" & prj_code & "', " 'p_sn + query = query & "'" & n_name & "', " 'm_name + query = query & "'" & n_birth & "0000000', " 'm_jumin + query = query & "'" & n_date & "', " 'work_dt + query = query & "'" & 0 & "', " 's_ot + query = query & "'" & n_gubun & "', " 's_gubun ±¸ºÐ + query = query & "'" & p_danga & "', "'s_pay_unit ´Ü°¡ + query = query & "'" & n_cnt & "', " 's_wan ºÎ¼ö + query = query & "'" & CDbl(Formatnumber(p_sum, 0)) & "', "'s_sum ÇÕ°è + query = query & "'" & "" & "', " 's_time_style + query = query & "'1', " 'pay_type 1 : ³»±ÙÁ÷, 2 : ¸éÁ¢¿ø + query = query & "'" & "" & "', " 'pay_month + query = query & "getdate(), " 'insert_dt + query = query & "'" & Session("User_Number") & "', "'insert_user + query = query & "'" & id & "', " 'attribute01 neakeun_workÀÇ ID + query = query & "'" & etc_ok & "', "'±âŸ ¼ö´ç + query = query & "'" & err_chk & "', "'±âŸ ¼ö´ç + query = query & "'" & no_chk & "') "'±âŸ ¼ö´ç + query = query &" select @@IDENTITY as ID " + query = query &" Set NoCount off " + Rs.Open query, adoConn, adOpenForwardOnly, adLockReadOnly, adCmdText + If Not(Rs.Eof Or Rs.Bof) Then + pay_id = Rs(0) + End If + Rs.Close + End If + + if Err.Number <> 0 then + insert_ok = 0 'insert ½ÇÆÐ + json_obj("err") = Err.description + else + insert_ok = 1 'insert ¼º°ø + end if + + on error goto 0 + + json_obj("ok") = insert_ok + json_obj("id") = id + json_obj("pay_id") = pay_id + Response.Write toJSON(json_obj) +%> diff --git a/inspection/neakeun_status1.asp b/inspection/neakeun_status1.asp new file mode 100644 index 0000000..08c6f1f --- /dev/null +++ b/inspection/neakeun_status1.asp @@ -0,0 +1,177 @@ + +<% +dim command, txtmonth, search_year, search_month, Curr_date +dim cnt +dim Query +dim Last_day + +command = Request("command") +txtmonth = request("txtmonth") +if txtmonth = "" then + txtmonth = mid(cdate(date),1,7) +end if +search_year = left(txtmonth, 4) +search_month = right(txtmonth, 2) +Curr_date = FormatDateTime(date,0) +Last_day = Day(DateSerial(search_year, search_month + 1, 0)) ''±×´ÞÀÇ ¸¶Áö¸· ³¯Â¥ ±¸Çϱâ + +if command <> "excel" then +%> + + +
+ + +
+

³»±ÙÁ÷ ±ÙÅÂÇöȲ

+
+ + +
+
+
+
+
+<% +End If +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=" & replace(txtmonth,"-","³â") & "¿ù_³»±ÙÁ÷_±ÙÅÂÇöȲ.xls" +end if + if command <> "excel" then + %> + <% Dim f_menu : f_menu = "nk" %> + + <% + End If + %> +
+ + <% + if command <> "excel" then + %> + + + + <% + end if + %> + <% + if command <> "" then + + query = " select * from neakeun_in_out_time " + query = query & " where substring(date,1,7) = '" & txtmonth & "'" + query = query & " order by date, neakeun_name " + 'Response.Write query & "
" + adors.open query, adoconn,adopenstatic, adlockreadonly + %> + + + + + + + <% + end if + %> +
¿ùº° º¸±â  + + + +
+ Á¶È¸ ±â°£ : <%=txtmonth%>-01 ¡­ <%=txtmonth%>-<%=zeroformat(last_day,2)%> +
+ + + + + + + + + + + <%do while not adors.EOF + %> + + + + + + + + + <% + adors.MoveNext + loop 'next jj + %> + +
À̸§»ý³â¿ùÀϳ¯Â¥¿äÀÏÃâ±Ù½Ã°¢Åð±Ù½Ã°¢
<%=adors("neakeun_name")%><%=left(adors("neakeun_jumin"), 6)%><%=adors("date")%>"><%=dayofweek(adors("date"))%><%=adors("in_time")%><%=adors("out_time")%>
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> + diff --git a/inspection/neakeun_status2_2014.asp b/inspection/neakeun_status2_2014.asp new file mode 100644 index 0000000..5986217 --- /dev/null +++ b/inspection/neakeun_status2_2014.asp @@ -0,0 +1,245 @@ + +<% +dim command, txtmonth +dim cnt +dim Query +dim end_date +dim sort_condi(4), sort_condi2 +sort_condi(1) = "ÇÁ·ÎÁ§Æ®¸í" +sort_condi(2) = "¼¼ºÎ±Ù¹«" +sort_condi(3) = "¸éÁ¢¿ø" +sort_condi(4) = "±Ù¹«³¯Â¥" +sort_condi2 = request("sort_condi") +command = request("command") +end_date = Request("end_date") +if end_date = "" then + end_date = mid(cdate(date),1,7) +end if + +if command <> "excel" then +%> + + +
+ + +
+

³»±ÙÁ÷ ¾÷¹«ÇöȲ

+
+ + +
+
+
+
+
+<% +End If +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=" & replace(txtmonth,"-","³â") & "¿ù_³»±ÙÁ÷_¾÷¹«ÇöȲ.xls" +end if + if command <> "excel" then + %> + <% Dim f_menu : f_menu = "nk" %> + + <% + End If + %> +
+ + <% + if command <> "excel" then + %> + + + + + + + <% + end if + + if command <> "" then + + '#### ÇÁ·Î½ÃÁ®¸¦ »ç¿ëÇÏ´Ù 10¿ù 31ÀÏÀÚ·Î »ç¿ë¾ÈÇÔ + query = " SELECT * " + query = query & " FROM ( " + query = query & " SELECT nw.p_sn, nw.p_child_sn, nw.p_sebu, nw.neakeun_name, nw.date, nw.yoil, nw.job_in_time, nw.job_out_time, nw.job_jumal_time, nw.in_time, nw.out_time, p.p_subject " + query = query & " FROM neakeun_work as nw INNER JOIN project as p ON nw.p_sn = p.p_sn " + query = query & " WHERE (p.p_field_end LIKE '" & end_date & "%') " + query = query & " UNION " + query = query & " SELECT nw.p_sn, nw.p_child_sn, nw.p_sebu, nw.neakeun_name, nw.date, nw.yoil, nw.job_in_time, nw.job_out_time, nw.job_jumal_time, nw.in_time, nw.out_time, TPM.p_subject " + query = query & " FROM neakeun_work as nw INNER JOIN T_PROJECT_METHOD as TPM ON nw.p_sn = TPM.p_sn AND nw.p_child_sn = TPM.p_child_sn " + query = query & " WHERE (TPM.p_field_date_end LIKE '" & end_date & "%') " + query = query & " ) A" + + if cint(sort_condi2) = 1 then + query = query & " order by A.p_subject" + elseif cint(sort_condi2) = 2 then + query = query & " order by A.p_sebu" + elseif cint(sort_condi2) = 3 then + query = query & " order by A.neakeun_name" + elseif cint(sort_condi2) = 4 then + query = query & " order by A.[date]" + end if + + Rs.open query, adoconn, adopenstatic, adlockreadonly + '#### ÇÁ·Î½ÃÁ® + %> + + + + <% + Rs.close + end if + %> +
¾÷¹«ÀÏÁö ±â·Ï ³»¿ª
°Ë»öÀº ¼±ÅÃÇÑ ÇØ´ç¿ù¿¡ Á¾·áµÇ´Â ÇÁ·ÎÁ§Æ®¿¡ ¹èÁ¤µÈ ³»±ÙÁ÷À» °Ë»ö
+ °Ë»ö Á¶°Ç : ½Ç»çÁ¾·á¿ùº°   + Á¤·ÄÁ¶°Ç + +    + ½Ç»çÁ¾·á¿ù + + + +
+ + + + + + + + + + + + + + + + + <% + do until Rs.eof + %> + + + + + + + + + + + + + + + <% + Rs.movenext + loop + %> + +
ÇÁ·ÎÁ§Æ®¸í [ÇÁ·ÎÁ§Æ®ÄÚµå]Á¶»çÄڵ弼ºÎ±Ù¹«À̸§³¯Â¥¿äÀϽ𣳻½Ã°£¿ÜÁÖ¸»ÇÕÃâ±ÙÅð±Ù
[<%=rs("p_sn")%>]  <%=rs("p_subject")%><%=rs("p_child_sn")%> + <% + if isnull(Rs("p_sebu")) = true then + Response.Write " " + else + Response.Write Rs("p_sebu") + end if + %> + <%=Rs("neakeun_name")%><%=Rs("date")%><%=Rs("yoil")%> + <% + sum = 0 + if isnull(Rs("job_in_time")) = true or Rs("job_in_time") ="" then + response.write " " + else + Response.write formatnumber(Rs("job_in_time") - Rs("job_out_time"),2) + sum = cdbl(sum) + cdbl(Rs("job_in_time") - Rs("job_out_time")) + end if + %> + + <% + if isnull(Rs("job_out_time")) = true or Rs("job_out_time") ="" then + response.write " " + else + Response.write formatnumber(Rs("job_out_time"),2) + sum = cdbl(sum) + cdbl(Rs("job_out_time")) + end if + %> + + <% + if isnull(Rs("job_jumal_time")) = true or Rs("job_jumal_time") ="" then + response.write " " + else + Response.write formatnumber(Rs("job_jumal_time"),2) + sum = cdbl(sum) + cdbl(Rs("job_jumal_time")) + end if + %> + <%=formatnumber(sum,2)%><%=Rs("in_time")%><%=Rs("out_time")%>
+ +
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> \ No newline at end of file diff --git a/inspection/neakeun_work_confirm.asp b/inspection/neakeun_work_confirm.asp new file mode 100644 index 0000000..c8d211a --- /dev/null +++ b/inspection/neakeun_work_confirm.asp @@ -0,0 +1,296 @@ + + +<% + command = request("command") + if command = "" then + command="view" + end if + p_field_date_month = request("p_field_date_month") + p_field_date_week = request("p_field_date_week") + + if p_field_date_month = "" then + p_field_date_month = LEFT(date, 7) + end if +%> + +
+ +
+

³»±ÙÁ÷ ±Ù¹«È®ÀÎ

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "nk" %> + +
+ + + + + + <% if command <> "" and p_field_date_month <> "" and p_field_date_week <> "" then %> + + + + <% end if %> +
ÀÏÀÚ + + + checked <% end if %>> Àüüº¸±â + + +         ¾÷¹«Á¾·á½Ã°£ÀÌ 18½Ã ÀÌÈÄÀÎ °æ¿ì »¡°£»öÀ¸·Î ±ÛÀڷΠǥ½ÃµË´Ï´Ù. +
+ + + + + + + + + + + + + + + + + + + + + + + + + <% + Dim grade_label_ck : grade_label_ck="0" '-- µî±Þ µî·Ï¿©ºÎ üũ¿ë(20170807 Ãß°¡) Á¤»ó(0) / µî±Þ¾øÀ½(1) + '±âÁ¸¿¡ ÀúÀåµÇ¾î ÀÖ´Â µ¥ÀÌÅÍ °¡Á®¿À±â. + '¾÷¹« Á¤º¸ °¡Á®¿À±â. + sql = " " + sql = sql & " SELECT NW.p_child_sn, TPM.p_subject, MA.new_id, " & VbCrlf + sql = sql & " NW.id, NW.neakeun_jumin, NW.neakeun_name, NW.p_sebu, NW.[date], " & VbCrlf + sql = sql & " NW.in_time, NW.out_time, NW.job_in_time, NW.job_out_time, NW.job_total_time, " & VbCrlf + sql = sql & " ISNULL(NW.job_add_time, '') AS job_add_time, NW.job_add_time_memo, " & VbCrlf + sql = sql & " NW.job_lunch_yn, NW.job_dinner_yn, NW.job_confirm_yn, " & VbCrlf + sql = sql & " ISNULL(dbo.M_GRADE(MA.id, NW.[date], NW.p_sebu_code), '') AS grade, ISNULL(dbo.M_GRADE_COST(MA.id, NW.[date], NW.p_sebu_code), '0') AS grade_cost, " & VbCrlf + sql = sql & " CASE WHEN NW.job_lunch_yn = '1' THEN " & VbCrlf + sql = sql & " CASE WHEN NW.job_confirm_yn = 'Y' THEN " & VbCrlf + sql = sql & " ISNULL((SELECT s_sum FROM T_NEAKEUN_PAY with(nolock) WHERE attribute01 = CONVERT(VARCHAR(20), NW.id) AND s_gubun = 'Ãß°¡¼ö´ç1'), 0) " & VbCrlf + sql = sql & " ELSE " & VbCrlf + sql = sql & " CONVERT(INTEGER, dbo.M_FOOD_COST(MA.id, NW.[date], NW.p_child_sn, NW.p_sebu_code, 'lunch')) " & VbCrlf + sql = sql & " END " & VbCrlf + sql = sql & " ELSE 0 END AS lunch_cost, " & VbCrlf + sql = sql & " CASE WHEN NW.job_dinner_yn = '1' THEN " & VbCrlf + sql = sql & " CASE WHEN NW.job_confirm_yn = 'Y' THEN " & VbCrlf + sql = sql & " ISNULL((SELECT s_sum FROM T_NEAKEUN_PAY with(nolock) WHERE attribute01 = CONVERT(VARCHAR(20), NW.id) AND s_gubun = 'Ãß°¡¼ö´ç2'), 0) " & VbCrlf + sql = sql & " ELSE " & VbCrlf + sql = sql & " CONVERT(INTEGER, dbo.M_FOOD_COST(MA.id, NW.[date], NW.p_child_sn, NW.p_sebu_code, 'dinner')) " & VbCrlf + sql = sql & " END " & VbCrlf + sql = sql & " ELSE 0 END AS dinner_cost, " & VbCrlf + sql = sql & " D.d_order_cnt, " & VbCrlf + sql = sql & " CASE WHEN D.d_order_cnt = '99' THEN '°áÀç ¹Ý·Á' " & VbCrlf + sql = sql & " WHEN D.d_order_cnt = '77' THEN '°áÀç ¿Ï·á' " & VbCrlf + sql = sql & " WHEN D.d_order_cnt IS NULL THEN '' " & VbCrlf + sql = sql & " ELSE '°áÀçÁß' END AS d_order_cnt " & VbCrlf + sql = sql & " FROM neakeun_work NW with(nolock) " & VbCrlf + sql = sql & " LEFT JOIN T_PROJECT_METHOD TPM with(nolock) ON NW.p_child_sn = TPM.p_child_sn " & VbCrlf + sql = sql & " LEFT JOIN t_neakeun_pay TMP with(nolock) ON CONVERT(varchar(10), NW.id) = TMP.attribute01 AND s_gubun NOT LIKE 'Ãß°¡%' " & VbCrlf + sql = sql & " LEFT JOIN Document D with(nolock) on TMP.attribute05 = D.d_no AND D.d_delok = 'N' " & VbCrlf + sql = sql & " LEFT JOIN man MA with(nolock) ON MA.m_name = NW.neakeun_name AND LEFT(MA.m_jumin, 6) = LEFT(NW.neakeun_jumin, 6) " & VbCrlf + sql = sql & " WHERE NW.[date] BETWEEN '"& split(p_field_date_week,"@")(0) &"' and '"& split(p_field_date_week,"@")(1) &"' " & VbCrlf + sql = sql & " AND NW.in_time + NW.out_time <> '00000000' " & VbCrlf + '½Ç»ç ºÎ¼­ÀåÀÏ °æ¿ì sv °ü°è ¾øÀÌ ´Ù º¸¿©ÁÜ + if command <> "all_view" then + sql = sql & " AND NW.p_sv_main = '"& Session("User_Number") &"' " & VbCrlf + end if + sql = sql & " ORDER BY NW.[date], NW.neakeun_name, NW.p_child_sn, NW.p_sebu_code " & VbCrlf + 'Response.Write sql + AdoRs.open sql, adoconn, adopenstatic, adlockreadonly + %> + + <% + Dim rsa + set rsa = server.CreateObject("ADODB.RECORDSET") + + For i=1 to adors.recordcount + list_bgcolor = "" + tmp_work_end = 0 + tmp_work_end = cdbl(LEFT(adors("in_time"), 2)) * 60 + cdbl(RIGHT(adors("in_time"), 2)) + (cdbl(adors("job_total_time")) * 60) + if adors("job_lunch_yn") = "1" then + tmp_work_end = tmp_work_end + 60 + end if + if adors("job_dinner_yn") = "1" then + tmp_work_end = tmp_work_end + 30 + end if + if tmp_work_end > 1080 then '¾÷¹« Á¾·á ½Ã°£ÀÌ 1800 ÀÌÈÄ¸é ¹è°æ¿¡ ´Ù¸¥»öÀ¸·Î Ç¥½Ã + list_bgcolor = "#c60000" + end if + %> + + + + + + + + + + <% + if adors("grade") = "" Then + grade_label_ck="1" '-- µî±Þ µî·Ï¿©ºÎ üũ¿ë(20170807 Ãß°¡) Á¤»ó(0) / µî±Þ¾øÀ½(1) + End if + %> + + + + + + + + + + + + + + + <% + adors.movenext + next + AdoRs.close + %> +
¼ø
¹ø
¾÷¹«
³¯Â¥
³»±ÙÁ÷
ÄÚµå
»ý³â
¿ùÀÏ
¼º¸íÇÁ·ÎÁ§Æ®
ÄÚµå
ÇÁ·ÎÁ§Æ®
¸í
¾÷
¹«
µî
±Þ
Ãâ
±Ù
Åð
±Ù
¾÷¹«
½Ã°£
Ãʰú
½Ã°£
+/-
½Ã°£
+/-
»çÀ¯
¼ö´çÃß°¡
¼ö´ç1
Ãß°¡
¼ö´ç2
¼ö´ç
°è
°áÀç»óÅÂConfirm
+ +
<%=adors.AbsolutePosition %><%=adors("date") %><%=adors("new_id") %><%=Left(adors("neakeun_jumin"),6) %>"/><%=adors("neakeun_name") %><%=adors("p_child_sn") %><%=adors("p_subject") %><%=adors("p_sebu") %><%=adors("grade") %><%=adors("in_time") %><%=adors("out_time") %><%=adors("job_in_time") %><%=adors("job_out_time") %> + " style="width:95%;text-align:right" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> readonly <% end if %> /> + + " style="width:95%;text-align:right" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> readonly <% end if %> /> + <%= FormatNumber(cDbl(adors("grade_cost")) * (cDbl(adors("job_in_time")) + cDbl(iif(adors("job_add_time") = "", "0", adors("job_add_time")))) + cDbl(adors("job_out_time")) * 1000, 0) %><%= FormatNumber(adors("lunch_cost"), 0) %><%= FormatNumber(adors("dinner_cost"), 0) %><%= FormatNumber((cDbl(adors("grade_cost")) * (cDbl(adors("job_in_time")) + cDbl(iif(adors("job_add_time") = "", "0", adors("job_add_time")))) + cDbl(adors("job_out_time")) * 1000) + cdbl(adors("lunch_cost")) + cdbl(adors("dinner_cost")), 0) %><%=adors("d_order_cnt") %> + + checked <%end if %> value="Y" + <% if adors("d_order_cnt") = "°áÀç ¿Ï·á" OR adors("d_order_cnt") = "°áÀçÁß" then %> disabled <% end if %> /> +
+ *** °áÀç ÁøÇàÁß ¶Ç´Â °áÀç ¿Ï·áµÈ ¹®¼­´Â ÄÁÆß ¼öÁ¤ÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù. Âü°íÇØ ÁÖ¼¼¿ä. +
+ <% Select Case grade_label_ck %> + <% Case "0" %> + <% if command <> "all_view" Or (Session("teamplace") >= 3 AND Session("Depart_Code") = "12") Or session("Depart_Code") = "18" Then %> + + <% End If %> + <% Case "1" '-- ÇØ´çÀÏÀÚ ³»±ÙÁ÷Áß µî±Þ ¾øÀ½ %> + + ¡Ø µî±Þ¼³Á¤ÀÌ ¾ÈµÈ ³»±ÙÁ÷ÀÌ ÀÖ½À´Ï´Ù. µî±Þ¼³Á¤ÈÄ "ÀúÀåÇϱâ"°¡ °¡´ÉÇÕ´Ï´Ù. + + <% End Select %> +
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/neakeun_work_confirm_save.asp b/inspection/neakeun_work_confirm_save.asp new file mode 100644 index 0000000..c64cdc0 --- /dev/null +++ b/inspection/neakeun_work_confirm_save.asp @@ -0,0 +1,300 @@ + + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") +set rsp = server.CreateObject("ADODB.RECORDSET") +set rsa = server.CreateObject("ADODB.RECORDSET") + + +dbin.Open adoConn + +for i=1 to request("cnt") + d_order_cnt = request("d_order_cnt")(i) + if d_order_cnt = "°áÀç ¹Ý·Á" OR d_order_cnt = "" OR isnull(d_order_cnt) then + id = request("id")(i) + confirm_flag = request("work_confirm_"&i) + query = " select * from neakeun_work with(nolock) " + query = query & " where id = '" & id & "' " + + rsc.open query, adoConn, adopenstatic, adlockreadonly + + if rsc.RecordCount > 0 then + query = " update neakeun_work" + query = query & " set job_confirm_yn = '"&request("work_confirm_"&i)&"' " + query = query & " , job_add_time = '"&request("job_add_time")(i)&"' " + query = query & " , job_add_time_memo = '"&request("job_add_time_memo")(i)&"' " + query = query & " where neakeun_jumin = '" & rsc("neakeun_jumin") & "' and neakeun_name = '" & rsc("neakeun_name") & "' " + query = query & " and p_child_sn = '" & rsc("p_child_sn") & "' and date = '" & rsc("date") & "' and p_sebu = '" & rsc("p_sebu") & "' " + + dbin.Execute query + end if + rsc.close + + If confirm_flag = "Y" Then + '2014-12-18 Á¤°­¿í : °Ç´ç ÄÁÆßÀÌ ÀÌ·ç¾î Áú °æ¿ì ÇØ´ç ÄÁÆßµÈ µ¥ÀÌÅÍ´Â ¼ö´ç ³»¿ª Å×ÀÌºí¿¡ ÀÔ·Â µÈ´Ù. + 'ÀÔ·ÂÀ» Çϱâ À§ÇÏ¿© ÇØ´ç ÄÁÆßµ¥ÀÌÅÍ ³»¿ªÀ» ID¸¦ ÅëÇÏ¿© Á¶È¸ÇÑ´Ù. + query = " SELECT * " + query = query & " FROM neakeun_work with(nolock) " + query = query & " WHERE id = '" & id & "' " + + rsp.open query, adoConn, adopenstatic, adlockreadonly + + If rsp.recordcount > 0 Then + Dim in_time + Dim out_time + Dim add_time + Dim yoil + Dim holiday + Dim lunch + Dim dinner + Dim grade_cost + Dim pay + Dim lunch_cost + Dim dinner_cost + + in_time = Cdbl(rsp("job_in_time")) + out_time = Cdbl(rsp("job_out_time")) + + If isnull(rsp("job_add_time")) or Trim(rsp("job_add_time")) = "" Then + add_time = 0 + Else + add_time = Cdbl(rsp("job_add_time")) + End if + + yoil = rsp("yoil") + + pay = 0 + lunch_cost = 0 + dinner_cost = 0 + + query = " select id, m_jumin, m_name, m_grade " + query = query & " ,(select top 1 cost from t_neakeun_pay_COST WITH(nolock) where grade = T.m_grade and type = 'cost' and use_start_dt <= '" & rsp("date") & "' order by use_start_dt desc) as m_grade_cost " + query = query & " from ( " + query = query & " select id, m_jumin, m_name " + query = query & " ,(select top 1 m_grade from T_MYUN_GRADE_HISTORY WITH(nolock) where m_id = m.id and (attribute02 = '" & rsp("p_sebu_code") & "' OR attribute02 IS NULL) and m_grade_dt <= '" & rsp("date") & "' order by m_grade_dt desc, insert_dt desc) as m_grade " + query = query & " from man as m " + query = query & " ) as T " + query = query & " where T.m_name = '" & rsp("neakeun_name") & "' and left(T.m_jumin, 6) = '" & Left(rsp("neakeun_jumin"), 6) & "' " + 'response.write query + rsa.open query, adoConn, adopenstatic, adlockreadonly + + If rsa.recordcount > 0 Then + If rsa("m_grade_cost") = "" Or IsNull(rsa("m_grade_cost")) = True Then + grade_cost = 0 + End If + + grade_cost = rsa("m_grade_cost") + + Dim currentMonth + currentMonth = Left(Replace(rsp("date"), "-", ""), 6) + + 'in_time Àº ÇÏ·çÀÇ ÃÑ ±Ù¹« ½Ã°£ ÀÌ´Ù (Áï ½Ã°£³», ¿Ü¸¦ ´Ù ÇÕÇÑ ÇÏ·çÀÇ ÃÑ ±Ù¹« ½Ã°£) + 'If holiday = True Or yoil = "Åä¿äÀÏ" Or yoil = "ÀÏ¿äÀÏ" Then + ' pay = ((in_time + add_time) * (grade_cost + 1000)) + 'Else + pay = ((in_time + add_time) * grade_cost) + (out_time * 1000) + 'End If + Else + grade_cost = 0 + pay = 0 + End If + + rsa.close + + '³»±ÙÁ÷ÆäÀ̰¡ ÀÌ¹Ì ÀԷµǾî ÀÖÀ¸¸é »èÁ¦ ÇÏ°í ´Ù½Ã ÀÔ·Â~! + query = " delete t_neakeun_pay " + query = query & " where attribute01 = '" & rsp("id") & "'" + + dbin.Execute query + + query = " insert into t_neakeun_pay (p_sn, m_name, m_jumin, work_dt, s_ot, s_gubun, s_pay_unit, s_wan, s_sum, s_time_style, pay_type, pay_month, insert_dt, insert_user, attribute01) " + query = query & " values (" + query = query & "'" & rsp("p_child_sn") & "', " 'p_sn + query = query & "'" & rsp("neakeun_name") & "', " 'm_name + query = query & "'" & rsp("neakeun_jumin") & "', " 'm_jumin + query = query & "'" & rsp("date") & "', " 'work_dt + query = query & "'" & 0 & "', " 's_ot + query = query & "'" & rsp("p_sebu") & "', " 's_gubun ±¸ºÐ + query = query & "'" & grade_cost & "', " 's_pay_unit ´Ü°¡ + query = query & "'" & (in_time + (add_time)) & "', "'s_wan ½Ã°£ + query = query & "'" & CDbl(Formatnumber(pay, 0)) & "', "'s_sum ÇÕ°è + query = query & "'" & "" & "', " 's_time_style + query = query & "'1', " 'pay_type 1 : ³»±ÙÁ÷, 2 : ¸éÁ¢¿ø + query = query & "'" & "" & "', " 'pay_month + query = query & "getdate(), " 'insert_dt + query = query & "'" & Session("User_Number") & "', "'insert_user + query = query & "'" & rsp("id") & "') " 'attribute01 neakeun_workÀÇ ID + + dbin.Execute query + + lunch = rsp("job_lunch_yn") + dinner = rsp("job_dinner_yn") + Dim lunch_alr + Dim dinner_alr + Dim lunch_dinner_rate + lunch_dinner_rate = 1 + + If lunch = "1" Or dinner = "1" Then + query = " select COUNT(p_child_sn) as p_sn_cnt, sum(job_in_time) as job_in_time " + query = query & " from neakeun_work WITH(nolock) " + query = query & " where date = '" & rsp("date") & "' " + query = query & " and neakeun_name = '" & rsp("neakeun_name") & "' " + query = query & " and left(neakeun_jumin, 6) = '" & Left(rsp("neakeun_jumin"), 6) & "' " + query = query & " and in_time + out_time <> '00000000' " + rsa.open query, adoConn, adopenstatic, adlockreadonly + + If rsa.recordcount > 0 Then + If rsa("p_sn_cnt") > 1 Then + lunch_dinner_rate = Formatnumber( (1 / rsa("job_in_time") * rsp("job_in_time")) , 5 ) + End if + End if + rsa.close + End if + + If lunch = "1" Then + '½Ä´ë ºñ¿ë Á¶È¸~! + query = " select top 1 cost from t_neakeun_pay_COST WITH(nolock) where type = 'lunch' and use_start_dt <= '" & rsp("date") & "' order by use_start_dt desc " + rsa.open query, adoConn, adopenstatic, adlockreadonly + + If rsa.recordcount > 0 Then + lunch_cost = rsa("cost") + End if + rsa.close + + query = " delete t_neakeun_pay " + query = query & " where attribute01 = '" & rsp("id") & "' and s_gubun = 'Ãß°¡¼ö´ç1' " + + dbin.Execute query + + 'ÇØ´ç ¾÷¹«ÀÏÁö ÀÏÀÚ¿¡ ÀÌ¹Ì ½Ä´ë°¡ Æ÷ÇԵǾî ÀÖ´ÂÁö üũ + query = " select isnull(sum(s_sum), 0) as m_lunch_cost from t_neakeun_pay WITH(nolock) " + query = query & " where m_name = '" & rsp("neakeun_name") & "' " + query = query & " and left(m_jumin, 6) = '" & Left(rsp("neakeun_jumin"), 6) & "' " + query = query & " and work_dt = '" & rsp("date") & "' " + query = query & " and s_gubun = 'Ãß°¡¼ö´ç1' " + + lunch_alr = true + rsa.open query, adoConn, adopenstatic, adlockreadonly + + if cstr(rsa("m_lunch_cost")) = cstr(lunch_cost) then + lunch_alr = false + end if + + If lunch_alr = true Then + query = " insert into t_neakeun_pay (p_sn, m_name, m_jumin, work_dt, s_ot, s_gubun, s_pay_unit, s_wan, s_sum, s_time_style, pay_type, pay_month, insert_dt, insert_user, attribute01) " + query = query & " values (" + query = query & "'" & rsp("p_child_sn") & "', " 'p_sn + query = query & "'" & rsp("neakeun_name") & "', " 'm_name + query = query & "'" & rsp("neakeun_jumin") & "', " 'm_jumin + query = query & "'" & rsp("date") & "', " 'work_dt + query = query & "'" & 0 & "', " 's_ot + query = query & "'Ãß°¡¼ö´ç1', " 's_gubun ±¸ºÐ + query = query & "'" & lunch_cost & "', " 's_pay_unit ´Ü°¡ + query = query & "'" & lunch_dinner_rate & "', " 's_wan ½Ã°£ + 'query = query & "'" & round(CDbl(Formatnumber(lunch_cost * lunch_dinner_rate, 1)), 2) & "', " 's_sum ÇÕ°è + query = query & "'" & CDbl(Formatnumber(lunch_cost * lunch_dinner_rate, 0)) & "', " 's_sum ÇÕ°è + query = query & "'" & "" & "', " 's_time_style + query = query & "'" & 1 & "', " 'pay_type 1 : ³»±ÙÁ÷, 2 : ¸éÁ¢¿ø + query = query & "'" & "" & "', " 'pay_month + query = query & "getdate(), " 'insert_dt + query = query & "'" & Session("User_Number") & "', "'insert_user + query = query & "'" & rsp("id") & "') " 'attribute01 neakeun_workÀÇ ID + + 'Response.Write query & "
" + dbin.Execute query + + End if + rsa.close + Else + query = " delete t_neakeun_pay " + query = query & " where attribute01 = '" & rsp("id") & "' and s_gubun = 'Ãß°¡¼ö´ç1' " + + dbin.Execute query + End If + + If dinner = "1" Then + '½Ä´ë ºñ¿ë Á¶È¸~! + query = " select top 1 cost from t_neakeun_pay_COST WITH(nolock) where type = 'dinner' and use_start_dt <= '" & rsp("date") & "' order by use_start_dt desc " + rsa.open query, adoConn, adopenstatic, adlockreadonly + + If rsa.recordcount > 0 Then + dinner_cost = rsa("cost") + End if + rsa.close + + query = " delete t_neakeun_pay " + query = query & " where attribute01 = '" & rsp("id") & "' and s_gubun = 'Ãß°¡¼ö´ç2' " + + dbin.Execute query + + 'ÇØ´ç ¾÷¹«ÀÏÁö ÀÏÀÚ¿¡ ÀÌ¹Ì ½Ä´ë°¡ Æ÷ÇԵǾî ÀÖ´ÂÁö üũ + query = " select isnull(sum(s_sum), 0) as t_dinner_cost from t_neakeun_pay WITH(nolock) " + query = query & " where m_name = '" & rsp("neakeun_name") & "' " + query = query & " and left(m_jumin, 6) = '" & Left(rsp("neakeun_jumin"), 6) & "' " + query = query & " and work_dt = '" & rsp("date") & "' " + query = query & " and s_gubun = 'Ãß°¡¼ö´ç2' " + + rsa.open query, adoConn, adopenstatic, adlockreadonly + dinner_alr = true + + if rsa("t_dinner_cost") = dinner_cost then + dinner_alr = false + end if + + If dinner_alr = true Then + query = " insert into t_neakeun_pay (p_sn, m_name, m_jumin, work_dt, s_ot, s_gubun, s_pay_unit, s_wan, s_sum, s_time_style, pay_type, pay_month, insert_dt, insert_user, attribute01) " + query = query & " values (" + query = query & "'" & rsp("p_child_sn") & "', " 'p_sn + query = query & "'" & rsp("neakeun_name") & "', " 'm_name + query = query & "'" & rsp("neakeun_jumin") & "', " 'm_jumin + query = query & "'" & rsp("date") & "', " 'work_dt + query = query & "'" & 0 & "', " 's_ot + query = query & "'Ãß°¡¼ö´ç2', " 's_gubun ±¸ºÐ + query = query & "'" & dinner_cost & "', " 's_pay_unit ´Ü°¡ + query = query & "'" & lunch_dinner_rate & "', " 's_wan ½Ã°£ + query = query & "'" & CDbl(Formatnumber(dinner_cost * lunch_dinner_rate, 0)) & "', "'s_sum ÇÕ°è + query = query & "'" & "" & "', " 's_time_style + query = query & "'" & 1 & "', " 'pay_type 1 : ³»±ÙÁ÷, 2 : ¸éÁ¢¿ø + query = query & "'" & "" & "', " 'pay_month + query = query & "getdate(), " 'insert_dt + query = query & "'" & Session("User_Number") & "', "'insert_user + query = query & "'" & rsp("id") & "') " 'attribute01 neakeun_workÀÇ ID + + 'Response.Write query & "
" + dbin.Execute query + End if + rsa.close + Else + query = " delete t_neakeun_pay " + query = query & " where attribute01 = '" & rsp("id") & "' and s_gubun = 'Ãß°¡¼ö´ç2' " + + dbin.Execute query + End If + + End if + rsp.close + Else + query = " delete t_neakeun_pay " + query = query & " where attribute01 = '" & id & "'" + + dbin.Execute query + End if + END if +next + +dbin.Close + %> + + + + +
+
+ + diff --git a/inspection/neakeun_work_week_ajax.asp b/inspection/neakeun_work_week_ajax.asp new file mode 100644 index 0000000..3640bc1 --- /dev/null +++ b/inspection/neakeun_work_week_ajax.asp @@ -0,0 +1,29 @@ + +<% + p_field_date_month = request("p_field_date_month") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + Response.Write "" + + tmp_date = p_field_date_month + "-01" + tmp_last_day = DateAdd("d", -1, DateAdd("m", 1, tmp_date)) + + For i=1 To 6 + tmp_max_day = DateAdd("d", 7 - weekday(tmp_date), cDate(tmp_date)) + If tmp_max_day > tmp_last_day Then + tmp_max_day = tmp_last_day + End If + + Response.Write "" + + tmp_date = DateAdd("d", 1, DateAdd("d", 7 - weekday(tmp_date), cDate(tmp_date))) + + if tmp_max_day = tmp_last_day then + Exit for + end if + Next +%> \ No newline at end of file diff --git a/inspection/prj_list_modal.asp b/inspection/prj_list_modal.asp new file mode 100644 index 0000000..b894452 --- /dev/null +++ b/inspection/prj_list_modal.asp @@ -0,0 +1,90 @@ + +<% +Response.CharSet = "EUC-KR" +Dim n_gubun : n_gubun = Request("gubun") +Dim prj_sv +Dim p_url +select case n_gubun + + case "p" + prj_sv = "and (p_punch_1 = '" & Session("USER_NUMBER") & "' or p_punch_2 = '" & Session("USER_NUMBER") & "' or p_punch_3 = '" & Session("USER_NUMBER") & "' or p_punch_4 = '" & Session("USER_NUMBER") & "') " + p_url = "punching_confirm.asp" + case "v1" + prj_sv = "and (p_verify_1 = '" & Session("USER_NUMBER") & "' or p_verify_2 = '" & Session("USER_NUMBER") & "' or p_verify_3 = '" & Session("USER_NUMBER") & "' or p_verify_4 = '" & Session("USER_NUMBER") & "') " + p_url = "ins_confirm.asp" + case "v2" + prj_sv = "and (p_verify_1 = '" & Session("USER_NUMBER") & "' or p_verify_2 = '" & Session("USER_NUMBER") & "' or p_verify_3 = '" & Session("USER_NUMBER") & "' or p_verify_4 = '" & Session("USER_NUMBER") & "') " + p_url = "cins_confirm.asp" + case "etc" + prj_sv = "and (p_verify_1 = '" & Session("USER_NUMBER") & "' or p_verify_2 = '" & Session("USER_NUMBER") & "' or p_verify_3 = '" & Session("USER_NUMBER") & "' or p_verify_4 = '" & Session("USER_NUMBER") & "' " + prj_sv = prj_sv&" or p_punch_1 = '" & Session("USER_NUMBER") & "' or p_punch_2 = '" & Session("USER_NUMBER") & "' or p_punch_3 = '" & Session("USER_NUMBER") & "' or p_punch_4 = '" & Session("USER_NUMBER") & "' " + prj_sv = prj_sv&" or p_code_1 = '" & Session("USER_NUMBER") & "' or p_code_2 = '" & Session("USER_NUMBER") & "' or p_code_3 = '" & Session("USER_NUMBER") & "' or p_code_4 = '" & Session("USER_NUMBER") & "' " + prj_sv = prj_sv&" or p_sv_1 = '" & Session("USER_NUMBER") & "' or p_sv_2 = '" & Session("USER_NUMBER") & "' or p_sv_3 = '" & Session("USER_NUMBER") & "' or p_sv_4 = '" & Session("USER_NUMBER") & "')" + p_url = "qetc_confirm.asp" + case "success" + prj_sv = "and (p_verify_1 = '" & Session("USER_NUMBER") & "' or p_verify_2 = '" & Session("USER_NUMBER") & "' or p_verify_3 = '" & Session("USER_NUMBER") & "' or p_verify_4 = '" & Session("USER_NUMBER") & "' " + prj_sv = prj_sv&" or p_punch_1 = '" & Session("USER_NUMBER") & "' or p_punch_2 = '" & Session("USER_NUMBER") & "' or p_punch_3 = '" & Session("USER_NUMBER") & "' or p_punch_4 = '" & Session("USER_NUMBER") & "' " + prj_sv = prj_sv&" or p_code_1 = '" & Session("USER_NUMBER") & "' or p_code_2 = '" & Session("USER_NUMBER") & "' or p_code_3 = '" & Session("USER_NUMBER") & "' or p_code_4 = '" & Session("USER_NUMBER") & "')" + p_url = "prj_success.asp" + +end Select +%> + + \ No newline at end of file diff --git a/inspection/project_direct_cost_2014.asp b/inspection/project_direct_cost_2014.asp new file mode 100644 index 0000000..830de40 --- /dev/null +++ b/inspection/project_direct_cost_2014.asp @@ -0,0 +1,1183 @@ + + + +
+ +
+

Á÷Á¢ºñ °ü¸®

+
+ + +
+
+
+
+
+<% + Response.Expires = 0 + 'url·Î ³Ñ¾î¿À´Â º¯¼ö°ª ó¸® + chk_opt = request("chk_opt") + sc_year = request("sc_year") + sc_month = request("sc_month") + sc_team = request("sc_team") + sc_name = request("sc_name") + sc_method = request("sc_method") + cost_type = request("cost_type") + p_method_cd = trim(request("p_method_cd")) + p_child_sn = request("p_sn") + p_sub_type = request("p_sub_type") + if p_sub_type = "" then + p_sub_type = "C" + end if + + if Instr(p_child_sn,"@") > 0 then + list_p_sn = split(p_child_sn,"@") + p_child_sn = list_p_sn(0) + p_sub_type = list_p_sn(1) + end if + + if Instr(p_method_cd,"@") > 0 then + list_p_sn = split(p_method_cd,"@") + p_method_cd = list_p_sn(0) + p_child_sn = list_p_sn(1) + end if + + if cost_type = "" then + cost_type = "field" + end if + + if cost_type = "field" then + cost_type_name = "½Ç»ç" + elseif cost_type = "research" then + cost_type_name = "¿¬±¸" + elseif cost_type = "dp" then + cost_type_name = "DP" '##### DPÆÀÀÇ ÄÚµù Part Á÷Á¢ºñ ÀÔ·Â (2018-02-27 ±èÁ¾ÈÖ) + else + cost_type_name = "¹ö±×....." + end if + + sql = "select * from person where p_no = '" & Session("user_number") & "'" + Rs.open sql, adoconn, adopenstatic, adlockreadonly + user_depart = rs("p_depart") + user_team = rs("p_team") + Rs.close + + p_sn = trim(request("p_sn")) + p_sn = left(p_sn,7) + + query = " SELECT p_sn, p_child_sn, TPM.p_method_cd, TPM.p_progress_status, TPMC.p_method_nm, p_subject, p_sub_type, TPMC.p_method_cd, TPM.p_field_dept, TPM.p_is_dept " + query = query & " FROM T_PROJECT_METHOD TPM LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd " + if p_sub_type = "C" then + query = query & " WHERE p_child_sn = '"& p_child_sn &"' " + elseif p_sub_type = "M" then + query = query & " WHERE p_sn = '"& p_sn &"' " + end if + adors.Open query, adoConn, 1 + + if cost_type = "research" then + p_method_cd = adors("p_method_cd") + end if + + if cost_type = "field" then + p_field_dept = adors("p_field_dept") + end if + + if cost_type = "dp" then + p_is_dept = adors("p_is_dept") '##### dpÆÀ(ÄÚµù) 2017-02-27 ±èÁ¾ÈÖ + end if + adors.Close + + if p_sub_type = "M" then + query = " SELECT p_sn " + query = query & " , p_subject " + query = query & " , TCCD_E.c_code_name as p_export_range " + query = query & " , p_cont_cost " + query = query & " FROM T_PROJECT_BASE TPB " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_E ON TCCD_E.c_kind_code = '011' AND TPB.p_export_range = TCCD_E.c_common_code" + query = query & " WHERE p_sn = '"& p_sn &"'" + 'Response.Write query & "
" + elseif p_sub_type = "C" then + query = " SELECT p_sn " + query = query & " , p_subject " + query = query & " , TCCD_E.c_code_name as p_export_range " + query = query & " , p_cont_cost " + query = query & " FROM T_PROJECT_METHOD TPM " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_E ON TCCD_E.c_kind_code = '011' AND TPM.p_export_range = TCCD_E.c_common_code" + query = query & " WHERE p_child_sn = '"& p_child_sn &"'" + 'Response.Write query & "
" + end if + + AdoRs.Open query,adoconn, 1 + + p_sn = adors("p_sn") + p_subject = adors.fields("p_subject") + p_export_range = adors("p_export_range") + p_cont_cost = adors("p_cont_cost") + + adors.Close + + '±âº»Á¤º¸ ÃʱⰪ ¼ÂÆÃ + + query = " SELECT p_method_cd, TPM.p_sn, p_child_sn, p_sub_type, TCCD_A.c_code_name as p_sur_area, TCCD_T.c_code_name as p_sur_target, TPM.p_sample, p_research_date_st, p_research_date_end, " + query = query & " TCCD_P.c_code_name as p_sur_part, TCCD_F.c_code_name as p_field_process, TPM.p_cont_cost, ISNULL(TCCD_E1.c_code_name,TCCD_E2.c_code_name) as p_export_range " + query = query & " FROM T_PROJECT_METHOD TPM " + query = query & " LEFT OUTER JOIN T_PROJECT_BASE TPB ON TPM.p_sn = TPB.p_sn " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_E1 ON TCCD_E1.c_kind_code = '011' AND TPM.p_export_range = TCCD_E1.c_common_code " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_E2 ON TCCD_E2.c_kind_code = '011' AND TPB.p_export_range = TCCD_E2.c_common_code " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_A ON TCCD_A.c_kind_code = '012' AND TPM.p_sur_area = TCCD_A.c_common_code " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_T ON TCCD_T.c_kind_code = '013' AND TPM.p_sur_target = TCCD_T.c_common_code " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_P ON TCCD_P.c_kind_code = '014' AND TPM.p_sur_part = TCCD_P.c_common_code " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD_F ON TCCD_F.c_kind_code = '015' AND TPM.p_field_process = TCCD_F.c_common_code " + 'if p_sub_type = "C" then + if len(p_child_sn) > 7 then + query = query & " WHERE TPM.p_child_sn = '"& p_child_sn &"' " + elseif p_sub_type = "M" then + query = query & " WHERE TPM.p_sn = '"& p_sn &"' " + end if + if p_method_cd <> "" then + query = query & " AND TPM.p_method_cd = '"&p_method_cd&"' " + end if + 'Response.Write query &"
" + rs.Open query,adoconn, 1 + if rs.recordCount > 0 then + p_sur_area = rs("p_sur_area") + p_sur_target = rs("p_sur_target") + If IsNull(rs("p_sample")) Then + p_sample = 0 + Else + p_sample = Cdbl(rs("p_sample")) + End if + p_research_date_st = rs("p_research_date_st") + p_research_date_end = rs("p_research_date_end") + p_sur_part = rs("p_sur_part") + p_field_process = rs("p_field_process") + p_child_sn = rs("p_child_sn") + p_sub_type = rs("p_sub_type") + + if p_sub_type = "C" Then + If IsNull(rs("p_cont_cost")) Then + p_cont_cost = 0 + Else + p_cont_cost = rs("p_cont_cost") + End if + end if + p_export_range = rs("p_export_range") + else + p_sur_area = "" + p_sur_target = "" + p_sample = 1 + est_sum = 0 + p_research_date_st = "" + p_research_date_end = "" + p_sur_part = "" + p_field_process = "" + p_export_range = "" + end if + rs.close + + p_input_complete = "no" + field_sub_complete = "" + + query = " SELECT tpm.p_sn, tpm.p_child_sn, p_sub_type, p_input_complete " + if cost_type = "field" then + query = query & " , d_order_cnt, isnull(sv_prog, '') as sv_prog, isnull(qc_prog, '') as qc_prog " + end if + query = query & " FROM T_PROJECT_METHOD tpm " + if cost_type = "field" then + query = query & " left outer join ¹®¼­³»¿ë a on tpm.p_child_sn = cast(a.target1 as varchar(20)) and cast(a.target2 as varchar(20)) = 'field' and ¹®¼­Á¦¸ñ = 'ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­' and del_yes_no = 'no' " + if p_field_dept <> "8" then + query = query & " and cast(a.target3 as varchar(20)) = 'SV' " + else + query = query & " and cast(a.target3 as varchar(20)) = 'QC' " + end if + query = query & " left outer join Document d on a.¹®¼­¹øÈ£ = d.d_no and d_delok = 'N' " + query = query & " left join direct_cost_field DCF ON tpm.p_child_sn = DCF.p_child_sn AND DCF.del_yn = 'n' " + end if + query = query & " WHERE tpm.p_child_sn = '"& p_child_sn &"' " + + if not(p_sub_type = "M" AND cost_type = "research") AND (p_method_cd <> "" or isnull(p_method_cd)) then + query = query & " AND p_method_cd = '"& p_method_cd &"' " + end if + + adors.Open query, adoconn, 1 + + if adors.recordCount > 0 then + if cost_type = "research" then + do while not adors.EOF + if mid(adors("p_input_complete"), 1, 1) = "o" then + p_input_complete = "yes" + end if + adors.movenext + loop + elseif cost_type = "field" then + if mid(adors("p_input_complete"), 2, 1) = "o" or adors("d_order_cnt") <> "99" then + p_input_complete = "yes" + Else + if adors("sv_prog") = "complete" then + field_sub_complete = "SV" + End If + if adors("qc_prog") = "complete" then + if field_sub_complete <> "" Then + field_sub_complete = field_sub_complete & ", " + End If + field_sub_complete = field_sub_complete & "QC" + End If + + if p_field_dept = "8" then + if user_team = "8" then + if adors("qc_prog") = "complete" then + p_input_complete = "yes" + End If + End if + Else + if user_team = "8" then + if adors("qc_prog") = "complete" then + p_input_complete = "yes" + End If + Elseif session("p_teamplace") = "0" Then + if adors("sv_prog") = "complete" then + p_input_complete = "yes" + End If + End if + End If + End if + end if + end if + adors.close + + query = " SELECT dc1.d_cost_name, dc2.id, dc2.d_cost_name, "&VbCrlf + query = query & " dc.id, dc.p_sn, dc.krc_no, dc.p_subject, dc.p_type_code, dc.hangmok, isnull(dc.sebu, '') as sebu, "&VbCrlf + query = query & " isnull(dc.est_danga,'') as est_danga, isnull(dc.est_bu_or_cnt,'') as est_bu_or_cnt, isnull(dc.est_dosu_or_time,'') as est_dosu_or_time, isnull(dc.est_money,'') as est_money, "&VbCrlf + query = query & " isnull(dc.act_danga,'') as act_danga, isnull(dc.act_bu_or_cnt,'') as act_bu_or_cnt, isnull(dc.act_dosu_or_time,'') as act_dosu_or_time, isnull(dc.act_money,'') as act_money, isnull(dc.cha_money,'') as cha_money, "&VbCrlf + query = query & " dc.memo, dc.confirm_yn, dc.modify_date, dc.modify_time, dc.modify_user, dc.modify_user_code, dc.modify_ip, dc.write_count, "&VbCrlf + query = query & " dc.del_yes_no, dc.del_date, dc.del_time,dc.del_user, dc.del_user_code, dc.del_ip, dc.p_subject_group, dc.p_sn_group, dc.cost_type, dc.p_child_sn "&VbCrlf + query = query & " FROM "&VbCrlf + query = query & " direct_costcode dc1 INNER JOIN direct_costcode dc2 "&VbCrlf + query = query & " ON dc1.d_cost_parents = dc2.d_cost_code AND dc1.d_cost_kind = dc2.d_cost_kind "&VbCrlf + query = query & " left outer join direct_cost dc on dc2.id = dc.hangmok and dc1.d_cost_name = dc.sebu "&VbCrlf + query = query & " and dc.p_sn = '" & p_sn & "' "&VbCrlf + query = query & " AND dc.del_yes_no = 'no' "&VbCrlf + query = query & " AND dc.cost_type = '" & cost_type & "' "&VbCrlf + if LEN(p_child_sn) > 8 then + query = query & " AND dc.p_child_sn = '" & p_child_sn & "' "&VbCrlf + end if + query = query & " AND dc.hangmok NOT IN ('¸Þ¸ð', '¸Þ¸ð_°æ¿µÁö¿ø½Ç') "&VbCrlf + query = query & " WHERE dc1.d_cost_parents != '0' "&VbCrlf + query = query & " AND dc1.d_cost_kind = '" & cost_type & "' "&VbCrlf + query = query & " AND dc2.d_cost_parents = '0' "&VbCrlf + query = query & " and dc2.d_cost_useyn = 'Y' "&VbCrlf + query = query & " and dc1.d_cost_useyn = 'Y' "&VbCrlf + query = query & " ORDER BY CONVERT(INT,dc2.attribute01), CONVERT(INT,dc1.attribute01) "&VbCrlf + + 'response.Write query + adors.Open query, adoconn, 1'adOpenStatic,adLockReadOnly + + 'ÃÑ ÁÙ¼ö¸¦ ÀúÀå + line_total = adors.recordcount + redim pay_Array_new(line_total, 14) + 'x:¼ø¼­, y:1:Ç׸ñ, 2:¼¼ºÎ³»¿ë, 3:¿¹»óÀÇ ¿ø, 4:¿¹»óÀÇ ºÎ/¸í, 5:¿¹»óÀÇ µµ¼ö/½Ã°£, 6:¿¹»óÀÇ ±Ý¾×,7:½ÇÁ¦ÀÇ ¿ø, 8:½ÇÁ¦ÀÇ ºÎ/¸í, 9:½ÇÁ¦ÀÇ µµ¼ö/½Ã°£, 10:½ÇÁ¦ÀÇ ±Ý¾×,11:½ÇÁ¦±Ý¾×-¿¹»ó±Ý¾×ÀÇ Â÷ÀÌ + '0:¸Þ¸ð, 13:°æ¿µÁö¿ø½Ç Àü¿ë ¸Þ¸ð + '°¢ Ä÷³ÀÇ ÃʱⰪ ¼³Á¤ + for i=1 to line_total + for j=1 to 13 + pay_Array_new(i,j) = "" + next + next + i = -1 + do while not adors.EOF + + txt_p_subject_group = "" + txt_p_sn_group = "" + + i = i + 1 + + if adors("sebu") <> "" then + pay_Array_new(i,1) = adors("hangmok") + pay_Array_new(i,2) = adors("sebu") + pay_Array_new(i,3) = adors("est_danga") + pay_Array_new(i,4) = adors("est_bu_or_cnt") + pay_Array_new(i,5) = adors("est_dosu_or_time") + pay_Array_new(i,6) = adors("est_money") + pay_Array_new(i,7) = adors("act_danga") + pay_Array_new(i,8) = adors("act_bu_or_cnt") + pay_Array_new(i,9) = adors("act_dosu_or_time") + pay_Array_new(i,10) = adors("act_money") + pay_Array_new(i,11) = adors("cha_money") + pay_Array_new(i,12) = adors("memo") + if trim(pay_Array_new(i,6)) = "" then + else + est_sum = cdbl(est_sum) + cdbl(pay_Array_new(i,6)) '¿¹»óÁ÷Á¢ºñ ´©°è + end if + + if pay_Array_new(i,10) <> "" then + act_sum = cdbl(act_sum) + cdbl(pay_Array_new(i,10)) '½ÇÁ¦Á÷Á¢ºñ ´©°è + end if + end if + adors.movenext + loop + adors.close + + + query = " SELECT * " + query = query & " FROM direct_cost " + query = query & " WHERE p_sn = '" & p_sn & "' " + query = query & " AND del_yes_no = 'no' " + query = query & " AND cost_type = '" & cost_type & "' " + query = query & " AND p_child_sn = '" & p_child_sn & "' " + query = query & " AND hangmok IN ('¸Þ¸ð', '¸Þ¸ð_°æ¿µÁö¿ø½Ç') " + query = query & " ORDER BY id " + + adors.Open query, adoconn, 1 + + do while not adors.EOF + if adors("hangmok") = "¸Þ¸ð" then + pay_Array_new(0,0) = adors("memo") + elseif adors("hangmok") = "¸Þ¸ð_°æ¿µÁö¿ø½Ç" then + pay_Array_new(0,13) = adors("memo") + end if + adors.movenext + loop + adors.close + + edit_yes_no = "yes" '±âº»ÀûÀ¸·Î óÀ½À϶§´Â ¼öÁ¤°¡´ÉÀ¸·Î Á¤ÀÇ + + if Len(p_child_sn) > 8 or (p_sub_type = "M" and cost_type = "research") then + query = " SELECT p_input_complete " + query = query & " FROM T_PROJECT_METHOD " + if p_sub_type = "M" and cost_type = "research" and len(p_child_sn) < 8 then + query = query & " WHERE p_sn = '"& p_child_sn &"' " + else + query = query & " WHERE p_child_sn = '"& p_child_sn &"' " + end if + + adors.Open query, adoconn, 1 + + If cost_type_name = "¿¬±¸" Then + If mid(adoRs("p_input_complete"), 1,1) = "o" Then + p_progress_status = "Á÷Á¢ºñ ¿¹»ê ÀÔ·Â ¿Ï·á" + Else + p_progress_status = "Á÷Á¢ºñ ¿¹»ê ÀÔ·Â Áß" + End if + ElseIf cost_type_name = "½Ç»ç" Then + If mid(adoRs("p_input_complete"), 2,1) = "o" Then + p_progress_status = "Á÷Á¢ºñ ¿¹»ê ÀÔ·Â ¿Ï·á" + Else + p_progress_status = "Á÷Á¢ºñ ¿¹»ê ÀÔ·Â Áß" + if field_sub_complete <> "" Then + p_progress_status = p_progress_status & " - " & field_sub_complete & " ÀÔ·Â ¿Ï·á" + End If + End if + End If + adoRs.close + end if + %> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + <% if cost_type = "field" or (cost_type = "research" and p_sub_type = "C") then %> + + + + + + + + + + + + + + + + + + + <% + end if + adors.close + %> +
<%=cost_type_name%> ºÎ¼­ °ü·Ã Á÷Á¢ºñ ÀÔ´Ï´Ù. (<%=p_progress_status %>)
ÇÁ·ÎÁ§Æ® ¹øÈ£<%=p_child_sn %>ÇÁ·ÎÁ§Æ®¸í<%=p_subject%>
¿ë¿ª¹üÀ§<%=p_export_range%>Á¶»ç¹æ¹ý + <% + query = " SELECT TPM.p_method_cd, p_child_sn, TPMC.p_method_nm, p_sn, p_subject, p_sub_type, TPMC.p_method_cd, p_input_complete, TPM.p_intention " + query = query & " FROM T_PROJECT_METHOD TPM LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd " + if p_sub_type = "C" then + query = query & " WHERE p_child_sn = '"& p_child_sn &"' " + elseif p_sub_type = "M" then + query = query & " WHERE p_sn = '"& p_sn &"' " + end if + + adors.Open query, adoConn, 1 + 'response.write query &"
" + %> + <%=adors("p_method_nm")%>-[<%=adors("p_intention")%>] + +
Á¶»çÁö¿ª<%=p_sur_area%>Á¶»ç´ë»ó<%=p_sur_target%>
»ùÇüö<%=formatnumber(p_sample, 0)%>Á¶»ç½Ã°£<%=p_research_date_st%>~<%=p_research_date_end%>
Á¶»çºÐ·ù<%=p_sur_part %>½Ç»ç¼öÇà<%=p_field_process %>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + + query = " SELECT H.id as h_id, H.d_cost_code as h_d_cost_code, H.d_cost_parents as h_d_cost_parents, H.d_cost_name as h_d_cost_name, H.d_cost_kind as h_d_cost_kind, H.attribute01 as h_attribute01, "&VbCrlf + query = query & " S.id as s_id, S.d_cost_code as s_d_cost_code, S.d_cost_parents as s_d_cost_parents, S.d_cost_name as s_d_cost_name, S.d_cost_kind as s_d_cost_kind, S.attribute01 as s_attribute01, "&VbCrlf + query = query & " (SELECT COUNT(*) FROM direct_costcode WHERE d_cost_kind = H.d_cost_kind AND d_cost_parents = S.d_cost_parents AND d_cost_useyn = 'Y') as row_cnt " &VbCrlf + query = query & " FROM "&VbCrlf + query = query & " (SELECT id, d_cost_code, d_cost_parents, d_cost_name, d_cost_kind, attribute01 FROM direct_costcode WITH(NOLOCK) WHERE d_cost_parents = '0' AND d_cost_useyn = 'Y') H "&VbCrlf + query = query & " LEFT OUTER JOIN "&VbCrlf + query = query & " (SELECT id, d_cost_code, d_cost_parents, d_cost_name, d_cost_kind, d_cost_useyn, attribute01 FROM direct_costcode WITH(NOLOCK) WHERE d_cost_parents <> '0' AND d_cost_useyn = 'Y') S "&VbCrlf + query = query & " ON H.d_cost_kind = S.d_cost_kind AND H.d_cost_code = S.d_cost_parents "&VbCrlf + query = query & " WHERE H.d_cost_kind = '"& cost_type &"' "&VbCrlf + query = query & " ORDER BY H.d_cost_kind, CONVERT(integer, H.attribute01), CONVERT(integer, S.attribute01) "&VbCrlf + + Dim d_cost_name 'Ç׸ñÀÇ rowspanÀ» ÁÖ±â À§ÇÑ º¯¼ö + 'Response.Write query + rs.Open query, adoConn, 1 + line_count = 0 + + d_cost_name = "" + Dim tr_display + Do while Not rs.Eof + if rs("s_d_cost_kind") = "field" and rs("s_d_cost_parents") = "4" and rs("s_d_cost_code") = 1 then + %> + + <% + end if + + if rs("s_d_cost_kind") = "research" and rs("h_d_cost_name") = "ÁøÇàºñ" and rs("s_d_cost_name") = "½Ä´ë" and p_method_cd <> "3" and p_method_cd <> "4" and p_method_cd <> "5" then + tr_display = "none" + else + tr_display = "" + end if + %> + _<%=rs("s_d_cost_parents")%>_<%=rs("s_d_cost_code")%>" style="display:<%=tr_display%>;"> + + + + + + + + + + + + + + <% + line_count = line_count + 1 + d_cost_name = rs("h_d_cost_name") + %> + + <% + rs.moveNext + Loop + rs.close + %> + + + + + + + + + + + + + + + + <% + tmp_p_sample = 1 + if p_sample = 0 then + tmp_p_sample = 1 + else + tmp_p_sample = p_sample + end if + %> + + + + + + <% + if cost_type = "field" then + %> + + + + + <% + if session("Depart_Code") = "18" then + %> + + + + + <% + end if + end if + %> +
Ç׸ñ¼¼ºÎ³»¿ëEstimate Cost¸Þ¸ðActual CostÂ÷¾×(½ÇÁ¦-¿¹»ó)Action
¿ø(´Ü°¡)ºÎ/¸í¹è¼ö/½Ã°£±Ý¾×¿ø(´Ü°¡)ºÎ/¸í¹è¼ö/½Ã°£±Ý¾×
+ + <% + if p_input_complete = "yes" then + edit_yes_no = "no" + else + edit_yes_no = "yes" + end if + + if edit_yes_no = "yes" then %> + + <%else%> +   + <%end if%> + + <% if edit_yes_no = "yes" then %> + <% if cost_type = "field" and session("depart_code") = 12 And (session("teamplace") < 3 or session("teamplace") > 7) then ' ½Ç»ç´Â ºÎ¼­Àå ÀÌ»ó¸¸ ¹öư Ȱ¼ºÈ­ %> + <% if user_team = "8" then %> + + <% Else %> + + <% End If %> + <% Else %> + + <% end if %> + <% else %> + <% if cost_type = "field" and session("depart_code") = 12 And (session("teamplace") < 3 or session("teamplace") > 7) then ' ½Ç»ç´Â ºÎ¼­Àå ÀÌ»ó¸¸ ¹öư Ȱ¼ºÈ­ %> + <% if user_team = "8" then %> + + <% Else %> + + <% End If %> + <% else %> + + + + <% end if %> + <% end if %> + + <%if session("Depart_Code") = "18" then %> + + <%else%> +   + <%end if%> + + +
rs("h_d_cost_name") then %>id="rowspan_<%=rs("h_d_cost_name") %>_<%=rs("s_d_cost_name") %>" <% if rs("h_d_cost_name") = "¿ÜÁÖºñ¿ë" and rs("s_d_cost_kind") = "field" then %> rowspan = "<%=rs("row_cnt")+1 %>" <% else %> rowspan= "<%=iif(rs("s_d_cost_kind") = "research" and rs("h_d_cost_name") = "ÁøÇàºñ" and p_method_cd <> "3" and p_method_cd <> "4" and p_method_cd <> "5", cstr(cint(rs("row_cnt"))-1), rs("row_cnt")) %>" <% end if %> <% else %> style="display:none" <% end if %>> + <%= rs("h_d_cost_name") %> + "> + _<%= rs("s_d_cost_name") %>"> + "><%= rs("s_d_cost_name") %> <%if rs("s_d_cost_name") = "ÃâÀåºñ" and rs("s_d_cost_kind") = "research" then %>  (1¹Ú 2ÀÏ ±âÁØ ¼÷¹Ú, ±³Åë, ½Ä´ë)<% end if %> + <% if rs("s_d_cost_name") = "¸éÁ¢¿ø¼ö´ç1" or rs("s_d_cost_name") = "¸éÁ¢¿øÃß°¡(TS)1" or rs("s_d_cost_name") = "¼­¿ï¿ÜÁÖ1" or rs("s_d_cost_name") = "Áö¹æ½Ç»ç¿ÜÁÖ_ºÎ»ê1"_ + or rs("s_d_cost_name") = "Áö¹æ½Ç»ç¿ÜÁÖ_´ëÀü1" or rs("s_d_cost_name") = "Áö¹æ½Ç»ç¿ÜÁÖ_±¤ÁÖ1"_ + or rs("s_d_cost_name") = "Áö¹æ½Ç»ç¿ÜÁÖ_´ë±¸1" or rs("s_d_cost_name") = "Áö¹æ½Ç»ç¿ÜÁÖ_°­¿ø1" or rs("s_d_cost_name") = "Áö¹æ½Ç»ç¿ÜÁÖ_Á¦ÁÖ1" then %> + _<%=rs("s_d_cost_parents")%>_<%=rs("s_d_cost_code")%>_down" class="float-right fas fa-caret-square-down" onclick='line_show("<%=rs("s_d_cost_kind")%>_<%=rs("s_d_cost_parents")%>_<%=rs("s_d_cost_code")%>");' style=" CURSOR:pointer;"> + _<%=rs("s_d_cost_parents")%>_<%=rs("s_d_cost_code")%>_up" class="float-right fas fa-caret-square-up" onclick='line_hide("<%=rs("s_d_cost_kind")%>_<%=rs("s_d_cost_parents")%>_<%=rs("s_d_cost_code")%>");' style=" CURSOR:pointer;display:none" > + <% end if %> + + size=7 onPropertyChange='sum_this("est","<%=line_count%>","<%=cost_type %>");' value='<%if pay_Array_new(line_count,3) <> "" then response.write formatNumberDbl(pay_Array_new(line_count,3)) end if%>' class='number' + onkeyup='changValues(this,"<%=line_count %>"); sum_this("est","<%=line_count%>","<%=cost_type %>");' /> + + size=7 onPropertyChange='sum_this("est","<%=line_count%>","<%=cost_type %>");' value='<%if pay_Array_new(line_count,4) <> "" then response.write formatNumberDbl(pay_Array_new(line_count,4)) end if%>' class='number' + onkeyup='changValues(this,"<%=line_count %>"); sum_this("est","<%=line_count%>","<%=cost_type %>");' /> + + size=7 onPropertyChange='sum_this("est","<%=line_count%>","<%=cost_type %>");' value='<%if pay_Array_new(line_count,5) <> "" then response.write formatNumberDbl(pay_Array_new(line_count,5)) end if%>' class='number' + onkeyup='changValues(this,"<%=line_count %>"); sum_this("est","<%=line_count%>","<%=cost_type %>");' /> + "18" then %> readonly='true' <%end if%> /> + "18" then %> readonly='true' <%end if%> /> + "18" then %> readonly='true' <%end if%> /> +
°è¾à¾×<%=formatnumber(p_cont_cost,0)%> ¿ø
(ºÎ°¡¼¼ º°µµ)
<%=cost_type_name%> Á÷Á¢ºñ¿øÁ÷Á¢ºñ¿ø
<%=cost_type_name%> Á÷Á¢ºñÀ² + + value='0' + <% Else %> + value='<%=formatnumber(est_sum / Cdbl(p_cont_cost) * 100,2)%>' + <% End If %> + readonly>% + Á÷Á¢ºñÀ² + + value='0' + <% Else %> + value='<%=formatnumber(act_sum / Cdbl(p_cont_cost) * 100,2)%>' + <% End If %> + readonly>% +
»ùÇôç Á÷Á¢ºñ¿ø»ùÇôç Á÷Á¢ºñ¿ø
+ ¸Þ¸ð
+ +
+ +
¸Þ¸ð
°æ¿µ Àü¿ë
+ +
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/punching_cnt.asp b/inspection/punching_cnt.asp new file mode 100644 index 0000000..608bc1a --- /dev/null +++ b/inspection/punching_cnt.asp @@ -0,0 +1,44 @@ + +<% +Response.CharSet = "EUC-KR" + +dim prj_code : prj_code = Request("prj_code") +dim prj_name : prj_name = unescape(Request("prj_name")) +%> + \ No newline at end of file diff --git a/inspection/punching_confirm.asp b/inspection/punching_confirm.asp new file mode 100644 index 0000000..2295ae7 --- /dev/null +++ b/inspection/punching_confirm.asp @@ -0,0 +1,401 @@ + + +<% +Dim prj_code : prj_code = Request("prj_code") +Dim prj_name : prj_name = Request("prj_name") +%> + +
+ +
+

ÆÝÄ¡ ±Ù¹«È®ÀÎ

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "nk" %> + +
+
+ + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® + ÇÁ·ÎÁ§Æ® ¼±Åà +
´Ü°¡ ¼³Á¤ + ¿ø + Confrim ó¸®
+ + + + + + + + + + + + + + <% + dim no : no = 0 + query = "" + query = query &" select isnull(cast(BB.id as varchar),'') as id, isnull(cast(CC.id as varchar),'') as pay_id, AA.*, isnull(CC.s_pay_unit,'0') as s_pay_unit, isnull(CC.s_wan,'0') as s_wan, isnull(CC.s_sum, '0') as s_sum, "&VbCrlf + query = query &" isnull(BB.job_add_time_memo,'') as job_add_time_memo, isnull(CC.insert_user,'') as insert_user, isnull(CC.attribute01,'') as attribute01, isnull(BB.job_confirm_yn,'N') as job_confirm_yn, "&VbCrlf + query = query &" isnull(CC.attribute05,'') as attribute05, case when DD.d_order_cnt = '77' then '°áÀç ¿Ï·á' when DD.d_order_cnt is null then '' else '°áÀç Áß' end as d_order_cnt from "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select left(tProcode,11) as prj_code, a.tUserID, b.tuserpwd as n_birth, convert(char(10),tEndDate,23) as date, "&VbCrlf + query = query &" sum(cast(REPLACE(tPunchCount,'-','') as int)) as tPunchCount "&VbCrlf + query = query &" from punching.dbo.tb_PunchLogInfo a "&VbCrlf + query = query &" left join punching.dbo.tb_mgrusers b on a.tUserID=b.tuserid "&VbCrlf + query = query &" where a.tUserID in (select tuserid from punching.dbo.tb_mgrusers where tuseroption = '18') "&VbCrlf + query = query &" and left(a.tProcode,11) = '" & prj_code & "' and a.tPunchCount<>'0' "&VbCrlf + query = query &" group by left(tProcode,11), a.tUserID, b.tuserpwd, convert(char(10),tEndDate,23) "&VbCrlf + query = query &" ) as AA "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select id, p_child_sn, neakeun_name, left(neakeun_jumin,6) as neakeun_jumin, date, job_add_time_memo, job_confirm_yn from project2.dbo.neakeun_work "&VbCrlf + query = query &" where p_sebu='ÆÝÄ¡' "&VbCrlf + query = query &" ) BB on AA.tUserID=BB.neakeun_name and AA.n_birth=BB.neakeun_jumin and AA.date=BB.date and AA.prj_code=BB.p_child_sn "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select id, p_sn, m_name, left(m_jumin,6) as m_jumin, s_pay_unit, s_wan, s_sum, insert_user, attribute01, attribute05 from project2.dbo.T_NEAKEUN_PAY "&VbCrlf + query = query &" where s_gubun='ÆÝÄ¡' "&VbCrlf + query = query &" ) CC on AA.prj_code=CC.p_sn and AA.tUserID=CC.m_name and AA.n_birth=CC.m_jumin and BB.id=CC.attribute01 "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select d_no, d_order_cnt from project2.dbo.Document "&VbCrlf + query = query &" where d_delok='N' "&VbCrlf + query = query &" ) DD on CC.attribute05=DD.d_no "&VbCrlf + query = query &" order by AA.date "&VbCrlf + 'Response.Write query + Rs.open query, adoconn, adopenstatic, adlockreadonly + Dim input_readonly + while not rs.eof + If rs("job_confirm_yn") = "Y" Then + input_readonly = "readonly='reaonldy'" + else + input_readonly = "" + End If + no = no + 1 + %> + + + + + + + + + + + + + <% + rs.movenext + wend + rs.Close + %> +
¼ø¹øÇÁ·ÎÁ§Æ® ÄÚµåÆÝó»ý³â¿ùÀϱٹ«ÀÏÀÚŸ¼ö´Ü°¡ÇÕ°èºñ°íÈ®ÀÎ
<%=no %><%=rs("prj_code") %><%=rs("tUserID") %>" />" /><%=rs("n_birth") %><%=rs("date") %><%=FormatNumber(rs("tPunchCount"),0) %>" class="p_unit text-right" tabindex="<%=no %>" <%=input_readonly %>/>¿ø<%=FormatNumber(rs("s_sum"),0) %>¿ø" class="p_etc" tabindex="1000+<%=no %>" <%=input_readonly %> style="width:100%;"/> + <%If rs("job_confirm_yn") = "N" Then%> + + <%Else %> + <%If rs("attribute05") = "" Then %> + + <%Else %> + <%=rs("d_order_cnt") %> + <%End If %> + <%End If %> +
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/inspection/qetc_confirm.asp b/inspection/qetc_confirm.asp new file mode 100644 index 0000000..21689a9 --- /dev/null +++ b/inspection/qetc_confirm.asp @@ -0,0 +1,666 @@ + + +<% +Dim prj_code : prj_code = Request("prj_code") +Dim prj_name : prj_name = Request("prj_name") +%> + +
+ + +
+

±âŸ ±Ù¹«È®ÀÎ

+
+ + +
+
+
+
+
+ <% Dim f_menu : f_menu = "nk" %> + + +
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® + ÇÁ·ÎÁ§Æ® ¼±Åà + +
´Ü°¡ ¼³Á¤ ¿ø ÃÑ Àοø ¸íConfrim ó¸®
+ + + + + + + + + + + + + + + + + <% + dim no : no = 0 + query = "" + query = query &" select isnull(cast(AA.Id as varchar),'') as ID, isnull(cast(BB.Id as varchar),'') as PAY_ID, AA.p_child_sn as p_sn, AA.neakeun_name, left(AA.neakeun_jumin,6) as neakeun_jumin, AA.p_sebu, AA.date, AA.job_add_time_memo, AA.job_confirm_yn, "&VbCrlf + query = query &" isnull(BB.s_pay_unit,'0') as s_pay_unit, isnull(BB.s_wan,'0') as s_wan, isnull(AA.extra_pay1,'') as extra_pay1, isnull(AA.extra_pay2,'') as extra_pay2, isnull(BB.s_sum,'0') as s_sum, ISNULL(BB.insert_user,'') as insert_user, "&VbCrlf + query = query &" isnull(BB.attribute01,'') as attribute01, isnull(BB.attribute05,'') as attribute05, "&VbCrlf + query = query &" case when CC.d_order_cnt = '77' then '°áÀç ¿Ï·á' when CC.d_order_cnt is null then '' else '°áÀç Áß' end as d_order_cnt "&VbCrlf + query = query &" from project2.dbo.neakeun_work AA "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select ID, p_sn, m_name, left(m_jumin,6) as m_jumin, s_pay_unit, s_wan, s_sum, insert_user, attribute01, attribute02, attribute05 "&VbCrlf + query = query &" from project2.dbo.T_NEAKEUN_PAY "&VbCrlf + query = query &" ) BB on cast(AA.id as varchar)=BB.attribute01 "&VbCrlf + query = query &" left join "&VbCrlf + query = query &" ( "&VbCrlf + query = query &" select d_no, d_order_cnt "&VbCrlf + query = query &" from project2.dbo.Document where d_delok='N' "&VbCrlf + query = query &" ) CC on BB.attribute05=CC.d_no "&VbCrlf + query = query &" where AA.p_child_sn='" & prj_code & "' and AA.workload='ETC' and BB.attribute02='ETC' "&VbCrlf + 'Response.Write query + Rs.open query, adoconn, adopenstatic, adlockreadonly + if not rs.eof Then + Dim input_readonly + while not rs.eof + If rs("job_confirm_yn") = "Y" Then + input_readonly = "readonly='reaonldy'" + else + input_readonly = "" + End If + no = no + 1 + %> + + + + + + + + + + + + + + + + <% + rs.movenext + wend + rs.Close + End If + %> +
¼ø¹ø³»±ÙÁ÷»ý³â¿ùÀϾ÷¹«±¸ºÐ±Ù¹«ÀÏÀÚ±Ù¹«½Ã°£´Ü°¡Ãß°¡¼ö´ç1Ãß°¡¼ö´ç2ÇÕ°èºñ°íÈ®ÀÎ
<%=no %> + /> + + + />" <%=input_readonly %>/>" readonly='readonly' />" <%=input_readonly %>/>" <%=input_readonly %>/><%if rs("extra_pay1")="1" Then%>O<%End If %>" ><%if rs("extra_pay2")="1" Then%>O<%End If %>" ><%=formatnumber(rs("s_sum"), 0) %> ¿ø" />" <%=input_readonly %>/> + <%If rs("job_confirm_yn") = "N" Then%> + + <%Else %> + <%If rs("attribute05") = "" Then %> + + <%Else %> + <%=rs("d_order_cnt") %> + <%End If %> + <%End If %> + + <%If rs("job_confirm_yn") = "N" Then%> + + <%End If %> +
+ +
+
+
+
+
+
+
+ + + +
+ + diff --git a/inspection/qetc_readfile.asp b/inspection/qetc_readfile.asp new file mode 100644 index 0000000..d8dc02f --- /dev/null +++ b/inspection/qetc_readfile.asp @@ -0,0 +1,48 @@ +<%@ LANGUAGE="VBSCRIPT" CodePage=65001 %> + +<% + Response.charset="UTF-8" + + Set xlDb = Server.CreateObject("ADODB.Connection") + Set oRs = Server.CreateObject("ADODB.RecordSet") + + excelName = unescape(Request("excelName")) + FileName = "D:\TEMP\" & excelName + + Dim r_cnt + Dim table_data + Dim json + Dim json_obj + + connectString = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & FileName & "; Extended Properties='Excel 12.0;HDR=YES;IMEX=1'" + xlDb.Open connectString + + Query = " SELECT * FROM [Sheet1$] " + oRs.Open Query, xlDb, 1 + + redim table_data(oRs.RecordCount) + + i = 0 + Do while not oRs.EOF + i = i + 1 + set json_obj = jsObject() + json_obj("No") = i + json_obj("n_name") = Trim(oRs.Fields(0).Value) + json_obj("n_birth") = Trim(oRs.Fields(1).Value) + json_obj("n_gubun") = Trim(oRs.Fields(2).Value) + json_obj("n_date") = Trim(oRs.Fields(3).Value) + json_obj("n_time") = Trim(oRs.Fields(4).Value) + json_obj("n_danga") = Trim(oRs.Fields(5).Value) + json_obj("n_etc") = Trim(oRs.Fields(6).Value) + set table_data(i) = json_obj + oRs.MoveNext + Loop + + set json = jsOBject() + json("table_data") = table_data + + Response.Write toJSON(json) + + 'Response.Write table_date + 'Response.Write oRs.recordcount &"//"& oRs.Fields.count +%> \ No newline at end of file diff --git a/inspection/qetc_upload.asp b/inspection/qetc_upload.asp new file mode 100644 index 0000000..5a76ddd --- /dev/null +++ b/inspection/qetc_upload.asp @@ -0,0 +1,15 @@ +<%@ LANGUAGE="VBSCRIPT" %> +<% + Response.charset="EUC-KR" + On Error Resume Next + Set uploadform = Server.CreateObject("DEXT.FileUpload") + uploadform.DefaultPath = "D:\TEMP" + uploadform.Save + Set uploadform = Nothing + If Err Then + Response.Write "Error occured :" + Response.Write Err.Description + Else + Response.Write "1" + End If +%> \ No newline at end of file diff --git a/inspection/work_status.asp b/inspection/work_status.asp new file mode 100644 index 0000000..cfc286a --- /dev/null +++ b/inspection/work_status.asp @@ -0,0 +1,480 @@ + +<% +dim command +command = Request("command") + +s_date_st = request("s_date_st") +s_date_end = request("s_date_end") +s_name = request("s_name") +s_work = "'" & replace(replace(request("s_work"), " ", ""), ",", "','") & "'" +s_p_sn = request("s_p_sn") +s_p_subject = request("s_p_subject") +s_column = replace(request("s_column"), " ", "") + +Dim column_dic +Set column_dic = Server.CreateObject("Scripting.Dictionary") +With column_dic + .Add "intranet_project", "ÇÁ·ÎÁ§Æ®ÄÚµå" + .Add "p_subject", "ÇÁ·ÎÁ§Æ®¸í" + .Add "work_kind", "¾÷¹«±¸ºÐ" + .Add "log_user", "³»±ÙÁ÷/¸éÁ¢¿ø ID" + .Add "log_user_name", "³»±ÙÁ÷/¸éÁ¢¿ø ¼º¸í" + .Add "log_date", "¾÷¹«³¯Â¥" + .Add "in_time", "Ãâ±Ù½Ã°£" + .Add "out_time", "Åð±Ù½Ã°£" + .Add "log_s_time", "ùCall" + .Add "log_e_time", "¸¶Áö¸·Call" + .Add "cnt", "¾÷¹«Count" +End With + +if command <> "excel" then +%> + + +
+ + +
+

CATI/ÄÁÅÃ/°ËÁõ ¾÷¹« ÇöȲ

+
+ + +
+
+
+
+
+<% +End If +if command = "excel" then + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=Work_Status.xls" +end if +%> +
+ + + + + <% If command <> "excel" Then %> + + + + + + + + + + + + + + + + + + + + + + + <% End if %> + <% if command <> "" Then %> + + + + <% End if %> +
±â °£ + + ~ + + ³»±ÙÁ÷/¸éÁ¢¿ø ¼º¸í + +
¾÷ ¹« + + + + + + ÇÁ·ÎÁ§Æ® ÄÚµå + +
Áý°è Column ¼±Åà + + + + + ÇÁ·ÎÁ§Æ® ¸í + +
°Ë»ö ½Ã 1ºÐ¿¡¼­ 10ºÐ °¡·® ¼Ò¿äµÉ ¼ö ÀÖ½À´Ï´Ù + + +
+
+ + <% + query = " SELECT " + if s_column <> "" Then + query = query & " " & s_column & ", " + else + query = query & " intranet_project, p_subject, work_kind, log_user, log_user_name, log_date, in_time, out_time, log_s_time, log_e_time, " + End if + query = query & " sum(cnt) AS cnt " + query = query & " FROM ( " + query = query & " SELECT intranet_project, p_subject, work_kind, " + query = query & " (SELECT TOP 1 new_id FROM project2.dbo.man WITH(nolock) WHERE id = BSU.log_user) AS log_user, BSU.log_user AS m_id, log_user_name, log_date, cnt " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT P.intranet_project, TPM.p_subject, 'CATI' AS work_kind, L.log_user, L.log_user_name, L.log_date, L.prj_code, P.prj_name, sum(cnt) AS cnt " + query = query & " FROM ( " + query = query & " SELECT log_user, log_user_name, log_date, prj_code, sum(cnt) AS cnt " + query = query & " FROM ( " + query = query & " SELECT s_client AS 'log_user', s_client_name AS 'log_user_name', s_date AS 'log_date', prj_code, count(*) AS cnt " + query = query & " FROM new_cati.dbo.sheet1 WITH(NOLOCK) " + query = query & " WHERE s_client NOT IN ('0', '15254', '15632') " + query = query & " GROUP BY s_client, s_client_name, s_date, prj_code " + query = query & " UNION ALL " + query = query & " SELECT s_client AS 'log_user', s_client_name AS 'log_user_name', s_date AS 'log_date', prj_code, 0 AS cnt " + query = query & " FROM new_cati.dbo.sheet1_Send WITH(NOLOCK) " + query = query & " WHERE s_client NOT IN ('0', '15254', '15632') " + query = query & " GROUP BY s_client, s_client_name, s_date, prj_code " + query = query & " ) CS " + query = query & " GROUP BY log_user, log_user_name, log_date, prj_code " + query = query & " ) L LEFT OUTER JOIN ( " + query = query & " SELECT prj_code, prj_name, intranet_project " + query = query & " FROM new_cati.dbo.project WITH(NOLOCK) " + query = query & " WHERE intranet_project IS NOT NULL " + query = query & " ) P ON L.prj_code = P.prj_code LEFT OUTER JOIN ( " + query = query & " SELECT p_child_sn, p_subject " + query = query & " FROM project2.dbo.T_PROJECT_METHOD WITH(NOLOCK) " + query = query & " WHERE p_child_sn IS NOT NULL " + query = query & " ) TPM ON P.intranet_project = TPM.p_child_sn " + query = query & " GROUP BY P.intranet_project, TPM.p_subject, L.log_user, L.log_user_name, L.log_date, L.prj_code, P.prj_name " + query = query & " UNION ALL " + query = query & " SELECT KL.intranet_project, TPM.p_subject, 'ÄÁÅÃ' AS work_kind, m.id AS log_user, U.login_name, L.log_date, CONVERT(VARCHAR(20), KL.id) AS kikoan_id, KL.kikoan_name, sum(L.cnt) AS cnt " + query = query & " FROM " + query = query & " ( " + query = query & " SELECT user_id, kikoan_name, log_date, count(*) AS cnt " + query = query & " FROM contact.dbo.log WITH(NOLOCK) " + query = query & " WHERE log_stat = 'ÄÁÅðá°ú ÀúÀå' " + query = query & " GROUP BY user_id, kikoan_name, log_date " + query = query & " ) L LEFT OUTER JOIN ( " + query = query & " SELECT id, login_name " + query = query & " FROM contact.dbo.login_user WITH(NOLOCK) " + query = query & " WHERE login_name IS NOT NULL " + query = query & " ) U ON L.user_id = U.id LEFT OUTER JOIN ( " + query = query & " SELECT id, m_name, m_jumin " + query = query & " FROM project2.dbo.man " + query = query & " WHERE m_activity = 'Ȱµ¿' " + query = query & " AND grade_3 <> '' " + query = query & " ) M ON U.login_name = M.m_name LEFT OUTER JOIN ( " + query = query & " SELECT id, intranet_project, kikoan_name " + query = query & " FROM contact.dbo.kikoan_list WITH(NOLOCK) " + query = query & " WHERE intranet_project IS NOT NULL " + query = query & " ) KL ON (L.kikoan_name = KL.kikoan_name OR L.kikoan_name = CONVERT(VARCHAR(20), KL.id)) LEFT OUTER JOIN ( " + query = query & " SELECT p_child_sn, p_subject " + query = query & " FROM project2.dbo.T_PROJECT_METHOD WITH(NOLOCK) " + query = query & " ) TPM ON KL.intranet_project = TPM.p_child_sn " + query = query & " GROUP BY KL.intranet_project, TPM.p_subject, m.id, U.login_name, L.log_date, CONVERT(VARCHAR(20), KL.id), KL.kikoan_name " + query = query & " UNION ALL " + query = query & " SELECT ISNULL(TPF.intranet_project, IRL.p_sn) AS intranet_project, TPM.p_subject, '°ËÁõ(FF)' AS work_kind, M.id AS log_user, M.m_name, " + query = query & " inspection_date AS log_date, IRL.p_sn, ISNULL(Ltrim(TPF.p_subject), Ltrim(TPM.p_subject)) AS p_subject, sum(cnt) AS cnt " + query = query & " FROM ( " + query = query & " SELECT p_sn, s_id, CONVERT(VARCHAR(10), inspection_date, 120) AS inspection_date, inspection_user, count(*) AS cnt " + query = query & " FROM project2.dbo.T_INSPECTION_RES WITH(NOLOCK) " + query = query & " WHERE r_result NOT IN ('5', '6', '7') AND LEN(inspection_user) < 8 " + query = query & " GROUP BY p_sn, s_id, CONVERT(VARCHAR(10), inspection_date, 120), inspection_user " + query = query & " UNION ALL " + query = query & " SELECT p_sn, s_id, CONVERT(VARCHAR(10), inspection_date, 120) AS inspection_date, inspection_user, count(*) AS cnt " + query = query & " FROM project2.dbo.T_INSPECTION_RES_LOG WITH(NOLOCK) " + query = query & " WHERE r_result NOT IN ('5', '6', '7') AND LEN(inspection_user) < 8 " + query = query & " GROUP BY p_sn, s_id, CONVERT(VARCHAR(10), inspection_date, 120), inspection_user " + query = query & " ) IRL LEFT OUTER JOIN ( " + query = query & " SELECT id, m_name " + query = query & " FROM project2.dbo.man WITH(NOLOCK) " + query = query & " ) M ON IRL.inspection_user = M.id LEFT OUTER JOIN ( " + query = query & " SELECT p_child_sn, intranet_project, p_subject " + query = query & " FROM project2.dbo.T_PROJECT_FCS WITH(NOLOCK) " + query = query & " ) TPF ON IRL.p_sn = TPF.p_child_sn LEFT OUTER JOIN ( " + query = query & " SELECT p_child_sn, p_subject " + query = query & " FROM project2.dbo.T_PROJECT_METHOD WITH(NOLOCK) " + query = query & " ) TPM ON ISNULL(TPF.intranet_project, IRL.p_sn) = TPM.p_child_sn " + query = query & " GROUP BY ISNULL(TPF.intranet_project, IRL.p_sn), TPM.p_subject, M.id, M.m_name, inspection_date, IRL.p_sn, ISNULL(Ltrim(TPF.p_subject), Ltrim(TPM.p_subject)) " + query = query & " UNION ALL " + query = query & " SELECT P.intranet_project, TPM.p_subject, '°ËÁõ(CATI)' AS work_kind, tel_inspection_uid AS log_user, tel_inspection_user, " + query = query & " tel_inspection_date AS log_date, TIC.prj_code, P.prj_name, sum(cnt) AS cnt " + query = query & " FROM ( " + query = query & " SELECT prj_code, tel_inspection_uid, tel_inspection_user, CONVERT(VARCHAR(10), tel_inspection_date, 120) AS tel_inspection_date, count(*) AS cnt " + query = query & " FROM new_cati.dbo.T_INSPECTION_CATI WITH(NOLOCK) " + query = query & " WHERE tel_inspection_user <> '' AND tel_inspection_uid IS NOT NULL AND LEN(tel_inspection_uid) < 8 " + query = query & " GROUP BY prj_code, tel_inspection_uid, tel_inspection_user, CONVERT(VARCHAR(10), tel_inspection_date, 120) " + query = query & " ) TIC LEFT OUTER JOIN ( " + query = query & " SELECT prj_code, prj_name, intranet_project " + query = query & " FROM new_cati.dbo.project WITH(NOLOCK) " + query = query & " ) P ON TIC.prj_code = P.prj_code LEFT OUTER JOIN ( " + query = query & " SELECT p_child_sn, p_subject " + query = query & " FROM project2.dbo.T_PROJECT_METHOD WITH(NOLOCK) " + query = query & " ) TPM ON P.intranet_project = TPM.p_child_sn " + query = query & " GROUP BY P.intranet_project, TPM.p_subject, tel_inspection_uid, tel_inspection_user, tel_inspection_date, TIC.prj_code, P.prj_name " + query = query & " ) BSU " + query = query & " WHERE log_date BETWEEN '"&s_date_st&"' AND '"&s_date_end&"' " + query = query & " ) T LEFT OUTER JOIN ( " + query = query & " SELECT nek.neakeun_name, nek.m_id, nek.date, nek.in_time, nek.out_time, " + query = query & " REPLACE(LEFT(RIGHT(CONVERT(varchar(20), LT.log_s_time, 120), 8), 5), ':', '') AS log_s_time, REPLACE(LEFT(RIGHT(CONVERT(varchar(20), LT.log_e_time, 120), 8), 5), ':', '') AS log_e_time " + query = query & " FROM ( " + query = query & " SELECT neakeun_name, m_id, date, in_time, out_time " + query = query & " FROM project2.dbo.neakeun_in_out_time WITH(NOLOCK) " + query = query & " ) nek LEFT OUTER JOIN ( " + query = query & " SELECT log_user, log_date, min(log_s_time) AS log_s_time, max(log_e_time) AS log_e_time " + query = query & " FROM new_cati.dbo.log_cati_prj_in_out WITH(NOLOCK) " + query = query & " GROUP BY log_user, log_date " + query = query & " ) LT ON nek.m_id = LT.log_user AND nek.date = LT.log_date " + query = query & " ) YY ON T.m_id = YY.m_id AND T.log_date = YY.date " + query = query & " WHERE LEFT(log_user_name, 3) <> '13.' " + If s_name <> "" Then + query = query & " AND log_user_name LIKE '%" & s_name & "%' " + End If + If s_work <> "" Then + query = query & " AND work_kind IN (" & s_work & ") " + End If + If s_p_sn <> "" Then + query = query & " AND intranet_project LIKE '" & s_p_sn & "%' " + End If + If s_p_subject <> "" Then + query = query & " AND p_subject LIKE '%" & s_p_subject & "%' " + End If + if s_column <> "" Then + query = query & " GROUP BY " & s_column & " " + query = query & " ORDER BY " & s_column & " " + Else + query = query & " GROUP BY work_kind, log_date, intranet_project, p_subject, T.log_user, log_user_name, YY.in_time, YY.out_time, YY.log_s_time, YY.log_e_time " + query = query & " ORDER BY work_kind, log_date, intranet_project, p_subject, T.log_user, log_user_name, YY.in_time, YY.out_time, YY.log_s_time, YY.log_e_time " + End if + 'Response.Write query + AdoRs.open query, adoconn, adopenstatic, adlockreadonly + + If AdoRs.RecordCount > 0 Then + %> + + <% + For i = 0 To AdoRs.fields.count - 1 + %> + + <%If s_work="'CATI'" and column_dic.Item(AdoRs.fields(i).Name)="³»±ÙÁ÷/¸éÁ¢¿ø ¼º¸í" Then%> + + <%End If %> + <% + Next + %> + + <% + Else + %> + + + + <% + End If + + + + Do While Not AdoRs.Eof + %> + + <% + For i = 0 To AdoRs.fields.count - 1 ' ¿ø·¡ - 1 ¸¸ ÇØ¾ßµÇ´Âµ¥, ¸¶Áö¸· Ä÷³ cnt ¿¡ Detail È­¸é ¸µÅ©¸¦ °É±âÀ§ÇØ Á¶Á¤ + %> + + <%If s_work="'CATI'" and column_dic.Item(AdoRs.fields(i).Name)="³»±ÙÁ÷/¸éÁ¢¿ø ¼º¸í" Then%> + + <%End If %> + <% + Next + '¼¼ºÎ ¸µÅ© Ȱ¼ºÈ­ ½Ã ¾Æ·¡ ÁÖ¼® ÇØÁ¦ ¹× »ó´Ü For¹® AdoRs.fields.count - 2 ·Î ¼öÁ¤ + %> + + <% + AdoRs.MoveNext + Loop + %> +
<%= column_dic.Item(AdoRs.fields(i).Name)%> ÄÝ Count 
°Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù
<%= AdoRs.fields(i) %> + <% + query2="" + query2=query2&" SELECT count(*) AS tcnt " + query2=query2&" FROM new_cati.dbo.logfile WITH(NOLOCK) " + query2=query2&" WHERE prj_code = (SELECT TOP 1 prj_code FROM new_cati.dbo.project WHERE intranet_project = '"&AdoRs("intranet_project")&"') " + query2=query2&" AND log_user_name = '"&AdoRs("log_user_name")&"' " + rsc.Open query2, adoConn, 1 + %> + <%=rsc("tcnt") %> + <% + rsc.Close + %> +
+
+
+
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> diff --git a/inspection/work_status_detail_ajax.asp b/inspection/work_status_detail_ajax.asp new file mode 100644 index 0000000..fbb1a90 --- /dev/null +++ b/inspection/work_status_detail_ajax.asp @@ -0,0 +1,94 @@ + + + +<% + + + date_st = request("date_st") + date_end = request("date_end") + params = unescape(request("params")) + arr_param = split(params, ",") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT intranet_project, p_subject, work_kind, log_user_name, log_date, log_st_time, log_ontel, tel_stat_label, prj_code, prj_name FROM " + query = query & " ( " + query = query & " SELECT P.intranet_project, TPM.p_subject, 'CATI' as work_kind, log_user_name, log_date, log_st_time, log_ontel, CS.tel_stat_label, L.prj_code, P.prj_name " + query = query & " FROM new_cati.dbo.logfile L WITH(NOLOCK) LEFT OUTER JOIN " + query = query & " new_cati.dbo.project P WITH(NOLOCK) ON L.prj_code = P.prj_code LEFT OUTER JOIN " + query = query & " new_cati.dbo.cati_stat CS WITH(NOLOCK) ON L.log_stat = CS.tel_stat AND CS.prj_code = '0' LEFT OUTER JOIN " + query = query & " project2.dbo.T_PROJECT_METHOD TPM WITH(NOLOCK) ON P.intranet_project = TPM.p_child_sn " + query = query & " WHERE log_user <> '15254' AND log_user <> '15632' AND P.intranet_project IS NOT NULL " + query = query & " " + query = query & " UNION ALL " + query = query & " SELECT KL.intranet_project, TPM.p_subject, 'ÄÁÅÃ' as work_kind, login_name, log_date, log_time + ':00' as log_time, tel_num, contac_stat_label, CONVERT(VARCHAR(10), KL.id) as kikoan_id, KL.kikoan_name " + query = query & " FROM contact.dbo.log L WITH(NOLOCK) LEFT OUTER JOIN " + query = query & " contact.dbo.login_user U WITH(NOLOCK) ON L.user_id = U.id LEFT OUTER JOIN " + query = query & " contact.dbo.kikoan_list KL WITH(NOLOCK) ON (L.kikoan_name = KL.kikoan_name OR L.kikoan_name = CONVERT(VARCHAR(10), KL.id)) LEFT OUTER JOIN " + query = query & " contact.dbo.contac_stat CS WITH(NOLOCK) ON KL.id = CS.kikoan_id AND L.contac_stat = CS.contac_stat LEFT OUTER JOIN " + query = query & " project2.dbo.T_PROJECT_METHOD TPM WITH(NOLOCK) ON KL.intranet_project = TPM.p_child_sn " + query = query & " WHERE KL.intranet_project IS NOT NULL AND login_name IS NOT NULL AND log_stat = 'ÄÁÅðá°ú ÀúÀå' AND login_name <> 'ÄÁÅÃ' " + query = query & " " + query = query & " UNION ALL " + query = query & " SELECT ISNULL(TPF.intranet_project, IRL.p_sn) as intranet_project, TP.p_subject, '°ËÁõ(FF)' as work_kind, M.m_name, " + query = query & " CONVERT(VARCHAR(10), inspection_date, 120) as inspection_date, RIGHT(CONVERT(VARCHAR(19), inspection_date, 120), 8) as inspection_time, " + query = query & " CASE WHEN ISNULL(R.r_tel, '') = '' THEN ISNULL(R.r_phone, '') ELSE R.r_tel END as r_tel_num, TRR.r_result_label, IRL.p_sn, ISNULL(Ltrim(TPF.p_subject), Ltrim(TPM.p_subject)) as p_subject " + query = query & " FROM project2.dbo.T_INSPECTION_RES_LOG IRL WITH(NOLOCK) LEFT OUTER JOIN " + query = query & " project2.dbo.RES R WITH(NOLOCK) ON IRL.p_sn = R.p_sn AND IRL.s_id = R.s_id AND R.DelGubun = 'N' AND R.s_error IS NULL AND R.r_error IS NULL AND R.m_error IS NULL LEFT OUTER JOIN " + query = query & " project2.dbo.man M WITH(NOLOCK) ON IRL.inspection_user = M.id LEFT OUTER JOIN " + query = query & " project2.dbo.T_PROJECT_FCS TPF WITH(NOLOCK) ON IRL.p_sn = TPF.p_child_sn LEFT OUTER JOIN " + query = query & " project2.dbo.T_PROJECT_METHOD TPM WITH(NOLOCK) ON IRL.p_sn = TPM.p_child_sn LEFT OUTER JOIN " + query = query & " project2.dbo.T_PROJECT_METHOD TP WITH(NOLOCK) ON ISNULL(TPF.intranet_project, IRL.p_sn) = TP.p_child_sn LEFT OUTER JOIN " + query = query & " project2.dbo.t_res_result TRR WITH(NOLOCK) ON IRL.r_result = TRR.r_result AND TRR.p_sn = '0' " + query = query & " WHERE LEN(IRL.inspection_user) < 8 " + query = query & " " + query = query & " UNION ALL " + query = query & " SELECT P.intranet_project, TPM.p_subject, '°ËÁõ(CATI)' as work_kind, tel_inspection_user, " + query = query & " CONVERT(VARCHAR(10), tel_inspection_date, 120) as inspection_date, RIGHT(CONVERT(VARCHAR(19), tel_inspection_date, 120), 8) as inspection_time, " + query = query & " tel_oktelno, CASE WHEN tel_result = '1' THEN '°ËÁõOK' ELSE 'ERROR' END as tel_result_label, TIC.prj_code, P.prj_name " + query = query & " FROM new_cati.dbo.T_INSPECTION_CATI TIC WITH(NOLOCK) LEFT OUTER JOIN " + query = query & " new_cati.dbo.project P WITH(NOLOCK) ON TIC.prj_code = P.prj_code LEFT OUTER JOIN " + query = query & " project2.dbo.T_PROJECT_METHOD TPM WITH(NOLOCK) ON P.intranet_project = TPM.p_child_sn " + query = query & " WHERE tel_inspection_user <> '' " + query = query & " ) T " + query = query & " WHERE log_date BETWEEN '" & date_st & "' AND '" & date_end & "' " + For i = LBOUND(arr_param) TO UBOUND(arr_param) - 1 + If i mod 2 = 0 Then + query = query & " AND " & arr_param(i) + Else + query = query & " = '" & arr_param(i) & "' " + End if + Next + query = query & " ORDER BY work_kind, log_date, log_st_time, intranet_project, log_user_name " + + response.write "" + response.write " ¾÷¹«±¸ºÐ" + response.write " ¾÷¹«³¯Â¥" + response.write " ¾÷¹«½Ã°£" + response.write " ÇÁ·ÎÁ§Æ®ÄÚµå" + response.write " ³»±ÙÁ÷/¸éÁ¢¿ø ¼º¸í" + response.write " ¾÷¹«º°»óŰª" + response.write " ÀüÈ­¹øÈ£(ÅëÈ­ ½Ã)" + response.write " ¼­ºêÇÁ·ÎÁ§Æ®ÄÚµå" + response.write "" + rsp.Open query, adoConn, 1 + do while not rsp.eof + 'intranet_project, p_subject, work_kind, log_user_name, log_date, log_st_time, log_ontel, tel_stat_label, prj_code, prj_name + response.write "" + response.write " " & rsp("work_kind") & "" + response.write " " & rsp("log_date") & "" + response.write " " & rsp("log_st_time") & "" + response.write " " & rsp("intranet_project") & "" + response.write " " & rsp("log_user_name") & "" + response.write " " & rsp("tel_stat_label") & "" + response.write " " & rsp("log_ontel") & "" + response.write " " & rsp("prj_code") & "" + response.write "" + rsp.movenext + loop + rsp.close +%> \ No newline at end of file diff --git a/js/Chart.js b/js/Chart.js new file mode 100644 index 0000000..9dd429a --- /dev/null +++ b/js/Chart.js @@ -0,0 +1,16171 @@ +/*! + * Chart.js v2.9.3 + * https://www.chartjs.org + * (c) 2019 Chart.js Contributors + * Released under the MIT License + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(function() { try { return require('moment'); } catch(e) { } }()) : + typeof define === 'function' && define.amd ? define(['require'], function(require) { return factory(function() { try { return require('moment'); } catch(e) { } }()); }) : + (global = global || self, global.Chart = factory(global.moment)); + }(this, (function (moment) { 'use strict'; + + moment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment; + + function createCommonjsModule(fn, module) { + return module = { exports: {} }, fn(module, module.exports), module.exports; + } + + function getCjsExportFromNamespace (n) { + return n && n['default'] || n; + } + + var colorName = { + "aliceblue": [240, 248, 255], + "antiquewhite": [250, 235, 215], + "aqua": [0, 255, 255], + "aquamarine": [127, 255, 212], + "azure": [240, 255, 255], + "beige": [245, 245, 220], + "bisque": [255, 228, 196], + "black": [0, 0, 0], + "blanchedalmond": [255, 235, 205], + "blue": [0, 0, 255], + "blueviolet": [138, 43, 226], + "brown": [165, 42, 42], + "burlywood": [222, 184, 135], + "cadetblue": [95, 158, 160], + "chartreuse": [127, 255, 0], + "chocolate": [210, 105, 30], + "coral": [255, 127, 80], + "cornflowerblue": [100, 149, 237], + "cornsilk": [255, 248, 220], + "crimson": [220, 20, 60], + "cyan": [0, 255, 255], + "darkblue": [0, 0, 139], + "darkcyan": [0, 139, 139], + "darkgoldenrod": [184, 134, 11], + "darkgray": [169, 169, 169], + "darkgreen": [0, 100, 0], + "darkgrey": [169, 169, 169], + "darkkhaki": [189, 183, 107], + "darkmagenta": [139, 0, 139], + "darkolivegreen": [85, 107, 47], + "darkorange": [255, 140, 0], + "darkorchid": [153, 50, 204], + "darkred": [139, 0, 0], + "darksalmon": [233, 150, 122], + "darkseagreen": [143, 188, 143], + "darkslateblue": [72, 61, 139], + "darkslategray": [47, 79, 79], + "darkslategrey": [47, 79, 79], + "darkturquoise": [0, 206, 209], + "darkviolet": [148, 0, 211], + "deeppink": [255, 20, 147], + "deepskyblue": [0, 191, 255], + "dimgray": [105, 105, 105], + "dimgrey": [105, 105, 105], + "dodgerblue": [30, 144, 255], + "firebrick": [178, 34, 34], + "floralwhite": [255, 250, 240], + "forestgreen": [34, 139, 34], + "fuchsia": [255, 0, 255], + "gainsboro": [220, 220, 220], + "ghostwhite": [248, 248, 255], + "gold": [255, 215, 0], + "goldenrod": [218, 165, 32], + "gray": [128, 128, 128], + "green": [0, 128, 0], + "greenyellow": [173, 255, 47], + "grey": [128, 128, 128], + "honeydew": [240, 255, 240], + "hotpink": [255, 105, 180], + "indianred": [205, 92, 92], + "indigo": [75, 0, 130], + "ivory": [255, 255, 240], + "khaki": [240, 230, 140], + "lavender": [230, 230, 250], + "lavenderblush": [255, 240, 245], + "lawngreen": [124, 252, 0], + "lemonchiffon": [255, 250, 205], + "lightblue": [173, 216, 230], + "lightcoral": [240, 128, 128], + "lightcyan": [224, 255, 255], + "lightgoldenrodyellow": [250, 250, 210], + "lightgray": [211, 211, 211], + "lightgreen": [144, 238, 144], + "lightgrey": [211, 211, 211], + "lightpink": [255, 182, 193], + "lightsalmon": [255, 160, 122], + "lightseagreen": [32, 178, 170], + "lightskyblue": [135, 206, 250], + "lightslategray": [119, 136, 153], + "lightslategrey": [119, 136, 153], + "lightsteelblue": [176, 196, 222], + "lightyellow": [255, 255, 224], + "lime": [0, 255, 0], + "limegreen": [50, 205, 50], + "linen": [250, 240, 230], + "magenta": [255, 0, 255], + "maroon": [128, 0, 0], + "mediumaquamarine": [102, 205, 170], + "mediumblue": [0, 0, 205], + "mediumorchid": [186, 85, 211], + "mediumpurple": [147, 112, 219], + "mediumseagreen": [60, 179, 113], + "mediumslateblue": [123, 104, 238], + "mediumspringgreen": [0, 250, 154], + "mediumturquoise": [72, 209, 204], + "mediumvioletred": [199, 21, 133], + "midnightblue": [25, 25, 112], + "mintcream": [245, 255, 250], + "mistyrose": [255, 228, 225], + "moccasin": [255, 228, 181], + "navajowhite": [255, 222, 173], + "navy": [0, 0, 128], + "oldlace": [253, 245, 230], + "olive": [128, 128, 0], + "olivedrab": [107, 142, 35], + "orange": [255, 165, 0], + "orangered": [255, 69, 0], + "orchid": [218, 112, 214], + "palegoldenrod": [238, 232, 170], + "palegreen": [152, 251, 152], + "paleturquoise": [175, 238, 238], + "palevioletred": [219, 112, 147], + "papayawhip": [255, 239, 213], + "peachpuff": [255, 218, 185], + "peru": [205, 133, 63], + "pink": [255, 192, 203], + "plum": [221, 160, 221], + "powderblue": [176, 224, 230], + "purple": [128, 0, 128], + "rebeccapurple": [102, 51, 153], + "red": [255, 0, 0], + "rosybrown": [188, 143, 143], + "royalblue": [65, 105, 225], + "saddlebrown": [139, 69, 19], + "salmon": [250, 128, 114], + "sandybrown": [244, 164, 96], + "seagreen": [46, 139, 87], + "seashell": [255, 245, 238], + "sienna": [160, 82, 45], + "silver": [192, 192, 192], + "skyblue": [135, 206, 235], + "slateblue": [106, 90, 205], + "slategray": [112, 128, 144], + "slategrey": [112, 128, 144], + "snow": [255, 250, 250], + "springgreen": [0, 255, 127], + "steelblue": [70, 130, 180], + "tan": [210, 180, 140], + "teal": [0, 128, 128], + "thistle": [216, 191, 216], + "tomato": [255, 99, 71], + "turquoise": [64, 224, 208], + "violet": [238, 130, 238], + "wheat": [245, 222, 179], + "white": [255, 255, 255], + "whitesmoke": [245, 245, 245], + "yellow": [255, 255, 0], + "yellowgreen": [154, 205, 50] + }; + + var conversions = createCommonjsModule(function (module) { + /* MIT license */ + + + // NOTE: conversions should only return primitive values (i.e. arrays, or + // values that give correct `typeof` results). + // do not use box values types (i.e. Number(), String(), etc.) + + var reverseKeywords = {}; + for (var key in colorName) { + if (colorName.hasOwnProperty(key)) { + reverseKeywords[colorName[key]] = key; + } + } + + var convert = module.exports = { + rgb: {channels: 3, labels: 'rgb'}, + hsl: {channels: 3, labels: 'hsl'}, + hsv: {channels: 3, labels: 'hsv'}, + hwb: {channels: 3, labels: 'hwb'}, + cmyk: {channels: 4, labels: 'cmyk'}, + xyz: {channels: 3, labels: 'xyz'}, + lab: {channels: 3, labels: 'lab'}, + lch: {channels: 3, labels: 'lch'}, + hex: {channels: 1, labels: ['hex']}, + keyword: {channels: 1, labels: ['keyword']}, + ansi16: {channels: 1, labels: ['ansi16']}, + ansi256: {channels: 1, labels: ['ansi256']}, + hcg: {channels: 3, labels: ['h', 'c', 'g']}, + apple: {channels: 3, labels: ['r16', 'g16', 'b16']}, + gray: {channels: 1, labels: ['gray']} + }; + + // hide .channels and .labels properties + for (var model in convert) { + if (convert.hasOwnProperty(model)) { + if (!('channels' in convert[model])) { + throw new Error('missing channels property: ' + model); + } + + if (!('labels' in convert[model])) { + throw new Error('missing channel labels property: ' + model); + } + + if (convert[model].labels.length !== convert[model].channels) { + throw new Error('channel and label counts mismatch: ' + model); + } + + var channels = convert[model].channels; + var labels = convert[model].labels; + delete convert[model].channels; + delete convert[model].labels; + Object.defineProperty(convert[model], 'channels', {value: channels}); + Object.defineProperty(convert[model], 'labels', {value: labels}); + } + } + + convert.rgb.hsl = function (rgb) { + var r = rgb[0] / 255; + var g = rgb[1] / 255; + var b = rgb[2] / 255; + var min = Math.min(r, g, b); + var max = Math.max(r, g, b); + var delta = max - min; + var h; + var s; + var l; + + if (max === min) { + h = 0; + } else if (r === max) { + h = (g - b) / delta; + } else if (g === max) { + h = 2 + (b - r) / delta; + } else if (b === max) { + h = 4 + (r - g) / delta; + } + + h = Math.min(h * 60, 360); + + if (h < 0) { + h += 360; + } + + l = (min + max) / 2; + + if (max === min) { + s = 0; + } else if (l <= 0.5) { + s = delta / (max + min); + } else { + s = delta / (2 - max - min); + } + + return [h, s * 100, l * 100]; + }; + + convert.rgb.hsv = function (rgb) { + var rdif; + var gdif; + var bdif; + var h; + var s; + + var r = rgb[0] / 255; + var g = rgb[1] / 255; + var b = rgb[2] / 255; + var v = Math.max(r, g, b); + var diff = v - Math.min(r, g, b); + var diffc = function (c) { + return (v - c) / 6 / diff + 1 / 2; + }; + + if (diff === 0) { + h = s = 0; + } else { + s = diff / v; + rdif = diffc(r); + gdif = diffc(g); + bdif = diffc(b); + + if (r === v) { + h = bdif - gdif; + } else if (g === v) { + h = (1 / 3) + rdif - bdif; + } else if (b === v) { + h = (2 / 3) + gdif - rdif; + } + if (h < 0) { + h += 1; + } else if (h > 1) { + h -= 1; + } + } + + return [ + h * 360, + s * 100, + v * 100 + ]; + }; + + convert.rgb.hwb = function (rgb) { + var r = rgb[0]; + var g = rgb[1]; + var b = rgb[2]; + var h = convert.rgb.hsl(rgb)[0]; + var w = 1 / 255 * Math.min(r, Math.min(g, b)); + + b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); + + return [h, w * 100, b * 100]; + }; + + convert.rgb.cmyk = function (rgb) { + var r = rgb[0] / 255; + var g = rgb[1] / 255; + var b = rgb[2] / 255; + var c; + var m; + var y; + var k; + + k = Math.min(1 - r, 1 - g, 1 - b); + c = (1 - r - k) / (1 - k) || 0; + m = (1 - g - k) / (1 - k) || 0; + y = (1 - b - k) / (1 - k) || 0; + + return [c * 100, m * 100, y * 100, k * 100]; + }; + + /** + * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance + * */ + function comparativeDistance(x, y) { + return ( + Math.pow(x[0] - y[0], 2) + + Math.pow(x[1] - y[1], 2) + + Math.pow(x[2] - y[2], 2) + ); + } + + convert.rgb.keyword = function (rgb) { + var reversed = reverseKeywords[rgb]; + if (reversed) { + return reversed; + } + + var currentClosestDistance = Infinity; + var currentClosestKeyword; + + for (var keyword in colorName) { + if (colorName.hasOwnProperty(keyword)) { + var value = colorName[keyword]; + + // Compute comparative distance + var distance = comparativeDistance(rgb, value); + + // Check if its less, if so set as closest + if (distance < currentClosestDistance) { + currentClosestDistance = distance; + currentClosestKeyword = keyword; + } + } + } + + return currentClosestKeyword; + }; + + convert.keyword.rgb = function (keyword) { + return colorName[keyword]; + }; + + convert.rgb.xyz = function (rgb) { + var r = rgb[0] / 255; + var g = rgb[1] / 255; + var b = rgb[2] / 255; + + // assume sRGB + r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92); + g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92); + b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92); + + var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805); + var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722); + var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505); + + return [x * 100, y * 100, z * 100]; + }; + + convert.rgb.lab = function (rgb) { + var xyz = convert.rgb.xyz(rgb); + var x = xyz[0]; + var y = xyz[1]; + var z = xyz[2]; + var l; + var a; + var b; + + x /= 95.047; + y /= 100; + z /= 108.883; + + x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116); + y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116); + z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116); + + l = (116 * y) - 16; + a = 500 * (x - y); + b = 200 * (y - z); + + return [l, a, b]; + }; + + convert.hsl.rgb = function (hsl) { + var h = hsl[0] / 360; + var s = hsl[1] / 100; + var l = hsl[2] / 100; + var t1; + var t2; + var t3; + var rgb; + var val; + + if (s === 0) { + val = l * 255; + return [val, val, val]; + } + + if (l < 0.5) { + t2 = l * (1 + s); + } else { + t2 = l + s - l * s; + } + + t1 = 2 * l - t2; + + rgb = [0, 0, 0]; + for (var i = 0; i < 3; i++) { + t3 = h + 1 / 3 * -(i - 1); + if (t3 < 0) { + t3++; + } + if (t3 > 1) { + t3--; + } + + if (6 * t3 < 1) { + val = t1 + (t2 - t1) * 6 * t3; + } else if (2 * t3 < 1) { + val = t2; + } else if (3 * t3 < 2) { + val = t1 + (t2 - t1) * (2 / 3 - t3) * 6; + } else { + val = t1; + } + + rgb[i] = val * 255; + } + + return rgb; + }; + + convert.hsl.hsv = function (hsl) { + var h = hsl[0]; + var s = hsl[1] / 100; + var l = hsl[2] / 100; + var smin = s; + var lmin = Math.max(l, 0.01); + var sv; + var v; + + l *= 2; + s *= (l <= 1) ? l : 2 - l; + smin *= lmin <= 1 ? lmin : 2 - lmin; + v = (l + s) / 2; + sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s); + + return [h, sv * 100, v * 100]; + }; + + convert.hsv.rgb = function (hsv) { + var h = hsv[0] / 60; + var s = hsv[1] / 100; + var v = hsv[2] / 100; + var hi = Math.floor(h) % 6; + + var f = h - Math.floor(h); + var p = 255 * v * (1 - s); + var q = 255 * v * (1 - (s * f)); + var t = 255 * v * (1 - (s * (1 - f))); + v *= 255; + + switch (hi) { + case 0: + return [v, t, p]; + case 1: + return [q, v, p]; + case 2: + return [p, v, t]; + case 3: + return [p, q, v]; + case 4: + return [t, p, v]; + case 5: + return [v, p, q]; + } + }; + + convert.hsv.hsl = function (hsv) { + var h = hsv[0]; + var s = hsv[1] / 100; + var v = hsv[2] / 100; + var vmin = Math.max(v, 0.01); + var lmin; + var sl; + var l; + + l = (2 - s) * v; + lmin = (2 - s) * vmin; + sl = s * vmin; + sl /= (lmin <= 1) ? lmin : 2 - lmin; + sl = sl || 0; + l /= 2; + + return [h, sl * 100, l * 100]; + }; + + // http://dev.w3.org/csswg/css-color/#hwb-to-rgb + convert.hwb.rgb = function (hwb) { + var h = hwb[0] / 360; + var wh = hwb[1] / 100; + var bl = hwb[2] / 100; + var ratio = wh + bl; + var i; + var v; + var f; + var n; + + // wh + bl cant be > 1 + if (ratio > 1) { + wh /= ratio; + bl /= ratio; + } + + i = Math.floor(6 * h); + v = 1 - bl; + f = 6 * h - i; + + if ((i & 0x01) !== 0) { + f = 1 - f; + } + + n = wh + f * (v - wh); // linear interpolation + + var r; + var g; + var b; + switch (i) { + default: + case 6: + case 0: r = v; g = n; b = wh; break; + case 1: r = n; g = v; b = wh; break; + case 2: r = wh; g = v; b = n; break; + case 3: r = wh; g = n; b = v; break; + case 4: r = n; g = wh; b = v; break; + case 5: r = v; g = wh; b = n; break; + } + + return [r * 255, g * 255, b * 255]; + }; + + convert.cmyk.rgb = function (cmyk) { + var c = cmyk[0] / 100; + var m = cmyk[1] / 100; + var y = cmyk[2] / 100; + var k = cmyk[3] / 100; + var r; + var g; + var b; + + r = 1 - Math.min(1, c * (1 - k) + k); + g = 1 - Math.min(1, m * (1 - k) + k); + b = 1 - Math.min(1, y * (1 - k) + k); + + return [r * 255, g * 255, b * 255]; + }; + + convert.xyz.rgb = function (xyz) { + var x = xyz[0] / 100; + var y = xyz[1] / 100; + var z = xyz[2] / 100; + var r; + var g; + var b; + + r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986); + g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415); + b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570); + + // assume sRGB + r = r > 0.0031308 + ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055) + : r * 12.92; + + g = g > 0.0031308 + ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055) + : g * 12.92; + + b = b > 0.0031308 + ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055) + : b * 12.92; + + r = Math.min(Math.max(0, r), 1); + g = Math.min(Math.max(0, g), 1); + b = Math.min(Math.max(0, b), 1); + + return [r * 255, g * 255, b * 255]; + }; + + convert.xyz.lab = function (xyz) { + var x = xyz[0]; + var y = xyz[1]; + var z = xyz[2]; + var l; + var a; + var b; + + x /= 95.047; + y /= 100; + z /= 108.883; + + x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116); + y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116); + z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116); + + l = (116 * y) - 16; + a = 500 * (x - y); + b = 200 * (y - z); + + return [l, a, b]; + }; + + convert.lab.xyz = function (lab) { + var l = lab[0]; + var a = lab[1]; + var b = lab[2]; + var x; + var y; + var z; + + y = (l + 16) / 116; + x = a / 500 + y; + z = y - b / 200; + + var y2 = Math.pow(y, 3); + var x2 = Math.pow(x, 3); + var z2 = Math.pow(z, 3); + y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787; + x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787; + z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787; + + x *= 95.047; + y *= 100; + z *= 108.883; + + return [x, y, z]; + }; + + convert.lab.lch = function (lab) { + var l = lab[0]; + var a = lab[1]; + var b = lab[2]; + var hr; + var h; + var c; + + hr = Math.atan2(b, a); + h = hr * 360 / 2 / Math.PI; + + if (h < 0) { + h += 360; + } + + c = Math.sqrt(a * a + b * b); + + return [l, c, h]; + }; + + convert.lch.lab = function (lch) { + var l = lch[0]; + var c = lch[1]; + var h = lch[2]; + var a; + var b; + var hr; + + hr = h / 360 * 2 * Math.PI; + a = c * Math.cos(hr); + b = c * Math.sin(hr); + + return [l, a, b]; + }; + + convert.rgb.ansi16 = function (args) { + var r = args[0]; + var g = args[1]; + var b = args[2]; + var value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization + + value = Math.round(value / 50); + + if (value === 0) { + return 30; + } + + var ansi = 30 + + ((Math.round(b / 255) << 2) + | (Math.round(g / 255) << 1) + | Math.round(r / 255)); + + if (value === 2) { + ansi += 60; + } + + return ansi; + }; + + convert.hsv.ansi16 = function (args) { + // optimization here; we already know the value and don't need to get + // it converted for us. + return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); + }; + + convert.rgb.ansi256 = function (args) { + var r = args[0]; + var g = args[1]; + var b = args[2]; + + // we use the extended greyscale palette here, with the exception of + // black and white. normal palette only has 4 greyscale shades. + if (r === g && g === b) { + if (r < 8) { + return 16; + } + + if (r > 248) { + return 231; + } + + return Math.round(((r - 8) / 247) * 24) + 232; + } + + var ansi = 16 + + (36 * Math.round(r / 255 * 5)) + + (6 * Math.round(g / 255 * 5)) + + Math.round(b / 255 * 5); + + return ansi; + }; + + convert.ansi16.rgb = function (args) { + var color = args % 10; + + // handle greyscale + if (color === 0 || color === 7) { + if (args > 50) { + color += 3.5; + } + + color = color / 10.5 * 255; + + return [color, color, color]; + } + + var mult = (~~(args > 50) + 1) * 0.5; + var r = ((color & 1) * mult) * 255; + var g = (((color >> 1) & 1) * mult) * 255; + var b = (((color >> 2) & 1) * mult) * 255; + + return [r, g, b]; + }; + + convert.ansi256.rgb = function (args) { + // handle greyscale + if (args >= 232) { + var c = (args - 232) * 10 + 8; + return [c, c, c]; + } + + args -= 16; + + var rem; + var r = Math.floor(args / 36) / 5 * 255; + var g = Math.floor((rem = args % 36) / 6) / 5 * 255; + var b = (rem % 6) / 5 * 255; + + return [r, g, b]; + }; + + convert.rgb.hex = function (args) { + var integer = ((Math.round(args[0]) & 0xFF) << 16) + + ((Math.round(args[1]) & 0xFF) << 8) + + (Math.round(args[2]) & 0xFF); + + var string = integer.toString(16).toUpperCase(); + return '000000'.substring(string.length) + string; + }; + + convert.hex.rgb = function (args) { + var match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); + if (!match) { + return [0, 0, 0]; + } + + var colorString = match[0]; + + if (match[0].length === 3) { + colorString = colorString.split('').map(function (char) { + return char + char; + }).join(''); + } + + var integer = parseInt(colorString, 16); + var r = (integer >> 16) & 0xFF; + var g = (integer >> 8) & 0xFF; + var b = integer & 0xFF; + + return [r, g, b]; + }; + + convert.rgb.hcg = function (rgb) { + var r = rgb[0] / 255; + var g = rgb[1] / 255; + var b = rgb[2] / 255; + var max = Math.max(Math.max(r, g), b); + var min = Math.min(Math.min(r, g), b); + var chroma = (max - min); + var grayscale; + var hue; + + if (chroma < 1) { + grayscale = min / (1 - chroma); + } else { + grayscale = 0; + } + + if (chroma <= 0) { + hue = 0; + } else + if (max === r) { + hue = ((g - b) / chroma) % 6; + } else + if (max === g) { + hue = 2 + (b - r) / chroma; + } else { + hue = 4 + (r - g) / chroma + 4; + } + + hue /= 6; + hue %= 1; + + return [hue * 360, chroma * 100, grayscale * 100]; + }; + + convert.hsl.hcg = function (hsl) { + var s = hsl[1] / 100; + var l = hsl[2] / 100; + var c = 1; + var f = 0; + + if (l < 0.5) { + c = 2.0 * s * l; + } else { + c = 2.0 * s * (1.0 - l); + } + + if (c < 1.0) { + f = (l - 0.5 * c) / (1.0 - c); + } + + return [hsl[0], c * 100, f * 100]; + }; + + convert.hsv.hcg = function (hsv) { + var s = hsv[1] / 100; + var v = hsv[2] / 100; + + var c = s * v; + var f = 0; + + if (c < 1.0) { + f = (v - c) / (1 - c); + } + + return [hsv[0], c * 100, f * 100]; + }; + + convert.hcg.rgb = function (hcg) { + var h = hcg[0] / 360; + var c = hcg[1] / 100; + var g = hcg[2] / 100; + + if (c === 0.0) { + return [g * 255, g * 255, g * 255]; + } + + var pure = [0, 0, 0]; + var hi = (h % 1) * 6; + var v = hi % 1; + var w = 1 - v; + var mg = 0; + + switch (Math.floor(hi)) { + case 0: + pure[0] = 1; pure[1] = v; pure[2] = 0; break; + case 1: + pure[0] = w; pure[1] = 1; pure[2] = 0; break; + case 2: + pure[0] = 0; pure[1] = 1; pure[2] = v; break; + case 3: + pure[0] = 0; pure[1] = w; pure[2] = 1; break; + case 4: + pure[0] = v; pure[1] = 0; pure[2] = 1; break; + default: + pure[0] = 1; pure[1] = 0; pure[2] = w; + } + + mg = (1.0 - c) * g; + + return [ + (c * pure[0] + mg) * 255, + (c * pure[1] + mg) * 255, + (c * pure[2] + mg) * 255 + ]; + }; + + convert.hcg.hsv = function (hcg) { + var c = hcg[1] / 100; + var g = hcg[2] / 100; + + var v = c + g * (1.0 - c); + var f = 0; + + if (v > 0.0) { + f = c / v; + } + + return [hcg[0], f * 100, v * 100]; + }; + + convert.hcg.hsl = function (hcg) { + var c = hcg[1] / 100; + var g = hcg[2] / 100; + + var l = g * (1.0 - c) + 0.5 * c; + var s = 0; + + if (l > 0.0 && l < 0.5) { + s = c / (2 * l); + } else + if (l >= 0.5 && l < 1.0) { + s = c / (2 * (1 - l)); + } + + return [hcg[0], s * 100, l * 100]; + }; + + convert.hcg.hwb = function (hcg) { + var c = hcg[1] / 100; + var g = hcg[2] / 100; + var v = c + g * (1.0 - c); + return [hcg[0], (v - c) * 100, (1 - v) * 100]; + }; + + convert.hwb.hcg = function (hwb) { + var w = hwb[1] / 100; + var b = hwb[2] / 100; + var v = 1 - b; + var c = v - w; + var g = 0; + + if (c < 1) { + g = (v - c) / (1 - c); + } + + return [hwb[0], c * 100, g * 100]; + }; + + convert.apple.rgb = function (apple) { + return [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255]; + }; + + convert.rgb.apple = function (rgb) { + return [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535]; + }; + + convert.gray.rgb = function (args) { + return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255]; + }; + + convert.gray.hsl = convert.gray.hsv = function (args) { + return [0, 0, args[0]]; + }; + + convert.gray.hwb = function (gray) { + return [0, 100, gray[0]]; + }; + + convert.gray.cmyk = function (gray) { + return [0, 0, 0, gray[0]]; + }; + + convert.gray.lab = function (gray) { + return [gray[0], 0, 0]; + }; + + convert.gray.hex = function (gray) { + var val = Math.round(gray[0] / 100 * 255) & 0xFF; + var integer = (val << 16) + (val << 8) + val; + + var string = integer.toString(16).toUpperCase(); + return '000000'.substring(string.length) + string; + }; + + convert.rgb.gray = function (rgb) { + var val = (rgb[0] + rgb[1] + rgb[2]) / 3; + return [val / 255 * 100]; + }; + }); + var conversions_1 = conversions.rgb; + var conversions_2 = conversions.hsl; + var conversions_3 = conversions.hsv; + var conversions_4 = conversions.hwb; + var conversions_5 = conversions.cmyk; + var conversions_6 = conversions.xyz; + var conversions_7 = conversions.lab; + var conversions_8 = conversions.lch; + var conversions_9 = conversions.hex; + var conversions_10 = conversions.keyword; + var conversions_11 = conversions.ansi16; + var conversions_12 = conversions.ansi256; + var conversions_13 = conversions.hcg; + var conversions_14 = conversions.apple; + var conversions_15 = conversions.gray; + + /* + this function routes a model to all other models. + + all functions that are routed have a property `.conversion` attached + to the returned synthetic function. This property is an array + of strings, each with the steps in between the 'from' and 'to' + color models (inclusive). + + conversions that are not possible simply are not included. + */ + + function buildGraph() { + var graph = {}; + // https://jsperf.com/object-keys-vs-for-in-with-closure/3 + var models = Object.keys(conversions); + + for (var len = models.length, i = 0; i < len; i++) { + graph[models[i]] = { + // http://jsperf.com/1-vs-infinity + // micro-opt, but this is simple. + distance: -1, + parent: null + }; + } + + return graph; + } + + // https://en.wikipedia.org/wiki/Breadth-first_search + function deriveBFS(fromModel) { + var graph = buildGraph(); + var queue = [fromModel]; // unshift -> queue -> pop + + graph[fromModel].distance = 0; + + while (queue.length) { + var current = queue.pop(); + var adjacents = Object.keys(conversions[current]); + + for (var len = adjacents.length, i = 0; i < len; i++) { + var adjacent = adjacents[i]; + var node = graph[adjacent]; + + if (node.distance === -1) { + node.distance = graph[current].distance + 1; + node.parent = current; + queue.unshift(adjacent); + } + } + } + + return graph; + } + + function link(from, to) { + return function (args) { + return to(from(args)); + }; + } + + function wrapConversion(toModel, graph) { + var path = [graph[toModel].parent, toModel]; + var fn = conversions[graph[toModel].parent][toModel]; + + var cur = graph[toModel].parent; + while (graph[cur].parent) { + path.unshift(graph[cur].parent); + fn = link(conversions[graph[cur].parent][cur], fn); + cur = graph[cur].parent; + } + + fn.conversion = path; + return fn; + } + + var route = function (fromModel) { + var graph = deriveBFS(fromModel); + var conversion = {}; + + var models = Object.keys(graph); + for (var len = models.length, i = 0; i < len; i++) { + var toModel = models[i]; + var node = graph[toModel]; + + if (node.parent === null) { + // no possible conversion, or this node is the source model. + continue; + } + + conversion[toModel] = wrapConversion(toModel, graph); + } + + return conversion; + }; + + var convert = {}; + + var models = Object.keys(conversions); + + function wrapRaw(fn) { + var wrappedFn = function (args) { + if (args === undefined || args === null) { + return args; + } + + if (arguments.length > 1) { + args = Array.prototype.slice.call(arguments); + } + + return fn(args); + }; + + // preserve .conversion property if there is one + if ('conversion' in fn) { + wrappedFn.conversion = fn.conversion; + } + + return wrappedFn; + } + + function wrapRounded(fn) { + var wrappedFn = function (args) { + if (args === undefined || args === null) { + return args; + } + + if (arguments.length > 1) { + args = Array.prototype.slice.call(arguments); + } + + var result = fn(args); + + // we're assuming the result is an array here. + // see notice in conversions.js; don't use box types + // in conversion functions. + if (typeof result === 'object') { + for (var len = result.length, i = 0; i < len; i++) { + result[i] = Math.round(result[i]); + } + } + + return result; + }; + + // preserve .conversion property if there is one + if ('conversion' in fn) { + wrappedFn.conversion = fn.conversion; + } + + return wrappedFn; + } + + models.forEach(function (fromModel) { + convert[fromModel] = {}; + + Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels}); + Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels}); + + var routes = route(fromModel); + var routeModels = Object.keys(routes); + + routeModels.forEach(function (toModel) { + var fn = routes[toModel]; + + convert[fromModel][toModel] = wrapRounded(fn); + convert[fromModel][toModel].raw = wrapRaw(fn); + }); + }); + + var colorConvert = convert; + + var colorName$1 = { + "aliceblue": [240, 248, 255], + "antiquewhite": [250, 235, 215], + "aqua": [0, 255, 255], + "aquamarine": [127, 255, 212], + "azure": [240, 255, 255], + "beige": [245, 245, 220], + "bisque": [255, 228, 196], + "black": [0, 0, 0], + "blanchedalmond": [255, 235, 205], + "blue": [0, 0, 255], + "blueviolet": [138, 43, 226], + "brown": [165, 42, 42], + "burlywood": [222, 184, 135], + "cadetblue": [95, 158, 160], + "chartreuse": [127, 255, 0], + "chocolate": [210, 105, 30], + "coral": [255, 127, 80], + "cornflowerblue": [100, 149, 237], + "cornsilk": [255, 248, 220], + "crimson": [220, 20, 60], + "cyan": [0, 255, 255], + "darkblue": [0, 0, 139], + "darkcyan": [0, 139, 139], + "darkgoldenrod": [184, 134, 11], + "darkgray": [169, 169, 169], + "darkgreen": [0, 100, 0], + "darkgrey": [169, 169, 169], + "darkkhaki": [189, 183, 107], + "darkmagenta": [139, 0, 139], + "darkolivegreen": [85, 107, 47], + "darkorange": [255, 140, 0], + "darkorchid": [153, 50, 204], + "darkred": [139, 0, 0], + "darksalmon": [233, 150, 122], + "darkseagreen": [143, 188, 143], + "darkslateblue": [72, 61, 139], + "darkslategray": [47, 79, 79], + "darkslategrey": [47, 79, 79], + "darkturquoise": [0, 206, 209], + "darkviolet": [148, 0, 211], + "deeppink": [255, 20, 147], + "deepskyblue": [0, 191, 255], + "dimgray": [105, 105, 105], + "dimgrey": [105, 105, 105], + "dodgerblue": [30, 144, 255], + "firebrick": [178, 34, 34], + "floralwhite": [255, 250, 240], + "forestgreen": [34, 139, 34], + "fuchsia": [255, 0, 255], + "gainsboro": [220, 220, 220], + "ghostwhite": [248, 248, 255], + "gold": [255, 215, 0], + "goldenrod": [218, 165, 32], + "gray": [128, 128, 128], + "green": [0, 128, 0], + "greenyellow": [173, 255, 47], + "grey": [128, 128, 128], + "honeydew": [240, 255, 240], + "hotpink": [255, 105, 180], + "indianred": [205, 92, 92], + "indigo": [75, 0, 130], + "ivory": [255, 255, 240], + "khaki": [240, 230, 140], + "lavender": [230, 230, 250], + "lavenderblush": [255, 240, 245], + "lawngreen": [124, 252, 0], + "lemonchiffon": [255, 250, 205], + "lightblue": [173, 216, 230], + "lightcoral": [240, 128, 128], + "lightcyan": [224, 255, 255], + "lightgoldenrodyellow": [250, 250, 210], + "lightgray": [211, 211, 211], + "lightgreen": [144, 238, 144], + "lightgrey": [211, 211, 211], + "lightpink": [255, 182, 193], + "lightsalmon": [255, 160, 122], + "lightseagreen": [32, 178, 170], + "lightskyblue": [135, 206, 250], + "lightslategray": [119, 136, 153], + "lightslategrey": [119, 136, 153], + "lightsteelblue": [176, 196, 222], + "lightyellow": [255, 255, 224], + "lime": [0, 255, 0], + "limegreen": [50, 205, 50], + "linen": [250, 240, 230], + "magenta": [255, 0, 255], + "maroon": [128, 0, 0], + "mediumaquamarine": [102, 205, 170], + "mediumblue": [0, 0, 205], + "mediumorchid": [186, 85, 211], + "mediumpurple": [147, 112, 219], + "mediumseagreen": [60, 179, 113], + "mediumslateblue": [123, 104, 238], + "mediumspringgreen": [0, 250, 154], + "mediumturquoise": [72, 209, 204], + "mediumvioletred": [199, 21, 133], + "midnightblue": [25, 25, 112], + "mintcream": [245, 255, 250], + "mistyrose": [255, 228, 225], + "moccasin": [255, 228, 181], + "navajowhite": [255, 222, 173], + "navy": [0, 0, 128], + "oldlace": [253, 245, 230], + "olive": [128, 128, 0], + "olivedrab": [107, 142, 35], + "orange": [255, 165, 0], + "orangered": [255, 69, 0], + "orchid": [218, 112, 214], + "palegoldenrod": [238, 232, 170], + "palegreen": [152, 251, 152], + "paleturquoise": [175, 238, 238], + "palevioletred": [219, 112, 147], + "papayawhip": [255, 239, 213], + "peachpuff": [255, 218, 185], + "peru": [205, 133, 63], + "pink": [255, 192, 203], + "plum": [221, 160, 221], + "powderblue": [176, 224, 230], + "purple": [128, 0, 128], + "rebeccapurple": [102, 51, 153], + "red": [255, 0, 0], + "rosybrown": [188, 143, 143], + "royalblue": [65, 105, 225], + "saddlebrown": [139, 69, 19], + "salmon": [250, 128, 114], + "sandybrown": [244, 164, 96], + "seagreen": [46, 139, 87], + "seashell": [255, 245, 238], + "sienna": [160, 82, 45], + "silver": [192, 192, 192], + "skyblue": [135, 206, 235], + "slateblue": [106, 90, 205], + "slategray": [112, 128, 144], + "slategrey": [112, 128, 144], + "snow": [255, 250, 250], + "springgreen": [0, 255, 127], + "steelblue": [70, 130, 180], + "tan": [210, 180, 140], + "teal": [0, 128, 128], + "thistle": [216, 191, 216], + "tomato": [255, 99, 71], + "turquoise": [64, 224, 208], + "violet": [238, 130, 238], + "wheat": [245, 222, 179], + "white": [255, 255, 255], + "whitesmoke": [245, 245, 245], + "yellow": [255, 255, 0], + "yellowgreen": [154, 205, 50] + }; + + /* MIT license */ + + + var colorString = { + getRgba: getRgba, + getHsla: getHsla, + getRgb: getRgb, + getHsl: getHsl, + getHwb: getHwb, + getAlpha: getAlpha, + + hexString: hexString, + rgbString: rgbString, + rgbaString: rgbaString, + percentString: percentString, + percentaString: percentaString, + hslString: hslString, + hslaString: hslaString, + hwbString: hwbString, + keyword: keyword + }; + + function getRgba(string) { + if (!string) { + return; + } + var abbr = /^#([a-fA-F0-9]{3,4})$/i, + hex = /^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i, + rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i, + per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i, + keyword = /(\w+)/; + + var rgb = [0, 0, 0], + a = 1, + match = string.match(abbr), + hexAlpha = ""; + if (match) { + match = match[1]; + hexAlpha = match[3]; + for (var i = 0; i < rgb.length; i++) { + rgb[i] = parseInt(match[i] + match[i], 16); + } + if (hexAlpha) { + a = Math.round((parseInt(hexAlpha + hexAlpha, 16) / 255) * 100) / 100; + } + } + else if (match = string.match(hex)) { + hexAlpha = match[2]; + match = match[1]; + for (var i = 0; i < rgb.length; i++) { + rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16); + } + if (hexAlpha) { + a = Math.round((parseInt(hexAlpha, 16) / 255) * 100) / 100; + } + } + else if (match = string.match(rgba)) { + for (var i = 0; i < rgb.length; i++) { + rgb[i] = parseInt(match[i + 1]); + } + a = parseFloat(match[4]); + } + else if (match = string.match(per)) { + for (var i = 0; i < rgb.length; i++) { + rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55); + } + a = parseFloat(match[4]); + } + else if (match = string.match(keyword)) { + if (match[1] == "transparent") { + return [0, 0, 0, 0]; + } + rgb = colorName$1[match[1]]; + if (!rgb) { + return; + } + } + + for (var i = 0; i < rgb.length; i++) { + rgb[i] = scale(rgb[i], 0, 255); + } + if (!a && a != 0) { + a = 1; + } + else { + a = scale(a, 0, 1); + } + rgb[3] = a; + return rgb; + } + + function getHsla(string) { + if (!string) { + return; + } + var hsl = /^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/; + var match = string.match(hsl); + if (match) { + var alpha = parseFloat(match[4]); + var h = scale(parseInt(match[1]), 0, 360), + s = scale(parseFloat(match[2]), 0, 100), + l = scale(parseFloat(match[3]), 0, 100), + a = scale(isNaN(alpha) ? 1 : alpha, 0, 1); + return [h, s, l, a]; + } + } + + function getHwb(string) { + if (!string) { + return; + } + var hwb = /^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/; + var match = string.match(hwb); + if (match) { + var alpha = parseFloat(match[4]); + var h = scale(parseInt(match[1]), 0, 360), + w = scale(parseFloat(match[2]), 0, 100), + b = scale(parseFloat(match[3]), 0, 100), + a = scale(isNaN(alpha) ? 1 : alpha, 0, 1); + return [h, w, b, a]; + } + } + + function getRgb(string) { + var rgba = getRgba(string); + return rgba && rgba.slice(0, 3); + } + + function getHsl(string) { + var hsla = getHsla(string); + return hsla && hsla.slice(0, 3); + } + + function getAlpha(string) { + var vals = getRgba(string); + if (vals) { + return vals[3]; + } + else if (vals = getHsla(string)) { + return vals[3]; + } + else if (vals = getHwb(string)) { + return vals[3]; + } + } + + // generators + function hexString(rgba, a) { + var a = (a !== undefined && rgba.length === 3) ? a : rgba[3]; + return "#" + hexDouble(rgba[0]) + + hexDouble(rgba[1]) + + hexDouble(rgba[2]) + + ( + (a >= 0 && a < 1) + ? hexDouble(Math.round(a * 255)) + : "" + ); + } + + function rgbString(rgba, alpha) { + if (alpha < 1 || (rgba[3] && rgba[3] < 1)) { + return rgbaString(rgba, alpha); + } + return "rgb(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2] + ")"; + } + + function rgbaString(rgba, alpha) { + if (alpha === undefined) { + alpha = (rgba[3] !== undefined ? rgba[3] : 1); + } + return "rgba(" + rgba[0] + ", " + rgba[1] + ", " + rgba[2] + + ", " + alpha + ")"; + } + + function percentString(rgba, alpha) { + if (alpha < 1 || (rgba[3] && rgba[3] < 1)) { + return percentaString(rgba, alpha); + } + var r = Math.round(rgba[0]/255 * 100), + g = Math.round(rgba[1]/255 * 100), + b = Math.round(rgba[2]/255 * 100); + + return "rgb(" + r + "%, " + g + "%, " + b + "%)"; + } + + function percentaString(rgba, alpha) { + var r = Math.round(rgba[0]/255 * 100), + g = Math.round(rgba[1]/255 * 100), + b = Math.round(rgba[2]/255 * 100); + return "rgba(" + r + "%, " + g + "%, " + b + "%, " + (alpha || rgba[3] || 1) + ")"; + } + + function hslString(hsla, alpha) { + if (alpha < 1 || (hsla[3] && hsla[3] < 1)) { + return hslaString(hsla, alpha); + } + return "hsl(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%)"; + } + + function hslaString(hsla, alpha) { + if (alpha === undefined) { + alpha = (hsla[3] !== undefined ? hsla[3] : 1); + } + return "hsla(" + hsla[0] + ", " + hsla[1] + "%, " + hsla[2] + "%, " + + alpha + ")"; + } + + // hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax + // (hwb have alpha optional & 1 is default value) + function hwbString(hwb, alpha) { + if (alpha === undefined) { + alpha = (hwb[3] !== undefined ? hwb[3] : 1); + } + return "hwb(" + hwb[0] + ", " + hwb[1] + "%, " + hwb[2] + "%" + + (alpha !== undefined && alpha !== 1 ? ", " + alpha : "") + ")"; + } + + function keyword(rgb) { + return reverseNames[rgb.slice(0, 3)]; + } + + // helpers + function scale(num, min, max) { + return Math.min(Math.max(min, num), max); + } + + function hexDouble(num) { + var str = num.toString(16).toUpperCase(); + return (str.length < 2) ? "0" + str : str; + } + + + //create a list of reverse color names + var reverseNames = {}; + for (var name in colorName$1) { + reverseNames[colorName$1[name]] = name; + } + + /* MIT license */ + + + + var Color = function (obj) { + if (obj instanceof Color) { + return obj; + } + if (!(this instanceof Color)) { + return new Color(obj); + } + + this.valid = false; + this.values = { + rgb: [0, 0, 0], + hsl: [0, 0, 0], + hsv: [0, 0, 0], + hwb: [0, 0, 0], + cmyk: [0, 0, 0, 0], + alpha: 1 + }; + + // parse Color() argument + var vals; + if (typeof obj === 'string') { + vals = colorString.getRgba(obj); + if (vals) { + this.setValues('rgb', vals); + } else if (vals = colorString.getHsla(obj)) { + this.setValues('hsl', vals); + } else if (vals = colorString.getHwb(obj)) { + this.setValues('hwb', vals); + } + } else if (typeof obj === 'object') { + vals = obj; + if (vals.r !== undefined || vals.red !== undefined) { + this.setValues('rgb', vals); + } else if (vals.l !== undefined || vals.lightness !== undefined) { + this.setValues('hsl', vals); + } else if (vals.v !== undefined || vals.value !== undefined) { + this.setValues('hsv', vals); + } else if (vals.w !== undefined || vals.whiteness !== undefined) { + this.setValues('hwb', vals); + } else if (vals.c !== undefined || vals.cyan !== undefined) { + this.setValues('cmyk', vals); + } + } + }; + + Color.prototype = { + isValid: function () { + return this.valid; + }, + rgb: function () { + return this.setSpace('rgb', arguments); + }, + hsl: function () { + return this.setSpace('hsl', arguments); + }, + hsv: function () { + return this.setSpace('hsv', arguments); + }, + hwb: function () { + return this.setSpace('hwb', arguments); + }, + cmyk: function () { + return this.setSpace('cmyk', arguments); + }, + + rgbArray: function () { + return this.values.rgb; + }, + hslArray: function () { + return this.values.hsl; + }, + hsvArray: function () { + return this.values.hsv; + }, + hwbArray: function () { + var values = this.values; + if (values.alpha !== 1) { + return values.hwb.concat([values.alpha]); + } + return values.hwb; + }, + cmykArray: function () { + return this.values.cmyk; + }, + rgbaArray: function () { + var values = this.values; + return values.rgb.concat([values.alpha]); + }, + hslaArray: function () { + var values = this.values; + return values.hsl.concat([values.alpha]); + }, + alpha: function (val) { + if (val === undefined) { + return this.values.alpha; + } + this.setValues('alpha', val); + return this; + }, + + red: function (val) { + return this.setChannel('rgb', 0, val); + }, + green: function (val) { + return this.setChannel('rgb', 1, val); + }, + blue: function (val) { + return this.setChannel('rgb', 2, val); + }, + hue: function (val) { + if (val) { + val %= 360; + val = val < 0 ? 360 + val : val; + } + return this.setChannel('hsl', 0, val); + }, + saturation: function (val) { + return this.setChannel('hsl', 1, val); + }, + lightness: function (val) { + return this.setChannel('hsl', 2, val); + }, + saturationv: function (val) { + return this.setChannel('hsv', 1, val); + }, + whiteness: function (val) { + return this.setChannel('hwb', 1, val); + }, + blackness: function (val) { + return this.setChannel('hwb', 2, val); + }, + value: function (val) { + return this.setChannel('hsv', 2, val); + }, + cyan: function (val) { + return this.setChannel('cmyk', 0, val); + }, + magenta: function (val) { + return this.setChannel('cmyk', 1, val); + }, + yellow: function (val) { + return this.setChannel('cmyk', 2, val); + }, + black: function (val) { + return this.setChannel('cmyk', 3, val); + }, + + hexString: function () { + return colorString.hexString(this.values.rgb); + }, + rgbString: function () { + return colorString.rgbString(this.values.rgb, this.values.alpha); + }, + rgbaString: function () { + return colorString.rgbaString(this.values.rgb, this.values.alpha); + }, + percentString: function () { + return colorString.percentString(this.values.rgb, this.values.alpha); + }, + hslString: function () { + return colorString.hslString(this.values.hsl, this.values.alpha); + }, + hslaString: function () { + return colorString.hslaString(this.values.hsl, this.values.alpha); + }, + hwbString: function () { + return colorString.hwbString(this.values.hwb, this.values.alpha); + }, + keyword: function () { + return colorString.keyword(this.values.rgb, this.values.alpha); + }, + + rgbNumber: function () { + var rgb = this.values.rgb; + return (rgb[0] << 16) | (rgb[1] << 8) | rgb[2]; + }, + + luminosity: function () { + // http://www.w3.org/TR/WCAG20/#relativeluminancedef + var rgb = this.values.rgb; + var lum = []; + for (var i = 0; i < rgb.length; i++) { + var chan = rgb[i] / 255; + lum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4); + } + return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2]; + }, + + contrast: function (color2) { + // http://www.w3.org/TR/WCAG20/#contrast-ratiodef + var lum1 = this.luminosity(); + var lum2 = color2.luminosity(); + if (lum1 > lum2) { + return (lum1 + 0.05) / (lum2 + 0.05); + } + return (lum2 + 0.05) / (lum1 + 0.05); + }, + + level: function (color2) { + var contrastRatio = this.contrast(color2); + if (contrastRatio >= 7.1) { + return 'AAA'; + } + + return (contrastRatio >= 4.5) ? 'AA' : ''; + }, + + dark: function () { + // YIQ equation from http://24ways.org/2010/calculating-color-contrast + var rgb = this.values.rgb; + var yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000; + return yiq < 128; + }, + + light: function () { + return !this.dark(); + }, + + negate: function () { + var rgb = []; + for (var i = 0; i < 3; i++) { + rgb[i] = 255 - this.values.rgb[i]; + } + this.setValues('rgb', rgb); + return this; + }, + + lighten: function (ratio) { + var hsl = this.values.hsl; + hsl[2] += hsl[2] * ratio; + this.setValues('hsl', hsl); + return this; + }, + + darken: function (ratio) { + var hsl = this.values.hsl; + hsl[2] -= hsl[2] * ratio; + this.setValues('hsl', hsl); + return this; + }, + + saturate: function (ratio) { + var hsl = this.values.hsl; + hsl[1] += hsl[1] * ratio; + this.setValues('hsl', hsl); + return this; + }, + + desaturate: function (ratio) { + var hsl = this.values.hsl; + hsl[1] -= hsl[1] * ratio; + this.setValues('hsl', hsl); + return this; + }, + + whiten: function (ratio) { + var hwb = this.values.hwb; + hwb[1] += hwb[1] * ratio; + this.setValues('hwb', hwb); + return this; + }, + + blacken: function (ratio) { + var hwb = this.values.hwb; + hwb[2] += hwb[2] * ratio; + this.setValues('hwb', hwb); + return this; + }, + + greyscale: function () { + var rgb = this.values.rgb; + // http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale + var val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11; + this.setValues('rgb', [val, val, val]); + return this; + }, + + clearer: function (ratio) { + var alpha = this.values.alpha; + this.setValues('alpha', alpha - (alpha * ratio)); + return this; + }, + + opaquer: function (ratio) { + var alpha = this.values.alpha; + this.setValues('alpha', alpha + (alpha * ratio)); + return this; + }, + + rotate: function (degrees) { + var hsl = this.values.hsl; + var hue = (hsl[0] + degrees) % 360; + hsl[0] = hue < 0 ? 360 + hue : hue; + this.setValues('hsl', hsl); + return this; + }, + + /** + * Ported from sass implementation in C + * https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209 + */ + mix: function (mixinColor, weight) { + var color1 = this; + var color2 = mixinColor; + var p = weight === undefined ? 0.5 : weight; + + var w = 2 * p - 1; + var a = color1.alpha() - color2.alpha(); + + var w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0; + var w2 = 1 - w1; + + return this + .rgb( + w1 * color1.red() + w2 * color2.red(), + w1 * color1.green() + w2 * color2.green(), + w1 * color1.blue() + w2 * color2.blue() + ) + .alpha(color1.alpha() * p + color2.alpha() * (1 - p)); + }, + + toJSON: function () { + return this.rgb(); + }, + + clone: function () { + // NOTE(SB): using node-clone creates a dependency to Buffer when using browserify, + // making the final build way to big to embed in Chart.js. So let's do it manually, + // assuming that values to clone are 1 dimension arrays containing only numbers, + // except 'alpha' which is a number. + var result = new Color(); + var source = this.values; + var target = result.values; + var value, type; + + for (var prop in source) { + if (source.hasOwnProperty(prop)) { + value = source[prop]; + type = ({}).toString.call(value); + if (type === '[object Array]') { + target[prop] = value.slice(0); + } else if (type === '[object Number]') { + target[prop] = value; + } else { + console.error('unexpected color value:', value); + } + } + } + + return result; + } + }; + + Color.prototype.spaces = { + rgb: ['red', 'green', 'blue'], + hsl: ['hue', 'saturation', 'lightness'], + hsv: ['hue', 'saturation', 'value'], + hwb: ['hue', 'whiteness', 'blackness'], + cmyk: ['cyan', 'magenta', 'yellow', 'black'] + }; + + Color.prototype.maxes = { + rgb: [255, 255, 255], + hsl: [360, 100, 100], + hsv: [360, 100, 100], + hwb: [360, 100, 100], + cmyk: [100, 100, 100, 100] + }; + + Color.prototype.getValues = function (space) { + var values = this.values; + var vals = {}; + + for (var i = 0; i < space.length; i++) { + vals[space.charAt(i)] = values[space][i]; + } + + if (values.alpha !== 1) { + vals.a = values.alpha; + } + + // {r: 255, g: 255, b: 255, a: 0.4} + return vals; + }; + + Color.prototype.setValues = function (space, vals) { + var values = this.values; + var spaces = this.spaces; + var maxes = this.maxes; + var alpha = 1; + var i; + + this.valid = true; + + if (space === 'alpha') { + alpha = vals; + } else if (vals.length) { + // [10, 10, 10] + values[space] = vals.slice(0, space.length); + alpha = vals[space.length]; + } else if (vals[space.charAt(0)] !== undefined) { + // {r: 10, g: 10, b: 10} + for (i = 0; i < space.length; i++) { + values[space][i] = vals[space.charAt(i)]; + } + + alpha = vals.a; + } else if (vals[spaces[space][0]] !== undefined) { + // {red: 10, green: 10, blue: 10} + var chans = spaces[space]; + + for (i = 0; i < space.length; i++) { + values[space][i] = vals[chans[i]]; + } + + alpha = vals.alpha; + } + + values.alpha = Math.max(0, Math.min(1, (alpha === undefined ? values.alpha : alpha))); + + if (space === 'alpha') { + return false; + } + + var capped; + + // cap values of the space prior converting all values + for (i = 0; i < space.length; i++) { + capped = Math.max(0, Math.min(maxes[space][i], values[space][i])); + values[space][i] = Math.round(capped); + } + + // convert to all the other color spaces + for (var sname in spaces) { + if (sname !== space) { + values[sname] = colorConvert[space][sname](values[space]); + } + } + + return true; + }; + + Color.prototype.setSpace = function (space, args) { + var vals = args[0]; + + if (vals === undefined) { + // color.rgb() + return this.getValues(space); + } + + // color.rgb(10, 10, 10) + if (typeof vals === 'number') { + vals = Array.prototype.slice.call(args); + } + + this.setValues(space, vals); + return this; + }; + + Color.prototype.setChannel = function (space, index, val) { + var svalues = this.values[space]; + if (val === undefined) { + // color.red() + return svalues[index]; + } else if (val === svalues[index]) { + // color.red(color.red()) + return this; + } + + // color.red(100) + svalues[index] = val; + this.setValues(space, svalues); + + return this; + }; + + if (typeof window !== 'undefined') { + window.Color = Color; + } + + var chartjsColor = Color; + + /** + * @namespace Chart.helpers + */ + var helpers = { + /** + * An empty function that can be used, for example, for optional callback. + */ + noop: function() {}, + + /** + * Returns a unique id, sequentially generated from a global variable. + * @returns {number} + * @function + */ + uid: (function() { + var id = 0; + return function() { + return id++; + }; + }()), + + /** + * Returns true if `value` is neither null nor undefined, else returns false. + * @param {*} value - The value to test. + * @returns {boolean} + * @since 2.7.0 + */ + isNullOrUndef: function(value) { + return value === null || typeof value === 'undefined'; + }, + + /** + * Returns true if `value` is an array (including typed arrays), else returns false. + * @param {*} value - The value to test. + * @returns {boolean} + * @function + */ + isArray: function(value) { + if (Array.isArray && Array.isArray(value)) { + return true; + } + var type = Object.prototype.toString.call(value); + if (type.substr(0, 7) === '[object' && type.substr(-6) === 'Array]') { + return true; + } + return false; + }, + + /** + * Returns true if `value` is an object (excluding null), else returns false. + * @param {*} value - The value to test. + * @returns {boolean} + * @since 2.7.0 + */ + isObject: function(value) { + return value !== null && Object.prototype.toString.call(value) === '[object Object]'; + }, + + /** + * Returns true if `value` is a finite number, else returns false + * @param {*} value - The value to test. + * @returns {boolean} + */ + isFinite: function(value) { + return (typeof value === 'number' || value instanceof Number) && isFinite(value); + }, + + /** + * Returns `value` if defined, else returns `defaultValue`. + * @param {*} value - The value to return if defined. + * @param {*} defaultValue - The value to return if `value` is undefined. + * @returns {*} + */ + valueOrDefault: function(value, defaultValue) { + return typeof value === 'undefined' ? defaultValue : value; + }, + + /** + * Returns value at the given `index` in array if defined, else returns `defaultValue`. + * @param {Array} value - The array to lookup for value at `index`. + * @param {number} index - The index in `value` to lookup for value. + * @param {*} defaultValue - The value to return if `value[index]` is undefined. + * @returns {*} + */ + valueAtIndexOrDefault: function(value, index, defaultValue) { + return helpers.valueOrDefault(helpers.isArray(value) ? value[index] : value, defaultValue); + }, + + /** + * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the + * value returned by `fn`. If `fn` is not a function, this method returns undefined. + * @param {function} fn - The function to call. + * @param {Array|undefined|null} args - The arguments with which `fn` should be called. + * @param {object} [thisArg] - The value of `this` provided for the call to `fn`. + * @returns {*} + */ + callback: function(fn, args, thisArg) { + if (fn && typeof fn.call === 'function') { + return fn.apply(thisArg, args); + } + }, + + /** + * Note(SB) for performance sake, this method should only be used when loopable type + * is unknown or in none intensive code (not called often and small loopable). Else + * it's preferable to use a regular for() loop and save extra function calls. + * @param {object|Array} loopable - The object or array to be iterated. + * @param {function} fn - The function to call for each item. + * @param {object} [thisArg] - The value of `this` provided for the call to `fn`. + * @param {boolean} [reverse] - If true, iterates backward on the loopable. + */ + each: function(loopable, fn, thisArg, reverse) { + var i, len, keys; + if (helpers.isArray(loopable)) { + len = loopable.length; + if (reverse) { + for (i = len - 1; i >= 0; i--) { + fn.call(thisArg, loopable[i], i); + } + } else { + for (i = 0; i < len; i++) { + fn.call(thisArg, loopable[i], i); + } + } + } else if (helpers.isObject(loopable)) { + keys = Object.keys(loopable); + len = keys.length; + for (i = 0; i < len; i++) { + fn.call(thisArg, loopable[keys[i]], keys[i]); + } + } + }, + + /** + * Returns true if the `a0` and `a1` arrays have the same content, else returns false. + * @see https://stackoverflow.com/a/14853974 + * @param {Array} a0 - The array to compare + * @param {Array} a1 - The array to compare + * @returns {boolean} + */ + arrayEquals: function(a0, a1) { + var i, ilen, v0, v1; + + if (!a0 || !a1 || a0.length !== a1.length) { + return false; + } + + for (i = 0, ilen = a0.length; i < ilen; ++i) { + v0 = a0[i]; + v1 = a1[i]; + + if (v0 instanceof Array && v1 instanceof Array) { + if (!helpers.arrayEquals(v0, v1)) { + return false; + } + } else if (v0 !== v1) { + // NOTE: two different object instances will never be equal: {x:20} != {x:20} + return false; + } + } + + return true; + }, + + /** + * Returns a deep copy of `source` without keeping references on objects and arrays. + * @param {*} source - The value to clone. + * @returns {*} + */ + clone: function(source) { + if (helpers.isArray(source)) { + return source.map(helpers.clone); + } + + if (helpers.isObject(source)) { + var target = {}; + var keys = Object.keys(source); + var klen = keys.length; + var k = 0; + + for (; k < klen; ++k) { + target[keys[k]] = helpers.clone(source[keys[k]]); + } + + return target; + } + + return source; + }, + + /** + * The default merger when Chart.helpers.merge is called without merger option. + * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback. + * @private + */ + _merger: function(key, target, source, options) { + var tval = target[key]; + var sval = source[key]; + + if (helpers.isObject(tval) && helpers.isObject(sval)) { + helpers.merge(tval, sval, options); + } else { + target[key] = helpers.clone(sval); + } + }, + + /** + * Merges source[key] in target[key] only if target[key] is undefined. + * @private + */ + _mergerIf: function(key, target, source) { + var tval = target[key]; + var sval = source[key]; + + if (helpers.isObject(tval) && helpers.isObject(sval)) { + helpers.mergeIf(tval, sval); + } else if (!target.hasOwnProperty(key)) { + target[key] = helpers.clone(sval); + } + }, + + /** + * Recursively deep copies `source` properties into `target` with the given `options`. + * IMPORTANT: `target` is not cloned and will be updated with `source` properties. + * @param {object} target - The target object in which all sources are merged into. + * @param {object|object[]} source - Object(s) to merge into `target`. + * @param {object} [options] - Merging options: + * @param {function} [options.merger] - The merge method (key, target, source, options) + * @returns {object} The `target` object. + */ + merge: function(target, source, options) { + var sources = helpers.isArray(source) ? source : [source]; + var ilen = sources.length; + var merge, i, keys, klen, k; + + if (!helpers.isObject(target)) { + return target; + } + + options = options || {}; + merge = options.merger || helpers._merger; + + for (i = 0; i < ilen; ++i) { + source = sources[i]; + if (!helpers.isObject(source)) { + continue; + } + + keys = Object.keys(source); + for (k = 0, klen = keys.length; k < klen; ++k) { + merge(keys[k], target, source, options); + } + } + + return target; + }, + + /** + * Recursively deep copies `source` properties into `target` *only* if not defined in target. + * IMPORTANT: `target` is not cloned and will be updated with `source` properties. + * @param {object} target - The target object in which all sources are merged into. + * @param {object|object[]} source - Object(s) to merge into `target`. + * @returns {object} The `target` object. + */ + mergeIf: function(target, source) { + return helpers.merge(target, source, {merger: helpers._mergerIf}); + }, + + /** + * Applies the contents of two or more objects together into the first object. + * @param {object} target - The target object in which all objects are merged into. + * @param {object} arg1 - Object containing additional properties to merge in target. + * @param {object} argN - Additional objects containing properties to merge in target. + * @returns {object} The `target` object. + */ + extend: Object.assign || function(target) { + return helpers.merge(target, [].slice.call(arguments, 1), { + merger: function(key, dst, src) { + dst[key] = src[key]; + } + }); + }, + + /** + * Basic javascript inheritance based on the model created in Backbone.js + */ + inherits: function(extensions) { + var me = this; + var ChartElement = (extensions && extensions.hasOwnProperty('constructor')) ? extensions.constructor : function() { + return me.apply(this, arguments); + }; + + var Surrogate = function() { + this.constructor = ChartElement; + }; + + Surrogate.prototype = me.prototype; + ChartElement.prototype = new Surrogate(); + ChartElement.extend = helpers.inherits; + + if (extensions) { + helpers.extend(ChartElement.prototype, extensions); + } + + ChartElement.__super__ = me.prototype; + return ChartElement; + }, + + _deprecated: function(scope, value, previous, current) { + if (value !== undefined) { + console.warn(scope + ': "' + previous + + '" is deprecated. Please use "' + current + '" instead'); + } + } + }; + + var helpers_core = helpers; + + // DEPRECATIONS + + /** + * Provided for backward compatibility, use Chart.helpers.callback instead. + * @function Chart.helpers.callCallback + * @deprecated since version 2.6.0 + * @todo remove at version 3 + * @private + */ + helpers.callCallback = helpers.callback; + + /** + * Provided for backward compatibility, use Array.prototype.indexOf instead. + * Array.prototype.indexOf compatibility: Chrome, Opera, Safari, FF1.5+, IE9+ + * @function Chart.helpers.indexOf + * @deprecated since version 2.7.0 + * @todo remove at version 3 + * @private + */ + helpers.indexOf = function(array, item, fromIndex) { + return Array.prototype.indexOf.call(array, item, fromIndex); + }; + + /** + * Provided for backward compatibility, use Chart.helpers.valueOrDefault instead. + * @function Chart.helpers.getValueOrDefault + * @deprecated since version 2.7.0 + * @todo remove at version 3 + * @private + */ + helpers.getValueOrDefault = helpers.valueOrDefault; + + /** + * Provided for backward compatibility, use Chart.helpers.valueAtIndexOrDefault instead. + * @function Chart.helpers.getValueAtIndexOrDefault + * @deprecated since version 2.7.0 + * @todo remove at version 3 + * @private + */ + helpers.getValueAtIndexOrDefault = helpers.valueAtIndexOrDefault; + + /** + * Easing functions adapted from Robert Penner's easing equations. + * @namespace Chart.helpers.easingEffects + * @see http://www.robertpenner.com/easing/ + */ + var effects = { + linear: function(t) { + return t; + }, + + easeInQuad: function(t) { + return t * t; + }, + + easeOutQuad: function(t) { + return -t * (t - 2); + }, + + easeInOutQuad: function(t) { + if ((t /= 0.5) < 1) { + return 0.5 * t * t; + } + return -0.5 * ((--t) * (t - 2) - 1); + }, + + easeInCubic: function(t) { + return t * t * t; + }, + + easeOutCubic: function(t) { + return (t = t - 1) * t * t + 1; + }, + + easeInOutCubic: function(t) { + if ((t /= 0.5) < 1) { + return 0.5 * t * t * t; + } + return 0.5 * ((t -= 2) * t * t + 2); + }, + + easeInQuart: function(t) { + return t * t * t * t; + }, + + easeOutQuart: function(t) { + return -((t = t - 1) * t * t * t - 1); + }, + + easeInOutQuart: function(t) { + if ((t /= 0.5) < 1) { + return 0.5 * t * t * t * t; + } + return -0.5 * ((t -= 2) * t * t * t - 2); + }, + + easeInQuint: function(t) { + return t * t * t * t * t; + }, + + easeOutQuint: function(t) { + return (t = t - 1) * t * t * t * t + 1; + }, + + easeInOutQuint: function(t) { + if ((t /= 0.5) < 1) { + return 0.5 * t * t * t * t * t; + } + return 0.5 * ((t -= 2) * t * t * t * t + 2); + }, + + easeInSine: function(t) { + return -Math.cos(t * (Math.PI / 2)) + 1; + }, + + easeOutSine: function(t) { + return Math.sin(t * (Math.PI / 2)); + }, + + easeInOutSine: function(t) { + return -0.5 * (Math.cos(Math.PI * t) - 1); + }, + + easeInExpo: function(t) { + return (t === 0) ? 0 : Math.pow(2, 10 * (t - 1)); + }, + + easeOutExpo: function(t) { + return (t === 1) ? 1 : -Math.pow(2, -10 * t) + 1; + }, + + easeInOutExpo: function(t) { + if (t === 0) { + return 0; + } + if (t === 1) { + return 1; + } + if ((t /= 0.5) < 1) { + return 0.5 * Math.pow(2, 10 * (t - 1)); + } + return 0.5 * (-Math.pow(2, -10 * --t) + 2); + }, + + easeInCirc: function(t) { + if (t >= 1) { + return t; + } + return -(Math.sqrt(1 - t * t) - 1); + }, + + easeOutCirc: function(t) { + return Math.sqrt(1 - (t = t - 1) * t); + }, + + easeInOutCirc: function(t) { + if ((t /= 0.5) < 1) { + return -0.5 * (Math.sqrt(1 - t * t) - 1); + } + return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1); + }, + + easeInElastic: function(t) { + var s = 1.70158; + var p = 0; + var a = 1; + if (t === 0) { + return 0; + } + if (t === 1) { + return 1; + } + if (!p) { + p = 0.3; + } + if (a < 1) { + a = 1; + s = p / 4; + } else { + s = p / (2 * Math.PI) * Math.asin(1 / a); + } + return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p)); + }, + + easeOutElastic: function(t) { + var s = 1.70158; + var p = 0; + var a = 1; + if (t === 0) { + return 0; + } + if (t === 1) { + return 1; + } + if (!p) { + p = 0.3; + } + if (a < 1) { + a = 1; + s = p / 4; + } else { + s = p / (2 * Math.PI) * Math.asin(1 / a); + } + return a * Math.pow(2, -10 * t) * Math.sin((t - s) * (2 * Math.PI) / p) + 1; + }, + + easeInOutElastic: function(t) { + var s = 1.70158; + var p = 0; + var a = 1; + if (t === 0) { + return 0; + } + if ((t /= 0.5) === 2) { + return 1; + } + if (!p) { + p = 0.45; + } + if (a < 1) { + a = 1; + s = p / 4; + } else { + s = p / (2 * Math.PI) * Math.asin(1 / a); + } + if (t < 1) { + return -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p)); + } + return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p) * 0.5 + 1; + }, + easeInBack: function(t) { + var s = 1.70158; + return t * t * ((s + 1) * t - s); + }, + + easeOutBack: function(t) { + var s = 1.70158; + return (t = t - 1) * t * ((s + 1) * t + s) + 1; + }, + + easeInOutBack: function(t) { + var s = 1.70158; + if ((t /= 0.5) < 1) { + return 0.5 * (t * t * (((s *= (1.525)) + 1) * t - s)); + } + return 0.5 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2); + }, + + easeInBounce: function(t) { + return 1 - effects.easeOutBounce(1 - t); + }, + + easeOutBounce: function(t) { + if (t < (1 / 2.75)) { + return 7.5625 * t * t; + } + if (t < (2 / 2.75)) { + return 7.5625 * (t -= (1.5 / 2.75)) * t + 0.75; + } + if (t < (2.5 / 2.75)) { + return 7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375; + } + return 7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375; + }, + + easeInOutBounce: function(t) { + if (t < 0.5) { + return effects.easeInBounce(t * 2) * 0.5; + } + return effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5; + } + }; + + var helpers_easing = { + effects: effects + }; + + // DEPRECATIONS + + /** + * Provided for backward compatibility, use Chart.helpers.easing.effects instead. + * @function Chart.helpers.easingEffects + * @deprecated since version 2.7.0 + * @todo remove at version 3 + * @private + */ + helpers_core.easingEffects = effects; + + var PI = Math.PI; + var RAD_PER_DEG = PI / 180; + var DOUBLE_PI = PI * 2; + var HALF_PI = PI / 2; + var QUARTER_PI = PI / 4; + var TWO_THIRDS_PI = PI * 2 / 3; + + /** + * @namespace Chart.helpers.canvas + */ + var exports$1 = { + /** + * Clears the entire canvas associated to the given `chart`. + * @param {Chart} chart - The chart for which to clear the canvas. + */ + clear: function(chart) { + chart.ctx.clearRect(0, 0, chart.width, chart.height); + }, + + /** + * Creates a "path" for a rectangle with rounded corners at position (x, y) with a + * given size (width, height) and the same `radius` for all corners. + * @param {CanvasRenderingContext2D} ctx - The canvas 2D Context. + * @param {number} x - The x axis of the coordinate for the rectangle starting point. + * @param {number} y - The y axis of the coordinate for the rectangle starting point. + * @param {number} width - The rectangle's width. + * @param {number} height - The rectangle's height. + * @param {number} radius - The rounded amount (in pixels) for the four corners. + * @todo handle `radius` as top-left, top-right, bottom-right, bottom-left array/object? + */ + roundedRect: function(ctx, x, y, width, height, radius) { + if (radius) { + var r = Math.min(radius, height / 2, width / 2); + var left = x + r; + var top = y + r; + var right = x + width - r; + var bottom = y + height - r; + + ctx.moveTo(x, top); + if (left < right && top < bottom) { + ctx.arc(left, top, r, -PI, -HALF_PI); + ctx.arc(right, top, r, -HALF_PI, 0); + ctx.arc(right, bottom, r, 0, HALF_PI); + ctx.arc(left, bottom, r, HALF_PI, PI); + } else if (left < right) { + ctx.moveTo(left, y); + ctx.arc(right, top, r, -HALF_PI, HALF_PI); + ctx.arc(left, top, r, HALF_PI, PI + HALF_PI); + } else if (top < bottom) { + ctx.arc(left, top, r, -PI, 0); + ctx.arc(left, bottom, r, 0, PI); + } else { + ctx.arc(left, top, r, -PI, PI); + } + ctx.closePath(); + ctx.moveTo(x, y); + } else { + ctx.rect(x, y, width, height); + } + }, + + drawPoint: function(ctx, style, radius, x, y, rotation) { + var type, xOffset, yOffset, size, cornerRadius; + var rad = (rotation || 0) * RAD_PER_DEG; + + if (style && typeof style === 'object') { + type = style.toString(); + if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') { + ctx.save(); + ctx.translate(x, y); + ctx.rotate(rad); + ctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height); + ctx.restore(); + return; + } + } + + if (isNaN(radius) || radius <= 0) { + return; + } + + ctx.beginPath(); + + switch (style) { + // Default includes circle + default: + ctx.arc(x, y, radius, 0, DOUBLE_PI); + ctx.closePath(); + break; + case 'triangle': + ctx.moveTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius); + rad += TWO_THIRDS_PI; + ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius); + rad += TWO_THIRDS_PI; + ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius); + ctx.closePath(); + break; + case 'rectRounded': + // NOTE: the rounded rect implementation changed to use `arc` instead of + // `quadraticCurveTo` since it generates better results when rect is + // almost a circle. 0.516 (instead of 0.5) produces results with visually + // closer proportion to the previous impl and it is inscribed in the + // circle with `radius`. For more details, see the following PRs: + // https://github.com/chartjs/Chart.js/issues/5597 + // https://github.com/chartjs/Chart.js/issues/5858 + cornerRadius = radius * 0.516; + size = radius - cornerRadius; + xOffset = Math.cos(rad + QUARTER_PI) * size; + yOffset = Math.sin(rad + QUARTER_PI) * size; + ctx.arc(x - xOffset, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI); + ctx.arc(x + yOffset, y - xOffset, cornerRadius, rad - HALF_PI, rad); + ctx.arc(x + xOffset, y + yOffset, cornerRadius, rad, rad + HALF_PI); + ctx.arc(x - yOffset, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI); + ctx.closePath(); + break; + case 'rect': + if (!rotation) { + size = Math.SQRT1_2 * radius; + ctx.rect(x - size, y - size, 2 * size, 2 * size); + break; + } + rad += QUARTER_PI; + /* falls through */ + case 'rectRot': + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + ctx.moveTo(x - xOffset, y - yOffset); + ctx.lineTo(x + yOffset, y - xOffset); + ctx.lineTo(x + xOffset, y + yOffset); + ctx.lineTo(x - yOffset, y + xOffset); + ctx.closePath(); + break; + case 'crossRot': + rad += QUARTER_PI; + /* falls through */ + case 'cross': + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + ctx.moveTo(x - xOffset, y - yOffset); + ctx.lineTo(x + xOffset, y + yOffset); + ctx.moveTo(x + yOffset, y - xOffset); + ctx.lineTo(x - yOffset, y + xOffset); + break; + case 'star': + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + ctx.moveTo(x - xOffset, y - yOffset); + ctx.lineTo(x + xOffset, y + yOffset); + ctx.moveTo(x + yOffset, y - xOffset); + ctx.lineTo(x - yOffset, y + xOffset); + rad += QUARTER_PI; + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + ctx.moveTo(x - xOffset, y - yOffset); + ctx.lineTo(x + xOffset, y + yOffset); + ctx.moveTo(x + yOffset, y - xOffset); + ctx.lineTo(x - yOffset, y + xOffset); + break; + case 'line': + xOffset = Math.cos(rad) * radius; + yOffset = Math.sin(rad) * radius; + ctx.moveTo(x - xOffset, y - yOffset); + ctx.lineTo(x + xOffset, y + yOffset); + break; + case 'dash': + ctx.moveTo(x, y); + ctx.lineTo(x + Math.cos(rad) * radius, y + Math.sin(rad) * radius); + break; + } + + ctx.fill(); + ctx.stroke(); + }, + + /** + * Returns true if the point is inside the rectangle + * @param {object} point - The point to test + * @param {object} area - The rectangle + * @returns {boolean} + * @private + */ + _isPointInArea: function(point, area) { + var epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error. + + return point.x > area.left - epsilon && point.x < area.right + epsilon && + point.y > area.top - epsilon && point.y < area.bottom + epsilon; + }, + + clipArea: function(ctx, area) { + ctx.save(); + ctx.beginPath(); + ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top); + ctx.clip(); + }, + + unclipArea: function(ctx) { + ctx.restore(); + }, + + lineTo: function(ctx, previous, target, flip) { + var stepped = target.steppedLine; + if (stepped) { + if (stepped === 'middle') { + var midpoint = (previous.x + target.x) / 2.0; + ctx.lineTo(midpoint, flip ? target.y : previous.y); + ctx.lineTo(midpoint, flip ? previous.y : target.y); + } else if ((stepped === 'after' && !flip) || (stepped !== 'after' && flip)) { + ctx.lineTo(previous.x, target.y); + } else { + ctx.lineTo(target.x, previous.y); + } + ctx.lineTo(target.x, target.y); + return; + } + + if (!target.tension) { + ctx.lineTo(target.x, target.y); + return; + } + + ctx.bezierCurveTo( + flip ? previous.controlPointPreviousX : previous.controlPointNextX, + flip ? previous.controlPointPreviousY : previous.controlPointNextY, + flip ? target.controlPointNextX : target.controlPointPreviousX, + flip ? target.controlPointNextY : target.controlPointPreviousY, + target.x, + target.y); + } + }; + + var helpers_canvas = exports$1; + + // DEPRECATIONS + + /** + * Provided for backward compatibility, use Chart.helpers.canvas.clear instead. + * @namespace Chart.helpers.clear + * @deprecated since version 2.7.0 + * @todo remove at version 3 + * @private + */ + helpers_core.clear = exports$1.clear; + + /** + * Provided for backward compatibility, use Chart.helpers.canvas.roundedRect instead. + * @namespace Chart.helpers.drawRoundedRectangle + * @deprecated since version 2.7.0 + * @todo remove at version 3 + * @private + */ + helpers_core.drawRoundedRectangle = function(ctx) { + ctx.beginPath(); + exports$1.roundedRect.apply(exports$1, arguments); + }; + + var defaults = { + /** + * @private + */ + _set: function(scope, values) { + return helpers_core.merge(this[scope] || (this[scope] = {}), values); + } + }; + + // TODO(v3): remove 'global' from namespace. all default are global and + // there's inconsistency around which options are under 'global' + defaults._set('global', { + defaultColor: 'rgba(0,0,0,0.1)', + defaultFontColor: '#666', + defaultFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif", + defaultFontSize: 12, + defaultFontStyle: 'normal', + defaultLineHeight: 1.2, + showLines: true + }); + + var core_defaults = defaults; + + var valueOrDefault = helpers_core.valueOrDefault; + + /** + * Converts the given font object into a CSS font string. + * @param {object} font - A font object. + * @return {string} The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font + * @private + */ + function toFontString(font) { + if (!font || helpers_core.isNullOrUndef(font.size) || helpers_core.isNullOrUndef(font.family)) { + return null; + } + + return (font.style ? font.style + ' ' : '') + + (font.weight ? font.weight + ' ' : '') + + font.size + 'px ' + + font.family; + } + + /** + * @alias Chart.helpers.options + * @namespace + */ + var helpers_options = { + /** + * Converts the given line height `value` in pixels for a specific font `size`. + * @param {number|string} value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em'). + * @param {number} size - The font size (in pixels) used to resolve relative `value`. + * @returns {number} The effective line height in pixels (size * 1.2 if value is invalid). + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height + * @since 2.7.0 + */ + toLineHeight: function(value, size) { + var matches = ('' + value).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/); + if (!matches || matches[1] === 'normal') { + return size * 1.2; + } + + value = +matches[2]; + + switch (matches[3]) { + case 'px': + return value; + case '%': + value /= 100; + break; + } + + return size * value; + }, + + /** + * Converts the given value into a padding object with pre-computed width/height. + * @param {number|object} value - If a number, set the value to all TRBL component, + * else, if and object, use defined properties and sets undefined ones to 0. + * @returns {object} The padding values (top, right, bottom, left, width, height) + * @since 2.7.0 + */ + toPadding: function(value) { + var t, r, b, l; + + if (helpers_core.isObject(value)) { + t = +value.top || 0; + r = +value.right || 0; + b = +value.bottom || 0; + l = +value.left || 0; + } else { + t = r = b = l = +value || 0; + } + + return { + top: t, + right: r, + bottom: b, + left: l, + height: t + b, + width: l + r + }; + }, + + /** + * Parses font options and returns the font object. + * @param {object} options - A object that contains font options to be parsed. + * @return {object} The font object. + * @todo Support font.* options and renamed to toFont(). + * @private + */ + _parseFont: function(options) { + var globalDefaults = core_defaults.global; + var size = valueOrDefault(options.fontSize, globalDefaults.defaultFontSize); + var font = { + family: valueOrDefault(options.fontFamily, globalDefaults.defaultFontFamily), + lineHeight: helpers_core.options.toLineHeight(valueOrDefault(options.lineHeight, globalDefaults.defaultLineHeight), size), + size: size, + style: valueOrDefault(options.fontStyle, globalDefaults.defaultFontStyle), + weight: null, + string: '' + }; + + font.string = toFontString(font); + return font; + }, + + /** + * Evaluates the given `inputs` sequentially and returns the first defined value. + * @param {Array} inputs - An array of values, falling back to the last value. + * @param {object} [context] - If defined and the current value is a function, the value + * is called with `context` as first argument and the result becomes the new input. + * @param {number} [index] - If defined and the current value is an array, the value + * at `index` become the new input. + * @param {object} [info] - object to return information about resolution in + * @param {boolean} [info.cacheable] - Will be set to `false` if option is not cacheable. + * @since 2.7.0 + */ + resolve: function(inputs, context, index, info) { + var cacheable = true; + var i, ilen, value; + + for (i = 0, ilen = inputs.length; i < ilen; ++i) { + value = inputs[i]; + if (value === undefined) { + continue; + } + if (context !== undefined && typeof value === 'function') { + value = value(context); + cacheable = false; + } + if (index !== undefined && helpers_core.isArray(value)) { + value = value[index]; + cacheable = false; + } + if (value !== undefined) { + if (info && !cacheable) { + info.cacheable = false; + } + return value; + } + } + } + }; + + /** + * @alias Chart.helpers.math + * @namespace + */ + var exports$2 = { + /** + * Returns an array of factors sorted from 1 to sqrt(value) + * @private + */ + _factorize: function(value) { + var result = []; + var sqrt = Math.sqrt(value); + var i; + + for (i = 1; i < sqrt; i++) { + if (value % i === 0) { + result.push(i); + result.push(value / i); + } + } + if (sqrt === (sqrt | 0)) { // if value is a square number + result.push(sqrt); + } + + result.sort(function(a, b) { + return a - b; + }).pop(); + return result; + }, + + log10: Math.log10 || function(x) { + var exponent = Math.log(x) * Math.LOG10E; // Math.LOG10E = 1 / Math.LN10. + // Check for whole powers of 10, + // which due to floating point rounding error should be corrected. + var powerOf10 = Math.round(exponent); + var isPowerOf10 = x === Math.pow(10, powerOf10); + + return isPowerOf10 ? powerOf10 : exponent; + } + }; + + var helpers_math = exports$2; + + // DEPRECATIONS + + /** + * Provided for backward compatibility, use Chart.helpers.math.log10 instead. + * @namespace Chart.helpers.log10 + * @deprecated since version 2.9.0 + * @todo remove at version 3 + * @private + */ + helpers_core.log10 = exports$2.log10; + + var getRtlAdapter = function(rectX, width) { + return { + x: function(x) { + return rectX + rectX + width - x; + }, + setWidth: function(w) { + width = w; + }, + textAlign: function(align) { + if (align === 'center') { + return align; + } + return align === 'right' ? 'left' : 'right'; + }, + xPlus: function(x, value) { + return x - value; + }, + leftForLtr: function(x, itemWidth) { + return x - itemWidth; + }, + }; + }; + + var getLtrAdapter = function() { + return { + x: function(x) { + return x; + }, + setWidth: function(w) { // eslint-disable-line no-unused-vars + }, + textAlign: function(align) { + return align; + }, + xPlus: function(x, value) { + return x + value; + }, + leftForLtr: function(x, _itemWidth) { // eslint-disable-line no-unused-vars + return x; + }, + }; + }; + + var getAdapter = function(rtl, rectX, width) { + return rtl ? getRtlAdapter(rectX, width) : getLtrAdapter(); + }; + + var overrideTextDirection = function(ctx, direction) { + var style, original; + if (direction === 'ltr' || direction === 'rtl') { + style = ctx.canvas.style; + original = [ + style.getPropertyValue('direction'), + style.getPropertyPriority('direction'), + ]; + + style.setProperty('direction', direction, 'important'); + ctx.prevTextDirection = original; + } + }; + + var restoreTextDirection = function(ctx) { + var original = ctx.prevTextDirection; + if (original !== undefined) { + delete ctx.prevTextDirection; + ctx.canvas.style.setProperty('direction', original[0], original[1]); + } + }; + + var helpers_rtl = { + getRtlAdapter: getAdapter, + overrideTextDirection: overrideTextDirection, + restoreTextDirection: restoreTextDirection, + }; + + var helpers$1 = helpers_core; + var easing = helpers_easing; + var canvas = helpers_canvas; + var options = helpers_options; + var math = helpers_math; + var rtl = helpers_rtl; + helpers$1.easing = easing; + helpers$1.canvas = canvas; + helpers$1.options = options; + helpers$1.math = math; + helpers$1.rtl = rtl; + + function interpolate(start, view, model, ease) { + var keys = Object.keys(model); + var i, ilen, key, actual, origin, target, type, c0, c1; + + for (i = 0, ilen = keys.length; i < ilen; ++i) { + key = keys[i]; + + target = model[key]; + + // if a value is added to the model after pivot() has been called, the view + // doesn't contain it, so let's initialize the view to the target value. + if (!view.hasOwnProperty(key)) { + view[key] = target; + } + + actual = view[key]; + + if (actual === target || key[0] === '_') { + continue; + } + + if (!start.hasOwnProperty(key)) { + start[key] = actual; + } + + origin = start[key]; + + type = typeof target; + + if (type === typeof origin) { + if (type === 'string') { + c0 = chartjsColor(origin); + if (c0.valid) { + c1 = chartjsColor(target); + if (c1.valid) { + view[key] = c1.mix(c0, ease).rgbString(); + continue; + } + } + } else if (helpers$1.isFinite(origin) && helpers$1.isFinite(target)) { + view[key] = origin + (target - origin) * ease; + continue; + } + } + + view[key] = target; + } + } + + var Element = function(configuration) { + helpers$1.extend(this, configuration); + this.initialize.apply(this, arguments); + }; + + helpers$1.extend(Element.prototype, { + _type: undefined, + + initialize: function() { + this.hidden = false; + }, + + pivot: function() { + var me = this; + if (!me._view) { + me._view = helpers$1.extend({}, me._model); + } + me._start = {}; + return me; + }, + + transition: function(ease) { + var me = this; + var model = me._model; + var start = me._start; + var view = me._view; + + // No animation -> No Transition + if (!model || ease === 1) { + me._view = helpers$1.extend({}, model); + me._start = null; + return me; + } + + if (!view) { + view = me._view = {}; + } + + if (!start) { + start = me._start = {}; + } + + interpolate(start, view, model, ease); + + return me; + }, + + tooltipPosition: function() { + return { + x: this._model.x, + y: this._model.y + }; + }, + + hasValue: function() { + return helpers$1.isNumber(this._model.x) && helpers$1.isNumber(this._model.y); + } + }); + + Element.extend = helpers$1.inherits; + + var core_element = Element; + + var exports$3 = core_element.extend({ + chart: null, // the animation associated chart instance + currentStep: 0, // the current animation step + numSteps: 60, // default number of steps + easing: '', // the easing to use for this animation + render: null, // render function used by the animation service + + onAnimationProgress: null, // user specified callback to fire on each step of the animation + onAnimationComplete: null, // user specified callback to fire when the animation finishes + }); + + var core_animation = exports$3; + + // DEPRECATIONS + + /** + * Provided for backward compatibility, use Chart.Animation instead + * @prop Chart.Animation#animationObject + * @deprecated since version 2.6.0 + * @todo remove at version 3 + */ + Object.defineProperty(exports$3.prototype, 'animationObject', { + get: function() { + return this; + } + }); + + /** + * Provided for backward compatibility, use Chart.Animation#chart instead + * @prop Chart.Animation#chartInstance + * @deprecated since version 2.6.0 + * @todo remove at version 3 + */ + Object.defineProperty(exports$3.prototype, 'chartInstance', { + get: function() { + return this.chart; + }, + set: function(value) { + this.chart = value; + } + }); + + core_defaults._set('global', { + animation: { + duration: 1000, + easing: 'easeOutQuart', + onProgress: helpers$1.noop, + onComplete: helpers$1.noop + } + }); + + var core_animations = { + animations: [], + request: null, + + /** + * @param {Chart} chart - The chart to animate. + * @param {Chart.Animation} animation - The animation that we will animate. + * @param {number} duration - The animation duration in ms. + * @param {boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions + */ + addAnimation: function(chart, animation, duration, lazy) { + var animations = this.animations; + var i, ilen; + + animation.chart = chart; + animation.startTime = Date.now(); + animation.duration = duration; + + if (!lazy) { + chart.animating = true; + } + + for (i = 0, ilen = animations.length; i < ilen; ++i) { + if (animations[i].chart === chart) { + animations[i] = animation; + return; + } + } + + animations.push(animation); + + // If there are no animations queued, manually kickstart a digest, for lack of a better word + if (animations.length === 1) { + this.requestAnimationFrame(); + } + }, + + cancelAnimation: function(chart) { + var index = helpers$1.findIndex(this.animations, function(animation) { + return animation.chart === chart; + }); + + if (index !== -1) { + this.animations.splice(index, 1); + chart.animating = false; + } + }, + + requestAnimationFrame: function() { + var me = this; + if (me.request === null) { + // Skip animation frame requests until the active one is executed. + // This can happen when processing mouse events, e.g. 'mousemove' + // and 'mouseout' events will trigger multiple renders. + me.request = helpers$1.requestAnimFrame.call(window, function() { + me.request = null; + me.startDigest(); + }); + } + }, + + /** + * @private + */ + startDigest: function() { + var me = this; + + me.advance(); + + // Do we have more stuff to animate? + if (me.animations.length > 0) { + me.requestAnimationFrame(); + } + }, + + /** + * @private + */ + advance: function() { + var animations = this.animations; + var animation, chart, numSteps, nextStep; + var i = 0; + + // 1 animation per chart, so we are looping charts here + while (i < animations.length) { + animation = animations[i]; + chart = animation.chart; + numSteps = animation.numSteps; + + // Make sure that currentStep starts at 1 + // https://github.com/chartjs/Chart.js/issues/6104 + nextStep = Math.floor((Date.now() - animation.startTime) / animation.duration * numSteps) + 1; + animation.currentStep = Math.min(nextStep, numSteps); + + helpers$1.callback(animation.render, [chart, animation], chart); + helpers$1.callback(animation.onAnimationProgress, [animation], chart); + + if (animation.currentStep >= numSteps) { + helpers$1.callback(animation.onAnimationComplete, [animation], chart); + chart.animating = false; + animations.splice(i, 1); + } else { + ++i; + } + } + } + }; + + var resolve = helpers$1.options.resolve; + + var arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift']; + + /** + * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice', + * 'unshift') and notify the listener AFTER the array has been altered. Listeners are + * called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments. + */ + function listenArrayEvents(array, listener) { + if (array._chartjs) { + array._chartjs.listeners.push(listener); + return; + } + + Object.defineProperty(array, '_chartjs', { + configurable: true, + enumerable: false, + value: { + listeners: [listener] + } + }); + + arrayEvents.forEach(function(key) { + var method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1); + var base = array[key]; + + Object.defineProperty(array, key, { + configurable: true, + enumerable: false, + value: function() { + var args = Array.prototype.slice.call(arguments); + var res = base.apply(this, args); + + helpers$1.each(array._chartjs.listeners, function(object) { + if (typeof object[method] === 'function') { + object[method].apply(object, args); + } + }); + + return res; + } + }); + }); + } + + /** + * Removes the given array event listener and cleanup extra attached properties (such as + * the _chartjs stub and overridden methods) if array doesn't have any more listeners. + */ + function unlistenArrayEvents(array, listener) { + var stub = array._chartjs; + if (!stub) { + return; + } + + var listeners = stub.listeners; + var index = listeners.indexOf(listener); + if (index !== -1) { + listeners.splice(index, 1); + } + + if (listeners.length > 0) { + return; + } + + arrayEvents.forEach(function(key) { + delete array[key]; + }); + + delete array._chartjs; + } + + // Base class for all dataset controllers (line, bar, etc) + var DatasetController = function(chart, datasetIndex) { + this.initialize(chart, datasetIndex); + }; + + helpers$1.extend(DatasetController.prototype, { + + /** + * Element type used to generate a meta dataset (e.g. Chart.element.Line). + * @type {Chart.core.element} + */ + datasetElementType: null, + + /** + * Element type used to generate a meta data (e.g. Chart.element.Point). + * @type {Chart.core.element} + */ + dataElementType: null, + + /** + * Dataset element option keys to be resolved in _resolveDatasetElementOptions. + * A derived controller may override this to resolve controller-specific options. + * The keys defined here are for backward compatibility for legend styles. + * @private + */ + _datasetElementOptions: [ + 'backgroundColor', + 'borderCapStyle', + 'borderColor', + 'borderDash', + 'borderDashOffset', + 'borderJoinStyle', + 'borderWidth' + ], + + /** + * Data element option keys to be resolved in _resolveDataElementOptions. + * A derived controller may override this to resolve controller-specific options. + * The keys defined here are for backward compatibility for legend styles. + * @private + */ + _dataElementOptions: [ + 'backgroundColor', + 'borderColor', + 'borderWidth', + 'pointStyle' + ], + + initialize: function(chart, datasetIndex) { + var me = this; + me.chart = chart; + me.index = datasetIndex; + me.linkScales(); + me.addElements(); + me._type = me.getMeta().type; + }, + + updateIndex: function(datasetIndex) { + this.index = datasetIndex; + }, + + linkScales: function() { + var me = this; + var meta = me.getMeta(); + var chart = me.chart; + var scales = chart.scales; + var dataset = me.getDataset(); + var scalesOpts = chart.options.scales; + + if (meta.xAxisID === null || !(meta.xAxisID in scales) || dataset.xAxisID) { + meta.xAxisID = dataset.xAxisID || scalesOpts.xAxes[0].id; + } + if (meta.yAxisID === null || !(meta.yAxisID in scales) || dataset.yAxisID) { + meta.yAxisID = dataset.yAxisID || scalesOpts.yAxes[0].id; + } + }, + + getDataset: function() { + return this.chart.data.datasets[this.index]; + }, + + getMeta: function() { + return this.chart.getDatasetMeta(this.index); + }, + + getScaleForId: function(scaleID) { + return this.chart.scales[scaleID]; + }, + + /** + * @private + */ + _getValueScaleId: function() { + return this.getMeta().yAxisID; + }, + + /** + * @private + */ + _getIndexScaleId: function() { + return this.getMeta().xAxisID; + }, + + /** + * @private + */ + _getValueScale: function() { + return this.getScaleForId(this._getValueScaleId()); + }, + + /** + * @private + */ + _getIndexScale: function() { + return this.getScaleForId(this._getIndexScaleId()); + }, + + reset: function() { + this._update(true); + }, + + /** + * @private + */ + destroy: function() { + if (this._data) { + unlistenArrayEvents(this._data, this); + } + }, + + createMetaDataset: function() { + var me = this; + var type = me.datasetElementType; + return type && new type({ + _chart: me.chart, + _datasetIndex: me.index + }); + }, + + createMetaData: function(index) { + var me = this; + var type = me.dataElementType; + return type && new type({ + _chart: me.chart, + _datasetIndex: me.index, + _index: index + }); + }, + + addElements: function() { + var me = this; + var meta = me.getMeta(); + var data = me.getDataset().data || []; + var metaData = meta.data; + var i, ilen; + + for (i = 0, ilen = data.length; i < ilen; ++i) { + metaData[i] = metaData[i] || me.createMetaData(i); + } + + meta.dataset = meta.dataset || me.createMetaDataset(); + }, + + addElementAndReset: function(index) { + var element = this.createMetaData(index); + this.getMeta().data.splice(index, 0, element); + this.updateElement(element, index, true); + }, + + buildOrUpdateElements: function() { + var me = this; + var dataset = me.getDataset(); + var data = dataset.data || (dataset.data = []); + + // In order to correctly handle data addition/deletion animation (an thus simulate + // real-time charts), we need to monitor these data modifications and synchronize + // the internal meta data accordingly. + if (me._data !== data) { + if (me._data) { + // This case happens when the user replaced the data array instance. + unlistenArrayEvents(me._data, me); + } + + if (data && Object.isExtensible(data)) { + listenArrayEvents(data, me); + } + me._data = data; + } + + // Re-sync meta data in case the user replaced the data array or if we missed + // any updates and so make sure that we handle number of datapoints changing. + me.resyncElements(); + }, + + /** + * Returns the merged user-supplied and default dataset-level options + * @private + */ + _configure: function() { + var me = this; + me._config = helpers$1.merge({}, [ + me.chart.options.datasets[me._type], + me.getDataset(), + ], { + merger: function(key, target, source) { + if (key !== '_meta' && key !== 'data') { + helpers$1._merger(key, target, source); + } + } + }); + }, + + _update: function(reset) { + var me = this; + me._configure(); + me._cachedDataOpts = null; + me.update(reset); + }, + + update: helpers$1.noop, + + transition: function(easingValue) { + var meta = this.getMeta(); + var elements = meta.data || []; + var ilen = elements.length; + var i = 0; + + for (; i < ilen; ++i) { + elements[i].transition(easingValue); + } + + if (meta.dataset) { + meta.dataset.transition(easingValue); + } + }, + + draw: function() { + var meta = this.getMeta(); + var elements = meta.data || []; + var ilen = elements.length; + var i = 0; + + if (meta.dataset) { + meta.dataset.draw(); + } + + for (; i < ilen; ++i) { + elements[i].draw(); + } + }, + + /** + * Returns a set of predefined style properties that should be used to represent the dataset + * or the data if the index is specified + * @param {number} index - data index + * @return {IStyleInterface} style object + */ + getStyle: function(index) { + var me = this; + var meta = me.getMeta(); + var dataset = meta.dataset; + var style; + + me._configure(); + if (dataset && index === undefined) { + style = me._resolveDatasetElementOptions(dataset || {}); + } else { + index = index || 0; + style = me._resolveDataElementOptions(meta.data[index] || {}, index); + } + + if (style.fill === false || style.fill === null) { + style.backgroundColor = style.borderColor; + } + + return style; + }, + + /** + * @private + */ + _resolveDatasetElementOptions: function(element, hover) { + var me = this; + var chart = me.chart; + var datasetOpts = me._config; + var custom = element.custom || {}; + var options = chart.options.elements[me.datasetElementType.prototype._type] || {}; + var elementOptions = me._datasetElementOptions; + var values = {}; + var i, ilen, key, readKey; + + // Scriptable options + var context = { + chart: chart, + dataset: me.getDataset(), + datasetIndex: me.index, + hover: hover + }; + + for (i = 0, ilen = elementOptions.length; i < ilen; ++i) { + key = elementOptions[i]; + readKey = hover ? 'hover' + key.charAt(0).toUpperCase() + key.slice(1) : key; + values[key] = resolve([ + custom[readKey], + datasetOpts[readKey], + options[readKey] + ], context); + } + + return values; + }, + + /** + * @private + */ + _resolveDataElementOptions: function(element, index) { + var me = this; + var custom = element && element.custom; + var cached = me._cachedDataOpts; + if (cached && !custom) { + return cached; + } + var chart = me.chart; + var datasetOpts = me._config; + var options = chart.options.elements[me.dataElementType.prototype._type] || {}; + var elementOptions = me._dataElementOptions; + var values = {}; + + // Scriptable options + var context = { + chart: chart, + dataIndex: index, + dataset: me.getDataset(), + datasetIndex: me.index + }; + + // `resolve` sets cacheable to `false` if any option is indexed or scripted + var info = {cacheable: !custom}; + + var keys, i, ilen, key; + + custom = custom || {}; + + if (helpers$1.isArray(elementOptions)) { + for (i = 0, ilen = elementOptions.length; i < ilen; ++i) { + key = elementOptions[i]; + values[key] = resolve([ + custom[key], + datasetOpts[key], + options[key] + ], context, index, info); + } + } else { + keys = Object.keys(elementOptions); + for (i = 0, ilen = keys.length; i < ilen; ++i) { + key = keys[i]; + values[key] = resolve([ + custom[key], + datasetOpts[elementOptions[key]], + datasetOpts[key], + options[key] + ], context, index, info); + } + } + + if (info.cacheable) { + me._cachedDataOpts = Object.freeze(values); + } + + return values; + }, + + removeHoverStyle: function(element) { + helpers$1.merge(element._model, element.$previousStyle || {}); + delete element.$previousStyle; + }, + + setHoverStyle: function(element) { + var dataset = this.chart.data.datasets[element._datasetIndex]; + var index = element._index; + var custom = element.custom || {}; + var model = element._model; + var getHoverColor = helpers$1.getHoverColor; + + element.$previousStyle = { + backgroundColor: model.backgroundColor, + borderColor: model.borderColor, + borderWidth: model.borderWidth + }; + + model.backgroundColor = resolve([custom.hoverBackgroundColor, dataset.hoverBackgroundColor, getHoverColor(model.backgroundColor)], undefined, index); + model.borderColor = resolve([custom.hoverBorderColor, dataset.hoverBorderColor, getHoverColor(model.borderColor)], undefined, index); + model.borderWidth = resolve([custom.hoverBorderWidth, dataset.hoverBorderWidth, model.borderWidth], undefined, index); + }, + + /** + * @private + */ + _removeDatasetHoverStyle: function() { + var element = this.getMeta().dataset; + + if (element) { + this.removeHoverStyle(element); + } + }, + + /** + * @private + */ + _setDatasetHoverStyle: function() { + var element = this.getMeta().dataset; + var prev = {}; + var i, ilen, key, keys, hoverOptions, model; + + if (!element) { + return; + } + + model = element._model; + hoverOptions = this._resolveDatasetElementOptions(element, true); + + keys = Object.keys(hoverOptions); + for (i = 0, ilen = keys.length; i < ilen; ++i) { + key = keys[i]; + prev[key] = model[key]; + model[key] = hoverOptions[key]; + } + + element.$previousStyle = prev; + }, + + /** + * @private + */ + resyncElements: function() { + var me = this; + var meta = me.getMeta(); + var data = me.getDataset().data; + var numMeta = meta.data.length; + var numData = data.length; + + if (numData < numMeta) { + meta.data.splice(numData, numMeta - numData); + } else if (numData > numMeta) { + me.insertElements(numMeta, numData - numMeta); + } + }, + + /** + * @private + */ + insertElements: function(start, count) { + for (var i = 0; i < count; ++i) { + this.addElementAndReset(start + i); + } + }, + + /** + * @private + */ + onDataPush: function() { + var count = arguments.length; + this.insertElements(this.getDataset().data.length - count, count); + }, + + /** + * @private + */ + onDataPop: function() { + this.getMeta().data.pop(); + }, + + /** + * @private + */ + onDataShift: function() { + this.getMeta().data.shift(); + }, + + /** + * @private + */ + onDataSplice: function(start, count) { + this.getMeta().data.splice(start, count); + this.insertElements(start, arguments.length - 2); + }, + + /** + * @private + */ + onDataUnshift: function() { + this.insertElements(0, arguments.length); + } + }); + + DatasetController.extend = helpers$1.inherits; + + var core_datasetController = DatasetController; + + var TAU = Math.PI * 2; + + core_defaults._set('global', { + elements: { + arc: { + backgroundColor: core_defaults.global.defaultColor, + borderColor: '#fff', + borderWidth: 2, + borderAlign: 'center' + } + } + }); + + function clipArc(ctx, arc) { + var startAngle = arc.startAngle; + var endAngle = arc.endAngle; + var pixelMargin = arc.pixelMargin; + var angleMargin = pixelMargin / arc.outerRadius; + var x = arc.x; + var y = arc.y; + + // Draw an inner border by cliping the arc and drawing a double-width border + // Enlarge the clipping arc by 0.33 pixels to eliminate glitches between borders + ctx.beginPath(); + ctx.arc(x, y, arc.outerRadius, startAngle - angleMargin, endAngle + angleMargin); + if (arc.innerRadius > pixelMargin) { + angleMargin = pixelMargin / arc.innerRadius; + ctx.arc(x, y, arc.innerRadius - pixelMargin, endAngle + angleMargin, startAngle - angleMargin, true); + } else { + ctx.arc(x, y, pixelMargin, endAngle + Math.PI / 2, startAngle - Math.PI / 2); + } + ctx.closePath(); + ctx.clip(); + } + + function drawFullCircleBorders(ctx, vm, arc, inner) { + var endAngle = arc.endAngle; + var i; + + if (inner) { + arc.endAngle = arc.startAngle + TAU; + clipArc(ctx, arc); + arc.endAngle = endAngle; + if (arc.endAngle === arc.startAngle && arc.fullCircles) { + arc.endAngle += TAU; + arc.fullCircles--; + } + } + + ctx.beginPath(); + ctx.arc(arc.x, arc.y, arc.innerRadius, arc.startAngle + TAU, arc.startAngle, true); + for (i = 0; i < arc.fullCircles; ++i) { + ctx.stroke(); + } + + ctx.beginPath(); + ctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.startAngle + TAU); + for (i = 0; i < arc.fullCircles; ++i) { + ctx.stroke(); + } + } + + function drawBorder(ctx, vm, arc) { + var inner = vm.borderAlign === 'inner'; + + if (inner) { + ctx.lineWidth = vm.borderWidth * 2; + ctx.lineJoin = 'round'; + } else { + ctx.lineWidth = vm.borderWidth; + ctx.lineJoin = 'bevel'; + } + + if (arc.fullCircles) { + drawFullCircleBorders(ctx, vm, arc, inner); + } + + if (inner) { + clipArc(ctx, arc); + } + + ctx.beginPath(); + ctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.endAngle); + ctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true); + ctx.closePath(); + ctx.stroke(); + } + + var element_arc = core_element.extend({ + _type: 'arc', + + inLabelRange: function(mouseX) { + var vm = this._view; + + if (vm) { + return (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2)); + } + return false; + }, + + inRange: function(chartX, chartY) { + var vm = this._view; + + if (vm) { + var pointRelativePosition = helpers$1.getAngleFromPoint(vm, {x: chartX, y: chartY}); + var angle = pointRelativePosition.angle; + var distance = pointRelativePosition.distance; + + // Sanitise angle range + var startAngle = vm.startAngle; + var endAngle = vm.endAngle; + while (endAngle < startAngle) { + endAngle += TAU; + } + while (angle > endAngle) { + angle -= TAU; + } + while (angle < startAngle) { + angle += TAU; + } + + // Check if within the range of the open/close angle + var betweenAngles = (angle >= startAngle && angle <= endAngle); + var withinRadius = (distance >= vm.innerRadius && distance <= vm.outerRadius); + + return (betweenAngles && withinRadius); + } + return false; + }, + + getCenterPoint: function() { + var vm = this._view; + var halfAngle = (vm.startAngle + vm.endAngle) / 2; + var halfRadius = (vm.innerRadius + vm.outerRadius) / 2; + return { + x: vm.x + Math.cos(halfAngle) * halfRadius, + y: vm.y + Math.sin(halfAngle) * halfRadius + }; + }, + + getArea: function() { + var vm = this._view; + return Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2)); + }, + + tooltipPosition: function() { + var vm = this._view; + var centreAngle = vm.startAngle + ((vm.endAngle - vm.startAngle) / 2); + var rangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius; + + return { + x: vm.x + (Math.cos(centreAngle) * rangeFromCentre), + y: vm.y + (Math.sin(centreAngle) * rangeFromCentre) + }; + }, + + draw: function() { + var ctx = this._chart.ctx; + var vm = this._view; + var pixelMargin = (vm.borderAlign === 'inner') ? 0.33 : 0; + var arc = { + x: vm.x, + y: vm.y, + innerRadius: vm.innerRadius, + outerRadius: Math.max(vm.outerRadius - pixelMargin, 0), + pixelMargin: pixelMargin, + startAngle: vm.startAngle, + endAngle: vm.endAngle, + fullCircles: Math.floor(vm.circumference / TAU) + }; + var i; + + ctx.save(); + + ctx.fillStyle = vm.backgroundColor; + ctx.strokeStyle = vm.borderColor; + + if (arc.fullCircles) { + arc.endAngle = arc.startAngle + TAU; + ctx.beginPath(); + ctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle); + ctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true); + ctx.closePath(); + for (i = 0; i < arc.fullCircles; ++i) { + ctx.fill(); + } + arc.endAngle = arc.startAngle + vm.circumference % TAU; + } + + ctx.beginPath(); + ctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle); + ctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true); + ctx.closePath(); + ctx.fill(); + + if (vm.borderWidth) { + drawBorder(ctx, vm, arc); + } + + ctx.restore(); + } + }); + + var valueOrDefault$1 = helpers$1.valueOrDefault; + + var defaultColor = core_defaults.global.defaultColor; + + core_defaults._set('global', { + elements: { + line: { + tension: 0.4, + backgroundColor: defaultColor, + borderWidth: 3, + borderColor: defaultColor, + borderCapStyle: 'butt', + borderDash: [], + borderDashOffset: 0.0, + borderJoinStyle: 'miter', + capBezierPoints: true, + fill: true, // do we fill in the area between the line and its base axis + } + } + }); + + var element_line = core_element.extend({ + _type: 'line', + + draw: function() { + var me = this; + var vm = me._view; + var ctx = me._chart.ctx; + var spanGaps = vm.spanGaps; + var points = me._children.slice(); // clone array + var globalDefaults = core_defaults.global; + var globalOptionLineElements = globalDefaults.elements.line; + var lastDrawnIndex = -1; + var closePath = me._loop; + var index, previous, currentVM; + + if (!points.length) { + return; + } + + if (me._loop) { + for (index = 0; index < points.length; ++index) { + previous = helpers$1.previousItem(points, index); + // If the line has an open path, shift the point array + if (!points[index]._view.skip && previous._view.skip) { + points = points.slice(index).concat(points.slice(0, index)); + closePath = spanGaps; + break; + } + } + // If the line has a close path, add the first point again + if (closePath) { + points.push(points[0]); + } + } + + ctx.save(); + + // Stroke Line Options + ctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle; + + // IE 9 and 10 do not support line dash + if (ctx.setLineDash) { + ctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash); + } + + ctx.lineDashOffset = valueOrDefault$1(vm.borderDashOffset, globalOptionLineElements.borderDashOffset); + ctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle; + ctx.lineWidth = valueOrDefault$1(vm.borderWidth, globalOptionLineElements.borderWidth); + ctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor; + + // Stroke Line + ctx.beginPath(); + + // First point moves to it's starting position no matter what + currentVM = points[0]._view; + if (!currentVM.skip) { + ctx.moveTo(currentVM.x, currentVM.y); + lastDrawnIndex = 0; + } + + for (index = 1; index < points.length; ++index) { + currentVM = points[index]._view; + previous = lastDrawnIndex === -1 ? helpers$1.previousItem(points, index) : points[lastDrawnIndex]; + + if (!currentVM.skip) { + if ((lastDrawnIndex !== (index - 1) && !spanGaps) || lastDrawnIndex === -1) { + // There was a gap and this is the first point after the gap + ctx.moveTo(currentVM.x, currentVM.y); + } else { + // Line to next point + helpers$1.canvas.lineTo(ctx, previous._view, currentVM); + } + lastDrawnIndex = index; + } + } + + if (closePath) { + ctx.closePath(); + } + + ctx.stroke(); + ctx.restore(); + } + }); + + var valueOrDefault$2 = helpers$1.valueOrDefault; + + var defaultColor$1 = core_defaults.global.defaultColor; + + core_defaults._set('global', { + elements: { + point: { + radius: 3, + pointStyle: 'circle', + backgroundColor: defaultColor$1, + borderColor: defaultColor$1, + borderWidth: 1, + // Hover + hitRadius: 1, + hoverRadius: 4, + hoverBorderWidth: 1 + } + } + }); + + function xRange(mouseX) { + var vm = this._view; + return vm ? (Math.abs(mouseX - vm.x) < vm.radius + vm.hitRadius) : false; + } + + function yRange(mouseY) { + var vm = this._view; + return vm ? (Math.abs(mouseY - vm.y) < vm.radius + vm.hitRadius) : false; + } + + var element_point = core_element.extend({ + _type: 'point', + + inRange: function(mouseX, mouseY) { + var vm = this._view; + return vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false; + }, + + inLabelRange: xRange, + inXRange: xRange, + inYRange: yRange, + + getCenterPoint: function() { + var vm = this._view; + return { + x: vm.x, + y: vm.y + }; + }, + + getArea: function() { + return Math.PI * Math.pow(this._view.radius, 2); + }, + + tooltipPosition: function() { + var vm = this._view; + return { + x: vm.x, + y: vm.y, + padding: vm.radius + vm.borderWidth + }; + }, + + draw: function(chartArea) { + var vm = this._view; + var ctx = this._chart.ctx; + var pointStyle = vm.pointStyle; + var rotation = vm.rotation; + var radius = vm.radius; + var x = vm.x; + var y = vm.y; + var globalDefaults = core_defaults.global; + var defaultColor = globalDefaults.defaultColor; // eslint-disable-line no-shadow + + if (vm.skip) { + return; + } + + // Clipping for Points. + if (chartArea === undefined || helpers$1.canvas._isPointInArea(vm, chartArea)) { + ctx.strokeStyle = vm.borderColor || defaultColor; + ctx.lineWidth = valueOrDefault$2(vm.borderWidth, globalDefaults.elements.point.borderWidth); + ctx.fillStyle = vm.backgroundColor || defaultColor; + helpers$1.canvas.drawPoint(ctx, pointStyle, radius, x, y, rotation); + } + } + }); + + var defaultColor$2 = core_defaults.global.defaultColor; + + core_defaults._set('global', { + elements: { + rectangle: { + backgroundColor: defaultColor$2, + borderColor: defaultColor$2, + borderSkipped: 'bottom', + borderWidth: 0 + } + } + }); + + function isVertical(vm) { + return vm && vm.width !== undefined; + } + + /** + * Helper function to get the bounds of the bar regardless of the orientation + * @param bar {Chart.Element.Rectangle} the bar + * @return {Bounds} bounds of the bar + * @private + */ + function getBarBounds(vm) { + var x1, x2, y1, y2, half; + + if (isVertical(vm)) { + half = vm.width / 2; + x1 = vm.x - half; + x2 = vm.x + half; + y1 = Math.min(vm.y, vm.base); + y2 = Math.max(vm.y, vm.base); + } else { + half = vm.height / 2; + x1 = Math.min(vm.x, vm.base); + x2 = Math.max(vm.x, vm.base); + y1 = vm.y - half; + y2 = vm.y + half; + } + + return { + left: x1, + top: y1, + right: x2, + bottom: y2 + }; + } + + function swap(orig, v1, v2) { + return orig === v1 ? v2 : orig === v2 ? v1 : orig; + } + + function parseBorderSkipped(vm) { + var edge = vm.borderSkipped; + var res = {}; + + if (!edge) { + return res; + } + + if (vm.horizontal) { + if (vm.base > vm.x) { + edge = swap(edge, 'left', 'right'); + } + } else if (vm.base < vm.y) { + edge = swap(edge, 'bottom', 'top'); + } + + res[edge] = true; + return res; + } + + function parseBorderWidth(vm, maxW, maxH) { + var value = vm.borderWidth; + var skip = parseBorderSkipped(vm); + var t, r, b, l; + + if (helpers$1.isObject(value)) { + t = +value.top || 0; + r = +value.right || 0; + b = +value.bottom || 0; + l = +value.left || 0; + } else { + t = r = b = l = +value || 0; + } + + return { + t: skip.top || (t < 0) ? 0 : t > maxH ? maxH : t, + r: skip.right || (r < 0) ? 0 : r > maxW ? maxW : r, + b: skip.bottom || (b < 0) ? 0 : b > maxH ? maxH : b, + l: skip.left || (l < 0) ? 0 : l > maxW ? maxW : l + }; + } + + function boundingRects(vm) { + var bounds = getBarBounds(vm); + var width = bounds.right - bounds.left; + var height = bounds.bottom - bounds.top; + var border = parseBorderWidth(vm, width / 2, height / 2); + + return { + outer: { + x: bounds.left, + y: bounds.top, + w: width, + h: height + }, + inner: { + x: bounds.left + border.l, + y: bounds.top + border.t, + w: width - border.l - border.r, + h: height - border.t - border.b + } + }; + } + + function inRange(vm, x, y) { + var skipX = x === null; + var skipY = y === null; + var bounds = !vm || (skipX && skipY) ? false : getBarBounds(vm); + + return bounds + && (skipX || x >= bounds.left && x <= bounds.right) + && (skipY || y >= bounds.top && y <= bounds.bottom); + } + + var element_rectangle = core_element.extend({ + _type: 'rectangle', + + draw: function() { + var ctx = this._chart.ctx; + var vm = this._view; + var rects = boundingRects(vm); + var outer = rects.outer; + var inner = rects.inner; + + ctx.fillStyle = vm.backgroundColor; + ctx.fillRect(outer.x, outer.y, outer.w, outer.h); + + if (outer.w === inner.w && outer.h === inner.h) { + return; + } + + ctx.save(); + ctx.beginPath(); + ctx.rect(outer.x, outer.y, outer.w, outer.h); + ctx.clip(); + ctx.fillStyle = vm.borderColor; + ctx.rect(inner.x, inner.y, inner.w, inner.h); + ctx.fill('evenodd'); + ctx.restore(); + }, + + height: function() { + var vm = this._view; + return vm.base - vm.y; + }, + + inRange: function(mouseX, mouseY) { + return inRange(this._view, mouseX, mouseY); + }, + + inLabelRange: function(mouseX, mouseY) { + var vm = this._view; + return isVertical(vm) + ? inRange(vm, mouseX, null) + : inRange(vm, null, mouseY); + }, + + inXRange: function(mouseX) { + return inRange(this._view, mouseX, null); + }, + + inYRange: function(mouseY) { + return inRange(this._view, null, mouseY); + }, + + getCenterPoint: function() { + var vm = this._view; + var x, y; + if (isVertical(vm)) { + x = vm.x; + y = (vm.y + vm.base) / 2; + } else { + x = (vm.x + vm.base) / 2; + y = vm.y; + } + + return {x: x, y: y}; + }, + + getArea: function() { + var vm = this._view; + + return isVertical(vm) + ? vm.width * Math.abs(vm.y - vm.base) + : vm.height * Math.abs(vm.x - vm.base); + }, + + tooltipPosition: function() { + var vm = this._view; + return { + x: vm.x, + y: vm.y + }; + } + }); + + var elements = {}; + var Arc = element_arc; + var Line = element_line; + var Point = element_point; + var Rectangle = element_rectangle; + elements.Arc = Arc; + elements.Line = Line; + elements.Point = Point; + elements.Rectangle = Rectangle; + + var deprecated = helpers$1._deprecated; + var valueOrDefault$3 = helpers$1.valueOrDefault; + + core_defaults._set('bar', { + hover: { + mode: 'label' + }, + + scales: { + xAxes: [{ + type: 'category', + offset: true, + gridLines: { + offsetGridLines: true + } + }], + + yAxes: [{ + type: 'linear' + }] + } + }); + + core_defaults._set('global', { + datasets: { + bar: { + categoryPercentage: 0.8, + barPercentage: 0.9 + } + } + }); + + /** + * Computes the "optimal" sample size to maintain bars equally sized while preventing overlap. + * @private + */ + function computeMinSampleSize(scale, pixels) { + var min = scale._length; + var prev, curr, i, ilen; + + for (i = 1, ilen = pixels.length; i < ilen; ++i) { + min = Math.min(min, Math.abs(pixels[i] - pixels[i - 1])); + } + + for (i = 0, ilen = scale.getTicks().length; i < ilen; ++i) { + curr = scale.getPixelForTick(i); + min = i > 0 ? Math.min(min, Math.abs(curr - prev)) : min; + prev = curr; + } + + return min; + } + + /** + * Computes an "ideal" category based on the absolute bar thickness or, if undefined or null, + * uses the smallest interval (see computeMinSampleSize) that prevents bar overlapping. This + * mode currently always generates bars equally sized (until we introduce scriptable options?). + * @private + */ + function computeFitCategoryTraits(index, ruler, options) { + var thickness = options.barThickness; + var count = ruler.stackCount; + var curr = ruler.pixels[index]; + var min = helpers$1.isNullOrUndef(thickness) + ? computeMinSampleSize(ruler.scale, ruler.pixels) + : -1; + var size, ratio; + + if (helpers$1.isNullOrUndef(thickness)) { + size = min * options.categoryPercentage; + ratio = options.barPercentage; + } else { + // When bar thickness is enforced, category and bar percentages are ignored. + // Note(SB): we could add support for relative bar thickness (e.g. barThickness: '50%') + // and deprecate barPercentage since this value is ignored when thickness is absolute. + size = thickness * count; + ratio = 1; + } + + return { + chunk: size / count, + ratio: ratio, + start: curr - (size / 2) + }; + } + + /** + * Computes an "optimal" category that globally arranges bars side by side (no gap when + * percentage options are 1), based on the previous and following categories. This mode + * generates bars with different widths when data are not evenly spaced. + * @private + */ + function computeFlexCategoryTraits(index, ruler, options) { + var pixels = ruler.pixels; + var curr = pixels[index]; + var prev = index > 0 ? pixels[index - 1] : null; + var next = index < pixels.length - 1 ? pixels[index + 1] : null; + var percent = options.categoryPercentage; + var start, size; + + if (prev === null) { + // first data: its size is double based on the next point or, + // if it's also the last data, we use the scale size. + prev = curr - (next === null ? ruler.end - ruler.start : next - curr); + } + + if (next === null) { + // last data: its size is also double based on the previous point. + next = curr + curr - prev; + } + + start = curr - (curr - Math.min(prev, next)) / 2 * percent; + size = Math.abs(next - prev) / 2 * percent; + + return { + chunk: size / ruler.stackCount, + ratio: options.barPercentage, + start: start + }; + } + + var controller_bar = core_datasetController.extend({ + + dataElementType: elements.Rectangle, + + /** + * @private + */ + _dataElementOptions: [ + 'backgroundColor', + 'borderColor', + 'borderSkipped', + 'borderWidth', + 'barPercentage', + 'barThickness', + 'categoryPercentage', + 'maxBarThickness', + 'minBarLength' + ], + + initialize: function() { + var me = this; + var meta, scaleOpts; + + core_datasetController.prototype.initialize.apply(me, arguments); + + meta = me.getMeta(); + meta.stack = me.getDataset().stack; + meta.bar = true; + + scaleOpts = me._getIndexScale().options; + deprecated('bar chart', scaleOpts.barPercentage, 'scales.[x/y]Axes.barPercentage', 'dataset.barPercentage'); + deprecated('bar chart', scaleOpts.barThickness, 'scales.[x/y]Axes.barThickness', 'dataset.barThickness'); + deprecated('bar chart', scaleOpts.categoryPercentage, 'scales.[x/y]Axes.categoryPercentage', 'dataset.categoryPercentage'); + deprecated('bar chart', me._getValueScale().options.minBarLength, 'scales.[x/y]Axes.minBarLength', 'dataset.minBarLength'); + deprecated('bar chart', scaleOpts.maxBarThickness, 'scales.[x/y]Axes.maxBarThickness', 'dataset.maxBarThickness'); + }, + + update: function(reset) { + var me = this; + var rects = me.getMeta().data; + var i, ilen; + + me._ruler = me.getRuler(); + + for (i = 0, ilen = rects.length; i < ilen; ++i) { + me.updateElement(rects[i], i, reset); + } + }, + + updateElement: function(rectangle, index, reset) { + var me = this; + var meta = me.getMeta(); + var dataset = me.getDataset(); + var options = me._resolveDataElementOptions(rectangle, index); + + rectangle._xScale = me.getScaleForId(meta.xAxisID); + rectangle._yScale = me.getScaleForId(meta.yAxisID); + rectangle._datasetIndex = me.index; + rectangle._index = index; + rectangle._model = { + backgroundColor: options.backgroundColor, + borderColor: options.borderColor, + borderSkipped: options.borderSkipped, + borderWidth: options.borderWidth, + datasetLabel: dataset.label, + label: me.chart.data.labels[index] + }; + + if (helpers$1.isArray(dataset.data[index])) { + rectangle._model.borderSkipped = null; + } + + me._updateElementGeometry(rectangle, index, reset, options); + + rectangle.pivot(); + }, + + /** + * @private + */ + _updateElementGeometry: function(rectangle, index, reset, options) { + var me = this; + var model = rectangle._model; + var vscale = me._getValueScale(); + var base = vscale.getBasePixel(); + var horizontal = vscale.isHorizontal(); + var ruler = me._ruler || me.getRuler(); + var vpixels = me.calculateBarValuePixels(me.index, index, options); + var ipixels = me.calculateBarIndexPixels(me.index, index, ruler, options); + + model.horizontal = horizontal; + model.base = reset ? base : vpixels.base; + model.x = horizontal ? reset ? base : vpixels.head : ipixels.center; + model.y = horizontal ? ipixels.center : reset ? base : vpixels.head; + model.height = horizontal ? ipixels.size : undefined; + model.width = horizontal ? undefined : ipixels.size; + }, + + /** + * Returns the stacks based on groups and bar visibility. + * @param {number} [last] - The dataset index + * @returns {string[]} The list of stack IDs + * @private + */ + _getStacks: function(last) { + var me = this; + var scale = me._getIndexScale(); + var metasets = scale._getMatchingVisibleMetas(me._type); + var stacked = scale.options.stacked; + var ilen = metasets.length; + var stacks = []; + var i, meta; + + for (i = 0; i < ilen; ++i) { + meta = metasets[i]; + // stacked | meta.stack + // | found | not found | undefined + // false | x | x | x + // true | | x | + // undefined | | x | x + if (stacked === false || stacks.indexOf(meta.stack) === -1 || + (stacked === undefined && meta.stack === undefined)) { + stacks.push(meta.stack); + } + if (meta.index === last) { + break; + } + } + + return stacks; + }, + + /** + * Returns the effective number of stacks based on groups and bar visibility. + * @private + */ + getStackCount: function() { + return this._getStacks().length; + }, + + /** + * Returns the stack index for the given dataset based on groups and bar visibility. + * @param {number} [datasetIndex] - The dataset index + * @param {string} [name] - The stack name to find + * @returns {number} The stack index + * @private + */ + getStackIndex: function(datasetIndex, name) { + var stacks = this._getStacks(datasetIndex); + var index = (name !== undefined) + ? stacks.indexOf(name) + : -1; // indexOf returns -1 if element is not present + + return (index === -1) + ? stacks.length - 1 + : index; + }, + + /** + * @private + */ + getRuler: function() { + var me = this; + var scale = me._getIndexScale(); + var pixels = []; + var i, ilen; + + for (i = 0, ilen = me.getMeta().data.length; i < ilen; ++i) { + pixels.push(scale.getPixelForValue(null, i, me.index)); + } + + return { + pixels: pixels, + start: scale._startPixel, + end: scale._endPixel, + stackCount: me.getStackCount(), + scale: scale + }; + }, + + /** + * Note: pixel values are not clamped to the scale area. + * @private + */ + calculateBarValuePixels: function(datasetIndex, index, options) { + var me = this; + var chart = me.chart; + var scale = me._getValueScale(); + var isHorizontal = scale.isHorizontal(); + var datasets = chart.data.datasets; + var metasets = scale._getMatchingVisibleMetas(me._type); + var value = scale._parseValue(datasets[datasetIndex].data[index]); + var minBarLength = options.minBarLength; + var stacked = scale.options.stacked; + var stack = me.getMeta().stack; + var start = value.start === undefined ? 0 : value.max >= 0 && value.min >= 0 ? value.min : value.max; + var length = value.start === undefined ? value.end : value.max >= 0 && value.min >= 0 ? value.max - value.min : value.min - value.max; + var ilen = metasets.length; + var i, imeta, ivalue, base, head, size, stackLength; + + if (stacked || (stacked === undefined && stack !== undefined)) { + for (i = 0; i < ilen; ++i) { + imeta = metasets[i]; + + if (imeta.index === datasetIndex) { + break; + } + + if (imeta.stack === stack) { + stackLength = scale._parseValue(datasets[imeta.index].data[index]); + ivalue = stackLength.start === undefined ? stackLength.end : stackLength.min >= 0 && stackLength.max >= 0 ? stackLength.max : stackLength.min; + + if ((value.min < 0 && ivalue < 0) || (value.max >= 0 && ivalue > 0)) { + start += ivalue; + } + } + } + } + + base = scale.getPixelForValue(start); + head = scale.getPixelForValue(start + length); + size = head - base; + + if (minBarLength !== undefined && Math.abs(size) < minBarLength) { + size = minBarLength; + if (length >= 0 && !isHorizontal || length < 0 && isHorizontal) { + head = base - minBarLength; + } else { + head = base + minBarLength; + } + } + + return { + size: size, + base: base, + head: head, + center: head + size / 2 + }; + }, + + /** + * @private + */ + calculateBarIndexPixels: function(datasetIndex, index, ruler, options) { + var me = this; + var range = options.barThickness === 'flex' + ? computeFlexCategoryTraits(index, ruler, options) + : computeFitCategoryTraits(index, ruler, options); + + var stackIndex = me.getStackIndex(datasetIndex, me.getMeta().stack); + var center = range.start + (range.chunk * stackIndex) + (range.chunk / 2); + var size = Math.min( + valueOrDefault$3(options.maxBarThickness, Infinity), + range.chunk * range.ratio); + + return { + base: center - size / 2, + head: center + size / 2, + center: center, + size: size + }; + }, + + draw: function() { + var me = this; + var chart = me.chart; + var scale = me._getValueScale(); + var rects = me.getMeta().data; + var dataset = me.getDataset(); + var ilen = rects.length; + var i = 0; + + helpers$1.canvas.clipArea(chart.ctx, chart.chartArea); + + for (; i < ilen; ++i) { + var val = scale._parseValue(dataset.data[i]); + if (!isNaN(val.min) && !isNaN(val.max)) { + rects[i].draw(); + } + } + + helpers$1.canvas.unclipArea(chart.ctx); + }, + + /** + * @private + */ + _resolveDataElementOptions: function() { + var me = this; + var values = helpers$1.extend({}, core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments)); + var indexOpts = me._getIndexScale().options; + var valueOpts = me._getValueScale().options; + + values.barPercentage = valueOrDefault$3(indexOpts.barPercentage, values.barPercentage); + values.barThickness = valueOrDefault$3(indexOpts.barThickness, values.barThickness); + values.categoryPercentage = valueOrDefault$3(indexOpts.categoryPercentage, values.categoryPercentage); + values.maxBarThickness = valueOrDefault$3(indexOpts.maxBarThickness, values.maxBarThickness); + values.minBarLength = valueOrDefault$3(valueOpts.minBarLength, values.minBarLength); + + return values; + } + + }); + + var valueOrDefault$4 = helpers$1.valueOrDefault; + var resolve$1 = helpers$1.options.resolve; + + core_defaults._set('bubble', { + hover: { + mode: 'single' + }, + + scales: { + xAxes: [{ + type: 'linear', // bubble should probably use a linear scale by default + position: 'bottom', + id: 'x-axis-0' // need an ID so datasets can reference the scale + }], + yAxes: [{ + type: 'linear', + position: 'left', + id: 'y-axis-0' + }] + }, + + tooltips: { + callbacks: { + title: function() { + // Title doesn't make sense for scatter since we format the data as a point + return ''; + }, + label: function(item, data) { + var datasetLabel = data.datasets[item.datasetIndex].label || ''; + var dataPoint = data.datasets[item.datasetIndex].data[item.index]; + return datasetLabel + ': (' + item.xLabel + ', ' + item.yLabel + ', ' + dataPoint.r + ')'; + } + } + } + }); + + var controller_bubble = core_datasetController.extend({ + /** + * @protected + */ + dataElementType: elements.Point, + + /** + * @private + */ + _dataElementOptions: [ + 'backgroundColor', + 'borderColor', + 'borderWidth', + 'hoverBackgroundColor', + 'hoverBorderColor', + 'hoverBorderWidth', + 'hoverRadius', + 'hitRadius', + 'pointStyle', + 'rotation' + ], + + /** + * @protected + */ + update: function(reset) { + var me = this; + var meta = me.getMeta(); + var points = meta.data; + + // Update Points + helpers$1.each(points, function(point, index) { + me.updateElement(point, index, reset); + }); + }, + + /** + * @protected + */ + updateElement: function(point, index, reset) { + var me = this; + var meta = me.getMeta(); + var custom = point.custom || {}; + var xScale = me.getScaleForId(meta.xAxisID); + var yScale = me.getScaleForId(meta.yAxisID); + var options = me._resolveDataElementOptions(point, index); + var data = me.getDataset().data[index]; + var dsIndex = me.index; + + var x = reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(typeof data === 'object' ? data : NaN, index, dsIndex); + var y = reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex); + + point._xScale = xScale; + point._yScale = yScale; + point._options = options; + point._datasetIndex = dsIndex; + point._index = index; + point._model = { + backgroundColor: options.backgroundColor, + borderColor: options.borderColor, + borderWidth: options.borderWidth, + hitRadius: options.hitRadius, + pointStyle: options.pointStyle, + rotation: options.rotation, + radius: reset ? 0 : options.radius, + skip: custom.skip || isNaN(x) || isNaN(y), + x: x, + y: y, + }; + + point.pivot(); + }, + + /** + * @protected + */ + setHoverStyle: function(point) { + var model = point._model; + var options = point._options; + var getHoverColor = helpers$1.getHoverColor; + + point.$previousStyle = { + backgroundColor: model.backgroundColor, + borderColor: model.borderColor, + borderWidth: model.borderWidth, + radius: model.radius + }; + + model.backgroundColor = valueOrDefault$4(options.hoverBackgroundColor, getHoverColor(options.backgroundColor)); + model.borderColor = valueOrDefault$4(options.hoverBorderColor, getHoverColor(options.borderColor)); + model.borderWidth = valueOrDefault$4(options.hoverBorderWidth, options.borderWidth); + model.radius = options.radius + options.hoverRadius; + }, + + /** + * @private + */ + _resolveDataElementOptions: function(point, index) { + var me = this; + var chart = me.chart; + var dataset = me.getDataset(); + var custom = point.custom || {}; + var data = dataset.data[index] || {}; + var values = core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments); + + // Scriptable options + var context = { + chart: chart, + dataIndex: index, + dataset: dataset, + datasetIndex: me.index + }; + + // In case values were cached (and thus frozen), we need to clone the values + if (me._cachedDataOpts === values) { + values = helpers$1.extend({}, values); + } + + // Custom radius resolution + values.radius = resolve$1([ + custom.radius, + data.r, + me._config.radius, + chart.options.elements.point.radius + ], context, index); + + return values; + } + }); + + var valueOrDefault$5 = helpers$1.valueOrDefault; + + var PI$1 = Math.PI; + var DOUBLE_PI$1 = PI$1 * 2; + var HALF_PI$1 = PI$1 / 2; + + core_defaults._set('doughnut', { + animation: { + // Boolean - Whether we animate the rotation of the Doughnut + animateRotate: true, + // Boolean - Whether we animate scaling the Doughnut from the centre + animateScale: false + }, + hover: { + mode: 'single' + }, + legendCallback: function(chart) { + var list = document.createElement('ul'); + var data = chart.data; + var datasets = data.datasets; + var labels = data.labels; + var i, ilen, listItem, listItemSpan; + + list.setAttribute('class', chart.id + '-legend'); + if (datasets.length) { + for (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) { + listItem = list.appendChild(document.createElement('li')); + listItemSpan = listItem.appendChild(document.createElement('span')); + listItemSpan.style.backgroundColor = datasets[0].backgroundColor[i]; + if (labels[i]) { + listItem.appendChild(document.createTextNode(labels[i])); + } + } + } + + return list.outerHTML; + }, + legend: { + labels: { + generateLabels: function(chart) { + var data = chart.data; + if (data.labels.length && data.datasets.length) { + return data.labels.map(function(label, i) { + var meta = chart.getDatasetMeta(0); + var style = meta.controller.getStyle(i); + + return { + text: label, + fillStyle: style.backgroundColor, + strokeStyle: style.borderColor, + lineWidth: style.borderWidth, + hidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden, + + // Extra data used for toggling the correct item + index: i + }; + }); + } + return []; + } + }, + + onClick: function(e, legendItem) { + var index = legendItem.index; + var chart = this.chart; + var i, ilen, meta; + + for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) { + meta = chart.getDatasetMeta(i); + // toggle visibility of index if exists + if (meta.data[index]) { + meta.data[index].hidden = !meta.data[index].hidden; + } + } + + chart.update(); + } + }, + + // The percentage of the chart that we cut out of the middle. + cutoutPercentage: 50, + + // The rotation of the chart, where the first data arc begins. + rotation: -HALF_PI$1, + + // The total circumference of the chart. + circumference: DOUBLE_PI$1, + + // Need to override these to give a nice default + tooltips: { + callbacks: { + title: function() { + return ''; + }, + label: function(tooltipItem, data) { + var dataLabel = data.labels[tooltipItem.index]; + var value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index]; + + if (helpers$1.isArray(dataLabel)) { + // show value on first line of multiline label + // need to clone because we are changing the value + dataLabel = dataLabel.slice(); + dataLabel[0] += value; + } else { + dataLabel += value; + } + + return dataLabel; + } + } + } + }); + + var controller_doughnut = core_datasetController.extend({ + + dataElementType: elements.Arc, + + linkScales: helpers$1.noop, + + /** + * @private + */ + _dataElementOptions: [ + 'backgroundColor', + 'borderColor', + 'borderWidth', + 'borderAlign', + 'hoverBackgroundColor', + 'hoverBorderColor', + 'hoverBorderWidth', + ], + + // Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly + getRingIndex: function(datasetIndex) { + var ringIndex = 0; + + for (var j = 0; j < datasetIndex; ++j) { + if (this.chart.isDatasetVisible(j)) { + ++ringIndex; + } + } + + return ringIndex; + }, + + update: function(reset) { + var me = this; + var chart = me.chart; + var chartArea = chart.chartArea; + var opts = chart.options; + var ratioX = 1; + var ratioY = 1; + var offsetX = 0; + var offsetY = 0; + var meta = me.getMeta(); + var arcs = meta.data; + var cutout = opts.cutoutPercentage / 100 || 0; + var circumference = opts.circumference; + var chartWeight = me._getRingWeight(me.index); + var maxWidth, maxHeight, i, ilen; + + // If the chart's circumference isn't a full circle, calculate size as a ratio of the width/height of the arc + if (circumference < DOUBLE_PI$1) { + var startAngle = opts.rotation % DOUBLE_PI$1; + startAngle += startAngle >= PI$1 ? -DOUBLE_PI$1 : startAngle < -PI$1 ? DOUBLE_PI$1 : 0; + var endAngle = startAngle + circumference; + var startX = Math.cos(startAngle); + var startY = Math.sin(startAngle); + var endX = Math.cos(endAngle); + var endY = Math.sin(endAngle); + var contains0 = (startAngle <= 0 && endAngle >= 0) || endAngle >= DOUBLE_PI$1; + var contains90 = (startAngle <= HALF_PI$1 && endAngle >= HALF_PI$1) || endAngle >= DOUBLE_PI$1 + HALF_PI$1; + var contains180 = startAngle === -PI$1 || endAngle >= PI$1; + var contains270 = (startAngle <= -HALF_PI$1 && endAngle >= -HALF_PI$1) || endAngle >= PI$1 + HALF_PI$1; + var minX = contains180 ? -1 : Math.min(startX, startX * cutout, endX, endX * cutout); + var minY = contains270 ? -1 : Math.min(startY, startY * cutout, endY, endY * cutout); + var maxX = contains0 ? 1 : Math.max(startX, startX * cutout, endX, endX * cutout); + var maxY = contains90 ? 1 : Math.max(startY, startY * cutout, endY, endY * cutout); + ratioX = (maxX - minX) / 2; + ratioY = (maxY - minY) / 2; + offsetX = -(maxX + minX) / 2; + offsetY = -(maxY + minY) / 2; + } + + for (i = 0, ilen = arcs.length; i < ilen; ++i) { + arcs[i]._options = me._resolveDataElementOptions(arcs[i], i); + } + + chart.borderWidth = me.getMaxBorderWidth(); + maxWidth = (chartArea.right - chartArea.left - chart.borderWidth) / ratioX; + maxHeight = (chartArea.bottom - chartArea.top - chart.borderWidth) / ratioY; + chart.outerRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0); + chart.innerRadius = Math.max(chart.outerRadius * cutout, 0); + chart.radiusLength = (chart.outerRadius - chart.innerRadius) / (me._getVisibleDatasetWeightTotal() || 1); + chart.offsetX = offsetX * chart.outerRadius; + chart.offsetY = offsetY * chart.outerRadius; + + meta.total = me.calculateTotal(); + + me.outerRadius = chart.outerRadius - chart.radiusLength * me._getRingWeightOffset(me.index); + me.innerRadius = Math.max(me.outerRadius - chart.radiusLength * chartWeight, 0); + + for (i = 0, ilen = arcs.length; i < ilen; ++i) { + me.updateElement(arcs[i], i, reset); + } + }, + + updateElement: function(arc, index, reset) { + var me = this; + var chart = me.chart; + var chartArea = chart.chartArea; + var opts = chart.options; + var animationOpts = opts.animation; + var centerX = (chartArea.left + chartArea.right) / 2; + var centerY = (chartArea.top + chartArea.bottom) / 2; + var startAngle = opts.rotation; // non reset case handled later + var endAngle = opts.rotation; // non reset case handled later + var dataset = me.getDataset(); + var circumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / DOUBLE_PI$1); + var innerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius; + var outerRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius; + var options = arc._options || {}; + + helpers$1.extend(arc, { + // Utility + _datasetIndex: me.index, + _index: index, + + // Desired view properties + _model: { + backgroundColor: options.backgroundColor, + borderColor: options.borderColor, + borderWidth: options.borderWidth, + borderAlign: options.borderAlign, + x: centerX + chart.offsetX, + y: centerY + chart.offsetY, + startAngle: startAngle, + endAngle: endAngle, + circumference: circumference, + outerRadius: outerRadius, + innerRadius: innerRadius, + label: helpers$1.valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index]) + } + }); + + var model = arc._model; + + // Set correct angles if not resetting + if (!reset || !animationOpts.animateRotate) { + if (index === 0) { + model.startAngle = opts.rotation; + } else { + model.startAngle = me.getMeta().data[index - 1]._model.endAngle; + } + + model.endAngle = model.startAngle + model.circumference; + } + + arc.pivot(); + }, + + calculateTotal: function() { + var dataset = this.getDataset(); + var meta = this.getMeta(); + var total = 0; + var value; + + helpers$1.each(meta.data, function(element, index) { + value = dataset.data[index]; + if (!isNaN(value) && !element.hidden) { + total += Math.abs(value); + } + }); + + /* if (total === 0) { + total = NaN; + }*/ + + return total; + }, + + calculateCircumference: function(value) { + var total = this.getMeta().total; + if (total > 0 && !isNaN(value)) { + return DOUBLE_PI$1 * (Math.abs(value) / total); + } + return 0; + }, + + // gets the max border or hover width to properly scale pie charts + getMaxBorderWidth: function(arcs) { + var me = this; + var max = 0; + var chart = me.chart; + var i, ilen, meta, arc, controller, options, borderWidth, hoverWidth; + + if (!arcs) { + // Find the outmost visible dataset + for (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) { + if (chart.isDatasetVisible(i)) { + meta = chart.getDatasetMeta(i); + arcs = meta.data; + if (i !== me.index) { + controller = meta.controller; + } + break; + } + } + } + + if (!arcs) { + return 0; + } + + for (i = 0, ilen = arcs.length; i < ilen; ++i) { + arc = arcs[i]; + if (controller) { + controller._configure(); + options = controller._resolveDataElementOptions(arc, i); + } else { + options = arc._options; + } + if (options.borderAlign !== 'inner') { + borderWidth = options.borderWidth; + hoverWidth = options.hoverBorderWidth; + + max = borderWidth > max ? borderWidth : max; + max = hoverWidth > max ? hoverWidth : max; + } + } + return max; + }, + + /** + * @protected + */ + setHoverStyle: function(arc) { + var model = arc._model; + var options = arc._options; + var getHoverColor = helpers$1.getHoverColor; + + arc.$previousStyle = { + backgroundColor: model.backgroundColor, + borderColor: model.borderColor, + borderWidth: model.borderWidth, + }; + + model.backgroundColor = valueOrDefault$5(options.hoverBackgroundColor, getHoverColor(options.backgroundColor)); + model.borderColor = valueOrDefault$5(options.hoverBorderColor, getHoverColor(options.borderColor)); + model.borderWidth = valueOrDefault$5(options.hoverBorderWidth, options.borderWidth); + }, + + /** + * Get radius length offset of the dataset in relation to the visible datasets weights. This allows determining the inner and outer radius correctly + * @private + */ + _getRingWeightOffset: function(datasetIndex) { + var ringWeightOffset = 0; + + for (var i = 0; i < datasetIndex; ++i) { + if (this.chart.isDatasetVisible(i)) { + ringWeightOffset += this._getRingWeight(i); + } + } + + return ringWeightOffset; + }, + + /** + * @private + */ + _getRingWeight: function(dataSetIndex) { + return Math.max(valueOrDefault$5(this.chart.data.datasets[dataSetIndex].weight, 1), 0); + }, + + /** + * Returns the sum of all visibile data set weights. This value can be 0. + * @private + */ + _getVisibleDatasetWeightTotal: function() { + return this._getRingWeightOffset(this.chart.data.datasets.length); + } + }); + + core_defaults._set('horizontalBar', { + hover: { + mode: 'index', + axis: 'y' + }, + + scales: { + xAxes: [{ + type: 'linear', + position: 'bottom' + }], + + yAxes: [{ + type: 'category', + position: 'left', + offset: true, + gridLines: { + offsetGridLines: true + } + }] + }, + + elements: { + rectangle: { + borderSkipped: 'left' + } + }, + + tooltips: { + mode: 'index', + axis: 'y' + } + }); + + core_defaults._set('global', { + datasets: { + horizontalBar: { + categoryPercentage: 0.8, + barPercentage: 0.9 + } + } + }); + + var controller_horizontalBar = controller_bar.extend({ + /** + * @private + */ + _getValueScaleId: function() { + return this.getMeta().xAxisID; + }, + + /** + * @private + */ + _getIndexScaleId: function() { + return this.getMeta().yAxisID; + } + }); + + var valueOrDefault$6 = helpers$1.valueOrDefault; + var resolve$2 = helpers$1.options.resolve; + var isPointInArea = helpers$1.canvas._isPointInArea; + + core_defaults._set('line', { + showLines: true, + spanGaps: false, + + hover: { + mode: 'label' + }, + + scales: { + xAxes: [{ + type: 'category', + id: 'x-axis-0' + }], + yAxes: [{ + type: 'linear', + id: 'y-axis-0' + }] + } + }); + + function scaleClip(scale, halfBorderWidth) { + var tickOpts = scale && scale.options.ticks || {}; + var reverse = tickOpts.reverse; + var min = tickOpts.min === undefined ? halfBorderWidth : 0; + var max = tickOpts.max === undefined ? halfBorderWidth : 0; + return { + start: reverse ? max : min, + end: reverse ? min : max + }; + } + + function defaultClip(xScale, yScale, borderWidth) { + var halfBorderWidth = borderWidth / 2; + var x = scaleClip(xScale, halfBorderWidth); + var y = scaleClip(yScale, halfBorderWidth); + + return { + top: y.end, + right: x.end, + bottom: y.start, + left: x.start + }; + } + + function toClip(value) { + var t, r, b, l; + + if (helpers$1.isObject(value)) { + t = value.top; + r = value.right; + b = value.bottom; + l = value.left; + } else { + t = r = b = l = value; + } + + return { + top: t, + right: r, + bottom: b, + left: l + }; + } + + + var controller_line = core_datasetController.extend({ + + datasetElementType: elements.Line, + + dataElementType: elements.Point, + + /** + * @private + */ + _datasetElementOptions: [ + 'backgroundColor', + 'borderCapStyle', + 'borderColor', + 'borderDash', + 'borderDashOffset', + 'borderJoinStyle', + 'borderWidth', + 'cubicInterpolationMode', + 'fill' + ], + + /** + * @private + */ + _dataElementOptions: { + backgroundColor: 'pointBackgroundColor', + borderColor: 'pointBorderColor', + borderWidth: 'pointBorderWidth', + hitRadius: 'pointHitRadius', + hoverBackgroundColor: 'pointHoverBackgroundColor', + hoverBorderColor: 'pointHoverBorderColor', + hoverBorderWidth: 'pointHoverBorderWidth', + hoverRadius: 'pointHoverRadius', + pointStyle: 'pointStyle', + radius: 'pointRadius', + rotation: 'pointRotation' + }, + + update: function(reset) { + var me = this; + var meta = me.getMeta(); + var line = meta.dataset; + var points = meta.data || []; + var options = me.chart.options; + var config = me._config; + var showLine = me._showLine = valueOrDefault$6(config.showLine, options.showLines); + var i, ilen; + + me._xScale = me.getScaleForId(meta.xAxisID); + me._yScale = me.getScaleForId(meta.yAxisID); + + // Update Line + if (showLine) { + // Compatibility: If the properties are defined with only the old name, use those values + if (config.tension !== undefined && config.lineTension === undefined) { + config.lineTension = config.tension; + } + + // Utility + line._scale = me._yScale; + line._datasetIndex = me.index; + // Data + line._children = points; + // Model + line._model = me._resolveDatasetElementOptions(line); + + line.pivot(); + } + + // Update Points + for (i = 0, ilen = points.length; i < ilen; ++i) { + me.updateElement(points[i], i, reset); + } + + if (showLine && line._model.tension !== 0) { + me.updateBezierControlPoints(); + } + + // Now pivot the point for animation + for (i = 0, ilen = points.length; i < ilen; ++i) { + points[i].pivot(); + } + }, + + updateElement: function(point, index, reset) { + var me = this; + var meta = me.getMeta(); + var custom = point.custom || {}; + var dataset = me.getDataset(); + var datasetIndex = me.index; + var value = dataset.data[index]; + var xScale = me._xScale; + var yScale = me._yScale; + var lineModel = meta.dataset._model; + var x, y; + + var options = me._resolveDataElementOptions(point, index); + + x = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex); + y = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex); + + // Utility + point._xScale = xScale; + point._yScale = yScale; + point._options = options; + point._datasetIndex = datasetIndex; + point._index = index; + + // Desired view properties + point._model = { + x: x, + y: y, + skip: custom.skip || isNaN(x) || isNaN(y), + // Appearance + radius: options.radius, + pointStyle: options.pointStyle, + rotation: options.rotation, + backgroundColor: options.backgroundColor, + borderColor: options.borderColor, + borderWidth: options.borderWidth, + tension: valueOrDefault$6(custom.tension, lineModel ? lineModel.tension : 0), + steppedLine: lineModel ? lineModel.steppedLine : false, + // Tooltip + hitRadius: options.hitRadius + }; + }, + + /** + * @private + */ + _resolveDatasetElementOptions: function(element) { + var me = this; + var config = me._config; + var custom = element.custom || {}; + var options = me.chart.options; + var lineOptions = options.elements.line; + var values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments); + + // The default behavior of lines is to break at null values, according + // to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158 + // This option gives lines the ability to span gaps + values.spanGaps = valueOrDefault$6(config.spanGaps, options.spanGaps); + values.tension = valueOrDefault$6(config.lineTension, lineOptions.tension); + values.steppedLine = resolve$2([custom.steppedLine, config.steppedLine, lineOptions.stepped]); + values.clip = toClip(valueOrDefault$6(config.clip, defaultClip(me._xScale, me._yScale, values.borderWidth))); + + return values; + }, + + calculatePointY: function(value, index, datasetIndex) { + var me = this; + var chart = me.chart; + var yScale = me._yScale; + var sumPos = 0; + var sumNeg = 0; + var i, ds, dsMeta, stackedRightValue, rightValue, metasets, ilen; + + if (yScale.options.stacked) { + rightValue = +yScale.getRightValue(value); + metasets = chart._getSortedVisibleDatasetMetas(); + ilen = metasets.length; + + for (i = 0; i < ilen; ++i) { + dsMeta = metasets[i]; + if (dsMeta.index === datasetIndex) { + break; + } + + ds = chart.data.datasets[dsMeta.index]; + if (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id) { + stackedRightValue = +yScale.getRightValue(ds.data[index]); + if (stackedRightValue < 0) { + sumNeg += stackedRightValue || 0; + } else { + sumPos += stackedRightValue || 0; + } + } + } + + if (rightValue < 0) { + return yScale.getPixelForValue(sumNeg + rightValue); + } + return yScale.getPixelForValue(sumPos + rightValue); + } + return yScale.getPixelForValue(value); + }, + + updateBezierControlPoints: function() { + var me = this; + var chart = me.chart; + var meta = me.getMeta(); + var lineModel = meta.dataset._model; + var area = chart.chartArea; + var points = meta.data || []; + var i, ilen, model, controlPoints; + + // Only consider points that are drawn in case the spanGaps option is used + if (lineModel.spanGaps) { + points = points.filter(function(pt) { + return !pt._model.skip; + }); + } + + function capControlPoint(pt, min, max) { + return Math.max(Math.min(pt, max), min); + } + + if (lineModel.cubicInterpolationMode === 'monotone') { + helpers$1.splineCurveMonotone(points); + } else { + for (i = 0, ilen = points.length; i < ilen; ++i) { + model = points[i]._model; + controlPoints = helpers$1.splineCurve( + helpers$1.previousItem(points, i)._model, + model, + helpers$1.nextItem(points, i)._model, + lineModel.tension + ); + model.controlPointPreviousX = controlPoints.previous.x; + model.controlPointPreviousY = controlPoints.previous.y; + model.controlPointNextX = controlPoints.next.x; + model.controlPointNextY = controlPoints.next.y; + } + } + + if (chart.options.elements.line.capBezierPoints) { + for (i = 0, ilen = points.length; i < ilen; ++i) { + model = points[i]._model; + if (isPointInArea(model, area)) { + if (i > 0 && isPointInArea(points[i - 1]._model, area)) { + model.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right); + model.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom); + } + if (i < points.length - 1 && isPointInArea(points[i + 1]._model, area)) { + model.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right); + model.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom); + } + } + } + } + }, + + draw: function() { + var me = this; + var chart = me.chart; + var meta = me.getMeta(); + var points = meta.data || []; + var area = chart.chartArea; + var canvas = chart.canvas; + var i = 0; + var ilen = points.length; + var clip; + + if (me._showLine) { + clip = meta.dataset._model.clip; + + helpers$1.canvas.clipArea(chart.ctx, { + left: clip.left === false ? 0 : area.left - clip.left, + right: clip.right === false ? canvas.width : area.right + clip.right, + top: clip.top === false ? 0 : area.top - clip.top, + bottom: clip.bottom === false ? canvas.height : area.bottom + clip.bottom + }); + + meta.dataset.draw(); + + helpers$1.canvas.unclipArea(chart.ctx); + } + + // Draw the points + for (; i < ilen; ++i) { + points[i].draw(area); + } + }, + + /** + * @protected + */ + setHoverStyle: function(point) { + var model = point._model; + var options = point._options; + var getHoverColor = helpers$1.getHoverColor; + + point.$previousStyle = { + backgroundColor: model.backgroundColor, + borderColor: model.borderColor, + borderWidth: model.borderWidth, + radius: model.radius + }; + + model.backgroundColor = valueOrDefault$6(options.hoverBackgroundColor, getHoverColor(options.backgroundColor)); + model.borderColor = valueOrDefault$6(options.hoverBorderColor, getHoverColor(options.borderColor)); + model.borderWidth = valueOrDefault$6(options.hoverBorderWidth, options.borderWidth); + model.radius = valueOrDefault$6(options.hoverRadius, options.radius); + }, + }); + + var resolve$3 = helpers$1.options.resolve; + + core_defaults._set('polarArea', { + scale: { + type: 'radialLinear', + angleLines: { + display: false + }, + gridLines: { + circular: true + }, + pointLabels: { + display: false + }, + ticks: { + beginAtZero: true + } + }, + + // Boolean - Whether to animate the rotation of the chart + animation: { + animateRotate: true, + animateScale: true + }, + + startAngle: -0.5 * Math.PI, + legendCallback: function(chart) { + var list = document.createElement('ul'); + var data = chart.data; + var datasets = data.datasets; + var labels = data.labels; + var i, ilen, listItem, listItemSpan; + + list.setAttribute('class', chart.id + '-legend'); + if (datasets.length) { + for (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) { + listItem = list.appendChild(document.createElement('li')); + listItemSpan = listItem.appendChild(document.createElement('span')); + listItemSpan.style.backgroundColor = datasets[0].backgroundColor[i]; + if (labels[i]) { + listItem.appendChild(document.createTextNode(labels[i])); + } + } + } + + return list.outerHTML; + }, + legend: { + labels: { + generateLabels: function(chart) { + var data = chart.data; + if (data.labels.length && data.datasets.length) { + return data.labels.map(function(label, i) { + var meta = chart.getDatasetMeta(0); + var style = meta.controller.getStyle(i); + + return { + text: label, + fillStyle: style.backgroundColor, + strokeStyle: style.borderColor, + lineWidth: style.borderWidth, + hidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden, + + // Extra data used for toggling the correct item + index: i + }; + }); + } + return []; + } + }, + + onClick: function(e, legendItem) { + var index = legendItem.index; + var chart = this.chart; + var i, ilen, meta; + + for (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) { + meta = chart.getDatasetMeta(i); + meta.data[index].hidden = !meta.data[index].hidden; + } + + chart.update(); + } + }, + + // Need to override these to give a nice default + tooltips: { + callbacks: { + title: function() { + return ''; + }, + label: function(item, data) { + return data.labels[item.index] + ': ' + item.yLabel; + } + } + } + }); + + var controller_polarArea = core_datasetController.extend({ + + dataElementType: elements.Arc, + + linkScales: helpers$1.noop, + + /** + * @private + */ + _dataElementOptions: [ + 'backgroundColor', + 'borderColor', + 'borderWidth', + 'borderAlign', + 'hoverBackgroundColor', + 'hoverBorderColor', + 'hoverBorderWidth', + ], + + /** + * @private + */ + _getIndexScaleId: function() { + return this.chart.scale.id; + }, + + /** + * @private + */ + _getValueScaleId: function() { + return this.chart.scale.id; + }, + + update: function(reset) { + var me = this; + var dataset = me.getDataset(); + var meta = me.getMeta(); + var start = me.chart.options.startAngle || 0; + var starts = me._starts = []; + var angles = me._angles = []; + var arcs = meta.data; + var i, ilen, angle; + + me._updateRadius(); + + meta.count = me.countVisibleElements(); + + for (i = 0, ilen = dataset.data.length; i < ilen; i++) { + starts[i] = start; + angle = me._computeAngle(i); + angles[i] = angle; + start += angle; + } + + for (i = 0, ilen = arcs.length; i < ilen; ++i) { + arcs[i]._options = me._resolveDataElementOptions(arcs[i], i); + me.updateElement(arcs[i], i, reset); + } + }, + + /** + * @private + */ + _updateRadius: function() { + var me = this; + var chart = me.chart; + var chartArea = chart.chartArea; + var opts = chart.options; + var minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top); + + chart.outerRadius = Math.max(minSize / 2, 0); + chart.innerRadius = Math.max(opts.cutoutPercentage ? (chart.outerRadius / 100) * (opts.cutoutPercentage) : 1, 0); + chart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount(); + + me.outerRadius = chart.outerRadius - (chart.radiusLength * me.index); + me.innerRadius = me.outerRadius - chart.radiusLength; + }, + + updateElement: function(arc, index, reset) { + var me = this; + var chart = me.chart; + var dataset = me.getDataset(); + var opts = chart.options; + var animationOpts = opts.animation; + var scale = chart.scale; + var labels = chart.data.labels; + + var centerX = scale.xCenter; + var centerY = scale.yCenter; + + // var negHalfPI = -0.5 * Math.PI; + var datasetStartAngle = opts.startAngle; + var distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]); + var startAngle = me._starts[index]; + var endAngle = startAngle + (arc.hidden ? 0 : me._angles[index]); + + var resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]); + var options = arc._options || {}; + + helpers$1.extend(arc, { + // Utility + _datasetIndex: me.index, + _index: index, + _scale: scale, + + // Desired view properties + _model: { + backgroundColor: options.backgroundColor, + borderColor: options.borderColor, + borderWidth: options.borderWidth, + borderAlign: options.borderAlign, + x: centerX, + y: centerY, + innerRadius: 0, + outerRadius: reset ? resetRadius : distance, + startAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle, + endAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle, + label: helpers$1.valueAtIndexOrDefault(labels, index, labels[index]) + } + }); + + arc.pivot(); + }, + + countVisibleElements: function() { + var dataset = this.getDataset(); + var meta = this.getMeta(); + var count = 0; + + helpers$1.each(meta.data, function(element, index) { + if (!isNaN(dataset.data[index]) && !element.hidden) { + count++; + } + }); + + return count; + }, + + /** + * @protected + */ + setHoverStyle: function(arc) { + var model = arc._model; + var options = arc._options; + var getHoverColor = helpers$1.getHoverColor; + var valueOrDefault = helpers$1.valueOrDefault; + + arc.$previousStyle = { + backgroundColor: model.backgroundColor, + borderColor: model.borderColor, + borderWidth: model.borderWidth, + }; + + model.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor)); + model.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor)); + model.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth); + }, + + /** + * @private + */ + _computeAngle: function(index) { + var me = this; + var count = this.getMeta().count; + var dataset = me.getDataset(); + var meta = me.getMeta(); + + if (isNaN(dataset.data[index]) || meta.data[index].hidden) { + return 0; + } + + // Scriptable options + var context = { + chart: me.chart, + dataIndex: index, + dataset: dataset, + datasetIndex: me.index + }; + + return resolve$3([ + me.chart.options.elements.arc.angle, + (2 * Math.PI) / count + ], context, index); + } + }); + + core_defaults._set('pie', helpers$1.clone(core_defaults.doughnut)); + core_defaults._set('pie', { + cutoutPercentage: 0 + }); + + // Pie charts are Doughnut chart with different defaults + var controller_pie = controller_doughnut; + + var valueOrDefault$7 = helpers$1.valueOrDefault; + + core_defaults._set('radar', { + spanGaps: false, + scale: { + type: 'radialLinear' + }, + elements: { + line: { + fill: 'start', + tension: 0 // no bezier in radar + } + } + }); + + var controller_radar = core_datasetController.extend({ + datasetElementType: elements.Line, + + dataElementType: elements.Point, + + linkScales: helpers$1.noop, + + /** + * @private + */ + _datasetElementOptions: [ + 'backgroundColor', + 'borderWidth', + 'borderColor', + 'borderCapStyle', + 'borderDash', + 'borderDashOffset', + 'borderJoinStyle', + 'fill' + ], + + /** + * @private + */ + _dataElementOptions: { + backgroundColor: 'pointBackgroundColor', + borderColor: 'pointBorderColor', + borderWidth: 'pointBorderWidth', + hitRadius: 'pointHitRadius', + hoverBackgroundColor: 'pointHoverBackgroundColor', + hoverBorderColor: 'pointHoverBorderColor', + hoverBorderWidth: 'pointHoverBorderWidth', + hoverRadius: 'pointHoverRadius', + pointStyle: 'pointStyle', + radius: 'pointRadius', + rotation: 'pointRotation' + }, + + /** + * @private + */ + _getIndexScaleId: function() { + return this.chart.scale.id; + }, + + /** + * @private + */ + _getValueScaleId: function() { + return this.chart.scale.id; + }, + + update: function(reset) { + var me = this; + var meta = me.getMeta(); + var line = meta.dataset; + var points = meta.data || []; + var scale = me.chart.scale; + var config = me._config; + var i, ilen; + + // Compatibility: If the properties are defined with only the old name, use those values + if (config.tension !== undefined && config.lineTension === undefined) { + config.lineTension = config.tension; + } + + // Utility + line._scale = scale; + line._datasetIndex = me.index; + // Data + line._children = points; + line._loop = true; + // Model + line._model = me._resolveDatasetElementOptions(line); + + line.pivot(); + + // Update Points + for (i = 0, ilen = points.length; i < ilen; ++i) { + me.updateElement(points[i], i, reset); + } + + // Update bezier control points + me.updateBezierControlPoints(); + + // Now pivot the point for animation + for (i = 0, ilen = points.length; i < ilen; ++i) { + points[i].pivot(); + } + }, + + updateElement: function(point, index, reset) { + var me = this; + var custom = point.custom || {}; + var dataset = me.getDataset(); + var scale = me.chart.scale; + var pointPosition = scale.getPointPositionForValue(index, dataset.data[index]); + var options = me._resolveDataElementOptions(point, index); + var lineModel = me.getMeta().dataset._model; + var x = reset ? scale.xCenter : pointPosition.x; + var y = reset ? scale.yCenter : pointPosition.y; + + // Utility + point._scale = scale; + point._options = options; + point._datasetIndex = me.index; + point._index = index; + + // Desired view properties + point._model = { + x: x, // value not used in dataset scale, but we want a consistent API between scales + y: y, + skip: custom.skip || isNaN(x) || isNaN(y), + // Appearance + radius: options.radius, + pointStyle: options.pointStyle, + rotation: options.rotation, + backgroundColor: options.backgroundColor, + borderColor: options.borderColor, + borderWidth: options.borderWidth, + tension: valueOrDefault$7(custom.tension, lineModel ? lineModel.tension : 0), + + // Tooltip + hitRadius: options.hitRadius + }; + }, + + /** + * @private + */ + _resolveDatasetElementOptions: function() { + var me = this; + var config = me._config; + var options = me.chart.options; + var values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments); + + values.spanGaps = valueOrDefault$7(config.spanGaps, options.spanGaps); + values.tension = valueOrDefault$7(config.lineTension, options.elements.line.tension); + + return values; + }, + + updateBezierControlPoints: function() { + var me = this; + var meta = me.getMeta(); + var area = me.chart.chartArea; + var points = meta.data || []; + var i, ilen, model, controlPoints; + + // Only consider points that are drawn in case the spanGaps option is used + if (meta.dataset._model.spanGaps) { + points = points.filter(function(pt) { + return !pt._model.skip; + }); + } + + function capControlPoint(pt, min, max) { + return Math.max(Math.min(pt, max), min); + } + + for (i = 0, ilen = points.length; i < ilen; ++i) { + model = points[i]._model; + controlPoints = helpers$1.splineCurve( + helpers$1.previousItem(points, i, true)._model, + model, + helpers$1.nextItem(points, i, true)._model, + model.tension + ); + + // Prevent the bezier going outside of the bounds of the graph + model.controlPointPreviousX = capControlPoint(controlPoints.previous.x, area.left, area.right); + model.controlPointPreviousY = capControlPoint(controlPoints.previous.y, area.top, area.bottom); + model.controlPointNextX = capControlPoint(controlPoints.next.x, area.left, area.right); + model.controlPointNextY = capControlPoint(controlPoints.next.y, area.top, area.bottom); + } + }, + + setHoverStyle: function(point) { + var model = point._model; + var options = point._options; + var getHoverColor = helpers$1.getHoverColor; + + point.$previousStyle = { + backgroundColor: model.backgroundColor, + borderColor: model.borderColor, + borderWidth: model.borderWidth, + radius: model.radius + }; + + model.backgroundColor = valueOrDefault$7(options.hoverBackgroundColor, getHoverColor(options.backgroundColor)); + model.borderColor = valueOrDefault$7(options.hoverBorderColor, getHoverColor(options.borderColor)); + model.borderWidth = valueOrDefault$7(options.hoverBorderWidth, options.borderWidth); + model.radius = valueOrDefault$7(options.hoverRadius, options.radius); + } + }); + + core_defaults._set('scatter', { + hover: { + mode: 'single' + }, + + scales: { + xAxes: [{ + id: 'x-axis-1', // need an ID so datasets can reference the scale + type: 'linear', // scatter should not use a category axis + position: 'bottom' + }], + yAxes: [{ + id: 'y-axis-1', + type: 'linear', + position: 'left' + }] + }, + + tooltips: { + callbacks: { + title: function() { + return ''; // doesn't make sense for scatter since data are formatted as a point + }, + label: function(item) { + return '(' + item.xLabel + ', ' + item.yLabel + ')'; + } + } + } + }); + + core_defaults._set('global', { + datasets: { + scatter: { + showLine: false + } + } + }); + + // Scatter charts use line controllers + var controller_scatter = controller_line; + + // NOTE export a map in which the key represents the controller type, not + // the class, and so must be CamelCase in order to be correctly retrieved + // by the controller in core.controller.js (`controllers[meta.type]`). + + var controllers = { + bar: controller_bar, + bubble: controller_bubble, + doughnut: controller_doughnut, + horizontalBar: controller_horizontalBar, + line: controller_line, + polarArea: controller_polarArea, + pie: controller_pie, + radar: controller_radar, + scatter: controller_scatter + }; + + /** + * Helper function to get relative position for an event + * @param {Event|IEvent} event - The event to get the position for + * @param {Chart} chart - The chart + * @returns {object} the event position + */ + function getRelativePosition(e, chart) { + if (e.native) { + return { + x: e.x, + y: e.y + }; + } + + return helpers$1.getRelativePosition(e, chart); + } + + /** + * Helper function to traverse all of the visible elements in the chart + * @param {Chart} chart - the chart + * @param {function} handler - the callback to execute for each visible item + */ + function parseVisibleItems(chart, handler) { + var metasets = chart._getSortedVisibleDatasetMetas(); + var metadata, i, j, ilen, jlen, element; + + for (i = 0, ilen = metasets.length; i < ilen; ++i) { + metadata = metasets[i].data; + for (j = 0, jlen = metadata.length; j < jlen; ++j) { + element = metadata[j]; + if (!element._view.skip) { + handler(element); + } + } + } + } + + /** + * Helper function to get the items that intersect the event position + * @param {ChartElement[]} items - elements to filter + * @param {object} position - the point to be nearest to + * @return {ChartElement[]} the nearest items + */ + function getIntersectItems(chart, position) { + var elements = []; + + parseVisibleItems(chart, function(element) { + if (element.inRange(position.x, position.y)) { + elements.push(element); + } + }); + + return elements; + } + + /** + * Helper function to get the items nearest to the event position considering all visible items in teh chart + * @param {Chart} chart - the chart to look at elements from + * @param {object} position - the point to be nearest to + * @param {boolean} intersect - if true, only consider items that intersect the position + * @param {function} distanceMetric - function to provide the distance between points + * @return {ChartElement[]} the nearest items + */ + function getNearestItems(chart, position, intersect, distanceMetric) { + var minDistance = Number.POSITIVE_INFINITY; + var nearestItems = []; + + parseVisibleItems(chart, function(element) { + if (intersect && !element.inRange(position.x, position.y)) { + return; + } + + var center = element.getCenterPoint(); + var distance = distanceMetric(position, center); + if (distance < minDistance) { + nearestItems = [element]; + minDistance = distance; + } else if (distance === minDistance) { + // Can have multiple items at the same distance in which case we sort by size + nearestItems.push(element); + } + }); + + return nearestItems; + } + + /** + * Get a distance metric function for two points based on the + * axis mode setting + * @param {string} axis - the axis mode. x|y|xy + */ + function getDistanceMetricForAxis(axis) { + var useX = axis.indexOf('x') !== -1; + var useY = axis.indexOf('y') !== -1; + + return function(pt1, pt2) { + var deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0; + var deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0; + return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2)); + }; + } + + function indexMode(chart, e, options) { + var position = getRelativePosition(e, chart); + // Default axis for index mode is 'x' to match old behaviour + options.axis = options.axis || 'x'; + var distanceMetric = getDistanceMetricForAxis(options.axis); + var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric); + var elements = []; + + if (!items.length) { + return []; + } + + chart._getSortedVisibleDatasetMetas().forEach(function(meta) { + var element = meta.data[items[0]._index]; + + // don't count items that are skipped (null data) + if (element && !element._view.skip) { + elements.push(element); + } + }); + + return elements; + } + + /** + * @interface IInteractionOptions + */ + /** + * If true, only consider items that intersect the point + * @name IInterfaceOptions#boolean + * @type Boolean + */ + + /** + * Contains interaction related functions + * @namespace Chart.Interaction + */ + var core_interaction = { + // Helper function for different modes + modes: { + single: function(chart, e) { + var position = getRelativePosition(e, chart); + var elements = []; + + parseVisibleItems(chart, function(element) { + if (element.inRange(position.x, position.y)) { + elements.push(element); + return elements; + } + }); + + return elements.slice(0, 1); + }, + + /** + * @function Chart.Interaction.modes.label + * @deprecated since version 2.4.0 + * @todo remove at version 3 + * @private + */ + label: indexMode, + + /** + * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something + * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item + * @function Chart.Interaction.modes.index + * @since v2.4.0 + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {IInteractionOptions} options - options to use during interaction + * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned + */ + index: indexMode, + + /** + * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something + * If the options.intersect is false, we find the nearest item and return the items in that dataset + * @function Chart.Interaction.modes.dataset + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {IInteractionOptions} options - options to use during interaction + * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned + */ + dataset: function(chart, e, options) { + var position = getRelativePosition(e, chart); + options.axis = options.axis || 'xy'; + var distanceMetric = getDistanceMetricForAxis(options.axis); + var items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric); + + if (items.length > 0) { + items = chart.getDatasetMeta(items[0]._datasetIndex).data; + } + + return items; + }, + + /** + * @function Chart.Interaction.modes.x-axis + * @deprecated since version 2.4.0. Use index mode and intersect == true + * @todo remove at version 3 + * @private + */ + 'x-axis': function(chart, e) { + return indexMode(chart, e, {intersect: false}); + }, + + /** + * Point mode returns all elements that hit test based on the event position + * of the event + * @function Chart.Interaction.modes.intersect + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned + */ + point: function(chart, e) { + var position = getRelativePosition(e, chart); + return getIntersectItems(chart, position); + }, + + /** + * nearest mode returns the element closest to the point + * @function Chart.Interaction.modes.intersect + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {IInteractionOptions} options - options to use + * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned + */ + nearest: function(chart, e, options) { + var position = getRelativePosition(e, chart); + options.axis = options.axis || 'xy'; + var distanceMetric = getDistanceMetricForAxis(options.axis); + return getNearestItems(chart, position, options.intersect, distanceMetric); + }, + + /** + * x mode returns the elements that hit-test at the current x coordinate + * @function Chart.Interaction.modes.x + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {IInteractionOptions} options - options to use + * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned + */ + x: function(chart, e, options) { + var position = getRelativePosition(e, chart); + var items = []; + var intersectsItem = false; + + parseVisibleItems(chart, function(element) { + if (element.inXRange(position.x)) { + items.push(element); + } + + if (element.inRange(position.x, position.y)) { + intersectsItem = true; + } + }); + + // If we want to trigger on an intersect and we don't have any items + // that intersect the position, return nothing + if (options.intersect && !intersectsItem) { + items = []; + } + return items; + }, + + /** + * y mode returns the elements that hit-test at the current y coordinate + * @function Chart.Interaction.modes.y + * @param {Chart} chart - the chart we are returning items from + * @param {Event} e - the event we are find things at + * @param {IInteractionOptions} options - options to use + * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned + */ + y: function(chart, e, options) { + var position = getRelativePosition(e, chart); + var items = []; + var intersectsItem = false; + + parseVisibleItems(chart, function(element) { + if (element.inYRange(position.y)) { + items.push(element); + } + + if (element.inRange(position.x, position.y)) { + intersectsItem = true; + } + }); + + // If we want to trigger on an intersect and we don't have any items + // that intersect the position, return nothing + if (options.intersect && !intersectsItem) { + items = []; + } + return items; + } + } + }; + + var extend = helpers$1.extend; + + function filterByPosition(array, position) { + return helpers$1.where(array, function(v) { + return v.pos === position; + }); + } + + function sortByWeight(array, reverse) { + return array.sort(function(a, b) { + var v0 = reverse ? b : a; + var v1 = reverse ? a : b; + return v0.weight === v1.weight ? + v0.index - v1.index : + v0.weight - v1.weight; + }); + } + + function wrapBoxes(boxes) { + var layoutBoxes = []; + var i, ilen, box; + + for (i = 0, ilen = (boxes || []).length; i < ilen; ++i) { + box = boxes[i]; + layoutBoxes.push({ + index: i, + box: box, + pos: box.position, + horizontal: box.isHorizontal(), + weight: box.weight + }); + } + return layoutBoxes; + } + + function setLayoutDims(layouts, params) { + var i, ilen, layout; + for (i = 0, ilen = layouts.length; i < ilen; ++i) { + layout = layouts[i]; + // store width used instead of chartArea.w in fitBoxes + layout.width = layout.horizontal + ? layout.box.fullWidth && params.availableWidth + : params.vBoxMaxWidth; + // store height used instead of chartArea.h in fitBoxes + layout.height = layout.horizontal && params.hBoxMaxHeight; + } + } + + function buildLayoutBoxes(boxes) { + var layoutBoxes = wrapBoxes(boxes); + var left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true); + var right = sortByWeight(filterByPosition(layoutBoxes, 'right')); + var top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true); + var bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom')); + + return { + leftAndTop: left.concat(top), + rightAndBottom: right.concat(bottom), + chartArea: filterByPosition(layoutBoxes, 'chartArea'), + vertical: left.concat(right), + horizontal: top.concat(bottom) + }; + } + + function getCombinedMax(maxPadding, chartArea, a, b) { + return Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]); + } + + function updateDims(chartArea, params, layout) { + var box = layout.box; + var maxPadding = chartArea.maxPadding; + var newWidth, newHeight; + + if (layout.size) { + // this layout was already counted for, lets first reduce old size + chartArea[layout.pos] -= layout.size; + } + layout.size = layout.horizontal ? box.height : box.width; + chartArea[layout.pos] += layout.size; + + if (box.getPadding) { + var boxPadding = box.getPadding(); + maxPadding.top = Math.max(maxPadding.top, boxPadding.top); + maxPadding.left = Math.max(maxPadding.left, boxPadding.left); + maxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom); + maxPadding.right = Math.max(maxPadding.right, boxPadding.right); + } + + newWidth = params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right'); + newHeight = params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom'); + + if (newWidth !== chartArea.w || newHeight !== chartArea.h) { + chartArea.w = newWidth; + chartArea.h = newHeight; + + // return true if chart area changed in layout's direction + return layout.horizontal ? newWidth !== chartArea.w : newHeight !== chartArea.h; + } + } + + function handleMaxPadding(chartArea) { + var maxPadding = chartArea.maxPadding; + + function updatePos(pos) { + var change = Math.max(maxPadding[pos] - chartArea[pos], 0); + chartArea[pos] += change; + return change; + } + chartArea.y += updatePos('top'); + chartArea.x += updatePos('left'); + updatePos('right'); + updatePos('bottom'); + } + + function getMargins(horizontal, chartArea) { + var maxPadding = chartArea.maxPadding; + + function marginForPositions(positions) { + var margin = {left: 0, top: 0, right: 0, bottom: 0}; + positions.forEach(function(pos) { + margin[pos] = Math.max(chartArea[pos], maxPadding[pos]); + }); + return margin; + } + + return horizontal + ? marginForPositions(['left', 'right']) + : marginForPositions(['top', 'bottom']); + } + + function fitBoxes(boxes, chartArea, params) { + var refitBoxes = []; + var i, ilen, layout, box, refit, changed; + + for (i = 0, ilen = boxes.length; i < ilen; ++i) { + layout = boxes[i]; + box = layout.box; + + box.update( + layout.width || chartArea.w, + layout.height || chartArea.h, + getMargins(layout.horizontal, chartArea) + ); + if (updateDims(chartArea, params, layout)) { + changed = true; + if (refitBoxes.length) { + // Dimensions changed and there were non full width boxes before this + // -> we have to refit those + refit = true; + } + } + if (!box.fullWidth) { // fullWidth boxes don't need to be re-fitted in any case + refitBoxes.push(layout); + } + } + + return refit ? fitBoxes(refitBoxes, chartArea, params) || changed : changed; + } + + function placeBoxes(boxes, chartArea, params) { + var userPadding = params.padding; + var x = chartArea.x; + var y = chartArea.y; + var i, ilen, layout, box; + + for (i = 0, ilen = boxes.length; i < ilen; ++i) { + layout = boxes[i]; + box = layout.box; + if (layout.horizontal) { + box.left = box.fullWidth ? userPadding.left : chartArea.left; + box.right = box.fullWidth ? params.outerWidth - userPadding.right : chartArea.left + chartArea.w; + box.top = y; + box.bottom = y + box.height; + box.width = box.right - box.left; + y = box.bottom; + } else { + box.left = x; + box.right = x + box.width; + box.top = chartArea.top; + box.bottom = chartArea.top + chartArea.h; + box.height = box.bottom - box.top; + x = box.right; + } + } + + chartArea.x = x; + chartArea.y = y; + } + + core_defaults._set('global', { + layout: { + padding: { + top: 0, + right: 0, + bottom: 0, + left: 0 + } + } + }); + + /** + * @interface ILayoutItem + * @prop {string} position - The position of the item in the chart layout. Possible values are + * 'left', 'top', 'right', 'bottom', and 'chartArea' + * @prop {number} weight - The weight used to sort the item. Higher weights are further away from the chart area + * @prop {boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down + * @prop {function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom) + * @prop {function} update - Takes two parameters: width and height. Returns size of item + * @prop {function} getPadding - Returns an object with padding on the edges + * @prop {number} width - Width of item. Must be valid after update() + * @prop {number} height - Height of item. Must be valid after update() + * @prop {number} left - Left edge of the item. Set by layout system and cannot be used in update + * @prop {number} top - Top edge of the item. Set by layout system and cannot be used in update + * @prop {number} right - Right edge of the item. Set by layout system and cannot be used in update + * @prop {number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update + */ + + // The layout service is very self explanatory. It's responsible for the layout within a chart. + // Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need + // It is this service's responsibility of carrying out that layout. + var core_layouts = { + defaults: {}, + + /** + * Register a box to a chart. + * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title. + * @param {Chart} chart - the chart to use + * @param {ILayoutItem} item - the item to add to be layed out + */ + addBox: function(chart, item) { + if (!chart.boxes) { + chart.boxes = []; + } + + // initialize item with default values + item.fullWidth = item.fullWidth || false; + item.position = item.position || 'top'; + item.weight = item.weight || 0; + item._layers = item._layers || function() { + return [{ + z: 0, + draw: function() { + item.draw.apply(item, arguments); + } + }]; + }; + + chart.boxes.push(item); + }, + + /** + * Remove a layoutItem from a chart + * @param {Chart} chart - the chart to remove the box from + * @param {ILayoutItem} layoutItem - the item to remove from the layout + */ + removeBox: function(chart, layoutItem) { + var index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1; + if (index !== -1) { + chart.boxes.splice(index, 1); + } + }, + + /** + * Sets (or updates) options on the given `item`. + * @param {Chart} chart - the chart in which the item lives (or will be added to) + * @param {ILayoutItem} item - the item to configure with the given options + * @param {object} options - the new item options. + */ + configure: function(chart, item, options) { + var props = ['fullWidth', 'position', 'weight']; + var ilen = props.length; + var i = 0; + var prop; + + for (; i < ilen; ++i) { + prop = props[i]; + if (options.hasOwnProperty(prop)) { + item[prop] = options[prop]; + } + } + }, + + /** + * Fits boxes of the given chart into the given size by having each box measure itself + * then running a fitting algorithm + * @param {Chart} chart - the chart + * @param {number} width - the width to fit into + * @param {number} height - the height to fit into + */ + update: function(chart, width, height) { + if (!chart) { + return; + } + + var layoutOptions = chart.options.layout || {}; + var padding = helpers$1.options.toPadding(layoutOptions.padding); + + var availableWidth = width - padding.width; + var availableHeight = height - padding.height; + var boxes = buildLayoutBoxes(chart.boxes); + var verticalBoxes = boxes.vertical; + var horizontalBoxes = boxes.horizontal; + + // Essentially we now have any number of boxes on each of the 4 sides. + // Our canvas looks like the following. + // The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and + // B1 is the bottom axis + // There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays + // These locations are single-box locations only, when trying to register a chartArea location that is already taken, + // an error will be thrown. + // + // |----------------------------------------------------| + // | T1 (Full Width) | + // |----------------------------------------------------| + // | | | T2 | | + // | |----|-------------------------------------|----| + // | | | C1 | | C2 | | + // | | |----| |----| | + // | | | | | + // | L1 | L2 | ChartArea (C0) | R1 | + // | | | | | + // | | |----| |----| | + // | | | C3 | | C4 | | + // | |----|-------------------------------------|----| + // | | | B1 | | + // |----------------------------------------------------| + // | B2 (Full Width) | + // |----------------------------------------------------| + // + + var params = Object.freeze({ + outerWidth: width, + outerHeight: height, + padding: padding, + availableWidth: availableWidth, + vBoxMaxWidth: availableWidth / 2 / verticalBoxes.length, + hBoxMaxHeight: availableHeight / 2 + }); + var chartArea = extend({ + maxPadding: extend({}, padding), + w: availableWidth, + h: availableHeight, + x: padding.left, + y: padding.top + }, padding); + + setLayoutDims(verticalBoxes.concat(horizontalBoxes), params); + + // First fit vertical boxes + fitBoxes(verticalBoxes, chartArea, params); + + // Then fit horizontal boxes + if (fitBoxes(horizontalBoxes, chartArea, params)) { + // if the area changed, re-fit vertical boxes + fitBoxes(verticalBoxes, chartArea, params); + } + + handleMaxPadding(chartArea); + + // Finally place the boxes to correct coordinates + placeBoxes(boxes.leftAndTop, chartArea, params); + + // Move to opposite side of chart + chartArea.x += chartArea.w; + chartArea.y += chartArea.h; + + placeBoxes(boxes.rightAndBottom, chartArea, params); + + chart.chartArea = { + left: chartArea.left, + top: chartArea.top, + right: chartArea.left + chartArea.w, + bottom: chartArea.top + chartArea.h + }; + + // Finally update boxes in chartArea (radial scale for example) + helpers$1.each(boxes.chartArea, function(layout) { + var box = layout.box; + extend(box, chart.chartArea); + box.update(chartArea.w, chartArea.h); + }); + } + }; + + /** + * Platform fallback implementation (minimal). + * @see https://github.com/chartjs/Chart.js/pull/4591#issuecomment-319575939 + */ + + var platform_basic = { + acquireContext: function(item) { + if (item && item.canvas) { + // Support for any object associated to a canvas (including a context2d) + item = item.canvas; + } + + return item && item.getContext('2d') || null; + } + }; + + var platform_dom = "/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"; + + var platform_dom$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': platform_dom + }); + + var stylesheet = getCjsExportFromNamespace(platform_dom$1); + + var EXPANDO_KEY = '$chartjs'; + var CSS_PREFIX = 'chartjs-'; + var CSS_SIZE_MONITOR = CSS_PREFIX + 'size-monitor'; + var CSS_RENDER_MONITOR = CSS_PREFIX + 'render-monitor'; + var CSS_RENDER_ANIMATION = CSS_PREFIX + 'render-animation'; + var ANIMATION_START_EVENTS = ['animationstart', 'webkitAnimationStart']; + + /** + * DOM event types -> Chart.js event types. + * Note: only events with different types are mapped. + * @see https://developer.mozilla.org/en-US/docs/Web/Events + */ + var EVENT_TYPES = { + touchstart: 'mousedown', + touchmove: 'mousemove', + touchend: 'mouseup', + pointerenter: 'mouseenter', + pointerdown: 'mousedown', + pointermove: 'mousemove', + pointerup: 'mouseup', + pointerleave: 'mouseout', + pointerout: 'mouseout' + }; + + /** + * The "used" size is the final value of a dimension property after all calculations have + * been performed. This method uses the computed style of `element` but returns undefined + * if the computed style is not expressed in pixels. That can happen in some cases where + * `element` has a size relative to its parent and this last one is not yet displayed, + * for example because of `display: none` on a parent node. + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value + * @returns {number} Size in pixels or undefined if unknown. + */ + function readUsedSize(element, property) { + var value = helpers$1.getStyle(element, property); + var matches = value && value.match(/^(\d+)(\.\d+)?px$/); + return matches ? Number(matches[1]) : undefined; + } + + /** + * Initializes the canvas style and render size without modifying the canvas display size, + * since responsiveness is handled by the controller.resize() method. The config is used + * to determine the aspect ratio to apply in case no explicit height has been specified. + */ + function initCanvas(canvas, config) { + var style = canvas.style; + + // NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it + // returns null or '' if no explicit value has been set to the canvas attribute. + var renderHeight = canvas.getAttribute('height'); + var renderWidth = canvas.getAttribute('width'); + + // Chart.js modifies some canvas values that we want to restore on destroy + canvas[EXPANDO_KEY] = { + initial: { + height: renderHeight, + width: renderWidth, + style: { + display: style.display, + height: style.height, + width: style.width + } + } + }; + + // Force canvas to display as block to avoid extra space caused by inline + // elements, which would interfere with the responsive resize process. + // https://github.com/chartjs/Chart.js/issues/2538 + style.display = style.display || 'block'; + + if (renderWidth === null || renderWidth === '') { + var displayWidth = readUsedSize(canvas, 'width'); + if (displayWidth !== undefined) { + canvas.width = displayWidth; + } + } + + if (renderHeight === null || renderHeight === '') { + if (canvas.style.height === '') { + // If no explicit render height and style height, let's apply the aspect ratio, + // which one can be specified by the user but also by charts as default option + // (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2. + canvas.height = canvas.width / (config.options.aspectRatio || 2); + } else { + var displayHeight = readUsedSize(canvas, 'height'); + if (displayWidth !== undefined) { + canvas.height = displayHeight; + } + } + } + + return canvas; + } + + /** + * Detects support for options object argument in addEventListener. + * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support + * @private + */ + var supportsEventListenerOptions = (function() { + var supports = false; + try { + var options = Object.defineProperty({}, 'passive', { + // eslint-disable-next-line getter-return + get: function() { + supports = true; + } + }); + window.addEventListener('e', null, options); + } catch (e) { + // continue regardless of error + } + return supports; + }()); + + // Default passive to true as expected by Chrome for 'touchstart' and 'touchend' events. + // https://github.com/chartjs/Chart.js/issues/4287 + var eventListenerOptions = supportsEventListenerOptions ? {passive: true} : false; + + function addListener(node, type, listener) { + node.addEventListener(type, listener, eventListenerOptions); + } + + function removeListener(node, type, listener) { + node.removeEventListener(type, listener, eventListenerOptions); + } + + function createEvent(type, chart, x, y, nativeEvent) { + return { + type: type, + chart: chart, + native: nativeEvent || null, + x: x !== undefined ? x : null, + y: y !== undefined ? y : null, + }; + } + + function fromNativeEvent(event, chart) { + var type = EVENT_TYPES[event.type] || event.type; + var pos = helpers$1.getRelativePosition(event, chart); + return createEvent(type, chart, pos.x, pos.y, event); + } + + function throttled(fn, thisArg) { + var ticking = false; + var args = []; + + return function() { + args = Array.prototype.slice.call(arguments); + thisArg = thisArg || this; + + if (!ticking) { + ticking = true; + helpers$1.requestAnimFrame.call(window, function() { + ticking = false; + fn.apply(thisArg, args); + }); + } + }; + } + + function createDiv(cls) { + var el = document.createElement('div'); + el.className = cls || ''; + return el; + } + + // Implementation based on https://github.com/marcj/css-element-queries + function createResizer(handler) { + var maxSize = 1000000; + + // NOTE(SB) Don't use innerHTML because it could be considered unsafe. + // https://github.com/chartjs/Chart.js/issues/5902 + var resizer = createDiv(CSS_SIZE_MONITOR); + var expand = createDiv(CSS_SIZE_MONITOR + '-expand'); + var shrink = createDiv(CSS_SIZE_MONITOR + '-shrink'); + + expand.appendChild(createDiv()); + shrink.appendChild(createDiv()); + + resizer.appendChild(expand); + resizer.appendChild(shrink); + resizer._reset = function() { + expand.scrollLeft = maxSize; + expand.scrollTop = maxSize; + shrink.scrollLeft = maxSize; + shrink.scrollTop = maxSize; + }; + + var onScroll = function() { + resizer._reset(); + handler(); + }; + + addListener(expand, 'scroll', onScroll.bind(expand, 'expand')); + addListener(shrink, 'scroll', onScroll.bind(shrink, 'shrink')); + + return resizer; + } + + // https://davidwalsh.name/detect-node-insertion + function watchForRender(node, handler) { + var expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {}); + var proxy = expando.renderProxy = function(e) { + if (e.animationName === CSS_RENDER_ANIMATION) { + handler(); + } + }; + + helpers$1.each(ANIMATION_START_EVENTS, function(type) { + addListener(node, type, proxy); + }); + + // #4737: Chrome might skip the CSS animation when the CSS_RENDER_MONITOR class + // is removed then added back immediately (same animation frame?). Accessing the + // `offsetParent` property will force a reflow and re-evaluate the CSS animation. + // https://gist.github.com/paulirish/5d52fb081b3570c81e3a#box-metrics + // https://github.com/chartjs/Chart.js/issues/4737 + expando.reflow = !!node.offsetParent; + + node.classList.add(CSS_RENDER_MONITOR); + } + + function unwatchForRender(node) { + var expando = node[EXPANDO_KEY] || {}; + var proxy = expando.renderProxy; + + if (proxy) { + helpers$1.each(ANIMATION_START_EVENTS, function(type) { + removeListener(node, type, proxy); + }); + + delete expando.renderProxy; + } + + node.classList.remove(CSS_RENDER_MONITOR); + } + + function addResizeListener(node, listener, chart) { + var expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {}); + + // Let's keep track of this added resizer and thus avoid DOM query when removing it. + var resizer = expando.resizer = createResizer(throttled(function() { + if (expando.resizer) { + var container = chart.options.maintainAspectRatio && node.parentNode; + var w = container ? container.clientWidth : 0; + listener(createEvent('resize', chart)); + if (container && container.clientWidth < w && chart.canvas) { + // If the container size shrank during chart resize, let's assume + // scrollbar appeared. So we resize again with the scrollbar visible - + // effectively making chart smaller and the scrollbar hidden again. + // Because we are inside `throttled`, and currently `ticking`, scroll + // events are ignored during this whole 2 resize process. + // If we assumed wrong and something else happened, we are resizing + // twice in a frame (potential performance issue) + listener(createEvent('resize', chart)); + } + } + })); + + // The resizer needs to be attached to the node parent, so we first need to be + // sure that `node` is attached to the DOM before injecting the resizer element. + watchForRender(node, function() { + if (expando.resizer) { + var container = node.parentNode; + if (container && container !== resizer.parentNode) { + container.insertBefore(resizer, container.firstChild); + } + + // The container size might have changed, let's reset the resizer state. + resizer._reset(); + } + }); + } + + function removeResizeListener(node) { + var expando = node[EXPANDO_KEY] || {}; + var resizer = expando.resizer; + + delete expando.resizer; + unwatchForRender(node); + + if (resizer && resizer.parentNode) { + resizer.parentNode.removeChild(resizer); + } + } + + /** + * Injects CSS styles inline if the styles are not already present. + * @param {HTMLDocument|ShadowRoot} rootNode - the node to contain the ").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY=0;i--)if(s=this.items[i],n=s.item[0],o=this._intersectsWithPointer(s),o&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||s+l>r&&h>s+l,d="y"===this.options.axis||e+c>o&&a>e+c,p=u&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:e+this.helperProportions.width/2>o&&a>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var e,i,s="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),n="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),o=s&&n;return o?(e=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection(),this.floating?"right"===i||"down"===e?2:1:e&&("down"===e?2:1)):!1},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),s=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection();return this.floating&&n?"right"===n&&i||"left"===n&&!i:s&&("down"===s&&e||"up"===s&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){function i(){r.push(this)}var s,n,o,a,r=[],h=[],l=this._connectWith();if(l&&e)for(s=l.length-1;s>=0;s--)for(o=t(l[s],this.document[0]),n=o.length-1;n>=0;n--)a=t.data(o[n],this.widgetFullName),a&&a!==this&&!a.options.disabled&&h.push([t.isFunction(a.options.items)?a.options.items.call(a.element):t(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a]);for(h.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),s=h.length-1;s>=0;s--)h[s][0].each(i);return t(r)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,o,a,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i],this.document[0]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&(u.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=u.length-1;i>=0;i--)for(a=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",a),c.push({item:h,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.floating=this.items.length?"x"===this.options.axis||this._isFloating(this.items[0].item):!1,this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,o;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),o=n.offset(),s.left=o.left,s.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t("<"+s+">",e.document[0]);return e._addClass(n,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(n,"ui-sortable-helper"),"tbody"===s?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("",e.document[0]).appendTo(n)):"tr"===s?e._createTrPlaceholder(e.currentItem,n):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var s=this;e.children().each(function(){t(" ",s.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(e){var i,s,n,o,a,r,h,l,c,u,d=null,p=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(d&&t.contains(this.containers[i].element[0],d.element[0]))continue;d=this.containers[i],p=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(n=1e4,o=null,c=d.floating||this._isFloating(this.currentItem),a=c?"left":"top",r=c?"width":"height",u=c?"pageX":"pageY",s=this.items.length-1;s>=0;s--)t.contains(this.containers[p].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(h=this.items[s].item.offset()[a],l=!1,e[u]-h>this.items[s][r]/2&&(l=!0),n>Math.abs(e[u]-h)&&(n=Math.abs(e[u]-h),o=this.items[s],this.direction=l?"up":"down"));if(!o&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[p])return this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1),void 0;o?this._rearrange(e,o,null,!0):this._rearrange(e,null,this.containers[p].element,!0),this._trigger("change",e,this._uiHash()),this.containers[p]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===n.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===n.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.leftthis.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter; +this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){function i(t,e,i){return function(s){i._trigger(t,s,e._uiHash(e))}}this.reverting=!1;var s,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(s in this._storedCSS)("auto"===this._storedCSS[s]||"static"===this._storedCSS[s])&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),s=this.containers.length-1;s>=0;s--)e||n.push(i("deactivate",this,this.containers[s])),this.containers[s].containerCache.over&&(n.push(i("out",this,this.containers[s])),this.containers[s].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(s=0;n.length>s;s++)n[s].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}}),t.widget("ui.spinner",{version:"1.12.1",defaultElement:"",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);null!=n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var e=this.element[0]===t.ui.safeActiveElement(this.document[0]);e||(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("").parent().append("")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i,s,n;return"culture"===t||"numberFormat"===t?(i=this._parse(this.element.val()),this.options[t]=e,this.element.val(this._format(i)),void 0):(("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(s=this.buttons.first().find(".ui-icon"),this._removeClass(s,null,this.options.icons.up),this._addClass(s,null,e.up),n=this.buttons.last().find(".ui-icon"),this._removeClass(n,null,this.options.icons.down),this._addClass(n,null,e.down)),this._super(t,e),void 0)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:r(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null===t?!1:t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:r(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:r(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:r(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:r(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(r(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),t.uiBackCompat!==!1&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return""},_buttonHtml:function(){return""}}),t.ui.spinner,t.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var t=/#.*$/;return function(e){var i,s;i=e.href.replace(t,""),s=location.href.replace(t,"");try{i=decodeURIComponent(i)}catch(n){}try{s=decodeURIComponent(s)}catch(n){}return e.hash.length>1&&i===s}}(),_create:function(){var e=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,s=location.hash.substring(1);return null===e&&(s&&this.tabs.each(function(i,n){return t(n).attr("aria-controls")===s?(e=i,!1):void 0}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===e||-1===e)&&(e=this.tabs.length?0:!1)),e!==!1&&(e=this.tabs.index(this.tabs.eq(e)),-1===e&&(e=i?!1:0)),!i&&e===!1&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(t.ui.safeActiveElement(this.document[0])).closest("li"),s=this.tabs.index(i),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:s++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:n=!1,s--;break;case t.ui.keyCode.END:s=this.anchors.length-1;break;case t.ui.keyCode.HOME:s=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),this._activate(s),void 0;case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),this._activate(s===this.options.active?!1:s),void 0;default:return}e.preventDefault(),clearTimeout(this.activating),s=this._focusNextTab(s,n),e.ctrlKey||e.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(s).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",s)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){return"active"===t?(this._activate(e),void 0):(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e),void 0)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,i=this.tabs,s=this.anchors,n=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(i,s){var n,o,a,r=t(s).uniqueId().attr("id"),h=t(s).closest("li"),l=h.attr("aria-controls");e._isLocal(s)?(n=s.hash,a=n.substring(1),o=e.element.find(e._sanitizeSelector(n))):(a=h.attr("aria-controls")||t({}).uniqueId()[0].id,n="#"+a,o=e.element.find(n),o.length||(o=e._createPanel(a),o.insertAfter(e.panels[i-1]||e.tablist)),o.attr("aria-live","polite")),o.length&&(e.panels=e.panels.add(o)),l&&h.data("ui-tabs-aria-controls",l),h.attr({"aria-controls":a,"aria-labelledby":r}),o.attr("aria-labelledby",r)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(s.not(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("
").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var i,s,n;for(t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),n=0;s=this.tabs[n];n++)i=t(s),e===!0||-1!==t.inArray(n,e)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,e===!0)},_setupEvents:function(e){var i={};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n.closest("li"),a=o[0]===s[0],r=a&&i.collapsible,h=r?t():this._getPanelForTab(o),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function s(){o.running=!1,o._trigger("activate",e,i)}function n(){o._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,s):(a.show(),s())}var o=this,a=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){o._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),n()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r.hide(),n()),r.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),a.length&&r.length?i.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+t.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var i=this.options.disabled;i!==!1&&(void 0===e?i=!1:(e=this._getIndex(e),i=t.isArray(i)?t.map(i,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,i){return i!==e?i:null})),this._setOptionDisabled(i))},disable:function(e){var i=this.options.disabled;if(i!==!0){if(void 0===e)i=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,i))return;i=t.isArray(i)?t.merge([e],i).sort():[e]}this._setOptionDisabled(i)}},load:function(e,i){e=this._getIndex(e);var s=this,n=this.tabs.eq(e),o=n.find(".ui-tabs-anchor"),a=this._getPanelForTab(n),r={tab:n,panel:a},h=function(t,e){"abort"===e&&s.panels.stop(!1,!0),s._removeClass(n,"ui-tabs-loading"),a.removeAttr("aria-busy"),t===s.xhr&&delete s.xhr};this._isLocal(o[0])||(this.xhr=t.ajax(this._ajaxSettings(o,i,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(n,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done(function(t,e,n){setTimeout(function(){a.html(t),s._trigger("load",i,r),h(n,e)},1)}).fail(function(t,e){setTimeout(function(){h(t,e)},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,o){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),t.uiBackCompat!==!1&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),t.ui.tabs,t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title")||"";return t("").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("
").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,i){var s=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s.element[0],e.close(n,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);return e.is("[title]")?e.data("ui-tooltip-title",e.attr("title")).removeAttr("title"):void 0}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._registerCloseHandlers(e,s),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s||s.nodeType||s.jquery?this._open(e,t,s):(i=s.call(t[0],function(i){n._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=o),this._open(e,t,i))})}),i&&this._open(e,t,i),void 0)},_open:function(e,i,s){function n(t){l.of=t,a.is(":hidden")||a.position(l)}var o,a,r,h,l=t.extend({},this.options.position);if(s){if(o=this._find(i))return o.tooltip.find(".ui-tooltip-content").html(s),void 0;i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),o=this._tooltip(i),a=o.tooltip,this._addDescribedBy(i,a.attr("id")),a.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),h=t("
").html(a.find(".ui-tooltip-content").html()),h.removeAttr("name").find("[name]").removeAttr("name"),h.removeAttr("id").find("[id]").removeAttr("id"),h.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:n}),n(e)):a.position(t.extend({of:i},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(r=this.delayedShow=setInterval(function(){a.is(":visible")&&(n(l.of),clearInterval(r))},t.fx.interval)),this._trigger("open",e,{tooltip:a})}},_registerCloseHandlers:function(e,i){var s={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var s=t.Event(e);s.currentTarget=i[0],this.close(s,!0)}}};i[0]!==this.element[0]&&(s.remove=function(){this._removeTooltip(this._find(i).tooltip)}),e&&"mouseover"!==e.type||(s.mouseleave="close"),e&&"focusin"!==e.type||(s.focusout="close"),this._on(!0,i,s)},close:function(e){var i,s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);return o?(i=o.tooltip,o.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),o.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),o.closing=!0,this._trigger("close",e,{tooltip:i}),o.hiding||(o.closing=!1)),void 0):(n.removeData("ui-tooltip-open"),void 0)},_tooltip:function(e){var i=t("
").attr("role","tooltip"),s=t("
").appendTo(i),n=i.uniqueId().attr("id");return this._addClass(s,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(e)),this.tooltips[n]={element:e,tooltip:i}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur"),o=s.element;n.target=n.currentTarget=o[0],e.close(n,!0),t("#"+i).remove(),o.data("ui-tooltip-title")&&(o.attr("title")||o.attr("title",o.data("ui-tooltip-title")),o.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),t.uiBackCompat!==!1&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),t.ui.tooltip}); \ No newline at end of file diff --git a/js/jquery.cookie.js b/js/jquery.cookie.js new file mode 100644 index 0000000..c7f3a59 --- /dev/null +++ b/js/jquery.cookie.js @@ -0,0 +1,117 @@ +/*! + * jQuery Cookie Plugin v1.4.1 + * https://github.com/carhartl/jquery-cookie + * + * Copyright 2013 Klaus Hartl + * Released under the MIT license + */ +(function (factory) { + if (typeof define === 'function' && define.amd) { + // AMD + define(['jquery'], factory); + } else if (typeof exports === 'object') { + // CommonJS + factory(require('jquery')); + } else { + // Browser globals + factory(jQuery); + } +}(function ($) { + + var pluses = /\+/g; + + function encode(s) { + return config.raw ? s : encodeURIComponent(s); + } + + function decode(s) { + return config.raw ? s : decodeURIComponent(s); + } + + function stringifyCookieValue(value) { + return encode(config.json ? JSON.stringify(value) : String(value)); + } + + function parseCookieValue(s) { + if (s.indexOf('"') === 0) { + // This is a quoted cookie as according to RFC2068, unescape... + s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); + } + + try { + // Replace server-side written pluses with spaces. + // If we can't decode the cookie, ignore it, it's unusable. + // If we can't parse the cookie, ignore it, it's unusable. + s = decodeURIComponent(s.replace(pluses, ' ')); + return config.json ? JSON.parse(s) : s; + } catch(e) {} + } + + function read(s, converter) { + var value = config.raw ? s : parseCookieValue(s); + return $.isFunction(converter) ? converter(value) : value; + } + + var config = $.cookie = function (key, value, options) { + + // Write + + if (value !== undefined && !$.isFunction(value)) { + options = $.extend({}, config.defaults, options); + + if (typeof options.expires === 'number') { + var days = options.expires, t = options.expires = new Date(); + t.setTime(+t + days * 864e+5); + } + + return (document.cookie = [ + encode(key), '=', stringifyCookieValue(value), + options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE + options.path ? '; path=' + options.path : '', + options.domain ? '; domain=' + options.domain : '', + options.secure ? '; secure' : '' + ].join('')); + } + + // Read + + var result = key ? undefined : {}; + + // To prevent the for loop in the first place assign an empty array + // in case there are no cookies at all. Also prevents odd result when + // calling $.cookie(). + var cookies = document.cookie ? document.cookie.split('; ') : []; + + for (var i = 0, l = cookies.length; i < l; i++) { + var parts = cookies[i].split('='); + var name = decode(parts.shift()); + var cookie = parts.join('='); + + if (key && key === name) { + // If second argument (value) is a function it's a converter... + result = read(cookie, value); + break; + } + + // Prevent storing a cookie that we couldn't decode. + if (!key && (cookie = read(cookie)) !== undefined) { + result[name] = cookie; + } + } + + return result; + }; + + config.defaults = {}; + + $.removeCookie = function (key, options) { + if ($.cookie(key) === undefined) { + return false; + } + + // Must not alter options, thus extending a fresh object... + $.cookie(key, '', $.extend({}, options, { expires: -1 })); + return !$.cookie(key); + }; + +})); diff --git a/js/jquery.dialogextend.js b/js/jquery.dialogextend.js new file mode 100644 index 0000000..f633829 --- /dev/null +++ b/js/jquery.dialogextend.js @@ -0,0 +1,509 @@ +(function() { + var $; + + $ = jQuery; + + $.widget("ui.dialogExtend", { + version: "2.0.0", + modes: {}, + options: { + "closable": true, + "dblclick": false, + "titlebar": false, + "icons": { + "close": "ui-icon-closethick", + "restore": "ui-icon-newwin" + }, + "load": null, + "beforeRestore": null, + "restore": null + }, + _create: function() { + this._state = "normal"; + if (!$(this.element[0]).data("ui-dialog")) { + $.error("jQuery.dialogExtend Error : Only jQuery UI Dialog element is accepted"); + } + this._verifyOptions(); + this._initStyles(); + this._initButtons(); + this._initTitleBar(); + this._setState("normal"); + this._on("load", function(e) { + return console.log("test", e); + }); + return this._trigger("load"); + }, + _setState: function(state) { + $(this.element[0]).removeClass("ui-dialog-" + this._state).addClass("ui-dialog-" + state); + return this._state = state; + }, + _verifyOptions: function() { + var name, _ref, _results; + + if (this.options.dblclick && !(this.options.dblclick in this.modes)) { + $.error("jQuery.dialogExtend Error : Invalid value '" + this.options.dblclick + "'"); + this.options.dblclick = false; + } + if (this.options.titlebar && ((_ref = this.options.titlebar) !== "none" && _ref !== "transparent")) { + $.error("jQuery.dialogExtend Error : Invalid value '" + this.options.titlebar + "'"); + this.options.titlebar = false; + } + _results = []; + for (name in this.modes) { + if (this["_verifyOptions_" + name]) { + _results.push(this["_verifyOptions_" + name]()); + } else { + _results.push(void 0); + } + } + return _results; + }, + _initStyles: function() { + var name, style, _results; + + if (!$(".dialog-extend-css").length) { + style = ''; + style += ''; + $(style).appendTo("body"); + } + _results = []; + for (name in this.modes) { + _results.push(this["_initStyles_" + name]()); + } + return _results; + }, + _initButtons: function() { + var buttonPane, mode, name, titlebar, _ref, + _this = this; + + titlebar = $(this.element[0]).dialog("widget").find(".ui-dialog-titlebar"); + buttonPane = $('
').appendTo(titlebar); + buttonPane.css({ + "position": "absolute", + "top": "50%", + "right": "0.3em", + "margin-top": "-10px", + "height": "18px" + }); + titlebar.find(".ui-dialog-titlebar-close").css({ + "position": "relative", + "float": "right", + "top": "auto", + "right": "auto", + "margin": 0 + }).find(".ui-icon").removeClass("ui-icon-closethick").addClass(this.options.icons.close).end().appendTo(buttonPane).end(); + buttonPane.append('
restore').find('.ui-dialog-titlebar-restore').attr("role", "button").mouseover(function() { + return $(this).addClass("ui-state-hover"); + }).mouseout(function() { + return $(this).removeClass("ui-state-hover"); + }).focus(function() { + return $(this).addClass("ui-state-focus"); + }).blur(function() { + return $(this).removeClass("ui-state-focus"); + }).end().find(".ui-dialog-titlebar-close").toggle(this.options.closable).end().find(".ui-dialog-titlebar-restore").hide().click(function(e) { + e.preventDefault(); + return _this.restore(); + }).end(); + _ref = this.modes; + for (name in _ref) { + mode = _ref[name]; + this._initModuleButton(name, mode); + } + return titlebar.dblclick(function(evt) { + if (_this.options.dblclick) { + if (_this._state !== "normal") { + return _this.restore(); + } else { + return _this[_this.options.dblclick](); + } + } + }).select(function() { + return false; + }); + }, + _initModuleButton: function(name, mode) { + var buttonPane, + _this = this; + + buttonPane = $(this.element[0]).dialog("widget").find('.ui-dialog-titlebar-buttonpane'); + return buttonPane.append('' + name + '').find(".ui-dialog-titlebar-" + name).attr("role", "button").mouseover(function() { + return $(this).addClass("ui-state-hover"); + }).mouseout(function() { + return $(this).removeClass("ui-state-hover"); + }).focus(function() { + return $(this).addClass("ui-state-focus"); + }).blur(function() { + return $(this).removeClass("ui-state-focus"); + }).end().find(".ui-dialog-titlebar-" + name).toggle(this.options[mode.option]).click(function(e) { + e.preventDefault(); + return _this[name](); + }).end(); + }, + _initTitleBar: function() { + var handle; + + switch (this.options.titlebar) { + case false: + return 0; + case "none": + if ($(this.element[0]).dialog("option", "draggable")) { + handle = $("
").addClass("ui-dialog-draggable-handle").css("cursor", "move").height(5); + $(this.element[0]).dialog("widget").prepend(handle).draggable("option", "handle", handle); + } + return $(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").find(".ui-dialog-title").html(" ").end().css({ + "background-color": "transparent", + "background-image": "none", + "border": 0, + "position": "absolute", + "right": 0, + "top": 0, + "z-index": 9999 + }).end(); + case "transparent": + return $(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").css({ + "background-color": "transparent", + "background-image": "none", + "border": 0 + }); + default: + return $.error("jQuery.dialogExtend Error : Invalid value '" + this.options.titlebar + "'"); + } + }, + state: function() { + return this._state; + }, + restore: function() { + this._trigger("beforeRestore"); + this._restore(); + this._toggleButtons(); + return this._trigger("restore"); + }, + _restore: function() { + if (this._state !== "normal") { + this["_restore_" + this._state](); + this._setState("normal"); + return $(this.element[0]).dialog("widget").focus(); + } + }, + _saveSnapshot: function() { + if (this._state === "normal") { + this.original_config_resizable = $(this.element[0]).dialog("option", "resizable"); + this.original_config_draggable = $(this.element[0]).dialog("option", "draggable"); + this.original_size_height = $(this.element[0]).dialog("widget").outerHeight(); + this.original_size_width = $(this.element[0]).dialog("option", "width"); + this.original_size_maxHeight = $(this.element[0]).dialog("option", "maxHeight"); + this.original_position_mode = $(this.element[0]).dialog("widget").css("position"); + this.original_position_left = $(this.element[0]).dialog("widget").offset().left - $('body').scrollLeft(); + this.original_position_top = $(this.element[0]).dialog("widget").offset().top - $('body').scrollTop(); + return this.original_titlebar_wrap = $(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").css("white-space"); + } + }, + _loadSnapshot: function() { + return { + "config": { + "resizable": this.original_config_resizable, + "draggable": this.original_config_draggable + }, + "size": { + "height": this.original_size_height, + "width": this.original_size_width, + "maxHeight": this.original_size_maxHeight + }, + "position": { + "mode": this.original_position_mode, + "left": this.original_position_left, + "top": this.original_position_top + }, + "titlebar": { + "wrap": this.original_titlebar_wrap + } + }; + }, + _toggleButtons: function(newstate) { + var mode, name, state, _ref, _ref1, _results; + + state = newstate || this._state; + $(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-restore").toggle(state !== "normal").css({ + "right": "1.4em" + }).end(); + _ref = this.modes; + for (name in _ref) { + mode = _ref[name]; + $(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-" + name).toggle(state !== mode.state && this.options[mode.option]); + } + _ref1 = this.modes; + _results = []; + for (name in _ref1) { + mode = _ref1[name]; + if (mode.state === state) { + _results.push($(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-restore").insertAfter($(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-" + name)).end()); + } else { + _results.push(void 0); + } + } + return _results; + } + }); + +}).call(this); + +(function() { + var $; + + $ = jQuery; + + $.extend(true, $.ui.dialogExtend.prototype, { + modes: { + "collapse": { + option: "collapsable", + state: "collapsed" + } + }, + options: { + "collapsable": false, + "icons": { + "collapse": "ui-icon-triangle-1-s" + }, + "beforeCollapse": null, + "collapse": null + }, + collapse: function() { + var newHeight, pos; + + newHeight = $(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").height() + 15; + this._trigger("beforeCollapse"); + if (this._state !== "normal") { + this._restore(); + } + this._saveSnapshot(); + pos = $(this.element[0]).dialog("widget").position(); + $(this.element[0]).dialog("option", { + "resizable": false, + "height": newHeight, + "maxHeight": newHeight, + "position": [pos.left - $(document).scrollLeft(), pos.top - $(document).scrollTop()] + }).on('dialogclose', this._collapse_restore).hide().dialog("widget").find(".ui-dialog-buttonpane:visible").hide().end().find(".ui-dialog-titlebar").css("white-space", "nowrap").end().find(".ui-dialog-content"); + this._setState("collapsed"); + this._toggleButtons(); + return this._trigger("collapse"); + }, + _restore_collapsed: function() { + var original; + + original = this._loadSnapshot(); + return $(this.element[0]).show().dialog("widget").find(".ui-dialog-buttonpane:hidden").show().end().find(".ui-dialog-titlebar").css("white-space", original.titlebar.wrap).end().find(".ui-dialog-content").dialog("option", { + "resizable": original.config.resizable, + "height": original.size.height, + "maxHeight": original.size.maxHeight + }).off('dialogclose', this._collapse_restore); + }, + _initStyles_collapse: function() { + var style; + + if (!$(".dialog-extend-collapse-css").length) { + style = ''; + style += ''; + return $(style).appendTo("body"); + } + }, + _collapse_restore: function() { + return $(this).dialogExtend("restore"); + } + }); + +}).call(this); + +(function() { + var $; + + $ = jQuery; + + $.extend(true, $.ui.dialogExtend.prototype, { + modes: { + "maximize": { + option: "maximizable", + state: "maximized" + } + }, + options: { + "maximizable": false, + "icons": { + "maximize": "ui-icon-extlink" + }, + "beforeMaximize": null, + "maximize": null + }, + maximize: function() { + var newHeight, newWidth; + + newHeight = $(window).height() - 11; + newWidth = $(window).width() - 11; + this._trigger("beforeMaximize"); + if (this._state !== "normal") { + this._restore(); + } + this._saveSnapshot(); + if ($(this.element[0]).dialog("option", "draggable")) { + $(this.element[0]).dialog("widget").draggable("option", "handle", null).find(".ui-dialog-draggable-handle").css("cursor", "text").end(); + } + $(this.element[0]).dialog("widget").css("position", "fixed").find(".ui-dialog-content").show().dialog("widget").find(".ui-dialog-buttonpane").show().end().find(".ui-dialog-content").dialog("option", { + "resizable": false, + "draggable": false, + "height": newHeight, + "width": newWidth, + "position": { + my: "left top", + at: "left top", + of: window + } + }); + this._setState("maximized"); + this._toggleButtons(); + return this._trigger("maximize"); + }, + _restore_maximized: function() { + var original; + + original = this._loadSnapshot(); + $(this.element[0]).dialog("widget").css("position", original.position.mode).find(".ui-dialog-titlebar").css("white-space", original.titlebar.wrap).end().find(".ui-dialog-content").dialog("option", { + "resizable": original.config.resizable, + "draggable": original.config.draggable, + "height": original.size.height, + "width": original.size.width, + "maxHeight": original.size.maxHeight, + "position": { + my: "left top", + at: "left+" + original.position.left + " top+" + original.position.top, + of: window + } + }); + if ($(this.element[0]).dialog("option", "draggable")) { + return $(this.element[0]).dialog("widget").draggable("option", "handle", $(this.element[0]).dialog("widget").find(".ui-dialog-draggable-handle").length ? $(this.element[0]).dialog("widget").find(".ui-dialog-draggable-handle") : ".ui-dialog-titlebar").find(".ui-dialog-draggable-handle").css("cursor", "move"); + } + }, + _initStyles_maximize: function() { + var style; + + if (!$(".dialog-extend-maximize-css").length) { + style = ''; + style += ''; + return $(style).appendTo("body"); + } + } + }); + +}).call(this); + +(function() { + var $; + + $ = jQuery; + + $.extend(true, $.ui.dialogExtend.prototype, { + modes: { + "minimize": { + option: "minimizable", + state: "minimized" + } + }, + options: { + "minimizable": false, + "minimizeLocation": "left", + "icons": { + "minimize": "ui-icon-minus" + }, + "beforeMinimize": null, + "minimize": null + }, + minimize: function() { + var dialogcontrols, fixedContainer, newWidth; + + this._trigger("beforeMinimize"); + if (this._state !== "normal") { + this._restore(); + } + newWidth = 200; + if ($("#dialog-extend-fixed-container").length) { + fixedContainer = $("#dialog-extend-fixed-container"); + } else { + fixedContainer = $('
').appendTo("body"); + fixedContainer.css({ + "position": "fixed", + "bottom": 1, + "left": 1, + "right": 1, + "z-index": 9999 + }); + } + this._toggleButtons("minimized"); + dialogcontrols = $(this.element[0]).dialog("widget").clone().children().remove().end(); + $(this.element[0]).dialog("widget").find('.ui-dialog-titlebar').clone(true, true).appendTo(dialogcontrols); + dialogcontrols.css({ + "float": this.options.minimizeLocation, + "margin": 1 + }); + fixedContainer.append(dialogcontrols); + $(this.element[0]).data("dialog-extend-minimize-controls", dialogcontrols); + if ($(this.element[0]).dialog("option", "draggable")) { + dialogcontrols.removeClass("ui-draggable"); + } + dialogcontrols.css({ + "height": "auto", + "width": newWidth, + "position": "static" + }); + $(this.element[0]).on('dialogbeforeclose', this._minimize_restoreOnClose).dialog("widget").hide(); + this._setState("minimized"); + return this._trigger("minimize"); + }, + _restore_minimized: function() { + $(this.element[0]).dialog("widget").show(); + $(this.element[0]).off('dialogbeforeclose', this._minimize_restoreOnClose); + $(this.element[0]).data("dialog-extend-minimize-controls").remove(); + return $(this.element[0]).removeData("dialog-extend-minimize-controls"); + }, + _initStyles_minimize: function() { + var style; + + if (!$(".dialog-extend-minimize-css").length) { + style = ''; + style += ''; + return $(style).appendTo("body"); + } + }, + _verifyOptions_minimize: function() { + var _ref; + + if (!this.options.minimizeLocation || ((_ref = this.options.minimizeLocation) !== 'left' && _ref !== 'right')) { + $.error("jQuery.dialogExtend Error : Invalid value '" + this.options.minimizeLocation + "'"); + return this.options.minimizeLocation = "left"; + } + }, + _minimize_restoreOnClose: function() { + return $(this).dialogExtend("restore"); + } + }); + +}).call(this); diff --git a/js/jquery.form.min.js b/js/jquery.form.min.js new file mode 100644 index 0000000..e40db02 --- /dev/null +++ b/js/jquery.form.min.js @@ -0,0 +1,15 @@ +/* +* jQuery Form Plugin; v20130523 +* http://jquery.malsup.com/form/ +* Copyright (c) 2013 M. Alsup; Dual licensed: MIT/GPL +* https://github.com/malsup/form#copyright-and-license +*/ +//;(function(e){"use strict";function t(t){var r=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(this).ajaxSubmit(r))}function r(t){var r=t.target,a=e(r);if(!a.is("[type=submit],[type=image]")){var n=a.closest("[type=submit]");if(0===n.length)return;r=n[0]}var i=this;if(i.clk=r,"image"==r.type)if(void 0!==t.offsetX)i.clk_x=t.offsetX,i.clk_y=t.offsetY;else if("function"==typeof e.fn.offset){var o=a.offset();i.clk_x=t.pageX-o.left,i.clk_y=t.pageY-o.top}else i.clk_x=t.pageX-r.offsetLeft,i.clk_y=t.pageY-r.offsetTop;setTimeout(function(){i.clk=i.clk_x=i.clk_y=null},100)}function a(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}var n={};n.fileapi=void 0!==e("").get(0).files,n.formdata=void 0!==window.FormData;var i=!!e.fn.prop;e.fn.attr2=function(){if(!i)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t){function r(r){var a,n,i=e.param(r,t.traditional).split("&"),o=i.length,s=[];for(a=0;o>a;a++)i[a]=i[a].replace(/\+/g," "),n=i[a].split("="),s.push([decodeURIComponent(n[0]),decodeURIComponent(n[1])]);return s}function o(a){for(var n=new FormData,i=0;a.length>i;i++)n.append(a[i].name,a[i].value);if(t.extraData){var o=r(t.extraData);for(i=0;o.length>i;i++)o[i]&&n.append(o[i][0],o[i][1])}t.data=null;var s=e.extend(!0,{},e.ajaxSettings,t,{contentType:!1,processData:!1,cache:!1,type:u||"POST"});t.uploadProgress&&(s.xhr=function(){var e=jQuery.ajaxSettings.xhr();return e.upload&&e.upload.addEventListener("progress",function(e){var r=0,a=e.loaded||e.position,n=e.total;e.lengthComputable&&(r=Math.ceil(100*(a/n))),t.uploadProgress(e,a,n,r)},!1),e}),s.data=null;var l=s.beforeSend;return s.beforeSend=function(e,t){t.data=n,l&&l.call(this,e,t)},e.ajax(s)}function s(r){function n(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(r){a("cannot get iframe.contentWindow document: "+r)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(r){a("cannot get iframe.contentDocument: "+r),t=e.document}return t}function o(){function t(){try{var e=n(g).readyState;a("state = "+e),e&&"uninitialized"==e.toLowerCase()&&setTimeout(t,50)}catch(r){a("Server abort: ",r," (",r.name,")"),s(D),j&&clearTimeout(j),j=void 0}}var r=f.attr2("target"),i=f.attr2("action");w.setAttribute("target",d),u||w.setAttribute("method","POST"),i!=m.url&&w.setAttribute("action",m.url),m.skipEncodingOverride||u&&!/post/i.test(u)||f.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),m.timeout&&(j=setTimeout(function(){T=!0,s(k)},m.timeout));var o=[];try{if(m.extraData)for(var l in m.extraData)m.extraData.hasOwnProperty(l)&&(e.isPlainObject(m.extraData[l])&&m.extraData[l].hasOwnProperty("name")&&m.extraData[l].hasOwnProperty("value")?o.push(e('').val(m.extraData[l].value).appendTo(w)[0]):o.push(e('').val(m.extraData[l]).appendTo(w)[0]));m.iframeTarget||(v.appendTo("body"),g.attachEvent?g.attachEvent("onload",s):g.addEventListener("load",s,!1)),setTimeout(t,15);try{w.submit()}catch(c){var p=document.createElement("form").submit;p.apply(w)}}finally{w.setAttribute("action",i),r?w.setAttribute("target",r):f.removeAttr("target"),e(o).remove()}}function s(t){if(!x.aborted&&!F){if(M=n(g),M||(a("cannot access response document"),t=D),t===k&&x)return x.abort("timeout"),S.reject(x,"timeout"),void 0;if(t==D&&x)return x.abort("server abort"),S.reject(x,"error","server abort"),void 0;if(M&&M.location.href!=m.iframeSrc||T){g.detachEvent?g.detachEvent("onload",s):g.removeEventListener("load",s,!1);var r,i="success";try{if(T)throw"timeout";var o="xml"==m.dataType||M.XMLDocument||e.isXMLDoc(M);if(a("isXml="+o),!o&&window.opera&&(null===M.body||!M.body.innerHTML)&&--O)return a("requeing onLoad callback, DOM not available"),setTimeout(s,250),void 0;var u=M.body?M.body:M.documentElement;x.responseText=u?u.innerHTML:null,x.responseXML=M.XMLDocument?M.XMLDocument:M,o&&(m.dataType="xml"),x.getResponseHeader=function(e){var t={"content-type":m.dataType};return t[e]},u&&(x.status=Number(u.getAttribute("status"))||x.status,x.statusText=u.getAttribute("statusText")||x.statusText);var l=(m.dataType||"").toLowerCase(),c=/(json|script|text)/.test(l);if(c||m.textarea){var f=M.getElementsByTagName("textarea")[0];if(f)x.responseText=f.value,x.status=Number(f.getAttribute("status"))||x.status,x.statusText=f.getAttribute("statusText")||x.statusText;else if(c){var d=M.getElementsByTagName("pre")[0],h=M.getElementsByTagName("body")[0];d?x.responseText=d.textContent?d.textContent:d.innerText:h&&(x.responseText=h.textContent?h.textContent:h.innerText)}}else"xml"==l&&!x.responseXML&&x.responseText&&(x.responseXML=X(x.responseText));try{L=_(x,l,m)}catch(b){i="parsererror",x.error=r=b||i}}catch(b){a("error caught: ",b),i="error",x.error=r=b||i}x.aborted&&(a("upload aborted"),i=null),x.status&&(i=x.status>=200&&300>x.status||304===x.status?"success":"error"),"success"===i?(m.success&&m.success.call(m.context,L,"success",x),S.resolve(x.responseText,"success",x),p&&e.event.trigger("ajaxSuccess",[x,m])):i&&(void 0===r&&(r=x.statusText),m.error&&m.error.call(m.context,x,i,r),S.reject(x,"error",r),p&&e.event.trigger("ajaxError",[x,m,r])),p&&e.event.trigger("ajaxComplete",[x,m]),p&&!--e.active&&e.event.trigger("ajaxStop"),m.complete&&m.complete.call(m.context,x,i),F=!0,m.timeout&&clearTimeout(j),setTimeout(function(){m.iframeTarget||v.remove(),x.responseXML=null},100)}}}var l,c,m,p,d,v,g,x,b,y,T,j,w=f[0],S=e.Deferred();if(r)for(c=0;h.length>c;c++)l=e(h[c]),i?l.prop("disabled",!1):l.removeAttr("disabled");if(m=e.extend(!0,{},e.ajaxSettings,t),m.context=m.context||m,d="jqFormIO"+(new Date).getTime(),m.iframeTarget?(v=e(m.iframeTarget),y=v.attr2("name"),y?d=y:v.attr2("name",d)):(v=e('
+ + + + + + + + + + + + + + <% + query = "" + query = query & " SELECT krc_in_date, T.p_no, p_name, p_team_name," + query = query & " T.vac_season, vac_rem, vac_use, ISNULL(C.vac_change_cnt, 0) AS vac_change_cnt, " + query = query & " vac_rem - vac_use + ISNULL(C.vac_change_cnt, 0) AS vac_possi, ISNULL(vac_change, 0) AS vac_change, ISNULL(subholi_cnt, 0) AS subholi_cnt " + query = query & " FROM " + query = query & " (" + query = query & " SELECT krc_in_date, p_no, p_name, p_team_name, " + query = query & " dbo.VAC_REM(p_no, '" & defaultDate & "') AS vac_rem, " + query = query & " dbo.VAC_USE(p_no, '" & defaultDate & "') AS vac_use, " + query = query & " dbo.VAC_YEAR(p_no, '" & defaultDate & "') AS vac_season" + query = query & " FROM project2.dbo.V_person " + query = query & " WHERE p_resign='0' AND krc_in_date IS NOT NULL" + query = query & " ) T LEFT JOIN " + query = query & " (" + query = query & " SELECT p_no, vac_season," + query = query & " sum(vac_change_cnt) AS vac_change_cnt, " + query = query & " count(*) AS vac_change " + query = query & " FROM project2.dbo.T_VACATION_CUSTOM " + query = query & " WHERE vac_change_yn = 'Y' " + query = query & " GROUP BY p_no, vac_season" + query = query & " ) C " + query = query & " ON T.p_no = C.p_no AND T.vac_season = C.vac_season LEFT JOIN " + query = query & " ( " + query = query & " SELECT p_no, dbo.VAC_YEAR(p_no, j_date) AS vac_season, count(*) AS subholi_cnt " + query = query & " FROM V_Job_List " + query = query & " WHERE j_contents = '9' " + query = query & " GROUP BY p_no, dbo.VAC_YEAR(p_no, j_date) " + query = query & " ) S ON T.p_no = S.p_no AND T.vac_season = S.vac_season " + query = query & " ORDER BY krc_in_date" + + adoRs.Open query, adoconn, 1' adOpenForwardOnly + do while not adoRs.eof + %> + + + + + + + + + + + + + <% + adoRs.movenext + loop + adoRs.close + %> +
Áõ°¨
±â·Ï
ÀÔ»çÀÏÀÚ¼º¸íºÎ¼­/Á÷Ã¥ÈÞ°¡½ÃÁð
±¸ºÐ
ÃÑ
¿¬Â÷¼ö
°ü¸®ÀÚ Áõ°¨
¿¬Â÷¼ö
»ç¿ë
¿¬Â÷¼ö
ÀÜ¿©
¿¬Â÷¼ö
´ëüÈÞ¹«
»ç¿ë¼ö
+ <% if cDbl(adoRs("vac_change")) > 0 then %> + |<%=adoRs("vac_season")%>"/> + <% end if %> + <%=adoRs("krc_in_date")%><%=adoRs("p_name")%><%=adoRs("p_team_name")%><%=adoRs("vac_season")%><%=adoRs("vac_rem")%><% + dim changeCntColor : changeCntColor="gray" + dim cntSign : cntSign = " " + + if cDbl(adoRs("vac_change_cnt")) > 0 then + changeCntColor="blue" + cntSign="+" + elseif cDbl(adoRs("vac_change_cnt")) < 0 then + changeCntColor="red" + cntSign="" + end if + %> + <%=cntSign%><%=adoRs("vac_change_cnt")%> + <% + dim vacChangeRem : vacChangeRem = cDbl(adoRs("vac_rem")) + cDbl(adoRs("vac_change_cnt")) + if vacChangeRem = adoRs("vac_rem") then + vacChangeRem = "" + end if + %> + <%=vacChangeRem%> + + <% if adoRs("vac_season") <> "X" then %> + |<%=adoRs("vac_season")%>"/> + <% end if %> + + <%=adoRs("vac_use")%><%=adoRs("vac_possi")%><%=adoRs("subholi_cnt")%>
+
+ ¡¤ Áõ°¨ ¿¬Â÷¼ö : + (¹æÇâŰ ¡è, ¡é¸¸ ÀÌ¿ëÇϼ¼¿ä) +
+ * Áõ°¨ ¿¬Â÷¼ö´Â -25 ~ 25 ±îÁö ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù.
+ ¡¤ Áõ°¨ »çÀ¯ ¡¡: +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/management/vac_manage_change_log.asp b/management/vac_manage_change_log.asp new file mode 100644 index 0000000..171503e --- /dev/null +++ b/management/vac_manage_change_log.asp @@ -0,0 +1,37 @@ + + +<% + p_no = request("p_no") + vac_season = request("vac_season") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT id, vac_change_cnt, vac_change_reason, vac_change_dt " + query = query & " FROM project2.dbo.T_VACATION_CUSTOM" + query = query & " WHERE vac_change_yn = 'Y'" + query = query & " AND p_no = " & p_no & "" + query = query & " AND vac_season = '" & vac_season & "'" + query = query & " ORDER BY vac_change_dt DESC " + + response.write "" + response.write "" + response.write " " + response.write " " + response.write " " + response.write "" + Adors.Open query, adoConn, 1 + do while not Adors.eof + response.write "" + response.write " " + response.write " " + response.write " " + response.write "" + Adors.movenext + loop + Adors.close + response.write "
Áõ°¨ ¿¬Â÷¼öÁõ°¨ »çÀ¯µî·ÏÀÏÀÚ
" & Adors("vac_change_cnt") & "" & Adors("vac_change_reason") & "" & Adors("vac_change_dt") & "
" +%> \ No newline at end of file diff --git a/management/vac_manage_change_ok.asp b/management/vac_manage_change_ok.asp new file mode 100644 index 0000000..963ae09 --- /dev/null +++ b/management/vac_manage_change_ok.asp @@ -0,0 +1,28 @@ + +<% + set dbin = server.CreateObject("ADODB.CONNECTION") + + p_no = request("p_no") + vac_season = request("vac_season") + vac_change_cnt = request("vac_change_cnt") + vac_change_reason = unescape(request("vac_change_reason")) + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " INSERT INTO project2.dbo.T_VACATION_CUSTOM " + query = query & " (p_no, vac_season, vac_change_cnt, vac_change_reason, vac_change_dt, vac_change_yn) VALUES " + query = query & " (" & p_no & ", '" & vac_season & "', " & vac_change_cnt & ", '" & replace(vac_change_reason, "'", "''") & "', getdate(), 'Y'); " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + if i > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/management/vac_month.asp b/management/vac_month.asp new file mode 100644 index 0000000..4d8fde5 --- /dev/null +++ b/management/vac_month.asp @@ -0,0 +1,174 @@ + + +<% + dim cyear + cyear = LEFT(cstr(date), 4) + if request("cyear") <> "" then + cyear = request("cyear") + end if + +%> + +
+ + +
+

+
+ + +
+
+
+
+
+
+ ±âÁسâ : + +
+
+ + + + + + <% dim imonth %> + <% for imonth = 1 To 12 %> + + <% Next %> + + + + + + +
ÀÔ»çÀÏÀÚ¼º¸í¼Ò¼Ó<%=imonth%>¿ùÇÕ°è
+
+
+
+
+
+
+ + + <% + query = "" + query = query & " SELECT P.krc_in_date, J.p_no, P.p_name, ISNULL(P.p_team_name, '') as p_team_name, CONVERT(integer, SUBSTRING(j_date, 6, 2)) AS u_month, ISNULL(sum(CASE WHEN j_contents=8 THEN 1 " + query = query & " WHEN j_contents IN (10, 11) THEN 0.5 END), 0) AS u_cnt " + query = query & " FROM project2.dbo.V_Job_List J LEFT JOIN V_PERSON P " + query = query & " ON J.p_no = P.p_no " + query = query & " WHERE j_contents IN (8,10,11) " + query = query & " AND j_date LIKE '" & cyear & "%' " + query = query & " GROUP BY P.krc_in_date, J.p_no, CONVERT(integer, SUBSTRING(j_date, 6, 2)), P.p_name, P.p_team_name " + %> + + +
+ + \ No newline at end of file diff --git a/nk/cati_surveylink_api.asp b/nk/cati_surveylink_api.asp new file mode 100644 index 0000000..29cf5af --- /dev/null +++ b/nk/cati_surveylink_api.asp @@ -0,0 +1,185 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

CATI Surveylink Àç¹ß½Å

+
+ +
+
+
+
+
+
+ + + + + + + + + + + + + <% + Dim userName, transNumber, condition, query + userName = Trim(Request.Form("user_name")) + transNumber = Trim(Request.Form("trans_number")) + + condition = "" + + If Len(userName) > 0 Then + condition = condition & " and m.m_name = '" & Replace(userName, "'", "''") & "'" + End If + + If Len(transNumber) > 0 Then + condition = condition & " and m.m_jumin = '" & Replace(transNumber, "'", "''") & "'" + End If + + If Len(userName) > 0 Or Len(transNumber) > 0 Then + ' »ç¿ëÀÚ Á¤º¸°¡ ÀÖÀ» °æ¿ì: JOIN Æ÷ÇÔ Äõ¸® + query = " SELECT p.prj_code, p.prj_name " & _ + " FROM new_cati.dbo.T_PRJ_USER tp with(nolock) " & _ + " inner join project2.dbo.man m on tp.sel_user = m.id " & _ + " left outer join new_cati.dbo.project p On tp.prj_code = p.prj_code " & _ + " WHERE p.prj_end_chk='ÁøÇàÁß' " & _ + " AND tp.use_yn='Y' " & _ + " AND m.m_activity = 'Ȱµ¿' " & _ + condition + Else + ' »ç¿ëÀÚ Á¤º¸°¡ ¾øÀ» °æ¿ì: ´Ü¼ø project Å×ÀÌºí¸¸ »ç¿ë + query = " SELECT p.prj_code, p.prj_name " & _ + " FROM new_cati.dbo.project p with(nolock) " & _ + " WHERE p.prj_end_chk='ÁøÇàÁß'" + End If + + adoRs.Open query, adoconn, 1 + + Do While Not adoRs.EOF + %> + + + + + + + + <% + adoRs.MoveNext + Loop + adoRs.Close + %> +
+ À̸§ : + " style="width:100px; margin-right:15px;"> + + Áֹεî·Ï¹øÈ£ : + " style="width:130px; text-align:right;" onchange="getNumber(this);" onkeyup="getNumber(this);"> + + +
ÇÁ·ÎÁ§Æ®¸íSurveylink
ÇÁ·ÎÁ§Æ®ÄÚµå
°á°ú°ªÀç¹ß½Å
+ <%=adoRs("prj_name")%> + + + + - + + +
+
+
+
+
+
+
+ + +
+ + \ No newline at end of file diff --git a/nk/cati_surveylink_api_ajax.asp b/nk/cati_surveylink_api_ajax.asp new file mode 100644 index 0000000..002ceae --- /dev/null +++ b/nk/cati_surveylink_api_ajax.asp @@ -0,0 +1,159 @@ + +<% +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨ç ÀÔ·Â °ËÁõ +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +Dim prjCd : prjCd = Trim(Request.Form("prjCd")) +Dim prjCode : prjCode = Trim(Request.Form("prjCode")) +If prjCd = "" Then + Response.CharSet = "EUC-KR" + Response.ContentType = "application/json" + Response.Write "{""code"":400,""message"":""ÇÁ·ÎÁ§Æ®Äڵ带 ÀÔ·ÂÇϼ¼¿ä.""}" + Response.End +End If + +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨è ÀÀ´ä Çì´õ +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +Response.CharSet = "EUC-KR" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control","no-store" +Response.Expires = -1 + +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨é ÅëÈ­ µ¥ÀÌÅÍ Á¶È¸ +'WHERE tel_stat IN (2,3,5,6,7,8,9,11,12,15,16,19) +'1 ÀÀ´ä¿Ï·á 09 ¼³¹®¼º°ø/¿¬°áÈÄ ÀÀ´ä¿Ï·á +'2 ºñ¼ö½Å 01 ÀüÈ­¾È¹ÞÀ½,ÅëÈ­Áß +'3 °á¹ø 08 °á¹ø +'4 ÇÒ´çÃʰú +'5 °ÅÀý 04 ¼ö½ÅÀÚ °ÅºÎ +'6 ¿¹¾à 03 ÅëÈ­¾à¼Ó +'7 ÅëÈ­Áß 01 ÀüÈ­¾È¹ÞÀ½,ÅëÈ­Áß +'8 ºñÁ¤»ó Á¾·á 04 ¼ö½ÅÀÚ °ÅºÎ +'9 ´ë»óÀÚºÎÀç 08 °á¹ø +'10 Faxµî +'11 Á¶»çºÎÀû°Ý 05 Àû°ÝÀÚ °ÅºÎ +'12 ±×·±»ç¶÷¾Æ´Ô 07 ºñÀû°ÝÀÚ +'15 ´Ü¼ø°ÅÀý 02 ³ªÁß¿¡ ´Ù½Ã µî(=¾à °ÅÀý ÀǹÌ) +'16 °­·Â°ÅÀý 06 °­·Â°ÅÀý +'19 ÃâÀåÁß 04 ¼ö½ÅÀÚ °ÅºÎ +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +Dim sql +sql = "SELECT (tel_local+tel_kuk+tel_no) AS callNumber," & _ + " REPLACE(CONVERT(CHAR(10),tel_date,112),'-','') +" & _ + " REPLACE(CONVERT(CHAR(8),tel_s_time,108),':','') +" & _ + " LEFT(DATEPART(MILLISECOND,tel_s_time)/100,1) AS callStartTime," & _ + " CAST(DATEDIFF(SECOND,tel_s_time,tel_e_time)*10 +" & _ + " DATEDIFF(MILLISECOND,tel_s_time,tel_e_time)%1000/100 AS VARCHAR) AS callTime," & _ + " tel_stat" & _ + " FROM new_cati.dbo.sample_"& prjCode & _ + " WHERE tel_stat IN (2,3,5,6,7,8,9,11,12,15,16,19)" + +Dim rs : Set rs = Server.CreateObject("ADODB.Recordset") +rs.Open sql, adoConn, adOpenForwardOnly, adLockReadOnly + +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨ê JSON data ¹è¿­ Á¶¸³ +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +Dim dataPieces(), rowCnt, callNumber, callStartTime, callTime, callCode, telStat +rowCnt = 0 +ReDim dataPieces(0) + +Do Until rs.EOF + callNumber = rs("callNumber") + callStartTime = rs("callStartTime") + callTime = rs("callTime") + telStat = rs("tel_stat") + + ' tel_stat ¡æ callCode ¸ÅÇÎ + Select Case telStat + Case 2: callCode = "01" + Case 3: callCode = "08" + Case 5: callCode = "04" + Case 6: callCode = "03" + Case 7: callCode = "01" + Case 8: callCode = "04" + Case 9: callCode = "08" + Case 11: callCode = "05" + Case 12: callCode = "07" + Case 15: callCode = "02" + Case 16: callCode = "06" + Case 19: callCode = "04" + Case Else: callCode = "01" + End Select + + ReDim Preserve dataPieces(rowCnt) + dataPieces(rowCnt) = "{" & _ + """callNumber"":""" & callNumber & """," & _ + """callStartTime"":""" & callStartTime & """," & _ + """callTime"":""" & callTime & """," & _ + """callCode"":""" & callCode & """" & _ + "}" + rowCnt = rowCnt + 1 + rs.MoveNext +Loop + +rs.Close + +Dim dataJson +If rowCnt > 0 Then + dataJson = Join(dataPieces, ",") + + '¿¹ºñ¿ë: ¸¶Áö¸· ½°Ç¥°¡ ÀÖÀ» °æ¿ì Á¦°Å + If Right(dataJson, 1) = "," Then + dataJson = Left(dataJson, Len(dataJson) - 1) + End If +Else + dataJson = "" +End If + +'Response.Write "" + +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨ë ÃÖÁ¾ JSON Á¶¸³ +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +Dim jsonRequest +jsonRequest = "{" & _ + """apikey"":""eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55Q2QiOiJEVlUiLCJpYXQiOjE3NDc4NzQ1OTUsImV4cCI6MTAzODc4NzQ1OTV9.pkG3Taa2g92na6EKolCSX8cznd5m4BJc3JQrJ9ZTgX8""," & _ + """companyCd"":""DVU""," & _ + """prjCd"":""" & prjCd & """," & _ + """redialYn"":""N""," & _ + """completeYn"":""Y""," & _ + """data"":[" & dataJson & "]" & _ +"}" + +'Response.Write "" + +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨ì API È£Ãâ ¼³Á¤ (Å×½ºÆ®¿ëÀ¸·Î ÁÖ¼® ó¸®) +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +Dim apiUrl +apiUrl = "https://api.surveylink.kr/survey/callData" +apiUrl = Trim(apiUrl) +apiUrl = Replace(apiUrl, vbCr, "") +apiUrl = Replace(apiUrl, vbLf, "") +apiUrl = Replace(apiUrl, Chr(10), "") +apiUrl = Replace(apiUrl, Chr(13), "") + +' ½ÇÁ¦ È£Ã⠽à ÁÖ¼® ÇØÁ¦ +Dim xmlhttp +Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0") +xmlhttp.Open "POST", apiUrl, False +xmlhttp.setRequestHeader "Content-Type", "application/json" +xmlhttp.Send jsonRequest +Dim apiResp : apiResp = xmlhttp.responseText +Set xmlhttp = Nothing + +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨í Å×½ºÆ®¿ë ÀÀ´ä ¹Ýȯ +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +'Dim apiResp +'apiResp = "{""code"":""100"",""message"":""" & dataJson & """}" + +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +' ¨î °øÅë ÀÀ´ä +'¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ +Response.ContentType = "application/json" +Response.Write apiResp +%> diff --git a/nk/input_time_2014.asp b/nk/input_time_2014.asp new file mode 100644 index 0000000..0d652c1 --- /dev/null +++ b/nk/input_time_2014.asp @@ -0,0 +1,794 @@ + + + +<% + dim neakeun_name, neakeun_jumin, neakeun_id + dim Query + dim condate + dim in_time_chk '0:±â·Ï¾øÀ½, 1:Ãâ±Ù½Ã°£ÀÌ¹Ì ±â·Ï, 2:Ãâ±Ù/Åð±Ù ½Ã°¢À̹̱â·Ï + dim yoil, yoilvalue + dim Moon_Date + dim permanent_position + + If request("condate") = "" Or request("condate") = null Then + condate = year(date) & "-" & zeroformat(month(date),2) & "-" + + if clng(hour(time)) < 7 then + condate = condate & zeroformat(day(date-1) ,2) + else + condate = condate & zeroformat(day(date) ,2) + end If + Else + condate = request("condate") + End If + + dim work_start_time, work_end_time ' ¾÷¹« ½ÃÀÛ ½Ã°£, ¾÷¹« Á¾·á ½Ã°£ + '¿¹) work_stat_timeÀÌ 1000, work_end_time 1800 À̸é, ÃâÅð±ÙÀÌ 0900 ~ 2000 ¿©µµ ±Ù¹« ÀÎÁ¤½Ã°£Àº 1000 ~ 1800 ¾È¿¡¼­ ÀÎÁ¤ÇÑ´Ù. + '2025_04_14 : ¾÷¹« ½ÃÀÛ ½Ã°£À» "¿ÀÀü 10½Ã ¡æ ¿ÀÀü 9½Ã 45ºÐ" À¸·Î º¯°æ + If condate < "2025-04-26" Then + work_start_time = "1000" + Else + work_start_time = "0945" + End If + + work_end_time = "2400" + + dim lunch_time_st, lunch_time_end ' lunch_time_st ÀÌÀü Ãâ±Ù ~ lunch_time_end ÀÌÈÄ Åð±Ù ½Ã Á¡½É½Ä´ë Áö±Þ + dim dinner_time_st, dinner_time_end ' dinner_time_st ÀÌÀü Ãâ±Ù ~ dinner_time_end ÀÌÈÄ Åð±Ù ½Ã Àú³á½Ä´ë Áö±Þ + lunch_time_st = "1100" + lunch_time_end = "1500" + dinner_time_st = "1800" + dinner_time_end = "2100" + + If UCase(request("permanent_position")) = "TRUE" Then + permanent_position = request("permanent_position") + Else + permanent_position = false + End if + + yoil = weekday(condate) + yoilvalue = yoil + select case yoil + case 1 yoil = "ÀÏ¿äÀÏ" + case 2 yoil = "¿ù¿äÀÏ" + case 3 yoil = "È­¿äÀÏ" + case 4 yoil = "¼ö¿äÀÏ" + case 5 yoil = "¸ñ¿äÀÏ" + case 6 yoil = "±Ý¿äÀÏ" + case 7 yoil = "Åä¿äÀÏ" + end select + + call day_off_chk(Mid(condate, 1, 4), Mid(condate, 6, 2), Mid(condate, 9, 2)) + if day_off = "true" then + yoil="°øÈÞÀÏ" + end if + neakeun_name = unescape(Request("neakeun_name")) + neakeun_jumin = Request("neakeun_jumin") + neakeun_id = Request("neakeun_id") + + query = " select in_time, out_time from neakeun_in_out_time " + query = query & " where neakeun_name = '" & neakeun_name & "' " + query = query & " and left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) " + query = query & " and [date] = '" & condate & "'" + adoRs.Open query, adoconn, adopenstatic, adlockreadonly + if adoRs.recordcount = 0 then + in_time_chk= 0 '¹ÌÃâ±Ù + else + if trim(adors("in_time")) <> "" then + in_time_chk= 1 'Ãâ±Ù + end if + if trim(adors("out_time")) <> "" then + in_time_chk= 2 'Åð±Ù + end if + end if + adoRs.close + + + now_time = zeroformat(hour(time),2) & zeroformat(minute(time),2) + if cint(now_time) >= 1200 and cint(now_time) < 1300 then + now_time = "1300" + end if + + 'response.write "
time = "& time + 'response.write "
now_time = "& now_time + 'response.write "
cint(now_time) = "& cint(now_time) + 'response.write "
yoil = "& yoil + +%> + + + + + + + + + +³»±ÙÁ÷ ¾÷¹«ÀÏÁö ±â·Ï + + +
+
+ + + + + + +<% + sql = " select date, in_time, out_time From neakeun_in_out_time where left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) and date = '" & condate & "'" + sql = sql & " and neakeun_name = '" & neakeun_name & "'" + 'response.write sql + AdoRs.open sql, adoconn, adopenstatic, adlockreadonly + + Dim InTime, OutTime + Dim convert_InTime_minute, convert_OutTime_minute + Dim innerInTime, OverInTime + + InTime = 0 + OutTime = 0 + if AdoRs.recordcount > 0 Then + If AdoRs("in_time") <> "" Then + InTime = AdoRs("in_time") + End If + + If AdoRs("out_time") <> "" Then + OutTime = AdoRs("out_time") + End If + + If AdoRs("in_time") <> "" And AdoRs("out_time") <> "" Then + convert_InTime_minute = eval(left(InTime,2)) * 60 + eval(right(InTime,2)) + convert_OutTime_minute = eval(left(OutTime,2)) * 60 + eval(right(OutTime,2)) + end If + %> + + + + <% + End if + adoRs.close + %> + + + +
+ <% If permanent_position = "True" then %> + ³»±ÙÁ÷À̸§ : + + <% else %> + ³»±ÙÁ÷À̸§ : + <% End If %> + + ±â·ÏÀÏ : + + + ¿ä ÀÏ : +
+ Ãâ±ÙÀÏÀÚ : <%=AdoRs("date")%>    //    Ãâ±Ù ½Ã°¢ : <%=InTime%>    //    Åð±Ù ½Ã°¢ : <%=OutTime%> +
+ <%if condate = left(now(), 10) OR permanent_position = "True" then %> + <% if in_time_chk=0 then %> +    + <% else %> +    + <% end if %> + <%end if %> + + + + +
+ + +<% +If in_time_chk = 2 Then + dim sv_list() + dim in_time, out_time + dim Categori_Cnt : Categori_Cnt = 10 + dim gap() + reDim gap(Categori_Cnt, 13) + + '##### ³»±ÙÁ÷ ¾÷¹«ÀÏÁö ´ã´ç Á÷¿ø + cost_sql = " select p_name,p_no from dbo.person "&VbCrlf + cost_sql = cost_sql & " where p_depart in ('12','17') and p_job_part in ('03','04','05','06','12','15') and "&VbCrlf '-- ½Ç»ç,QC,DP(ÄÚµù) + cost_sql = cost_sql & " ( "&VbCrlf + cost_sql = cost_sql & " krc_out_date = '' or "&VbCrlf + cost_sql = cost_sql & " convert(int,replace(krc_out_date,'-',''))>=convert(int,replace('" & condate & "','-','')) "&VbCrlf + cost_sql = cost_sql & " ) "&VbCrlf + cost_sql = cost_sql & " order by p_name asc "&VbCrlf + 'Response.Write cost_sql + Rs.open cost_sql, adoconn, adopenstatic, adlockreadonly + redim sv_list(Rs.recordCount, 2) + for i=1 To Rs.recordCount + sv_list(i, 1) = Rs("p_name") + sv_list(i, 2) = cstr(Rs("p_no")) + Rs.MoveNext + Next + Rs.Close + + Dim job_confirm_yn + job_confirm_yn = "N" + 'ÀúÀå¿©ºÎ È®ÀÎ + sql = " SELECT nw.p_sn, nw.p_sv_no, isnull((select TOP 1 p_name from person where p_no = nw.p_sv_no), ' ') as p_sv_name, p_sv_main, nw.p_child_sn, TPM.p_subject, nw.p_sebu, nw.p_sebu_code, nw.job_in_time, nw.job_out_time, nw.job_jumal_time, niot.in_time, niot.out_time, job_total_time, "&VbCrlf + sql = sql & " job_lunch_yn, job_dinner_yn, job_start_time, job_end_time, isnull(job_confirm_yn,'N') as job_confirm_yn, isnull((select TOP 1 p_name from person where p_no = TNP.insert_user), ' ') as insert_user "&VbCrlf + sql = sql & " FROM neakeun_work nw LEFT OUTER JOIN "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " select neakeun_name, neakeun_jumin, date, min(in_time) as in_time, max(out_time) as out_time "&VbCrlf + sql = sql & " from neakeun_in_out_time "&VbCrlf + sql = sql & " group by neakeun_name, neakeun_jumin, date "&VbCrlf + sql = sql & " ) niot "&VbCrlf + sql = sql & " on left(nw.neakeun_jumin, 6) = left(niot.neakeun_jumin, 6) and nw.neakeun_name = niot.neakeun_name AND NW.date = NIOT.date "&VbCrlf + sql = sql & " left outer join T_NEAKEUN_PAY TNP ON convert(varchar(15), nw.id) = TNP.attribute01 and nw.p_sebu = TNP.s_gubun "&VbCrlf + sql = sql & " left outer join T_PROJECT_METHOD TPM ON nw.p_child_sn = TPM.p_child_sn "&VbCrlf + sql = sql & " WHERE left(nw.neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) "&VbCrlf + sql = sql & " AND nw.[date] = '" & condate & "' "&VbCrlf + sql = sql & " AND nw.in_time + nw.out_time <> '00000000' "&VbCrlf + sql = sql & " and nw.neakeun_name = '" & neakeun_name & "' "&VbCrlf + 'Response.write sql + AdoRs.open sql, adoconn, adopenstatic, adlockreadonly + if AdoRs.recordcount > 0 then + i=0 + in_time = AdoRs("in_time") + out_time = AdoRs("out_time") + + job_total_time = AdoRs("job_total_time") + lunch_flag = AdoRs("job_lunch_yn") + dinner_flag = AdoRs("job_dinner_yn") + + do until AdoRs.eof + i = i + 1 + gap(i,0) = adors("p_subject") + gap(i,1) = adors("p_child_sn") + gap(i,2) = adors("p_sebu") + gap(i,3) = formatnumber(cDbl(adors("job_in_time")) - cDbl(adors("job_out_time")),2) + gap(i,4) = adors("job_start_time") + gap(i,5) = adors("job_end_time") + gap(i,6) = adors("job_out_time") + gap(0,3) = formatnumber(cdbl(gap(0,3)) + cdbl(gap(i,3)),2) + gap(0,6) = formatnumber(cdbl(gap(0,6)) + cdbl(gap(i,6)),2) + gap(i,7) = adors("job_confirm_yn") + If gap(i,7) = "Y" Then + job_confirm_yn = "Y" + End if + gap(i,8) = adors("insert_user") + gap(i,9) = adors("p_sv_name") + gap(i,10) = adors("p_sv_no") + gap(i,11) = adors("p_sv_main") + gap(i,12) = adors("p_sebu_code") + AdoRs.movenext + loop + else + AdoRs.close + query = "select in_time, out_time from neakeun_in_out_time "&VbCrlf + query = query & " where "&VbCrlf + query = query & " left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) "&VbCrlf + query = query & " and [date] = '" & condate & "'"&VbCrlf + query = query & " and neakeun_name = '" & neakeun_name & "'"&VbCrlf + 'Response.Write query + AdoRs.open query, adoconn, adopenstatic, adlockreadonly + in_time = AdoRs("in_time") + out_time = AdoRs("out_time") + end if + AdoRs.close +%> + +
+ + +
+ + + + + + + + + + + + + + <%For i = 1 To Categori_Cnt%> + + + + + + + + + <% next %> + + + + + + + + + +
+ + ¿À´Ã³¯Â¥(<%=condate%>) ±âÁØÀ¸·Î ¼³Á¤µÇ¾î ÀÖ´Â ÇÁ·ÎÁ§Æ®, ¾÷¹«³»¿ëÀ» ¼±Åà °¡´É ÇÕ´Ï´Ù.
+ (ÇÁ·ÎÁ§Æ® ¹× ¾÷¹«³»¿ë, ±Ù¹«½ÃÀ۽ð£, Á¾·á½Ã°£Àº SV°¡ ÀÔ·ÂÀ» Çß¾î¾ß¸¸ ³ªÅ¸³³´Ï´Ù.
+ ±Ù¹«½Ã°£À» ÀÔ·Â ÇÒ¶§ 0.25´Â 15ºÐÀ̰í, 0.5´Â 30ºÐ, 0.75´Â 45ºÐÀ» ÀÇ¹Ì ÇÕ´Ï´Ù.
+ ¿¹) 2.25´Â 2½Ã°£ 15ºÐ À̰í, 5.5´Â 5½Ã°£ 30ºÐÀ̰í, 4.75´Â 4½Ã°£ 45ºÐ ÀÔ´Ï´Ù. +
+
´ëÇ¥SV
(¼±ÅÃX)
SVÇÁ ·Î Á§ Æ® ¸í¾÷¹«³»¿ë±Ù¹«½Ã°£¾÷¹«È®ÀÎ
À¯¹«
¾÷¹«È®ÀÎ
SV
+ "" and gap(i,11) = gap(i,10) then %> checked <%end if %> disabled="disabled"/> + + + + + + + + ÁÖ°£ : readonly <% end if %> style='width:50px;' OnKeyPress='onlyNum();' name='txtInTime'/> , + ¾ß°£ : readonly <% end if %> style='width:50px;' OnKeyPress='onlyNum();' name='txtOutTime'/> + + + <%=gap(i,7)%><%=gap(i,8)%>
ÇÕ      °è±Ù¹«ÀÎÁ¤½Ã°£ - ÁÖ°£ : , + ¾ß°£ : +
Á߽ļ®½Ä + + + + +
+ + + + + + + + + +
+ ÀÏÀÚ + + Ãâ±Ù½Ã°¢ "True" then %> readonly <% end if %> value ="<%=In_Time%>"> + + Åð±Ù½Ã°¢ "True" then %>readonly <% end if %> value ="<%=Out_Time%>"> + style="display:none;" <% End If %>> + <% if permanent_position = "True" then %> + + <% end if %> + style="display:none;" <% End If %>> + +   + + +
+ + + + + + + +
+
+<% End if %> +<%If permanent_position = "True" then %> +
+ +
+<%End If %> + + +<% %> + \ No newline at end of file diff --git a/nk/input_time_2014.asp_bak b/nk/input_time_2014.asp_bak new file mode 100644 index 0000000..d1ef398 --- /dev/null +++ b/nk/input_time_2014.asp_bak @@ -0,0 +1,788 @@ + + + +<% + dim neakeun_name, neakeun_jumin, neakeun_id + dim Query + dim condate + dim in_time_chk '0:±â·Ï¾øÀ½, 1:Ãâ±Ù½Ã°£ÀÌ¹Ì ±â·Ï, 2:Ãâ±Ù/Åð±Ù ½Ã°¢À̹̱â·Ï + dim yoil, yoilvalue + dim Moon_Date + dim permanent_position + + dim work_start_time, work_end_time ' ¾÷¹« ½ÃÀÛ ½Ã°£, ¾÷¹« Á¾·á ½Ã°£ + '¿¹) work_stat_timeÀÌ 1000, work_end_time 1800 À̸é, ÃâÅð±ÙÀÌ 0900 ~ 2000 ¿©µµ ±Ù¹« ÀÎÁ¤½Ã°£Àº 1000 ~ 1800 ¾È¿¡¼­ ÀÎÁ¤ÇÑ´Ù. + work_start_time = "1000" + work_end_time = "2400" + + dim lunch_time_st, lunch_time_end ' lunch_time_st ÀÌÀü Ãâ±Ù ~ lunch_time_end ÀÌÈÄ Åð±Ù ½Ã Á¡½É½Ä´ë Áö±Þ + dim dinner_time_st, dinner_time_end ' dinner_time_st ÀÌÀü Ãâ±Ù ~ dinner_time_end ÀÌÈÄ Åð±Ù ½Ã Àú³á½Ä´ë Áö±Þ + lunch_time_st = "1100" + lunch_time_end = "1500" + dinner_time_st = "1800" + dinner_time_end = "2100" + + If UCase(request("permanent_position")) = "TRUE" Then + permanent_position = request("permanent_position") + Else + permanent_position = false + End if + + If request("condate") = "" Or request("condate") = null Then + condate = year(date) & "-" & zeroformat(month(date),2) & "-" + + if clng(hour(time)) < 7 then + condate = condate & zeroformat(day(date-1) ,2) + else + condate = condate & zeroformat(day(date) ,2) + end If + Else + condate = request("condate") + End If + + yoil = weekday(condate) + yoilvalue = yoil + select case yoil + case 1 yoil = "ÀÏ¿äÀÏ" + case 2 yoil = "¿ù¿äÀÏ" + case 3 yoil = "È­¿äÀÏ" + case 4 yoil = "¼ö¿äÀÏ" + case 5 yoil = "¸ñ¿äÀÏ" + case 6 yoil = "±Ý¿äÀÏ" + case 7 yoil = "Åä¿äÀÏ" + end select + + call day_off_chk(Mid(condate, 1, 4), Mid(condate, 6, 2), Mid(condate, 9, 2)) + if day_off = "true" then + yoil="°øÈÞÀÏ" + end if + neakeun_name = unescape(Request("neakeun_name")) + neakeun_jumin = Request("neakeun_jumin") + neakeun_id = Request("neakeun_id") + + query = " select in_time, out_time from neakeun_in_out_time " + query = query & " where neakeun_name = '" & neakeun_name & "' " + query = query & " and left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) " + query = query & " and [date] = '" & condate & "'" + adoRs.Open query, adoconn, adopenstatic, adlockreadonly + if adoRs.recordcount = 0 then + in_time_chk= 0 '¹ÌÃâ±Ù + else + if trim(adors("in_time")) <> "" then + in_time_chk= 1 'Ãâ±Ù + end if + if trim(adors("out_time")) <> "" then + in_time_chk= 2 'Åð±Ù + end if + end if + adoRs.close + + + now_time = zeroformat(hour(time),2) & zeroformat(minute(time),2) + if cint(now_time) >= 1200 and cint(now_time) < 1300 then + now_time = "1300" + end if + + 'response.write "
time = "& time + 'response.write "
now_time = "& now_time + 'response.write "
cint(now_time) = "& cint(now_time) + 'response.write "
yoil = "& yoil + +%> + + + + + + + + + +³»±ÙÁ÷ ¾÷¹«ÀÏÁö ±â·Ï + + +
+
+ + + + + + +<% + sql = " select date, in_time, out_time From neakeun_in_out_time where left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) and date = '" & condate & "'" + sql = sql & " and neakeun_name = '" & neakeun_name & "'" + 'response.write sql + AdoRs.open sql, adoconn, adopenstatic, adlockreadonly + + Dim InTime, OutTime + Dim convert_InTime_minute, convert_OutTime_minute + Dim innerInTime, OverInTime + + InTime = 0 + OutTime = 0 + if AdoRs.recordcount > 0 Then + If AdoRs("in_time") <> "" Then + InTime = AdoRs("in_time") + End If + + If AdoRs("out_time") <> "" Then + OutTime = AdoRs("out_time") + End If + + If AdoRs("in_time") <> "" And AdoRs("out_time") <> "" Then + convert_InTime_minute = eval(left(InTime,2)) * 60 + eval(right(InTime,2)) + convert_OutTime_minute = eval(left(OutTime,2)) * 60 + eval(right(OutTime,2)) + end If + %> + + + + <% + End if + adoRs.close + %> + + + +
+ <% If permanent_position = "True" then %> + ³»±ÙÁ÷À̸§ : + + <% else %> + ³»±ÙÁ÷À̸§ : + <% End If %> + + ±â·ÏÀÏ : + + + ¿ä ÀÏ : +
+ Ãâ±ÙÀÏÀÚ : <%=AdoRs("date")%>    //    Ãâ±Ù ½Ã°¢ : <%=InTime%>    //    Åð±Ù ½Ã°¢ : <%=OutTime%> +
+ <%if condate = left(now(), 10) OR permanent_position = "True" then %> + <% if in_time_chk=0 then %> +    + <% else %> +    + <% end if %> + <%end if %> + + + + +
+ + +<% +If in_time_chk = 2 Then + dim sv_list() + dim in_time, out_time + dim Categori_Cnt : Categori_Cnt = 10 + dim gap() + reDim gap(Categori_Cnt, 13) + + '##### ³»±ÙÁ÷ ¾÷¹«ÀÏÁö ´ã´ç Á÷¿ø + cost_sql = " select p_name,p_no from dbo.person "&VbCrlf + cost_sql = cost_sql & " where p_depart in ('12','17') and p_job_part in ('03','04','05','06','12','15') and "&VbCrlf '-- ½Ç»ç,QC,DP(ÄÚµù) + cost_sql = cost_sql & " ( "&VbCrlf + cost_sql = cost_sql & " krc_out_date = '' or "&VbCrlf + cost_sql = cost_sql & " convert(int,replace(krc_out_date,'-',''))>=convert(int,replace('" & condate & "','-','')) "&VbCrlf + cost_sql = cost_sql & " ) "&VbCrlf + cost_sql = cost_sql & " order by p_name asc "&VbCrlf + 'Response.Write cost_sql + Rs.open cost_sql, adoconn, adopenstatic, adlockreadonly + redim sv_list(Rs.recordCount, 2) + for i=1 To Rs.recordCount + sv_list(i, 1) = Rs("p_name") + sv_list(i, 2) = cstr(Rs("p_no")) + Rs.MoveNext + Next + Rs.Close + + Dim job_confirm_yn + job_confirm_yn = "N" + 'ÀúÀå¿©ºÎ È®ÀÎ + sql = " SELECT nw.p_sn, nw.p_sv_no, isnull((select TOP 1 p_name from person where p_no = nw.p_sv_no), ' ') as p_sv_name, p_sv_main, nw.p_child_sn, TPM.p_subject, nw.p_sebu, nw.p_sebu_code, nw.job_in_time, nw.job_out_time, nw.job_jumal_time, niot.in_time, niot.out_time, job_total_time, "&VbCrlf + sql = sql & " job_lunch_yn, job_dinner_yn, job_start_time, job_end_time, isnull(job_confirm_yn,'N') as job_confirm_yn, isnull((select TOP 1 p_name from person where p_no = TNP.insert_user), ' ') as insert_user "&VbCrlf + sql = sql & " FROM neakeun_work nw LEFT OUTER JOIN "&VbCrlf + sql = sql & " ( "&VbCrlf + sql = sql & " select neakeun_name, neakeun_jumin, date, min(in_time) as in_time, max(out_time) as out_time "&VbCrlf + sql = sql & " from neakeun_in_out_time "&VbCrlf + sql = sql & " group by neakeun_name, neakeun_jumin, date "&VbCrlf + sql = sql & " ) niot "&VbCrlf + sql = sql & " on left(nw.neakeun_jumin, 6) = left(niot.neakeun_jumin, 6) and nw.neakeun_name = niot.neakeun_name AND NW.date = NIOT.date "&VbCrlf + sql = sql & " left outer join T_NEAKEUN_PAY TNP ON convert(varchar(15), nw.id) = TNP.attribute01 and nw.p_sebu = TNP.s_gubun "&VbCrlf + sql = sql & " left outer join T_PROJECT_METHOD TPM ON nw.p_child_sn = TPM.p_child_sn "&VbCrlf + sql = sql & " WHERE left(nw.neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) "&VbCrlf + sql = sql & " AND nw.[date] = '" & condate & "' "&VbCrlf + sql = sql & " AND nw.in_time + nw.out_time <> '00000000' "&VbCrlf + sql = sql & " and nw.neakeun_name = '" & neakeun_name & "' "&VbCrlf + 'Response.write sql + AdoRs.open sql, adoconn, adopenstatic, adlockreadonly + if AdoRs.recordcount > 0 then + i=0 + in_time = AdoRs("in_time") + out_time = AdoRs("out_time") + + job_total_time = AdoRs("job_total_time") + lunch_flag = AdoRs("job_lunch_yn") + dinner_flag = AdoRs("job_dinner_yn") + + do until AdoRs.eof + i = i + 1 + gap(i,0) = adors("p_subject") + gap(i,1) = adors("p_child_sn") + gap(i,2) = adors("p_sebu") + gap(i,3) = formatnumber(cDbl(adors("job_in_time")) - cDbl(adors("job_out_time")),2) + gap(i,4) = adors("job_start_time") + gap(i,5) = adors("job_end_time") + gap(i,6) = adors("job_out_time") + gap(0,3) = formatnumber(cdbl(gap(0,3)) + cdbl(gap(i,3)),2) + gap(0,6) = formatnumber(cdbl(gap(0,6)) + cdbl(gap(i,6)),2) + gap(i,7) = adors("job_confirm_yn") + If gap(i,7) = "Y" Then + job_confirm_yn = "Y" + End if + gap(i,8) = adors("insert_user") + gap(i,9) = adors("p_sv_name") + gap(i,10) = adors("p_sv_no") + gap(i,11) = adors("p_sv_main") + gap(i,12) = adors("p_sebu_code") + AdoRs.movenext + loop + else + AdoRs.close + query = "select in_time, out_time from neakeun_in_out_time "&VbCrlf + query = query & " where "&VbCrlf + query = query & " left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6) "&VbCrlf + query = query & " and [date] = '" & condate & "'"&VbCrlf + query = query & " and neakeun_name = '" & neakeun_name & "'"&VbCrlf + 'Response.Write query + AdoRs.open query, adoconn, adopenstatic, adlockreadonly + in_time = AdoRs("in_time") + out_time = AdoRs("out_time") + end if + AdoRs.close +%> + +
+ + +
+ + + + + + + + + + + + + + <%For i = 1 To Categori_Cnt%> + + + + + + + + + <% next %> + + + + + + + + + +
+ + ¿À´Ã³¯Â¥(<%=condate%>) ±âÁØÀ¸·Î ¼³Á¤µÇ¾î ÀÖ´Â ÇÁ·ÎÁ§Æ®, ¾÷¹«³»¿ëÀ» ¼±Åà °¡´É ÇÕ´Ï´Ù.
+ (ÇÁ·ÎÁ§Æ® ¹× ¾÷¹«³»¿ë, ±Ù¹«½ÃÀ۽ð£, Á¾·á½Ã°£Àº SV°¡ ÀÔ·ÂÀ» Çß¾î¾ß¸¸ ³ªÅ¸³³´Ï´Ù.
+ ±Ù¹«½Ã°£À» ÀÔ·Â ÇÒ¶§ 0.25´Â 15ºÐÀ̰í, 0.5´Â 30ºÐ, 0.75´Â 45ºÐÀ» ÀÇ¹Ì ÇÕ´Ï´Ù.
+ ¿¹) 2.25´Â 2½Ã°£ 15ºÐ À̰í, 5.5´Â 5½Ã°£ 30ºÐÀ̰í, 4.75´Â 4½Ã°£ 45ºÐ ÀÔ´Ï´Ù. +
+
´ëÇ¥SV
(¼±ÅÃX)
SVÇÁ ·Î Á§ Æ® ¸í¾÷¹«³»¿ë±Ù¹«½Ã°£¾÷¹«È®ÀÎ
À¯¹«
¾÷¹«È®ÀÎ
SV
+ "" and gap(i,11) = gap(i,10) then %> checked <%end if %> disabled="disabled"/> + + + + + + + + ÁÖ°£ : readonly <% end if %> style='width:50px;' OnKeyPress='onlyNum();' name='txtInTime'/> , + ¾ß°£ : readonly <% end if %> style='width:50px;' OnKeyPress='onlyNum();' name='txtOutTime'/> + + + <%=gap(i,7)%><%=gap(i,8)%>
ÇÕ      °è±Ù¹«ÀÎÁ¤½Ã°£ - ÁÖ°£ : , + ¾ß°£ : +
Á߽ļ®½Ä + + + + +
+ + + + + + + + + +
+ ÀÏÀÚ + + Ãâ±Ù½Ã°¢ "True" then %> readonly <% end if %> value ="<%=In_Time%>"> + + Åð±Ù½Ã°¢ "True" then %>readonly <% end if %> value ="<%=Out_Time%>"> + style="display:none;" <% End If %>> + <% if permanent_position = "True" then %> + + <% end if %> + style="display:none;" <% End If %>> + +   + + +
+ + + + + + + +
+
+<% End if %> +<%If permanent_position = "True" then %> +
+ +
+<%End If %> + + +<% %> + \ No newline at end of file diff --git a/nk/input_time_write.asp b/nk/input_time_write.asp new file mode 100644 index 0000000..035ce54 --- /dev/null +++ b/nk/input_time_write.asp @@ -0,0 +1,93 @@ + + +<% + dim neakeun_name + dim neakeun_jumin + Dim neakeun_id + dim Query + dim condate + dim time_chk 'Ãâ±Ù/Åð±Ù + dim ip_address + dim now_time + + condate = Request("condate") + neakeun_name = Request("neakeun_name") + neakeun_jumin = Request("neakeun_jumin") + neakeun_id = Request("neakeun_id") + permanent_position = Request("permanent_position") + + time_chk = Request("time_chk") + yoil = request("yoil") + ip_address = Request.ServerVariables("REMOTE_HOST") + + 'today = CDate("2023-02-14 17:58:02") + 'time2 = FormatDateTime(today, 4) + 'response.write "
time = "& time2 + + now_time = zeroformat(hour(time),2) & zeroformat(minute(time),2) + + 'response.write "
now_time = "& now_time &"
" + + if cint(now_time) >= 1200 and cint(now_time) < 1300 then + now_time = "1300" + end if + + If neakeun_id <> "" Then + if trim(time_chk) = "1" then 'Ãâ±Ù½Ã°¢ ½Å±ÔÀÔ·Â + query = "insert into neakeun_in_out_time " + query = query & "(neakeun_name,neakeun_jumin, [date], yoil, in_time,in_ip_addr, m_id) values (" + query = query & "'" & neakeun_name & "', " + query = query & "'" & neakeun_jumin & "', " + query = query & "'" & condate & "', " + query = query & "'" & yoil & "', " + query = query & "'" & now_time & "', " + query = query & "'" & ip_address & "', " + query = query & "'" & neakeun_id & "') " + else 'Åð±Ù½Ã°¢ update + query = "update neakeun_in_out_time set " + query = query & " out_time = '" & now_time & "', " + query = query & " all_time = cast((cast("& now_time &" as float)-1000)/100 as float), " + query = query & " add1 = case when cast(cast((cast("& now_time &" as float)-1000)/100 as float) as float)>7 then 1 else '' end, " + query = query & " add2 = case when cast(cast((cast("& now_time &" as float)-1000)/100 as float) as float)>10 then 1 else '' end, " + query = query & " out_ip_addr = '" & ip_address & "' " + query = query & " where neakeun_name = '" & neakeun_name & "'" + query = query & " and left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6)" + query = query & " and [date] = '" & condate & "'" + end if + + 'Response.Write query + 'response.end + + adoConn.Execute query + + Else + Response.Write "" + End If +%> + + + +³»±ÙÁ÷ ¾÷¹«ÀÏÁö ±â·Ï + + +
+ + + + + +
+ + + diff --git a/nk/neakeun_Login.asp b/nk/neakeun_Login.asp new file mode 100644 index 0000000..c8e2465 --- /dev/null +++ b/nk/neakeun_Login.asp @@ -0,0 +1,90 @@ + +<% +dim ip : ip = Request.ServerVariables("remote_host") +%> + + +Korea Research INTRANET + + + + + +
+


+

+ + + + + + + + + + + + + + + +
+ ³»±ÙÁ÷ +

+ + + + + + + +
¡Ø ³»±ÙÁ÷ ¾÷¹«ÀÏÁö ¡Ø
¡Ø ³»±ÙÁ÷ À̸§°ú »ý³â¿ùÀÏ(6ÀÚ¸®)·Î ·Î±×ÀÎ Çϼ¼¿ä ¡Ø
+
  +
+ ³»±ÙÁ÷ À̸§ + + +
+ »ý³â¿ùÀÏ(6ÀÚ¸®) + + +
+ +
+

+ + diff --git a/nk/neakeun_Login_ok.asp b/nk/neakeun_Login_ok.asp new file mode 100644 index 0000000..4744d86 --- /dev/null +++ b/nk/neakeun_Login_ok.asp @@ -0,0 +1,77 @@ + +<% + response.expires = 0 + dim Query + dim neakeun_name + dim neakeun_jumin + dim neakeun_id + dim err_msg + dim cnt + dim url + Dim permanent_position + + neakeun_name = Request.Form("txtid") + neakeun_jumin = Request.Form("txtPassword") + + permanent_position = false + +'------------------------------------------------------------------------------------------------------------------------ +'ÀÏ´Ü Á¤Á÷¿øÀ¸·Î ·Î±×ÀÎÀ» ÇØº¸°í + query = " select (CASE WHEN isnull(jumin_old,'') <> '' THEN left(isnull(jumin_old,''),6) " + query = query & " ELSE SUBSTRING( replace(birthday,'-',''),3,6) " + query = query & " END ) AS id " + query = query & " , * from person with(nolock) where p_pass_new = '" & neakeun_jumin & "' " + query = query & " and p_name = '" & neakeun_name & "' " + query = query & " and p_resign = 0 " + adoRs.Open query, adoconn, adopenstatic, adlockreadonly + + cnt = adoRs.recordcount + If cnt > 0 Then + permanent_position = true + neakeun_jumin = adoRs("id") + End if + adoRs.close +'------------------------------------------------------------------------------------------------------------------------ +' cnt = 0 + + if cnt <> 1 then '¾øÀ¸¸é ¸éÁ¢¿ø(³»±ÙÁ÷¿øÀ¸·Î ·Î±×ÀÎ) + 'Áֹεî·Ï¹øÈ£·Î ·Î±×ÀÎ ÇÏ´ø ºÎºÐÀ» »ý³â¿ùÀÏ·Î ¼öÁ¤~!!! + neakeun_jumin = Request.Form("txtPassword") & "0000000" + + query = "select * from man where " + query = query & " m_name = '" & neakeun_name & "' " + query = query & " and left(m_jumin, 6) = '" & mid(neakeun_jumin,1,6) & "' " + query = query & " and m_activity='Ȱµ¿' " + + adoRs.Open query, adoconn, adopenstatic, adlockreadonly + cnt = adoRs.recordcount + + if adoRs.recordcount > 0 then + neakeun_id = adoRs("id") + end if + + adoRs.close + end If + + + if cnt <> 1 then + Response.Clear + Response.Write "" + else' + Session("Login_Check") = "OK" + Session("neakeun_loginuser") = neakeun_name '»ç¿ëÀÚÀ̸§ + Session("neakeun_jumin") = neakeun_jumin '»ç¿ëÀÚ ÁֹιøÈ£ + + If permanent_position Then + url="input_time_2014.asp?permanent_position=" & permanent_position + Else + url="input_time_2014.asp?neakeun_name=" & escape(neakeun_name) & "&neakeun_jumin=" & neakeun_jumin &"&neakeun_id=" & neakeun_id + End if + + Response.Redirect url + End If + +%> \ No newline at end of file diff --git a/nk/neakeun_Logout.asp b/nk/neakeun_Logout.asp new file mode 100644 index 0000000..87fc068 --- /dev/null +++ b/nk/neakeun_Logout.asp @@ -0,0 +1,6 @@ +<% + Session("Login_Check") = "" + Session("neakeun_loginuser") = "" + Response.Redirect "neakeun_Login.asp" +%> + diff --git a/nk/sv_change_ajax.asp b/nk/sv_change_ajax.asp new file mode 100644 index 0000000..0773fbb --- /dev/null +++ b/nk/sv_change_ajax.asp @@ -0,0 +1,101 @@ + +<% + + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + If request("div") = "1" Then + Query = " select p_child_sn, p_subject from dbo.T_PROJECT_METHOD " + Query = Query & " where convert(int,left(p_child_sn,2))>=16 " + Query = Query & " and (p_field_complete is null or p_dp_complete is null) and p_progress_status >= '006' " '-- ½Ç»ç¿Ï·á(1), ¹Ì¿Ï·á(null) + Query = Query & " and " + Query = Query & " ':'+isnull(p_sv_1, '')+':'+isnull(p_sv_2, '')+':'+isnull(p_sv_3, '')+':'+isnull(p_sv_4, '')+" + Query = Query & " ':'+isnull(p_punch_1, '')+':'+isnull(p_punch_2, '')+':'+isnull(p_punch_3, '')+':'+isnull(p_punch_4, '')+" + Query = Query & " ':'+isnull(p_verify_1, '')+':'+isnull(p_verify_2, '')+':'+isnull(p_verify_3, '')+':'+isnull(p_verify_4, '')+" + Query = Query & " ':'+isnull(p_code_1, '')+':'+isnull(p_code_2, '')+':'+isnull(p_code_3, '')+':'+isnull(p_code_4, '')+':' " + Query = Query & " like ('%:" & request("sv") & ":%') " + Query = Query & " order by p_child_sn asc, p_subject asc " + + Rs.open Query, adoconn, adopenstatic, adlockreadonly + response.Write "" + If Rs.recordcount > 0 Then + For i = 1 To Rs.recordcount + response.Write "" + Rs.movenext + Next + Else + response.Clear + response.Write "NONE" + End if + Rs.close + + ElseIf request("div") = "2" Then + subQuery="" + If fnc_user_level("0", "³»±ÙÁ÷¾÷¹«1", request("sv")) = "1" Then ' AS, ÄÁÅÃ, ÇØµ¶¿ø, ÁøÇຸÁ¶ (1,3,8,9) + ¿¡µðÆÃ, ÄÚµù, ÆÝÄ¡ (2,4,7) --> S.V ##### 2018-02-23 ±èÁ¾ÈÖ + 'subQuery = " AND d_cost_code IN (1, 3/*, 8, 9*/) " + subQuery = " AND d_cost_code IN ('1', '2', '3', '7', '8', '9') " + ElseIf fnc_user_level("0", "³»±ÙÁ÷¾÷¹«2", request("sv")) = "1" Then ' ¿¡µðÆÃ, ÆÝÄ¡ (2,4,7) --> S.V ##### 2018-02-23 ±èÁ¾ÈÖ + subQuery = " AND d_cost_code IN ('2', '7') " + ElseIf fnc_user_level("0", "³»±ÙÁ÷¾÷¹«3", request("sv")) = "1" Then ' °ËÁõ, °¨Ã» (5,6) -->ÇÑÁø¼ö, ³»±ÙÁ÷¾÷¹«3(°ËÁõ, °¨Ã») ##### 2018-02-23 ±èÁ¾ÈÖ + subQuery = " AND d_cost_code IN ('5', '6') " + ' request("sv") => (p_sv_no) ³»±ÙÁ÷ Å×À̺í + ElseIf fnc_user_level("0", "³»±ÙÁ÷¾÷¹«4", request("sv")) = "1" Then ' ÄÚµù --> ±èÀ¯°æ(DP), ³»±ÙÁ÷¾÷ºÎ4(ÄÚµù) ##### 2018-02-23 ±èÁ¾ÈÖ + subQuery = " AND d_cost_code IN ('4') " + End if + + Query = " SELECT d_cost_code, d_cost_name FROM direct_costcode " + Query = Query & " WHERE d_cost_kind in ('field','dp') AND d_cost_useyn = 'Y' AND d_cost_parents = '2' " + Query = Query & " " & subQuery + Query = Query & " ORDER BY attribute01 " + + Rs.open Query, adoconn, adopenstatic, adlockreadonly + response.Write "" + If Rs.recordcount > 0 Then + For i = 1 To Rs.recordcount + response.Write "" + Rs.movenext + Next + Else + response.Clear + response.Write "NONE" + End if + Rs.close + ElseIf request("div") = "3" Then + subQuery="" + If fnc_user_level("0", "³»±ÙÁ÷¾÷¹«1", request("sv")) = "1" Then ' AS, ÄÁÅÃ, ÇØµ¶¿ø, ÁøÇຸÁ¶ (1,3,8,9) + ¿¡µðÆÃ, ÄÚµù, ÆÝÄ¡ (2,4,7) --> S.V ##### 2018-02-23 ±èÁ¾ÈÖ + 'subQuery = " AND d_cost_code IN (1, 3/*, 8, 9*/) " + subQuery = " AND d_cost_code IN ('1', '2', '3', '7', '8', '9') " + ElseIf fnc_user_level("0", "³»±ÙÁ÷¾÷¹«2", request("sv")) = "1" Then ' ¿¡µðÆÃ, ÆÝÄ¡ (2,4,7) --> S.V ##### 2018-02-23 ±èÁ¾ÈÖ + subQuery = " AND d_cost_code IN ('2', '7') " + ElseIf fnc_user_level("0", "³»±ÙÁ÷¾÷¹«3", request("sv")) = "1" Then ' °ËÁõ, °¨Ã» (5,6) -->ÇÑÁø¼ö, ³»±ÙÁ÷¾÷¹«3(°ËÁõ, °¨Ã») ##### 2018-02-23 ±èÁ¾ÈÖ + subQuery = " AND d_cost_code IN ('5', '6') " + ' request("sv") => (p_sv_no) ³»±ÙÁ÷ Å×À̺í + ElseIf fnc_user_level("0", "³»±ÙÁ÷¾÷¹«4", request("sv")) = "1" Then ' ÄÚµù --> ±èÀ¯°æ(DP), ³»±ÙÁ÷¾÷ºÎ4(ÄÚµù) ##### 2018-02-23 ±èÁ¾ÈÖ + subQuery = " AND d_cost_code IN ('4') " + End if + + Query = " SELECT d_cost_code, d_cost_name FROM direct_costcode " + Query = Query & " WHERE d_cost_kind in ('field','dp') AND d_cost_useyn = 'Y' AND d_cost_parents = '2' " + Query = Query & " " & subQuery + Query = Query & " ORDER BY attribute01 " + + Rs.open Query, adoconn, adopenstatic, adlockreadonly + response.Write "" + If Rs.recordcount > 0 Then + For i = 1 To Rs.recordcount + response.Write "" + Rs.movenext + Next + Else + response.Clear + response.Write "NONE" + End if + Rs.close + Else + response.Clear + response.Write "NONE" + End if +%> \ No newline at end of file diff --git a/nk/sv_work_insert.asp b/nk/sv_work_insert.asp new file mode 100644 index 0000000..9c345fe --- /dev/null +++ b/nk/sv_work_insert.asp @@ -0,0 +1,174 @@ + +<% + + +Dim neakeun_id +Dim neakeun_name : neakeun_name = Request("neakeun_name") +Dim neakeun_jumin : neakeun_jumin = Request("neakeun_jumin") +Dim txtDate : txtDate = Request("txtDate") +Dim txtyoil : txtyoil = Request("txtyoil") +Dim sv_ok : sv_ok = Request.Form("sv_ok") +Dim ip_address : ip_address = Request.ServerVariables("REMOTE_HOST") +Dim in_time : in_time = Request("in_time") +Dim out_time : out_time = Request("out_time") +Dim all_time, add1, add2 + + query = " Select * from project2.dbo.man where m_name='"&neakeun_name&"' and Left(m_jumin,6)='"&left(neakeun_jumin,6)&"'" + AdoRs.open Query, adoconn, adopenstatic, adlockreadonly + neakeun_id = AdoRs("id") + AdoRs.Close + + If sv_ok = "1" Then + + If out_time <> "" then + all_time = (Cint(out_time) - Cint(in_time))/100 + + If all_time >= 7 Then + add1 = "1" + Else + add1 = "0" + End If + If all_time >= 9 Then + add2 = "1" + Else + add2 = "0" + End If + End If + + Query = "" + Query = Query&" MERGE Into project2.dbo.neakeun_in_out_time as AA "&VbCrlf + Query = Query&" USING (select '"&neakeun_id&"' mid, '"&txtDate&"' mdate) as BB "&VbCrlf + Query = Query&" on AA.m_id = BB.mid and AA.date = BB.mdate "&VbCrlf + Query = Query&" When Matched Then "&VbCrlf + Query = Query&" Update set in_time='"&in_time&"', out_time='"&out_time&"', all_time='"&all_time&"', add1='"&add1&"', add2='"&add2&"' "&VbCrlf + Query = Query&" When Not Matched Then "&VbCrlf + Query = Query&" Insert (neakeun_name, neakeun_jumin, date, yoil, in_time, out_time, all_time, add1, add2, m_id, in_ip_addr) values "&VbCrlf + Query = Query&" ('"&neakeun_name&"','"&neakeun_jumin&"','"&txtDate&"','"&txtyoil&"','"&in_time&"','"&out_time&"','"&all_time&"','"&add1&"','"&add2&"','"&neakeun_id&"', '"&ip_address&"'); "&VbCrlf + adoConn.Execute Query + + + Response.Write "" + + End If + +%> + + + +ÃâÅð±Ù ÀÔ·Â + + + + + + + +
+
+

³»±ÙÁ÷/¸éÁ¢¿ø Ãâ/Åð±Ù ½Ã°£ ÀÔ·Â(SV¿ë)

+
+
+
+ À̸§ : +
+
+ »ý³â¿ùÀÏ : +
+
+ ÀÏÀÚ : +
+
+ Ãâ±Ù ½Ã°£ : +
+
+ Åð±Ù ½Ã°£ : +
+
+
+
+ <%=neakeun_name %> + + +
+
+ <%=left(neakeun_jumin,6) %> + +
+
+ <%=txtDate %> (<%=txtyoil %>) + + +
+
+ +
+
+ +
+ +
+
+ + +
+
+ + + \ No newline at end of file diff --git a/nk/work_delete.asp b/nk/work_delete.asp new file mode 100644 index 0000000..959be18 --- /dev/null +++ b/nk/work_delete.asp @@ -0,0 +1,63 @@ + +<%'#################################################### +'¼±ÅÃÇÑ ³»±ÙÁ÷ÀÇ ¼±ÅÃµÈ ÀÏÀÚÀÇ ³»±ÙÁ÷ ±Ùűâ·Ï »èÁ¦ÇϽà +'#################################################### +%> + + +<% + set rsp = server.CreateObject("ADODB.RECORDSET") + + Response.Expires = 0 + Response.Flush + + + dim neakeun_name + dim del_date + dim neakeun_jumin + dim Query + dim tmpstr + + neakeun_name = request("neakeun_name") + del_date = request("del_date") + neakeun_jumin = request("neakeun_jumin") + + Query = " select * " + Query = Query & " from T_NEAKEUN_PAY TNP LEFT JOIN project2.dbo.neakeun_work NW ON TNP.attribute01 = CONVERT(varchar(10), NW.id) " + Query = Query & " where TNP.work_dt = '" & del_date & "' " + Query = Query & " and TNP.m_name = '" & neakeun_name & "' " + Query = Query & " and LEFT(TNP.m_jumin,6) = left('" & neakeun_jumin & "', 6) " + Query = Query & " AND NW.in_time + '' + NW.out_time <> '00000000' " + + rsp.open query, adoConn, adopenstatic, adlockreadonly + if rsp.recordcount = 0 then + + Query = "delete FROM neakeun_work WHERE " + query = query & " [date] = '" & del_date & "' " + query = query & " and left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6)" + query = query & " and neakeun_name = '" & neakeun_name & "'" + Query = Query & " and in_time + '' + out_time <> '00000000' " + + adoconn.execute query + + tmpstr = neakeun_name & " ´ÔÀÇ " & del_date & " ÀÏÀÚÀÇ ³»±ÙÁ÷ ±ÙÅ ±â·Ï ÀüºÎ¸¦ »èÁ¦ ÇÏ¿´½À´Ï´Ù." + tmpstr = tmpstr & "\n\n¸¸¾à " & neakeun_name & " ´ÔÀÇ Pay¸¦ ÀÔ·ÂÇÏ¿´´Ù¸é" + tmpstr = tmpstr & "\n\nÇØ´ç ÇÁ·ÎÁ§Æ®ÀÇ Pay¸¦ »èÁ¦ÇÏ¿©¾ß ÇÕ´Ï´Ù." + tmpstr = tmpstr & "\n\n±×¸®°í " & neakeun_name & " ´ÔÀÌ ´Ù¸¥ ³¯¿¡ ±Ù¹«¸¦ ÇÏ¿´À» °æ¿ìµµ" + tmpstr = tmpstr & "\n\nÇØ´ç ÇÁ·ÎÁ§Æ®ÀÇ Pay¸¦ »èÁ¦ÈÄ ´Ù½Ã ÀÔ·ÂÇÏ¿©¾ß ÇÕ´Ï´Ù." + else + tmpstr = "ÀÏÁö³»¿ë »èÁ¦Çϴµ¥ ½ÇÆÐÇß½À´Ï´Ù" + tmpstr = tmpstr & "\n\n" & neakeun_name & " ´ÔÀÇ " & del_date & " ÀÏÀÚÀÇ ¾÷¹«ÀÏÁö°¡ confirmµÇ¾ú½À´Ï´Ù. SV¿¡°Ô ¹®ÀÇÇϼ¼¿ä." + end if + rsp.close + + Response.Write "" + + +%> + \ No newline at end of file diff --git a/nk/work_submit_save_2014.asp b/nk/work_submit_save_2014.asp new file mode 100644 index 0000000..8172ce2 --- /dev/null +++ b/nk/work_submit_save_2014.asp @@ -0,0 +1,101 @@ + + +<% + dim err_chk + dim neakeun_jumin + dim CurrDate + dim neakeun_name + dim txtyoil + dim p_child_sn + + Response.Expires = 0 + Response.Flush + + CurrDate= Request.form("txtDate") + neakeun_jumin = request("neakeun_jumin") + neakeun_name = request("neakeun_name") + permanent_position = request("permanent_position") + lunch_flag = request("lunch_flag") + dinner_flag = request("dinner_flag") + job_total_time = cDbl(trim(Request.form("txtInputTime"))) + cDbl(trim(Request.form("txtOutputTime"))) + p_work_st = trim(Request.form("txtStartTime")) + p_work_end = trim(Request.form("txtEndTime")) + job_in_time = Request.form("in_time") + job_out_time = Request.form("out_time") + main_sv = Request.Form("main_sv") + txtyoil = request("txtyoil") + Save_Ok=0 + + if trim(neakeun_name) = "" or trim(neakeun_jumin) = "" then + Save_Ok=1 + Response.Write "" + end if + if request.form("in_time") ="" or request.form("out_time") ="" then + Save_Ok=1 + Response.Write "" + end if + if Save_Ok = 0 then + Query = " DELETE FROM neakeun_work " '& Format(Depart_Code, "00") + Query = Query & " where left(neakeun_jumin, 6) = left('" & neakeun_jumin & "', 6)" + Query = Query & " and [date] = '" & CurrDate & "'" 'ÇöÀç º¸°íÀÚÇÏ´Â ³¯Â¥ + Query = Query & " and neakeun_name = '" & neakeun_name & "'" + Query = Query & " and in_time + out_time <> '00000000' " + Query = Query & " and isnull(job_confirm_yn, 'N') <> 'Y' " + + AdoConn.Execute Query 'ÀÏ´Ü Àִ°ÍÀº Áö¿ì°í + + for i=1 to 10 + tmpInTime= trim(Request.form("txtInTime")(i)) + If tmpInTime = "" Then + tmpInTime = "0" + End if + tmpOutTime= trim(Request.form("txtOutTime")(i)) + If tmpOutTime = "" Then + tmpOutTime = "0" + End if + + if (CDbl(tmpInTime) <> 0 or CDbl(tmpOutTime) <> 0) and request.form("job_confirm_yn")(i) <> "Y" then + Query = " INSERT INTO neakeun_work" + Query = Query & "(neakeun_jumin, neakeun_name, p_sn, p_sebu, [date], yoil, in_time, out_time, " + Query = Query & " job_in_time, job_out_time, job_jumal_time, insert_date, insert_time, insert_ip, p_sv_no, p_sv_main, " + Query = Query & " p_child_sn, p_sebu_code, job_start_time, job_end_time, job_total_time, job_lunch_yn, job_dinner_yn " + Query = Query & " ) VALUES (" + Query = Query & "'" & neakeun_jumin & "', " ' + Query = Query & "'" & neakeun_name & "', " ' + Query = Query & "'" & LEFT(Request.form("prj_code")(i), 7) & "', " ' + Query = Query & "'" & split(Request.form("prj_sebu")(i), "@")(1) & "', " ' + Query = Query & "'" & CurrDate & "', " ' ³¯Â¥ + Query = Query & "'" & txtyoil & "', " ' ³¯Â¥ + Query = Query & "'" & job_in_time & "', " ' + Query = Query & "'" & job_out_time & "', " ' + Query = Query & "" & formatnumber(cdbl(tmpInTime) + cdbl(tmpOutTime),2) & ", " ' + Query = Query & "" & formatnumber(tmpOutTime,2) & ", " ' + Query = Query & "" & 0 & ", " 'ÁÖ¸» 0 + Query = Query & "'" & formatdatetime(date,2) & "', " ' + Query = Query & "'" & FormatDateTime(time,4) & "', " ' + Query = Query & "'" & Request.ServerVariables("remote_host") & "', " '»ç¿ëÀÚ ip ¾Ë¾Æ³»±â + Query = Query & "'" & Request.form("sv_list")(i) & "', " ' ´ã´çSV + Query = Query & "'" & Request.form("sv_list")(i) & "', " ' ´ã´çSV '##### ´ëÇ¥ SV »èÁ¦ (2018-02-25 ±èÁ¾ÈÖ) + 'Query = Query & "'" & Request.form("sv_list")(cint(main_sv)) & "', " ' ´ã´çSV + Query = Query & "'" & Request.form("prj_code")(i) & "', " 'ÀÚ½Ä ÄÚµå ÀúÀå + Query = Query & "'" & split(Request.form("prj_sebu")(i), "@")(0) & "', " '¾÷¹«¼¼ºÎÄÚµå + Query = Query & "'" & p_work_st & "', " '±Ù¹«½ÃÀ۽ð£ + Query = Query & "'" & p_work_end & "', " '±Ù¹«Á¾·á½Ã°£ + Query = Query & "'" & job_total_time & "', " '±Ù¹«ÀÎÁ¤½Ã°£ + Query = Query & "'" & lunch_flag & "', " 'Á¡½É½Ä´ë + Query = Query & "'" & dinner_flag & "')" 'Àú³á½Ä´ë + AdoConn.Execute Query 'ÀúÀå + + end if + next + end if +%> + \ No newline at end of file diff --git a/nk/work_time_change_2014.asp b/nk/work_time_change_2014.asp new file mode 100644 index 0000000..a4df38b --- /dev/null +++ b/nk/work_time_change_2014.asp @@ -0,0 +1,84 @@ + + +<%'Ãâ±Ù ½Ã°¢ ¹× Åð±Ù½Ã°¢ ÀúÀå%> + + +<% + dim neakeun_name + dim neakeun_jumin + dim Query + dim condate + dim time_chk 'Ãâ±Ù/Åð±Ù + dim ip_address + dim now_time + + + + condate = Request("condate") + neakeun_name = Request("neakeun_name") + neakeun_jumin = Request("neakeun_jumin") + permanent_position = Request("permanent_position") + in_time = request("in_time") + out_time = request("out_time") + + + ip_address = Request.ServerVariables("REMOTE_HOST") + + query = " update neakeun_in_out_time " + query = query & " set in_time = '"& in_time &"', out_time = '"& out_time &"' " + query = query & " where neakeun_name = '"& neakeun_name &"' " + query = query & " and left(neakeun_jumin, 6) = left('"& neakeun_jumin &"', 6) " + query = query & " and date = '"& condate &"' " + + + Response.Write query + + adoConn.Execute query + +%> + + + + + + + + +³»±ÙÁ÷ ÃâÅð±Ù ½Ã°£ ¼öÁ¤ + +
+
+ + + + + + + + +
+ À̸§: + ÁÖ¹Î:
+
+
+ + + + + diff --git a/other/capi_device_log.asp b/other/capi_device_log.asp new file mode 100644 index 0000000..faf4297 --- /dev/null +++ b/other/capi_device_log.asp @@ -0,0 +1,61 @@ + +<% + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT ROW_NUMBER() OVER(ORDER BY D.ID) AS NO, D.ID, DU.ID as UID, D.T_DEVICE_MODEL, D.T_NO, " + query = query & " ISNULL(DU.P_CHILD_SN, '') AS P_CHILD_SN, " + query = query & " ISNULL(VPM.P_SUBJECT, '') AS P_SUBJECT, " + query = query & " ISNULL(DU.MAN_ID, '') AS MAN_ID," + query = query & " ISNULL(M.M_NAME, '') AS M_NAME," + query = query & " ISNULL(DU.USE_ST_DT, '') AS USE_ST_DT," + query = query & " ISNULL(DU.USE_ED_DT, '') AS USE_ED_DT," + query = query & " ISNULL(DU.D_NO, '') AS D_NO," + query = query & " ISNULL(DU.INSERT_USER, '') AS INSERT_USER," + query = query & " ISNULL(P.p_name, '') AS INSERT_USER_NAME," + query = query & " INSERT_DT, MODIFY_DT " + query = query & " FROM project2.dbo.T_DEVICE D" + query = query & " LEFT JOIN project2.dbo.T_DEVICE_USE DU ON D.ID = DU.DEVICE_ID" + query = query & " LEFT JOIN project2.dbo.V_PROJECT_METHOD VPM ON DU.P_CHILD_SN = VPM.p_child_sn" + query = query & " LEFT JOIN project2.dbo.man M ON DU.MAN_ID = M.new_id" + query = query & " LEFT JOIN project2.dbo.V_Person P ON DU.INSERT_USER = P.p_no " + query = query & " WHERE D.ID = " & device_id & " AND DU.USE_YN = 'N' " + query = query & " ORDER BY MODIFY_DT DESC " + + response.write "" + response.write "" + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write "" + Rs.Open query, adoConn, 1 + do while not Rs.eof + response.write "" + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write " " + response.write "" + Rs.movenext + loop + Rs.close + response.write "
ÇÁ·ÎÁ§Æ®¸éÁ¢¿ø´ë¿©±â°£´ë¿©½ÅûÀÚ±â·ÏÀϽÃ
[" & Rs("P_CHILD_SN") & "] " & Rs("P_SUBJECT") & "" + if Rs("MAN_ID") <> "" Then + response.write "[" & Rs("MAN_ID") & "] " & Rs("M_NAME") + End if + response.write "" & Rs("USE_ST_DT") & " ~ " & Rs("USE_ED_DT") & "" & Rs("INSERT_USER_NAME") & "" & Rs("MODIFY_DT") & "" + if Rs("INSERT_USER") = Cstr(Session("User_Number")) Then + response.write "" + End if + response.write "
" +%> \ No newline at end of file diff --git a/other/capi_device_log_del.asp b/other/capi_device_log_del.asp new file mode 100644 index 0000000..d0369d7 --- /dev/null +++ b/other/capi_device_log_del.asp @@ -0,0 +1,26 @@ + +<% + set dbin = server.CreateObject("ADODB.CONNECTION") + + use_id = request("use_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET USE_YN = '' " + query = query & " WHERE ID = " & use_id & " AND USE_YN = 'N' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/other/capi_device_man_reg.asp b/other/capi_device_man_reg.asp new file mode 100644 index 0000000..fd2702a --- /dev/null +++ b/other/capi_device_man_reg.asp @@ -0,0 +1,28 @@ + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + + man_id = request("man_id") + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET MAN_ID = '" & man_id & "' " + query = query & " WHERE DEVICE_ID = " & device_id & " AND USE_YN = 'Y' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/other/capi_device_mod.asp b/other/capi_device_mod.asp new file mode 100644 index 0000000..56a5d6f --- /dev/null +++ b/other/capi_device_mod.asp @@ -0,0 +1,61 @@ + +<% + set dbin = server.CreateObject("ADODB.CONNECTION") + + p_child_sn = request("p_child_sn") + use_ed_dt = request("use_ed_dt") + man_id = request("man_id") + device_id = request("device_id") + + if man_id = "" then + man_value = "MAN_ID" + else + man_value = "'" & man_id & "'" + end if + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT ID " + query = query & " FROM project2.dbo.T_DEVICE_USE " + query = query & " WHERE DEVICE_ID = " & device_id & " AND USE_YN = 'Y' " + + Rs.Open Query, adoConn, 1 + if Rs.recordCount > 0 then + row_id = Rs("ID") + else + row_id = "0" + end if + Rs.close + + if cint(row_id) > 0 then + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET USE_YN = 'N', MODIFY_DT = getdate() " + query = query & " WHERE ID = " & row_id & " " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + query = "" + query = query & " INSERT INTO project2.dbo.T_DEVICE_USE " + query = query & " (DEVICE_ID, P_CHILD_SN, USE_ST_DT, USE_ED_DT, MAN_ID, USE_YN, D_NO, MODIFY_DT, INSERT_DT, INSERT_USER) " + query = query & " SELECT " & device_id & ", '" & p_child_sn & "', USE_ST_DT, '" & use_ed_dt & "', " & man_value & ", 'Y', D_NO, getdate(), getdate(), INSERT_USER " + query = query & " FROM project2.dbo.T_DEVICE_USE " + query = query & " WHERE ID = " & row_id & " " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + + response.Write "1" + else + response.Write "0" + end if + end if +%> \ No newline at end of file diff --git a/other/capi_device_reg.asp b/other/capi_device_reg.asp new file mode 100644 index 0000000..906983e --- /dev/null +++ b/other/capi_device_reg.asp @@ -0,0 +1,69 @@ + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + + p_child_sn = URLDecode(request("p_child_sn")) + use_st_dt = request("use_st_dt") + use_ed_dt = request("use_ed_dt") + use_device_cnt = request("use_device_cnt") + use_device_id = request("use_device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT ID " + query = query & " FROM project2.dbo.V_DEVICE_STATUS " + query = query & " WHERE P_CHILD_SN = '' " + query = query & " AND ID IN (" & use_device_id & ")" + + Rs.Open Query, adoConn, 1 + + if Rs.recordcount < cint(use_device_cnt) Then + Rs.Close + response.Write "2" + response.End + End if + insertCnt = 0 + + now_year = Right(left(now(),4),2) + now_month = mid(now(),6,2) + now_day = mid(now(),9,2) + now_hour = right("0" & hour(now), 2) + now_minute = right("0" & minute(now), 2) + now_second = right("0" & second(now), 2) + now_micro = right("000" & (timer * 1000) Mod 1000, 3) + + d_no = "G" & now_year & now_month & now_day & now_hour & now_minute & now_second & now_micro ' ±×·ìID + + for k=1 To Rs.recordcount + query = "" + query = query & " INSERT INTO project2.dbo.T_DEVICE_USE " + query = query & " (DEVICE_ID, P_CHILD_SN, USE_ST_DT, USE_ED_DT, D_NO, USE_YN, MODIFY_DT, INSERT_DT, INSERT_USER) VALUES " + query = query & " (" & Rs("ID") & ", '" & p_child_sn & "', '" & use_st_dt & "', '" & use_ed_dt & "', '" & d_no & "', 'Y', getdate(), getdate(), '" & session("User_number") & "'); " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + insertCnt = insertCnt + 1 + + Rs.moveNext + Next + Rs.close + if insertCnt = cint(use_device_cnt) Then + response.Write "1" + else + response.Write "0" + end if + + function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing + end function +%> \ No newline at end of file diff --git a/other/capi_device_return.asp b/other/capi_device_return.asp new file mode 100644 index 0000000..f9eea69 --- /dev/null +++ b/other/capi_device_return.asp @@ -0,0 +1,27 @@ + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " UPDATE project2.dbo.T_DEVICE_USE " + query = query & " SET USE_YN = 'N', MODIFY_DT = getdate() " + query = query & " WHERE DEVICE_ID IN (" & device_id & ") AND USE_YN = 'Y' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i > 0 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/other/capi_device_status.asp b/other/capi_device_status.asp new file mode 100644 index 0000000..71e53ab --- /dev/null +++ b/other/capi_device_status.asp @@ -0,0 +1,895 @@ + + +<% + Dim query, p_no + p_no = session("User_Number") +%> + +
+ + +
+

CAPI ±â±â ¿¹¾à

+
+ + +
+
+
+
+
+
+
+
+ ÇÁ·ÎÁ§Æ® : + ´ë¿©½ÅûÀÚ : + ¸éÁ¢¿ø : +
+
Á¶È¸µÈ ±â±â ¼ö :
+
+ + +
+
+ <% + dim availity_device_cnt, chk_user + availity_device_cnt = 0 + query = "" + query = query & " SELECT NO, ID, T_DEVICE_MODEL, T_NO, T_PHONE_NO, P_CHILD_SN, P_SUBJECT, " + query = query & " MAN_ID, M_NAME, USE_ST_DT, USE_ED_DT, D_NO, INSERT_USER, INSERT_USER_NAME, " + query = query & " (SELECT COUNT(*) FROM project2.dbo.T_DEVICE_USE WHERE USE_YN = 'N' AND DEVICE_ID = VDS.ID) AS LOG_CNT " + query = query & " FROM project2.dbo.V_DEVICE_STATUS VDS " + query = query & " ORDER BY NO " + + adors.open query, adoconn, adopenstatic, adlockreadonly + %> + + + + + + + + + + + + + + + + <% + + Do While Not adors.Eof + chk_user = iif(adors("INSERT_USER") = cstr(session("User_Number")), true, false) ' insert_user¿Í ·Î±×ÀÎ À¯Àú°¡ °°À¸¸é true + + if adors("P_CHILD_SN") = "" then '´ë¿© °¡´ÉÇÑ ±â±âÀ϶§ + availity_device_cnt = availity_device_cnt + 1 + end if + %> + + + + + + + + + + + + + + <% + adors.MoveNext + Loop + %> +
NoÁ¾·ùÀåºñ¹øÈ£ÇÚµåÆù¹øÈ£ÇÁ·ÎÁ§Æ®¸éÁ¢¿ø´ë¿©½ÃÀÛÀϹݳ³¿¹Á¤ÀϼöÁ¤ / ¹Ý³³´ë¿©½ÅûÀÚ±â·Ï
<%=adors("NO")%>" name="DEVICE_ID"/><%=adors("T_DEVICE_MODEL")%><%=adors("T_NO")%><%=adors("T_PHONE_NO")%><%=iif(adors("P_CHILD_SN") = "", "", "[" & adors("P_CHILD_SN") & "] ")%><%=adors("P_SUBJECT")%><% + if adors("P_CHILD_SN") <> "" Then + if adors("MAN_ID") = "" Then + if chk_user = true Then + %>" onkeyup="if(event.keyCode==13){search_Name(this.value, '<%=adors("ID")%>');}" value="" placeholder="À̸§ + Enter"><% + End if + Else + %>[<%=adors("MAN_ID")%>] <%=adors("M_NAME")%><% + End if + End if + %><%=adors("USE_ST_DT")%><%=adors("USE_ED_DT")%><% + if adors("P_CHILD_SN") <> "" Then + if chk_user = true Then + %> + "/>  + "/><% + End if + end if + %><%=adors("INSERT_USER_NAME")%><% + if cint(adors("LOG_CNT")) > 0 then + %>"/><% + end if + %>
+
+
+ + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ®
´ë¿©±â°£ + + ~ + +
±â±â¼±Åà - ´ë¿©°¡´É¼ö·® : <%=availity_device_cnt%>
+
+
+
+
+
0 / <%=availity_device_cnt%>
+
+


+
+
+
¼±ÅÃÇÑ ¼ö·® : 0
+
+
+ <% + adors.close + %> +
+ + + + + + + + <% + Query = " SELECT p_child_sn, p_subject, p_method_nm, p_intention, ISNULL(D.T_name, '') as d_name " + Query = Query & " FROM V_PROJECT_METHOD VPM LEFT OUTER JOIN v_Department D " + Query = Query & " ON VPM.p_rsch_dept = D.before_t_cd1 " + Query = Query & " WHERE ISNULL(p_child_sn, '') <> '' " + Query = Query & " AND p_progress_status >= '006' " + Query = Query & " AND (p_research_complete + p_field_complete + p_dp_complete) IS NULL " + Query = Query & " AND ( " + Query = Query & " p_rsch_1_a = '" & p_no & "' OR p_rsch_2_a = '" & p_no & "' OR p_rsch_3_a = '" & p_no & "' OR p_rsch_4_a = '" & p_no & "' OR " + Query = Query & " p_rsch_1_b = '" & p_no & "' OR p_rsch_2_b = '" & p_no & "' OR p_rsch_3_b = '" & p_no & "' OR p_rsch_4_b = '" & p_no & "' OR " + Query = Query & " p_rsch_1_c = '" & p_no & "' OR p_rsch_2_c = '" & p_no & "' OR p_rsch_3_c = '" & p_no & "' OR p_rsch_4_c = '" & p_no & "' OR " + Query = Query & " p_sv_1 = '" & p_no & "' OR p_sv_2 = '" & p_no & "' OR p_sv_3 = '" & p_no & "' OR p_sv_4 = '" & p_no & "' OR " + Query = Query & " p_code_1 = '" & p_no & "' OR p_code_2 = '" & p_no & "' OR p_code_3 = '" & p_no & "' OR p_code_4 = '" & p_no & "' OR " + Query = Query & " p_verify_1 = '" & p_no & "' OR p_verify_2 = '" & p_no & "' OR p_verify_3 = '" & p_no & "' OR p_verify_4 = '" & p_no & "' OR " + Query = Query & " p_dp_1 = '" & p_no & "' OR p_dp_2 = '" & p_no & "' OR p_dp_3 = '" & p_no & "' OR p_dp_4 = '" & p_no & "' OR " + Query = Query & " p_it_1 = '" & p_no & "' OR p_it_2 = '" & p_no & "' OR p_it_3 = '" & p_no & "' OR p_it_4 = '" & p_no & "' OR " + Query = Query & " p_supp_1 = '" & p_no & "' OR p_supp_2 = '" & p_no & "' OR p_supp_3 = '" & p_no & "' OR p_supp_4 = '" & p_no & "' " + Query = Query & " ) " + Query = Query & " ORDER BY p_child_sn " + + + Rs.Open Query, adoConn, 1 + for i = 1 to Rs.RecordCount + %> + + + + + + + <% + Rs.MoveNext + next + Rs.Close + %> + + + +
ÇÁ·ÎÁ§Æ® ÄÚµåÇÁ·ÎÁ§Æ® ¸íÁ¶»ç¹æ¹ý´ã´çºÎ¼­
<%=Rs("p_child_sn")%>','<%=Rs("p_subject")%>')"><%=Rs("p_subject")%><%=Rs("p_method_nm")%><%=Rs("d_name")%>
Á÷Á¢ÀÔ·Â :
+
+
+ + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ®
¹Ý³³¿¹Á¤ÀÏ + +
¸éÁ¢¿ø   º¯°æ : ±âÁ¸ :
+ +
+
+
+
+
+
+ + + +
+ + + \ No newline at end of file diff --git a/other/company_seal.asp b/other/company_seal.asp new file mode 100644 index 0000000..61fffc9 --- /dev/null +++ b/other/company_seal.asp @@ -0,0 +1,247 @@ + + +<% +If tmp_support_chk = "1" Then + query = "" + query = query & " UPDATE T_COMPANY_SEAL " + query = query & " SET support_check = '1' " + query = query & " WHERE support_check = '0' " + + adoConn.Execute query +End If + +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if +searchtype = request("searchtype") +if searchtype = "" then + searchtype = "0" +end if +searchword = request("searchword") +%> + +
+ +
+

¹ýÀÎÀΰ¨ Áõ¸í¼­ ÀÏÁö

+
+ + +
+
+
+
+
+ + + + + + + + + + +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + <% + query = " SELECT TCS.id, cs_date, cs_client, cs_title, cs_status, P2.p_name as cs_status_name, " + query = query & " P.p_team_name as team_name, TCS.insert_date, P.p_name " + query = query & " FROM T_COMPANY_SEAL TCS " + query = query & " LEFT OUTER JOIN V_person P ON TCS.insert_user = P.p_no " + query = query & " LEFT OUTER JOIN person P2 ON TCS.cs_status_user = P2.p_no " + query = query & " WHERE TCS.use_div = '1' " + if searchtype = "0" then + query = query & "and cs_title like '%" & searchword & "%' " + elseif searchtype = "1" then + query = query & "and cs_client like '%" & searchword & "%' " + elseif searchtype = "2" then + query = query & "and P.p_name like '%" & searchword & "%' " + end if + query = query & " ORDER BY insert_date DESC " + + adors.Open query, adoConn, 1 + if adors.RecordCount > 0 then + adors.PageSize = 20 + PageCount = adors.PageCount + adors.absolutepage = tmp_Currentpage + tmp_total_record = adors.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * adors.PageSize) + + if adors.PageSize <= tmp_for then + if adors.RecordCount <= adors.PageSize then + tmp_for = adors.recordcount + else + tmp_for = adors.PageSize + end if + else + tmp_for = tmp_for + end if + + for i=1 To tmp_for + %> + + + + + + + + + + + + + + <% + adors.MoveNext + next + end if + %> +
No.Á¦ÃâÀÏÀÚÁ¦Ãâó°Ç ¸íºÎ¼­´ã´çÀÚ½ÅûÀÏÀڰ濵Àü·«½Ç È®ÀλèÁ¦
ÀÚµ¿»ý¼º + + + + + + + <%=session("Depart_name") %><%=session("loginuser") %>ÀÚµ¿»ý¼º
<%=adors("id")%><%=adors("cs_date")%><%=adors("cs_client")%><%=adors("cs_title")%><%=adors("team_name")%><%=adors("p_name")%><%=adors("insert_date")%> + <% + If adors("cs_status") = "0" Then + If session("Depart_Code") = "18" Then + %> + ','<%=tmp_currentpage %>','1');" /> + <% + End If + Elseif adors("cs_status") = "1" Then + %> + ºÒÃâ [<%=adors("cs_status_name") %>] + <% + Else + %> + <% + End If + %> + + <% If adors("cs_status") = "0" Then %> + ', '<%=tmp_currentpage %>','0');"/> + <%End If %> +
+
+
+ <%= Pagelist("company_seal.asp", tmp_currentpage, tmp_bcolor , "", pagecount, "&searchtype=" & searchtype & "&searchword=" & searchword) %> +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/company_seal_chk.asp b/other/company_seal_chk.asp new file mode 100644 index 0000000..16e5726 --- /dev/null +++ b/other/company_seal_chk.asp @@ -0,0 +1,35 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +ok = Request("ok") +id = request("id") +now_page = request("now_page") + +If ok="1" Then + query = " UPDATE T_COMPANY_SEAL " + query = query & " SET " + query = query & " cs_status = '1', cs_status_user = '" & session("User_Number") & "' " + query = query & " WHERE id = '" & id & "' " +else + query = " Delete from T_COMPANY_SEAL " + query = query & " WHERE id = '" & id & "' " +End If + +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + +
+ +
+ +<% +set dbin = nothing +%> \ No newline at end of file diff --git a/other/company_seal_ok.asp b/other/company_seal_ok.asp new file mode 100644 index 0000000..44bf31f --- /dev/null +++ b/other/company_seal_ok.asp @@ -0,0 +1,33 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +cs_div = request("cs_div") +cs_cli_prj = request("cs_cli_prj") +cs_client = request("cs_client") +cs_title = request("cs_title") +cs_date = request("cs_date") + +query = " INSERT INTO T_COMPANY_SEAL " +query = query & " (cs_date, cs_div, cs_cli_prj, cs_client, cs_title, cs_depart, insert_user) " +query = query & " VALUES " +query = query & " ('" & cs_date & "', " +query = query & " '" & cs_div & "', " +query = query & " '" & cs_cli_prj & "', " +query = query & " '" & cs_client & "', " +query = query & " '" & cs_title & "', " +query = query & " '" & session("Depart_Code") & "', " +query = query & " '" & session("User_Number") & "') " + +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + + +<% +set dbin = nothing +%> \ No newline at end of file diff --git a/other/delok.asp b/other/delok.asp new file mode 100644 index 0000000..946fcc6 --- /dev/null +++ b/other/delok.asp @@ -0,0 +1,38 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +workit = request("workit") +setYear_srp = Request("setYear_srp") +setMonth_srp = request("setMonth_srp") +p_rdate = request("p_rdate") +p_rstimecode = request("p_rstimecode") +p_retimecode = request("p_retimecode") +p_comment = request("p_comment_" & p_retimecode) +tmp_scode = request("tmp_scode") +p_sn = request("p_sn") + +query = "UPDATE [srp] " +query = query & "SET " +query = query & "p_delok='Y' " +query = query & "WHERE p_sn='" & p_sn & "' " +query = query & "AND p_delok='N' " + +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + +
+ + +
+ +<% +set dbin = nothing +%> \ No newline at end of file diff --git a/other/official_downloads.asp b/other/official_downloads.asp new file mode 100644 index 0000000..cc5f520 --- /dev/null +++ b/other/official_downloads.asp @@ -0,0 +1,10 @@ +<%@ Language=VBScript EnableSessionState="False"%> +<% +filepath = Server.MapPath("/") & "\upload\official\" +filename = request("filename") +'´Ù¿î·Îµå °³Ã¼»ý¼º +Set objDownload = Server.CreateObject("DEXT.FileDownload") +'objDownload.Download(filepath, ÆÄÀÏÀ̸§, °­Á¦ÀúÀåÀ¯¹«(True:°­Á¦ÀúÀå), À̾î¹Þ±â À¯¹«(True:À̾î¹Þ±â)) +objDownload.Download filepath & filename, filename, true, false +Set objDownload = Nothing +%> \ No newline at end of file diff --git a/other/official_list.asp b/other/official_list.asp new file mode 100644 index 0000000..1a4d6eb --- /dev/null +++ b/other/official_list.asp @@ -0,0 +1,272 @@ + + +<% + dim query + dim rsp + dim i + + + '########################################### + dim xmode : xmode=request.form("xmode") + dim xmode_ck + + select case xmode + + case "del" '-- »èÁ¦(¹Ì»ç¿ë)ó¸® + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + query = "" + query = query & " update dbo.T_OFFICIAL_NO set " + query = query & " use_div='0' " '-- ¹Ì»ç¿ë(0) + query = query & " where official_no='"&request.form("xcode")&"' " + query = query & " and use_div='1' " + dbin.Execute(query) + dbin.Close + xmode_ck="1" + + end select + + Dim file_del : file_del = Request("del") + + If file_del = "ok" then + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + query = "" + query = query & " update dbo.T_OFFICIAL_NO set " + query = query & " file_list='', " + query = query & " file_size='' " + query = query & " where official_no='"&request("xcode")&"' " + query = query & " and use_div='1' " + dbin.Execute(query) + dbin.Close + End If + '########################################### + if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") + else + tmp_currentpage = 1 + end if + searchtype = request("searchtype") + if searchtype = "" then + searchtype = "0" + end if + searchword = request("searchword") +%> + +
+ +
+

+
+ + +
+
+
+
+
+
+ + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + + + <% + query = ""&VbCrlf + query = query &" select d.T_Name, p.p_name, insert_user, official_no, official_date, official_client, official_title, official_etc, "&VbCrlf + query = query &" insert_date, Isnull(attribute01, '') as not_made, file_list, file_size, input_user "&VbCrlf + query = query &" from T_OFFICIAL_NO as t "&VbCrlf + query = query &" left join person p on t.insert_user = p.p_no "&VbCrlf + query = query &" left join v_Department d on p.p_depart = d.before_t_cd1 and (p.p_job_part = d.before_j_cd1 or p.p_job_part = d.before_j_cd2) "&VbCrlf + query = query &" where use_div='1' "&VbCrlf + if searchtype = "0" then + query = query & "and official_title like '%" & searchword & "%' " + elseif searchtype = "1" then + query = query & "and official_client like '%" & searchword & "%' " + elseif searchtype = "2" then + query = query & "and P.p_name like '%" & searchword & "%' " + end if + query = query &" ORDER BY official_no DESC "&VbCrlf + 'Response.Write query + adors.Open query, adoConn, 1 + if adors.RecordCount > 0 then + adors.PageSize = 10 + PageCount = adors.PageCount + adors.absolutepage = tmp_Currentpage + tmp_total_record = adors.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * adors.PageSize) + + if adors.PageSize <= tmp_for then + if adors.RecordCount <= adors.PageSize then + tmp_for = adors.recordcount + else + tmp_for = adors.PageSize + end if + else + tmp_for = tmp_for + end if + + for i=1 To tmp_for + tmp_etc = " " + If adors("official_etc") <> "" Then + tmp_etc = adors("official_etc") + End if + %> + + + + + + + + + + + <%If adors("not_made") = "1" Then %> + + + <%else '-- ¹ÌÁ¦ÃâÀÌ ¾Æ´Ñ°æ¿ì¸¸ [¼öÁ¤],[»èÁ¦] °¡´É(µî·ÏÀÚ¸¸)%> + <%if (trim(adors("insert_user"))=trim(session("User_Number"))) and (cdbl(replace(cstr(date),"-",""))= + + <%else %> + + <%end if%> + + <%end if %> + + + <% + adors.MoveNext + next + end if + %> +
°ø¹®¹øÈ£±âÁØÀÏŬ¶óÀÌ¾ðÆ®¸í°Ç ¸íºÎ¼­»ý¼ºÀÚ»ý¼º/¼öÁ¤ÀϺñ °í°ü ¸®ÆÄÀÏ
+ <% If (CDbl(session("User_Number")) = CDbl(adors("insert_user")) OR session("Depart_Code") = "18") And adors("not_made") = "" Then %> + ');"><%=adors("official_no")%> + <% Else %> + <%=adors("official_no")%> + <%If adors("not_made") = "1" Then %> +
(¹ÌÁ¦Ãâ) + <% End if %> + <%End if %>
<%=adors("official_date")%><%=adors("official_client")%><%=adors("official_title")%><%=adors("T_name")%><%=adors("p_name")%><%=replace(adors("insert_date"), " ¿À", "
¿À")%>
<%=tmp_etc%> - + <%If adors("file_list")<>"" Then%> + " style="cursor:pointer;">
+ " style="cursor:pointer;" onclick="javascript:if(!confirm('»èÁ¦ÇϽðڽÀ´Ï±î?')){return false;}">ÆÄÀÏ»èÁ¦ + <%end if%> +
');" >ºñ°í¶õ ¼öÁ¤- + <%If adors("file_list")="" or adors("file_list")&""=""Then%> + ','<%=adors("official_client") %>','<%=adors("official_title") %>','<%=adors("T_name") %>','<%=adors("p_name") %>')"> + <%Else %> + " style="cursor:pointer;">
+ " style="cursor:pointer;" onclick="javascript:if(!confirm('»èÁ¦ÇϽðڽÀ´Ï±î?')){return false;}">ÆÄÀÏ»èÁ¦ + <%End If %> +
+ <%= Pagelist("official_list.asp", tmp_currentpage, tmp_bcolor , "", pagecount, "") %> +
+
+
+
+
+
+
+ + + + <%if xmode_ck<>"" then %> + + <%end if%> +
+ + \ No newline at end of file diff --git a/other/official_list_edit.asp b/other/official_list_edit.asp new file mode 100644 index 0000000..97bfd43 --- /dev/null +++ b/other/official_list_edit.asp @@ -0,0 +1,90 @@ + + +<% + dim query + dim p_cd : p_cd=request.item("p_cd") + + query = " select * from dbo.T_OFFICIAL_NO " + query = query & " where official_no='"&p_cd&"' " + query = query & " and use_div='1' " '-- »ç¿ë(1) + adors.Open query, adoConn, 1 + if adors.eof then + response.write "Á¶È¸µÈ ³»¿ëÀÌ ¾ø½À´Ï´Ù. ITÆÀ¿¡ ¹®ÀÇÇÏ¿© Áֽñ⠹ٶø´Ï´Ù " + response.end + end if +%> + +
+ +
+

+
+ + +
+
+
+
+
+
+ " /> + + + + + + + + + + + + + + + + + + + + + + + +
+ °ø¹®³»¿ë ¼öÁ¤
°ø¹® ¹øÈ£ <%=adors("official_no")%>
°ø¹® Á¦¸ñ <%=adors("official_title")%>
+ Ŭ¶óÀÌ¾ðÆ®¸í <%=adors("official_client")%> + °ø¹® ±âÁØÀÏ <%=adors("official_date")%>
ºñ °í + +
+ +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/official_list_edit_save.asp b/other/official_list_edit_save.asp new file mode 100644 index 0000000..602815d --- /dev/null +++ b/other/official_list_edit_save.asp @@ -0,0 +1,21 @@ + +<% +'##### ¼ö Á¤ ################################### +set dbin = server.CreateObject("ADODB.CONNECTION") +dbin.Open adoConn + +Dim query +query = "" +query = query&" update dbo.T_OFFICIAL_NO set " +query = query&" official_etc='"&request("official_etc")&"' " +query = query&" where official_no='"&request("official_no")&"' " '-- °ø¹®¹øÈ£ +query = query&" and use_div='1' " '-- »ç¿ë + +dbin.Execute(query) +dbin.Close +%> + \ No newline at end of file diff --git a/other/official_no_gen.asp b/other/official_no_gen.asp new file mode 100644 index 0000000..1142c64 --- /dev/null +++ b/other/official_no_gen.asp @@ -0,0 +1,199 @@ + + +<% + dim query + dim official_no + official_no = request("official_no") + + dim official_title + dim official_client + dim official_date + dim official_etc +%> + +
+ +
+

°ø¹® ¹øÈ£ »ý¼º±â

+
+ + +
+
+
+
+
+
+ + + + + + + + <% + If official_no = "" Then + %> + + + + + + + <% + Else + %> + + + + <% + End If + %> +
+ °ø¹® ¹øÈ£ »ý¼º±â ÀÔ´Ï´Ù. ¹øÈ£´Â KRI-³â¿ùÀÏ-¼ø¹øÀ¸·Î »ý¼ºµË´Ï´Ù. (¿¹ : 2018³â 1¿ù±îÁö -> KRI-20161128-01, 2019³â 02¿ù ÀÌÈÄ -> KRI-20190220-01)
+ ¡Ø ¹øÈ£´Â »ý¼ºÇϱ⠹öư Ŭ¸¯ ÈÄ »ý¼ºµË´Ï´Ù.
+ ¡Ø °ø¹® Á÷ÀÎ ³¯ÀÎ ÈÄ º¸°üÀ» À§ÇØ »çº»À» °æ¿µÀü·«½Ç¿¡ Á¦Ãâ ¹Ù¶ø´Ï´Ù.
+ ¡Ø [¹ÌÁ¦Ãâ]°ÇÀº »ý¼ºÀÚ°¡ °ø¹®¹øÈ£ÀÇ ÇÏÀÌÆÛ¸µÅ©¸¦ Ŭ¸¯ÇÏ¿© [¹ÌÁ¦Ãâ] 󸮸¦ ÇÒ ¼ö ÀÖ½À´Ï´Ù. +
+ + + + + <% + official_title = "" + official_client = "" + official_date = "" + official_etc = "" + + If official_no <> "" Then + %> + + + + + <% + query = "" + query = query & " SELECT official_date, official_client, official_title, official_etc " + query = query & " FROM T_OFFICIAL_NO " + query = query & " WHERE official_no = '" & official_no & "' " + query = query & " AND use_div = '1' " + + adors.open query, adoConn, adopenstatic, adlockreadonly + If adors.recordCount = 1 Then + official_title = adors("official_title") + official_client = adors("official_client") + official_date = adors("official_date") + official_etc = adors("official_etc") + End If + adors.close + End If + %> + + + + + + + + + + + + + + +
°ø¹® ¹øÈ£ »ý¼º±â
°ø¹® ¹øÈ£ + +
°ø¹® Á¦¸ñ + "" Then %> readonly <% End If %> /> +
Ŭ¶óÀÌ¾ðÆ®¸í + <% + If official_date = "" Then + %> + + + <% + End If + %> + width:100%;<% Else %>width:90%;cursor:pointer;<% End If %>" name="official_client" id="official_client" value='<%=official_client %>' <% If official_client = "" Then %> onclick="c_prj_sel('official_div', 'official_cli_prj', 'official_client');" <% End If %> readonly /> + <% + If official_date = "" Then + %> + + <% + End If + %> + °ø¹® ±âÁØÀÏ + class='selectDate' <% End If %> readonly /> +
ºñ °í + "" Then %> readonly <% End If %> /> +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/official_no_gen_ok.asp b/other/official_no_gen_ok.asp new file mode 100644 index 0000000..411f43b --- /dev/null +++ b/other/official_no_gen_ok.asp @@ -0,0 +1,46 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") +dbin.Open adoConn + +Dim query +query = "" +query = query & " SET NOCOUNT ON;insert into T_OFFICIAL_NO (official_no, official_date, official_div, official_cli_prj, official_client, official_title, official_etc, official_team, insert_user) values " +query = query & " ( " +'@@@@@@@@@@@@ °ø¹® ¹øÈ£ MAX + 1 ÀÛ¾÷ @@@@@@@@@@@@ +query = query & " (SELECT 'KRI-' + REPLACE('" & request("official_date") & "', '-', '') + '-' + " +query = query & " (SELECT ISNULL(RIGHT('0'+convert(varchar(2), convert(int, MAX(RIGHT(official_no, 2)))+1), 2), '01') " +query = query & " FROM T_OFFICIAL_NO WHERE official_date = '" & request("official_date") & "' AND use_div in ('0','1'))) , " '-- »èÁ¦ÇÑ °ø¹®ÄÚµå(0) µµ Áߺ¹¾ÈµÇµµ·Ï Ãß°¡ÇÔ(»ç¿ë(1)/»èÁ¦(0) +'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +query = query & " '" & request("official_date") & "', '" & request("official_div") & "', '" & request("official_cli_prj") & "', '" & request("official_client") & "', " +query = query & " '" & request("official_title") & "', '" & request("official_etc") & "', " +query = query & " '" & session("Depart_Code") & "', '" & session("User_Number") & "' " +query = query & " ) " +query = query & " SET NOCOUNT OFF; SELECT SCOPE_IDENTITY() ID; " + +Dim rsp +Dim id +Dim official_no +set rsp = dbin.Execute(query) +id = rsp("id") +rsp.Close + +query = "" +query = query & " SELECT official_no FROM T_OFFICIAL_NO WHERE id = '" & id & "' " +rsp.open query, adoConn, adopenstatic, adlockreadonly +official_no = rsp("official_no") +rsp.Close +dbin.Close +%> + + + +
+ +
+ \ No newline at end of file diff --git a/other/official_no_notMade.asp b/other/official_no_notMade.asp new file mode 100644 index 0000000..20bfa5c --- /dev/null +++ b/other/official_no_notMade.asp @@ -0,0 +1,16 @@ + +<% + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " Update T_OFFICIAL_NO SET " + query = query & " attribute01 = '1' " + query = query & " Where Official_no = '" & Request("official_no") & "' " + + adoConn.execute query + + Response.Write "1" +%> \ No newline at end of file diff --git a/other/official_upload.asp b/other/official_upload.asp new file mode 100644 index 0000000..71a86fa --- /dev/null +++ b/other/official_upload.asp @@ -0,0 +1,207 @@ + + +<% +dim attach_file +dim FileSizeCheck +dim xup +dim countfilename +dim fileattach, filename, fileNameTemp, file , ext, filesize, bExist, upd +dim official_no : official_no = Request("official_no") +dim official_client : official_client = Request("official_client") +dim official_title : official_title = Request("official_title") +dim team_name : team_name = Request("team_name") +dim p_name : p_name = Request("p_name") +Dim FilePath + +'¾÷·Îµå¿ë °´Ã¼¸¦ »ý¼ºÇÏ´Â ºÎºÐÀÔ´Ï´Ù. +Set xup = Server.CreateObject("SiteGalaxyUpload.Form") + +' ÆÄÀÏ °ü·Ã ±âº» ÄÞÆ÷³ÍÆ®¸¦ »ý¼ºÇÏ´Â ºÎºÐÀÔ´Ï´Ù. +set fso = server.createobject("scripting.filesystemobject") + +'¸ðµç ÆûÀÇ requestµÈ °ªÀº »çÀÌÆ®°¶·°½Ã¿¡¼± ¾Æ·¡¿Í °°ÀÌ ¹Þ¾Æ¾ß ÇÕ´Ï´Ù. + +dim aa_official_no : aa_official_no = xup("official_no") +a_input_user = session("User_Number") + +FileSizeCheck = 1 '¾÷·ÎµåÆÄÀÏÀÇ Å©±â°¡ ÀÏ´ÜÀº 5MbyteÀÌÇ϶ó°í °¡Á¤ + +' ÆÄÀÏÀ» ¾÷·ÎµåÇßÀ» °æ¿ìÀÔ´Ï´Ù. + +fileattach = xup("txtFileName") +If fileattach <> "" then + + ' ÀúÀåÇÒ µð·ºÅ丮ÀÔ´Ï´Ù. nt°èÁ¤À̶ó¸é ´ç±Ù everyone °èÁ¤¿¡ write ÆÛ¹Ì¼ÇÀÌ ÀÖ¾î¾ß °ÚÁÒ...^^ + upd = Server.MapPath("/") & "\upload\official\" + + 'Æú´õ°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì ¸¸µê + If (fso.FolderExists(upd)) Then + else + fso.CreateFolder(upd)' ÇØ´ç Æú´õ°¡ ¾øÀ» °æ¿ì + End If + + attach_file = fileattach.FilePath + + ' ¿Ã¸®´Â ÆÄÀÏÀ̸§¸¸ »Ì¾Æ³»´Â ºÎºÐÀÔ´Ï´Ù. ÀÌÀ¯¾ß »·È÷ Áߺ¹ÆÄÀÏÀ» 󸮸¦ À§Çؼ­ÁÒ...^^ + filename = Mid(attach_file, instrRev(attach_file, "\") + 1) + filename = aa_official_no&"_"&filename + ' ÆÄÀÏ À̸§¸¸ ±¸ÇÕ´Ï´Ù. + file = Mid(filename, 1, instr(filename, ".") - 1) + + 'Response.Write filename&"///"&file + 'Response.End + + ' ÆÄÀÏ È®ÀåÀÚ¸¦ ±¸ÇÕ´Ï´Ù. + ext = Mid(filename, instr(filename, ".") + 1) + + ' ÀúÀåÇÒ ÆÄÀÏÀÇ ¿ÏÀüÇÑ À̸§À» Àӽà º¯¼ö¿¡ ÀúÀåÇÕ´Ï´Ù. + fileNameTemp = upd & filename + + bExist = True + + ' ÆÄÀÏÀÌ Á¸ÀçÇÒ °æ¿ì, À̸§ µÚ¿¡ ºÙÀÏ °ÍÀÔ´Ï´Ù. ´Ü¼øÈ÷ 0ºÎÅÍ 1¾¿ Áõ°¡ÇÕ´Ï´Ù. + countfilename = 0 + + While bExist + ' ÆÄÀÏÀÌ ÀÖÀ¸¸é, ¿©±â·Î µé¾î ¿Í¼­ ÆÄÀÏ À̸§¿¡ ¼ýÀÚ¸¦ ºÙÀÎ »õ·Î¿î ÆÄÀÏ À̸§ »ý¼ºÇÕ´Ï´Ù. + If (fso.FileExists(fileNameTemp)) Then + countfilename = countfilename + 1 + fileNameTemp = upd & file & "_v" & countfilename & "." & ext + filename = file & "_v" & countfilename & "." & ext + ' ÆÄÀÏÀÌ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì + Else + bExist = False + End if + Wend + ' FileSystemObject¸¦ ´Ý¾ÆÁÝ´Ï´Ù. + 'Set fso = nothing + + ' À§¿¡¼­ ±¸ÇÑ ÆÄÀÏÀÇ Å©±â¸¦ ±¸ÇÕ´Ï´Ù. + filesize = fileattach.Size + '204800 = 200kb + '5 * 200kb = 1mb + '204800 * 5 = 1024000(1Mbyte) + if filesize > 20480000 then '20Mbyte + FileSizeCheck = 0 + else + FileSizeCheck = 1 + ' ÆÄÀÏÀ» ½ÇÁ¦·Î ¾÷·Îµå ¹Þ½À´Ï´Ù. + fileattach.SaveAs fileNameTemp + end if + + if FileSizeCheck = 1 then + query = "" + query = query & " update T_OFFICIAL_NO set " + query = query & " file_list = '" & filename & "', " + query = query & " file_size = '" & filesize & "', " + query = query & " input_user = '" & a_input_user & "' " + query = query & " where official_no = '" & aa_official_no &"' " + + 'Response.Write query + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + 'Alert_Back("ÆÄÀÏ ¾÷·Îµå ¼º°ø") + end if + + ' ÆÄÀÏ ¾÷·Îµå¸¦ ¾ÈÇßÀ» °æ¿ìÀÔ´Ï´Ù. +Else '' If fileattach <> "" then + filesize = 0 + filename = "" +End if + +'''log db¿¡ ¾²±â + +set xup = nothing +set fso = nothing + +if filename <> "" Then +%> + +<% +End If +if FileSizeCheck = 0 then '¾÷·Îµå ÆÄÀÏÀÇ Å©±â°¡ 5Mbyte ÀÌ»óÀ̸é + Alert_Back("÷ºÎ ÆÄÀÏÀÇ Å©±â°¡ 20Mbyteº¸´Ù Ä¿¼­ ÀúÀåÀÌ µÇÁö ¾Ê½À´Ï´Ù") +End If +%> + +
+ +
+

°ø¹® ¹øÈ£ »ý¼º±â

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
°ø¹®ÆÄÀÏ ¾÷·Îµå (PDF)
°ø¹®¹øÈ£  <%=official_no %>
°í°´¸í  <%=official_client %>
Á¦¸ñ  <%=official_title %>
´ã´ç ºÎ¼­  <%=team_name %>
°ø¹®¹øÈ£ »ý¼ºÀÚ  <%=p_name %>
ÆÄÀÏ ¾÷·Îµå
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/password_Change.asp b/other/password_Change.asp new file mode 100644 index 0000000..195583e --- /dev/null +++ b/other/password_Change.asp @@ -0,0 +1,82 @@ + + + +
+ +
+

¾ÏÈ£ º¯°æ

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + +
Èñ¸ÁÇϽô ºñ¹Ð¹øÈ£¸¦ ±âÀÔÇØ Áֽʽÿä.
½Å±Ô ºñ¹Ð¹øÈ£
ºñ¹Ð¹øÈ£ ÀçÀÔ·Â
+
+ * Ư¼ö¹®ÀÚ(!@#$%^&+=) / ¿µ¹® / ¼ýÀÚ Æ÷ÇÔ ÇüÅÂÀÇ 6~15ÀÚ¸® À̳»·Î ¼³Á¤ÇϽʽÿÀ. + * KON¿¡ ·Î±×ÀÎ ÇϽ÷Á¸é ºñ¹Ð¹øÈ£ 6ÀÚ¸® ÀÌ»óÀ¸·Î º¯°æÇϽñ⠹ٶø´Ï´Ù. +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/password_Change_ok.asp b/other/password_Change_ok.asp new file mode 100644 index 0000000..a2427de --- /dev/null +++ b/other/password_Change_ok.asp @@ -0,0 +1,18 @@ + +<% + change_pwd = Request.Form("txtPassword_new1") + + Query = "update person set p_pass =convert(varbinary(50),pwdencrypt('" & change_pwd & "')), " + query = query & " p_pass_new = '" & change_pwd & "' " + query = query & " where p_no = '" & Session("user_number") & "'" + 'Response.Write query & "
" + + adoconn.execute query + Session.Abandon + response.Cookies("p_no") = "" + response.Cookies("p_ip") = "" +%> + \ No newline at end of file diff --git a/other/rent_device_log.asp b/other/rent_device_log.asp new file mode 100644 index 0000000..adea228 --- /dev/null +++ b/other/rent_device_log.asp @@ -0,0 +1,45 @@ + +<% + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " SELECT ROW_NUMBER() OVER(ORDER BY D.ID) AS NO, D.ID, DU.ID as UID, D.T_RENT_DEVICE_MODEL, " + query = query & " ISNULL(DU.P_CHILD_SN, '') AS P_CHILD_SN, " + query = query & " ISNULL(VPM.P_SUBJECT, '') AS P_SUBJECT, " + query = query & " ISNULL(DU.USE_ST_DT, '') AS USE_ST_DT," + query = query & " ISNULL(DU.USE_ED_DT, '') AS USE_ED_DT," + query = query & " ISNULL(DU.INSERT_USER, '') AS INSERT_USER," + query = query & " ISNULL(P.p_name, '') AS INSERT_USER_NAME," + query = query & " INSERT_DT, MODIFY_DT " + query = query & " FROM project2.dbo.T_RENT D" + query = query & " LEFT JOIN project2.dbo.T_RENT_USE DU ON D.ID = DU.RENT_DEVICE_ID" + query = query & " LEFT JOIN project2.dbo.V_PROJECT_METHOD VPM ON DU.P_CHILD_SN = VPM.p_child_sn" + query = query & " LEFT JOIN project2.dbo.V_Person P ON DU.INSERT_USER = P.p_no " + query = query & " WHERE D.ID = " & device_id & " AND DU.USE_YN = 'N' " + query = query & " ORDER BY MODIFY_DT DESC " + + response.write "" + response.write "" + response.write " " + response.write " " + response.write " " + response.write " " + response.write "" + Rs.Open query, adoConn, 1 + do while not Rs.eof + response.write "" + response.write " " + response.write " " + response.write " " + response.write " " + response.write "" + Rs.movenext + loop + Rs.close + response.write "
ÇÁ·ÎÁ§Æ®´ë¿©±â°£´ë¿©½ÅûÀÚ±â·ÏÀϽÃ
[" & Rs("P_CHILD_SN") & "] " & Rs("P_SUBJECT") & "" & Rs("USE_ST_DT") & " ~ " & Rs("USE_ED_DT") & "" & Rs("INSERT_USER_NAME") & "" & Rs("MODIFY_DT") & "
" +%> \ No newline at end of file diff --git a/other/rent_device_reg.asp b/other/rent_device_reg.asp new file mode 100644 index 0000000..b0069d9 --- /dev/null +++ b/other/rent_device_reg.asp @@ -0,0 +1,35 @@ + +<% + set dbin = server.CreateObject("ADODB.CONNECTION") + + function URLDecode(str) + Dim objScript + Set objScript = Server.CreateObject("ScriptControl") + objScript.Language = "JavaScript" + URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))") + Set objScript = Nothing + end function + p_child_sn = URLDecode(request("p_child_sn")) + use_st_dt = request("use_st_dt") + use_ed_dt = request("use_ed_dt") + use_device_id = request("use_device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + query = "" + query = query & " INSERT INTO project2.dbo.T_RENT_USE " + query = query & " (RENT_DEVICE_ID, P_CHILD_SN, USE_ST_DT, USE_ED_DT, USE_YN, MODIFY_DT, INSERT_DT, INSERT_USER) VALUES " + query = query & " (" & use_device_id & ", '" & p_child_sn & "', '" & use_st_dt & "', '" & use_ed_dt & "', 'Y', getdate(), getdate(), '" & session("User_number") & "'); " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i = 1 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/other/rent_device_return.asp b/other/rent_device_return.asp new file mode 100644 index 0000000..787c412 --- /dev/null +++ b/other/rent_device_return.asp @@ -0,0 +1,26 @@ + +<% + set dbin = server.CreateObject("ADODB.CONNECTION") + + device_id = request("device_id") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = "" + query = query & " UPDATE project2.dbo.T_RENT_USE " + query = query & " SET USE_YN = 'N', MODIFY_DT = getdate() " + query = query & " WHERE RENT_DEVICE_ID = " & device_id & " AND USE_YN = 'Y' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i = 1 Then + response.Write "1" + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/other/rent_device_status.asp b/other/rent_device_status.asp new file mode 100644 index 0000000..21a6300 --- /dev/null +++ b/other/rent_device_status.asp @@ -0,0 +1,337 @@ + + +<% + Dim query, p_no + p_no = session("User_Number") +%> + +
+ + +
+

Àü»ê ±â±â ´ë¿©

+
+ + +
+
+
+
+
+
+ <% + dim chk_user + + query = "" + query = query & " SELECT NO, ID, T_RENT_DEVICE_MODEL, T_RENT_DEVICE_NUM, DEVICE_INFO, DEVICE_ETC, P_CHILD_SN, P_SUBJECT, " + query = query & " USE_ST_DT, USE_ED_DT, INSERT_USER, INSERT_USER_NAME, " + query = query & " (SELECT COUNT(*) FROM project2.dbo.T_RENT_USE WHERE USE_YN = 'N' AND RENT_DEVICE_ID = VDS.ID) AS LOG_CNT " + query = query & " FROM project2.dbo.V_RENT_STATUS VDS " + query = query & " order by T_RENT_DEVICE_MODEL asc , convert(int,T_RENT_DEVICE_NUM) asc " + + adors.open query, adoconn, adopenstatic, adlockreadonly + %> + + + + + + + + + + + + + <% + + Do While Not adors.Eof + chk_user = iif(adors("INSERT_USER") = cstr(session("User_Number")), true, false) ' insert_user¿Í ·Î±×ÀÎ À¯Àú°¡ °°À¸¸é true + %> + + + + + + + + + + + + <% + adors.MoveNext + Loop + %> +
NoÁ¾·ù¼³¸íÇÁ·ÎÁ§Æ®´ë¿©½ÃÀÛÀϹݳ³¿¹Á¤ÀÏ´ë¿© / ¹Ý³³´ë¿©½ÅûÀÚ±â·Ï
<%=adors("NO")%>" name="DEVICE_ID"/><% if adors("T_RENT_DEVICE_NUM") <> "" then %><%=adors("T_RENT_DEVICE_NUM")%>¹ø <% end if %><%=adors("T_RENT_DEVICE_MODEL")%><%=adors("DEVICE_INFO")%><%=iif(adors("P_CHILD_SN") = "", "", "[" & adors("P_CHILD_SN") & "] ")%><%=adors("P_SUBJECT")%><%=adors("USE_ST_DT")%><%=adors("USE_ED_DT")%><% + if adors("P_CHILD_SN") <> "" Then + if chk_user = true Then + %> + "/><% + End if + else + %> + + <% + end if + %><%=adors("INSERT_USER_NAME")%><% + if cint(adors("LOG_CNT")) > 0 then + %>"/><% + end if + %>
+
+ <% + adors.close + %> +
+ + + + + + + + <% + Query = " SELECT p_child_sn, p_subject, p_method_nm, p_intention, ISNULL(D.T_name, '') as d_name " + Query = Query & " FROM V_PROJECT_METHOD VPM LEFT OUTER JOIN v_Department D " + Query = Query & " ON VPM.p_rsch_dept = D.before_t_cd1 " + Query = Query & " WHERE ISNULL(p_child_sn, '') <> '' " + Query = Query & " AND p_progress_status >= '006' " + Query = Query & " AND (p_research_complete + p_field_complete + p_dp_complete) IS NULL " + Query = Query & " AND ( " + Query = Query & " p_rsch_1_a = '" & p_no & "' OR p_rsch_2_a = '" & p_no & "' OR p_rsch_3_a = '" & p_no & "' OR p_rsch_4_a = '" & p_no & "' OR " + Query = Query & " p_rsch_1_b = '" & p_no & "' OR p_rsch_2_b = '" & p_no & "' OR p_rsch_3_b = '" & p_no & "' OR p_rsch_4_b = '" & p_no & "' OR " + Query = Query & " p_rsch_1_c = '" & p_no & "' OR p_rsch_2_c = '" & p_no & "' OR p_rsch_3_c = '" & p_no & "' OR p_rsch_4_c = '" & p_no & "' OR " + Query = Query & " p_sv_1 = '" & p_no & "' OR p_sv_2 = '" & p_no & "' OR p_sv_3 = '" & p_no & "' OR p_sv_4 = '" & p_no & "' OR " + Query = Query & " p_code_1 = '" & p_no & "' OR p_code_2 = '" & p_no & "' OR p_code_3 = '" & p_no & "' OR p_code_4 = '" & p_no & "' OR " + Query = Query & " p_verify_1 = '" & p_no & "' OR p_verify_2 = '" & p_no & "' OR p_verify_3 = '" & p_no & "' OR p_verify_4 = '" & p_no & "' OR " + Query = Query & " p_dp_1 = '" & p_no & "' OR p_dp_2 = '" & p_no & "' OR p_dp_3 = '" & p_no & "' OR p_dp_4 = '" & p_no & "' OR " + Query = Query & " p_it_1 = '" & p_no & "' OR p_it_2 = '" & p_no & "' OR p_it_3 = '" & p_no & "' OR p_it_4 = '" & p_no & "' OR " + Query = Query & " p_supp_1 = '" & p_no & "' OR p_supp_2 = '" & p_no & "' OR p_supp_3 = '" & p_no & "' OR p_supp_4 = '" & p_no & "' " + Query = Query & " ) " + Query = Query & " ORDER BY p_child_sn " + + + Rs.Open Query, adoConn, 1 + for i = 1 to Rs.RecordCount + %> + + + + + + + <% + Rs.MoveNext + next + Rs.Close + %> + + + +
ÇÁ·ÎÁ§Æ® ÄÚµåÇÁ·ÎÁ§Æ® ¸íÁ¶»ç¹æ¹ý´ã´çºÎ¼­
<%=Rs("p_child_sn")%>','<%=Rs("p_subject")%>')"><%=Rs("p_subject")%><%=Rs("p_method_nm")%><%=Rs("d_name")%>
±âŸ : ¼±ÅÃ
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/seal_delok.asp b/other/seal_delok.asp new file mode 100644 index 0000000..25dabfb --- /dev/null +++ b/other/seal_delok.asp @@ -0,0 +1,31 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +s_type = request("s_type") +s_r_date = request("s_r_date") +id = request("id") + +query = " UPDATE T_SEAL_RES " +query = query & " SET " +query = query & " use_div = '0' " +query = query & " WHERE id = '" & id & "' " + +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + +
+ + +
+ +<% +set dbin = nothing +%> \ No newline at end of file diff --git a/other/seal_status.asp b/other/seal_status.asp new file mode 100644 index 0000000..4e84f6d --- /dev/null +++ b/other/seal_status.asp @@ -0,0 +1,31 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +id = request("id") +s_status = request("s_status") +s_r_date = request("s_r_date") + +query = " UPDATE T_SEAL_RES " +query = query & " SET " +query = query & " s_status = '" & s_status & "' " +query = query & " WHERE id = '" & id & "' " + +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + +
+ +
+ +<% +set dbin = nothing +%> \ No newline at end of file diff --git a/other/seal_view.asp b/other/seal_view.asp new file mode 100644 index 0000000..f667043 --- /dev/null +++ b/other/seal_view.asp @@ -0,0 +1,317 @@ + + +<% +if request("s_type") = "" then + s_type = 1 +else + s_type = request("s_type") +end if +s_r_date = request("condate") +x = request("x") + +dim tmp_s_type(5,2) + +tmp_s_type(1,1) = "1" +tmp_s_type(1,2) = "(KRI)1¹ø »ç¿ëÀΰ¨" + +tmp_s_type(2,1) = "2" +tmp_s_type(2,2) = "(KRI)2¹ø »ç¿ëÀΰ¨" + +tmp_s_type(3,1) = "3" +tmp_s_type(3,2) = "(KRI)3¹ø »ç¿ëÀΰ¨" + +tmp_s_type(4,1) = "4" +tmp_s_type(4,2) = "(KRC)1¹ø »ç¿ëÀΰ¨" + +tmp_s_type(5,1) = "5" +tmp_s_type(5,2) = "(KRC)2¹ø »ç¿ëÀΰ¨" +%> + +
+ +
+

»ç¿ëÀΰ¨ ¹ÝÃâ ¿¹¾à

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
³¯Â¥ : <%=s_r_date%>
´ë»ó : <%=tmp_s_type(s_type,2)%> ¿¹¾àÇöȲÀÔ´Ï´Ù.
* ÇÏ´Ü ÅÇÀ» ÀÌ¿ëÇϽøé, °¢ ´ë»ó¿¡ ´ëÇÑ ¿¹¾à ÇöȲÀ» º¸½Ç ¼ö ÀÖ½À´Ï´Ù. ÁÖ°£ÇöȲÀ¸·Î µ¹¾Æ°¡½Ã·Á¸é, ÁÖ°£ÇöȲ ÅÇÀ» Ŭ¸¯ÇØÁÖ¼¼¿ä.
+ +
+ + + + + + + + <% + Dim tmp_min(2) + tmp_scode = 1 + tmp_code = 0 + tmp_min(0) = "00" + tmp_min(1) = "30" + for i = 9 to 22 + for j = 1 to 2 + if i <> 22 or j <> 2 then + if tmp_code = 0 then + query = " SELECT TSR.id, s_type, s_depart, team_name as s_depart_name, s_p_no, p_name as s_p_name, s_r_date, s_rs_time, s_re_time, s_rs_time_cd, s_re_time_cd, s_cd_gap, s_client, s_comment, s_status " + query = query & " FROM T_SEAL_RES TSR LEFT OUTER JOIN TEAM_GROUP TG ON TSR.s_depart = TG.team_cd and TG.div_use = '1' " + query = query & " LEFT OUTER JOIN PERSON P ON TSR.s_p_no = P.p_no " + query = query & " WHERE s_r_date='" & s_r_date & "' " + query = query & " AND s_type='" & s_type & "' " + query = query & " AND use_div = '1' " + query = query & " ORDER BY CAST(s_rs_time_cd AS int) " + + Adors.Open query, adoConn, 1 + if Adors.RecordCount > 0 then + tmp_code = 0 + for Adors_cnt = 1 to Adors.RecordCount + if tmp_scode >= int(Adors("s_rs_time_cd")) AND tmp_scode <= int(Adors("s_re_time_cd")) then + s_re_time_cd = int(Adors("s_re_time_cd")) + tmp_code = int(Adors("s_cd_gap")) + tmp_client = Adors("s_client") + tmp_comment = Adors("s_comment") + tmp_depart = Adors("s_depart_name") + tmp_name = Adors("s_p_name") + tmp_namecode = Adors("s_p_no") + tmp_sn = Adors("id") + tmp_chk = 1 + tmp_status = Adors("s_status") + exit for + end if + + Adors.MoveNext + next + end if + Adors.Close + end if + %> + + + + + <% + if tmp_code = 0 then + %> + + <% + else + if tmp_chk = 1 then + %> + + <% + tmp_chk = 0 + end if + tmp_code = tmp_code - 1 + end if + %> + + <% + tmp_scode = tmp_scode + 1 + end if + next + next + %> +
½Ã°£½ÃÀÛÁ¾·á³»¿ë
+ <%=right("0" & i, 2)%>:<%=tmp_min(j - 1)%> ~ <%=right("0" & i + int(1 - (j mod 2)), 2)%>:<%=tmp_min(j mod 2)%> + + 0 then %> disabled <% end if %>> + + + + + + + + + +

+ <%=tmp_depart%> - <%=tmp_name%> : + <% if tmp_namecode = cstr(session("User_Number")) and tmp_status = "0" then %> + [¿¹¾àÃë¼Ò] + <% end if %> + <%=tmp_client %>  + <%=tmp_comment%> +

+
+
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/seal_week.asp b/other/seal_week.asp new file mode 100644 index 0000000..e369893 --- /dev/null +++ b/other/seal_week.asp @@ -0,0 +1,216 @@ + + +<% +If tmp_support_chk = "1" Then + query = "" + query = query & " UPDATE T_SEAL_RES " + query = query & " SET support_check = '1' " + query = query & " WHERE support_check = '0' " + + adoConn.Execute query +End If + +if request("s_type") = "" then + s_type = 1 +else + s_type = request("s_type") +end if + +if request("sdate") = "" then + tmp_sdate = date() +else + tmp_sdate = request("sdate") + + if len(tmp_sdate) <= 9 then + tmp_sdate = tmp_sdate & "-" & day(date()) + end if +end if + +tmp_sdate = cdate(tmp_sdate) - (weekday(cdate(tmp_sdate)) - 1) +tmp_edate = cdate(tmp_sdate) + (7 - weekday(cdate(tmp_sdate))) + +dim tmp_s_type(5,3) + +tmp_s_type(1,1) = "1" +tmp_s_type(1,2) = "(KRI)1¹ø »ç¿ëÀΰ¨" +tmp_s_type(1,3) = "1" + +tmp_s_type(2,1) = "2" +tmp_s_type(2,2) = "(KRI)2¹ø »ç¿ëÀΰ¨" +tmp_s_type(2,3) = "1" + +tmp_s_type(3,1) = "3" +tmp_s_type(3,2) = "(KRI)3¹ø »ç¿ëÀΰ¨" +tmp_s_type(3,3) = "1" + +tmp_s_type(4,1) = "4" +tmp_s_type(4,2) = "(KRC)1¹ø »ç¿ëÀΰ¨" +tmp_s_type(4,3) = "1" + +tmp_s_type(5,1) = "5" +tmp_s_type(5,2) = "(KRC)2¹ø »ç¿ëÀΰ¨" +tmp_s_type(5,3) = "1" + +query = " SELECT s_type FROM T_SEAL_RES " +query = query & " WHERE use_div = '1' " +query = query & " AND s_r_date between '" & tmp_sdate & "' and '" & tmp_edate & "' " +query = query & " AND s_status = '1' " +query = query & " GROUP BY s_type " +query = query & " ORDER BY s_type " +Adors.Open query, adoConn, 1 +If Adors.recordCount > 0 Then + For i=1 To Adors.recordCount + tmp_s_type(cint(Adors("s_type")), 3) = "0" + Adors.MoveNext + Next +End If +Adors.Close +%> + +
+ +
+

»ç¿ëÀΰ¨ ¹ÝÃâ ¿¹¾à

+
+ + +
+
+
+
+
+
+ + + + + + + + +
+ <%=tmp_sdate%> ~ <%=tmp_edate%> +
+ + + + + + + + <% for i = 0 to 6 %> + + + <% + query = " SELECT TSR.id, s_type, s_depart, team_name as s_depart_name, s_p_no, p_name as s_p_name, s_r_date, s_rs_time, s_re_time, s_rs_time_cd, s_re_time_cd, s_cd_gap, s_client, s_comment, s_status " + query = query & " FROM T_SEAL_RES TSR LEFT OUTER JOIN TEAM_GROUP TG ON TSR.s_depart = TG.team_cd and TG.div_use = '1' " + query = query & " LEFT OUTER JOIN PERSON P ON TSR.s_p_no = P.p_no " + query = query & " WHERE s_r_date = '" & tmp_sdate + i & "' " + query = query & " AND use_div = '1' " + query = query & " ORDER BY cast(s_rs_time_cd as int) " + + Adors.Open query, adoConn, 1 + + If Adors.RecordCount > 0 Then + %> + + + + <% Else %> + + + + <% End If %> + + <% + Adors.Close + next + %> +
ÀϽñ¸ºÐ½Ã°£³»¿ë
+ + <%=replace(right(tmp_sdate + i, 5), "-", "/")%> (<%=left(WeekDayName(weekday(tmp_sdate + i)),1)%>) + + + + <% Do while Not Adors.Eof %> + + + + <% Adors.MoveNext %> + <% Loop %> +
+ " class="blue"><%=tmp_s_type(Adors("s_type"),2)%> +
+
+ + <% Adors.MoveFirst %> + <% Do while Not Adors.Eof %> + + + + <% Adors.MoveNext %> + <% Loop %> +
+ <%=Adors("s_rs_time")%> ~ <%=Adors("s_re_time")%> +
+
+ + <% Adors.MoveFirst %> + <% Do while Not Adors.Eof %> + + <% + tmp_str = "" + tmp_btn_str = "" + If Adors("s_status") = "0" Then + tmp_str = "¹ÝÃâ ´ë±â" + tmp_btn_str = "¹ÝÃâ" + elseif Adors("s_status") = "1" Then + tmp_str = "¹ÝÃâ Áß" + tmp_btn_str = "ȸ¼ö" + elseif Adors("s_status") = "2" Then + tmp_str = "ȸ¼ö ¿Ï·á" + end if + %> + + + <% Adors.MoveNext %> + <% Loop %> +
+ "18" or Adors("s_status") = "2" or (tmp_s_type(Adors("s_type"),3) <> "1" and Adors("s_status") <> "1") then %>visibility:hidden;<% end if %>" + value="<%=tmp_btn_str %>" onclick="s_status_chg('<%=Adors("id") %>', '<%=Adors("s_status") %>', '<%=tmp_sdate %>');" /> +  [<%=tmp_str %>] <%=Adors("s_depart_name")%> <%=Adors("s_p_name")%> - <%=Adors("s_client") %> <%=Adors("s_comment") %> +
+
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/seal_writeok.asp b/other/seal_writeok.asp new file mode 100644 index 0000000..cbca9d6 --- /dev/null +++ b/other/seal_writeok.asp @@ -0,0 +1,68 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +s_type = request("s_type") +s_r_date = request("s_r_date") +s_rs_time_cd = request("s_rs_time_cd") +s_re_time_cd = request("s_re_time_cd") +s_div = request("s_div_" & s_re_time_cd) +s_cli_prj = request("s_cli_prj_" & s_re_time_cd) +s_client = request("s_client_" & s_re_time_cd) +s_comment = request("s_comment_" & s_re_time_cd) +tmp_scode = request("tmp_scode") + +Dim tmp_min(2) +tmp_scode = 1 +tmp_min(0) = "00" +tmp_min(1) = "30" +for i = 9 to 22 + for j = 1 to 2 + if int(s_rs_time_cd) = tmp_scode then + s_rs_time = right("0" & i, 2) & ":" & tmp_min(j - 1) + end if + + if int(s_re_time_cd) = tmp_scode then + s_re_time = right("0" & i + int(1 - (j mod 2)), 2) & ":" & tmp_min(j mod 2) + end if + + tmp_scode = tmp_scode + 1 + next +next + +query = " INSERT INTO T_SEAL_RES " +query = query & " (s_type, s_depart, s_p_no, s_r_date, s_rs_time, s_re_time, s_rs_time_cd, s_re_time_cd, s_cd_gap, s_div, s_cli_prj, s_client, s_comment) " +query = query & " VALUES " +query = query & " ('" & s_type & "', " +query = query & " '" & session("Depart_Code") & "', " +query = query & " '" & session("User_Number") & "', " +query = query & " '" & s_r_date & "', " +query = query & " '" & s_rs_time & "', " +query = query & " '" & s_re_time & "', " +query = query & " '" & s_rs_time_cd & "', " +query = query & " '" & s_re_time_cd & "', " +query = query & " '" & (s_re_time_cd - s_rs_time_cd) + 1 & "', " +query = query & " '" & s_div & "', " +query = query & " '" & s_cli_prj & "', " +query = query & " '" & s_client & "', " +query = query & " '" & s_comment & "') " + +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + +
+ + +
+ + +<% +set dbin = nothing +%> \ No newline at end of file diff --git a/other/srp_config.asp b/other/srp_config.asp new file mode 100644 index 0000000..fc61ec6 --- /dev/null +++ b/other/srp_config.asp @@ -0,0 +1,47 @@ +<% +Dim tmp_workit(14, 2) +Dim tmp_workit_sort(14) +tmp_workit(1,1) = "Àç¿ìGS.A" +tmp_workit(1,2) = "Àç¿ìºôµù 9Ãþ¿¡ À§Ä¡ÇÑ GS. Room A" +tmp_workit(2,1) = "Àç¿ìGD.9" +tmp_workit(2,2) = "Àç¿ìºôµù 9Ãþ¿¡ À§Ä¡ÇÑ GD. Room" +tmp_workit(3,1) = "¼®¿ÀGD.8" +tmp_workit(3,2) = "¼®¿Àºôµù 8Ãþ¿¡ À§Ä¡ÇÑ GD. Room" +tmp_workit(4,1) = "Àç¿ìMR.G" +tmp_workit(4,2) = "Àç¿ìºôµù 9Ãþ¿¡ À§Ä¡ÇÑ GS. RoomÀÇ MR. Room" +tmp_workit(5,1) = "Àç¿ìMR.9" +tmp_workit(5,2) = "Àç¿ìºôµù 9Ãþ¿¡ À§Ä¡ÇÑ GD. RoomÀÇ MR. Room" +tmp_workit(6,1) = "¼®¿ÀMR.8" +tmp_workit(6,2) = "¼®¿Àºôµù 8Ãþ¿¡ À§Ä¡ÇÑ GD. RoomÀÇ MR. Room" +tmp_workit(7,1) = "Àç¿ìGS.B" +tmp_workit(7,2) = "Àç¿ìºôµù 9Ãþ¿¡ À§Ä¡ÇÑ GS. Room B" +tmp_workit(8,1) = "Zoom 1" +tmp_workit(8,2) = "È­»ó ȸÀÇ(ÅëÈ­) ½Ã »ç¿ë - ¿¹¾à ÈÄ °æ¿µ¹®È­º»ºÎ¿¡ º°µµ ¹®ÀÇ" +tmp_workit(9,1) = "Zoom 2" +tmp_workit(9,2) = "È­»ó ȸÀÇ(ÅëÈ­) ½Ã »ç¿ë - ¿¹¾à ÈÄ °æ¿µ¹®È­º»ºÎ¿¡ º°µµ ¹®ÀÇ" +tmp_workit(10,1) = "½ÅµðÁö¿À" +tmp_workit(10,2) = "½ÅµðÁö¿À »çÀÌÆ® ÀÌ¿ë ½Ã »ç¿ë - ¿¹¾à ÈÄ ÀüÁö¿ø ±×·ìÀå²² ¹®ÀÇ" +tmp_workit(11,1) = "¼®¿ÀKR.1" +tmp_workit(11,2) = "¼®¿Àºôµù 8Ãþ¿¡ À§Ä¡ÇÑ ¹ÌÆÃ·ë" +tmp_workit(12,1) = "¼®¿ÀKR.2" +tmp_workit(12,2) = "¼®¿Àºôµù 7Ãþ¿¡ À§Ä¡ÇÑ ¹ÌÆÃ·ë" +tmp_workit(13,1) = "¼®¿ÀKR.3" +tmp_workit(13,2) = "¼®¿Àºôµù 7Ãþ¿¡ À§Ä¡ÇÑ ¹ÌÆÃ·ë" +tmp_workit(14,1) = "½æÆ®·»µå" +tmp_workit(14,2) = "½æÆ®·»µå" + +tmp_workit_sort(1) = 1 +tmp_workit_sort(2) = 7 +tmp_workit_sort(3) = 4 +tmp_workit_sort(4) = 2 +tmp_workit_sort(5) = 5 +tmp_workit_sort(6) = 3 +tmp_workit_sort(7) = 6 +tmp_workit_sort(8) = 11 +tmp_workit_sort(9) = 12 +tmp_workit_sort(10) = 13 +tmp_workit_sort(11) = 8 +tmp_workit_sort(12) = 9 +tmp_workit_sort(13) = 10 +tmp_workit_sort(14) = 14 +%> \ No newline at end of file diff --git a/other/view.asp b/other/view.asp new file mode 100644 index 0000000..1117d61 --- /dev/null +++ b/other/view.asp @@ -0,0 +1,282 @@ + + + +<% +if request("workit") = "" then + workit = 1 +else + workit = request("workit") +end if +setYear_srp = Request("setYear_srp") +setMonth_srp = request("setMonth_srp") +p_rdate = request("condate") +%> + +
+ +
+

½Ã¼³ ¿¹¾à

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
³¯Â¥ : <%=p_rdate%>
Àå¼Ò : <%=tmp_workit(workit,1)%> ¿¹¾àÇöȲÀÔ´Ï´Ù.
À§Ä¡ : <%=tmp_workit(workit,2)%>
* ÇÏ´Ü ÅÇÀ» ÀÌ¿ëÇϽøé, °¢ Àå¼Ò¿¡ ´ëÇÑ ¿¹¾à ÇöȲÀ» º¸½Ç ¼ö ÀÖ½À´Ï´Ù. ÁÖ°£ÇöȲÀ¸·Î µ¹¾Æ°¡½Ã·Á¸é, ÁÖ°£ÇöȲ ÅÇÀ» Ŭ¸¯ÇØÁÖ¼¼¿ä.
+ +
+ + + + + + + + <% + Dim tmp_min(2) + tmp_scode = 1 + tmp_code = 0 + tmp_min(0) = "00" + tmp_min(1) = "30" + for i = 9 to 22 + for j = 1 to 2 + if i <> 22 or j <> 2 then + if tmp_code = 0 then + query = "SELECT * " + query = query & "FROM [srp] " + query = query & "WHERE p_rdate='" & p_rdate & "' " + query = query & "AND p_type='" & workit & "' " + query = query & "AND p_delok='N' " + query = query & "ORDER BY CAST(p_rstimecode AS int) " + 'Response.Write query + Adors.Open query, adoConn, 1 + if Adors.RecordCount > 0 then + tmp_code = 0 + for Adors_cnt = 1 to Adors.RecordCount + if tmp_scode >= int(Adors("p_rstimecode")) AND tmp_scode <= int(Adors("p_retimecode")) then + p_retimecode = int(Adors("p_retimecode")) + tmp_code = int(Adors("p_codegap")) + tmp_comment = Adors("p_comment") + tmp_depart = Adors("p_depart") + tmp_name = Adors("p_name") + tmp_namecode = Adors("p_namecode") + tmp_sn = Adors("p_sn") + tmp_chk = 1 + exit for + end if + + Adors.MoveNext + next + end if + Adors.Close + end if + %> + + + + + <% + if tmp_code = 0 then + %> + + <% + else + if tmp_chk = 1 then + %> + + <% + tmp_chk = 0 + end if + tmp_code = tmp_code - 1 + end if + %> + + <% + tmp_scode = tmp_scode + 1 + end if + next + next + %> +
½Ã°£½ÃÀÛÁ¾·á³»¿ë
+ <%=right("0" & i, 2)%>:<%=tmp_min(j - 1)%> ~ <%=right("0" & i + int(1 - (j mod 2)), 2)%>:<%=tmp_min(j mod 2)%> + + 0 then %> disabled <% end if %>> + + + + + +

+ <%=tmp_depart%> - <%=tmp_name%> : + <% if cstr(tmp_namecode) = cstr(session("User_number")) then %> + [¿¹¾àÃë¼Ò] + <% end if %> + <%=tmp_comment%> +

+
+
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/other/week.asp b/other/week.asp new file mode 100644 index 0000000..37d17cf --- /dev/null +++ b/other/week.asp @@ -0,0 +1,224 @@ + + + +<% +if request("sdate") = "" then + tmp_sdate = date() +else + tmp_sdate = request("sdate") + if len(tmp_sdate) <= 9 then + tmp_sdate = tmp_sdate & "-" & day(date()) + end if +end if +tmp_sdate = cdate(tmp_sdate) - (weekday(cdate(tmp_sdate)) - 1) +tmp_edate = cdate(tmp_sdate) + (7 - weekday(cdate(tmp_sdate))) +%> + +
+ + +
+

½Ã¼³ ¿¹¾à

+
+ + +
+
+
+
+
+ + + + + + + +
+ <%=tmp_sdate%> ~ <%=tmp_edate%> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + for i = 0 to 6 + %> + <% + for j = 1 to ubound(tmp_workit_sort) + %> + + <% if j = 1 then %> + + <% end if %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + next + next + %> +
ÀϽñ¸ºÐ09:0009:3010:0010:3011:0011:3012:0012:3013:0013:3014:0014:3015:0015:3016:0016:3017:0017:3018:0018:3019:0019:3020:0020:3021:0021:3022:0022:30
+ + <%=replace(right(tmp_sdate + i, 5), "-", "/")%> (<%=left(WeekDayName(weekday(tmp_sdate + i)),1)%>) + + + + <%=tmp_workit(tmp_workit_sort(j),1)%> + +
+
+
+
+
+
+
+ + <% + query = "" + query = query & " SELECT p_rdate, p_type, p_rstime, p_retime, p_rstimecode, p_retimecode, p_codegap, p_depart, p_name, p_comment, p_wdate " + query = query & " FROM [srp] " + query = query & " WHERE p_rdate between '" & tmp_sdate & "' AND '" & tmp_edate & "' " + query = query & " AND p_delok = 'N' " + query = query & " ORDER BY p_rdate, p_type, convert(integer, p_rstimecode) " + %> + + +
+ + \ No newline at end of file diff --git a/other/writeok.asp b/other/writeok.asp new file mode 100644 index 0000000..5458135 --- /dev/null +++ b/other/writeok.asp @@ -0,0 +1,76 @@ + +<% +set dbin = server.CreateObject("ADODB.CONNECTION") + +workit = request("workit") +setYear_srp = Request("setYear_srp") +setMonth_srp = request("setMonth_srp") +p_rdate = request("p_rdate") +p_rstimecode = request("p_rstimecode") +p_retimecode = request("p_retimecode") +p_comment = request("p_comment_" & p_retimecode) +tmp_scode = request("tmp_scode") + +Dim tmp_min(2) +tmp_scode = 1 +tmp_min(0) = "00" +tmp_min(1) = "30" +for i = 9 to 22 + for j = 1 to 2 + if int(p_rstimecode) = tmp_scode then + p_rstime = right("0" & i, 2) & ":" & tmp_min(j - 1) + end if + + if int(p_retimecode) = tmp_scode then + p_retime = right("0" & i + int(1 - (j mod 2)), 2) & ":" & tmp_min(j mod 2) + end if + + tmp_scode = tmp_scode + 1 + next +next + +query = "" +query = query & " SELECT p_team_name FROM project2.dbo.V_Person WHERE p_no = '" & session("User_Number") & "'" + +Adors.Open query, adoConn, 1 +if Adors.RecordCount > 0 then + tmp_depart = Adors("p_team_name") +end if +Adors.Close + +query = "INSERT INTO [srp] " +query = query & "(p_type, p_depart, p_departcode, p_name, p_namecode, p_rdate, p_rstime, p_retime, p_rstimecode, p_retimecode, p_codegap, p_comment, p_delok, p_wdate) " +query = query & "VALUES " +query = query & "('" & workit & "', " +query = query & "'" & tmp_depart & "', " +query = query & "'" & session("Depart_Code") & "', " +query = query & "'" & session("loginuser") & "', " +query = query & "'" & session("User_Number") & "', " +query = query & "'" & p_rdate & "', " +query = query & "'" & p_rstime & "', " +query = query & "'" & p_retime & "', " +query = query & "'" & p_rstimecode & "', " +query = query & "'" & p_retimecode & "', " +query = query & "'" & (p_retimecode - p_rstimecode) + 1 & "', " +query = query & "'" & p_comment & "', " +query = query & "'N', " +query = query & "'" & now() & "') " + +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + +
+ + +
+ +<% +set dbin = nothing +%> \ No newline at end of file diff --git a/project/check_client_ajax.asp b/project/check_client_ajax.asp new file mode 100644 index 0000000..37d6d2b --- /dev/null +++ b/project/check_client_ajax.asp @@ -0,0 +1,34 @@ + + + +<% + + + cli_list = request("cli_list") + p_contact = request("p_contact") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + if cli_list <> "" then + query = " " + query = query & " SELECT p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email " + query = query & " FROM V_CLIENT_PERSON " + query = query & " WHERE convert(varchar, p_cli_company_cd)+'_'+convert(varchar, p_cli_per_cd) IN ('" & replace(cli_list, ",", "','") & "') " + query = query & " AND (ISNULL(p_cli_per_com_tel, '') <> '' OR ISNULL(p_cli_per_tel, '') <> '') " + if p_contact <> "001" then + query = query & " AND ISNULL(p_cli_per_email, '') <> '' " + end if + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + response.Write "1" + else + response.Write "2" + end if + rsp.close + else + response.Write "0" + end if +%> \ No newline at end of file diff --git a/project/check_list_view_ajax.asp b/project/check_list_view_ajax.asp new file mode 100644 index 0000000..7d48028 --- /dev/null +++ b/project/check_list_view_ajax.asp @@ -0,0 +1,20 @@ + + + +<% + + + chk_val = request("chk_val") + p_sn = request("p_sn") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + query = " UPDATE T_PROJECT_PRE SET list_view_yn = '" & chk_val & "' WHERE p_sn = '" & p_sn & "' " + adoConn.execute query + + response.Write "1" + +%> \ No newline at end of file diff --git a/project/cli_modi.asp b/project/cli_modi.asp new file mode 100644 index 0000000..5612e49 --- /dev/null +++ b/project/cli_modi.asp @@ -0,0 +1,113 @@ + +<% +cli_name = request("cli_name") +mod_cli = request("mod_cli") + +'Client ÇüÅ +dim tmp_cliform(99) + +query = "SELECT * " +query = query & "FROM Client_Type " +query = query & "ORDER BY sort_key " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then +for i = 1 to rsc.RecordCount + + tmp_cliform(int(rsc("c_type_code"))) = rsc("c_type_name") + + rsc.MoveNext +next +end if +rsc.Close + +query = "SELECT * " +query = query & "FROM Client " +query = query & "WHERE c_code='" & mod_cli & "' " +query = query & "ORDER BY c_name " +'Response.Write query +rsc.Open query, adoConn, 1 + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ¼öÁ¤ + + + + + +
+ + + + + + + + + + + + + + + +
CodeClient NameType
<%=rsc("c_code")%> + "> + + +
+
+ + + + +
+ +         + +
+<% +rsc.Close +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cli_modi_2014.asp b/project/cli_modi_2014.asp new file mode 100644 index 0000000..5612e49 --- /dev/null +++ b/project/cli_modi_2014.asp @@ -0,0 +1,113 @@ + +<% +cli_name = request("cli_name") +mod_cli = request("mod_cli") + +'Client ÇüÅ +dim tmp_cliform(99) + +query = "SELECT * " +query = query & "FROM Client_Type " +query = query & "ORDER BY sort_key " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then +for i = 1 to rsc.RecordCount + + tmp_cliform(int(rsc("c_type_code"))) = rsc("c_type_name") + + rsc.MoveNext +next +end if +rsc.Close + +query = "SELECT * " +query = query & "FROM Client " +query = query & "WHERE c_code='" & mod_cli & "' " +query = query & "ORDER BY c_name " +'Response.Write query +rsc.Open query, adoConn, 1 + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ¼öÁ¤ + + + + + + + + + + + + + + + + + + + + + +
CodeClient NameType
<%=rsc("c_code")%> + "> + + +
+
+ + + + +
+ +         + +
+<% +rsc.Close +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cli_modi_ok.asp b/project/cli_modi_ok.asp new file mode 100644 index 0000000..8229d78 --- /dev/null +++ b/project/cli_modi_ok.asp @@ -0,0 +1,40 @@ + +<% +cli_name = request("cli_name") +c_type = request("c_type") +c_name = request("c_name") +mod_cli = request("mod_cli") + +query = "UPDATE Client " +query = query & "SET " +query = query & "c_name='" & c_name & "', " +query = query & "c_type='" & c_type & "' " +query = query & "WHERE c_code='" & mod_cli & "' " + +'Response.Write query +set dbin = server.CreateObject("ADODB.CONNECTION") +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ¼öÁ¤ + + + + + + + + + + \ No newline at end of file diff --git a/project/cli_modi_ok_2014.asp b/project/cli_modi_ok_2014.asp new file mode 100644 index 0000000..7890992 --- /dev/null +++ b/project/cli_modi_ok_2014.asp @@ -0,0 +1,60 @@ + +<% +p_cli_company_cd = request("p_cli_company_cd") 'À̸§ °Ë»ö¿¡ »ç¿ëµÈ Client Name +p_cli_company_nm = request("p_cli_company_nm") + + + '»õ·Î Ãß°¡µÉ Client Name +query = "SELECT * " +query = query & "FROM T_CLIENT_COMP " +query = query & "WHERE p_cli_company_nm = '" & p_cli_company_nm & "' " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + tmp_result = "1" +else + tmp_result = "0" +end if +rsc.Close + +if tmp_result = "0" then + + query = "UPDATE T_CLIENT_COMP " + query = query & "SET " + query = query & "p_cli_company_nm ='" & p_cli_company_nm & "', " + query = query & "p_cli_company_yn ='y' " + query = query & "WHERE p_cli_company_cd='" & p_cli_company_cd & "' " + + 'Response.Write query + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ¼öÁ¤ + + + + + + + + + + +<% + else + alert2 "ÀÌ¹Ì µî·ÏµÇ¾î ÀÖ´Â À̸§ÀÔ´Ï´Ù" + end if + set rsc = nothing +%> \ No newline at end of file diff --git a/project/cli_new.asp b/project/cli_new.asp new file mode 100644 index 0000000..dfe1b17 --- /dev/null +++ b/project/cli_new.asp @@ -0,0 +1,104 @@ + +<% +cli_name = request("cli_name") + +'Client ÇüÅ +dim tmp_cliform() + +query = "select * from client_type order by sort_key" +rsc.Open query, adoConn, 1 +redim tmp_cliform(99) +do while not rsc.EOF + tmp_cliform(cint(rsc("c_type_code"))) = rsc("c_type_name") + rsc.MoveNext +loop +rsc.Close + + +query = "SELECT MAX(c_code) as c_code " +query = query & "FROM Client " +query = query & "WHERE c_code < 9900 " + +rsc.Open query, adoConn, 1 +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® Ãß°¡ + + + + + + + + + + + + + + + + + + + + +
CodeClient NameType
<%=cint(rsc("c_code")) + 1%> + + + +
+
+ + + + +
+ +         + +
+<% +rsc.Close +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cli_new_2014.asp b/project/cli_new_2014.asp new file mode 100644 index 0000000..c8e56d9 --- /dev/null +++ b/project/cli_new_2014.asp @@ -0,0 +1,71 @@ + +<% + p_cli_company_cd = "" + p_cli_company_cd = request("p_cli_company_cd") + + %> + + + + + + Ŭ¶óÀÌ¾ðÆ® Ãß°¡ + + + + + + + + + + + + + + + + + +
ȸ»ç À̸§À» ÀÛ¼ºÇÏ¿© ÁֽʽÿÀ.
+ +
+
+ + + + +
+ <%if p_cli_company_cd <> "" then %> + + <% else %> + + <% end if %> + +         + +
diff --git a/project/cli_new_ok.asp b/project/cli_new_ok.asp new file mode 100644 index 0000000..09432dd --- /dev/null +++ b/project/cli_new_ok.asp @@ -0,0 +1,83 @@ + +<% +cli_name = request("cli_name") 'À̸§ °Ë»ö¿¡ »ç¿ëµÈ Client Name +c_name = request("c_name") '»õ·Î Ãß°¡µÉ Client Name +c_type = request("c_type") '»õ·Î Ãß°¡µÉ Client Type + +'Client ÇüÅ +dim tmp_cliform(99) + +query = "SELECT * " +query = query & "FROM Client_Type " +query = query & "ORDER BY sort_key " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then +for i = 1 to rsc.RecordCount + + tmp_cliform(int(rsc("c_type_code"))) = rsc("c_type_name") + + rsc.MoveNext +next +end if +rsc.Close + +query = "SELECT MAX(c_code) as c_code " +query = query & "FROM Client " +query = query & "WHERE c_code < 9900 " + +rsc.Open query, adoConn, 1 + tmp_code = rsc("c_code") + 1 +rsc.Close + +query = "SELECT * " +query = query & "FROM client " +query = query & "WHERE c_name = '" & c_name & "' " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + tmp_result = "1" +else + tmp_result = "0" +end if +rsc.Close + +if tmp_result = "0" then + query = "INSERT INTO Client " + query = query & "(c_code, c_name, c_type) " + query = query & "VALUES " + query = query & "('" & tmp_code & "', " + query = query & "'" & c_name & "', " + query = query & "'" & c_type & "')" + + 'Response.Write query + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® Ãß°¡ + + + + + + + + +<% +else + alert2 "ÀÌ¹Ì µî·ÏµÇ¾î ÀÖ´Â À̸§ÀÔ´Ï´Ù" +end if +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cli_new_ok_2014.asp b/project/cli_new_ok_2014.asp new file mode 100644 index 0000000..06170ff --- /dev/null +++ b/project/cli_new_ok_2014.asp @@ -0,0 +1,37 @@ + +<% +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +p_cli_company_nm = unescape(request("comp_name")) '»õ·Î Ãß°¡µÉ Client Name + +query = "SELECT * " +query = query & "FROM T_CLIENT_COMP " +query = query & "WHERE p_cli_company_nm = '" & p_cli_company_nm & "' " + +Rs.Open query, adoConn, 1 +if Rs.RecordCount > 0 then + tmp_result = "1" +else + tmp_result = "0" +end if +Rs.Close + +if tmp_result = "0" then + query = " INSERT INTO T_CLIENT_COMP " + query = query & " (p_cli_company_nm, p_cli_company_yn) " + query = query & " VALUES " + query = query & " ('" & p_cli_company_nm & "', 'Y')" + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + response.write "1" ' µî·Ï ¼º°ø +else + response.write "2" ' ÀÌ¹Ì µî·Ï +end if +%> \ No newline at end of file diff --git a/project/cli_search.asp b/project/cli_search.asp new file mode 100644 index 0000000..2166c50 --- /dev/null +++ b/project/cli_search.asp @@ -0,0 +1,185 @@ + +<% +v = request("v") + +'Client ÇüÅ +dim tmp_cliform(99) + +query = "SELECT * " +query = query & "FROM Client_Type " +query = query & "ORDER BY sort_key " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then +for i = 1 to rsc.RecordCount + + tmp_cliform(int(rsc("c_type_code"))) = rsc("c_type_name") + + rsc.MoveNext +next +end if +rsc.Close + +query = "SELECT * " +query = query & "FROM Client " +if request("cli_name") <> "" then + query = query & "WHERE c_name like '%" & request("cli_name") & "%' " +end if +query = query & "ORDER BY c_name " + +rsc.Open query, adoConn, 1 + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® Ã£±â + + + + + + + +
+ + + + +
+ +      + + +              + " size="15" style="IME-MODE: active;background:#FFFFFF"> + +
+
+ +
+ + + + + + + +
ÄÚµåClient¸íTYPE
+
+ +
+
+ + + + + + + + <% + for i = 1 to rsc.RecordCount + %> + + + + + + + <% + rsc.MoveNext + next + %> +
ÄÚµåClient¸íTYPE
"><%=rsc("c_code")%> ','<%=rsc("c_name")%>','<%=rsc("c_type")%>','<%=tmp_cliform(rsc("c_type"))%>','<%=v%>')"><%=rsc("c_name")%><%=tmp_cliform(rsc("c_type"))%>
+
+
+* Client TYPEÁß ±¹³»±â¾÷, ÇØ¿Ü±â¾÷, ÇÕÀÚȸ»ç´Â ±¸¹öÀüÀÔ´Ï´Ù. +
+* TYPEÀ» ¼öÁ¤ÇÏ·Á¸é Client ÄÚµå¾ÕÀÇ ¶óµð¿À¹öưÀ» ¼±ÅÃÇϰí
   ¼öÁ¤ ¹öưÀ» ´­·¯ ÁÖ¼¼¿ä. +<% +rsc.Close +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cli_search_2014.asp b/project/cli_search_2014.asp new file mode 100644 index 0000000..9078a1f --- /dev/null +++ b/project/cli_search_2014.asp @@ -0,0 +1,138 @@ + +<% +p_cli_company_nm = request("p_cli_company_nm") + +query = " SELECT * " +query = query & " FROM V_CLIENT_COMP " +If p_cli_company_nm <> "" Then + query = query & " where p_cli_company_nm like '%" & p_cli_company_nm & "%' " +End if +query = query & " ORDER BY p_cli_company_nm " + +rsc.Open query, adoConn, 1 + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® Ã£±â + + + + + + +<%if tmp_admin_chk = "1" then %> +
+ + + + +
+ +      + +
+
+<%end if %> + +
+
+ + + + + + + + + + <% + for i = 1 to rsc.RecordCount + %> + + + + + + <% + rsc.MoveNext + next + %> +
(Ãß°¡µî·ÏÀº IT¿¡ ¹®ÀÇ)
ÄÚµåŬ¶óÀÌ¾ðÆ®¸í
"><%=rsc("p_cli_company_cd")%> ','<%=rsc("p_cli_company_nm")%>')"><%=rsc("p_cli_company_nm")%>
+
+ + + + + + +
Ŭ¶óÀÌ¾ðÆ®¸í :
+<% +rsc.Close +set rsc = nothing +%> +
+ + \ No newline at end of file diff --git a/project/client_per_add_mod_ajax.asp b/project/client_per_add_mod_ajax.asp new file mode 100644 index 0000000..7052b89 --- /dev/null +++ b/project/client_per_add_mod_ajax.asp @@ -0,0 +1,80 @@ + + + +<% + + set dbin = server.CreateObject("ADODB.CONNECTION") + + cli_com_cd = request("cli_com_cd") + p_cli_per_cd = request("p_cli_per_cd") + p_cli_depart = unescape(request("p_cli_depart")) + p_cli_per_nm = unescape(request("p_cli_per_nm")) + p_cli_per_com_tel = unescape(request("p_cli_per_com_tel")) + p_cli_per_tel = unescape(request("p_cli_per_tel")) + p_cli_per_email = unescape(request("p_cli_per_email")) + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + i = 0 + if p_cli_per_cd = "" then ' Ãß°¡ + query = " " + query = " SELECT count(*) as cnt FROM T_CLIENT_COMP WHERE p_cli_company_cd = '" & cli_com_cd & "' " + + rsp.Open query, adoConn, 1 + if cint(rsp("cnt")) > 0 then + div_cli = "1" + else + div_cli = "2" + end if + rsp.Close + + if div_cli = "1" then ' T_CLIENT_COMP¿¡ Client°¡ ÀÖÀ½ + query = " " + query = query & " INSERT INTO T_CLIENT_PERSON VALUES " + query = query & " ('" & cli_com_cd & "', '" & p_cli_depart & "', '" & p_cli_per_nm & "', '" & p_cli_per_com_tel & "', '" & p_cli_per_tel & "', '" & p_cli_per_email & "', getdate(), '" & session("User_Number") & "') " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + elseif div_cli = "2" then ' Client¿¡ Client°¡ ÀÖÀ½ + query = " " + query = query & " INSERT INTO Client_People (c_code, cp_code, cp_name, cp_depart, cp_tel, cp_mobile, cp_email) VALUES " + query = query & " ('" & cli_com_cd & "', (SELECT ISNULL(MAX(cp_code), 0) + 1 FROM Client_People WHERE c_code = '" & cli_com_cd & "'), '" & p_cli_per_nm & "', '" & p_cli_depart & "', '" & p_cli_per_com_tel & "', '" & p_cli_per_tel & "', '" & p_cli_per_email & "') " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + end if + else ' ¼öÁ¤ + query = " " + query = query & " UPDATE T_CLIENT_PERSON " + query = query & " SET p_cli_depart = '" & p_cli_depart & "', " + query = query & " p_cli_per_com_tel = '" & p_cli_per_com_tel & "', " + query = query & " p_cli_per_tel = '" & p_cli_per_tel & "', " + query = query & " p_cli_per_email = '" & p_cli_per_email & "' " + query = query & " WHERE p_cli_company_cd = '" & cli_com_cd & "' AND p_cli_per_cd = '" & split(p_cli_per_cd, "_")(1) & "' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i = 0 then + query = " " + query = query & " UPDATE Client_People " + query = query & " SET cp_depart = '" & p_cli_depart & "', " + query = query & " cp_tel = '" & p_cli_per_com_tel & "', " + query = query & " cp_mobile = '" & p_cli_per_tel & "', " + query = query & " cp_email = '" & p_cli_per_email & "' " + query = query & " WHERE c_code = '" & cli_com_cd & "' AND cp_code = '" & split(p_cli_per_cd, "_")(1) & "' " + + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + end if + + end if + response.Write cstr(i) +%> \ No newline at end of file diff --git a/project/client_search.asp b/project/client_search.asp new file mode 100644 index 0000000..e3801e6 --- /dev/null +++ b/project/client_search.asp @@ -0,0 +1,280 @@ + +<% +Dim nm_obj, cd_obj 'opener¿¡¼­ ¹ÞÀ» °´Ã¼ +nm_obj = request("nm_obj") +cd_obj = request("cd_obj") +if nm_obj = "" or cd_obj = "" then + alert4 "À߸øµÈ Á¢±ÙÀÔ´Ï´Ù." +else +query = " SELECT p_cli_company_cd, p_cli_company_nm FROM V_CLIENT_COMP " +query = query & " ORDER BY p_cli_company_nm " + +rsc.Open query, adoConn, 1 +%> + + + + + + Client Àοø ¼±Åà + + + + + + + + + +
Client Àοø ¼±ÅÃ
+ + + + + +
+ + + + + + + +
Client ȸ»ç
(Ãß°¡µî·ÏÀº IT¿¡ ¹®ÀÇ)
+ +
+ ¡é°Ë»öÇÒ Å¬¶óÀÌ¾ðÆ® ¸íÀ» ÀÔ·Â ÈÄ
Enter¸¦ ´©¸£¼¼¿ä
+ +
+
+ + + + + + + +
Client Àοø
 
+ +
+
+
+ +
+
+
+
+ + + + + + + + + + +
+ +
+
 
+         + +
+
+ + + + +<% +end if +%> \ No newline at end of file diff --git a/project/client_search_ajax.asp b/project/client_search_ajax.asp new file mode 100644 index 0000000..c09ab02 --- /dev/null +++ b/project/client_search_ajax.asp @@ -0,0 +1,42 @@ + + + +<% + + + cli_com_cd = request("cli_com_cd") + cli_per_cd = request("cli_per_cd") + cp_sel_list = request("cp_sel_list") + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + if cli_per_cd = "" then + query = " " + query = query & " SELECT convert(varchar, p_cli_company_cd)+'_'+convert(varchar, p_cli_per_cd) as cp_cd, p_cli_depart, p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email " + query = query & " FROM V_CLIENT_PERSON " + query = query & " WHERE p_cli_company_cd = '" & cli_com_cd & "' " + if cp_sel_list <> "" then + query = query & " AND convert(varchar, p_cli_company_cd)+'_'+convert(varchar, p_cli_per_cd) NOT IN ('" & replace(cp_sel_list, ",", "','") & "') " + end if + rsp.Open query, adoConn, 1 + do while not rsp.eof + response.write "" + rsp.movenext + loop + rsp.close + else + query = " " + query = query & " SELECT convert(varchar, p_cli_company_cd)+'_'+convert(varchar, p_cli_per_cd) as cp_cd, p_cli_depart, p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email " + query = query & " FROM V_CLIENT_PERSON " + query = query & " WHERE p_cli_company_cd = '" & cli_com_cd & "' AND p_cli_per_cd = '" & split(cli_per_cd, "_")(1) & "' " + + rsp.Open query, adoConn, 1 + if rsp.recordCount > 0 then + response.write rsp("p_cli_depart") & "||" & rsp("p_cli_per_nm") & "||" & rsp("p_cli_per_com_tel") & "||" & rsp("p_cli_per_tel") & "||" & rsp("p_cli_per_email") + end if + rsp.close + end if +%> \ No newline at end of file diff --git a/project/contact_project_search_2014.asp b/project/contact_project_search_2014.asp new file mode 100644 index 0000000..0e7bafd --- /dev/null +++ b/project/contact_project_search_2014.asp @@ -0,0 +1,351 @@ + + + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") + +p_contact = request("p_contact") + +contat_p_sn = request("contat_p_sn") +p_subject = request("p_subject") +p_depart = request("p_depart") +tmp_month = request("tmp_month") +tmp_year = request("tmp_year") +tmp_state = request("tmp_state") +%> + + + + + + +
+ + + + + + + +
+ + + + + + + + + + +
+ + °Ë»ö Á¶°ÇÀ» ¼±ÅÃÇϼ¼¿ä. + +
+ + + + + +
+ ºÎ¼­  + +    + + ³âµµ  + +    + + ¿ù  + +    + <% + if p_contact <> "002" then + %> + ÇÁ·ÎÁ§Æ® ÁøÇà»óÅ  + + <% + else + %> +                                  + <% + end if + %> +      + ÇÁ·ÎÁ§Æ® ¸í :   +    + + +    + +    + +
+
+ <% + if p_contact <> "002" then + %> + + + + + + + + + + + <% + query = " SELECT p_sn, p_cli_company_cd, p_client_type_cd, p_subject, p_cli_per_cd, p_memo, " + query = query & " p_cont_cost, p_decide_date, p_input_dt, p_state, p_input_user, " + query = query & " p_depart_dep, p_depart_team, p.p_name as p_name, p.p_depart, D.d_name " + query = query & " FROM T_PROJECT_BASE PB INNER JOIN person P ON PB.p_input_user = P.P_NO " + query = query & " INNER JOIN Depart D ON PB.p_depart_dep = d.d_code " + query = query & " WHERE p_sn IS NOT NULL" + '------------------------------------------------------ + 'Á¶È¸ ¿É¼Ç + if p_depart <> "" then + query = query & " AND p_depart_dep = '" & p_depart & "' " + end if + '------------------------------------------------------ + '³â ¿É¼Ç + if tmp_year <> "0" and tmp_year <> "" then + query = query & " AND YEAR(p_input_dt) = '" & tmp_year & "' " + else + query = query & " AND YEAR(p_input_dt) = '" & year(date()) & "' " + end if + '------------------------------------------------------ + '¿ù ¿É¼Ç + if tmp_month <> "0" and tmp_month <> "" then + query = query & " AND MONTH(p_input_dt) = '" & right("0" & tmp_month, 2) & "' " + end if + '------------------------------------------------------ + 'ÇÁ·ÎÁ§Æ® ÁøÇà»óÅ ¿É¼Ç + if tmp_state <> "" then + query = query & " AND p_state = '"&tmp_state&"' " + end if + '------------------------------------------------------ + 'ÇÁ·ÎÁ§Æ® ¸í °Ë»ö ¿É¼Ç + if p_subject <> "" then + query = query & " AND p_subject LIKE '%"&p_subject&"%' " + end if + '------------------------------------------------------ + query = query & " ORDER BY p_input_dt" + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + for i = 1 to rsc.RecordCount + + query = " SELECT * " + query = query & " FROM V_CLIENT_PERSON " + query = query & " WHERE p_cli_per_cd = '" & rsc("p_cli_per_cd") & "' " + query = query & " AND p_cli_company_cd = '" & rsc("p_cli_company_cd") & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_cli_name = rsp("p_cli_per_nm") + else + tmp_cli_name = "¹ÌÁ¸Àç" + end if + rsp.Close + + tmp_content = rsc("p_subject") + + + if i mod 2 = 0 then + tmp_bgcolor = "#dbe9f2" + else + tmp_bgcolor = "#ffffff" + end if + + if rsc("p_state") = "K" then + p_state_kor = "Á¦¾È" + elseif rsc("p_state") = "P" then + p_state_kor = "¼öÁÖ" + elseif rsc("p_state") = "D" then + p_state_kor = "¿¬±â" + elseif rsc("p_state") = "X" then + p_state_kor = "Å»¶ô" + else + a = "<¿À·ù> : °ü¸®ÀÚ ¹®Àǹٶ÷" + end if + + %> + + + + + + + + + <% + rsc.MoveNext + next + end if + rsc.Close + %> + + + + +
Á¦¾È ¹øÈ£ÇÁ·ÎÁ§Æ® ¸íÁøÇà »óÅÂŬ¶óÀÌ¾ðÆ®¸í´ã´çÀÚÃÖÃʵî·ÏÀÏ
<%=rsc("p_sn")%>', '<%=rsc("p_subject")%>')" class="blue"><%=rsc("p_subject")%><%=p_state_kor%><%=tmp_cli_name %><%=rsc("p_name")%><%=rsc("p_input_dt")%>
+ <% + else + %> + + + + + + + + + + + <% + query = " SELECT p_child_sn, p_subject, p_method_nm, CASE WHEN ISNULL(team_name, '') = '' THEN CASE WHEN p_field_dept <> '900' THEN 'ÀÚ·áÁ¶»ç½Ç' END ELSE team_name END depart_name, " + query = query & " p_cli_company_nm, Convert(varchar(10), TPM.p_input_dt, 120) as p_input_dt " + query = query & " FROM T_PROJECT_METHOD TPM " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd AND TPMC.p_method_yn = 'y' " + query = query & " LEFT OUTER JOIN TEAM_GROUP TG ON TPM.p_rsch_dept = TG.team_cd AND TG.div_use = '1' " + query = query & " LEFT OUTER JOIN V_CLIENT_COMP VCC ON TPM.p_cli_company_cd = VCC.p_cli_company_cd " + query = query & " WHERE TPM.p_progress_status >= '006' AND p_rsch_dept <> '91' " + '------------------------------------------------------ + 'Á¶È¸ ¿É¼Ç + if p_depart <> "" then + query = query & " AND (p_rsch_dept = '" & p_depart & "' OR (p_rsch_dept = '900' and p_field_dept = '" & p_depart & "')) " + end if + '------------------------------------------------------ + '³â ¿É¼Ç + if tmp_year <> "0" and tmp_year <> "" then + query = query & " AND '20' +LEFT(p_child_sn, 2) = '" & tmp_year & "' " + else + query = query & " AND '20' +LEFT(p_child_sn, 2) = '" & year(date()) & "' " + end if + '------------------------------------------------------ + '¿ù ¿É¼Ç + if tmp_month <> "0" and tmp_month <> "" then + query = query & " AND RIGHT(LEFT(p_child_sn, 4), 2) = '" & right("0" & tmp_month, 2) & "' " + end if + '------------------------------------------------------ + 'ÇÁ·ÎÁ§Æ® ¸í °Ë»ö ¿É¼Ç + if p_subject <> "" then + query = query & " AND p_subject LIKE '%"&p_subject&"%' " + end if + '------------------------------------------------------ + query = query & " ORDER BY p_child_sn " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + for i = 1 to rsc.RecordCount + if i mod 2 = 0 then + tmp_bgcolor = "#dbe9f2" + else + tmp_bgcolor = "#ffffff" + end if + %> + + + + + + + + + <% + rsc.MoveNext + next + end if + rsc.Close + %> + + + + +
ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ® ¸íÁ¶»ç¹æ¹ý¿¬±¸ºÎ¼­Å¬¶óÀÌ¾ðÆ®¸íÃÖÃʵî·ÏÀÏ
<%=rsc("p_child_sn")%>', '<%=rsc("p_subject")%>')" class="blue"><%=rsc("p_subject")%><%=rsc("p_method_nm")%><%=rsc("depart_name") %><%=rsc("p_cli_company_nm")%><%=rsc("p_input_dt")%>
+ <% + end if + %> +
+
+ + +
\ No newline at end of file diff --git a/project/cp_modi.asp b/project/cp_modi.asp new file mode 100644 index 0000000..492c8c0 --- /dev/null +++ b/project/cp_modi.asp @@ -0,0 +1,166 @@ + +<% +p_cli_code = request("p_cli_code") +mod_cli = request("mod_cli") +x = request("x") 'project_lsit2_thanksmail¿¡¼­ 1·Î º¸³¿(¼öÁ¤¿Ï·á ÈÄ Ã¢À» ´Ý±â À§ÇÔ) + +query = "SELECT * " +query = query & "FROM Client_People " +query = query & "WHERE c_code='" & p_cli_code & "' " +query = query & " AND cp_code='" & mod_cli & "' " +query = query & "ORDER BY cp_name " +'Response.Write query +rsc.Open query, adoConn, 1 + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ ¼öÁ¤ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Client ´ã´çÀÚ + "> +
Client ºÎ¼­ + "> +
´ã´çÀÚ ÀüÈ­ + "> +
´ã´çÀÚ ÇÚµåÆù + "> +
´ã´çÀÚ ¸ÞÀÏ + "> +
´ã´çÀÚ Á÷À§ + "> +
»ó±ÞÀÚ À̸§ + "> +
»ó±ÞÀÚ Á÷À§ + "> +
+
+ + + + +
+ ³ë¶õ»ö ºÎºÐÀº Çʼö ÀÔ´Ï´Ù. +
+
+ + + + +
+ +         + +
+<% +rsc.Close +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cp_modi_2014.asp b/project/cp_modi_2014.asp new file mode 100644 index 0000000..9be69a2 --- /dev/null +++ b/project/cp_modi_2014.asp @@ -0,0 +1,138 @@ + +<% +p_cli_per_cd = "" +p_cli_per_cd = request("p_cli_per_cd") +p_cli_company_cd = request("p_cli_company_cd") +mod_cli = request("mod_cli") +x = request("x") 'project_lsit2_thanksmail¿¡¼­ 1·Î º¸³¿(¼öÁ¤¿Ï·á ÈÄ Ã¢À» ´Ý±â À§ÇÔ) + +query = " SELECT * " +query = query & " FROM V_CLIENT_PERSON " +query = query & " WHERE p_cli_per_cd='" & p_cli_per_cd & "' and p_cli_company_cd = '" & p_cli_company_cd & "' " +'Response.Write query +rsc.Open query, adoConn, 1 + + +p_cli_depart = "" +p_cli_per_nm = "" +p_cli_per_com_tel = "" +p_cli_per_tel = "" +p_cli_per_email = "" + +if p_cli_per_cd <> "" then + p_cli_depart = rsc("p_cli_depart") + p_cli_per_nm = rsc("p_cli_per_nm") + p_cli_per_com_tel = rsc("p_cli_per_com_tel") + p_cli_per_tel = rsc("p_cli_per_tel") + p_cli_per_email = rsc("p_cli_per_email") +end if + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ ¼öÁ¤ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Client ºÎ¼­ + +
Client ´ã´çÀÚ + +
´ã´çÀÚ È¸»ç ÀüÈ­ + +
´ã´çÀÚ ÇÚµåÆù + +
´ã´çÀÚ ¸ÞÀÏ + +
+
+ +
+ + + + +
+ <%if p_cli_per_cd <> "" then %> + + <% else %> + + <% end if %> +         + +
+<% +rsc.Close +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cp_modi_ok.asp b/project/cp_modi_ok.asp new file mode 100644 index 0000000..3a62f76 --- /dev/null +++ b/project/cp_modi_ok.asp @@ -0,0 +1,66 @@ + +<% +x = request("x") + +p_cli_code = request("p_cli_code") +mod_cli = request("mod_cli") +cp_depart = request("cp_depart") +cp_name = request("cp_name") + +cp_tel = request("cp_tel") +cp_mobile = request("cp_mobile") +cp_email = request("cp_email") +cp_position = request("cp_position") +cp_master = request("cp_master") +cp_mposition= request("cp_mposition") + +query = "UPDATE Client_People " +query = query & "SET " +query = query & "cp_name='" & cp_name & "', " +query = query & "cp_depart='" & cp_depart & "', " +query = query & "cp_tel='" & cp_tel & "', " +query = query & "cp_mobile='" & cp_mobile & "', " +query = query & "cp_email='" & cp_email & "', " +query = query & "cp_position='" & cp_position & "', " +query = query & "cp_master='" & cp_master & "', " +query = query & "cp_mposition='" & cp_mposition & "' " +query = query & "WHERE c_code='" & p_cli_code & "' " +query = query & " AND cp_code='" & mod_cli & "' " + +'Response.Write query +set dbin = server.CreateObject("ADODB.CONNECTION") +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ¼öÁ¤ + + + + + + + + + + + diff --git a/project/cp_modi_ok_2014.asp b/project/cp_modi_ok_2014.asp new file mode 100644 index 0000000..6184732 --- /dev/null +++ b/project/cp_modi_ok_2014.asp @@ -0,0 +1,66 @@ + +<% + + p_cli_company_cd = request("p_cli_company_cd") + p_cli_per_cd = request("p_cli_per_cd") + mod_cli = request("mod_cli") + p_cli_depart = request("p_cli_depart") + p_cli_per_nm = request("p_cli_per_nm") + p_cli_per_com_tel = request("p_cli_per_com_tel") + p_cli_per_tel = request("p_cli_per_tel") + p_cli_per_email = request("p_cli_per_email") + + + query = " UPDATE T_CLIENT_PERSON " + query = query & " SET " + query = query & " p_cli_depart='" & p_cli_depart & "', " + query = query & " p_cli_per_nm='" & p_cli_per_nm & "', " + query = query & " p_cli_per_com_tel='" & p_cli_per_com_tel & "', " + query = query & " p_cli_per_tel='" & p_cli_per_tel & "', " + query = query & " p_cli_per_email='" & p_cli_per_email & "'" + query = query & " WHERE p_cli_per_cd='" & p_cli_per_cd & "' and p_cli_company_cd = '" & p_cli_company_cd & "' " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i = 0 then + query = " UPDATE Client_People " + query = query & " SET " + query = query & " cp_depart ='" & p_cli_depart & "', " + query = query & " cp_name = '" & p_cli_per_nm & "', " + query = query & " cp_tel='" & p_cli_per_com_tel & "', " + query = query & " cp_mobile ='" & p_cli_per_tel & "', " + query = query & " cp_email ='" & p_cli_per_email & "'" + query = query & " WHERE cp_code ='" & p_cli_per_cd & "' and c_code = '" & p_cli_company_cd & "' " + dbin.Open adoConn + dbin.Execute query + dbin.Close + end if +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ¼öÁ¤ + + + + + + + + + + + diff --git a/project/cp_new.asp b/project/cp_new.asp new file mode 100644 index 0000000..8bd80c6 --- /dev/null +++ b/project/cp_new.asp @@ -0,0 +1,123 @@ + +<% + +p_cli_code = request("p_cli_code") + +query = "SELECT MAX(cp_code) as cp_code " +query = query & "FROM Client_People " +query = query & "WHERE c_code = '" & p_cli_code & "' " + +rsc.Open query, adoConn, 1 + + if rsc("cp_code") = "" or isnull(rsc("cp_code")) then + tmp_cpcode = 1 + else + tmp_cpcode = int(rsc("cp_code")) + 1 + end if +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® Ãß°¡ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Client ´ã´çÀÚ + +
Client ºÎ¼­ + +
´ã´çÀÚ ÀüÈ­ + +
´ã´çÀÚ ÇÚµåÆù + +
´ã´çÀÚ ¸ÞÀÏ + +
´ã´çÀÚ Á÷À§ + +
»ó±ÞÀÚ À̸§ + +
»ó±ÞÀÚ Á÷À§ + +
+
+ + + + +
+ +         + +
+<% +rsc.Close +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cp_new_ok.asp b/project/cp_new_ok.asp new file mode 100644 index 0000000..54433fa --- /dev/null +++ b/project/cp_new_ok.asp @@ -0,0 +1,66 @@ + +<% +p_cli_code = request("p_cli_code") 'À̸§ °Ë»ö¿¡ »ç¿ëµÈ Client code +cp_name = request("cp_name") '»õ·Î Ãß°¡µÉ Client ´ã´çÀÚ +cp_depart = request("cp_depart") '»õ·Î Ãß°¡µÉ Client ºÎ¼­ +cp_tel = request("cp_tel") +cp_mobile = request("cp_mobile") +cp_email = request("cp_email") +cp_position = request("cp_position") +cp_master = request("cp_master") +cp_mposition= request("cp_mposition") + +query = "SELECT MAX(cp_code) as cp_code " +query = query & "FROM Client_People " +query = query & "WHERE c_code = '" & p_cli_code & "' " + +rsc.Open query, adoConn, 1 + if rsc("cp_code") = "" or isnull(rsc("cp_code")) then + tmp_cpcode = 1 + else + tmp_cpcode = int(rsc("cp_code")) + 1 + end if +rsc.Close + +query = "INSERT INTO Client_People " +query = query & "(cp_code, c_code, cp_name, cp_depart, cp_tel, cp_mobile, cp_email, cp_position, cp_master, cp_mposition) " +query = query & "VALUES " +query = query & "('" & tmp_cpcode & "', " +query = query & "'" & p_cli_code & "', " +query = query & "'" & cp_name & "', " +query = query & "'" & cp_depart & "', " +query = query & "'" & cp_tel & "', " +query = query & "'" & cp_mobile & "', " +query = query & "'" & cp_email & "', " +query = query & "'" & cp_position & "', " +query = query & "'" & cp_master & "', " +query = query & "'" & cp_mposition & "')" + +'Response.Write query +set dbin = server.CreateObject("ADODB.CONNECTION") +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ Ãß°¡ + + + + + + + + +<% +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cp_new_ok_2014.asp b/project/cp_new_ok_2014.asp new file mode 100644 index 0000000..ab14620 --- /dev/null +++ b/project/cp_new_ok_2014.asp @@ -0,0 +1,49 @@ + +<% +p_cli_company_cd = request("p_cli_company_cd") 'À̸§ °Ë»ö¿¡ »ç¿ëµÈ Client code +p_cli_depart = request("p_cli_depart") '»õ·Î Ãß°¡µÉ Client ºÎ¼­ +p_cli_per_nm = request("p_cli_per_nm") '»õ·Î Ãß°¡µÉ Client ´ã´çÀÚ +p_cli_per_com_tel = request("p_cli_per_com_tel") '´ã´çÀÚ È¸»ç ¹øÈ£ +p_cli_per_tel = request("p_cli_per_tel") '´ã´çÀÚ ÈÞ´ëÆù ¹øÈ£ +p_cli_per_email = request("p_cli_per_email") '´ã´çÀÚ À̸ÞÀÏ + + + +query = "INSERT INTO T_CLIENT_PERSON " +query = query & "(p_cli_company_cd, p_cli_depart, p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email) " +query = query & "VALUES " +query = query & "('" & p_cli_company_cd & "', " +query = query & "'" & p_cli_depart & "', " +query = query & "'" & p_cli_per_nm & "', " +query = query & "'" & p_cli_per_com_tel & "', " +query = query & "'" & p_cli_per_tel & "', " +query = query & "'" & p_cli_per_email & "')" + +Response.Write p_cli_company_cd & "
" + +'Response.Write query +set dbin = server.CreateObject("ADODB.CONNECTION") +dbin.Open adoConn +dbin.Execute query +dbin.Close +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ Ãß°¡ + + + + + + + + diff --git a/project/cp_search.asp b/project/cp_search.asp new file mode 100644 index 0000000..c2455c3 --- /dev/null +++ b/project/cp_search.asp @@ -0,0 +1,142 @@ + +<% +v = request("v") +p_cli_code = request("p_cli_code") + +if p_cli_code = "" then + alert4 "Client¸¦ ¼±ÅÃÇÏÁö ¾Ê¾Ò°Å³ª DB¿À·ùÀÔ´Ï´Ù" +else +query = "SELECT * " +query = query & "FROM Client_People " +query = query & "WHERE c_code = '" & p_cli_code & "' " +query = query & "ORDER BY cp_name " + +rsc.Open query, adoConn, 1 + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ Ã£±â + + + + + + + +
+ + + + +
+ +   + +
+
+ +
+ + + + + + +
 Client ´ã´çÀںμ­¸í
+
+ +
+
+ + + + + + + <% + for i = 1 to rsc.RecordCount + %> + + + + + + <% + rsc.MoveNext + next + %> +
 Client ´ã´çÀںμ­¸í
"> ','<%=rsc("cp_name")%>','<%=rsc("cp_depart")%>','<%=v%>')"><%=rsc("cp_name")%><%=rsc("cp_depart")%>
+
+
+* ³»¿ëÀ» ¼öÁ¤ÇÏ·Á¸é Client ÄÚµå¾ÕÀÇ ¶óµð¿À¹öưÀ» ¼±ÅÃÇϰí
   ¼öÁ¤ ¹öưÀ» ´­·¯ ÁÖ¼¼¿ä. +<% +rsc.Close + +end if 'if p_cli_code = "" then +set rsc = nothing +%> \ No newline at end of file diff --git a/project/cp_search_2014.asp b/project/cp_search_2014.asp new file mode 100644 index 0000000..f1f3d8c --- /dev/null +++ b/project/cp_search_2014.asp @@ -0,0 +1,143 @@ + +<% +v = request("v") +p_cli_company_cd = request("p_cli_company_cd") + +if p_cli_company_cd = "" then + alert4 "Client¸¦ ¼±ÅÃÇÏÁö ¾Ê¾Ò°Å³ª DB¿À·ùÀÔ´Ï´Ù" +else +query = "SELECT * " +query = query & "FROM V_CLIENT_PERSON " +query = query & "WHERE p_cli_company_cd = '" & p_cli_company_cd & "' " + +rsc.Open query, adoConn, 1 + +%> + + + + + + Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ Ã£±â + + + + + + + +
+ + + + +
+ +   + +
+
+ + + +
+
+ + + + + + + <% + for i = 1 to rsc.RecordCount + %> + + + + + + + <% + rsc.MoveNext + next + %> +
 Client ´ã´çÀںμ­¸í
"> + " /> +   + ','<%=rsc("p_cli_depart")%>','<%=rsc("p_cli_per_nm")%>','<%=rsc("p_cli_per_com_tel")%>','<%=rsc("p_cli_per_tel")%>','<%=rsc("p_cli_per_email")%>','<%=v%>')"> + <%=rsc("p_cli_per_nm")%><%=rsc("p_cli_depart")%>
+
+
+* ³»¿ëÀ» ¼öÁ¤ÇÏ·Á¸é Client ÄÚµå¾ÕÀÇ ¶óµð¿À¹öưÀ» ¼±ÅÃÇϰí
   ¼öÁ¤ ¹öưÀ» ´­·¯ ÁÖ¼¼¿ä. +<% +rsc.Close + +end if 'if p_cli_company_cd = "" then +set rsc = nothing +%> \ No newline at end of file diff --git a/project/fcs_input_data.asp b/project/fcs_input_data.asp new file mode 100644 index 0000000..aaaabeb --- /dev/null +++ b/project/fcs_input_data.asp @@ -0,0 +1,431 @@ +<% +'-- fcs·Î µ¥ÀÌÅÍ À̰ü + + +sql="" +sql=sql&" SET NOCOUNT ON; "&vbCrLf + +sql=sql&" DECLARE @pn_cd varchar(30) "&vbCrLf +sql=sql&" DECLARE @pu_type varchar(5) "&vbCrLf + +sql=sql&" DECLARE @fcs_type varchar(5) "&vbCrLf +sql=sql&" DECLARE @fcs_area varchar(50) "&vbCrLf + + +sql=sql&" DECLARE @ss int "&vbCrLf +sql=sql&" DECLARE @ee int "&vbCrLf +sql=sql&" DECLARE @ckday varchar(10) "&vbCrLf + + +sql=sql&" set @pn_cd='"&pn_cd&"' "&vbCrLf +sql=sql&" set @pu_type='"&pu_prjcode_type&"' "&vbCrLf +sql=sql&" set @fcs_type='"&pu_fcs_type&"' "&vbCrLf +sql=sql&" set @fcs_area='"&pu_prjcode_area&"' "&vbCrLf + +sql=sql&" set @ss='"&fcs_type__ss&"' "&vbCrLf +sql=sql&" set @ee='"&fcs_type__ee&"' "&vbCrLf +sql=sql&" set @ckday='"&ckday&"' "&vbCrLf + +'-- (1) µî·ÏµÈ °ËÁõ·üÀÌ ¾ø´Ù¸é µî·Ï +sql=sql&" if not EXISTS(select id from [project2].[dbo].[T_QC_CONFIG] where p_sn=@pn_cd and s_area=@fcs_area and use_yn='Y') "&vbCrLf +sql=sql&" Begin "&vbCrLf + '-- °ËÁõ·ü µî·Ï (Default ·ê insert ) + sql=sql&" insert into [project2].[dbo].[T_QC_CONFIG] "&vbCrLf + sql=sql&" (p_sn,s_area,qc_rate,error_rate,qc_date,no_call_time,no_call_limit,use_yn,sIdStart,sIdEnd,input_dt,input_user) "&vbCrLf + sql=sql&" values "&vbCrLf + sql=sql&" (@pn_cd,@fcs_area,'30','50','5','2','6','Y','0','0','"&date()&"','"&Session("User_Number")&"') "&vbCrLf +sql=sql&" end "&vbCrLf + + +'-- (2) µî·ÏµÈ Áö¿ªº° ¼³¹®Áö ¹üÀ§ Á¤º¸°¡ ÀÖ´ÂÁö üũ +sql=sql&" if not EXISTS(select id from [dbo].[T_AREA_SID] where p_sn=@pn_cd and s_area=@fcs_area and s_type=@fcs_type and del_yn='N' ) "&vbCrLf + '-- µî·ÏµÈ ³»¿ëÀÌ ¾ø´Ù¸é insert + sql=sql&" Begin "&vbCrLf + sql=sql&" insert into [project2].[dbo].[T_AREA_SID] "&vbCrLf + sql=sql&" (p_sn,s_area,s_type,sIdStart,sIdEnd,del_yn,input_date) "&vbCrLf + sql=sql&" values "&vbCrLf + sql=sql&" (@pn_cd,@fcs_area,@fcs_type,@ss,@ee,'N','"&date()&"') "&vbCrLf + sql=sql&" end "&vbCrLf + +sql=sql&" else "&vbCrLf + '-- µî·ÏµÈ ³»¿ëÀÌ ÀÖ´Ù¸é update + sql=sql&" Begin "&vbCrLf + sql=sql&" update [project2].[dbo].[T_AREA_SID] set "&vbCrLf + sql=sql&" sIdStart=@ss "&vbCrLf + sql=sql&" ,sIdEnd=@ee "&vbCrLf + sql=sql&" where p_sn=@pn_cd "&vbCrLf + sql=sql&" and s_area=@fcs_area "&vbCrLf + sql=sql&" and s_type=@fcs_type "&vbCrLf + sql=sql&" and del_yn='N' "&vbCrLf + sql=sql&" end "&vbCrLf + + + +'-- (3) °ËÁõ¹®Ç× ¼³Á¤ + + '################################################# + '-- ÀÌÀü µî·ÏµÈ ³»¿ëÀÌ ÀÖ´Ù¸é »èÁ¦(del_) ó¸®ÇÔ ----- + sql=sql&" update [project2].[dbo].[T_RES_SQ] set "&vbCrLf + sql=sql&" p_sn='del_'+p_sn "&vbCrLf + sql=sql&" ,p_child_sn='del_'+p_child_sn "&vbCrLf + sql=sql&" where p_child_sn=@pn_cd "&vbCrLf&vbCrLf + '################################################# + + + '-- °ËÁõ¹®Ç× µî·Ï + sql=sql&" DECLARE @°ËÁõ¹®Ç× varchar(30) "&vbCrLf + sql=sql&" DECLARE @SQL varchar(max) "&vbCrLf + sql=sql&" DECLARE @SQL1 varchar(max) "&vbCrLf + sql=sql&" DECLARE @SQL2 varchar(max) "&vbCrLf + sql=sql&" DECLARE @SQL1_1 varchar(max) "&vbCrLf + sql=sql&" DECLARE @SQL2_1 varchar(max) "&vbCrLf + + sql=sql&" DECLARE @tcnt int "&vbCrLf + + sql=sql&" set @tcnt=0 "&vbCrLf + sql=sql&" set @SQL='' "&vbCrLf + sql=sql&" set @SQL1='' "&vbCrLf + sql=sql&" set @SQL2='' "&vbCrLf + sql=sql&" set @SQL1_1='' "&vbCrLf + sql=sql&" set @SQL2_1='' "&vbCrLf + + sql=sql&" DECLARE cur_step1 CURSOR FOR "&vbCrLf + + sql=sql&" select pu_que from [dbo].[T_RES_SQ_QUE_LAB] "&vbCrLf + sql=sql&" where ting='1' "&vbCrLf + sql=sql&" and pu_child_sn=@pn_cd "&vbCrLf + sql=sql&" and pu_type=@pu_type "&vbCrLf +'-- fcsÁö¿ª sql=sql&" and fcs_area=@fcs_area "&vbCrLf + sql=sql&" and pu_que_type='0' "&vbCrLf + sql=sql&" order by id asc "&vbCrLf + + sql=sql&" OPEN cur_step1 "&vbCrLf + sql=sql&" FETCH NEXT FROM cur_step1 INTO @°ËÁõ¹®Ç× "&vbCrLf + sql=sql&" WHILE @@FETCH_STATUS = 0 "&vbCrLf + sql=sql&" BEGIN "&vbCrLf + sql=sql&" set @tcnt=@tcnt+1 "&vbCrLf + + sql=sql&" set @SQL1=@SQL1+'sq'+convert(varchar(5),@tcnt)+',' "&vbCrLf + sql=sql&" set @SQL2=@SQL2+''''+@°ËÁõ¹®Ç×+''',' "&vbCrLf '-- SQ»ç¿ë½Ã sql=sql&" set @SQL2=@SQL2+'''SQ_'+@°ËÁõ¹®Ç×+''',' "&vbCrLf + sql=sql&" set @SQL1_1=@SQL1_1+'as'+convert(varchar(5),@tcnt)+',' "&vbCrLf + sql=sql&" set @SQL2_1=@SQL2_1+' ['+@°ËÁõ¹®Ç×+'] as [as'+convert(varchar(5),@tcnt)+'], ' "&vbCrLf + + + sql=sql&" FETCH NEXT FROM cur_step1 INTO @°ËÁõ¹®Ç× "&vbCrLf + sql=sql&" END "&vbCrLf + sql=sql&" CLOSE cur_step1 "&vbCrLf + sql=sql&" DEALLOCATE cur_step1 "&vbCrLf + + sql=sql&" set @SQL=' insert into [project2].[dbo].[T_RES_SQ] (p_sn,p_child_sn,'+@SQL1+' s_area,s_type,duplication_date) values (substring('''+@pn_cd+''',1,7),'''+@pn_cd+''','+@SQL2+' '''+@fcs_area+''','''+@fcs_type+''',''"&date()&"'') ' "&vbCrLf + sql=sql&" exec(@SQL) "&vbCrLf + + +'-- (4) FCS µ¥ÀÌÅÍ µî·Ï + + sql=sql&" DECLARE @r_name varchar(50) "&vbCrLf + sql=sql&" DECLARE @r_tel varchar(50) "&vbCrLf + sql=sql&" DECLARE @r_phone varchar(50) "&vbCrLf + + sql=sql&" set @r_name='' "&vbCrLf + sql=sql&" set @r_tel='' "&vbCrLf + sql=sql&" set @r_phone='' "&vbCrLf + + +'----------------------------------------------------------------------------------- + ' ÀÀ´äÀÚ À̸§ + sql=sql&" select top 1 @r_name=pu_que from [dbo].[T_RES_SQ_QUE_LAB] with(nolock) "&vbCrLf + sql=sql&" where ting='1' "&vbCrLf + sql=sql&" and pu_child_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and pu_type='"&pu_prjcode_type&"' "&vbCrLf +'-- fcs Áö¿ª sql=sql&" and fcs_area='"&pu_prjcode_area&"' "&vbCrLf + sql=sql&" and pu_que_type in ('2','3') "&vbCrLf + sql=sql&" and len(tuser_name)>0 "&vbCrLf + + + 'ÀÀ´äÀÚ ÀüÈ­¹øÈ£ + sql=sql&" select top 1 @r_tel=replace(replace(pu_que,'-',''),' ','') from [dbo].[T_RES_SQ_QUE_LAB] with(nolock) "&vbCrLf + sql=sql&" where ting='1' "&vbCrLf + sql=sql&" and pu_child_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and pu_type='"&pu_prjcode_type&"' "&vbCrLf +'-- fcs Áö¿ª sql=sql&" and fcs_area='"&pu_prjcode_area&"' "&vbCrLf + sql=sql&" and pu_que_type in ('2','3') "&vbCrLf + sql=sql&" and len(tphone_2)>0 "&vbCrLf + + + ' ÀÀ´äÀÚ ÈÞ´ëÆù¹øÈ£ + sql=sql&" select top 1 @r_phone=replace(replace(pu_que,'-',''),' ','') from [dbo].[T_RES_SQ_QUE_LAB] with(nolock) "&vbCrLf + sql=sql&" where ting='1' "&vbCrLf + sql=sql&" and pu_child_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and pu_type='"&pu_prjcode_type&"' "&vbCrLf +'-- fcs Áö¿ª sql=sql&" and fcs_area='"&pu_prjcode_area&"' "&vbCrLf + sql=sql&" and pu_que_type in ('2','3') "&vbCrLf + sql=sql&" and len(tphone_1)>0 "&vbCrLf +'----------------------------------------------------------------------------------- + + +'-- (4) FCS µ¥ÀÌÅÍ µî·Ï insert + sql=sql&" set @SQL=' insert into [project2].[dbo].[res] ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' (chasu, r_name, r_tel, r_phone, r_date, p_sn, m_name, m_no, r_sv, DelGubun, v_warning_cnt, s_id, '+@SQL1_1+' input_dt, s_type, s_area ) ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ' "&vbCrLf + + sql=sql&" set @SQL=@SQL+' select '"&vbCrLf + + sql=sql&" set @SQL=@SQL+' ''1'' as chasu, '"&vbCrLf + '----------------------------------------------------------------- + sql=sql&" if @r_name<>'' "&vbCrLf + sql=sql&" begin "&vbCrLf + sql=sql&" set @SQL=@SQL+' A.'+@r_name+' as r_name, ' "&vbCrLf + sql=sql&" end "&vbCrLf + + sql=sql&" else "&vbCrLf + sql=sql&" begin "&vbCrLf + sql=sql&" set @SQL=@SQL+' '''' as r_name, ' "&vbCrLf + sql=sql&" end "&vbCrLf + '----------------------------------------------------------------- + sql=sql&" if @r_tel<>'' "&vbCrLf + sql=sql&" begin "&vbCrLf + sql=sql&" set @SQL=@SQL+' A.'+@r_tel+' as r_tel, '"&vbCrLf + sql=sql&" end "&vbCrLf + sql=sql&" else "&vbCrLf + sql=sql&" begin "&vbCrLf + sql=sql&" set @SQL=@SQL+' '''' as r_tel, '"&vbCrLf + sql=sql&" end "&vbCrLf + + '----------------------------------------------------------------- + sql=sql&" if @r_phone<>'' "&vbCrLf + sql=sql&" begin "&vbCrLf + sql=sql&" set @SQL=@SQL+' A.'+@r_phone+' as r_phone, ' "&vbCrLf + sql=sql&" end "&vbCrLf + sql=sql&" else "&vbCrLf + sql=sql&" begin "&vbCrLf + sql=sql&" set @SQL=@SQL+' '''' as r_phone, ' "&vbCrLf + sql=sql&" end "&vbCrLf + + '----------------------------------------------------------------- + + +' sql=sql&" set @SQL=@SQL+' ''"&ckday&"'' as r_date, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' convert(varchar(10),getdate(),120) as r_date, ' "&vbCrLf '-- µî·ÏÀÏÀÚ + + sql=sql&" set @SQL=@SQL+' '''+@pn_cd+''' as p_sn, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' B.m_name as m_name, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' B.new_id as m_no, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ''"&Session("User_Number")&"'' as r_sv, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ''N'' as DelGubun, ' "&vbCrLf '-- »ç¿ë(N) + sql=sql&" set @SQL=@SQL+' ''0'' as v_warning_cnt, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' A.ffid as s_id, '+@SQL2_1+' getdate() as input_dt, ''"&pu_fcs_type&"'' as s_type, ''"&pu_prjcode_area&"'' as s_area from ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ( ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' select ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' (isnull(r_error,''0'')+isnull(m_error,''0'')+isnull(s_error,''0'')+isnull(q_error,''0'')) as t, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' case when left(ffusercode,2)=''1-'' then ffusercode else ''1-''+ffusercode end as ff, ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' * ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' from "&co_table&" ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ) A ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' left join ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ( ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' select new_id, m_name, left(m_jumin,6) as m_jumin from [project2].[dbo].[man] with(nolock) ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' where m_activity=''Ȱµ¿'' ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' and left(new_id,2)=''1-'' ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ) B ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' on A.ff=B.new_id ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' left join ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ( ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' select s_id, s_type, s_area from project2.dbo.res ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' where p_sn = '''+@pn_cd+''' ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' and DelGubun=''N'' ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ) C ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' on A.ffid = C.s_id ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' where A.t=0 ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' and C.s_id is null ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' order by A.ffid asc ' "&vbCrLf + sql=sql&" exec(@SQL) "&vbCrLf + response.Write sql + + + '-- °íÀ¯Å°(num) ó¸® + sql=sql&" set @SQL=' update [project2].[dbo].[RES] set ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' r_sn=num ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' where p_sn='''+@pn_cd+''' ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' and s_area='''+@fcs_area+''' ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' and DelGubun=''N'' ' "&vbCrLf '-- »ç¿ë(N) + sql=sql&" set @SQL=@SQL+' and cast(chasu as int)=1 ' "&vbCrLf + sql=sql&" exec(@SQL) "&vbCrLf + + + + '-- ÇÁ·ÎÁ§Æ®º° °íÀ¯°ª (rp_sn) ó¸® + sql=sql&" DECLARE @rp_sn bigint "&vbCrLf + + sql=sql&" select @rp_sn=isnull(max(rp_sn),0) from [project2].[dbo].[RES] "&vbCrLf + sql=sql&" where p_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and cast(chasu as int)=1 "&vbCrLf + + sql=sql&" update [project2].[dbo].[RES] set "&vbCrLf + sql=sql&" rp_sn=B.tno "&vbCrLf + sql=sql&" from [project2].[dbo].[RES] as A "&vbCrLf + sql=sql&" inner join "&vbCrLf + sql=sql&" ( "&vbCrLf + sql=sql&" select ROW_NUMBER() OVER(ORDER BY num ASC)+@rp_sn AS tno, "&vbCrLf + sql=sql&" p_sn,s_area,s_id from [project2].[dbo].[RES] with(nolock) "&vbCrLf + sql=sql&" where p_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and s_area='"&pu_prjcode_area&"' "&vbCrLf + sql=sql&" and DelGubun='N' "&vbCrLf '-- »ç¿ë(N) + sql=sql&" and cast(chasu as int)=1 "&vbCrLf + sql=sql&" and rp_sn is null "&vbCrLf + sql=sql&" ) B "&vbCrLf + sql=sql&" on A.p_sn=B.p_sn "&vbCrLf + sql=sql&" and A.s_area=B.s_area "&vbCrLf + sql=sql&" and A.s_id=B.s_id "&vbCrLf + sql=sql&" where A.p_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and A.s_area='"&pu_prjcode_area&"' "&vbCrLf + sql=sql&" and A.DelGubun='N' "&vbCrLf '-- »ç¿ë(N) + sql=sql&" and cast(A.chasu as int)=1 "&vbCrLf + sql=sql&" and A.rp_sn is null "&vbCrLf + + + + + + + + + '-- '-- ÀÌÀü ¸®½ºÆ®°¡ Àִ°æ¿ì : ÀÌÀü¸®½ºÆ®¸¦ DelGubun='Y' ó¸®(ÇÁ·ÎÁ§Æ® ³»¿¡¼­ s_id ·Î Áߺ¹Ã¼Å©ÇÏ¿© ó¸®) ¡Ø [dbo].[T_INSPECTION_RES] ÁøÇàµÈ ¸®½ºÆ®(ÆäÀÌÆÛ) ¾ÆÀ̵ð´Â q_error ·Î ó¸®µÇ¾î ³Ñ¾î¿ÀÁö ¾ÊÀ½ + '-- sql=sql&" set @SQL=' update [project2].[dbo].[RES] set ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' DelGubun=''Y'' ' "&vbCrLf '-- ¹Ì»ç¿ë µ¥ÀÌÅͷΠó¸®ÇÔ + '-- sql=sql&" set @SQL=@SQL+' where p_sn='''+@pn_cd+''' ' "&vbCrLf + '-- '-- Áö¿ªÁ¶°Ç Á¦¿Ü sql=sql&" set @SQL=@SQL+' and s_area='''+@fcs_area+''' ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' and DelGubun=''N'' ' "&vbCrLf '-- »ç¿ë(N) + '-- sql=sql&" set @SQL=@SQL+' and cast(chasu as int)=1 ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' and s_id in ( ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' select s_id from [project2].[dbo].[RES] ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' where p_sn='''+@pn_cd+''' ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' and DelGubun=''N'' ' "&vbCrLf '-- »ç¿ë(N) + '-- sql=sql&" set @SQL=@SQL+' and s_area='''+@fcs_area+''' ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' and cast(chasu as int)=1 ' "&vbCrLf + '-- sql=sql&" set @SQL=@SQL+' ) ' "&vbCrLf + '-- sql=sql&" exec(@SQL) "&vbCrLf + + + + + + '-- ¾÷·Îµå µ¥ÀÌÅÍ Â÷¼ö°¡ Àִ°æ¿ì ó¸®ÇÔ(°ËÁõÀ²[dbo].[T_QC_CONFIG] ÀÌ Áö¿ªº° À̹ǷΠÂ÷¼ö°è»ê½Ã Áö¿ªÀ» Æ÷ÇÔ ÇÔ) + 'sql=sql&" set @SQL=' update [project2].[dbo].[RES] set ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' chasu=A2.new_chasu ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' from [project2].[dbo].[RES] as A1 ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' inner join ' "&vbCrLf + ''-------------------------------------------------------------------------------------------- + 'sql=sql&" set @SQL=@SQL+' ( ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' select C.p_sn, C.m_no, C.s_area, C.new_chasu from ( ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' select ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' case when B.qc_stat is null then ''1'' else cast(A.chasu as int)+1 end as new_chasu, ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' A.chasu,A.r_sn, A.p_sn, A.m_no, A.s_type, A.s_area, ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' B.pass_stat,B.qc_stat from ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' ( ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' select * from [project2].[dbo].[RES] with(nolock) ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' where p_sn='''+@pn_cd+''' ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' and s_area='''+@fcs_area+''' ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' and cast(chasu as int)<999 ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' ) A ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' left join ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' ( ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' select r_sn, m_no, s_id , pass_stat, qc_stat from [project2].[dbo].[T_INSPECTION_RES] with(nolock) ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' where num in ( ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' select max(num) from [project2].[dbo].[T_INSPECTION_RES] with(nolock) ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' where p_sn='''+@pn_cd+''' ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' and s_area='''+@fcs_area+''' ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' group by p_sn, s_area, m_no ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' ) ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' ) B ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' on A.r_sn=B.r_sn ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' where B.qc_stat is not null ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' ) C ' "&vbCrLf + ' sql=sql&" set @SQL=@SQL+' group by C.p_sn, C.m_no, C.s_area, C.new_chasu ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' ) A2 ' "&vbCrLf + ''-------------------------------------------------------------------------------------------- + 'sql=sql&" set @SQL=@SQL+' on A1.p_sn=A2.p_sn ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' and A1.s_area=A2.s_area ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' and A1.m_no=A2.m_no ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' where A1.p_sn='''+@pn_cd+''' ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' and A1.DelGubun=''N'' ' "&vbCrLf '-- »ç¿ë(N) + 'sql=sql&" set @SQL=@SQL+' and A1.s_area='''+@fcs_area+''' ' "&vbCrLf + 'sql=sql&" set @SQL=@SQL+' and cast(A1.chasu as int)=999 ' "&vbCrLf + 'sql=sql&" exec(@SQL) "&vbCrLf + + + + + '-- Ãß°¡Â÷¼ö°¡ ¾ø´Â°æ¿ì 1Â÷·Î ó¸®ÇÔ + sql=sql&" update [project2].[dbo].[RES] set "&vbCrLf + sql=sql&" chasu='1' "&vbCrLf + sql=sql&" where p_sn=@pn_cd "&vbCrLf + sql=sql&" and s_area=@fcs_area "&vbCrLf + sql=sql&" and DelGubun='N' "&vbCrLf + sql=sql&" and cast(chasu as int)=1 "&vbCrLf + + +'-- Å×½ºÆ®½Ã »ç¿ë sql ¡é------------------------------ +'-- ÀÓ½ÃÅ×ÀÌºí »èÁ¦ +'-- sql=sql&" drop table "&co_table&" " +'-- +'-- sql=sql&" SET NOCOUNT OFF; "&vbCrLf +'-- rsp.Open sql, adoConn, 1 +'-- Å×½ºÆ®½Ã »ç¿ë sql ¡è------------------------------ + + + '########## ÆÝĪDB ó¸® ÁøÇà ##################################### + + + + '-- (5) ÆÝεðºñ - ºÒ·®µ¥ÀÌÅÍ °ËÁõ¿¡·¯(12) ó¸® + sql=sql&" set @SQL='' "&vbCrLf + sql=sql&" set @SQL=@SQL+' update [punching].[dbo].[tb_response] set ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ting=''12'' ' "&vbCrLf '-- °ËÁõ¿¡·¯(12) ó¸® + sql=sql&" set @SQL=@SQL+' from [punching].[dbo].[tb_response] as A1 ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' inner join ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' ( select ffid from "&co_table&" where (isnull(r_error,''0'')+isnull(m_error,''0'')+isnull(s_error,''0'')+isnull(q_error,''0''))>0) A2 ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' on A1.ttelnum=A2.ffid ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' where A1.ting=''19'' ' "&vbCrLf '-- °ËÁõÀ̰ü(19) + sql=sql&" set @SQL=@SQL+' and A1.tprocode=''"&pn_cd&"'' ' "&vbCrLf + sql=sql&" set @SQL=@SQL+' and char(A1.ttype+65)=''"&pu_prjcode_type&"'' ' "&vbCrLf + sql=sql&" exec(@SQL) "&vbCrLf + + + + '-- ÆÝĪ µ¥ÀÌÅÍ »èÁ¦Àü ¹é¾÷ + sql=sql&" insert into [project2].[dbo].[punching_data_log] "&vbCrLf + sql=sql&" (tid, pc_prjcode, pc_prjcode_sub1, pc_prjcode_sub2, ffusercode, ffid, ffque, ffans, ffinsert, fcs_user, fcs_insert, ff_ing) "&vbCrLf + sql=sql&" select "&vbCrLf + sql=sql&" tid, pc_prjcode, pc_prjcode_sub1, pc_prjcode_sub2, ffusercode, ffid, ffque, ffans, ffinsert, "&vbCrLf + sql=sql&" '"&Session("User_Number")&"' as fcs_user, getdate() as fcs_insert, ff_ing "&vbCrLf + sql=sql&" from [project2].[dbo].[punching_data] "&vbCrLf + sql=sql&" where pc_prjcode=@pn_cd "&vbCrLf + sql=sql&" and pc_prjcode_sub1=@pu_type "&vbCrLf + + + '-- ÆÝĪ µ¥ÀÌÅÍ »èÁ¦Ã³¸® + sql=sql&" delete from [project2].[dbo].[punching_data] " + sql=sql&" where pc_prjcode=@pn_cd " + sql=sql&" and pc_prjcode_sub1=@pu_type " + + + + + + '-- ÀÓ½ÃÅ×ÀÌºí »èÁ¦ + sql=sql&" drop table "&co_table&" " + + sql=sql&" SET NOCOUNT OFF; "&vbCrLf + + xprint = "1" + + if xprint="1" then response.write sql&"

" + + + '-- SQL ½ÇÇà + '--response.End + rsp.Open sql, adoConn, 1 + + + +%> \ No newline at end of file diff --git a/project/krc_search.asp b/project/krc_search.asp new file mode 100644 index 0000000..e4352d0 --- /dev/null +++ b/project/krc_search.asp @@ -0,0 +1,137 @@ + +<% +Dim nm_obj, cd_obj 'opener¿¡¼­ ¹ÞÀ» °´Ã¼ +nm_obj = request("nm_obj") +cd_obj = request("cd_obj") +if nm_obj = "" or cd_obj = "" then + alert4 "À߸øµÈ Á¢±ÙÀÔ´Ï´Ù." +else +query = "" +query = query & " SELECT p_team_name as team_name, p_no, p_name " +query = query & " FROM V_person P LEFT OUTER JOIN N_Rank R ON P.p_rank_now = R.R_Code AND flag = 1" +query = query & " WHERE p_resign='0' AND krc_in_date IS NOT NULL" +query = query & " ORDER BY p_depart_now, p_team_now, CASE WHEN R.ID = 12 THEN 19 ELSE R.ID END, krc_in_date" +rsc.Open query, adoConn, 1 +%> + + + + + + + KRI Àοø ¼±Åà + + + + + + +
KRI Àοø ¼±ÅÃ
+ + + + + + + +
+ + + + <% + Dim depart_name + depart_name = "" + depart_name = rsc("team_name") + Do While Not rsc.Eof + if depart_name <> rsc("team_name") then + depart_name = rsc("team_name") + %> + +
+ <%=rsc("team_name") %> +
+
+ + + + <% + end if + %> + + <% + rsc.MoveNext + Loop + rsc.Close + set rsc = nothing + %> + +
+ <%=rsc("team_name") %> + "> + ', '<%=rsc("p_name") %>');"><%=rsc("p_name") %> +
+
+
+ + + + + + + + + + + +
+ +
+
 
+         + +
+
+ + +<% +end if +%> \ No newline at end of file diff --git a/project/project_AjaxCliSave.asp b/project/project_AjaxCliSave.asp new file mode 100644 index 0000000..82444f9 --- /dev/null +++ b/project/project_AjaxCliSave.asp @@ -0,0 +1,106 @@ + +<% +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +set dbin = server.CreateObject("ADODB.CONNECTION") + +flag = request("flag") +p_sn = request("p_sn")'ÇÁ·ÎÁ§Æ® ÄÚµå +p_cli_company_cd = request("p_cli_company_cd")'Ŭ¶óÀÌ¾ðÆ® È¸»çÄÚµå +p_cli_per_cd = request("p_cli_per_cd")'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÄÚµå +p_client_type_cd = request("p_client_type_cd")'Á¶»ç ¾÷Á¾ +cli_depart = unescape(request("cli_depart"))'½Å±Ô Ŭ¶ó ºÎ¼­ +cli_nm = unescape(request("cli_nm"))'½Å±Ô Ŭ¶ó +cli_tel = request("cli_tel")'½Å±Ô Ŭ¶ó ³»¼± +cli_phone = request("cli_phone")'½Å±Ô Ŭ¶ó ÇÚµåÆù +cli_email = request("cli_email")'½Å±Ô Ŭ¶ó ¸ÞÀÏ +Dim html + + +select case flag + +case "CliInfo" + +query = "select * from project2.dbo.V_CLIENT_PERSON where p_cli_per_cd = '"&p_cli_per_cd&"'" +rsc.Open query, adoConn, 1 + +if not rsc.eof Then +Response.write clie_info(rsc("p_cli_per_cd"), rsc("p_cli_depart"), rsc("p_cli_per_nm"), rsc("p_cli_per_com_tel"), rsc("p_cli_per_tel"), rsc("p_cli_per_email")) +else +Response.write clie_info("", "", "", "", "", "") +End If + +rsc.Close + +case "CliPerson" + + query = "" + query = query &" insert into project2.dbo.T_CLIENT_PERSON (p_cli_company_cd, p_cli_depart, p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email, p_input_dt, p_input_user) "&VbCrlf + query = query &" values ('"&p_cli_company_cd&"', '"&cli_depart&"', '"&cli_nm&"', '"&cli_tel&"', '"&cli_phone&"', '"&cli_email&"', GETDATE(), '"&Session("User_Number")&"'); "&VbCrlf + dbin.Open adoConn + dbin.Execute query + dbin.Close + +case "CliEdit" + + query = "" + query = query &" Update project2.dbo.T_CLIENT_PERSON set "&VbCrlf + query = query &" p_cli_depart = '"&cli_depart&"', "&VbCrlf + query = query &" p_cli_per_nm = '"&cli_nm&"', "&VbCrlf + query = query &" p_cli_per_com_tel = '"&cli_tel&"', "&VbCrlf + query = query &" p_cli_per_tel = '"&cli_phone&"', "&VbCrlf + query = query &" p_cli_per_email = '"&cli_email&"', "&VbCrlf + query = query &" p_input_dt = GETDATE(), "&VbCrlf + query = query &" p_input_user = '"&Session("User_Number")&"' "&VbCrlf + query = query &" where p_cli_per_cd = '"&p_cli_per_cd&"' "&VbCrlf + dbin.Open adoConn + dbin.Execute query + dbin.Close + +case else + +End Select + +Function clie_info(cli_per_cd, cli_per_depart, cli_per_nm, cli_per_tel, cli_per_phone, cli_per_email) +Dim html +html = "" +html = html & "" +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & " " +html = html & "
ºÎ¼­" +html = html & "
´ã´çÀÚ À̸§
ȸ»ç ÀüÈ­¹øÈ£
´ã´çÀÚ ÇÚµåÆù¹øÈ£
À̸ÞÀÏ
" + +clie_info = html + +End Function + +%> \ No newline at end of file diff --git a/project/project_AjaxFileDownload.asp b/project/project_AjaxFileDownload.asp new file mode 100644 index 0000000..d2a55c7 --- /dev/null +++ b/project/project_AjaxFileDownload.asp @@ -0,0 +1,20 @@ + +<% +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +Dim Flag, p_sn +Flag = request("flag") +p_sn = request("p_sn") +'Response.write p_sn +filename = request("filename") + +filepath = "http://"&request.servervariables("HTTP_HOST") &"\FileFolder\data\"&Left(p_sn,2)&"\"&p_sn +'´Ù¿î·Îµå °³Ã¼»ý¼º +Set objDownload = Server.CreateObject("DEXT.FileDownload") +'objDownload.Download(filepath, ÆÄÀÏÀ̸§, °­Á¦ÀúÀåÀ¯¹«(True:°­Á¦ÀúÀå), À̾î¹Þ±â À¯¹«(True:À̾î¹Þ±â)) +objDownload.Download filepath, "±èÁ¾ÈÖ_Performance_Review.xlsx", false, false +Set objDownload = Nothing +%> \ No newline at end of file diff --git a/project/project_AjaxFileSave.asp b/project/project_AjaxFileSave.asp new file mode 100644 index 0000000..7ea1bff --- /dev/null +++ b/project/project_AjaxFileSave.asp @@ -0,0 +1,49 @@ + +<% +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + +Dim Flag, p_sn + +Set uploadform = Server.CreateObject ("DEXT.FileUpload") + +uploadform.AutoMakeFolder = True + +Dim File : File = uploadform("file") +Dim FileName : FileName = uploadform("file").FileName +Dim FileByte : FileByte = uploadform("file").FileLen +Dim FileExt : FileExt = uploadform("file").FileExtension +p_sn = uploadform("p_sn") +Dim FilePath : FilePath = "D:\project_db\data\"&Left(p_sn,2)&"\"&p_sn + +query = "" +query = query&" IF EXISTS " +query = query&" ( " +query = query&" select * from project2.dbo.T_SYSTEM_ATTACH where f_p_sn='"&p_sn&"' and f_work_type='"&uploadform("f_work_type")&"' and f_kind='"&uploadform("f_kind")&"' and f_use_yn='Y' " +query = query&" ) " +query = query&" BEGIN " +query = query&" Update project2.dbo.T_SYSTEM_ATTACH SET f_use_yn='N' where f_p_sn='"&p_sn&"' and f_work_type='"&uploadform("f_work_type")&"' and f_kind='"&uploadform("f_kind")&"' and f_use_yn='Y'; " +query = query&" Insert Into project2.dbo.T_SYSTEM_ATTACH " +query = query&" (f_work_type, f_kind, f_attach_date, f_p_sn, f_file_name, f_save_name, f_extension, f_size, f_use_yn, f_input_dt, f_input_user) " +query = query&" values " +query = query&" ('"&uploadform("f_work_type")&"','"&uploadform("f_kind")&"',getdate(),'"&p_sn&"','"&FileName&"','"&FileName&"','"&FileExt&"','"&FileByte&"','Y',getdate(),'"&Session("User_Number")&"'); " +query = query&" End " +query = query&" ELSE " +query = query&" BEGIN " +query = query&" Insert Into project2.dbo.T_SYSTEM_ATTACH " +query = query&" (f_work_type, f_kind, f_attach_date, f_p_sn, f_file_name, f_save_name, f_extension, f_size, f_use_yn, f_input_dt, f_input_user) " +query = query&" values " +query = query&" ('"&uploadform("f_work_type")&"','"&uploadform("f_kind")&"',getdate(),'"&p_sn&"','"&FileName&"','"&FileName&"','"&FileExt&"','"&FileByte&"','Y',getdate(),'"&Session("User_Number")&"'); " +query = query&" END " + +adoconn.Execute query + +'Response.write query + +uploadform.DefaultPath = FilePath +uploadform("file").Save + +Set uploadform = Nothing +%> \ No newline at end of file diff --git a/project/project_AjaxSave.asp b/project/project_AjaxSave.asp new file mode 100644 index 0000000..687d33f --- /dev/null +++ b/project/project_AjaxSave.asp @@ -0,0 +1,208 @@ + +<% +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + + +set dbin = server.CreateObject("ADODB.CONNECTION") + +p_sn = request("p_sn")'ÇÁ·ÎÁ§Æ® ÄÚµå +p_subject = unescape(request("p_subject"))'ÇÁ·ÎÁ§Æ®¸í +p_contactor = request("p_contactor")'¹ß»ý°æ·Î +p_cli_company_cd = request("p_cli_company_cd")'Ŭ¶óÀÌ¾ðÆ® È¸»çÄÚµå +p_cli_per_cd = request("p_cli_per_cd")'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÄÚµå +p_client_type_cd = request("p_client_type_cd")'Á¶»ç ¾÷Á¾ +p_method_cd = request("p_method_cd")'Á¶»ç ¹æ¹ý +p_total_cost = replace(request("p_total_cost"),",", "")'½ÇÁµ °è¾à¾× +p_cont_cost = replace(request("p_cont_cost"),",", "")'¿¹»ó °è¾à¾× +p_cost_rate = request("p_cost_rate")'¿¹»óÁ÷Á¢ºñÀ² +p_decide_date = request("p_decide_date")'°áÁ¤¿¹Á¤ÀÏ +p_memo = unescape(request("p_memo"))'ºñ°í +p_state = replace(unescape(request("p_state"))," ","") + +p_project_type_cd = request("p_project_type_cd")'ÇÁ·ÎÁ§Æ® ±¸ºÐ ÄÚµå KRi KRC +p_project_nation_cd = request("p_project_nation_cd")'ÇÁ·ÎÁ§Æ® Á¶»ç±¹°¡±¸ºÐ ÄÚµå ko fn + + +select case p_state + +case "¼öÁ¤" + query = "" + query = query&" UPDATE Project2.dbo.T_PROJECT_BASE Set "&VBScript + query = query&" p_subject = '"&p_subject&"', "&VBScript + query = query&" p_contactor = '"&p_contactor&"', "&VBScript + query = query&" p_cli_company_cd = '"&p_cli_company_cd&"', "&VBScript + query = query&" p_cli_per_cd = '"&p_cli_per_cd&"', "&VBScript + query = query&" p_client_type_cd = '"&p_client_type_cd&"', "&VBScript + query = query&" p_methodCd = '"&p_method_cd&"', "&VBScript + if p_total_cost <> "" and p_total_cost <> "0" Then + query = query&" p_total_cost = '"&p_total_cost&"', "&VBScript + End If + query = query&" p_cont_cost = '"&p_cont_cost&"', "&VBScript + query = query&" p_cost_rate = '"&p_cost_rate&"', "&VBScript + query = query&" p_decide_date = '"&p_decide_date&"', "&VBScript + query = query&" p_memo = '"&p_memo&"', "&VBScript + + query = query&" p_project_type_cd = '"&p_project_type_cd&"', "&VBScript + query = query&" p_project_nation_cd = '"&p_project_nation_cd&"', "&VBScript + + IF Session("User_Number") = "20191201" THEN ' 20240408 Á¶±âÇý ÆÀÀå ¿äûÀ¸·Î ¼­Áö¿ø »ó¹«´ÔÀÌ µî·ÏÇÏ´Â ¸ðµç ÇÁ·ÎÁ§Æ®´Â ¸¶ÄÉÆÃ 5±×·ìÀ¸·Î µî·Ï + query = query&" p_Team_N = '705', "&VBScript + query = query&" p_Depart_N = 'R', "&VBScript + ELSE + query = query&" p_Team_N = '"&Session("N_team")&"', "&VBScript + query = query&" p_Depart_N = '"&Session("N_depart")&"', "&VBScript + END IF + query = query&" p_update_date = GetDate() "&VBScript + query = query&" where p_sn = '"&p_sn&"' "&VBScript + 'Response.write query + dbin.Open adoConn + dbin.Execute query + dbin.Close + +case "Á¦¾È" + query = "" + query = query&" UPDATE Project2.dbo.T_PROJECT_BASE Set "&VBScript + query = query&" p_subject = '"&p_subject&"', "&VBScript + query = query&" p_contactor = '"&p_contactor&"', "&VBScript + query = query&" p_cli_company_cd = '"&p_cli_company_cd&"', "&VBScript + query = query&" p_cli_per_cd = '"&p_cli_per_cd&"', "&VBScript + query = query&" p_client_type_cd = '"&p_client_type_cd&"', "&VBScript + query = query&" p_methodCd = '"&p_method_cd&"', "&VBScript + query = query&" p_cont_cost = '"&p_cont_cost&"', "&VBScript + query = query&" p_obtain_cost = '"&p_cont_cost&"', "&VBScript + query = query&" p_cost_rate = '"&p_cost_rate&"', "&VBScript + query = query&" p_decide_date = '"&p_decide_date&"', "&VBScript + query = query&" p_memo = '"&p_memo&"', "&VBScript + + query = query&" p_project_type_cd = '"&p_project_type_cd&"', "&VBScript + query = query&" p_project_nation_cd = '"&p_project_nation_cd&"', "&VBScript + + query = query&" p_state = 'K', "&VBScript + IF Session("User_Number") = "20191201" THEN ' 20240408 Á¶±âÇý ÆÀÀå ¿äûÀ¸·Î ¼­Áö¿ø »ó¹«´ÔÀÌ µî·ÏÇÏ´Â ¸ðµç ÇÁ·ÎÁ§Æ®´Â ¸¶ÄÉÆÃ 5±×·ìÀ¸·Î µî·Ï + query = query&" p_Team_N = '705', "&VBScript + query = query&" p_Depart_N = 'R', "&VBScript + ELSE + query = query&" p_Team_N = '"&Session("N_team")&"', "&VBScript + query = query&" p_Depart_N = '"&Session("N_depart")&"', "&VBScript + END IF + query = query&" p_update_date = GetDate() "&VBScript + query = query&" where p_sn = '"&p_sn&"' "&VBScript + 'Response.write query + dbin.Open adoConn + dbin.Execute query + dbin.Close + +case "¼öÁÖ", "¿¬±â", "Å»¶ô" + query = "" + query = query&" UPDATE Project2.dbo.T_PROJECT_BASE Set "&VBScript + query = query&" p_subject = '"&p_subject&"', "&VBScript + query = query&" p_contactor = '"&p_contactor&"', "&VBScript + query = query&" p_cli_company_cd = '"&p_cli_company_cd&"', "&VBScript + query = query&" p_cli_per_cd = '"&p_cli_per_cd&"', "&VBScript + query = query&" p_client_type_cd = '"&p_client_type_cd&"', "&VBScript + query = query&" p_methodCd = '"&p_method_cd&"', "&VBScript + + query = query&" p_total_cost = '"&p_total_cost&"', "&VBScript + query = query&" p_cont_cost = '"&p_cont_cost&"', "&VBScript + query = query&" p_obtain_cost = '"&p_cont_cost&"', "&VBScript + + query = query&" p_cost_rate = '"&p_cost_rate&"', "&VBScript + query = query&" p_decide_date = '"&p_decide_date&"', "&VBScript + query = query&" p_memo = '"&p_memo&"', "&VBScript + + query = query&" p_project_type_cd = '"&p_project_type_cd&"', "&VBScript + query = query&" p_project_nation_cd = '"&p_project_nation_cd&"', "&VBScript + + + If p_state = "¼öÁÖ" Then + query = query&" p_state = 'P', "&VBScript + elseIf p_state = "¿¬±â" Then + query = query&" p_state = 'D', "&VBScript + elseIf p_state = "Å»¶ô" Then + query = query&" p_state = 'X', "&VBScript + End If + + IF Session("User_Number") = "20191201" THEN ' 20240408 Á¶±âÇý ÆÀÀå ¿äûÀ¸·Î ¼­Áö¿ø »ó¹«´ÔÀÌ µî·ÏÇÏ´Â ¸ðµç ÇÁ·ÎÁ§Æ®´Â ¸¶ÄÉÆÃ 5±×·ìÀ¸·Î µî·Ï + query = query&" p_Team_N = '705', "&VBScript + query = query&" p_Depart_N = 'R', "&VBScript + ELSE + query = query&" p_Team_N = '"&Session("N_team")&"', "&VBScript + query = query&" p_Depart_N = '"&Session("N_depart")&"', "&VBScript + END IF + + query = query&" p_update_date = GetDate() "&VBScript + query = query&" where p_sn = '"&p_sn&"'; "&VBScript + dbin.Open adoConn + dbin.Execute query + dbin.Close + + If p_state = "¼öÁÖ" Then + p_method_cd = split(replace(p_method_cd," ",""),",") + dim child_sn + query = " Delete from T_PROJECT_METHOD where p_child_sn is null and p_sn ='"&p_sn&"'" + dbin.Open adoConn + dbin.Execute query + dbin.Close + For iCnt = LBOUND(p_method_cd) to UBOUND(p_method_cd) + if iCnt+1 < 10 then + child_sn = "C0"&iCnt+1 + Else + child_sn = "C"&iCnt+1 + End If + query ="" + query = query&" INSERT INTO T_PROJECT_METHOD "&VBScript + query = query&" ( "&VBScript + query = query&" p_sn, p_child_sn, p_subject, p_method_cd, p_cli_company_cd, p_client_type_cd, p_sub_type, p_cont_cost, p_progress_status, p_input_dt, p_input_complete, p_progress_flag, "&VBScript + query = query&" p_rsch_1_a, p_rsch_2_a, p_rsch_3_a, p_rsch_4_a, p_rsch_1_b, p_rsch_2_b, p_rsch_3_b, p_rsch_4_b, p_rsch_1_c, p_rsch_2_c, p_rsch_3_c, p_rsch_4_c, "&VBScript + query = query&" p_sv_1, p_sv_2, p_sv_3, p_sv_4, p_code_1, p_code_2, p_code_3, p_code_4, p_verify_1, p_verify_2, p_verify_3, p_verify_4, p_punch_1, p_punch_2, p_punch_3, p_punch_4, "&VBScript + query = query&" p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4 "&VBScript + query = query&" ) "&VBScript + query = query&" VALUES "&VBScript + query = query&" ( "&VBScript + query = query&" '" & p_sn & "', '"&p_sn&"_"&child_sn&"', '" & p_subject & "', '" & p_method_cd(iCnt) & "', '" & p_cli_company_cd & "', '" & p_client_type_cd & "' ,'C', '0', '001', "&VBScript + query = query&" getdate(), 'xxx', 'xxx', '','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','' "&VBScript + query = query&" ) "&VBScript + + dbin.Open adoConn + dbin.Execute query + dbin.Close + NEXT + + End If + 'Response.write query + + +case else + 'ÇÁ·ÎÁ§Æ® º» Å×À̺í ÀúÀå + '--------------------------------------- + if p_sn <> "" then + query = "" + query = query&" INSERT INTO Project2.dbo.T_PROJECT_BASE ( "&VBScript + query = query&" p_sn, p_subject, p_contactor, p_cli_company_cd, p_cli_per_cd, p_client_type_cd, p_methodCd, "&VBScript + query = query&" p_obtain_cost, p_cont_cost, p_cost_rate, p_decide_date, p_memo, p_state, "&VBScript + query = query&" p_project_type_cd, "&VBScript + query = query&" p_project_nation_cd, "&VBScript + query = query&" p_depart_dep, p_depart_team, p_Depart_N, p_Team_N, p_input_dt, p_input_user "&VBScript + query = query&" ) VALUES ( "&VBScript + query = query&" '"&p_sn&"', '"&p_subject&"', '"&p_contactor&"', '"&p_cli_company_cd&"', '"&p_cli_per_cd&"', '"&p_client_type_cd&"', '"&p_method_cd&"', "&VBScript + query = query&" '"&p_cont_cost&"', '"&p_cont_cost&"', '"&p_cost_rate&"', '"&p_decide_date&"', '"&p_memo&"', 'E', "&VBScript + query = query&" '"&p_project_type_cd&"', "&VBScript + query = query&" '"&p_project_nation_cd&"', "&VBScript + + IF Session("User_Number") = "20191201" THEN ' 20240408 Á¶±âÇý ÆÀÀå ¿äûÀ¸·Î ¼­Áö¿ø »ó¹«´ÔÀÌ µî·ÏÇÏ´Â ¸ðµç ÇÁ·ÎÁ§Æ®´Â ¸¶ÄÉÆÃ 5±×·ìÀ¸·Î µî·Ï + query = query&" '"&Session("Depart_Code")&"', '"&Session("teamcode")&"', 'R', '705', Getdate(), '"&Session("User_Number")&"') "&VBScript + ELSE + query = query&" '"&Session("Depart_Code")&"', '"&Session("teamcode")&"', '"&Session("N_depart")&"', '"&Session("N_team")&"', Getdate(), '"&Session("User_Number")&"') "&VBScript + END IF + 'Response.write query + + dbin.Open adoConn + dbin.Execute query + dbin.Close + End If + +End Select +%> \ No newline at end of file diff --git a/project/project_AjaxSelect.asp b/project/project_AjaxSelect.asp new file mode 100644 index 0000000..fa1cde4 --- /dev/null +++ b/project/project_AjaxSelect.asp @@ -0,0 +1,399 @@ + + + +<% +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 + + +Dim Flag : Flag = Request("Flag") +Dim Search : Search = unescape(Request("Search")) +Dim Depart : Depart = Request("Depart") +Dim DivHtml + +Select case Flag + +Case "CompanyList" + + +query = "select * from project2.dbo.V_CLIENT_COMP where p_cli_company_nm like '%"&Search&"%' ORDER BY p_cli_company_nm" +rsc.Open query, adoConn, 1 +DivHtml="" +If not rsc.eof Then + while not rsc.eof + DivHtml =+ DivHtml&"
"&rsc("p_cli_company_nm")&"
" + rsc.movenext + wend +end If +rsc.close +DivHtml =+ DivHtml&"
" +DivHtml =+ DivHtml&" " +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"
" +response.write DivHtml + +case "CompanyPerson" + +query = "select * from project2.dbo.V_CLIENT_PERSON where p_cli_company_cd = '"&Search&"' ORDER BY p_cli_per_nm " +'response.write query + +rsc.Open query, adoConn, 1 +DivHtml = "" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +If not rsc.eof Then + + + + while not rsc.eof + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + DivHtml =+ DivHtml&"" + rsc.movenext + wend + + +end If +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"" +DivHtml =+ DivHtml&"
ClientºÎ¼­¸í
"&rsc("p_cli_per_nm")&""&rsc("p_cli_depart")&"
¹ÌÁ¤(Click!)
" +rsc.close +response.write DivHtml + +case "DetailList" + Dim sdate : sdate = Request("sdate") + Dim edate : edate = Request("edate") + + query = "" + query = query&" select p_sn, p_subject, a.p_cli_company_cd, b.p_cli_company_nm, a.p_cli_per_cd, c.p_cli_per_nm, "&VbScript + query = query&" a.p_client_type_cd, d.p_client_type_nm, p_memo, isnull(p_total_cost,0) p_total_cost, isnull(p_obtain_cost,0) p_obtain_cost, "&VbScript + query = query&" p_cont_cost, p_decide_date, convert(varchar(10),a.p_input_dt,23) as p_input_dt, a.p_input_user, e.p_name, "&VbScript + query = query&" case p_state "&VbScript + query = query&" when 'E' then '°ËÅä(°¡¸Á)' "&VbScript + query = query&" when 'K' then 'Á¦¾È' "&VbScript + query = query&" when 'D' then '¿¬±â' "&VbScript + query = query&" when 'X' then 'Å»¶ô' "&VbScript + query = query&" when 'P' then '¼öÁÖ' "&VbScript + query = query&" when 'C' then 'ÁøÇà' "&VbScript + query = query&" when 'F' then '¿Ï·á' end p_state, "&VbScript + query = query&" p_Depart_N, p_Team_N, f.D_Name, f.T_Name "&VbScript + query = query&" from T_PROJECT_BASE a "&VbScript + query = query&" left join project2.dbo.V_CLIENT_COMP b on a.p_cli_company_cd=b.p_cli_company_cd "&VbScript + query = query&" left join project2.dbo.V_CLIENT_PERSON c on a.p_cli_per_cd=c.p_cli_per_cd and a.p_cli_company_cd=c.p_cli_company_cd "&VbScript + query = query&" left join project2.dbo.T_CLIENT_TYPE_CD d on a.p_client_type_cd=d.p_client_type_cd "&VbScript + query = query&" left join project2.dbo.V_Person e on a.p_input_user = e.p_no "&VbScript + query = query&" left join project2.dbo.v_Department f on a.p_Depart_N+a.p_Team_N=f.Code "&VbScript + If sdate = "" Then + query = query&" where convert(varchar(7),a.p_input_dt,23)='"&Year(Now())&"-0"&Month(Now())&"' "&Vbscript + Else + query = query&" where a.p_input_dt between '"&sdate&"' and '"&edate&"'"&VbScript + End If + query = query&" order by p_sn desc "&VbScript + 'response.write query + rsc.Open query, adoConn, 1 + set json = jsObject() + + Redim data(rsc.recordcount-1) + iCnt = 0 + if not rsc.eof then + while not rsc.eof + set Contact = jsObject() + Contact("p_sn") = rsc("p_sn") + Contact("p_subject") = rsc("p_subject") + Contact("p_state") = rsc("p_state") + Contact("p_cli_company_nm") = rsc("p_cli_company_nm") + Contact("p_total_cost") = Cdbl(rsc("p_total_cost")) + Contact("p_cont_cost") = Cdbl(rsc("p_cont_cost")) + Contact("p_name") = rsc("p_name") + Contact("p_input_dt") = rsc("p_input_dt") + set data(iCnt) = Contact + iCnt = iCnt + 1 + rsc.movenext + wend + + + json("data") = data + + Else + json("data") = "" + End If + rsc.close + response.write toJSON(json) + +Case "ContactList" + + sdate = Request("sdate") + edate = Request("edate") + + query = "" + query = query &"select * from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" select"&VbCrlf + query = query &" isnull(PCode,'') PCode, isnull(PTeam,'') PTeam, p_sn, p_subject, p_cli_company_nm, '' as p_method, ''as p_sample ,"&VbCrlf + query = query &" p_cont_cost, isnull(p_total_cost,0) as p_total_cost, '' as pc_con_cost, '' as sum_est, '' as rate_est, '' as sum_act, '' as rate_act, "&VbCrlf + query = query &" '' as r_est, '' as r_act, '' as f_est, '' as f_act, convert(varchar(10), p_decide_date,23) p_decide_date,"&VbCrlf + query = query &" '' as p_con_date_st, '' as p_con_date_end, p_state, '' as r_user, '' as f_user, p_input_user, p_name, convert(varchar(10), p_input_dt,23) p_input_dt, '' as p_input_progress from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" select f.Code as PCode, f.T_Name as PTeam,T.* from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" select p_sn, p_subject, a.p_cli_company_cd, b.p_cli_company_nm, p_total_cost, p_obtain_cost,"&VbCrlf + query = query &" p_cont_cost, p_decide_date, a.p_input_dt, a.p_input_user, e.p_name,"&VbCrlf + query = query &" case p_state"&VbCrlf + query = query &" when 'E' then '°ËÅä(°¡¸Á)'"&VbCrlf + query = query &" when 'K' then 'Á¦¾È'"&VbCrlf + query = query &" when 'D' then '¿¬±â'"&VbCrlf + query = query &" when 'X' then 'Å»¶ô'"&VbCrlf + query = query &" when 'P' then '¼öÁÖ'"&VbCrlf + query = query &" when 'C' then 'ÁøÇà'"&VbCrlf + query = query &" when 'F' then '¿Ï·á' end p_state,"&VbCrlf + query = query &" Case "&VbCrlf + query = query &" When p_Depart_N is null then cast(p_depart_dep as varchar)"&VbCrlf + query = query &" Else p_Depart_N+p_Team_N"&VbCrlf + query = query &" End Team"&VbCrlf + query = query &" from project2.dbo.T_PROJECT_BASE a"&VbCrlf + query = query &" left join project2.dbo.V_CLIENT_COMP b on a.p_cli_company_cd=b.p_cli_company_cd"&VbCrlf + query = query &" left join project2.dbo.V_Person e on a.p_input_user = e.p_no"&VbCrlf + query = query &" ) T"&VbCrlf + query = query &" left join project2.dbo.v_Department f on T.Team=f.Code or T.Team=f.before_t_cd1"&VbCrlf + query = query &" ) as A"&VbCrlf + query = query &" union all"&VbCrlf + query = query &" "&VbCrlf + query = query &" select"&VbCrlf + query = query &" isnull(Tcode,'') Tcode, isnull(depart_name,'') depart_name, p_child_sn as p_sn, p_subject, p_cli_company_nm, p_method_nm, isnull(p_sample,'') p_sample, p_cont_cost, p_total_cost, isnull(pc_cont_cost,0) pc_cont_cost,"&VbCrlf + query = query &" sum_est, case when pc_cont_cost = 0 or isnull(pc_cont_cost,0) = 0 then 0 else (isnull(sum_est,0)*100)/pc_cont_cost end as rate_est,"&VbCrlf + query = query &" sum_act, case when pc_cont_cost = 0 or isnull(pc_cont_cost,0) = 0 then 0 else (isnull(sum_act,0)*100)/pc_cont_cost end as rate_act,"&VbCrlf + query = query &" r_est, r_act, f_est, f_act, '', "&VbCrlf + query = query &" isnull(p_con_date_st,'') p_con_date_st, isnull(p_con_date_end,'') p_con_date_end, p_state, isnull(r_user, '') as r_user, isnull(f_user, '') as f_user, p_input_user, isnull(p_name,'') p_name, convert(varchar(10), p_input_dt,23) p_input_dt, "&VbCrlf + query = query &" CASE WHEN left(p_input_complete, 1) = 'x' THEN '¿¬±¸ ' ELSE '' END + "&VbCrLf + query = query &" CASE WHEN substring(p_input_complete, 2, 1) = 'x' THEN '½Ç»ç' + "&VbCrLf + query = query &" CASE WHEN p_field_dept = '8' THEN "&VbCrLf + query = query &" CASE WHEN ISNULL(qc_prog, '') = '' THEN '(QC) ' ELSE '' END "&VbCrLf + query = query &" WHEN p_field_dept = '9' THEN "&VbCrLf + query = query &" CASE WHEN ISNULL(SV_prog, '') = '' THEN '(SV) ' ELSE '' END "&VbCrLf + query = query &" ELSE "&VbCrLf + query = query &" CASE WHEN ISNULL(SV_prog, '') = '' THEN "&VbCrLf + query = query &" '(SV' + "&VbCrLf + query = query &" CASE WHEN ISNULL(qc_prog, '') = '' THEN ', QC) ' ELSE ') ' END "&VbCrLf + query = query &" ELSE "&VbCrLf + query = query &" CASE WHEN ISNULL(qc_prog, '') = '' THEN '(QC) ' ELSE '' END "&VbCrLf + query = query &" END "&VbCrLf + query = query &" END "&VbCrLf + query = query &" ELSE '' "&VbCrLf + query = query &" END + "&VbCrLf + query = query &" CASE WHEN left(p_input_complete, 1) = 'x' OR substring(p_input_complete, 2, 1) = 'x' THEN 'Á÷Á¢ºñ ¹ÌÀÔ·Â' ELSE '' END AS p_input_progress "&VbCrLf + query = query &" from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT p_field_dept, p_is_dept,"&VbCrlf + query = query &" TPB.p_Depart_N+TPB.p_Team_N as Tcode,"&VbCrlf + query = query &" ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), DDE.depart_name) AS depart_name,"&VbCrlf + query = query &" TPM.p_child_sn, TPM.p_subject,"&VbCrlf + query = query &" VCC.p_cli_company_nm,"&VbCrlf + query = query &" TPM.p_method_cd,"&VbCrlf + query = query &" TPMC.p_method_nm,"&VbCrlf + query = query &" TPM.p_sample, --Ç¥º»"&VbCrlf + query = query &" TPB.p_cont_cost, --¿¹»ó°è¾à¾×"&VbCrlf + query = query &" TPB.p_total_cost, --½ÇÁ¦°è¾à¾×"&VbCrlf + query = query &" TPM.p_cont_cost as pc_cont_cost, --´ÜÀ§°è¾à"&VbCrlf + query = query &" ISNULL(DC.sum_est, 0) AS sum_est, --¿¹»óÁ÷Á¢ºñ"&VbCrlf + query = query &" (ISNULL(DC.sum_act, 0) + ISNULL(MC.marketing_cost, 0) + ISNULL(JC.job_money, 0)) AS sum_act, --ÁýÇàÁ÷Á¢ºñ"&VbCrlf + query = query &" ISNULL(DC.sum_act, 0) AS sum_act_tmp,"&VbCrlf + query = query &" ISNULL(DC.r_est, 0) AS r_est,"&VbCrlf + query = query &" ISNULL(DC.r_act, 0) AS r_act,"&VbCrlf + query = query &" ISNULL(DC.f_est, 0) AS f_est,"&VbCrlf + query = query &" ISNULL(DC.f_act, 0) AS f_act,"&VbCrlf + query = query &" TPM.p_con_date_st,"&VbCrlf + query = query &" TPM.p_con_date_end,"&VbCrlf + query = query &" TPM.p_progress_status,"&VbCrlf + query = query &" TPM.p_input_complete,"&VbCrlf + query = query &" DCF.sv_prog,"&VbCrlf + query = query &" DCF.qc_prog,"&VbCrlf + query = query &" ISNULL(TPM.p_research_complete, 0) AS p_research_complete,"&VbCrlf + query = query &" ISNULL(TPM.p_field_complete, 0) AS p_field_complete,"&VbCrlf + query = query &" ISNULL(TPM.p_dp_complete, 0) AS p_dp_complete,"&VbCrlf + query = query &" TPM.p_sn, RU.p_name as r_user, FU.p_name as f_user, VP.p_name, TPB.p_input_user, TPM.p_input_dt,"&VbCrlf + query = query &" case p_progress_status when '008' then case when p_research_complete='1' and p_field_complete='1' and p_dp_complete='1' then '¿Ï·á' else 'ÁøÇà' end else '¹ÌÁøÇà' end p_state"&VbCrlf + query = query &" FROM project2.dbo.T_PROJECT_METHOD TPM LEFT JOIN"&VbCrlf + query = query &" project2.dbo.T_PROJECT_BASE TPB on TPM.p_sn = TPB.p_sn LEFT JOIN"&VbCrlf + query = query &" project2.dbo.T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_Person VP ON TPB.p_input_user = VP.p_no LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_Person RU ON TPM.p_rsch_1_a = RU.p_no LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_Person FU ON TPM.p_sv_1 = FU.p_no LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_CLIENT_COMP VCC ON TPM.p_cli_company_cd = VCC.p_cli_company_cd LEFT JOIN"&VbCrlf + query = query &" project2.dbo.direct_cost_field DCF ON TPM.p_child_sn = DCF.p_child_sn AND DCF.del_yn = 'n' LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'ŰÀ§¼­º£ÀÌ' ELSE T_Name END, 8) AS depart_name, "&VbCrlf + query = query &" before_t_cd1 AS depart_code "&VbCrlf + query = query &" FROM project2.dbo.v_Department"&VbCrlf + query = query &" WHERE before_t_cd1 NOT IN ('0', '18')"&VbCrlf + query = query &" ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code"&VbCrlf + query = query &" FROM project2.dbo.v_Department"&VbCrlf + query = query &" WHERE before_t_cd1 NOT IN ('17', '18', '0')"&VbCrlf + query = query &" ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code"&VbCrlf + query = query &" FROM project2.dbo.v_Department"&VbCrlf + query = query &" WHERE before_t_cd1 NOT IN ('17', '18', '0')"&VbCrlf + query = query &" ) DFI ON TPM.p_field_dept = DFI.depart_code LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT p_child_sn,"&VbCrlf + query = query &" sum(CONVERT(money, est_money)) AS sum_est,"&VbCrlf + query = query &" sum(CONVERT(money, act_money)) AS sum_act,"&VbCrlf + query = query &" sum(case when cost_type = 'research' then CONVERT(money, est_money) else 0 end) AS r_est,"&VbCrlf + query = query &" sum(case when cost_type = 'research' then CONVERT(money, act_money) else 0 end) AS r_act,"&VbCrlf + query = query &" sum(case when cost_type = 'field' then CONVERT(money, est_money) else 0 end) AS f_est,"&VbCrlf + query = query &" sum(case when cost_type = 'field' then CONVERT(money, act_money) else 0 end) AS f_act"&VbCrlf + query = query &" FROM project2.dbo.direct_cost"&VbCrlf + query = query &" WHERE p_child_sn > '17' AND del_yes_no = 'no'"&VbCrlf + query = query &" GROUP BY p_child_sn"&VbCrlf + query = query &" ) DC ON TPM.p_child_sn = DC.p_child_sn LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT M.p_sn, SUM(CONVERT(money, REPLACE(CONVERT(varchar(100), M.target6), ',', ''))) AS marketing_cost"&VbCrlf + query = query &" FROM project2.dbo.¹®¼­³»¿ë M LEFT JOIN project2.dbo.Document D ON M.¹®¼­¹øÈ£ = D.d_no"&VbCrlf + query = query &" WHERE M.¹®¼­Á¦¸ñ = 'Á¢´ëºñº¸°í¼­' AND M.del_yes_no = 'no'"&VbCrlf + query = query &" AND D.d_order_cnt = '77'"&VbCrlf + query = query &" GROUP BY M.p_sn"&VbCrlf + query = query &" ) MC ON TPM.p_child_sn = MC.p_sn LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT CA.p_sn, SUM(CA.cost_money) AS job_money"&VbCrlf + query = query &" FROM project2.dbo.cost_account CA LEFT JOIN project2.dbo.¹®¼­³»¿ë M ON CA.d_no = M.¹®¼­¹øÈ£"&VbCrlf + query = query &" LEFT JOIN project2.dbo.Document D ON M.¹®¼­¹øÈ£ = D.d_no"&VbCrlf + query = query &" WHERE CA.cost_money > 0 AND CA.approval = 'yes'"&VbCrlf + query = query &" AND M.del_yes_no = 'no' AND D.d_order_cnt = '77'"&VbCrlf + query = query &" GROUP BY CA.p_sn"&VbCrlf + query = query &" ) JC ON TPM.p_child_sn = JC.p_sn"&VbCrlf + query = query &" where TPM.p_child_sn is not null"&VbCrlf + query = query &" ) as A"&VbCrlf + query = query &" ) AA"&VbCrlf + query = query& " where p_input_dt between '"&sdate&"' and '"&edate&"' and p_state <> '¼öÁÖ'"&VBCrlf + if Depart <> "1" Then + if cint(session("Depart_Code")) >= 20 Then + query = query & " AND (PCode = '" & Session("N_depart") & Session("N_team") &"' " & vbCrLf + ' if session("depart_code") = 64 Then + ' query = query & " OR PCode = 'R601' " & vbCrLf + ' End IF + if session("depart_code") = 63 Then + query = query & " OR PCode = 'R602' " & vbCrLf + End IF + if session("User_Number") = "20200302" Then '¾ÈÁ¤¸ð + query = query & " OR PCode in ('R701', 'R702') " & vbCrLf + End IF + query = query & " ) " + End if + if session("User_Number") = "20000201" Then '¿ø¼ºÈÆ + query = query & " AND PCode in ('R601', 'R602', 'R603','R604','R605','R606') " & vbCrLf + End IF + if session("User_Number") = "20190601" Then 'ÀÌÇýÁø + query = query & " AND PCode in ('R701', 'R702', 'R501') " & vbCrLf + End IF + if session("User_Number") = "20210105" Then '±è´Ù½½ + query = query & " AND PCode in ('R703', 'R704') " & vbCrLf + End IF + if session("User_Number") = "20160205" Then '¹ÚÁöÈÆ + 'query = query & " and PCode in ('R604','R605','R606', 'A101') " & vbCrLf + query = query & " AND PCode in ('R601','R602','R603') " & vbCrLf + End IF + if session("User_Number") = "20210107" Then '½Å»ó¿í + 'query = query & " and PCode in ('R604','R605','R606', 'A101') " & vbCrLf + query = query & " AND PCode in ('R604','R605','R606') " & vbCrLf + End IF + End If + query = query&" ORDER BY p_sn"&VbCrlf + + 'response.write query &" ---------------------------------
" + + rsc.Open query, adoConn, 1 + set json = jsObject() + + Redim data(rsc.recordcount-1) + iCnt = 0 + if not rsc.eof then + while not rsc.eof + set Contact = jsObject() + if rsc("PTeam") = "" Then + Contact("Team") = "¹ÌÁöÁ¤" + Else + Contact("Team") = rsc("PTeam") + End If + Contact("p_sn") = rsc("p_sn") + Contact("p_subject") = replace(rsc("p_subject"), """", """) + Contact("p_cli_company_nm") = rsc("p_cli_company_nm") + If rsc("p_method") = "" Then + Contact("p_method") = "¹ÌÁöÁ¤" + Else + Contact("p_method") = rsc("p_method") + End If + Contact("p_sample") = Cdbl(rsc("p_sample")) + Contact("p_cont_cost") = Cdbl(rsc("p_cont_cost")) + Contact("p_total_cost") = Cdbl(rsc("p_total_cost")) + Contact("pc_con_cost") = Cdbl(rsc("pc_con_cost")) + Contact("sum_est") = Cdbl(rsc("sum_est")) + Contact("rate_est") = Round(Cdbl(rsc("rate_est")),2) + Contact("sum_act") = Cdbl(rsc("sum_act")) + Contact("rate_act") = Round(Cdbl(rsc("rate_act")),2) + Contact("r_est") = Cdbl(rsc("r_est")) + Contact("r_act") = Cdbl(rsc("r_act")) + Contact("f_est") = Cdbl(rsc("f_est")) + Contact("f_act") = Cdbl(rsc("f_act")) + Contact("p_decide_date") = rsc("p_decide_date") + Contact("p_con_date_st") = rsc("p_con_date_st") + Contact("p_con_date_end") = rsc("p_con_date_end") + Contact("p_state") = rsc("p_state") + If rsc("p_name") = "" then + Contact("p_input_user") = "¹ÌÁöÁ¤" + Else + Contact("p_input_user") = rsc("p_name") + End If + If rsc("r_user") = "" then + Contact("r_user") = "¹ÌÁöÁ¤" + Else + Contact("r_user") = rsc("r_user") + End If + If rsc("f_user") = "" then + Contact("f_user") = "¹ÌÁöÁ¤" + Else + Contact("f_user") = rsc("f_user") + End If + Contact("p_input_dt") = rsc("p_input_dt") + Contact("p_input_progress") = rsc("p_input_progress") + set data(iCnt) = Contact + iCnt = iCnt + 1 + + rsc.movenext + wend + + json("data") = data + + Else + json("data") = "" + End If + rsc.close + response.write toJSON(json) +End Select +%> \ No newline at end of file diff --git a/project/project_ContactInfo.asp b/project/project_ContactInfo.asp new file mode 100644 index 0000000..94f259a --- /dev/null +++ b/project/project_ContactInfo.asp @@ -0,0 +1,1007 @@ + + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") +Response.CharSet="euc-kr" +Response.AddHeader "Pragma","no-cache" +Response.AddHeader "cache-control", "no-staff" +Response.Expires = -1 +p_sn = request("p_sn") +dim rsp + +sql = "" +sql = sql&" select DISTINCT a.p_sn, a.p_subject, p_contactor,a.p_cli_company_cd,b.p_cli_company_nm,c.p_cli_per_cd,c.p_cli_depart, "&VbCrlf +sql = sql&" c.p_cli_per_nm,c.p_cli_per_com_tel,c.p_cli_per_tel,c.p_cli_per_email,a.p_client_type_cd,d.p_client_type_nm, "&VbCrlf +sql = sql&" isnull(case "&VbCrlf +sql = sql&" when a.p_methodCd is null then STUFF((select ','+ cast(p_method_cd as varchar) from project2.dbo.T_PROJECT_METHOD where p_sn = e.p_sn FOR XML PATH('')),1,1,'') "&VbCrlf +sql = sql&" else REPLACE(a.p_methodCd,' ','') "&VbCrlf +sql = sql&" end,'') p_method_cd, "&VbCrlf +sql = sql&" p_obtain_cost,isnull(a.p_total_cost,'') as p_total_cost,a.p_cont_cost,p_cost_rate,a.p_decide_date, a.p_state, a.p_input_user "&VbCrlf +sql = sql&" , p_project_type_cd "&VbCrlf +sql = sql&" , p_project_nation_cd "&VbCrlf +sql = sql&" , p_Team_N , p_Depart_N "&VbCrlf +sql = sql&" from project2.dbo.T_PROJECT_BASE a "&VbCrlf +sql = sql&" left join project2.dbo.V_CLIENT_COMP b on a.p_cli_company_cd=b.p_cli_company_cd "&VbCrlf +sql = sql&" left join project2.dbo.V_CLIENT_PERSON c on a.p_cli_per_cd=c.p_cli_per_cd and a.p_cli_company_cd=c.p_cli_company_cd "&VbCrlf +sql = sql&" left join project2.dbo.T_CLIENT_TYPE_CD d on a.p_client_type_cd=d.p_client_type_cd "&VbCrlf +sql = sql&" left join project2.dbo.T_PROJECT_METHOD e on a.p_sn = e.p_sn "&VbCrlf +sql = sql&" where a.p_sn='"&p_sn&"' "&VbCrlf +'response.write sql +rsp.Open sql, adoConn, 1 +dim state + +Select case rsp("p_state") +case "E" + state= "°ËÅä(°¡¸Á)" +case "K" + state= "Á¦¾È" +case "P" + state= "¼öÁÖ" +case "D" + state= "¿¬±â" +case "X" + state= "Å»¶ô" +case "C" + state= "ÁøÇà" +case "F" + state= "¿Ï·á" +case else + state= "" +End Select +%> + +
+ + +
+

ÇÁ·ÎÁ§Æ® »ó¼¼Á¤º¸

+
+ + +
+
+
+
+
+
+ + +
+ + +
+
+
+
+
+
+
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Á¦¾È µî·Ï Á¤º¸ [ÇöÀç´Â <%=state %>»óÅ ÀÔ´Ï´Ù.]
Á¦¾È¸í + + +
¹ß»ý °æ·Î + +
Ŭ¶óÀ̾ðƮȸ»ç + "/> + "/> + +
ºÎ¼­ + "/> +
´ã´çÀÚ À̸§ + "/> + "/> +
ȸ»ç ÀüÈ­¹øÈ£ + "/> +
´ã´çÀÚ ÈÞ´ëÆù + "/> +
À̸ÞÀÏ + "/> +
+ + + + + + + + + + + + + + + + + + + + + + + + <%If rsp("p_state") <> "E" Then %> + + + + + <%End If %> + + + + + + + + + + + + + + + + + + + + + + + + + + +
KRi or KRC or KRD + checked<%end if%> >   KRi +     + checked<%end if%> >   KRC +     + checked<%end if%> >   KRT + checked<%end if%> >   KRD +
Á¶»ç ±¹°¡ + checked<%end if%>>   ±¹³» Á¶»ç +     + checked<%end if%>>   ÇØ¿Ü Á¶»ç +
¾÷Á¾ + +
Á¶»ç ¹æ¹ý +
+ <% + dim iCnt : iCnt = 0 + query = " select p_method_cd, p_method_nm, p_gubn from project2.dbo.T_PROJECT_METHOD_CD where p_use_yn='Y' order by p_gubn, p_method_cd " + rsc.Open query, adoConn, 1 + Dim flag + if not rsc.eof Then + while not rsc.eof + iCnt= iCnt+1 + + select case rsc("p_gubn") + + case "1" + if rsc("p_gubn") <> flag Then + flag = rsc("p_gubn") + Response.Write "
Á¤·®" + End If + response.write "" + case "2" + + if rsc("p_gubn") <> flag Then + flag = rsc("p_gubn") + Response.Write "
" + Response.Write "
Á¤¼º" + End If + response.write "" + case "3" + + if rsc("p_gubn") <> flag Then + flag = rsc("p_gubn") + Response.Write "
" + Response.Write "
Desk work" + End If + response.write "" + End Select + rsc.movenext + wend + Response.Write "
" + End If + rsc.close + %> +
+
¿¹»ó °è¾à¾× + (Vat ¹ÌÆ÷ÇÔ) +
½ÇÁ¦ °è¾à¾× + (Vat ¹ÌÆ÷ÇÔ) +
¿¹»ó Á÷Á¢ºñÀ² + +
°áÁ¤ ¿¹Á¤ÀÏ + +
ºñ°í + <% + query = " select p_memo from project2.dbo.T_PROJECT_BASE where p_sn='"&p_sn&"' " + rsc.Open query, adoConn, 1 + if not rsc.eof Then + p_memo = rsc("p_memo") + End If + rsc.close + %> + +
÷ºÎÆÄÀÏRFPµî + + <% + query = " select * from T_SYSTEM_ATTACH where f_use_yn='Y' and f_work_type='001' and f_kind='001' and f_p_sn='"&p_sn&"' " + rsc.Open query, adoConn, 1 + if not rsc.eof Then + response.write " "&rsc("f_save_name")&"" + End If + rsc.close + %> +
Á¦¾È¼­ + + <% + query = " select * from T_SYSTEM_ATTACH where f_use_yn='Y' and f_work_type='001' and f_kind='002' and f_p_sn='"&p_sn&"' " + rsc.Open query, adoConn, 1 + if not rsc.eof Then + response.write " "&rsc("f_save_name")&"" + End If + rsc.close + %> +
°ßÀû¼­ + + <% + query = " select * from T_SYSTEM_ATTACH where f_use_yn='Y' and f_work_type='001' and f_kind='003' and f_p_sn='"&p_sn&"' " + rsc.Open query, adoConn, 1 + if not rsc.eof Then + response.write " "&rsc("f_save_name")&"" + End If + rsc.close + %> +
+ +
+
+ + <% If Cstr(Session("User_Number")) = rsp("p_input_user") or Session("N_depart")&Session("N_team") = rsp("p_Depart_N")&rsp("p_Team_N") or Session("N_depart")&Session("N_team") = "S401" Then %> + + <% + Select case rsp("p_state") + + case "E" + response.write "" + case "K" + response.write "" + response.write "" + response.write "" + case "D" + response.write "" + response.write "" + End Select + %> + <% End If %> +
+
+
+ + <% if p_state = "X" then %> +
+
+ + + + + + + +
Å»¶ô »çÀ¯
+
+ <%=replace(p_drop_reason, chr(13), "
") %> +
+
+
+
+ <% end if %> +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_ContactList.asp b/project/project_ContactList.asp new file mode 100644 index 0000000..86253c6 --- /dev/null +++ b/project/project_ContactList.asp @@ -0,0 +1,406 @@ + + + +
+ + +
+

ÇÁ·ÎÁ§Æ® ÇöȲ

+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ºÎ¼­ÁøÇà »óÅÂÇÁ·ÎÁ§Æ® ÄÚµåÇÁ·ÎÁ§Æ® ¸íŬ¶óÀÌ¾ðÆ® ¸íÁ¶»ç¹æ¹ýÇ¥º»¼ö¿¹»ó °è¾à¾×½ÇÁ¦ °è¾à¾×´ÜÀ§ °è¾à¾×¿¹»ó Á÷Á¢ºñ¿¹»ó Á÷Á¢ºñÀ²ÁýÇà Á÷Á¢ºñÁýÇà Á÷Á¢ºñÀ²°áÁ¤ ¿¹Á¤Àϰè¾à ½ÃÀÛÀϰè¾à Á¾·áÀÏ¿¹»ó Á÷Á¢ºñ Á¤º¸¿¬±¸ ´ã´çÀÚ½Ç»ç ´ã´çÀÚµî·ÏÀÚµî·ÏÀÏ
+ +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_ContactList_extenal.asp b/project/project_ContactList_extenal.asp new file mode 100644 index 0000000..526956b --- /dev/null +++ b/project/project_ContactList_extenal.asp @@ -0,0 +1,483 @@ +<%@ codepage="949" language="VBScript" %> + + + + + + +<% +'#################################################################################################### +''???@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ +Dim sel_logo +sel_logo = "kri" +''@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + +adoConn.CommandTimeout = 0 +adoConn.ConnectionTimeout = 6000 + +Dim clientIp: clientIp = Request.ServerVariables("REMOTE_ADDR"): 'Response.Write clientIp + +GNB_TITLE = "Korea Research Intranet" + +Dim DevNode : DevNode = "real" +'DevNode = "TEST" +If DevNode = "TEST" Then + GNB_TITLE = "[" & DevNode & "] " & GNB_TITLE +End If + + +''//============ +If( DevNode = "real" )Then + session("db_connect") = "Provider=SQLNCLI10.1;Password=krco#51304;Persist Security Info=True;User ID=sa;Initial Catalog=project2;Data Source=10.10.11.6;" +Else + session("db_connect") = "Provider=SQLOLEDB.1;Password=krco#51304;Persist Security Info=True;User ID=sa;Initial Catalog=project2;Data Source=10.10.15.177,1313" +End if + +adoConn.open session("db_connect") + +If split(request.servervariables("HTTP_url"), "/")(1) <> "login.asp" _ + And split(split(request.servervariables("HTTP_url"), "/")(1), "?")(0) <> "login_ok.asp" _ + And split(request.servervariables("HTTP_url"), "/")(1) <> "nk" Then + + 'response.write " IP check " + 'call Time_Check(Session("Login_Check")) + +End If + +response.write "
"& Request.ServerVariables("REMOTE_ADDR") +'response.write "
"& replace(replace(Request.ServerVariables("REMOTE_ADDR"), "10.10.20.", "10.10.13."), "10.10.17.", "10.10.13.") +'response.write "
"& left(replace(replace(Request.ServerVariables("REMOTE_ADDR"), "10.10.20.", "10.10.13."), "10.10.17.", "10.10.13."),9) + +if( left(replace(replace(Request.ServerVariables("REMOTE_ADDR"), "10.10.20.", "10.10.13."), "10.10.17.", "10.10.13."),9) <> "10.10.13." )then + + response.write Request.ServerVariables("REMOTE_ADDR") + response.end +end if + + +%> + + +<% + +Response.Charset = "EUC-KR" +Response.codePage = "949" +Response.ContentType="text/html;charset=euc-kr" +%> + + + + + + + + + <%=GNB_TITLE%> + <% If Request("dialog") <> "1" Then %> + <% If Request("command") <> "excel" Then %> + + + + + + + + + + + + + + + + + + + + + <% End If %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% End If %> + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +<% + Dim sdate : sdate = Request("sdate") + Dim edate : edate = Request("edate") + + sdate = "2022-01-01" + edate = Date() + + query = "" + query = query &"select * from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" select"&VbCrlf + query = query &" isnull(PCode,'') PCode, isnull(PTeam,'') PTeam, p_sn, p_subject, p_cli_company_nm, '' as p_method, ''as p_sample ,"&VbCrlf + query = query &" p_cont_cost, isnull(p_total_cost,0) as p_total_cost, '' as pc_con_cost, '' as sum_est, '' as rate_est, '' as sum_act, '' as rate_act, "&VbCrlf + query = query &" '' as r_est, '' as r_act, '' as f_est, '' as f_act, convert(varchar(10), p_decide_date,23) p_decide_date,"&VbCrlf + query = query &" '' as p_con_date_st, '' as p_con_date_end, p_state, '' as r_user, '' as f_user, p_input_user, p_name, convert(varchar(10), p_input_dt,23) p_input_dt, '' as p_input_progress from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" select f.Code as PCode, f.T_Name as PTeam,T.* from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" select p_sn, p_subject, a.p_cli_company_cd, b.p_cli_company_nm, p_total_cost, p_obtain_cost,"&VbCrlf + query = query &" p_cont_cost, p_decide_date, a.p_input_dt, a.p_input_user, e.p_name,"&VbCrlf + query = query &" case p_state"&VbCrlf + query = query &" when 'E' then '°ËÅä(°¡¸Á)'"&VbCrlf + query = query &" when 'K' then 'Á¦¾È'"&VbCrlf + query = query &" when 'D' then '¿¬±â'"&VbCrlf + query = query &" when 'X' then 'Å»¶ô'"&VbCrlf + query = query &" when 'P' then '¼öÁÖ'"&VbCrlf + query = query &" when 'C' then 'ÁøÇà'"&VbCrlf + query = query &" when 'F' then '¿Ï·á' end p_state,"&VbCrlf + query = query &" Case "&VbCrlf + query = query &" When p_Depart_N is null then cast(p_depart_dep as varchar)"&VbCrlf + query = query &" Else p_Depart_N+p_Team_N"&VbCrlf + query = query &" End Team"&VbCrlf + query = query &" from project2.dbo.T_PROJECT_BASE a with(nolock) "&VbCrlf + query = query &" left join project2.dbo.V_CLIENT_COMP b with(nolock) on a.p_cli_company_cd=b.p_cli_company_cd"&VbCrlf + query = query &" left join project2.dbo.V_Person e with(nolock) on a.p_input_user = e.p_no"&VbCrlf + query = query &" ) T"&VbCrlf + query = query &" left join project2.dbo.v_Department f with(nolock) on T.Team=f.Code or T.Team=f.before_t_cd1"&VbCrlf + query = query &" ) as A"&VbCrlf + query = query &" union all"&VbCrlf + query = query &" "&VbCrlf + query = query &" select"&VbCrlf + query = query &" isnull(Tcode,'') Tcode, isnull(depart_name,'') depart_name, p_child_sn as p_sn, p_subject, p_cli_company_nm, p_method_nm, isnull(p_sample,'') p_sample, p_cont_cost, p_total_cost, isnull(pc_cont_cost,0) pc_cont_cost,"&VbCrlf + query = query &" sum_est, case when pc_cont_cost = 0 or isnull(pc_cont_cost,0) = 0 then 0 else (isnull(sum_est,0)*100)/pc_cont_cost end as rate_est,"&VbCrlf + query = query &" sum_act, case when pc_cont_cost = 0 or isnull(pc_cont_cost,0) = 0 then 0 else (isnull(sum_act,0)*100)/pc_cont_cost end as rate_act,"&VbCrlf + query = query &" r_est, r_act, f_est, f_act, '', "&VbCrlf + query = query &" isnull(p_con_date_st,'') p_con_date_st, isnull(p_con_date_end,'') p_con_date_end, p_state, isnull(r_user, '') as r_user, isnull(f_user, '') as f_user, p_input_user, isnull(p_name,'') p_name, convert(varchar(10), p_input_dt,23) p_input_dt, "&VbCrlf + query = query &" CASE WHEN left(p_input_complete, 1) = 'x' THEN '¿¬±¸ ' ELSE '' END + "&VbCrLf + query = query &" CASE WHEN substring(p_input_complete, 2, 1) = 'x' THEN '½Ç»ç' + "&VbCrLf + query = query &" CASE WHEN p_field_dept = '8' THEN "&VbCrLf + query = query &" CASE WHEN ISNULL(qc_prog, '') = '' THEN '(QC) ' ELSE '' END "&VbCrLf + query = query &" WHEN p_field_dept = '9' THEN "&VbCrLf + query = query &" CASE WHEN ISNULL(SV_prog, '') = '' THEN '(SV) ' ELSE '' END "&VbCrLf + query = query &" ELSE "&VbCrLf + query = query &" CASE WHEN ISNULL(SV_prog, '') = '' THEN "&VbCrLf + query = query &" '(SV' + "&VbCrLf + query = query &" CASE WHEN ISNULL(qc_prog, '') = '' THEN ', QC) ' ELSE ') ' END "&VbCrLf + query = query &" ELSE "&VbCrLf + query = query &" CASE WHEN ISNULL(qc_prog, '') = '' THEN '(QC) ' ELSE '' END "&VbCrLf + query = query &" END "&VbCrLf + query = query &" END "&VbCrLf + query = query &" ELSE '' "&VbCrLf + query = query &" END + "&VbCrLf + query = query &" CASE WHEN left(p_input_complete, 1) = 'x' OR substring(p_input_complete, 2, 1) = 'x' THEN 'Á÷Á¢ºñ ¹ÌÀÔ·Â' ELSE '' END AS p_input_progress "&VbCrLf + query = query &" from"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT p_field_dept, p_is_dept,"&VbCrlf + query = query &" TPB.p_Depart_N+TPB.p_Team_N as Tcode,"&VbCrlf + query = query &" ISNULL(ISNULL(DRE.depart_name, DFI.depart_name), DDE.depart_name) AS depart_name,"&VbCrlf + query = query &" TPM.p_child_sn, TPM.p_subject,"&VbCrlf + query = query &" VCC.p_cli_company_nm,"&VbCrlf + query = query &" TPM.p_method_cd,"&VbCrlf + query = query &" TPMC.p_method_nm,"&VbCrlf + query = query &" TPM.p_sample, --Ç¥º»"&VbCrlf + query = query &" TPB.p_cont_cost, --¿¹»ó°è¾à¾×"&VbCrlf + query = query &" TPB.p_total_cost, --½ÇÁ¦°è¾à¾×"&VbCrlf + query = query &" TPM.p_cont_cost as pc_cont_cost, --´ÜÀ§°è¾à"&VbCrlf + query = query &" ISNULL(DC.sum_est, 0) AS sum_est, --¿¹»óÁ÷Á¢ºñ"&VbCrlf + query = query &" (ISNULL(DC.sum_act, 0) + ISNULL(MC.marketing_cost, 0) + ISNULL(JC.job_money, 0)) AS sum_act, --ÁýÇàÁ÷Á¢ºñ"&VbCrlf + query = query &" ISNULL(DC.sum_act, 0) AS sum_act_tmp,"&VbCrlf + query = query &" ISNULL(DC.r_est, 0) AS r_est,"&VbCrlf + query = query &" ISNULL(DC.r_act, 0) AS r_act,"&VbCrlf + query = query &" ISNULL(DC.f_est, 0) AS f_est,"&VbCrlf + query = query &" ISNULL(DC.f_act, 0) AS f_act,"&VbCrlf + query = query &" TPM.p_con_date_st,"&VbCrlf + query = query &" TPM.p_con_date_end,"&VbCrlf + query = query &" TPM.p_progress_status,"&VbCrlf + query = query &" TPM.p_input_complete,"&VbCrlf + query = query &" DCF.sv_prog,"&VbCrlf + query = query &" DCF.qc_prog,"&VbCrlf + query = query &" ISNULL(TPM.p_research_complete, 0) AS p_research_complete,"&VbCrlf + query = query &" ISNULL(TPM.p_field_complete, 0) AS p_field_complete,"&VbCrlf + query = query &" ISNULL(TPM.p_dp_complete, 0) AS p_dp_complete,"&VbCrlf + query = query &" TPM.p_sn, RU.p_name as r_user, FU.p_name as f_user, VP.p_name, TPB.p_input_user, TPM.p_input_dt,"&VbCrlf + query = query &" case p_progress_status when '008' then case when p_research_complete='1' and p_field_complete='1' and p_dp_complete='1' then '¿Ï·á' else 'ÁøÇà' end else '¹ÌÁøÇà' end p_state"&VbCrlf + query = query &" FROM project2.dbo.T_PROJECT_METHOD TPM with(nolock) LEFT JOIN"&VbCrlf + query = query &" project2.dbo.T_PROJECT_BASE TPB with(nolock) on TPM.p_sn = TPB.p_sn LEFT JOIN"&VbCrlf + query = query &" project2.dbo.T_PROJECT_METHOD_CD TPMC with(nolock) ON TPM.p_method_cd = TPMC.p_method_cd LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_Person VP with(nolock) ON TPB.p_input_user = VP.p_no LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_Person RU with(nolock) ON TPM.p_rsch_1_a = RU.p_no LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_Person FU with(nolock) ON TPM.p_sv_1 = FU.p_no LEFT JOIN"&VbCrlf + query = query &" project2.dbo.V_CLIENT_COMP VCC with(nolock) ON TPM.p_cli_company_cd = VCC.p_cli_company_cd LEFT JOIN"&VbCrlf + query = query &" project2.dbo.direct_cost_field DCF with(nolock) ON TPM.p_child_sn = DCF.p_child_sn AND DCF.del_yn = 'n' LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT DISTINCT LEFT(CASE WHEN D_Code = 'S' AND before_t_cd1 IN (17, 18, 19) THEN 'DCO' ELSE T_Name END, 8) AS depart_name, "&VbCrlf + query = query &" before_t_cd1 AS depart_code "&VbCrlf + query = query &" FROM project2.dbo.v_Department with(nolock) "&VbCrlf + query = query &" WHERE before_t_cd1 NOT IN ('0', '18')"&VbCrlf + query = query &" ) DDE ON TPB.p_depart_dep = DDE.depart_code LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code"&VbCrlf + query = query &" FROM project2.dbo.v_Department with(nolock) "&VbCrlf + query = query &" WHERE before_t_cd1 NOT IN ('17', '18', '0')"&VbCrlf + query = query &" ) DRE ON TPM.p_rsch_dept = DRE.depart_code LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT DISTINCT LEFT(T_Name, 8) AS depart_name, before_t_cd1 AS depart_code"&VbCrlf + query = query &" FROM project2.dbo.v_Department with(nolock) "&VbCrlf + query = query &" WHERE before_t_cd1 NOT IN ('17', '18', '0')"&VbCrlf + query = query &" ) DFI ON TPM.p_field_dept = DFI.depart_code LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT p_child_sn,"&VbCrlf + query = query &" sum(CONVERT(money, est_money)) AS sum_est,"&VbCrlf + query = query &" sum(CONVERT(money, act_money)) AS sum_act,"&VbCrlf + query = query &" sum(case when cost_type = 'research' then CONVERT(money, est_money) else 0 end) AS r_est,"&VbCrlf + query = query &" sum(case when cost_type = 'research' then CONVERT(money, act_money) else 0 end) AS r_act,"&VbCrlf + query = query &" sum(case when cost_type = 'field' then CONVERT(money, est_money) else 0 end) AS f_est,"&VbCrlf + query = query &" sum(case when cost_type = 'field' then CONVERT(money, act_money) else 0 end) AS f_act"&VbCrlf + query = query &" FROM project2.dbo.direct_cost with(nolock) "&VbCrlf + query = query &" WHERE p_child_sn > '17' AND del_yes_no = 'no'"&VbCrlf + query = query &" GROUP BY p_child_sn"&VbCrlf + query = query &" ) DC ON TPM.p_child_sn = DC.p_child_sn LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT M.p_sn, SUM(CONVERT(money, REPLACE(CONVERT(varchar(100), M.target6), ',', ''))) AS marketing_cost"&VbCrlf + query = query &" FROM project2.dbo.¹®¼­³»¿ë M with(nolock) LEFT JOIN project2.dbo.Document D with(nolock) ON M.¹®¼­¹øÈ£ = D.d_no"&VbCrlf + query = query &" WHERE M.¹®¼­Á¦¸ñ = 'Á¢´ëºñº¸°í¼­' AND M.del_yes_no = 'no'"&VbCrlf + query = query &" AND D.d_order_cnt = '77'"&VbCrlf + query = query &" GROUP BY M.p_sn"&VbCrlf + query = query &" ) MC ON TPM.p_child_sn = MC.p_sn LEFT JOIN"&VbCrlf + query = query &" ("&VbCrlf + query = query &" SELECT CA.p_sn, SUM(CA.cost_money) AS job_money"&VbCrlf + query = query &" FROM project2.dbo.cost_account CA with(nolock) LEFT JOIN project2.dbo.¹®¼­³»¿ë M with(nolock) ON CA.d_no = M.¹®¼­¹øÈ£"&VbCrlf + query = query &" LEFT JOIN project2.dbo.Document D with(nolock) ON M.¹®¼­¹øÈ£ = D.d_no"&VbCrlf + query = query &" WHERE CA.cost_money > 0 AND CA.approval = 'yes'"&VbCrlf + query = query &" AND M.del_yes_no = 'no' AND D.d_order_cnt = '77'"&VbCrlf + query = query &" GROUP BY CA.p_sn"&VbCrlf + query = query &" ) JC ON TPM.p_child_sn = JC.p_sn"&VbCrlf + query = query &" where TPM.p_child_sn is not null"&VbCrlf + query = query &" ) as A"&VbCrlf + query = query &" ) AA"&VbCrlf + query = query&" where p_input_dt between '"&sdate&"' and '"&edate&"' and p_state <> '¼öÁÖ'"&VBCrlf + if Depart <> "1" Then + if cint(session("Depart_Code")) >= 20 Then + query = query & " AND (PCode = '" & Session("N_depart") & Session("N_team") &"' " & vbCrLf + if session("depart_code") = 64 Then + query = query & " OR PCode = 'R601' " & vbCrLf + End IF + if session("depart_code") = 63 Then + query = query & " OR PCode = 'R602' " & vbCrLf + End IF + query = query & " ) " + End if + if session("User_Number") = "20000201" Then + query = query & " AND PCode in ('R601', 'R602', 'R603','R604') " & vbCrLf + End IF + if session("User_Number") = "20190601" Then + query = query & " AND PCode in ('R701', 'R702', 'R501') " & vbCrLf + End IF + if session("User_Number") = "20190301" Then 'Á¶¿ìö - 2024-06-17 M3±×·ì (20210105)ºÎÀç·Î ÀÎÇÑ ´ë¸® + query = query & " AND PCode in ('R703', 'R704') " & vbCrLf + End IF + End If + query = query&" ORDER BY p_sn"&VbCrlf + 'response.write query + rsc.Open query, adoConn, 1 + + + + Redim data(rsc.recordcount-1) + iCnt = 0 + if not rsc.eof then + while not rsc.eof + + + 'if rsc("PTeam") = "" Then + ' Contact("Team") = "¹ÌÁöÁ¤" + 'Else + ' Contact("Team") = rsc("PTeam") + 'End If + 'Contact("p_sn") = rsc("p_sn") + 'Contact("p_subject") = replace(rsc("p_subject"), """", """) + 'Contact("p_cli_company_nm") = rsc("p_cli_company_nm") + 'If rsc("p_method") = "" Then + ' Contact("p_method") = "¹ÌÁöÁ¤" + 'Else + ' Contact("p_method") = rsc("p_method") + 'End If + 'Contact("p_sample") = Cdbl(rsc("p_sample")) + 'Contact("p_cont_cost") = Cdbl(rsc("p_cont_cost")) + 'Contact("p_total_cost") = Cdbl(rsc("p_total_cost")) + 'Contact("pc_con_cost") = Cdbl(rsc("pc_con_cost")) + 'Contact("sum_est") = Cdbl(rsc("sum_est")) + 'Contact("rate_est") = Round(Cdbl(rsc("rate_est")),2) + 'Contact("sum_act") = Cdbl(rsc("sum_act")) + 'Contact("rate_act") = Round(Cdbl(rsc("rate_act")),2) + 'Contact("r_est") = Cdbl(rsc("r_est")) + 'Contact("r_act") = Cdbl(rsc("r_act")) + 'Contact("f_est") = Cdbl(rsc("f_est")) + 'Contact("f_act") = Cdbl(rsc("f_act")) + 'Contact("p_decide_date") = rsc("p_decide_date") + 'Contact("p_con_date_st") = rsc("p_con_date_st") + 'Contact("p_con_date_end") = rsc("p_con_date_end") + 'Contact("p_state") = rsc("p_state") + 'If rsc("p_name") = "" then + ' Contact("p_input_user") = "¹ÌÁöÁ¤" + 'Else + ' Contact("p_input_user") = rsc("p_name") + 'End If + 'If rsc("r_user") = "" then + ' Contact("r_user") = "¹ÌÁöÁ¤" + 'Else + ' Contact("r_user") = rsc("r_user") + 'End If + 'If rsc("f_user") = "" then + ' Contact("f_user") = "¹ÌÁöÁ¤" + 'Else + ' Contact("f_user") = rsc("f_user") + 'End If + 'Contact("p_input_dt") = rsc("p_input_dt") + 'Contact("p_input_progress") = rsc("p_input_progress") + + + iCnt = iCnt + 1 + + response.write "" + + + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + + response.write "" + + rsc.movenext + wend + + + End If + rsc.close +%> + + + +
ºÎ¼­ÁøÇà »óÅÂÇÁ·ÎÁ§Æ® ÄÚµåÇÁ·ÎÁ§Æ® ¸íŬ¶óÀÌ¾ðÆ® ¸íÁ¶»ç¹æ¹ýÇ¥º»¼ö¿¹»ó °è¾à¾×½ÇÁ¦ °è¾à¾×´ÜÀ§ °è¾à¾×¿¹»ó Á÷Á¢ºñ¿¹»ó Á÷Á¢ºñÀ²ÁýÇà Á÷Á¢ºñÁýÇà Á÷Á¢ºñÀ²°áÁ¤ ¿¹Á¤Àϰè¾à ½ÃÀÛÀϰè¾à Á¾·áÀÏ¿¹»ó Á÷Á¢ºñ Á¤º¸¿¬±¸ ´ã´çÀÚ½Ç»ç ´ã´çÀÚµî·ÏÀÚµî·ÏÀÏ
"& rsc("PTeam") &""&rsc("p_state") &""&rsc("p_sn") &""&rsc("p_subject") &""&rsc("p_cli_company_nm") &""&rsc("p_method") &""&rsc("p_sample") &""&rsc("p_cont_cost") &""&rsc("p_total_cost") &""&rsc("pc_con_cost") &""&rsc("sum_est") &""&rsc("rate_est") &""&rsc("sum_act") &""&rsc("rate_act") &""&rsc("p_decide_date") &""&rsc("p_con_date_st") &""&rsc("p_con_date_end") &""&rsc("p_input_progress") &""&rsc("r_user") &""&rsc("f_user") &""&rsc("p_input_user") &""&rsc("p_input_dt") &"
+ +
+
+
+
+
+ + + +
\ No newline at end of file diff --git a/project/project_ContactReg.asp b/project/project_ContactReg.asp new file mode 100644 index 0000000..9225e02 --- /dev/null +++ b/project/project_ContactReg.asp @@ -0,0 +1,746 @@ + + +<% + Dim p_sn + + project_document_flag = Request("project_document_flag") + + '--------------------------------------- + 'p_sn¸¸µé±â + if request("p_sn") <> "" then + p_sn = request("p_sn") + Else + query = " SELECT isnull(max(cast(p_sn as int)),'0') as p_sn FROM T_PROJECT_BASE WHERE substring(p_sn, 0, 5) = CONVERT(CHAR(4), getdate(), 12) "&VbCrlf + Rs.Open query, adoConn, 1 + if Rs.RecordCount > 0 then + If Rs("p_sn") = "0" Then + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & "001" + Else + p_sn = Cdbl(Rs("p_sn"))+1 + End IF + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & "001" + end if + Rs.Close + End If + %> + +
+ + +
+

ÇÁ·ÎÁ§Æ® µî·Ï

+
+ + +
+
+
+
+
+
+ + +
+ + +
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Á¦¾È¸í + + +
¹ß»ý °æ·Î + +
Ŭ¶óÀ̾ðƮȸ»ç + + + +
ºÎ¼­ + +
´ã´çÀÚ À̸§ + + +
ȸ»ç ÀüÈ­¹øÈ£ + +
´ã´çÀÚ ÈÞ´ëÆù + +
À̸ÞÀÏ + +
KRi or KRC or KRD +   KRi +     +   KRC +     +   KRD +
Á¶»ç ±¹°¡ +   ±¹³» Á¶»ç +     +   ÇØ¿Ü Á¶»ç +
¾÷Á¾ + +
¿¹»ó°è¾à¾× + (Vat¹ÌÆ÷ÇÔ) +
¿¹»óÁ÷Á¢ºñÀ² + +
°áÁ¤¿¹Á¤ÀÏ + +
ºñ°í + +
+ +
+
+ +
+
+ <% if p_state = "X" then %> +
+
+ + + + + + + +
Å»¶ô »çÀ¯
+
+ <%=replace(p_drop_reason, chr(13), "
") %> +
+
+
+
+ <% end if %> +
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_code_reg_ajax_2014.asp b/project/project_code_reg_ajax_2014.asp new file mode 100644 index 0000000..b3cb605 --- /dev/null +++ b/project/project_code_reg_ajax_2014.asp @@ -0,0 +1,33 @@ + + + +<%' + + + 'p_sn¸¸µé±â + query = "SELECT top 1 p_sn " + query = query & "FROM T_PROJECT_BASE " + query = query & "WHERE substring(p_sn, 0, 5) = '" & right("0" & year(date()), 2) & right("0" & month(date()), 2) & "' " + query = query & " AND substring(p_sn, 5, 3) <> '000' " + query = query & " AND substring(p_sn, 8, 1) <> '_' " '¼­ºê ÇÁ·ÎÁ§Æ®°¡ »óÀ§·Î ¿Ã¶ó¿À´Â °ÍÀ» ¸·À½ + query = query & "ORDER BY sn DESC, p_sn DESC " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + if instr(1, rsc("p_sn"), "_") then + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(left(right(rsc("p_sn"), 5), 3)) + 1, 3) + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(right(rsc("p_sn"), 3)) + 1, 3) + end if + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & "001" + end if + rsc.Close + + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write p_sn +%> \ No newline at end of file diff --git a/project/project_contact.asp b/project/project_contact.asp new file mode 100644 index 0000000..a22f1a1 --- /dev/null +++ b/project/project_contact.asp @@ -0,0 +1,294 @@ + + +<% +query = "SELECT * " +query = query & "FROM depart " +query = query & "WHERE d_code = '" & Session("Depart_Code") & "' " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + tmp_team = rsc("d_mcode") +else + tmp_team = 9 +end if +rsc.Close + +query = "SELECT * " +query = query & "FROM project2_pre " +query = query & "WHERE write_date >= '" & year(now()) & "-01-01' " +'query = query & " AND p_depart = '" & tmp_team & "' " +query = query & "ORDER BY CAST(p_sn_tmp AS INT) DESC " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + tmp_sn = int(rsc("p_sn_tmp")) + 1 +else + tmp_sn = 1 +end if +rsc.Close +%> + + + + + +
+ + + + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® ÀӽùøÈ£ + <%=tmp_sn%> +
ÇÁ·ÎÁ§Æ® ¸í + + * Ư¼ö¹®ÀÚ »ç¿ëºÒ°¡(ÇѱÛ, ¿µ¹®ÀÚ, °ýÈ£, ÇÏÀÌÇÂ, ¾ð´õ¹Ù¸¸ »ç¿ëÇϽñ⠹ٶø´Ï´Ù) +
¹ß»ý°æ·Î + +
ÄÁÅÃÀÏÀÚ + + +
Ŭ¶óÀÌ¾ðÆ® ±¸ºÐ + +
Ŭ¶óÀÌ¾ðÆ® ¸í + + +
Ŭ¶óÀÌ¾ðÆ® Å¸ÀÔ + + +
Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ + + +
Ŭ¶óÀÌ¾ðÆ® ºÎ¼­ + +
ºñ°í + +
+ + +
+
+
+ + +
+ + + + + \ No newline at end of file diff --git a/project/project_contact_2014.asp b/project/project_contact_2014.asp new file mode 100644 index 0000000..f4e6a15 --- /dev/null +++ b/project/project_contact_2014.asp @@ -0,0 +1,1396 @@ + + + + +<% + Dim p_sn + + project_document_flag = Request("project_document_flag") + + '--------------------------------------- + 'p_sn¸¸µé±â + query = "SELECT p_sn " + query = query & "FROM T_PROJECT_BASE " + query = query & "WHERE substring(p_sn, 0, 5) = '" & right("0" & year(date()), 2) & right("0" & month(date()), 2) & "' " + query = query & " AND substring(p_sn, 5, 3) <> '000' " + query = query & " AND substring(p_sn, 8, 1) <> '_' " '¼­ºê ÇÁ·ÎÁ§Æ®°¡ »óÀ§·Î ¿Ã¶ó¿À´Â °ÍÀ» ¸·À½ + query = query & "ORDER BY p_sn DESC " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + if instr(1, rsc("p_sn"), "_") then + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(left(right(rsc("p_sn"), 5), 3)) + 1, 3) + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(right(rsc("p_sn"), 3)) + 1, 3) + end if + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & "001" + end if + rsc.Close + + if request("p_sn") <> "" then + p_sn = request("p_sn") + Else + p_sn = RIGHT(year(Now()), 2) & RIGHT("0" & month(Now()), 2) & "000" + end if + + 'ÇÁ·ÎÁ§Æ® ±âº» Á¤º¸ °¡Á®¿À±â + query = " SELECT p_sn, PB.p_cli_company_cd as p_cli_company_cd, PB.p_cli_per_cd as p_cli_per_cd, " + query = query & " p_state, p_subject, p_cli_company_nm, CP.p_cli_depart as p_cli_depart, " + query = query & " p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email, p_contactor, PB.p_input_user, " + query = query & " PB.p_client_type_cd as p_client_type_cd, p_total_cost, p_obtain_cost, p_cont_cost, p_decide_date, " + query = query & " p_memo, p_state, pb.p_depart_dep as p_depart_dep , isnull(p_drop_reason, '') as p_drop_reason, " + query = query & " isnull(p_cost_rate, '0') as p_cost_rate, p_cost_rate_chk " + query = query & " FROM " + query = query & " T_PROJECT_BASE PB LEFT OUTER JOIN V_CLIENT_COMP CC ON PB.p_cli_company_cd = CC.p_cli_company_cd " + query = query & " LEFT OUTER JOIN V_CLIENT_PERSON CP ON PB.P_CLI_PER_CD = CP.P_CLI_PER_CD AND PB.p_cli_company_cd = CP.p_cli_company_cd " + query = query & " LEFT OUTER JOIN T_CLIENT_TYPE_CD CTC ON PB.p_client_type_cd = CTC.p_client_type_cd " + query = query & " WHERE p_sn = '"&p_sn& "'" + + rsc.Open query, adoConn, 1 + + + 'Á¶»ç¹æ¹ý °¡Á®¿À±â + query = " SELECT TPM.* " + query = query & " FROM T_PROJECT_METHOD TPM LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd " + query = query & " WHERE p_sn = '"&p_sn& "' ORDER BY TPMC.p_gubn, TPMC.p_method_nm " + + rsa.Open query, adoConn, 1 + + 'ÀúÀåµÈ ÆÄÀÏ °¡Á®¿À±â + query = " select T.*, A.* from ( " + query = query & " SELECT '001' as attach_gubun, COUNT(*) cnt FROM T_SYSTEM_ATTACH WHERE f_p_sn = '"&p_sn& "' AND f_use_yn = 'Y' AND f_work_type = '001' AND f_kind = '001' " + query = query & " union all " + query = query & " SELECT '002' as attach_gubun, COUNT(*) cnt FROM T_SYSTEM_ATTACH WHERE f_p_sn = '"&p_sn& "' AND f_use_yn = 'Y' AND f_work_type = '001' AND f_kind = '002' " + query = query & " union all " + query = query & " SELECT '003' as attach_gubun, COUNT(*) cnt FROM T_SYSTEM_ATTACH WHERE f_p_sn = '"&p_sn& "' AND f_use_yn = 'Y' AND f_work_type = '001' AND f_kind = '003' " + query = query & " ) as T " + query = query & " left outer join T_SYSTEM_ATTACH as A " + query = query & " on T.attach_gubun = A.f_kind " + query = query & " and A.f_p_sn = '"&p_sn& "' AND A.f_use_yn = 'Y' AND A.f_work_type = '001' " + query = query & " order by attach_gubun, f_id " + + rsp.Open query, adoConn, 1 + + + 'È­¸é ÃʱⰪ ¼³Á¤. + '------------------------------------------------------------------------------------ + 'Á¶»ç¹æ¹ýÀ» Á¦¿ÜÇÑ Ä÷³µéÀÇ ÃʱⰪ + + p_cli_company_cd = "" 'ȸ»ç ÄÚµå + p_cli_per_cd = "" '´ã´çÀÚ ÄÚµå + + p_state = "" 'ÇÁ·ÎÁ§Æ® ÇöÀç »óÅÂ(K:Á¦¾È, P:¼öÁÖ, ¿¬±â:D, Å»¶ô : X) + p_subject = "" 'ÇÁ·ÎÁ§Æ®¸í + p_contactor = "" '¹ß»ý °æ·Î + + p_cli_company_nm = "" 'ȸ»ç¸í + p_cli_depart = "" 'ºÎ¼­¸í + p_cli_per_nm = "" '´ã´çÀÚ À̸§ + p_cli_per_com_tel = "" '´ã´çÀÚ ÀüÈ­¹øÈ£ + p_cli_per_tel = "" '´ã´çÀÚ ÀüÈ­¹øÈ£ + p_cli_per_email = "" '´ã´çÀÚ À̸ÞÀÏ + p_client_type_cd = "" '¾÷Á¾ + + p_cont_cost = "" '¿¹»ó °è¾à¾× + p_decide_date = "" '°áÁ¤ ¿¹Á¤ÀÏ + p_memo = "" '¸Þ¸ð + p_depart_dep = "" 'ÀÔ·ÂÇÑ ºÎ¼­ + + p_total_cost = "" 'Àüü ¼öÁֱݾ×(½ÇÁ¦°è¾à¾×) + + p_drop_reason = "" 'Å»¶ô »çÀ¯ + + p_cost_rate = "0" 'Á÷Á¢ºñÀ² (¿¹»ó) + p_cost_rate_chk = "" 'Á÷Á¢ºñÀ² ´ëÇ¥´Ô È®ÀÎ ¿©ºÎ + + if rsc.RecordCount > 0 then + if rsc("p_state") <> "" then + p_cli_company_cd = rsc("p_cli_company_cd") + p_cli_per_cd = rsc("p_cli_per_cd") + p_contactor = rsc("p_contactor") + + p_state = rsc("p_state") + p_subject = rsc("p_subject") + p_cli_company_nm = rsc("p_cli_company_nm") + p_cli_depart = rsc("p_cli_depart") + p_cli_per_nm = rsc("p_cli_per_nm") + p_cli_per_com_tel = rsc("p_cli_per_com_tel") + p_cli_per_tel = rsc("p_cli_per_tel") + p_cli_per_email = rsc("p_cli_per_email") + p_client_type_cd = rsc("p_client_type_cd") + p_depart_dep = rsc("p_depart_dep") + + insert_user = rsc("p_input_user") + + p_drop_reason = rsc("p_drop_reason") + + p_cost_rate = rsc("p_cost_rate") + p_cost_rate_chk = rsc("p_cost_rate_chk") + + if rsc("p_total_cost") <> "" then + tmp_len = len(rsc("p_total_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + p_total_cost = "," & p_total_cost + end if + p_total_cost = left(right(rsc("p_total_cost"),i), 1) & p_total_cost + next + end If + + '¿¹»ó °è¾à¾× ,¼öÁ¤ + if rsc("p_obtain_cost") <> "" then + tmp_len = len(rsc("p_obtain_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + p_cont_cost = "," & p_cont_cost + end if + p_cont_cost = left(right(rsc("p_obtain_cost"),i), 1) & p_cont_cost + next + end If + + if int(p_cont_cost) = 0 then + p_cont_cost=1 + end if + + p_decide_date = rsc("p_decide_date") + p_memo = rsc("p_memo") + + end if + end if + + + 'Á¶»ç¹æ¹ý ÃʱⰪ + Dim p_method_cd(17) + Dim p_progress_status + + 'Á¶»ç¹æ¹ý¿¡ ¾Æ¹«°Íµµ ¾øÀ»¶§ + if rsa.recordCount > 0 then + '±âÁ¸ Á¶»ç¹æ¹ý ÀúÀå + for i=1 to rsa.recordCount + p_method_cd(i) = rsa("p_method_cd") + p_sub_type = rsa("p_sub_type") + p_progress_status = rsa("p_progress_status") + + rsa.MoveNext + next + else + p_method_cd(1) = "0" + p_progress_status = "" + end if + + + dim f_id() + dim f_kind() + dim ATTACH_FILENAME() + + Dim f_kind_001_cnt + Dim f_kind_002_cnt + Dim f_kind_003_cnt + + f_kind_001_cnt = 0 + f_kind_002_cnt = 0 + f_kind_003_cnt = 0 + + attach_file_count = rsp.recordCount + + If attach_file_count < 3 Then + attach_file_count = 3 + End if + + ReDim f_id(attach_file_count) + ReDim f_kind(attach_file_count) + ReDim ATTACH_FILENAME(attach_file_count) + + Dim f_kind_001_file_blank + Dim f_kind_002_file_blank + Dim f_kind_003_file_blank + + f_kind_001_file_blank = false + f_kind_002_file_blank = false + f_kind_003_file_blank = false + + 'ÀúÀåµÈ ÆÄÀÏ ÃʱⰪ + if attach_file_count > 0 then + for i=0 to attach_file_count-1 + f_id(i) = "" + ATTACH_FILENAME(i) = "" + + If i < rsp.recordCount Then + If IsNull(rsp("f_id")) Then + 'f_id °¡ NullÀÌ¸é ±×³É °Ç³Ê¶Ü + Else + f_id(i) = rsp("f_id") + f_kind(i) = rsp("f_kind") + ATTACH_FILENAME(i) = rsp("f_file_name") + + if rsp("f_kind") = "001" then + f_kind_001_cnt = f_kind_001_cnt + 1 + end if + + if rsp("f_kind") = "002" Then + f_kind_002_cnt = f_kind_002_cnt + 1 + end if + + if rsp("f_kind") = "003" Then + f_kind_003_cnt = f_kind_003_cnt + 1 + end If + End if + rsp.movenext + End if + Next + + If f_kind_001_cnt = 0 Then + f_kind_001_cnt = 1 + f_kind_001_file_blank = true + End If + + If f_kind_002_cnt = 0 Then + f_kind_002_cnt = 1 + f_kind_002_file_blank = true + End If + + If f_kind_003_cnt = 0 Then + f_kind_003_cnt = 1 + f_kind_003_file_blank = true + End if + + Dim f_kind_001_list() + Dim f_kind_002_list() + Dim f_kind_003_list() + ReDim f_kind_001_list(f_kind_001_cnt, 3) + ReDim f_kind_002_list(f_kind_002_cnt, 3) + ReDim f_kind_003_list(f_kind_003_cnt, 3) + + tmp_001_cnt = 0 + tmp_002_cnt = 0 + tmp_003_cnt = 0 + + For i = 0 To attach_file_count - 1 + If f_kind(i) = "001" Then + f_kind_001_list(tmp_001_cnt, 0) = f_id(i) + f_kind_001_list(tmp_001_cnt, 1) = f_kind(i) + f_kind_001_list(tmp_001_cnt, 2) = ATTACH_FILENAME(i) + tmp_001_cnt = tmp_001_cnt + 1 + End If + + If f_kind(i) = "002" Then + f_kind_002_list(tmp_002_cnt, 0) = f_id(i) + f_kind_002_list(tmp_002_cnt, 1) = f_kind(i) + f_kind_002_list(tmp_002_cnt, 2) = ATTACH_FILENAME(i) + tmp_002_cnt = tmp_002_cnt + 1 + End If + + If f_kind(i) = "003" Then + f_kind_003_list(tmp_003_cnt, 0) = f_id(i) + f_kind_003_list(tmp_003_cnt, 1) = f_kind(i) + f_kind_003_list(tmp_003_cnt, 2) = ATTACH_FILENAME(i) + tmp_003_cnt = tmp_003_cnt + 1 + End If + next + end if + + + '------------------------------------------------------------------------------------ + + rsa.close + rsc.close + rsp.close + %> + + + +
+ + + + + "/> + + + + + + + + + + + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + " /> + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + if p_total_cost <> "" then + %> + + + + + <% + end if + %> + + + + + + + + + + + + + + + + + + + + <% + Dim file_index + file_index = 0 +''' response.write "f_kind_001_list Length : " & UBound(f_kind_001_list) + %> + + + + + + <% If UBound(f_kind_001_list) > 0 Then + For i = 1 To UBound(f_kind_001_list) -1 + file_index = file_index + 1 %> + _tr> + + + <% Next + End If %> + + <% + file_index = file_index + 1 + %> + + + + + + <% If UBound(f_kind_002_list) > 0 Then + For i = 1 To UBound(f_kind_002_list) -1 + file_index = file_index + 1 %> + _tr> + + + <% Next + End If %> + + <% + file_index = file_index + 1 + %> + + + + + + <% If UBound(f_kind_003_list) > 0 Then + For i = 1 To UBound(f_kind_003_list) -1 + file_index = file_index + 1 %> + _tr> + + + <% Next + End If + if request("cutmenu") <> "1" then + %> + + + + <% end if %> +
Á¦¾È µî·Ï
¡Ø Á¦¾È¼­ÀÇ ÁøÇà»óŰ¡ [Á¦¾È] -> [¼öÁÖ] µÇ´Â ½ÃÁ¡Àº
¡¡ ¼öÇà°èȹ¼­°¡ °áÀç ¿Ï·áµÇ´Â ½ÃÁ¡ÀÔ´Ï´Ù.
Á¦¾È ¹øÈ£ + + <% If Right(p_sn, 3) = "000" Then %> + Á¦¾È ¹øÈ£´Â ÀúÀå½Ã ÀÚµ¿ »ý¼º µË´Ï´Ù. + <% End If %> +
Á¦¾È¸í + " >
+ + ¡Ø ¾÷ü¸í_¿ë¿ª¸í(¾÷ü¸í°ú ¿ë¿ª¸í »çÀÌ¿¡ ¾ð´õ¹Ù »ç¿ë) ¿¹½Ã-> ±¤µ¿Á¦¾à_ºê·£µåÄÁ¼Á ¼ö¸³ +
¹ß»ý °æ·Î + + +
Ŭ¶óÀ̾ðÆ®
ȸ»ç + + + + + +
ºÎ¼­ + +
´ã´çÀÚ À̸§ + +
ȸ»ç ÀüÈ­¹øÈ£ + +
´ã´çÀÚ
ÈÞ´ëÆù
+ +
À̸ÞÀÏ + +
¾÷Á¾ + +
Á¶»ç¹æ¹ý + + + + + + <% + dim tmp_index + q = "SELECT * " + q = q & "FROM T_PROJECT_METHOD_CD " + q = q & " where p_use_yn = 'Y' " '//-- 2020-10-21 12:01:10 + q = q & " and p_method_yn not in ('17','15') " '//-- 2020-10-21 12:01:10 + q = q & " ORDER BY p_gubn, p_method_nm " + + 'response.write q + + rsp.Open q, adoConn, 1 + i=0 + j=1 + tmp_index=1 + do while not rsp.eof + i=i+1 + if rsp("p_gubn") = "1" Then + %> + + + + <% if i mod 5 = 0 then %> + + <% end if + end if + if rsp("p_gubn") = "2" Then + if tmp_index <> rsp("p_gubn") Then + tmp_index = rsp("p_gubn") + %> + + + + + + <% + end if + %> + + + <% if i mod 5 = 0 then %> + + + <% end if + end if + if rsp("p_gubn") = "3" Then + if tmp_index <> rsp("p_gubn") Then + tmp_index = rsp("p_gubn") + %> + + + + + + <% + end if + %> + + + <% if i mod 5 = 0 then %> + + <% end if + end if + rsp.movenext + loop + rsp.close + %> +
+ Á¤ ·® +
" onClick="chkboxSum(this)" + <% if p_method_cd(j) = rsp("p_method_cd") then + j=j+1 %> checked <% end if %>><%=rsp("p_method_nm") %>
+ Á¤ ¼º +
" onClick="chkboxSum(this)" + <% if p_method_cd(j) = rsp("p_method_cd") then + j=j+1 %> checked <% end if %>><%=rsp("p_method_nm") %>
+ D e s k w o r k +
" onClick="chkboxSum(this)" + <% if p_method_cd(j) = rsp("p_method_cd") then + j=j+1 %> checked <% end if %>><%=rsp("p_method_nm") %>
+
+ ¿¹»ó°è¾à¾×(¼öÁÖ¿¹»ó±Ý¾×) + + ¿ø (VAT º°µµ) + +
+ ½ÇÁ¦°è¾à¾×(Àüü¼öÁֱݾ×) + + <%=p_total_cost %> ¿ø (VAT º°µµ) +
¿¹»óÁ÷Á¢ºñÀ²(%) + + <% if cint(p_cost_rate) >= 55 then %>( ´ëÇ¥ÀÌ»ç È®Àο©ºÎ : <% response.Write iif(p_cost_rate_chk = "È®ÀÎ", "È®ÀÎ", "¹ÌÈ®ÀÎ") %> )<% end if %> + +
°áÁ¤ ¿¹Á¤ÀÏ + + +
ºñ°í + +
÷ºÎÆÄÀÏ + ¡Ø ¿øº» ÆÄÀÏ(¿¢¼¿, ¿öµå, ÆÄ¿öÆ÷ÀÎÆ®, ÇѱÛ) ÷ºÎ °¡´É, pdfÆÄÀÏÀº Àç»ç¿ëÀÌ ºÒ°¡ÇϹǷΠ÷ºÎ ºÒ°¡ +
RFPµî + <% If UBound(f_kind_001_list) > 0 Then %> + + <% Else %> + + <% End If %> + + +      + ÀúÀåµÈ ÆÄÀÏ : + <% If UBound(f_kind_001_list) > 0 Then %> + <% if f_kind_001_list(0, 0) <> "" then %> + + <% if Session("Depart_Code") = p_depart_dep and (isnull(p_progress_status) or p_progress_status = "" ) And p_state = "K" then %> + + <% End if%> + <% else %> + + <% if Session("Depart_Code") = p_depart_dep and (isnull(p_progress_status) or p_progress_status = "" ) And p_state = "K" then %> + + <% End if%> + <% end if %> + <% end if %> + +
+ + +       ÀúÀåµÈ ÆÄÀÏ : + + +
Á¦¾È¼­ + <% If UBound(f_kind_001_list) > 0 Then %> + + <% Else %> + + <% End If %> + + +      + ÀúÀåµÈ ÆÄÀÏ : + <% If UBound(f_kind_002_list) > 0 Then %> + <% if f_kind_002_list(0, 0) <> "" then %> + + <% if Session("Depart_Code") = p_depart_dep and (isnull(p_progress_status) or p_progress_status = "" ) And p_state = "K" then %> + + <% End if%> + <% else %> + + <% if Session("Depart_Code") = p_depart_dep and (isnull(p_progress_status) or p_progress_status = "" ) And p_state = "K" then %> + + <% End if%> + <% end if %> + <% end if %> + +
¹ß»ý°æ·Î -> Á¦¾È°æÀï,°ø°³ÀÔÂû *÷ºÎÇʼö +
+ + +       ÀúÀåµÈ ÆÄÀÏ : + + +
°ßÀû¼­ + <% If UBound(f_kind_003_list) > 0 Then %> + + <% Else %> + + <% End If %> + + +      + ÀúÀåµÈ ÆÄÀÏ : + <% If UBound(f_kind_003_list) > 0 Then %> + <% if f_kind_003_list(0, 0) <> "" then %> + + <% if Session("Depart_Code") = p_depart_dep and (isnull(p_progress_status) or p_progress_status = "" ) And p_state = "K" then %> + + <% End if%> + <% else %> + + <% if Session("Depart_Code") = p_depart_dep and (isnull(p_progress_status) or p_progress_status = "" ) And p_state = "K" then %> + + <% End if%> + <% end if %> + <% end if %> + +
¹ß»ý°æ·Î -> ¼öÀǰè¾à,°¡°ÝÀÔÂû *÷ºÎÇʼö +
+ + +       ÀúÀåµÈ ÆÄÀÏ : + + +
+ <% if Request("p_sn") = "" then %> + + <% else %> + + <% + '°°Àº ºÎ¼­ or ¿ø¼ºÈÆ »ó¹«´ÔÀÇ °æ¿ì 1º»ºÎ or ÀÌÁÖȲ »ó¹«´ÔÀÇ °æ¿ì 2º»ºÎ or ÇÁ·ÎÁ§Æ® ÁøÇà»óŰ¡ ¾ø¾î¾ß Çϸç or »óŰªÀÌ kÀ̾î¾ß ÇÑ´Ù. + if ( _ + Session("Depart_Code") = p_depart_dep _ + or (Session("User_Number") = "20000201" and (p_depart_dep = "31" or p_depart_dep = "32" or p_depart_dep = "33" or p_depart_dep = "34")) _ + or (Session("User_Number") = "20140702" and (p_depart_dep = "35" or p_depart_dep = "36" or p_depart_dep = "37" or p_depart_dep = "38" )) _ + or (Session("User_Number") = "20160603" and (p_depart_dep = "39" or p_depart_dep = "30")) _ + ) and (isnull(p_progress_status) or p_progress_status = "" ) And p_state = "K" then %> + +       + + + + + <% + '-- ¿¬±â:D À϶§µµ º¯°æÇÒ¼ö ÀÖµµ·Ï ó¸®(20170719) + ElseIf ( _ + Session("Depart_Code") = p_depart_dep _ + or (Session("User_Number") = "20000201" and (p_depart_dep = "31" or p_depart_dep = "32" or p_depart_dep = "33" or p_depart_dep = "34")) _ + or (Session("User_Number") = "20140702" and (p_depart_dep = "35" or p_depart_dep = "36" or p_depart_dep = "37" or p_depart_dep = "38" )) _ + or (Session("User_Number") = "20160603" and (p_depart_dep = "39" or p_depart_dep = "30")) _ + ) And p_state = "D" then %> + +       + + + +


ÇöÀç [Á¦¾È º¸·ù] »óÅ ÀÔ´Ï´Ù


+ + <% + ElseIf ( _ + (insert_user = "20000201" And p_depart_dep = "0" And ( Session("Depart_Code") = "31" Or Session("Depart_Code") = "32" Or Session("Depart_Code") = "33" Or Session("Depart_Code") = "34")) _ + Or (insert_user = "20140702" And p_depart_dep = "0" And ( Session("Depart_Code") = "35" Or Session("Depart_Code") = "36" Or Session("Depart_Code") = "37" Or Session("Depart_Code") = "38")) _ + Or (insert_user = "20160603" And p_depart_dep = "0" And ( Session("Depart_Code") = "39" or Session("Depart_Code") = "30")) _ + ) Then %> + +       + + + + <% ElseIf p_state = "X" and _ + Session("Depart_Code") = p_depart_dep _ + or (Session("User_Number") = "20000201" and (p_depart_dep = "31" or p_depart_dep = "32" or p_depart_dep = "33" or p_depart_dep = "34")) _ + or (Session("User_Number") = "20140702" and (p_depart_dep = "35" or p_depart_dep = "36" or p_depart_dep = "37" or p_depart_dep = "38")) or (Session("User_Number") = "20160603" and (p_depart_dep = "39" or p_depart_dep = "30")) and (isnull(p_progress_status) or p_progress_status = "" ) _ + then + %> + + <% end if %> + + <% if Session("Depart_Code") = "18" then 'Àӽ÷Π¼öÁ¤¹öư º¸À̵µ·Ï %> +   + <% end if %> + + <% end if %> +
+
+ +
+<% if p_state = "X" then %> +
+
+ + + + + + + +
Å»¶ô »çÀ¯
+
+ <%=replace(p_drop_reason, chr(13), "
") %> +
+
+
+
+<% end if %> + +" /> +
diff --git a/project/project_contact_change_2014.asp b/project/project_contact_change_2014.asp new file mode 100644 index 0000000..9a4f206 --- /dev/null +++ b/project/project_contact_change_2014.asp @@ -0,0 +1,50 @@ + +<% + +set rsp = server.CreateObject("ADODB.RECORDSET") +set dbin = server.CreateObject("ADODB.CONNECTION") +'ÇÁ·ÎÁ§Æ® ÄÁÅÃÈÄ ¼öÁ¤ ÈÄ ½ÇÁ¦ µî·Ï + + + +p_sn = request("p_sn") 'ÇÁ·ÎÁ§Æ® ÄÚµå +state = request("state") 'ÇÁ·ÎÁ§Æ® »óÅÂ(3:¼öÁÖ, 4:¿¬±â, 5:Å»¶ô) + + + +Response.Write "p_sn : " & request("p_sn") + + + 'ÇÁ·ÎÁ§Æ® º» Å×ÀÌºí ¼öÁ¤ + '--------------------------------------- + query = " UPDATE T_PROJECT_BASE " + query = query & " SET p_state = '"& state &"'" + query = query & " WHERE p_sn = '"& p_sn &"'" + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + + +%> + + + +
+
+ + \ No newline at end of file diff --git a/project/project_contact_downloads.asp b/project/project_contact_downloads.asp new file mode 100644 index 0000000..2ca6e53 --- /dev/null +++ b/project/project_contact_downloads.asp @@ -0,0 +1,10 @@ +<%@ Language=VBScript EnableSessionState="False"%> +<% +filepath = Server.MapPath("/") & "\upload\contact_report\" +filename = request("filename") +'´Ù¿î·Îµå °³Ã¼»ý¼º +Set objDownload = Server.CreateObject("DEXT.FileDownload") +'objDownload.Download(filepath, ÆÄÀÏÀ̸§, °­Á¦ÀúÀåÀ¯¹«(True:°­Á¦ÀúÀå), À̾î¹Þ±â À¯¹«(True:À̾î¹Þ±â)) +objDownload.Download filepath & filename, filename, true, false +Set objDownload = Nothing +%> \ No newline at end of file diff --git a/project/project_contact_drop_reason.asp b/project/project_contact_drop_reason.asp new file mode 100644 index 0000000..a7875cd --- /dev/null +++ b/project/project_contact_drop_reason.asp @@ -0,0 +1,77 @@ + +<% +p_sn = request("p_sn") +state = request("state") +drop_reason = request("drop_reason") + +if drop_reason <> "" then + query = "" + query = query & " UPDATE T_PROJECT_BASE " + query = query & " SET p_drop_reason = '" & CheckWord(drop_reason) & "' " + query = query & " WHERE p_sn = '" & p_sn & "' " + + adoConn.execute query +end if +%> + + + + + + + Å»¶ô »çÀ¯ ÀÔ·Â + + + + "" then %> onLoad="stateit();" <% else %> onLoad="focusit()" <%end if %>> +
+ + + + + + + + + +
Å»¶ô »çÀ¯ ÀÔ·Â
+ +
+

+
¡Ø Å»¶ô »çÀ¯¸¦ ÇʼöÀûÀ¸·Î ÀÔ·ÂÇÏ¿© ÁÖ¼¼¿ä!
+

+ + + + + +
+ +         + +
\ No newline at end of file diff --git a/project/project_contact_ok.asp b/project/project_contact_ok.asp new file mode 100644 index 0000000..f857c66 --- /dev/null +++ b/project/project_contact_ok.asp @@ -0,0 +1,128 @@ + +<% + +set rsp = server.CreateObject("ADODB.RECORDSET") + +'p_subject_tmp = replace(request("p_subject_tmp"), " ", "") +p_subject_tmp = request("p_subject_tmp") +p_contactor = request("p_contactor") +p_contact_date = request("p_contact_date") +p_cli_class = request("p_cli_class") +p_cli_company = request("p_cli_company") +p_cli_code = request("p_cli_code") +p_cli_type = request("p_cli_type") +p_cp_code = request("cp_code") +p_cli_name = request("p_cli_name") +p_cli_depart = request("p_cli_depart") +p_contact_place = request("p_contact_place") +p_contact_content = CheckWord(request("p_contact_content")) +p_memo = CheckWord(request("p_memo")) + +'------------------------------------------------------------------------------- +'2012.08.22 ÇÁ·ÎÁ§Æ® Å×ÀÌºí¿¡¼­µµ Áߺ¹Ã¼Å© (project_pre Å×ÀÌºí »Ó¸¸ ¾Æ´Ï¶ó) +' ÇÁ·ÎÁ§Æ® Ãß°¡ (_add ¿¡¼­ Ãß°¡µÈ °ÍÀº project_pre Å×ÀÌºí¿¡ ¾ø±â ¶§¹®) +query = "SELECT * " +query = query & "FROM [project] " +query = query & "WHERE p_reg_date >= '" & year(now()) & "-01-01' " +query = query & " AND p_subject = '" & p_subject_tmp & "' " + +rsp.Open query, adoConn, 1 + rsp_rc = rsp.RecordCount +rsp.Close +'------------------------------------------------------------------------------- + +query = "SELECT * " +query = query & "FROM [project2_pre] " +query = query & "WHERE write_date >= '" & year(now()) & "-01-01' " +query = query & " AND p_subject_tmp = '" & p_subject_tmp & "' " + +rsp.Open query, adoConn, 1 +tmp_rspcnt = rsp.RecordCount +if rsp.RecordCount > 0 then + tmp_subject = rsp("p_subject_tmp") +end if +rsp.Close +if tmp_rspcnt > 0 OR rsp_rc > 0 then + alert2 "ÀÌ¹Ì µî·ÏµÈ ÇÁ·ÎÁ§Æ® ¸íÀÔ´Ï´Ù. È®ÀÎÇØ ÁÖ¼¼¿ä" +elseif lcase(tmp_subject) = lcase(p_subject_tmp) then + alert2 "ÀÌ¹Ì µî·ÏµÈ ÇÁ·ÎÁ§Æ® ¸íÀÔ´Ï´Ù. È®ÀÎÇØ ÁÖ¼¼¿ä" +else + + 'tmp_team = Session("Depart_Code") + query = "SELECT * " + query = query & "FROM depart " + query = query & "WHERE d_code = '" & Session("Depart_Code") & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_team = rsp("d_mcode") + else + tmp_team = 9 + end if + rsp.Close + + query = "SELECT * " + query = query & "FROM project2_pre " + query = query & "WHERE write_date >= '" & year(now()) & "-01-01' " + 'query = query & " AND p_depart = '" & tmp_team & "' " + query = query & "ORDER BY cast(p_sn_tmp as int) DESC " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_sn = int(rsp("p_sn_tmp")) + 1 + else + tmp_sn = 1 + end if + rsp.Close + + query = "INSERT INTO " + query = query & "project2_pre " + 'query = query & "(p_sn_tmp, p_depart, p_cli_company, p_cli_depart, p_cli_name, p_cli_type, p_cli_class, p_contactor, p_contact_date, p_contact_place, p_contact_content, p_memo, write_date) " + query = query & "(p_sn_tmp, p_depart, p_depart_dep, p_depart_team, p_subject_tmp, p_cli_company, p_cp_code, p_cli_type, p_cli_class, p_contactor, p_contact_date, p_contact_place, p_contact_content, p_memo, " + query = query & " p_input_user_no, p_input_user_name, p_input_user_ip,write_date) " + query = query & "VALUES " + query = query & "('" & tmp_sn & "', " + query = query & "'" & tmp_team & "', " + query = query & "'" & Session("Depart_Code") & "', " + query = query & "'" & Session("teamcode") & "', " + query = query & "'" & p_subject_tmp & "', " + query = query & "'" & p_cli_code & "', " + query = query & "'" & p_cp_code & "', " + 'query = query & "'" & p_cli_depart & "', " + 'query = query & "'" & p_cli_name & "', " + query = query & "'" & p_cli_type & "', " + query = query & "'" & p_cli_class & "', " + query = query & "'" & p_contactor & "', " + query = query & "'" & p_contact_date & "', " + query = query & "'" & p_contact_place & "', " + query = query & "'" & p_contact_content & "', " + query = query & "'" & p_memo & "', " + query = query & "'" & Session("User_Number") & "', " + query = query & "'" & Session("loginuser") & "', " + query = query & "'" & Request.ServerVariables("REMOTE_ADDR") & "', " + query = query & "'" & date() & "') " + + if Request.ServerVariables("REMOTE_ADDR") = session("admin_ip") then + 'Response.Write query & "
" + end if + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + %> + + + + +
+ + +<% +end if +%> \ No newline at end of file diff --git a/project/project_contact_reg_2014.asp b/project/project_contact_reg_2014.asp new file mode 100644 index 0000000..cf38fec --- /dev/null +++ b/project/project_contact_reg_2014.asp @@ -0,0 +1,166 @@ + +<% + +set rsp = server.CreateObject("ADODB.RECORDSET") + +set dbin = server.CreateObject("ADODB.CONNECTION") +'ÇÁ·ÎÁ§Æ® ÄÁÅÃÈÄ ¼öÁ¤ ÈÄ ½ÇÁ¦ µî·Ï + +If request("p_sn") = "" Or IsNull(request("p_sn")) then + 'projectÅ×À̺í ÀÔ·Â + '--------------------------------------- + 'p_sn¸¸µé±â + query = "SELECT top 1 p_sn " + query = query & "FROM T_PROJECT_BASE " + query = query & "WHERE substring(p_sn, 0, 5) = '" & right("0" & year(date()), 2) & right("0" & month(date()), 2) & "' " + query = query & " AND substring(p_sn, 5, 3) <> '000' " + query = query & " AND substring(p_sn, 8, 1) <> '_' " '¼­ºê ÇÁ·ÎÁ§Æ®°¡ »óÀ§·Î ¿Ã¶ó¿À´Â °ÍÀ» ¸·À½ + query = query & "ORDER BY sn DESC, p_sn DESC " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + if instr(1, rsc("p_sn"), "_") then + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(left(right(rsc("p_sn"), 5), 3)) + 1, 3) + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(right(rsc("p_sn"), 3)) + 1, 3) + end if + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & "001" + end if + rsc.Close +Else + p_sn = request("p_sn") 'ÇÁ·ÎÁ§Æ® ÄÚµå +End if + +p_subject = request("p_subject") 'ÇÁ·ÎÁ§Æ®¸í +p_contactor = request("p_contactor") '¹ß»ý°æ·Î +direct_input_company= request("direct_input_company") 'Ŭ¶óÀÌ¾ðÆ® Á¤º¸ Á÷Á¢ÀÔ·Â ¿©ºÎ +p_cli_company_cd = request("p_cli_company_cd") 'Ŭ¶óÀÌ¾ðÆ® È¸»çÄÚµå +p_cli_company_nm = request("p_cli_company_nm") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç¸í +p_cli_per_cd = request("p_cli_per_cd") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÄÚµå +p_cli_depart = request("p_cli_depart") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ºÎ¼­ ÄÚµå +p_cli_per_nm = request("p_cli_per_nm") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ À̸§ +p_cli_per_tel = request("p_cli_per_tel") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÀüÈ­¹øÈ£ +p_cli_per_email = request("p_cli_per_email") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ À̸ÞÀÏ +p_client_type_cd = request("p_client_type_cd") 'Á¶»ç ¾÷Á¾ +p_cont_cost = replace(request("p_cont_cost"),",", "") '¿¹»ó °è¾à¾× +p_decide_date = request("p_decide_date") '°áÁ¤¿¹Á¤ÀÏ +p_memo = request("p_memo") 'ºñ°í + +p_cost_rate = request("p_cost_rate") ' ¿¹»óÁ÷Á¢ºñÀ² + +p_method_cd = request("p_method_cd") 'Á¶»ç ¹æ¹ý + + + + '(2014-07-03)üũ¹Ú½º°¡ üũµÇ¾î ÀÖÀ¸¸é TEXT¹Ú½º¿¡ ÀÔ·ÂµÈ Á¤º¸°¡ T_CLIENT_COMP, T_CLIENT_PERSON¿¡ ÀúÀåÇÑ´Ù. + if direct_input_company = "true" then + 'ȸ»ç¸íÀÌ ÀÖ´ÂÁö ¸ÕÀú °Ë»öÇÑ´Ù. + query = " SELECT * " + query = query & " FROM V_CLIENT_COMP " + query = query & " WHERE p_cli_company_nm = '"& p_cli_company_nm &"' " + + rsp.Open query, adoconn, 1 + + 'ȸ»ç¸íÀÌ ¾ø´Ù¸é T_CLIENT_COMP¿¡ ÀúÀåÀ» ÇÑ´Ù. + if rsp.recordcount = 0 then + query = " INSERT T_CLIENT_COMP " + query = query & " VALUES('"& p_cli_company_nm &"','N',CONVERT(varchar(30), GETDATE(),112)) " + dbin.Open adoConn + dbin.Execute query + dbin.Close + end if + + 'p_cli_company_cd¸¦ ¾Ë¾Æ³»±â À§ÇÑ °Ë»öÀ» ÇÑ´Ù. T_CLIENT_PERSON¿¡ °ªÀ» ³Ö±â À§ÇÑ °Ë»ö + query = " SELECT p_cli_company_cd " + query = query & " FROM V_CLIENT_COMP " + query = query & " WHERE p_cli_company_nm = '"& p_cli_company_nm &"' " + rsc.Open query, adoconn, 1 + p_cli_company_cd = rsc("p_cli_company_cd") + rsc.Close + + 'PERSONÁ¤º¸¸¦ ÀÔ·ÂÇÑ´Ù. + query = " INSERT T_CLIENT_PERSON " + query = query & " VALUES('"& p_cli_company_cd &"','"& p_cli_depart &"','"& p_cli_per_nm &"','"& p_cli_per_com_tel &"','"& p_cli_per_tel &"','"& p_cli_per_email &"',GETDATE(),'"& Session("User_Number") &"') " + Response.Write query & "
" + dbin.Open adoConn + dbin.Execute query + dbin.Close + + query = " SELECT p_cli_per_cd " + query = query & " FROM V_CLIENT_PERSON " + query = query & " WHERE p_cli_company_cd = '"& p_cli_company_cd &"' " + query = query & " ANd p_input_user = '"& Session("User_Number") &"' " + Response.Write query & "
" + rsc.Open query, adoconn, 1 + p_cli_per_cd = rsc("p_cli_per_cd") + rsc.Close + + rsp.close + + + end if + + + 'ÇÁ·ÎÁ§Æ® º» Å×À̺í ÀúÀå + '--------------------------------------- + query = "INSERT INTO " + query = query & " T_PROJECT_BASE " + query = query & "(p_sn, p_subject, p_cli_company_cd, p_cli_per_cd, p_client_type_cd, " + query = query & "p_depart_dep, p_depart_team, p_obtain_cost, p_cont_cost, p_decide_date, " + query = query & "p_memo, p_input_dt, p_state, p_input_user, p_contactor, p_cost_rate) " + query = query & "VALUES " + query = query & "('" & p_sn & "', '" & p_subject & "', '" & p_cli_company_cd & "', '" & p_cli_per_cd & "', '" & p_client_type_cd & " ', " + if Session("User_Number") = "20160603" then + query = query & " '30' " + else + query = query & " '" & Session("Depart_Code") & "' " + end if + + query = query & " , '" & Session("teamcode")& "', '" & p_cont_cost & "', '" & p_cont_cost & "', '" & p_decide_date & "', " + query = query & "'" & p_memo & " ', GETDATE(), 'K', '"& Session("User_Number") &"', '" & p_contactor & "', ' " & p_cost_rate & " ') " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + + + 'ÇÁ·ÎÁ§Æ®¿¡ ´ëÇÑ Á¶»ç¹æ¹ý ÀúÀå + for i=1 to Request("p_method_cd").count + query = "INSERT INTO " + query = query & " T_PROJECT_METHOD " + query = query & "( p_sn, p_method_cd, p_cli_company_cd, p_client_type_cd, p_input_dt, p_input_complete, " + query = query & " p_rsch_1_a, p_rsch_2_a, p_rsch_3_a, p_rsch_4_a, p_rsch_1_b, p_rsch_2_b, p_rsch_3_b, p_rsch_4_b, p_rsch_1_c, p_rsch_2_c, p_rsch_3_c, p_rsch_4_c, " + query = query & " p_sv_1, p_sv_2, p_sv_3, p_sv_4, p_code_1, p_code_2, p_code_3, p_code_4, p_verify_1, p_verify_2, p_verify_3, p_verify_4, p_punch_1, p_punch_2, p_punch_3, p_punch_4, " + query = query & " p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4 ) " + query = query & "VALUES " + + query = query & "('" & p_sn & "', '" & Request("p_method_cd")(i) & "', '" & p_cli_company_cd & "', '" & p_client_type_cd & " ', GETDATE(), 'xxx', " + query = query & " '','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','') " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + NEXT +%> + + + +
+
+ + \ No newline at end of file diff --git a/project/project_contact_tmp_2014.asp b/project/project_contact_tmp_2014.asp new file mode 100644 index 0000000..f336a11 --- /dev/null +++ b/project/project_contact_tmp_2014.asp @@ -0,0 +1,658 @@ + + +<% + set rsp = server.CreateObject("ADODB.RECORDSET") + + set rsd = server.CreateObject("ADODB.RECORDSET") + dim ATTACH_FILENAME(0) + 'projectÅ×À̺í ÀÔ·Â + '--------------------------------------- + + p_sn = "" + if request("p_sn") <> "" then + p_sn = request("p_sn") + end if + + work_out = request("work_out") + if work_out = "" then + work_out = "N" + end if + 'ÃʱⰪ ¼³Á¤ + p_subject_pre = "" + p_contact_date = request("condate") + p_contact_date_time = "" + p_contact_place = "" + p_contact_people = "" + p_input_user = session("loginuser") + p_contact_discuss = "" + p_contact_schedule = "" + p_dapart = "" + ATTACH_FILENAME(0) = "" + + 'ÄÁÅà ·¹Æ÷Æ® ±âº» Á¤º¸ + query = "SELECT PP.p_sn, p_subject_pre, PP.p_contact_date, p_contact_date_time, PP.p_contact_place, " + query = query & " p_contact_people, p_contact_people_krc, p_contact_people_cli, PP.p_input_user, P.p_name as p_name, PP.p_input_dt as p_input_dt, p.p_depart as p_dapart, " + query = query & " p_contact_discuss, p_contact_schedule, Attribute01, Attribute02, Attribute03, Attribute04, list_view_yn, TPB.p_subject " + query = query & "FROM T_PROJECT_PRE PP INNER JOIN person P ON PP.p_input_user = P.P_NO " + query = query & "LEFT OUTER JOIN T_PROJECT_BASE TPB ON PP.Attribute02 = TPB.p_sn " + query = query & "WHERE PP.p_sn = '" & p_sn & "' " + query = query & " and PP.list_del='Y' " + rsp.Open query, adoConn, 1 + + 'ÀúÀåµÈ ÆÄÀÏ °¡Á®¿À±â + query = " SELECT * " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_p_sn = '"&p_sn& "'" + query = query & " AND f_work_type = '001' " + query = query & " AND f_use_yn = 'Y' " + query = query & " AND f_kind = '099' " + 'query = query & " and f_exist_check = '1' " + + rsc.Open query, adoConn, 1 + 'Response.Write query & "
" + + if rsp.recordcount > 0 then + p_subject_pre = rsp("p_subject_pre") + p_contact_date = rsp("p_contact_date") + p_contact_date_time = rsp("p_contact_date_time") + if p_contact_date_time <> "" then '09:30~12:00 + p_contact_date_time_sh = left(p_contact_date_time, 2) + p_contact_date_time_sm = right(left(p_contact_date_time, 5), 2) + + p_contact_date_time_eh = left(right(p_contact_date_time, 5), 2) + p_contact_date_time_em = right(p_contact_date_time, 2) + end if + p_contact_place = rsp("p_contact_place") + p_contact_people = rsp("p_contact_people") ' 170223 ¾ÕÀ¸·Î »ç¿ë¾ÈÇÔ + p_contact_people_krc = rsp("p_contact_people_krc") + p_contact_people_cli = rsp("p_contact_people_cli") + p_contact_people_krc_nm = "" + if p_contact_people_krc <> "" then + query = " SELECT STUFF((SELECT ',' + p_name FROM person WHERE p_no in ('" & replace(p_contact_people_krc, ",", "','") & "') FOR XML PATH ('')),1,1,'') as p_contact_people_krc_nm " + rsd.Open query, adoConn, 1 + if rsd.recordCount > 0 then + p_contact_people_krc_nm = rsd("p_contact_people_krc_nm") + end if + rsd.Close + end if + p_contact_people_cli_nm = "" + if p_contact_people_cli <> "" then + query = " SELECT STUFF((SELECT ',' + p_cli_company_nm + '_' + p_cli_per_nm " + query = query & " FROM V_CLIENT_COMP VCC LEFT OUTER JOIN V_CLIENT_PERSON VCP ON VCC.p_cli_company_cd = VCP.p_cli_company_cd " + query = query & " WHERE convert(varchar, VCC.p_cli_company_cd)+'_'+convert(varchar, VCP.p_cli_per_cd) in ('" & replace(p_contact_people_cli, ",", "','") & "') FOR XML PATH ('')),1,1,'') as p_contact_people_cli_nm " + rsd.Open query, adoConn, 1 + if rsd.recordCount > 0 then + p_contact_people_cli_nm = rsd("p_contact_people_cli_nm") + end if + rsd.Close + end if + p_input_user = rsp("p_name") + p_contact_discuss = rsp("p_contact_discuss") + p_contact_schedule = rsp("p_contact_schedule") + p_dapart = rsp("p_dapart") + p_contact = rsp("Attribute01") + c_project_cd = rsp("Attribute02") + list_view_yn = rsp("list_view_yn") + if c_project_cd <> "" then + p_subject = "["&rsp("Attribute02")&"] "&rsp("p_subject") + end If +f_path=rsp("Attribute03") 'ÀúÀåµÈ ÆÄÀÏ °æ·Î +f_id=rsp("Attribute04") 'ÀúÀåµÈ ÆÄÀÏ ¸í + end if + + + 'ÀúÀåµÈ ÆÄÀÏ ÃʱⰪ +' if rsc.recordCount > 0 then +' f_id = rsp("f_id") +' ATTACH_FILENAME(0) = rsc("f_file_name") +' end if + + rsc.close + rsp.close + + prj_div = request("prj_div") + + prj_code = request("prj_code") + if prj_code <> "" then + c_project_cd = prj_code + query = " SELECT p_subject FROM T_PROJECT_METHOD WHERE p_child_sn = '" & prj_code & "' " + rsd.Open query, adoConn, 1 + p_subject = "[" & prj_code & "]" & rsd("p_subject") + rsd.Close + end if +%> + + + + +
+ + +"/> + + + + + + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + style="display:none;" <% end if %>> + + + + "" then %> style="display:none;" <% end if %>> + + + + "" then %> style="display:none;" <% end if %>> + + + + + + + + + + + + + + + + + + + + + +
ÄÁÅà / ¹ÌÆÃ ·¹Æ÷Æ®
¾È °Ç + "" and Session("Depart_Code") <> p_dapart) or request("modi")="1" then %> readonly <%end if %>> + + <% if p_input_user = session("Loginuser") Then %> +
+ ¸®½ºÆ®¿¡ Ç¥½Ã ¿©ºÎ(Check=Ç¥½Ã)   checked <%end if %> value="y" /> +
+ <% end if %> +
ÀϽà + <% + if request("cutmenu") = "1" then + %> +       + <% + else + %> + + + <% + end if + %> + ½Ã °£ : + "" and Session("Depart_Code") <> p_dapart then %> readonly <%end if %> />½Ã + ºÐ ºÎÅÍ + "" and Session("Depart_Code") <> p_dapart then %> readonly <%end if %> />½Ã + ºÐ ±îÁö + +
Àå ¼Ò + "" and Session("Depart_Code") <> p_dapart then %> readonly <%end if %>> +
ÄÁÅÃ/¹ÌÆÃ Á¾·ù +         + °ü·Ã ÇÁ·ÎÁ§Æ® : + + + +
Âü¼®ÀÚ + +
Âü¼®ÀÚ + + + + + +
+ KRI Âü¼®ÀÚ + + + + + +
+
+ + + + + +
+ Client Âü¼®ÀÚ + + + + + +
+
ÀÛ¼ºÀÚ + +
ÇùÀÇ ³»¿ë + +
¿¹Á¤ »çÇ× + +
÷ºÎ ÆÄÀÏ + + + +      + ÀúÀåµÈ ÆÄÀÏ : + "" then %> + onclick="javascript:download('<%=f_id %>');" style="width:220; color:blue; CURSOR:pointer;" + <% end if %> + value = "<%=f_id %>" readonly/> + <%if f_id <> "" then %> +
+ * ÆÄÀÏ º¯°æ ½Ã : ÷ºÎ ÆÄÀÏ ¼±Åà ÈÄ-> ¼öÁ¤Çϱ⠹öư Ŭ¸¯ + + <% end if %> +
+ <% if Request("p_sn") = "" then %> + + <% else %> + <% if Session("Depart_Code") = p_dapart or request("modi")="1" then %> + + + <% end if %> + <% end if %> + <% if p_sn <> "" And request("modi") <> "1" Then %> + + <% End if %> +
+
+
+ +" /> + +<% +Dim topage : topage=request("topage") +if request("enter") = "1" Then topage="enter" + +%> + +
diff --git a/project/project_contact_tmp_reg_2014.asp b/project/project_contact_tmp_reg_2014.asp new file mode 100644 index 0000000..5a75c72 --- /dev/null +++ b/project/project_contact_tmp_reg_2014.asp @@ -0,0 +1,218 @@ + +<% + + +'ÇÁ·ÎÁ§Æ® ÄÁÅÃÈÄ ¼öÁ¤ ÈÄ ½ÇÁ¦ µî·Ï +'p_sn¸¸µé±â +query = "SELECT p_sn " +query = query & "FROM T_PROJECT_PRE " +query = query & "WHERE substring(p_sn, 0, 7) = '" & year(date()) & right("0" & month(date()), 2) & "' " +query = query & " AND substring(p_sn, 7, 3) <> '000' " +query = query & "ORDER BY p_sn DESC " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + if instr(1, rsc("p_sn"), "_") then + p_sn = year(date()) & right("0" & month(date()), 2) & right("000" & int(left(right(rsc("p_sn"), 5), 3)) + 1, 3) + else + p_sn = year(date()) & right("0" & month(date()), 2) & right("000" & int(right(rsc("p_sn"), 3)) + 1, 3) + end if +else + p_sn = year(date()) & right("0" & month(date()), 2) & "001" +end if +rsc.Close + +'############################(2017-12-20 ¼öÁ¤ÀÚ : ±èÁ¾ÈÖ)#################################### + +'¾÷·Îµå¿ë °´Ã¼¸¦ »ý¼ºÇÏ´Â ºÎºÐÀÔ´Ï´Ù. +Set xup = Server.CreateObject("SiteGalaxyUpload.Form") + +' ÆÄÀÏ °ü·Ã ±âº» ÄÞÆ÷³ÍÆ®¸¦ »ý¼ºÇÏ´Â ºÎºÐÀÔ´Ï´Ù. +set fso = server.createobject("scripting.filesystemobject") + +'¸ðµç ÆûÀÇ requestµÈ °ªÀº »çÀÌÆ®°¶·°½Ã¿¡¼± ¾Æ·¡¿Í °°ÀÌ ¹Þ¾Æ¾ß ÇÕ´Ï´Ù. + +'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ +'p_sn = request("p_sn") 'Àӽà ÇÁ·ÎÁ§Æ® ÄÚµå +p_subject_pre = TransSTR(xup("p_subject_pre")) '¾È°Ç +p_contact_date = TransSTR(xup("p_contact_date")) 'ÀϽà +p_contact_date_time = TransSTR(xup("p_contact_date_time")) 'ÀϽà ½Ã°£ +p_contact_place = TransSTR(xup("p_contact_place")) 'Àå¼Ò +p_contact_people = TransSTR(xup("p_contact_people")) 'Âü¼®ÀÚ +p_contact_people_krc = TransSTR(xup("p_contact_people_krc")) +p_contact_people_cli = TransSTR(xup("p_contact_people_cli")) +p_contact_discuss = TransSTR(replace(xup("p_contact_discuss"),"'","")) 'ÇùÀdz»¿ë +p_contact_schedule = TransSTR(replace(xup("p_contact_schedule"),"'","")) '¿¹Á¤ »çÇ× +p_contact = TransSTR(xup("p_contact")) 'ÄÁÅà Á¾·ù +c_project_cd = TransSTR(xup("c_project_cd")) '°ü·Ã ÇÁ·ÎÁ§Æ® +c_cutmenu = TransSTR(xup("cutmenu")) '±¸ºÐ + +topage =TransSTR(xup("topage")) + +pre_p_sn = xup("p_sn") 'ÀÌÀü ÇÁ·ÎÁ§Æ® ÄÚµå +p_modi = xup("modi") '±¸ºÐ +'Response.write "["&p_modi&"]" +'Response.End + + +'############### ÄÁÅÃ/¹ÌÆÃ ·¹Æ÷Æ®¼öÁ¤½Ã ############### +'-- Dim SQLcK : SQLcK="0" +If p_modi = "2" Then '-- ¾Èº¸ÀÌ°Ô Ã³¸® + query = "Update T_PROJECT_PRE set list_del='n' where p_sn ='"&pre_p_sn&"'" + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + +'----- SQLcK="2" '-- ¾÷µ¥ÀÌÆ®(2) +End If +'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ + +FileSizeCheck = 1 '¾÷·ÎµåÆÄÀÏÀÇ Å©±â°¡ ÀÏ´ÜÀº 5MbyteÀÌÇ϶ó°í °¡Á¤ + +' ÆÄÀÏÀ» ¾÷·ÎµåÇßÀ» °æ¿ìÀÔ´Ï´Ù. +fileattach = xup("txtFileName") +If fileattach <> "" then + + ' ÀúÀåÇÒ µð·ºÅ丮ÀÔ´Ï´Ù. nt°èÁ¤À̶ó¸é ´ç±Ù everyone °èÁ¤¿¡ write ÆÛ¹Ì¼ÇÀÌ ÀÖ¾î¾ß °ÚÁÒ...^^ + upd = Server.MapPath("/") & "\upload\contact_report\" + 'Æú´õ°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì ¸¸µê + If (fso.FolderExists(upd)) Then + + else + ' ÇØ´ç Æú´õ°¡ ¾øÀ» °æ¿ì + fso.CreateFolder(upd) + End If + + attach_file = fileattach.FilePath + + ' ¿Ã¸®´Â ÆÄÀÏÀ̸§¸¸ »Ì¾Æ³»´Â ºÎºÐÀÔ´Ï´Ù. ÀÌÀ¯¾ß »·È÷ Áߺ¹ÆÄÀÏÀ» 󸮸¦ À§Çؼ­ÁÒ...^^ + filename = Mid(attach_file, instrRev(attach_file, "\") + 1) + filename = "("&p_sn&") "&filename + ' ÆÄÀÏ À̸§¸¸ ±¸ÇÕ´Ï´Ù. + file = Mid(filename, 1, instr(filename, ".") - 1) + + ' ÆÄÀÏ È®ÀåÀÚ¸¦ ±¸ÇÕ´Ï´Ù. + ext = Mid(filename, instr(filename, ".") + 1) + + ' ÀúÀåÇÒ ÆÄÀÏÀÇ ¿ÏÀüÇÑ À̸§À» Àӽà º¯¼ö¿¡ ÀúÀåÇÕ´Ï´Ù. + fileNameTemp = upd & filename + + bExist = True + + ' ÆÄÀÏÀÌ Á¸ÀçÇÒ °æ¿ì, À̸§ µÚ¿¡ ºÙÀÏ °ÍÀÔ´Ï´Ù. ´Ü¼øÈ÷ 0ºÎÅÍ 1¾¿ Áõ°¡ÇÕ´Ï´Ù. + countfilename = 0 + + While bExist + ' ÆÄÀÏÀÌ ÀÖÀ¸¸é, ¿©±â·Î µé¾î ¿Í¼­ ÆÄÀÏ À̸§¿¡ ¼ýÀÚ¸¦ ºÙÀÎ »õ·Î¿î ÆÄÀÏ À̸§ »ý¼ºÇÕ´Ï´Ù. + If (fso.FileExists(fileNameTemp)) Then + countfilename = countfilename + 1 + fileNameTemp = upd & file & "_v" & countfilename & "." & ext + filename = file & "_v" & countfilename & "." & ext + ' ÆÄÀÏÀÌ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì + Else + bExist = False + End if + Wend + + ' FileSystemObject¸¦ ´Ý¾ÆÁÝ´Ï´Ù. + 'Set fso = nothing + + ' À§¿¡¼­ ±¸ÇÑ ÆÄÀÏÀÇ Å©±â¸¦ ±¸ÇÕ´Ï´Ù. + filesize = fileattach.Size + '204800 = 200kb + '5 * 200kb = 1mb + '204800 * 5 = 1024000(1Mbyte) + if filesize > 20480000 then '20Mbyte + FileSizeCheck = 0 + else + FileSizeCheck = 1 + ' ÆÄÀÏÀ» ½ÇÁ¦·Î ¾÷·Îµå ¹Þ½À´Ï´Ù. + fileattach.SaveAs fileNameTemp + end if + + + ' ÆÄÀÏ ¾÷·Îµå¸¦ ¾ÈÇßÀ» °æ¿ìÀÔ´Ï´Ù. +Else '' If fileattach <> "" then + filesize = 0 + filename = "" +End if +If fileattach <> "" Then + Upload_Filename = filename +End If + +'############################(2017-12-20 ¼öÁ¤ÀÚ : ±èÁ¾ÈÖ)#################################### + +'Response.Write "c_project_cd " & c_project_cd + + + + 'ÇÁ·ÎÁ§Æ® º» Å×À̺í ÀúÀå + '--------------------------------------- + +'-- If SQLcK="0" Then + If pre_p_sn<>"" Then p_sn=pre_p_sn '-- ¼öÁ¤½Ã + + query = "INSERT INTO " + query = query & " T_PROJECT_PRE " + query = query & "(p_sn, p_subject_pre, p_contact_date, p_contact_date_time, " + query = query & "p_contact_place, p_contact_people, p_contact_people_krc, p_contact_people_cli, p_contact_discuss, p_contact_schedule, p_input_user, p_input_dt, Attribute01, Attribute02, Attribute03, Attribute04,list_del) " + query = query & "VALUES " + query = query & "('" & p_sn &"', '"& p_subject_pre & "', '" & p_contact_date & "', '" & p_contact_date_time & "', " + query = query & " '" & p_contact_place & "', '" & p_contact_people & "', '" & p_contact_people_krc & "', '" & p_contact_people_cli & "', '" & p_contact_discuss & "', '" & p_contact_schedule & "', '" & Session("User_Number") & " ', GETDATE(), '"& p_contact &"', '"& c_project_cd &"','"&upd&"','"&Upload_Filename&"','Y' ) " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close +'-- End If + +%> + + + +
+
+ + \ No newline at end of file diff --git a/project/project_contact_tmp_reg_enter.asp b/project/project_contact_tmp_reg_enter.asp new file mode 100644 index 0000000..5a06c10 --- /dev/null +++ b/project/project_contact_tmp_reg_enter.asp @@ -0,0 +1,70 @@ + +<% + +set rsp = server.CreateObject("ADODB.RECORDSET") + +'ÇÁ·ÎÁ§Æ® ÄÁÅÃÈÄ ¼öÁ¤ ÈÄ ½ÇÁ¦ µî·Ï + +query = "SELECT p_sn " +query = query & "FROM T_PROJECT_PRE " +query = query & "WHERE substring(p_sn, 0, 7) = '" & year(date()) & right("0" & month(date()), 2) & "' " +query = query & " AND substring(p_sn, 7, 3) <> '000' " +query = query & "ORDER BY p_sn DESC " + +rsp.Open query, adoConn, 1 +if rsp.RecordCount > 0 then + if instr(1, rsp("p_sn"), "_") then + p_sn = year(date()) & right("0" & month(date()), 2) & right("000" & int(left(right(rsp("p_sn"), 5), 3)) + 1, 3) + else + p_sn = year(date()) & right("0" & month(date()), 2) & right("000" & int(right(rsp("p_sn"), 3)) + 1, 3) + end if +else + p_sn = year(date()) & right("0" & month(date()), 2) & "001" +end if +rsp.Close +'p_sn = request("p_sn") 'Àӽà ÇÁ·ÎÁ§Æ® ÄÚµå + + +p_subject_pre = request("p_subject_pre") '¾È°Ç +p_contact_date = request("p_contact_date") 'ÀϽà +p_contact_date_time = request("p_contact_date_time") 'ÀϽà ½Ã°£ +p_contact_place = request("p_contact_place") 'Àå¼Ò +p_contact_people = request("p_contact_people") 'Âü¼®ÀÚ +p_contact_people_krc = request("p_contact_people_krc") +p_contact_people_cli = request("p_contact_people_cli") +p_contact_discuss = replace(request("p_contact_discuss"),"'","") 'ÇùÀdz»¿ë +p_contact_schedule = replace(request("p_contact_schedule"),"'","") '¿¹Á¤ »çÇ× +p_contact = request("p_contact") 'ÄÁÅà Á¾·ù +c_project_cd = request("c_project_cd") '°ü·Ã ÇÁ·ÎÁ§Æ® + + 'ÇÁ·ÎÁ§Æ® º» Å×À̺í ÀúÀå + '--------------------------------------- + query = "INSERT INTO " + query = query & " T_PROJECT_PRE " + query = query & "(p_sn, p_subject_pre, p_contact_date, p_contact_date_time, " + query = query & "p_contact_place, p_contact_people, p_contact_people_krc, p_contact_people_cli, p_contact_discuss, p_contact_schedule, p_input_user, p_input_dt, Attribute01, Attribute02) " + query = query & "VALUES " + query = query & "('" & p_sn &"', '"& p_subject_pre & "', '" & p_contact_date & "', '" & p_contact_date_time & "', " + query = query & " '" & p_contact_place & "', '" & p_contact_people & "', '" & p_contact_people_krc & "', '" & p_contact_people_cli & "', '" & p_contact_discuss & "', '" & p_contact_schedule & "', '" & Session("User_Number") & " ', GETDATE(), '"& p_contact &"', '"& c_project_cd &"' ) " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + +%> + + + +
+
+ + \ No newline at end of file diff --git a/project/project_contact_tmp_update_2014.asp b/project/project_contact_tmp_update_2014.asp new file mode 100644 index 0000000..5180565 --- /dev/null +++ b/project/project_contact_tmp_update_2014.asp @@ -0,0 +1,55 @@ + +<% + +set rsp = server.CreateObject("ADODB.RECORDSET") +set dbin = server.CreateObject("ADODB.CONNECTION") +'ÇÁ·ÎÁ§Æ® ÄÁÅÃÈÄ ¼öÁ¤ ÈÄ ½ÇÁ¦ µî·Ï + +p_sn = request("p_sn") 'ÇÁ·ÎÁ§Æ® ÄÚµå +p_subject_pre = request("p_subject_pre") +p_contact_date = request("p_contact_date") +p_contact_date_time = request("p_contact_date_time") +p_contact_place = request("p_contact_place") +p_contact_people = request("p_contact_people") +p_contact_people_krc = request("p_contact_people_krc") +p_contact_people_cli = request("p_contact_people_cli") +p_contact_discuss = request("p_contact_discuss") +p_contact_schedule = request("p_contact_schedule") +p_contact = request("p_contact") 'ÄÁÅà Á¾·ù +c_project_cd = request("c_project_cd") '°ü·Ã ÇÁ·ÎÁ§Æ® + + 'ÇÁ·ÎÁ§Æ® º» Å×ÀÌºí ¼öÁ¤ + '--------------------------------------- + query = " UPDATE T_PROJECT_PRE " + query = query & " SET p_subject_pre = '"& p_subject_pre &"', p_contact_date = '"& p_contact_date &"', p_contact_date_time = '"& p_contact_date_time &"', " + query = query & " p_contact_place = '"& p_contact_place &"', p_contact_people = '"& p_contact_people &"', p_contact_people_krc = '"& p_contact_people_krc &"', p_contact_people_cli = '"& p_contact_people_cli &"', " + query = query & " Attribute01 = '"& p_contact &"', Attribute02 = '"& c_project_cd &"', p_contact_discuss = '"& p_contact_discuss &"', p_contact_schedule = '"& p_contact_schedule &"'" + query = query & " WHERE p_sn = '"& p_sn &"'" + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + +%> + + + +
+
+ + \ No newline at end of file diff --git a/project/project_contact_update_2014.asp b/project/project_contact_update_2014.asp new file mode 100644 index 0000000..110be65 --- /dev/null +++ b/project/project_contact_update_2014.asp @@ -0,0 +1,146 @@ + +<% + +set rsp = server.CreateObject("ADODB.RECORDSET") +set dbin = server.CreateObject("ADODB.CONNECTION") +'ÇÁ·ÎÁ§Æ® ÄÁÅÃÈÄ ¼öÁ¤ ÈÄ ½ÇÁ¦ µî·Ï + +project_document_flag = request("project_document_flag") + + +p_sn = request("p_sn") 'ÇÁ·ÎÁ§Æ® ÄÚµå +p_subject = request("p_subject") 'ÇÁ·ÎÁ§Æ®¸í +p_contactor = request("p_contactor") '¹ß»ý°æ·Î +direct_input_company= request("direct_input_company") 'Ŭ¶óÀÌ¾ðÆ® Á¤º¸ Á÷Á¢ÀÔ·Â ¿©ºÎ +p_cli_company_cd = request("p_cli_company_cd") 'Ŭ¶óÀÌ¾ðÆ® È¸»çÄÚµå +p_cli_company_nm = request("p_cli_company_nm") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç¸í +p_cli_per_cd = request("p_cli_per_cd") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÄÚµå +p_cli_depart = request("p_cli_depart") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ºÎ¼­ ÄÚµå +p_cli_per_nm = request("p_cli_per_nm") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ À̸§ +p_cli_per_com_tel = request("p_cli_per_com_tel") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ÀüÈ­¹øÈ£ +p_cli_per_tel = request("p_cli_per_tel") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÀüÈ­¹øÈ£ +p_cli_per_email = request("p_cli_per_email") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ À̸ÞÀÏ +p_client_type_cd = request("p_client_type_cd") 'Á¶»ç ¾÷Á¾ +p_cont_cost = replace(request("p_cont_cost"),",", "") '¿¹»ó °è¾à¾× +p_decide_date = request("p_decide_date") '°áÁ¤¿¹Á¤ÀÏ +p_memo = request("p_memo") 'ºñ°í + +p_method_cd = request("p_method_cd") 'Á¶»ç ¹æ¹ý + +p_cost_rate = request("p_cost_rate") ' ¿¹»óÁ÷Á¢ºñÀ² + +p_sub_type = request("p_sub_type") 'ÇÁ·ÎÁ§Æ® ŸÀÔ +p_progress_status = request("p_progress_status") 'ÇÁ·ÎÁ§Æ® ÁøÇà »óÅ + '(2014-07-03)üũ¹Ú½º°¡ üũµÇ¾î ÀÖÀ¸¸é TEXT¹Ú½º¿¡ ÀÔ·ÂµÈ Á¤º¸°¡ T_CLIENT_COMP, T_CLIENT_PERSON¿¡ ÀúÀåÇÑ´Ù. + if direct_input_company = "true" then + 'ȸ»ç¸íÀÌ ÀÖ´ÂÁö ¸ÕÀú °Ë»öÇÑ´Ù. + query = " SELECT * " + query = query & " FROM V_CLIENT_COMP " + query = query & " WHERE p_cli_company_nm = '"& p_cli_company_nm &"' " + + rsp.Open query, adoconn, 1 + + 'ȸ»ç¸íÀÌ ¾ø´Ù¸é T_CLIENT_COMP¿¡ ÀúÀåÀ» ÇÑ´Ù. + if rsp.recordcount = 0 then + query = " INSERT T_CLIENT_COMP " + query = query & " VALUES('"& p_cli_company_nm &"','N',CONVERT(varchar(30), GETDATE(),112)) " + dbin.Open adoConn + dbin.Execute query + dbin.Close + end if + + 'p_cli_company_cd¸¦ ¾Ë¾Æ³»±â À§ÇÑ °Ë»öÀ» ÇÑ´Ù. T_CLIENT_PERSON¿¡ °ªÀ» ³Ö±â À§ÇÑ °Ë»ö + query = " SELECT p_cli_company_cd " + query = query & " FROM V_CLIENT_COMP " + query = query & " WHERE p_cli_company_nm = '"& p_cli_company_nm &"' " + rsc.Open query, adoconn, 1 + p_cli_company_cd = rsc("p_cli_company_cd") + rsc.Close + + 'PERSONÁ¤º¸¸¦ ÀÔ·ÂÇÑ´Ù. + query = " INSERT T_CLIENT_PERSON " + query = query & " VALUES('"& p_cli_company_cd &"','"& p_cli_depart &"','"& p_cli_per_nm &"','"& p_cli_per_com_tel &"','"& p_cli_per_tel &"','"& p_cli_per_email &"',GETDATE(),'"& Session("User_Number") &"') " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + + query = " SELECT MAX(p_cli_per_cd) AS p_cli_per_cd " + query = query & " FROM V_CLIENT_PERSON " + query = query & " WHERE p_cli_company_cd = '"& p_cli_company_cd &"' " + query = query & " AND p_input_user = '"& Session("User_Number") &"' " + + rsc.Open query, adoconn, 1 + p_cli_per_cd = rsc("p_cli_per_cd") + rsc.Close + + rsp.close + + + end if + + + + 'ÇÁ·ÎÁ§Æ®¿¡ ´ëÇÑ Á¶»ç¹æ¹ý ¼öÁ¤ (ÇØ´ç ÇÁ·ÎÁ§Æ®(p_sn)ÀÇ Á¶»ó¹æ¹ýÀ» ¸ðµÎ »èÁ¦ÇÑ ÈÄ ´Ù½Ã INSERT + query = " DELETE T_PROJECT_METHOD " + query = query & " WHERE p_sn = '"& p_sn &"'" + + dbin.Open adoConn + dbin.Execute query + dbin.Close + + + 'ÇÁ·ÎÁ§Æ® º» Å×ÀÌºí ¼öÁ¤ + '--------------------------------------- + query = " UPDATE T_PROJECT_BASE " + query = query & " SET p_subject = '"& p_subject &"', p_cli_company_cd = '"& p_cli_company_cd &"', p_cli_per_cd = '"& p_cli_per_cd &"', " + query = query & " p_client_type_cd = '"& p_client_type_cd &"', p_obtain_cost = '"& p_cont_cost &"', p_cont_cost = '"& p_cont_cost &"', " + query = query & " p_decide_date = '"& p_decide_date &"', p_memo = '"& p_memo &"', p_contactor = '"& p_contactor &"', p_cost_rate = '" & p_cost_rate & "' " + query = query & " WHERE p_sn = '"& p_sn &"'" + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + + for i=1 to Request("p_method_cd").count + query = " INSERT INTO " + query = query & " T_PROJECT_METHOD " + query = query & " (p_sn, p_subject, p_method_cd, p_cli_company_cd, p_client_type_cd " + If project_document_flag = "project_processing" then + query = query & " ,p_sub_type ,p_progress_status " + End if + query = query & " , p_input_dt, p_input_complete, p_progress_flag, " + query = query & " p_rsch_1_a, p_rsch_2_a, p_rsch_3_a, p_rsch_4_a, p_rsch_1_b, p_rsch_2_b, p_rsch_3_b, p_rsch_4_b, p_rsch_1_c, p_rsch_2_c, p_rsch_3_c, p_rsch_4_c, " + query = query & " p_sv_1, p_sv_2, p_sv_3, p_sv_4, p_code_1, p_code_2, p_code_3, p_code_4, p_verify_1, p_verify_2, p_verify_3, p_verify_4, p_punch_1, p_punch_2, p_punch_3, p_punch_4, " + query = query & " p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4 ) " + query = query & " VALUES " + query = query & " ('" & p_sn & "', '" & p_subject & "', '" & Request("p_method_cd")(i) & "', '" & p_cli_company_cd & "', '" & p_client_type_cd & " ' " + If project_document_flag = "project_processing" then + query = query & " ,'', '' " + End if + query = query & " , getdate(), 'xxx', 'xxx', '','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','')" + + dbin.Open adoConn + dbin.Execute query + dbin.Close + NEXT + + +%> + + + +
+ +
+ + \ No newline at end of file diff --git a/project/project_contactlist_rate_chk.asp b/project/project_contactlist_rate_chk.asp new file mode 100644 index 0000000..2a41acf --- /dev/null +++ b/project/project_contactlist_rate_chk.asp @@ -0,0 +1,203 @@ + + +<% + p_depart = request("p_depart") + tmp_month = request("tmp_month") + tmp_year = request("tmp_year") + if tmp_year="" then tmp_year=year(date()) + + if request("chkPsn") <> "" then + set dbin = server.CreateObject("ADODB.CONNECTION") + query = " UPDATE T_PROJECT_BASE " + query = query & " SET p_cost_rate_chk = 'È®ÀÎ' " + query = query & " WHERE p_sn = '" & request("chkPsn") & "' and p_cost_rate_chk is null " + dbin.Open adoConn + dbin.Execute query, i + dbin.Close + + if i>0 then + Alert "È®ÀΠó¸® µÇ¾ú½À´Ï´Ù." + end if + end if +%> + +
+ +
+

Á¦¾È ¿¹»óºñÀ² È®ÀÎ

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + +
+ °Ë»ö Á¶°ÇÀ» ¼±ÅÃÇϼ¼¿ä. +
+ µî·Ï ³â/¿ù : + ³â / + ¿ù + + +
+ + <% + query = "" + query = query & " SELECT PB.p_sn, PB.p_subject, E.p_cli_company_nm, " & vbCrLf + query = query & " CP.p_cli_depart, CP.p_cli_per_nm, " & vbCrLf + query = query & " case when p_contactor = '001' then '°ø°³ÀÔÂû' " & vbCrLf + query = query & " when p_contactor = '002' then 'Á¦¾È°æÀï' " & vbCrLf + query = query & " when p_contactor = '003' then '°¡°ÝÀÔÂû' " & vbCrLf + query = query & " when p_contactor = '004' then '¼öÀǰè¾à' " & vbCrLf + query = query & " else '' end as p_contactor_label, " & vbCrLf + query = query & " CT.p_client_type_nm, " & vbCrLf + query = query & " ISNULL(STUFF(( SELECT ',' + p_method_nm FROM T_PROJECT_METHOD TPM LEFT OUTER JOIN " & vbCrLf + query = query & " T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd AND TPMC.p_method_yn='y' " & vbCrLf + query = query & " WHERE p_sn = PB.p_sn " & vbCrLf + query = query & " ORDER BY TPMC.p_method_cd " & vbCrLf + query = query & " FOR XML PATH ('')),1,1,''), '') AS p_method_str, " & vbCrLf + query = query & " PB.p_cont_cost, ISNULL(PB.p_cost_rate, 0) AS p_cost_rate, isnull(p_cost_rate_chk, '¹ÌÈ®ÀÎ') AS p_cost_rate_chk, PB.p_decide_date, " & vbCrLf + query = query & " PB.p_input_dt, p_state, PB.p_input_user, p_depart_dep, d.T_Name AS p_depart_nm, " & vbCrLf + query = query & " p.p_name as p_name " & vbCrLf + query = query & " FROM T_PROJECT_BASE PB LEFT JOIN T_PROJECT_METHOD TPM ON PB.p_sn = TPM.p_sn " & vbCrLf + query = query & " INNER JOIN V_person P ON PB.p_input_user = P.P_NO " & vbCrLf + query = query & " INNER JOIN V_Department D ON PB.p_depart_dep = d.before_t_cd1 " & vbCrLf + query = query & " left outer join V_CLIENT_COMP as E on PB.p_cli_company_cd = E.p_cli_company_cd " & vbCrLf + query = query & " left outer join V_CLIENT_PERSON as CP on PB.p_cli_company_cd = CP.p_cli_company_cd AND PB.p_cli_per_cd = CP.p_cli_per_cd " & vbCrLf + query = query & " left outer join T_CLIENT_TYPE_CD as CT on PB.p_client_type_cd = CT.p_client_type_cd " & vbCrLf + query = query & " WHERE PB.p_sn IS NOT NULL AND TPM.p_progress_status IS NULL AND p_state NOT IN ('X', 'D') " & vbCrLf + query = query & " AND ISNULL(PB.p_cost_rate, 0) >= 55 and PB.p_cost_rate_chk is null " & vbCrLf + '------------------------------------------------------ + '³â ¿É¼Ç + if tmp_year <> "0" and tmp_year <> "" then + query = query & " AND YEAR(PB.p_input_dt) = '" & tmp_year & "' " & vbCrLf + end if + '------------------------------------------------------ + '¿ù ¿É¼Ç + if tmp_month <> "0" and tmp_month <> "" then + query = query & " AND MONTH(PB.p_input_dt) = '" & right("0" & tmp_month, 2) & "' " & vbCrLf + end if + '------------------------------------------------------ + query = query & " GROUP BY PB.p_sn, PB.p_subject, E.p_cli_company_nm, CP.p_cli_depart, CP.p_cli_per_nm, " + query = query & " case when p_contactor = '001' then '°ø°³ÀÔÂû' " + query = query & " when p_contactor = '002' then 'Á¦¾È°æÀï' " + query = query & " when p_contactor = '003' then '°¡°ÝÀÔÂû' " + query = query & " when p_contactor = '004' then '¼öÀǰè¾à' " + query = query & " else '' end, " + query = query & " CT.p_client_type_nm, PB.p_cont_cost, ISNULL(PB.p_cost_rate, 0), ISNULL(p_cost_rate_chk, '¹ÌÈ®ÀÎ'), PB.p_decide_date, " + query = query & " PB.p_input_dt, p_state, PB.p_input_user, p_depart_dep, d.T_Name, p.p_name" + 'Response.Write query & "
" + Rs.Open query, adoConn, 1 + %> + + + + + + + + + + + + + + <% + if Rs.RecordCount > 0 then + for i = 1 to Rs.RecordCount + %> + + + + + + + + + + + + + <% + Rs.MoveNext + next + else + %> + + + + <% + end if + Rs.Close + %> + +
Á¦¾È¹øÈ£ÇÁ·ÎÁ§Æ®¸íŬ¶óÀÌ¾ðÆ®¸í¹ß»ý°æ·ÎÁ¶»ç¹æ¹ý¿¹»ó°è¾à¾×(¿ø)¿¹»óÁ÷Á¢
ºñÀ²(%)
´ã´çÃÖÃʵî·ÏÀÏÈ®ÀÎ
<%=Rs("p_sn")%>')" class="blue"><%=Rs("p_subject")%><%=Rs("p_cli_company_nm")%> (<%=Rs("p_cli_per_nm")%>)<%=Rs("p_contactor_label") %><%=Rs("p_method_str")%><%=FormatNumber(Rs("p_cont_cost"), 0)%><%=Rs("p_cost_rate")%><%=Rs("p_depart_nm")%> (<%=Rs("p_name")%>)<%=Left(Rs("p_input_dt"), 10)%>');"/>
+ - µî·ÏµÈ ³»¿ëÀÌ ¾ø½À´Ï´Ù - +
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_cost_change_ajax_2014.asp b/project/project_cost_change_ajax_2014.asp new file mode 100644 index 0000000..a151e19 --- /dev/null +++ b/project/project_cost_change_ajax_2014.asp @@ -0,0 +1,26 @@ + + + +<%' + + + p_sn = request("p_sn") + cost = request("cost") + + query = " UPDATE T_PROJECT_BASE " + query = query & " SET p_obtain_cost = '" & cost & "', p_cont_cost = '" & cost & "' " + query = query & " WHERE p_sn = '" & p_sn & "' " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write formatnumber(cost, 0) +%> \ No newline at end of file diff --git a/project/project_cost_changelist.asp b/project/project_cost_changelist.asp new file mode 100644 index 0000000..40f991d --- /dev/null +++ b/project/project_cost_changelist.asp @@ -0,0 +1,89 @@ + + + +
+ +
+

ÇÁ·ÎÁ§Æ® °è¾à±Ý ¼öÁ¤ ¸ñ·Ï (ÃÖ±Ù 3°³¿ù À̳» ÀÛ¼º ³»¿ª)

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + <% + sql=""&VbCrlf + sql=sql&" SELECT M.p_sn, p_subject, p_method_cd, d_write_name AS p_name, d_write_date, "&VbCrlf + sql=sql&" target3 AS o_child_cost, target1 AS c_child_cost, "&VbCrlf + sql=sql&" target4 AS o_cost, target5 AS c_cost, "&VbCrlf + sql=sql&" target2 AS reason "&VbCrlf + sql=sql&" FROM ¹®¼­³»¿ë M LEFT JOIN Document D ON M.¹®¼­¹øÈ£ = D.d_no "&VbCrlf + sql=sql&" LEFT JOIN T_PROJECT_METHOD P ON M.p_sn = P.p_child_sn "&VbCrlf + sql=sql&" WHERE ¹®¼­Á¦¸ñ = 'ÇÁ·ÎÁ§Æ®°è¾à¾×¼öÁ¤' "&VbCrlf + sql=sql&" AND d_order_cnt = '77' AND del_yes_no = 'no' "&VbCrlf + sql=sql&" AND d_write_date >= CONVERT(varchar(10), DATEADD(MONTH, -3, getdate()), 120) "&VbCrlf + sql=sql&" ORDER BY d_write_date DESC "&VbCrlf + + Rs.Open sql, adoConn, 1 + While Not Rs.Eof + %> + + + + + + + + + + + + <% + Rs.movenext + Wend + Rs.Close + %> + +
ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÀÛ¼ºÀÚÀÛ¼ºÀÏÀÚ±âÁ¸ ´ÜÀ§°è¾à¾× ¡æ º¯°æ ´ÜÀ§°è¾à¾×±âÁ¸ Àüü°è¾à¾× ¡æ º¯°æ Àüü°è¾à¾×»çÀ¯
','<%=mid(Rs("p_sn"),9,1)%>','<%=Rs("p_method_cd")%>','<%=Rs("p_sn")%>');"><%=Rs("p_sn")%>','<%=mid(Rs("p_sn"),9,1)%>','<%=Rs("p_method_cd")%>','<%=Rs("p_sn")%>');"><%=Rs("p_subject")%><%=Rs("p_name")%><%=Rs("d_write_date")%><%if Rs("o_child_cost") <> Rs("c_child_cost") then %><%=formatnumber(Rs("o_child_cost"), 0)%><% end if %><%if Rs("o_child_cost") <> Rs("c_child_cost") then %><%=formatnumber(Rs("c_child_cost"), 0)%><% end if %><%if Rs("o_cost") <> Rs("c_cost") then %><%=formatnumber(Rs("o_cost"), 0)%><% end if %><%if Rs("o_cost") <> Rs("c_cost") then %><%=formatnumber(Rs("c_cost"), 0)%><% end if %><%=Rs("reason")%>
+
+
+
+
+
+
+ + + +
+ + + diff --git a/project/project_ing_info.asp b/project/project_ing_info.asp new file mode 100644 index 0000000..71ee540 --- /dev/null +++ b/project/project_ing_info.asp @@ -0,0 +1,307 @@ + + +<% +'-- ~ºÎÅÍ +dim s_date_st +if request.form("s_date_st")="" then + s_date_st=left(date(),7)&"-01" +else + s_date_st=request.form("s_date_st") +end if + +'-- ~±îÁö +dim s_date_end +if request.form("s_date_end")="" then + s_date_end=left(date(),7)&"-31" +else + s_date_end=request.form("s_date_end") +end if + + +dim ttgubn +if request.form("ttgubn")="" then + ttgubn="½Ç»çÁ¾·áÀÏ" +else + ttgubn=request.form("ttgubn") +end if +%> + +
+ +
+

ÇÁ·ÎÁ§Æ® ÁøÇàÀÏÁ¤

+
+ + +
+
+
+
+
+
+ + + + + +
+   + + + ~ + + +     +    +
+ + + + + + + + + + + + + + + + + + + + + <% + sql=""&VbCrlf + sql=sql&" select AAA.* from "&VbCrlf + sql=sql&" ( "&VbCrlf + sql=sql&" select "&VbCrlf + sql=sql&" C5.team_name, "&VbCrlf + sql=sql&" C0.p_rsch_name, "&VbCrlf + sql=sql&" C1.p_sv_name, "&VbCrlf + sql=sql&" C2.p_code_name, "&VbCrlf + sql=sql&" C3.p_punch_name, "&VbCrlf + sql=sql&" C4.p_dp_name, "&VbCrlf + sql=sql&" AA.* "&VbCrlf + sql=sql&" from "&VbCrlf + sql=sql&" ( "&VbCrlf + sql=sql&" select "&VbCrlf + sql=sql&" A.p_child_sn as ÇÁ·ÎÁ§Æ®ÄÚµå, "&VbCrlf + sql=sql&" A.p_subject as ÇÁ·ÎÁ§Æ®¸í, "&VbCrlf + sql=sql&" A.p_method_cd, "&VbCrlf + sql=sql&" B.Á¶»ç¹æ¹ý, "&VbCrlf + + sql=sql&" case when A.p_rsch_1_a<>'' then A.p_rsch_1_a "&VbCrlf + sql=sql&" when A.p_rsch_2_a<>'' then A.p_rsch_2_a "&VbCrlf + sql=sql&" when A.p_rsch_3_a<>'' then A.p_rsch_3_a "&VbCrlf + sql=sql&" when A.p_rsch_4_a<>'' then A.p_rsch_4_a else '' end as p_rsch, "&VbCrlf + + sql=sql&" case when A.p_sv_1<>'' then A.p_sv_1 "&VbCrlf + sql=sql&" when A.p_sv_2<>'' then A.p_sv_2 "&VbCrlf + sql=sql&" when A.p_sv_3<>'' then A.p_sv_3 "&VbCrlf + sql=sql&" when A.p_sv_4<>'' then A.p_sv_4 else '' end as p_sv, "&VbCrlf + + sql=sql&" case when A.p_code_1<>'' then A.p_code_1 "&VbCrlf + sql=sql&" when A.p_code_2<>'' then A.p_code_2 "&VbCrlf + sql=sql&" when A.p_code_3<>'' then A.p_code_3 "&VbCrlf + sql=sql&" when A.p_code_4<>'' then A.p_code_4 else '' end as p_code, "&VbCrlf + + sql=sql&" case when A.p_punch_1<>'' then A.p_punch_1 "&VbCrlf + sql=sql&" when A.p_punch_2<>'' then A.p_punch_2 "&VbCrlf + sql=sql&" when A.p_punch_3<>'' then A.p_punch_3 "&VbCrlf + sql=sql&" when A.p_punch_4<>'' then A.p_punch_4 else '' end as p_punch, "&VbCrlf + + sql=sql&" case when A.p_dp_1<>'' then A.p_dp_1 "&VbCrlf + sql=sql&" when A.p_dp_2<>'' then A.p_dp_2 "&VbCrlf + sql=sql&" when A.p_dp_3<>'' then A.p_dp_3 "&VbCrlf + sql=sql&" when A.p_dp_4<>'' then A.p_dp_4 else '' end as p_dp, "&VbCrlf + sql=sql&" A.p_sample as Ç¥º»¼ö, "&VbCrlf + sql=sql&" A.p_ot_date as OTÀÏ, "&VbCrlf + sql=sql&" A.p_field_date_end as ½Ç»çÁ¾·áÀÏ, "&VbCrlf + sql=sql&" A.p_dp_date_end as DPÁ¾·áÀÏ, "&VbCrlf + sql=sql&" A.p_rsch_dept as ÁøÇàºÎ¼­, "&VbCrlf + sql=sql&" A.p_progress_status as ÁøÇà»óȲ "&VbCrlf + ' sql=sql&" -- ,A.* " + sql=sql&" from "&VbCrlf + sql=sql&" ( "&VbCrlf + sql=sql&" select * from [dbo].[T_PROJECT_METHOD] "&VbCrlf + sql=sql&" where p_complete_date is null "&VbCrlf + sql=sql&" ) A "&VbCrlf + sql=sql&" left join "&VbCrlf + sql=sql&" (select p_method_cd, p_method_nm as Á¶»ç¹æ¹ý from [dbo].[T_PROJECT_METHOD_CD]) B "&VbCrlf + sql=sql&" on A.p_method_cd=B.p_method_cd "&VbCrlf + sql=sql&" ) AA "&VbCrlf + + sql=sql&" left join " &VbCrlf + sql=sql&" (select p_no, p_name as p_rsch_name from person) C0 "&VbCrlf'##### ¿¬±¸ + sql=sql&" on AA.p_rsch=C0.p_no "&VbCrlf + + sql=sql&" left join "&VbCrlf + sql=sql&" (select p_no, p_name as p_sv_name from person) C1 "&VbCrlf'##### ½Ç»ç + sql=sql&" on AA.p_sv=C1.p_no "&VbCrlf + + sql=sql&" left join "&VbCrlf + sql=sql&" (select p_no, p_name as p_code_name from person) C2 "&VbCrlf '##### ÄÚµù + sql=sql&" on AA.p_code=C2.p_no "&VbCrlf + + sql=sql&" left join "&VbCrlf + sql=sql&" (select p_no, p_name as p_punch_name from person) C3 "&VbCrlf '##### ÆÝÄ¡ + sql=sql&" on AA.p_code=C3.p_no "&VbCrlf + + sql=sql&" left join "&VbCrlf + sql=sql&" (select p_no, p_name as p_dp_name from person) C4 "&VbCrlf '##### dp + sql=sql&" on AA.p_dp=C4.p_no "&VbCrlf + + sql=sql&" left join "&VbCrlf + sql=sql&" (select team_cd,team_name from TEAM_GROUP) C5 "&VbCrlf + sql=sql&" on AA.ÁøÇàºÎ¼­=C5.team_cd "&VbCrlf + + sql=sql&" ) AAA "&VbCrlf + '-- sql=sql&" where AAA.ÇÁ·ÎÁ§Æ®ÄÚµå<>'' " + sql=sql&" where len(isnull(AAA.OTÀÏ,''))+len(isnull(AAA.½Ç»çÁ¾·áÀÏ,''))+len(isnull(AAA.DPÁ¾·áÀÏ,''))>0 "&VbCrlf + sql=sql&" and left(AAA."&ttgubn&",10) between '"&s_date_st&"' and '"&s_date_end&"' "&VbCrlf + + select case ttgubn + case "½Ç»çÁ¾·áÀÏ" : sql=sql&" order by AAA.½Ç»çÁ¾·áÀÏ asc "&VbCrlf + case "DPÁ¾·áÀÏ" : sql=sql&" order by AAA.DPÁ¾·áÀÏ asc "&VbCrlf + case "OTÀÏ" : sql=sql&" order by AAA.OTÀÏ asc "&VbCrlf + end select + + + + + Rs.Open sql, adoConn, 1 + dim acnt : acnt=1 + dim pro + dim pro_style + while not Rs.Eof + Select case Rs("ÁøÇà»óȲ") + case "006" + pro="ºÎ¼­Á¤º¸/¿¹»ê ÀÔ·ÂÁß" + pro_style="" + case "007" + pro="°áÀç ÁøÇàÁß" + pro_style="" + case "008" + pro="°áÀç ¿Ï·á" + pro_style="color:red;" + End Select + %> + + + + + + + + + + + + <% If isnull(Rs("Ç¥º»¼ö")) Then %> + + <% Else %> + + <% End If %> + + + + + <% + acnt=acnt+1 + Rs.movenext + Wend + Rs.Close + %> + +
NoÀÎÆ®¶ó³Ý
ÇÁ·ÎÁ§Æ®
ÇÁ·ÎÁ§Æ®¸íÁøÇà»óȲÁ¶»ç¹æ¹ý¿¬±¸
´ã´ç
½Ç»ç
´ã´ç
ÄÚµù
´ã´ç
ÆÝÄ¡
´ã´ç
DP
´ã´ç
Ç¥º»¼öOTÀϽǻç
Á¾·áÀÏ
DP
Á¾·áÀÏ
<%=acnt%><%=Rs("ÇÁ·ÎÁ§Æ®ÄÚµå")%><% if Rs("ÁøÇàºÎ¼­") = session("depart_code") OR Cint(session("depart_code")) < 20 then %>  + ','<%=mid(Rs("ÇÁ·ÎÁ§Æ®ÄÚµå"),9,1)%>','<%=Rs("p_method_cd")%>','<%=Rs("ÇÁ·ÎÁ§Æ®ÄÚµå")%>');" ><%=Rs("ÇÁ·ÎÁ§Æ®¸í")%><%else + %><%=Rs("ÇÁ·ÎÁ§Æ®¸í")%><%End IF%> + <%=pro%><%=Rs("Á¶»ç¹æ¹ý")%><%=Rs("p_rsch_name")%><%=Rs("p_sv_name")%><%=Rs("p_code_name")%><%=Rs("p_punch_name")%><%=Rs("p_dp_name")%>--  <%=formatnumber(Rs("Ç¥º»¼ö"),0)%>  <%=left(Rs("OTÀÏ"),10)%><%=left(Rs("½Ç»çÁ¾·áÀÏ"),10)%><%=left(Rs("DPÁ¾·áÀÏ"),10)%>
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_ing_info_excel.asp b/project/project_ing_info_excel.asp new file mode 100644 index 0000000..0a72e8b --- /dev/null +++ b/project/project_ing_info_excel.asp @@ -0,0 +1,159 @@ + +<% + + '-- ~ºÎÅÍ + dim s_date_st + if request.form("s_date_st")="" then + s_date_st=left(date(),7)&"-01" + else + s_date_st=request.form("s_date_st") + end if + + '-- ~±îÁö + dim s_date_end + if request.form("s_date_end")="" then + s_date_end=left(date(),7)&"-31" + else + s_date_end=request.form("s_date_end") + end if + + + + dim excel_title : excel_title="ÇÁ·ÎÁ§Æ® ÁøÇàÀÏÁ¤("&s_date_st&")("&s_date_end&")" + Response.Expires = 0 + Response.ContentType = "application/vnd.ms-excel" + Response.ContentType = "application/unkown" + Response.Buffer = TRUE + Response.AddHeader "Content-Disposition","attachment; filename="&excel_title&".xls" + + + +SET rsa = server.CreateObject("ADODB.RECORDSET") +SET rsp = server.CreateObject("ADODB.RECORDSET") + + + + +dim ttgubn +if request.form("ttgubn")="" then +ttgubn="½Ç»çÁ¾·áÀÏ" +else +ttgubn=request.form("ttgubn") +end if + + + +%> + + + + + + + + + + + + + + + +<% + +sql=" select AAA.* from " +sql=sql&" ( " +sql=sql&" select " +sql=sql&" C3.team_name, " +sql=sql&" C0.p_rsch_name, " +sql=sql&" C1.p_sv_name, " +sql=sql&" C2.p_dp_name, " +sql=sql&" AA.* " +sql=sql&" from " +sql=sql&" ( " +sql=sql&" select " +sql=sql&" A.p_child_sn as ÇÁ·ÎÁ§Æ®ÄÚµå, " +sql=sql&" A.p_subject as ÇÁ·ÎÁ§Æ®¸í, " +sql=sql&" A.p_method_cd, " +sql=sql&" B.Á¶»ç¹æ¹ý, " + +sql=sql&" case when A.p_rsch_1_a<>'' then A.p_rsch_1_a " +sql=sql&" when A.p_rsch_2_a<>'' then A.p_rsch_2_a " +sql=sql&" when A.p_rsch_3_a<>'' then A.p_rsch_3_a " +sql=sql&" when A.p_rsch_4_a<>'' then A.p_rsch_4_a else '' end as p_rsch, " + +sql=sql&" case when A.p_sv_1<>'' then A.p_sv_1 " +sql=sql&" when A.p_sv_2<>'' then A.p_sv_2 " +sql=sql&" when A.p_sv_3<>'' then A.p_sv_3 " +sql=sql&" when A.p_sv_4<>'' then A.p_sv_4 else '' end as p_sv, " + +sql=sql&" case when A.p_dp_1<>'' then A.p_dp_1 " +sql=sql&" when A.p_dp_2<>'' then A.p_dp_2 " +sql=sql&" when A.p_dp_3<>'' then A.p_dp_3 " +sql=sql&" when A.p_dp_4<>'' then A.p_dp_4 else '' end as p_dp, " +sql=sql&" A.p_sample as Ç¥º»¼ö, " +sql=sql&" A.p_ot_date as OTÀÏ, " +sql=sql&" A.p_field_date_end as ½Ç»çÁ¾·áÀÏ, " +sql=sql&" A.p_dp_date_end as DPÁ¾·áÀÏ, " +sql=sql&" A.p_rsch_dept as ÁøÇàºÎ¼­ " +' sql=sql&" -- ,A.* " +sql=sql&" from " +sql=sql&" ( " +sql=sql&" select * from [dbo].[T_PROJECT_METHOD] " +sql=sql&" where p_complete_date is null " +sql=sql&" ) A " +sql=sql&" left join " +sql=sql&" (select p_method_cd, p_method_nm as Á¶»ç¹æ¹ý from [dbo].[T_PROJECT_METHOD_CD]) B " +sql=sql&" on A.p_method_cd=B.p_method_cd " +sql=sql&" ) AA " +sql=sql&" left join " +sql=sql&" (select p_no, p_name as p_rsch_name from person) C0 " +sql=sql&" on AA.p_rsch=C0.p_no " +sql=sql&" left join " +sql=sql&" (select p_no, p_name as p_sv_name from person) C1 " +sql=sql&" on AA.p_sv=C1.p_no " +sql=sql&" left join " +sql=sql&" (select p_no, p_name as p_dp_name from person) C2 " +sql=sql&" on AA.p_dp=C2.p_no " +sql=sql&" left join " +sql=sql&" (select team_cd,team_name from TEAM_GROUP) C3 " +sql=sql&" on AA.ÁøÇàºÎ¼­=C3.team_cd " +sql=sql&" ) AAA " +sql=sql&" where len(isnull(AAA.OTÀÏ,''))+len(isnull(AAA.½Ç»çÁ¾·áÀÏ,''))+len(isnull(AAA.DPÁ¾·áÀÏ,''))>0 " +sql=sql&" and left(AAA."&ttgubn&",10) between '"&s_date_st&"' and '"&s_date_end&"' " + +select case ttgubn +case "½Ç»çÁ¾·áÀÏ" : sql=sql&" order by AAA.½Ç»çÁ¾·áÀÏ asc " +case "DPÁ¾·áÀÏ" : sql=sql&" order by AAA.DPÁ¾·áÀÏ asc " +case "OTÀÏ" : sql=sql&" order by AAA.OTÀÏ asc " +end select + + + + +rsa.Open sql, adoConn, 1 +dim acnt : acnt=1 +while not rsa.Eof +%> + + + + + + + + + + + + + + +<% +acnt=acnt+1 +rsa.movenext +Wend +rsa.Close + +%> +
NoÀÎÆ®¶ó³Ý ÇÁ·ÎÁ§Æ®ÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ý¿¬±¸´ã´ç½Ç»ç´ã´çºÐ¼®´ã´çÇ¥º»¼öOTÀϽǻçÁ¾·áÀÏDPÁ¾·áÀÏ
<%=acnt%><%=rsa("ÇÁ·ÎÁ§Æ®ÄÚµå")%><%=rsa("ÇÁ·ÎÁ§Æ®¸í")%><%=rsa("Á¶»ç¹æ¹ý")%><%=rsa("p_rsch_name")%><%=rsa("p_sv_name")%><%=rsa("p_dp_name")%><%=formatnumber(rsa("Ç¥º»¼ö"),0)%><%=left(rsa("OTÀÏ"),10)%><%=left(rsa("½Ç»çÁ¾·áÀÏ"),10)%><%=left(rsa("DPÁ¾·áÀÏ"),10)%>
diff --git a/project/project_list2_add_2014.asp b/project/project_list2_add_2014.asp new file mode 100644 index 0000000..664a92c --- /dev/null +++ b/project/project_list2_add_2014.asp @@ -0,0 +1,452 @@ + + + + + +
+ +
+

+
+ + +
+
+
+
+
+ + + +<% +''' response.write request("p_sn") & ", " & request("p_sub_type") & "
" + p_sub_type = request("p_sub_type") + + 'projectÅ×À̺í ÀÔ·Â + '--------------------------------------- + 'p_sn¸¸µé±â + query = "SELECT p_sn " + query = query & "FROM T_PROJECT_BASE " + query = query & "WHERE substring(p_sn, 0, 5) = '" & right("0" & year(date()), 2) & right("0" & month(date()), 2) & "' " + query = query & " AND substring(p_sn, 5, 3) <> '000' " + query = query & " AND substring(p_sn, 8, 1) <> '_' " '¼­ºê ÇÁ·ÎÁ§Æ®°¡ »óÀ§·Î ¿Ã¶ó¿À´Â °ÍÀ» ¸·À½ + query = query & "ORDER BY p_sn DESC " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + if instr(1, rsc("p_sn"), "_") then + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(left(right(rsc("p_sn"), 5), 3)) + 1, 3) + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & right("000" & int(right(rsc("p_sn"), 3)) + 1, 3) + end if + else + p_sn = right("0" & year(date()), 2) & right("0" & month(date()), 2) & "001" + end if + rsc.Close + + if request("p_sn") <> "" then + p_sn = request("p_sn") + end if + + 'ÇÁ·ÎÁ§Æ® ±âº» Á¤º¸ °¡Á®¿À±â + query = " SELECT p_sn, PB.p_cli_company_cd as p_cli_company_cd, PB.p_cli_per_cd as p_cli_per_cd, " + query = query & " p_state, p_subject, p_cli_company_nm, CP.p_cli_depart as p_cli_depart, " + query = query & " p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email, " + query = query & " PB.p_client_type_cd as p_client_type_cd, p_cont_cost, p_decide_date, p_memo, p_state, pb.p_depart_dep as p_depart_dep " + query = query & " FROM " + query = query & " T_PROJECT_BASE PB INNER JOIN V_CLIENT_COMP CC ON PB.p_cli_company_cd = CC.p_cli_company_cd " + query = query & " INNER JOIN V_CLIENT_PERSON CP ON PB.P_CLI_PER_CD = CP.P_CLI_PER_CD " + query = query & " INNER JOIN T_CLIENT_TYPE_CD CTC ON PB.p_client_type_cd = CTC.p_client_type_cd " + query = query & " WHERE p_sn = '"&p_sn& "'" + + rsc.Open query, adoConn, 1 + + + 'Á¶»ç¹æ¹ý °¡Á®¿À±â + query = " SELECT PMC.p_method_cd, p_method_nm, p_intention, p_child_sn, p_progress_status " + query = query & " FROM T_PROJECT_METHOD PM INNER JOIN T_PROJECT_METHOD_CD PMC ON PM.p_method_cd = PMC.p_method_cd " + query = query & " WHERE p_method_yn = 'y' " + query = query & " AND p_sn = '" & p_sn & "'" + query = query & " AND p_sub_type = '" & p_sub_type & "'" + + rsa.Open query, adoConn, 1 + + 'È­¸é ÃʱⰪ ¼³Á¤. + '------------------------------------------------------------------------------------ + 'Á¶»ç¹æ¹ýÀ» Á¦¿ÜÇÑ Ä÷³µéÀÇ ÃʱⰪ + + + p_cli_company_cd = "" 'ȸ»ç ÄÚµå + p_cli_per_cd = "" '´ã´çÀÚ ÄÚµå + + p_state = "" 'ÇÁ·ÎÁ§Æ® ÇöÀç »óÅ + p_subject = "" 'ÇÁ·ÎÁ§Æ®¸í + p_cli_company_nm = "" 'ȸ»ç¸í + p_cli_depart = "" 'ºÎ¼­¸í + p_cli_per_nm = "" '´ã´çÀÚ À̸§ + p_cli_per_com_tel = "" '´ã´çÀÚ ÀüÈ­¹øÈ£ + p_cli_per_tel = "" '´ã´çÀÚ ÀüÈ­¹øÈ£ + p_cli_per_email = "" '´ã´çÀÚ À̸ÞÀÏ + p_client_type_cd = "" '¾÷Á¾ + + p_cont_cost = "" '¿¹»ó °è¾à¾× + p_decide_date = "" '°áÁ¤ ¿¹Á¤ÀÏ + p_memo = "" '¸Þ¸ð + p_depart_dep = "" 'ÀÔ·ÂÇÑ ºÎ¼­ + + p_method_count = 0 + if rsc.RecordCount > 0 Then + p_method_count = rsc.RecordCount + if rsc("p_state") <> "" then + p_cli_company_cd = rsc("p_cli_company_cd") + p_cli_per_cd = rsc("p_cli_per_cd") + + p_state = rsc("p_state") + p_subject = rsc("p_subject") + p_cli_company_nm = rsc("p_cli_company_nm") + p_cli_depart = rsc("p_cli_depart") + p_cli_per_nm = rsc("p_cli_per_nm") + p_cli_per_com_tel = rsc("p_cli_per_com_tel") + p_cli_per_tel = rsc("p_cli_per_tel") + p_cli_per_email = rsc("p_cli_per_email") + p_client_type_cd = rsc("p_client_type_cd") + p_depart_dep = rsc("p_depart_dep") + + '¿¹»ó °è¾à¾× ,¼öÁ¤ + if rsc("p_cont_cost") <> "" then + tmp_len = len(rsc("p_cont_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + p_cont_cost = "," & p_cont_cost + end if + p_cont_cost = left(right(rsc("p_cont_cost"),i), 1) & p_cont_cost + next + end if + if int(p_cont_cost) = 0 then + p_cont_cost=1 + end if + + p_decide_date = rsc("p_decide_date") + p_memo = rsc("p_memo") + + end if + end if + + 'Á¶»ç¹æ¹ý ÃʱⰪ + ' 2023-06-07 ¼­¼º¿Ï + 'Á¶»ç¹æ¹ý Ãß°¡·Î °¹¼ö¸¸Å­ p_method_cd() ¹è¿­ ºÎ¿© + Dim p_method_cd() + Dim p_child_sn() + Dim p_progress_status + ReDim p_method_cd(rsa.recordCount) + ReDim p_child_sn(rsa.recordCount) + 'Á¶»ç¹æ¹ý¿¡ ¾Æ¹«°Íµµ ¾øÀ»¶§ + + if rsa.recordCount > 0 then + '±âÁ¸ Á¶»ç¹æ¹ý ÀúÀå + for i=1 to rsa.recordCount + p_method_cd(i) = rsa("p_method_cd") + p_child_sn(i) = rsa("p_child_sn") + If i = 1 Then + p_method_cd_str = rsa("p_method_cd") + Else + p_method_cd_str = p_method_cd_str & "," & rsa("p_method_cd") + End if + p_progress_status = rsa("p_progress_status") + + rsa.MoveNext + next + else + p_method_cd(1) = "0" + p_progress_status = "000" + end if + + rsa.close + rsc.close + %> +
+ + + + <% If p_sub_type = "C" Then %> + + <% End If %> + + + "/> + + + + + + + + + + + + + +
+
+ + ÇÁ·ÎÁ§Æ® Ãß°¡ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® ¹øÈ£ + + ÇÁ·ÎÁ§Æ® ¸í + +
Á¶»ç¹æ¹ý + + + <% + q = "SELECT * " + q = q & "FROM T_PROJECT_METHOD_CD " + + rsp.Open q, adoConn, 1 + i=0 + j=1 + do while not rsp.eof + i=i+1 + + If p_sub_type = "C" Then + If rsp("p_method_cd") = p_method_cd(1) Then + p_method_nm = rsp("p_method_nm") + End if + End if + %> + + <% if i mod 5 = 0 then %> + + <% end if + rsp.movenext + loop + rsp.close + %> + +
" onClick="chkboxSum(this)"><%=rsp("p_method_nm") %>
+
Á¶»ç³»¿ë + +
+ +     +     + +
+ + +
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_list2_add_ok_2014.asp b/project/project_list2_add_ok_2014.asp new file mode 100644 index 0000000..9380274 --- /dev/null +++ b/project/project_list2_add_ok_2014.asp @@ -0,0 +1,254 @@ + +<% + set rsp = server.CreateObject("ADODB.RECORDSET") + + 'ÇÁ·ÎÁ§Æ® ÄÁÅÃÈÄ ¼öÁ¤ ÈÄ ½ÇÁ¦ µî·Ï + + p_sn = request("p_sn") 'ÇÁ·ÎÁ§Æ® ÄÚµå + p_subject = request("p_subject") 'ÇÁ·ÎÁ§Æ®¸í + p_sub_type = request("p_sub_type") '½Å±ÔÇÁ·ÎÁ§Æ® ŸÀÔ + p_child_sn = request("p_child_sn") 'ÀÚ½Ä ÇÁ·ÎÁ§Æ® ¹øÈ£ + p_intention = request("p_intention") 'Á¶»ç³»¿ë + p_cli_company_cd = request("p_cli_company_cd") 'Ŭ¶óÀÌ¾ðÆ® È¸»çÄÚµå + p_cli_company_nm = request("p_cli_company_nm") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç¸í + p_cli_per_cd = request("p_cli_per_cd") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÄÚµå + p_cli_depart = request("p_cli_depart") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ºÎ¼­ ÄÚµå + p_cli_per_nm = request("p_cli_per_nm") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ À̸§ + p_cli_per_tel = request("p_cli_per_tel") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ ÀüÈ­¹øÈ£ + p_cli_per_email = request("p_cli_per_email") 'Ŭ¶óÀÌ¾ðÆ® È¸»ç ´ã´çÀÚ À̸ÞÀÏ + p_client_type_cd = request("p_client_type_cd") 'Á¶»ç ¾÷Á¾ + p_cont_cost = replace(request("p_cont_cost"),",", "") '¿¹»ó °è¾à¾× + p_decide_date = request("p_decide_date") '°áÁ¤¿¹Á¤ÀÏ + p_memo = request("p_memo") 'ºñ°í + + p_method_cd = Split(request("p_method_cd"), ",") 'Á¶»ç ¹æ¹ý + + current_p_sub_type = request("current_p_sub_type") '½Å±ÔÇÁ·ÎÁ§Æ® ŸÀÔ + current_p_method_cd = Trim(Replace(request("current_p_method_cd"), ",", "")) '½Å±Ô Á¶»ç ¹æ¹ý + add_p_cont_cost = Trim(Replace(request("add_p_cont_cost"), ",", "")) 'Ãß°¡ °è¾à¾× + + If CInt(current_p_method_cd) < 10 Then + tmp_method_cd = "0" & current_p_method_cd + Else + tmp_method_cd = current_p_method_cd + End If + + If UBound(p_method_cd) > 0 Then + If UBound(p_method_cd) = 1 Then + 'response.write "p_method_cd : " & p_method_cd(0) & "
" + Else + For i = 0 To UBound(p_method_cd) Step 1 + 'response.write "p_method_cd : " & p_method_cd(i) & "
" + next + End If + Else + 'response.write "p_method_cd : " & p_method_cd(0) & "
" + End If + + 'p_method_cd ÀÌ°É MÀÏ °æ¿ì split ","·Î Âɰ³¼­ ubound·Î Ä«¿îÆÃÇÑ´Ù. +'response.write "UBound(p_method_cd) + 2 : " & UBound(p_method_cd) + 2 & "
" + tmp_method_count = UBound(p_method_cd) + 2 + If tmp_method_count < 10 Then + tmp_method_count = "0" & tmp_method_count + End If + +'response.write "p_sn : " & p_sn & "
" +'response.write "p_subject : " & p_subject & "
" +'response.write "p_sub_type : " & p_sub_type & "
" +'response.write "p_child_sn : " & p_child_sn & "
" + +'response.write "p_intention : " & p_intention & "
" + +'response.write "current_p_sub_type : " & current_p_sub_type & "
" +'response.write "current_p_method_cd : " & current_p_method_cd & "
" +'response.write "add_p_cont_cost : " & add_p_cont_cost & "
" +'response.write "current_p_child_sn : " & p_sn & "_" & current_p_sub_type & tmp_method_cd & tmp_method_count & "
" + 'current_p_child_sn = p_sn & "_" & current_p_sub_type & tmp_method_cd & tmp_method_count + current_p_child_sn = p_sn & "_" & current_p_sub_type & tmp_method_count +'response.write "current_p_child_sn : " & current_p_child_sn & "
" +'response.write "p_cli_company_cd : " & p_cli_company_cd & "
" +'response.write "p_cli_company_nm : " & p_cli_company_nm & "
" +'response.write "p_cli_per_cd : " & p_cli_per_cd & "
" +'response.write "p_cli_depart : " & p_cli_depart & "
" +'response.write "p_cli_per_nm : " & p_cli_per_nm & "
" +'response.write "p_cli_per_tel : " & p_cli_per_tel & "
" +'response.write "p_cli_per_email : " & p_cli_per_email & "
" +'response.write "p_client_type_cd : " & p_client_type_cd & "
" +'response.write "p_cont_cost : " & p_cont_cost & "
" +'response.write "p_decide_date : " & p_decide_date & "
" +'response.write "p_memo : " & p_memo & "
" + + + ''' 1 : ±âÁ¸ ÇÁ·ÎÁ§Æ®°¡ CÀÎ °æ¿ì MÀ¸·Î º¯°æÇϸ鼭 Á¶»ç¸¦ Ãß°¡ ÇÒ °ÍÀ̳Ä? ±×³É C¸¦ Ãß°¡ ÇÒ °ÍÀ̳Ä? + ''' °è¾à±Ý¾× º¯°æÀÌ ÀÖÀ¸¸é MÀϰæ¿ì °è¾à±Ý¾×¿¡ Ãß°¡·Î ´õÇϰí, ¼öÇà°èȹ¼­ °áÀç ´Ù½Ã ¹Þ¾Æ¾ß ÇÔ, CÀÏ °æ¿ì Ãß°¡°è¾à±ÝÀ¸·Î ÇÁ·ÎÁ§Æ®¸¦ Ãß°¡ + + ''' 2 : ±âÁ¸ ÇÁ·ÎÁ§Æ®°¡ MÀÎ °æ¿ì Á¶»ç¸¦ Ãß°¡ ÇÒ °ÍÀ̳Ä? ±×³É C¸¦ Ãß°¡ ÇÒ °ÍÀ̳Ä? + ''' °è¾à±Ý¾× º¯°æÀÌ ÀÖÀ¸¸é MÀϰæ¿ì °è¾à±Ý¾×¿¡ Ãß°¡·Î ´õÇϰí, ¼öÇà°èȹ¼­ °áÀç ´Ù½Ã ¹Þ¾Æ¾ß ÇÔ, CÀÏ °æ¿ì Ãß°¡°è¾à±ÝÀ¸·Î ÇÁ·ÎÁ§Æ®¸¦ Ãß°¡ + + set dbin = server.CreateObject("ADODB.CONNECTION") + + '¼öÇà°èȹ¼­ ÄÚµå »ý¼º¿¡ ºÎÁ·ºÐÀ» Ãß°¡ + query = "select top 1 * from T_Project_method where p_sn='"&p_sn&"' order by p_child_sn desc" + rsp.Open query, adoConn, 1 + + if not rsp.eof then + if current_p_child_sn = rsp("p_child_sn") Then + child_count = Cint(mid(rsp("p_child_sn"),10,11))+1 + current_p_child_sn = p_sn & "_" & current_p_sub_type & child_count + End If + End IF + rsp.Close + + + '½Å±Ô T_Project_BASEÀÇ P_Method_Cd üũ ÈÄ, Ãß°¡µÈ Á¶»ç¹æ¹ý Äڵ尡 ¾øÀ¸¸é Ãß°¡' + + query = " select isnull(p_methodCd, '') as p_methodCd from project2.dbo.T_PROJECT_BASE where p_sn='"&p_sn&"' " + rsp.Open query, adoConn, 1 + method_cd = False + if not rsp.eof then + Base_p_method_Cd = split(rsp("p_methodCd"),",") + For iCnt = LBOUND(Base_p_method_Cd) to UBOUND(Base_p_method_Cd) + If Cstr(Base_p_method_Cd(iCnt)) = Cstr(current_p_method_cd) Then + method_cd = True + End IF + NEXT + End IF + rsp.Close + + If method_cd = False then + query=" Update project2.dbo.T_PROJECT_BASE set p_methodCd=p_methodCd+','+'"¤t_p_method_cd&"' where p_sn='"&p_sn&"' " + dbin.Open adoConn + dbin.Execute query + dbin.Close + End IF + + sql_from = "INSERT INTO " + sql_from = sql_from & " T_PROJECT_METHOD " + sql_from = sql_from & "(p_sn, p_sub_type, p_method_cd, p_subject, p_intention, p_child_sn, p_progress_status, p_cli_company_cd, p_client_type_cd, p_input_dt, p_input_complete, p_progress_flag, " + sql_from = sql_from & " p_rsch_1_a, p_rsch_2_a, p_rsch_3_a, p_rsch_4_a, p_rsch_1_b, p_rsch_2_b, p_rsch_3_b, p_rsch_4_b, p_rsch_1_c, p_rsch_2_c, p_rsch_3_c, p_rsch_4_c, " + sql_from = sql_from & " p_sv_1, p_sv_2, p_sv_3, p_sv_4, p_code_1, p_code_2, p_code_3, p_code_4, p_verify_1, p_verify_2, p_verify_3, p_verify_4, p_punch_1, p_punch_2, p_punch_3, p_punch_4, " + sql_from = sql_from & " p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4 " + + sql_values = " ) VALUES ( " + + sql_insertValue = "'" & p_sn & "', '" & current_p_sub_type & "', '" & current_p_method_cd & "', '" & p_subject & "', '" & p_intention & "', '" & current_p_child_sn & "', '" & "001" & "', '" & p_cli_company_cd & "', '" & p_client_type_cd & " ', GETDATE(), 'xxx', 'xxx', " + sql_insertValue = sql_insertValue & " '','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','' " + sql_end = " ) " + + project_M_type_exist = False + project_workflow = false + + If p_sub_type = "M" Then + '''¸ðÇÁ·ÎÁ§Æ®°¡ MÀÎ °æ¿ì + If current_p_sub_type = "M" Then '''Á¶»ç¸¦ MÀ¸·Î Ãß°¡ ÇÒ °æ¿ì + If add_p_cont_cost <> "0" Or add_p_cont_cost <> "" Then + '''T_PROJECT_BASEÀÇ p_cont_cost¿¡ add_p_cont_cost¸¦ ÇÕ»êÇÑ´Ù. (ÇѰ³ÀÇ p_sn¿¡ MÇÁ·ÎÁ§Æ®´Â ÇѰ³ À̹ǷΠT_PROJECT_BASE Å×ÀÌºí¿¡ ¾÷µ¥ÀÌÆ® ÇÑ´Ù. + query = "update T_PROJECT_BASE set p_cont_cost = '" & (CLng(p_cont_cost) + CLng(add_p_cont_cost)) & "' where p_sn = '" & p_sn & "' " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + End If + + query = "select COUNT(p_sub_type) as p_sub_type_cnt, p_progress_status from V_PROJECT_METHOD where p_sn = '" & p_sn & "' and p_sub_type = 'M' group by p_progress_status " + rsp.Open query, adoConn, 1 + + if rsp.RecordCount = 1 Then + Response.Write "rsp.RecordCount : " & rsp.RecordCount & "
" + + If CInt(rsp("p_progress_status")) > 6 Then + project_workflow = true + '''¿ø·¡ p_progress_status°¡ 007À̰ųª, 008ÀÏ °æ¿ì ¼öÇà°èȹ¼­ÀÇ °áÀç°¡ Ãë¼ÒµÇ°Å³ª, ÀÌ¹Ì °áÀç ³­ ºÎºÐÀÌ ¹Ý·Á ó¸® µÇ¾î¾ß ÇÑ´Ù. + '''(p_progress_status = 001, p_state = 'K', Document Å×À̺í, ¹®¼­³»¿ë Å×ÀÌºí µîµî ¼öÁ¤... + '''T_PROJECT_METHOD¿¡ child_snÀÇ Á¤º¸¸¦ ¹ÙÅÁÀ¸·Î p_progress_status ¸¦ 001·Î ¾÷µ¥ÀÌÆ® ÇÑ´Ù. + Else + '''T_PROJECT_METHOD¿¡ child_snÀÇ Á¤º¸¸¦ ¹ÙÅÁÀ¸·Î p_progress_status ¸¦ 001·Î ¾÷µ¥ÀÌÆ® ÇÑ´Ù. + query = "update T_PROJECT_METHOD set p_progress_status = '001' where p_sn = '" & p_sn & "' and p_sub_type = 'M' " + dbin.Open adoConn + dbin.Execute query + dbin.Close + End if + End If + rsp.close + Else + '''Á¶»ç¸¦ C·Î Ãß°¡ ÇÒ °æ¿ì - C-CÃß°¡ ¿Ï·á + If add_p_cont_cost <> "0" Or add_p_cont_cost <> "" Then + sql_from = sql_from & ", p_cont_cost" + sql_insertValue = sql_insertValue & ", '" & add_p_cont_cost & "' " + End If + End If + Else + '''¸ðÇÁ·ÎÁ§Æ®°¡ CÀÎ °æ¿ì + If current_p_sub_type = "M" Then '''Á¶»ç¸¦ MÀ¸·Î Ãß°¡ ÇÒ °æ¿ì + '''ÀÌ¹Ì ¸ðÇÁ·ÎÁ§Æ®¿¡ p_sub_typeÀÌ MÀÌ ÀÖÀ» °æ¿ì¿¡´Â Ãß°¡ ºÒ°¡´É~!!! (2014-06-29 ¸ðÇÁ·ÎÁ§Æ®¿¡ ¸ÖƼ ÇÁ·ÎÁ§Æ®°¡ 1°³¸¦ Ãʰú ÇÒ¼ö ¾ø´Ù...) + query = "select COUNT(p_sub_type) as cnt from T_PROJECT_METHOD where p_sn = '" & p_sn & "' and p_sub_type = 'M' " + rsp.Open query, adoConn, 1 + + if rsp.RecordCount > 0 Then + 'Response.Write "rsp.RecordCount : " & rsp.RecordCount & "
" + 'Response.Write "rsp('cnt') : " & rsp("cnt") & "
" + If rsp("cnt") > 0 Then + project_M_type_exist = True + End if + End if + rsp.close + + If Not project_M_type_exist Then + '''¸ðÇÁ·ÎÁ§Æ®ÀÇ Method TableÀÇ p_sub_typeÀ» M, p_child_snÀÇ Cµµ MÀ¸·Î ¾÷µ¥ÀÌÆ® ÇÑ´Ù. + tmp_change_p_child_sn = Replace(p_child_sn, "C", "M") + '''T_PROJECT_METHOD¿¡ child_snÀÇ Á¤º¸¸¦ ¹ÙÅÁÀ¸·Î p_progress_status ¸¦ 001·Î ¾÷µ¥ÀÌÆ® ÇÑ´Ù. + query = "update T_PROJECT_METHOD set p_progress_status = '001', p_sub_type = 'M', p_child_sn = '" & tmp_change_p_child_sn & "' where p_sn = '" & p_sn & "' and p_sub_type = 'C' and p_child_sn = '" & p_child_sn & "' " + 'Response.Write "query : " & query & "
" + dbin.Open adoConn + dbin.Execute query + dbin.Close + End if + + '''¸ðÇÁ·ÎÁ§Æ®ÀÇ °è¾à¾×, °è¾à ³¯ÀÚ, ¿ë¿ª¹üÀ§, °áÁ¤ÀÏÀÚ, ÇÁ·ÎÁ§Æ®¸í, Á¶»ç³»¿ë Á¤º¸¸¦ Method Table·Î ¾÷µ¥ÀÌÆ® ÇÑ´Ù. + '''T_PROJECT_BASEÀÇ p_cont_cost¿¡ add_p_cont_cost¸¦ ÇÕ»êÇÑ´Ù. + '''¿ø·¡ p_progress_status°¡ 007À̰ųª, 008ÀÏ °æ¿ì ¼öÇà°èȹ¼­ÀÇ °áÀç°¡ Ãë¼ÒµÇ°Å³ª, ÀÌ¹Ì °áÀç ³­ ºÎºÐÀÌ ¹Ý·Á ó¸® µÇ¾î¾ß ÇÑ´Ù. + Else + '''Á¶»ç¸¦ C·Î Ãß°¡ ÇÒ °æ¿ì - C-CÃß°¡ ¿Ï·á + If add_p_cont_cost <> "0" Or add_p_cont_cost <> "" Then + sql_from = sql_from & ", p_cont_cost" + sql_insertValue = sql_insertValue & ", '" & add_p_cont_cost & "' " + End If + End If + + query = sql_from & sql_values & sql_insertValue & sql_end + End If + + query = sql_from & sql_values & sql_insertValue & sql_end + + dbin.Open adoConn + + If project_M_type_exist Or project_workflow Then + Response.Write "¿¹¿Ü·Î ÀÎÇÑ Ã³¸® ½ÇÆÐ
" + Else + dbin.Execute query + End if + dbin.Close +%> + + + +
+ + +
+ + \ No newline at end of file diff --git a/project/project_list2_chk.asp b/project/project_list2_chk.asp new file mode 100644 index 0000000..6926fae --- /dev/null +++ b/project/project_list2_chk.asp @@ -0,0 +1,228 @@ + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") + +p_sn = request("p_sn") +teamname = request("teamname") +'Response.Write today & "
" + +query = "SELECT * " +query = query & "FROM project " +query = query & "WHERE p_sn='" & p_sn & "' " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + + p_view_grade = rsc("p_view_grade") + + query = "SELECT * " + query = query & "FROM depart " + query = query & "WHERE d_code = '" & Session("Depart_Code") & "' " + + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_login_code = rsp("d_mcode") 'ÇØ´çºÎ¼­¸¦ °¡Á®¿È + else + tmp_login_code = "99" + end if + rsp.Close + + query = "SELECT * " + query = query & "FROM person " + query = query & "WHERE p_no = '" & Session("User_Number") & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_job_part = rsp("p_job_part") 'ÀÓ¿ø(+±èÈ«±Ù)ÀÎÁö¸¦ ÆÇ´Ü + else + tmp_job_part = "99" + end if + rsp.Close + + '---------------------------------------------------------------------------- + tmp_view_allow = "0" '(0 : ¼öÇàºÒ°¡, 1 : ¼öÇà°¡´É) + if p_view_grade = "1" then 'Àüü ºä °¡´É + tmp_view_allow = "1" + elseif p_view_grade = "2" then '¿¬±¸ºÎ¼­ ÇÑÁ¤ + + if int(tmp_login_code) <= 2 or tmp_admin_chk = "1" then + tmp_view_allow = "1" + else + tmp_view_allow = "0" + end if + + elseif p_view_grade = "3" then 'ÇØ´çºÎ¼­ ÇÑÁ¤(»çÁ¶, ¸¶ÄÉÆÃ) + + if rsc("p_depart") = tmp_login_code or tmp_admin_chk = "1" then + tmp_view_allow = "1" + else + tmp_view_allow = "0" + end if + + elseif p_view_grade = "4" then 'ºÎ¼­Àå ÇÑÁ¤ + + if Session("admin_Code") = "1" or tmp_admin_chk = "1" then + tmp_view_allow = "1" + else + tmp_view_allow = "0" + end if + + elseif p_view_grade = "5" then 'ÀÓ¿ø ÇÑÁ¤ + + if tmp_job_part = "00" or tmp_admin_chk = "1" then + tmp_view_allow = "1" + else + tmp_view_allow = "0" + end if + + end if + '---------------------------------------------------------------------------- + + '---------------------------------------------------------------------------- + 'ÃÖÁ¾È®ÀÎ(°æ¿µÁö¿ø½Ç ¿Ï·á»óŰ¡ ¾Æ´Ï¶ó¸é ºäÁ¦ÇÑÀ» °ÉÁö ¾ÊÀ½ + if rsc("p_reg_mana") = "0" then + tmp_view_allow = "1" + end if + '---------------------------------------------------------------------------- + + '---------------------------------------------------------------------------- + 'Ư¼ö·ÎÁ÷ (Á¤º¸ºÐ¼®ºÎ´Â ±×³É view °¡´É, ¶Ç´Â p_view_grade°¡ Á¤ÇØÁöÁö ¾Ê´Â´Ù¸é ÇÁ·ÎÁ§Æ® ¿Ï¼ºÀÌ ¾Æ´Ï¹Ç·Î ±×³É ºä °¡´É) + if tmp_login_code = "11" or p_view_grade = "" or isnull(p_view_grade) then + 'tmp_view_allow = "1" + end if + '---------------------------------------------------------------------------- + + '---------------------------------------------------------------------------- + 'Ư¼ö·ÎÁ÷ (°æ¿µÁö¿ø½ÇÀº ±×³É view °¡´É) + if tmp_login_code = "13" then + tmp_view_allow = "1" + end if + '---------------------------------------------------------------------------- + + '---------------------------------------------------------------------------- + 'tmp_view_allow = "0"ÀÏ ¶§ ¼öÇà°¡´É Çã°¡¸¦ ¸Ã¾Ò´ÂÁö üũ + if tmp_view_allow = "0" then + + query = "SELECT * " + query = query & "FROM view_allow " + query = query & "WHERE p_sn = '" & p_sn & "' " + query = query & " AND p_no = '" & Session("User_Number") & "' " + query = query & " AND flag <> 'N' " + query = query & "ORDER BY limit_date DESC " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + + if not isnull(rsp("limit_date")) and date() <= rsp("limit_date") then + tmp_view_allow = "1" + end if + + tmp_flag = rsp("flag") + + else + + tmp_flag = "" + + end if + rsp.Close + + end if + '---------------------------------------------------------------------------- +%> + + + + + + + ÇÁ·ÎÁ§Æ® Ç¥½Ã + + + + +
+ + <% + if tmp_flag = "R" then + tmp_txt = "±ÇÇÑÀ» ¿äûÁß ÀÔ´Ï´Ù" + else + tmp_txt = "±ÇÇÑÀ» ¿äûÇϽðڽÀ´Ï±î?" + end if + + if tmp_view_allow = "0" then + %> + + + + + + + + + + + + + + + + +
+
+

+ °ü¶÷ ±ÇÇÑÀÌ ¾ø½À´Ï´Ù. <%=tmp_txt%> +

+
+
+ <% + if tmp_flag <> "R" then + %> + +         + <% + end if + %> + +
+
+ + <% + end if + %> + +
+ + + +<% +else + + alert2 "DB¿À·ù ÀÔ´Ï´Ù. °ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇϼ¼¿ä" + +end if 'if rsc.RecordCount > 0 then +rsc.Close +%> \ No newline at end of file diff --git a/project/project_list2_chk_req.asp b/project/project_list2_chk_req.asp new file mode 100644 index 0000000..a5b4766 --- /dev/null +++ b/project/project_list2_chk_req.asp @@ -0,0 +1,68 @@ + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") + +p_sn = request("p_sn") +'Response.Write today & "
" + +query = "SELECT * " +query = query & "FROM view_allow " +query = query & "WHERE p_sn='" & p_sn & "' " +query = query & "AND p_no='" & Session("User_Number") & "' " +query = query & "AND (flag='R' or flag='Y') " + +rsc.Open query, adoConn, 1 + + if rsc.RecordCount > 0 then +%> + +<% + else + + query = "SELECT * " + query = query & "FROM project " + query = query & "WHERE p_sn = '" & p_sn & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + p_subject = rsp("p_subject") + else + p_subject = "DB¿À·ù" + end if + rsp.Close + + query = "INSERT into view_allow " + query = query & "(p_sn, p_subject, request_date, flag, name, p_no) " + query = query & "VALUES " + query = query & "('" & p_sn & "', " + query = query & "'" & p_subject & "', " + query = query & "'" & now() & "', " + query = query & "'R', " + query = query & "'" & Session("loginuser") & "', " + query = query & "'" & Session("User_Number") & "') " + + 'Response.Write query + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + end if +rsc.Close +%> + + + +
+ +
+ + \ No newline at end of file diff --git a/project/project_list2_del_ok.asp b/project/project_list2_del_ok.asp new file mode 100644 index 0000000..3009fd8 --- /dev/null +++ b/project/project_list2_del_ok.asp @@ -0,0 +1,162 @@ + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") + +p_sn = request("p_sn") + +del_chk = "0" '°ªÀÌ 1À̶ó¸é »èÁ¦ÇÒ ¼ö ¾øÀ½ + +'=========================================================== +'¹®¼­³»¿ë Å×ÀÌºí¿¡¼­ ÇöÀç ÇÁ·ÎÁ§Æ® °ü·Ã ¹®¼­°¡ ÀÖ´ÂÁö ÆÇº°, ÀÖ´Ù¸é »èÁ¦ÇÒ ¼ö ¾øÀ½ +'----------------------------------------------------------- +query = "SELECT * " +query = query & "FROM ¹®¼­³»¿ë " +query = query & "WHERE p_sn like '%" & p_sn & "%' " +query = query & " AND del_yes_no = 'no' " + +if tmp_admin_chk = "1" then + Response.Write query & "
" +end if +rsp.Open query, adoConn, 1 +if rsp.RecordCount > 0 then + + if instr(1, rsp("p_sn"), ",") then + + tmp_txt = split(replace(rsp("p_sn"), " ", "")) + + for i = 0 to UBOUND(tmp_txt) + + if p_sn = tmp_txt(i) then + + del_chk = "1" + + end if + + next + + else + + if p_sn = replace(rsp("p_sn"), " ", "") then + + del_chk = "1" + + end if + + end if + +end if +rsp.Close + + + +'job Å×ÀÌºí¿¡¼­ ÇöÀç ÇÁ·ÎÁ§Æ® °ü·Ã ¹®¼­°¡ ÀÖ´ÂÁö ÆÇº°, ÀÖ´Ù¸é »èÁ¦ÇÒ ¼ö ¾øÀ½ +'----------------------------------------------------------- +query = "SELECT * " +query = query & "FROM job " +query = query & "WHERE j_p_sn = '" & p_sn & "' " + +if tmp_admin_chk = "1" then + Response.Write query & "
" +end if +rsp.Open query, adoConn, 1 +if rsp.RecordCount > 0 then + + del_chk = "2" + +end if +rsp.Close + + + +if del_chk = "0" then + + '·Î±×»ðÀÔ(p_sn, p_subject, p_budget, user) + query = "SELECT * " + query = query & "FROM project " + query = query & "WHERE p_sn = '" & p_sn & "' " + + if tmp_admin_chk = "1" then + Response.Write query & "
" + end if + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + + p_subject = rsp("p_subject") + p_budget = rsp("p_budget") + + end if + rsp.Close + + query = "INSERT INTO project_log " + query = query & "(p_sn, p_subject, p_budget, p_log, p_date, p_time, p_user, p_user_name, p_user_ip) " + query = query & "VALUES " + query = query & "('" & p_sn & "', " + query = query & "'" & p_subject & "', " + query = query & "'" & p_budget & "', " + query = query & "'ÇÁ·ÎÁ§Æ® »èÁ¦', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'" & Session("User_Number") & "', " + query = query & "'" & Session("loginuser") & "', " + query = query & "'" & Session("USERIP") & "')" + + if tmp_admin_chk = "1" then + Response.Write query & "
" + end if + adoconn.execute query + + + + 'ÇÁ·ÎÁ§Æ® Å×ÀÌºí¿¡¼­ »èÁ¦ + query = "DELETE " + query = query & "FROM project " + query = query & "WHERE p_sn = '" & p_sn & "' " + + if tmp_admin_chk = "1" then + Response.Write query & "
" + end if + adoconn.execute query + + + + 'ÇÁ·ÎÁ§Æ® °¡µî·Ï Å×ÀÌºí¿¡¼­ »èÁ¦ + query = "DELETE " + query = query & "FROM project_pre " + query = query & "WHERE p_sn = '" & p_sn & "' " + + if tmp_admin_chk = "1" then + Response.Write query & "
" + end if + adoconn.execute query + +end if +'=========================================================== +%> + + + + +
+ +
+ + \ No newline at end of file diff --git a/project/project_list2_dep.asp b/project/project_list2_dep.asp new file mode 100644 index 0000000..8395f76 --- /dev/null +++ b/project/project_list2_dep.asp @@ -0,0 +1,2661 @@ + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") + +dim tmp_depart '¿¬±¸ºÎ¼­ list¹è¿­ +dim method() 'Á¶»ç¹æ¹ý +dim Sample_range(6,3) '»ùÇüö +dim field_rank(3,2) '½Ç»ç ³­À̵µ +dim category 'Ä«Å×°í¸® +dim types '¾÷Á¾ +dim tmp_field_admin +Dim tmp_area_part(5) +Dim tmp_view_grade(5, 2) +Dim tmp_survey_part(2) +Dim tmp_survey_times(10) +Dim tmp_field_process(3) + +'°æ¿µÁö¿ø½Ç ½Ç»ç°æºñ ´ã´ç(°æ¿µÀü·«½Ç) +if int(Session("Depart_Code")) = 18 then + tmp_field_admin = "1" +else + tmp_field_admin = "0" +end if + +tmp_area_part(1) = "¼­¿ï" +tmp_area_part(2) = "¼öµµ±Ç" +tmp_area_part(3) = "±¤¿ª½Ã" +tmp_area_part(4) = "Àü±¹" +tmp_area_part(5) = "±âŸ" + +tmp_view_grade(1, 1) = "1" +tmp_view_grade(2, 1) = "2" +tmp_view_grade(2, 2) = "¿¬±¸ºÎ¼­" +tmp_view_grade(3, 1) = "3" +tmp_view_grade(4, 1) = "4" +tmp_view_grade(4, 2) = "ºÎ¼­Àå±Þ" +tmp_view_grade(5, 1) = "5" +tmp_view_grade(5, 2) = "ÀÓ¿øµî±Þ" + +tmp_survey_part(1) = "¸®½ºÆ®" +tmp_survey_part(2) = "ºñ¸®½ºÆ®" + +tmp_survey_times(1) = "10ºÐ" +tmp_survey_times(2) = "20ºÐ" +tmp_survey_times(3) = "30ºÐ" +tmp_survey_times(4) = "40ºÐ" +tmp_survey_times(5) = "50ºÐ" +tmp_survey_times(6) = "1½Ã°£" +tmp_survey_times(7) = "1½Ã°£ 30ºÐ" +tmp_survey_times(8) = "2½Ã°£" +tmp_survey_times(9) = "2½Ã°£ 30ºÐ" +tmp_survey_times(10)= "3½Ã°£" + +tmp_field_process(1) = "ÀÚü" +tmp_field_process(2) = "¿ÜÁÖ" +tmp_field_process(3) = "ÀÚü&¿ÜÁÖ" + +tmp_colspan = 5 + +p_sn = request("p_sn") +teamname = request("teamname") +'Response.Write today & "
" +'------------------------------------------------------ +'¿¬±¸ºÎ¼­ list¸ñ·Ï +q = "SELECT max(d_mcode) as max_code " +q = q & "FROM Depart " +rsp.Open q, adoConn, 1 + tmp_max = rsp("max_code") +rsp.Close + +query = "SELECT * " +query = query & "FROM Depart " +query = query & "WHERE d_mcode>='0' " +query = query & " AND d_yes_no='Y' " +query = query & "ORDER BY d_mcode ASC " + +rsp.open query, adoConn, 1 + redim tmp_depart(int(tmp_max),2) + for i = 1 to int(rsp.RecordCount) + tmp_depart(int(rsp("d_mcode")),1) = rsp("d_mcode") + tmp_depart(int(rsp("d_mcode")),2) = rsp("d_mname_shot") + rsp.MoveNext + next +rsp.close +'------------------------------------------------------ +'Á¶»ç¹æ¹ý +query = "select * from p_Method order by code1 " +rsp.Open query, adoConn, 1 +i = rsp.RecordCount +redim method(i,2) +i=0 +method(0,0) = request("p_method") '¼±ÅÃµÈ Á¶»ç¹æ¹ý +method(0,1) = "0" +method(0,2) = "== Àü ü ==" +do while not rsp.EOF + i = i + 1 + method(i,1) = rsp("code1") + method(i,2) = rsp("name1") + rsp.MoveNext +loop +rsp.Close +'------------------------------------------------------ +''»ùÇüöÀÇ ¹üÀ§ +Sample_range(0,0) = request("p_sample") +Sample_range(0,1) = "0" +Sample_range(0,2) = "   == Àü ü ==" +Sample_range(1,1) = "1" +Sample_range(1,2) = "         ~  500" +Sample_range(1,3) = "500" +Sample_range(2,1) = "2" +Sample_range(2,2) = "   501 ~ 1,000" +Sample_range(2,3) = "1,000" +Sample_range(3,1) = "3" +Sample_range(3,2) = "1,001 ~ 1,500" +Sample_range(3,3) = "1,500" +Sample_range(4,1) = "4" +Sample_range(4,2) = "1,501 ~ 2,000" +Sample_range(4,3) = "2,000" +Sample_range(5,1) = "5" +Sample_range(5,2) = "2,001 ~ 2,500" +Sample_range(5,3) = "2,500" +Sample_range(6,1) = "6" +Sample_range(6,2) = "2,501 ~ " +Sample_range(6,3) = "2,501" +'------------------------------------------------------ +'½Ç»ç ³­À̵µº° +field_rank(0,0) = request("p_field_rank") +field_rank(0,1) = "0" +field_rank(0,2) = "== Àü ü ==" +field_rank(1,1) = "ÇÏ" +field_rank(1,2) = "ÇÏ" +field_rank(2,1) = "Áß" +field_rank(2,2) = "Áß" +field_rank(3,1) = "»ó" +field_rank(3,2) = "»ó" +'------------------------------------------------------ +'category list +query = "SELECT * " +query = query & "FROM p_category " +query = query & "ORDER BY sort_key " +rsp.Open query, adoConn, 1 + redim category(int(rsp.RecordCount), 2) + for i = 1 to rsp.RecordCount + category(i,1) = rsp("code1") + category(i,2) = rsp("name1") + rsp.MoveNext + next +rsp.Close +'------------------------------------------------------ +'====================================================== +'°Ë»ö query ¸¸µé±â +'====================================================== + +query = "SELECT * " +query = query & "FROM project " +query = query & "WHERE p_sn='" & p_sn & "' " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + + if method(0, 0) <> "" then + tmp_method = method(0, 0) + else + tmp_method = rsc("p_method") + end if + + 'Àü»êºÎ¼­±îÁö ÇÁ·ÎÁ§Æ® µî·ÏÀÌ ¿Ï·á µÇ¾ú´ÂÁö È®ÀÎÇÔ (tmp_regok) + '¿Ï·áµÇÁö ¾Ê¾Ò´Ù¸é ·Î±×ÀÎÀÚ°¡ ¾î´À È­¸éÀ» ºÁ¾ß ÇÏ´ÂÁö ÆÇ´ÜÇÔ (tmp_view) + if trim(rsc("p_dper")) <> "" then + tmp_regok = 1 'ÇÁ·ÎÁ§Æ® 3´Ü°è(¿¬±¸,½Ç»ç,Àü»ç) µî·Ï ¿Ï·á + tmp_view = 0 'Àüü¸¦ º¸¿©ÁÜ + else + tmp_regok = 0 'ÇÁ·ÎÁ§Æ® µî·ÏÁß + + query = "SELECT * " + query = query & "FROM depart " + query = query & "WHERE d_code = '" & Session("Depart_Code") & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_view = rsp("d_mcode") 'ÇØ´çºÎ¼­¸¦ °¡Á®¿È + else + tmp_view = 99 '99´Â ±âº»Á¤º¸¸¸ º¼ ¼ö ÀÖÀ½ + end if + rsp.Close + end if + + if tmp_admin_chk = "1" then + tmp_view = 0 '°³¹ßÀÚ¶ó¸é Àüü¸¦ º¼ ¼ö ÀÖ°Ô ÇÔ + end if + + query = "SELECT * " + query = query & "FROM depart " + query = query & "WHERE d_code = '" & Session("Depart_Code") & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_login_code = rsp("d_mcode") 'ÇØ´çºÎ¼­¸¦ °¡Á®¿È + else + tmp_login_code = "0" + end if + rsp.Close + + if request("p_types1") <> "" then + p_types1 = request("p_types1") + else + p_types1 = rsc("p_types1") + end if + + if request("p_types2") <> "" then + p_types2 = request("p_types2") + else + p_types2 = rsc("p_types2") + end if + + if request("p_types3") <> "" then + p_types3 = request("p_types3") + else + p_types3 = rsc("p_types3") + end if + + y = request("y") + + if y = "1" then + p_types2 = "0" + p_types3 = "0" + elseif y = "2" then + p_types3 = "0" + end if + + +''12³âµµ¿Í 13³âµµÀÇ ºÎ¼­°¡ ´Ù¸£±â¿¡...(2013³â 4¿ù 16ÀÏ) + if mid(p_sn,1,2) = "12" then + if cint(tmp_login_code) >= 31 and cint(tmp_login_code) <= 33 then + tmp_login_code = "1" + tmp_view = "1" + elseif cint(tmp_login_code) >= 35 and cint(tmp_login_code) <= 36 then + tmp_login_code = "2" + tmp_view = "2" + end if + end if + + +%> + + + +<%=GNB_TITLE%> + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® ¹øÈ£ + <%=rsc("p_sn")%> + "> + ÇÁ·ÎÁ§Æ® ¸í + "> +
ÄÁÅÃÀÏÁ¤ + + "> + + ¹ß»ý°æ·Î + + +
Ŭ¶óÀÌ¾ðÆ® ¸í + <% + query = "SELECT * " + query = query & "FROM [Client] " + query = query & "WHERE c_code='" & rsc("p_cli_company") & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_cli_company = rsp("c_name") + end if + rsp.Close + %> + + "> + Ŭ¶óÀÌ¾ðÆ® ±¸ºÐ + + +
Ŭ¶óÀÌ¾ðÆ® ´ã´çÀÚ + <% + query = "SELECT * " + query = query & "FROM Client_People " + query = query & "WHERE c_code='" & rsc("p_cli_company") & "' " + query = query & " AND cp_code='" & rsc("p_cp_code") & "' " + 'Response.Write query & "
" + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_cp_name = rsp("cp_name") + tmp_cli_depart = rsp("cp_depart") + end if + rsp.Close + %> + + "> +
Ŭ¶óÀÌ¾ðÆ® Å¸ÀÔ + + + "> +
Ŭ¶óÀÌ¾ðÆ® ºÎ¼­ + + " readonly title ="ȸÀÇÀå¼Ò"> + " readonly title ="ȸÀÇ ³»¿ë"> + +
+ +

+ + + + + + + + + + + + + + + + + + +
Á¦¾ÈÀÏÁ¤ + + "> + + Á¶»ç¸ñÀû + + " readonly style="width:100%"> +
¾÷Á¾ + + + <% + if p_types1 <> "" then + %> +     + + <% + if p_types2 <> "" and p_types2 <> "0" then + %> +     + + <% + end if 'if p_types2 <> "" then + %> + <% + end if 'if p_types1 <> "" then + %> +
+ +

+ <% + if rsc("p_reg_mana") = "1" then + %> + ÇöÀç ÇÁ·ÎÁ§Æ® ÃÖÁ¾¿Ï·á Áß ÀÔ´Ï´Ù + <% + elseif rsc("p_reg_rsch") = "1" then + %> + ÇöÀç ÇÁ·ÎÁ§Æ® ¿Ï·á Áß ÀÔ´Ï´Ù + <% + elseif tmp_regok = 1 then + %> + ÇöÀç ÇÁ·ÎÁ§Æ® ÁøÇà Áß ÀÔ´Ï´Ù. + <% + else + if trim(rsc("p_sv")) <> "" then + 'tmp_txt = "Àü»êºÎ¼­" + tmp_txt = "Á¤º¸ºÐ¼®ÆÀ" + tmp_reg = 3 + elseif trim(rsc("p_rsch_1")) <> "" then + tmp_txt = "½Ç»çºÎ¼­" + tmp_reg = 2 + else + tmp_txt = "¿¬±¸ºÎ¼­" + tmp_reg = 1 + end if + %> + ÇöÀç <%=tmp_txt%> µî·Ï ÁøÇà Áß ÀÔ´Ï´Ù. + <% + end if + %> +

+ + + + + + + <% + if tmp_view = int(rsc("p_depart")) or tmp_admin_chk = "1" or tmp_regok = 1 then '·Î±×ÀÎÀÚ°¡ ÇØ´ç¿¬±¸¿øÀ̰ųª °³¹ßÀÚ¶ó¸é º¸¿©Áü, ¶Ç´Â 3°³ºÎ¼­ µî·Ï ¿Ï·á µÇ¸é.. + %> + + + + + + + + + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" then %> + + + <% end if %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" and tmp_method <> "23" and tmp_method <> "24" then %> + + + + + + + <% end if %> + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" then %> + + + + + + + + + + + + + + + + <% end if %> + <% + end if 'if tmp_view = int(rsc("p_depart")) or tmp_admin_chk = "1" or tmp_regok = 1 then '·Î±×ÀÎÀÚ°¡ ÇØ´ç¿¬±¸¿øÀ̰ųª °³¹ßÀÚ¶ó¸é º¸¿©Áü, ¶Ç´Â 3°³ºÎ¼­ µî·Ï ¿Ï·á µÇ¸é.. + %> + + <% + if trim(rsc("p_rsch_1")) <> "" then '¿¬±¸ÆÄÆ®°¡ ¿Ï·á µÇ¾î¾ß ½Ç»ç°¡ ÀÚ½ÅÀÇ °ÍÀ» º¼ ¼ö ÀÖÀ½ + if tmp_view = 12 or tmp_view = 16 or tmp_admin_chk = "1" or tmp_regok = 1 then '·Î±×ÀÎÀÚ°¡ ½Ç»çºÎ¼­¿øÀ̰ųª °³¹ßÀÚ¶ó¸é º¸¿©Áü, ¶Ç´Â 3°³ºÎ¼­ µî·Ï ¿Ï·á µÇ¸é.. + %> + <% + if tmp_regok = 1 or tmp_admin_chk = "1" then + %> + + + + <% + else + %> + + + + + + + + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" and tmp_method <> "24" then %> + + + <% end if %> + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" then %> + + + + + + + <% end if %> + <% + end if 'if tmp_regok = 1 or tmp_admin_chk = "1" then + %> + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" then %> + + + + + + + <% end if %> + + + + + + + + <% + p_budget = rsc("p_budget") + pay_estimate = formatnumber(rsc("p_esti_cost")+rsc("p_esti_cost_research"), 0) + pay_estimate_proportion = formatnumber((pay_estimate / CDbl(p_budget)) * 100, 2) + pay_actual = formatnumber(rsc("p_real_cost")+rsc("p_real_cost_research"), 0) + pay_actual_proportion = formatnumber((pay_actual / CDbl(p_budget)) * 100, 2) + + 'Á÷Á¢ºñ °áÀç »ó½ÅÀÌ µÇ¾î ÀÖ¾î¾ß ÇÏ°í ºÎ¼­Àå ÀÌ»óÀÇ °áÁ¦°¡ µÇ¾î ÀÖ¾î¾ß ÇÔ + query = "SELECT * " + query = query & "FROM Document as a " + query = query & " INNER JOIN ¹®¼­³»¿ë as b on a.d_no = b.¹®¼­¹øÈ£ " + 'query = query & "WHERE a.d_no='" & d_no & "' " + query = query & "WHERE a.d_no<>'' " + query = query & " AND b.p_sn = '" & p_sn & "' " + query = query & " AND b.del_yes_no='no' " + query = query & " AND a.d_delok = 'N' " + query = query & " AND a.d_name = 'Á÷Á¢ºñ' " + query = query & "ORDER BY a.d_sn DESC " + + ''2014³â 1¿ù 15ÀϺηΠÁ÷Á¢ºñ °áÀ縦 ÇÏÁö ¾Ê±â¿¡ ´Ü¼øÈ÷ ½Ç»ç Á÷Á¢ºñ°¡ µé¾îÀÖ³ª¸¸ È®ÀÎÇϱâ + query = "select * from direct_cost where p_sn = '" & p_sn & "' " & _ + " and del_yes_no = 'no'" + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + + else + pay_estimate = "" + pay_estimate_proportion = "" + pay_actual = "" + pay_actual_proportion = "" + %> + + + <% + end if + rsp.Close + + if tmp_admin_chk = "1" and pay_estimate = "" then '°³¹ßÀÚ¶ó¸é Á÷Á¢ºñ üũ·ÎÁ÷À» ³Ñ±æ ¼ö ÀÖµµ·Ï ÇÔ + pay_estimate = "1" + 'Response.Write "sadfsfsda" + end if + %> + + + + + + + + + + + + + + <% + end if 'if tmp_view = 12 or tmp_admin_chk = "1" or tmp_regok = 1 then + end if 'if trim(rsc("p_rsch_1")) <> "" then + %> + <% + if trim(rsc("p_rsch_1")) <> "" and trim(rsc("p_sv")) <> "" then '¿¬±¸ÆÄÆ®¿Í ½Ç»çÆÄÆ®°¡ ¿Ï·á µÇ¾î¾ß Àü»êºÎ¼­´Â ÀÚ½ÅÀÇ °ÍÀ» º¼ ¼ö ÀÖÀ½ + if tmp_view = 15 OR tmp_view = 17 or tmp_admin_chk = "1" or tmp_regok = 1 then '·Î±×ÀÎÀÚ°¡ Àü»êºÎ¼­¿øÀ̰ųª °³¹ßÀÚ¶ó¸é º¸¿©Áü, ¶Ç´Â 3°³ºÎ¼­ µî·Ï ¿Ï·á µÇ¸é.. + %> + <% + if tmp_regok = 1 or tmp_admin_chk = "1" then + %> + + + + <% + else + %> + + + + + + + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" and tmp_method <> "24" then %> + + + <% end if %> + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" then %> + + + + + + + <% end if %> + <% + end if 'if tmp_regok = 1 or tmp_admin_chk = "1" then + %> + + + + + + + + <% + end if 'if tmp_view = 15 or tmp_admin_chk = "1" or tmp_regok = 1 then + end if 'if trim(rsc("p_rsch_1")) <> "" and trim(rsc("p_sv")) <> "" then + %> + <% + if tmp_view = int(rsc("p_depart")) or tmp_admin_chk = "1" or tmp_regok = 1 then '·Î±×ÀÎÀÚ°¡ ÇØ´ç¿¬±¸¿øÀ̰ųª °³¹ßÀÚ¶ó¸é º¸¿©Áü, ¶Ç´Â 3°³ºÎ¼­ µî·Ï ¿Ï·á µÇ¸é.. + %> + + + + + + + + + <% + end if 'if tmp_view = 2 or tmp_admin_chk = "1" or tmp_regok = 1 then + %> +
Á¶»ç¹æ¹ý + + +
´ã´ç¿¬±¸¿ø +  Á¤ : + +  ºÎ : + +  º¸1 : + +  º¸2 : + +
Ä«Å×°í¸® + + + <% + if tmp_admin_chk = "1" then + %> +     + +     + + <% + end if + %> +
Ç¥º»¼ö + + + value="1" + <%elseif clng(rsc("p_sample")) = 0 then %> + value="1" + <%else%> + value="<%=rsc("p_sample")%>" + <%end if%> + > + Ç¥º»ÃßÃâ¹æ¹ý + + " style="width:100%;"> +
°è¾àÀÏÀÚ + + " readonly onClick="winopn('/include/calendar.html?actval=p_conv_date')" style="cursor:pointer"> + + °è¾à¾× + <% + if rsc("p_budget") <> "" then + tmp_len = len(rsc("p_budget")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + tmp_text = "," & tmp_text + end if + tmp_text = left(right(rsc("p_budget"),i), 1) & tmp_text + next + end if + if clng(tmp_text) = 0 then + tmp_text=1 + end if + %> + ¿ø (VAT º°µµ) +
Á¶»ç´ë»ó + + +   + "> +
Á¶»çÁö¿ª + + +   + "> +
ÇÁ·ÎÁ§Æ® °ü·Ã ±â°£¼³Á¤
°è¾à±â°£ + + " onClick="winopn('/include/calendar.html?actval=p_convdate_st')" style="cursor:pointer"> + + - + " onClick="winopn('/include/calendar.html?actval=p_convdate_end')" style="cursor:pointer"> + + °è¾à±â°£(½Ç) + <% + if not isnull(rsc("p_convdate_st2")) and rsc("p_convdate_st2") <> "" then + Response.Write "" & rsc("p_convdate_st2") & " - " & rsc("p_convdate_end2") & "" + end if + %> +
º¸°í¼­ ÀÛ¼º±â°£ + + " onClick="winopn('/include/calendar.html?actval=p_report_st')" style="cursor:pointer"> + - + " onClick="winopn('/include/calendar.html?actval=p_report_end')" style="cursor:pointer"> + + º¸°í¼­ ÀÛ¼º±â°£(½Ç) + <% + if not isnull(rsc("p_report_st2")) and rsc("p_report_st2") <> "" then + Response.Write "" & rsc("p_report_st2") & " - " & rsc("p_report_end2") & "" + end if + %> +
³»ºÎ¹ÌÆÃ ÀÏÀÚ + + " onClick="winopn('/include/calendar.html?actval=p_premeet_date')" style="cursor:pointer"> + ³»ºÎ¹ÌÆÃ ÀÏÀÚ(½Ç) + <% + if not isnull(rsc("p_premeet_date2")) and rsc("p_premeet_date2") <> "" then + Response.Write "" & rsc("p_premeet_date2") & "" + end if + %> +
¸éÁ¢¿ø OTÀÏ + + " onClick="winopn('/include/calendar.html?actval=p_ot_date')" style="cursor:pointer"> + + ¸éÁ¢¿ø OTÀÏ(½Ç) + <% + if not isnull(rsc("p_ot_date2")) and rsc("p_ot_date2") <> "" then + Response.Write "" & rsc("p_ot_date2") & "" + end if + %> +
½Ç»ç±â°£ (ÄÚµù+¿¡µðÆÃ) + + " onClick="winopn('/include/calendar.html?actval=p_field_st')" style="cursor:pointer"> + - + " onClick="winopn('/include/calendar.html?actval=p_field_end')" style="cursor:pointer"> + ½Ç»ç±â°£(½Ç) (ÄÚµù+¿¡µðÆÃ) + <% + if not isnull(rsc("p_field_st2")) and rsc("p_field_st2") <> "" then + Response.Write "" & rsc("p_field_st2") & " - " & rsc("p_field_end2") & "" + end if + %> +
ÆÝÄ¡±â°£ + + " onClick="winopn('/include/calendar.html?actval=p_punch_st')" style="cursor:pointer"> + - + " onClick="winopn('/include/calendar.html?actval=p_punch_end')" style="cursor:pointer"> + ÆÝÄ¡±â°£(½Ç) + <% + if not isnull(rsc("p_punch_st2")) and rsc("p_punch_st2") <> "" then + Response.Write "" & rsc("p_punch_st2") & " - " & rsc("p_punch_end2") & "" + end if + %> +
DP ±â°£ + + " onClick="winopn('/include/calendar.html?actval=p_dp_st')" style="cursor:pointer"> + - + " onClick="winopn('/include/calendar.html?actval=p_dp_end')" style="cursor:pointer"> + DP±â°£(½Ç) + <% + if not isnull(rsc("p_dp_st2")) and rsc("p_dp_st2") <> "" then + Response.Write "" & rsc("p_dp_st2") & " - " & rsc("p_dp_end2") & "" + end if + %> +
Á¶»ç¹æ¹ý + <% + q = "SELECT * " + q = q & "FROM p_method " + q = q & "WHERE code1 = '" & tmp_method & "' " + q = q & "ORDER BY name1 " + + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + Response.Write "" & rsp("name1") & "" + else + Response.Write "" & "DB¿À·ù" & "" + end if + rsp.Close + %> +
°è¾àÀÏÀÚ + + <%=rsc("p_conv_date")%> + + °è¾à±â°£ + + <%=rsc("p_convdate_st")%> - <%=rsc("p_convdate_end")%> + +
³»ºÎ¹ÌÆÃ ÀÏÀÚ + + <%=rsc("p_premeet_date")%> + + ¸éÁ¢¿ø OTÀÏ + + <%=rsc("p_ot_date")%> + +
½Ç»ç½ÃÀÛÀÏ + + <%=rsc("p_field_st")%> + + ½Ç»çÁ¾·áÀÏ (ÄÚµù+¿¡µðÆÃ) + + <%=rsc("p_field_end")%> + +
ÆÝÄ¡±â°£ + + <%=rsc("p_punch_st")%> - <%=rsc("p_punch_end")%> + + DP ±â°£ + + <%=rsc("p_dp_st")%> - <%=rsc("p_dp_end")%> + +
´ã´ç SV + + + + ½Ç»ç³­À̵µ + + +
¹®Ç×¼ö (¿ÀÇÂ) + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> + ( <%=rsc("p_survey_open")%> ) + ½ÇÁ¦ Á¶»ç»ùÇüö + <%=rsc("p_sample")%> +
´ã´ç ÄÚ´õ + + + ´ã´ç °ËÁõ + + <%'´ã´ç °ËÁõÀº À¯¼ö¿¬À¸·Î °íÁ¤ÇÏ¿© ¼öÁ¤ÇÒ ¼ö ¾øµµ·Ï ÇÔ%> + + +
¿¹»ó Á÷Á¢ºñ(¿¬±¸+½Ç»ç) + <% if pay_estimate <> "" then %> + <%=pay_estimate%> ¿ø + <% end if %> + + + ¿¹»ó Á÷Á¢ºñ ºñÀ² + <% if pay_estimate_proportion <> "" then %> + <%=pay_estimate_proportion%> % + <% end if %> + +
½ÇÁ¦ Á÷Á¢ºñ(¿¬±¸+½Ç»ç) + <% if pay_actual <> "" then %> + <%=pay_actual%> ¿ø + <% end if %> + + + ½ÇÁ¦ Á÷Á¢ºñ ºñÀ² + <% if pay_actual_proportion <> "" then %> + <%=pay_actual_proportion%> % + <% end if %> + +
Á¶»ç¹æ¹ý + <% + q = "SELECT * " + q = q & "FROM p_method " + q = q & "WHERE code1 = '" & tmp_method & "' " + q = q & "ORDER BY name1 " + + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + Response.Write "" & rsp("name1") & "" + else + Response.Write "" & "DB¿À·ù" & "" + end if + rsp.Close + %> +
°è¾àÀÏÀÚ + + <%=rsc("p_conv_date")%> + + °è¾à±â°£ + + <%=rsc("p_convdate_st")%> - <%=rsc("p_convdate_end")%> + +
³»ºÎ¹ÌÆÃ ÀÏÀÚ + + <%=rsc("p_premeet_date")%> + + ¸éÁ¢¿ø OTÀÏ + + <%=rsc("p_ot_date")%> + +
½Ç»ç½ÃÀÛÀÏ + + <%=rsc("p_field_st")%> + + ½Ç»çÁ¾·áÀÏ (ÄÚµù+¿¡µðÆÃ) + + <%=rsc("p_field_end")%> + +
ÆÝÄ¡±â°£ + + <%=rsc("p_punch_st")%> - <%=rsc("p_punch_end")%> + + DP ±â°£ + + <%=rsc("p_dp_st")%> - <%=rsc("p_dp_end")%> + +
´ã´ç Àü»ê + + + + + Àü»ê ³­À̵µ + + +
SPSS ¹öÁ¯ + + +
±âŸÀü´Þ»çÇ× (¼öÁ¤»çÀ¯) + <% + if isnull(rsc("p_memo")) then + tmp_area = "" + else + tmp_area = rsc("p_memo") + end if + %> + +
+ +<% +if tmp_admin_chk = "1" or tmp_regok = 1 then '·Î±×ÀÎÀÚ°¡ °³¹ßÀÚ¶ó¸é º¸¿©Áü, ¶Ç´Â 3°³ºÎ¼­ µî·Ï ¿Ï·á µÇ¸é.. +%> + +

+

+ + + + + + + + <% + if rsc("p_cross_app_yes_no") = "yes" then + tmp_cross_app = "Æò°¡´ë»ó" + tmp_cross_date = rsc("p_cross_app_end_date") + else + tmp_cross_app = "ÇØ´ç¾øÀ½" + tmp_cross_date = "" + end if + %> + + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" then %> + + + <% end if %> + + <% + '### 20100127 ¼öÁ¤ : ºÎ¼­ÀåÀº °¢ ¿¬±¸¿ø¿¡ ´ëÇÑ ÇÁ·ÎÁ§Æ® ¿µÇâµµ¸¦ Æò°¡ÇؾßÇÔ + '### ºä´Â ºÎ¼­ÀåÀÌ»ó (´Ù¸¥ ÆÄÆ® ÀÓ¿øÀº ¾î¶»°Ô ÇØ¾ß?) + 'if tmp_admin_chk = "1" then + if ((Session("Depart_Code") = rsc("p_depart") OR Session("teamplace") >= "5") AND Session("admin_Code") = "1" ) OR tmp_admin_chk = "1" then + %> + + + + <% + end if + %> + + + + <% + if rsc("p_reg_rsch") = "0" or isnull(rsc("p_reg_rsch")) then + tmp = "¹ÌÈ®Á¤" + tmp_a = "0" + else + tmp = "È®Á¤" + tmp_a = "1" + end if + + 'È®Á¤¹öưÀ» Ȱ¼ºÈ­ Çϱâ À§ÇÑ Á¶°Ç (1. °ü¶÷µî±Þ, 2. 3°³ºÎ¼­ ÆÄÀϾ÷·Îµå ¿Ï·á, 3. 3°³ºÎ¼­ µî·Ï ¿Ï·á, 4. 3°³ºÎ¼­ ½ÇÁ¦±â°£ ÀԷ¿Ϸá) + tmp_reg_rsch = 0 + + '1¹ø ó¸® + if rsc("p_view_grade") = "" or isnull(rsc("p_view_grade")) then + tmp_reg_1 = 0 + else + tmp_reg_1 = 1 + end if + + '2¹ø ó¸® + query = "SELECT * " + query = query & "FROM file_log " + query = query & "WHERE p_sn = '" & p_sn & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + + 'ÆÄÀÏüũ ·ÎÁ÷ º¯°æ (½Ç»ç¿Í Àü»êÆÄÀÏÀº ´ã´çÀÚÀÇ À¯¹«·Î üũÇÔ) + if (int(rsc("p_sv")) > 99999000 OR rsc("p_sv") = "19999999") AND (int(rsc("p_coder")) > 99999000 OR rsc("p_coder") = "19999999") then '½Ç»ç´ã´çÀÚ ¾øÀ½ + tmp_fieldwork = "1" + else 'sv³ª ÄÚ´õ ´ã´çÀÚ ÀÖÀ½ + if rsp("fieldwork") = "1" then + tmp_fieldwork = "1" + else + tmp_fieldwork = "0" + end if + end if + + '2011³â 2¿ù 22ÀÏ ¼öÁ¤ - ½Ç»ç´Â ¹«Á¶°Ç ¿Ã¸°°ÍÀ¸·Î °£ÁÖÇÔ (ÆÄÀÏüũ ¾ÈÇÔ) + tmp_fieldwork = "1" + + if (int(rsc("p_dper")) > 99999000 OR rsc("p_dper") = "19999999") then 'Àü»ê´ã´çÀÚ ¾øÀ½ + tmp_computer = "1" + else 'Àü»ê´ã´çÀÚ ÀÖÀ½ + if rsp("computer") = "1" then + tmp_computer = "1" + else + tmp_computer = "0" + end if + end if + + if rsp.RecordCount > 0 then + if rsp("research") = "1" and tmp_fieldwork = "1" and tmp_computer = "1" then + tmp_reg_2 = 1 + tmp_real_date = 1 + else + tmp_reg_2 = 0 + tmp_real_date = 0 + end if + else + tmp_reg_2 = 0 + tmp_real_date = 0 + end if + + else + + tmp_fieldwork = "0" + tmp_computer = "0" + tmp_reg_2 = 0 + tmp_real_date = 0 + + end if + rsp.Close + + '4¹ø ó¸® + tmp_reg_4 = 0 + if isnull(rsc("p_convdate_st2")) OR rsc("p_convdate_st2") = "" then '°è¾à±â°£(¿¬±¸ÆÄÆ®) ¾øÀ¸¸é ¾ÈµÊ + tmp_reg_4 = 0 + else + tmp_reg_4 = 1 + end if + if isnull(rsc("p_field_st")) OR rsc("p_field_st") = "" then '½Ç»ç±â°£(½Ç»çÆÄÆ®) ¾øÀ¸¸é ¾ÈµÊ + tmp_reg_4 = 0 + else + tmp_reg_4 = 1 + end if + if tmp_method <> "15" and tmp_method <> "16" then 'Á¶»ç¹æ¹ý Áß ÀϺδ Àü»êÆÄÆ®°¡ ¾øÀ» ¼ö ÀÖÀ½ + if isnull(rsc("p_dp_st2")) OR rsc("p_dp_st2") = "" then 'DP±â°£(Àü»êÆÄÆ®) ¾øÀ¸¸é ¾ÈµÊ + tmp_reg_4 = 0 + else + tmp_reg_4 = 1 + end if + end if + + if tmp_reg_1 = 1 and tmp_reg_2 = 1 and tmp_reg_4 = 1 then + tmp_reg_rsch = 1 + else + tmp_reg_rsch = 0 + end if + + %> + + + + + + + +
Å©·Î½ºÆò°¡ ÇØ´ç + + <% + if Session("admin_Code") = "1" or tmp_admin_chk = "1" then 'ºÎ¼­ÀåÀ̳ª °³¹ßÀÚ¶ó¸é + %> + + <% + else + Response.Write tmp_cross_app + end if + %> + + + Å©·Î½ºÆò°¡ ¸¶°¨ÀÏ + + +
¾÷·Îµå ±âÇÑ + + "" and not isnull(rsc("p_upload_date")) then + Response.Write rsc("p_upload_date") + else + Response.Write "" + end if %>" readonly onClick="winopn('/include/calendar.html?actval=p_upload_date')" style="cursor:pointer"> + <% + if tmp_admin_chk = "1" then '¾÷·Îµå ±âÇÑÀ» Ç¥½Ã, + %> + + <% + end if + %> + ¼³¹®Áö Æó±âÀÏ + + " onClick="winopn('/include/calendar.html?actval=p_survey_date')" style="cursor:pointer"> + <% + if tmp_admin_chk = "1" then '¾÷·Îµå ±âÇÑÀ» Ç¥½Ã, + %> + + <% + end if + %> +
¿¬±¸¿ø ¿µÇâµµ + +  Á¤ : + + <% + if rsc("p_rsch_2") <> "" then + %> +     + ºÎ : + + <% + end if + %> + <% + if rsc("p_rsch_3") <> "" then + %> +     + º¸1 : + + <% + end if + %> + <% + if rsc("p_rsch_4") <> "" then + %> +     + º¸2 : + + <% + end if + %> + +
°ü¶÷µî±Þ + <% + if Session("admin_Code") = "1" or tmp_admin_chk = "1" then 'ºÎ¼­ÀåÀ̳ª °³¹ßÀÚ¶ó¸é + %> + + <% + else + if rsc("p_view_grade") = "" or isnull(rsc("p_view_grade")) then + %> + ÇöÀç °ü¶÷µî±Þ ¹Ì¼³Á¤ ÁßÀÔ´Ï´Ù. + <% + else + %> + µî±ÞÀÌ <%=tmp_view_grade(rsc("p_view_grade"), 2)%>À¸·Î ¼³Á¤µÇ¾ú½À´Ï´Ù. + <% + end if + end if + %> + ¿¬±¸ºÎ¼­ ¿Ï·á + <% + 'if rsc("p_depart") = tmp_login_code or tmp_admin_chk = "1" then '³»ºÎ¼­ ÇÁ·ÎÁ§Æ®ÀÏ ¶§¸¸ È®Á¤ÇÒ ¼ö ÀÖÀ½, °³¹ßÀÚ´Â º¼ ¼ö ÀÖÀ½ + '### 100127 ¼öÁ¤ : ³»ºÎ¼­ ÇÁ·ÎÁ§Æ®ÀÇ ºÎ¼­À常 Ŭ¸¯ÇÒ ¼ö ÀÖÀ½ + if (Session("Depart_Code") = rsc("p_depart") AND Session("admin_Code") = "1") then' OR tmp_admin_chk = "1" then + %> +     + checked <% end if %> onClick="autofnc()"> ÁøÇàÁß +           + checked <% end if %> <% if tmp_reg_rsch = 0 then %> disabled <% end if %> onClick="autofnc()"> ¿Ï·á + <% + else + if tmp_a = "0" then + tmp_imsi = "ÁøÇàÁß" + elseif tmp_a = "1" then + tmp_imsi = "¿Ï·á" + end if + %> +     ¿¬±¸ <%=tmp_imsi%> + <% + end if + %> +
+ + <% + if (rsc("p_reg_rsch") = "1") and (Session("Depart_Code") = "18" or tmp_admin_chk = "1") then 'ÃÖÁ¾¿Ï·á(°æ¿µÁö¿ø½Ç) ¿ë + if rsc("p_reg_mana") = "0" or isnull(rsc("p_reg_mana")) then + tmp = "¹ÌÈ®Á¤" + tmp_a = "0" + else + tmp = "È®Á¤" + tmp_a = "1" + end if + + query = "SELECT * " + query = query & "FROM file_log " + query = query & "WHERE p_sn = '" & p_sn & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + 'if rsp("research") = "1" and rsp("fieldwork") = "1" and rsp("computer") = "1" and rsp("manager") = "1" then + if rsp("research") = "1" and tmp_fieldwork = "1" and tmp_computer = "1" and rsp("manager") = "1" then + tmp_reg_2 = 1 + else + tmp_reg_2 = 0 + end if + else + tmp_reg_2 = 0 + end if + rsp.Close + + if rsc("p_tax") = "0" then + tmp_reg_2 = 0 + end if + + '### Å©·Î½ºÆò°¡ + if tmp_reg_2 <> 0 then + query = "SELECT a.*, B.insert_user_research AS insert_user_research, B.insert_user_sv AS insert_user_sv, " + query = query & " B.insert_user_coder AS insert_user_coder, B.insert_user_dp AS insert_user_dp, " + query = query & " B.insert_user_it AS insert_user_it " + query = query & " FROM project a LEFT OUTER JOIN " + query = query & " Cross_Appraisal b ON a.p_sn = b.p_sn " + query = query & " where substring(a.p_field_end,1,4) = '" & sc_year & "' " '³âµµ´Â ½Ç»çÁ¾·áÀÏÀ» ±âÁØÀ¸·ÎÇÔ + query = query & " and (p_cross_app_yes_no = 'yes') " 'Å©·Î½ºÆò°¡ ÇØ´ç ÇÁ·ÎÁ§Æ®¸¸ + query = query & " AND a.p_sn='" & p_sn & "' " + + rsp.Open query, adoconn, 1 + if rsp.RecordCount > 0 then + + redim prj_list(1, 10) 'x:¼ø¼­, y:1:ÇÁ·ÎÁ§Æ®ÄÚµå(p_sn), 2:ÇÁ·ÎÁ§Æ®Á¦¸ñ, , + ' 3-7:ÀÌ¹ÌÆò°¡Çß³ª È®ÀÎ(1:Æò°¡,0:¹ÌÆò°¡) =>3:¿¬±¸¿ø, 4:¼öÆÛ¹ÙÀÌÀú, 5:ÄÚµù, 6:dp, 7:it,8:¸¶°¨±âÇÑÀÏ, 9:p_name, 10:´ã´çÀÚµé(¿¬±¸, sv, ÄÚµù, dp, it) + 'Å©·Î½ºÆò°¡ ÇØ´ç À¯¹« + + tmp_i2 = 1 + if isnull(rsp("insert_user_research")) then + prj_list(tmp_i2,3) ="0" '¹ÌÆò°¡ + else + prj_list(tmp_i2,3) ="1" 'Æò°¡ + end if + if isnull(rsp("insert_user_sv")) then + prj_list(tmp_i2,4) ="0" '¹ÌÆò°¡ + else + prj_list(tmp_i2,4) ="1" 'Æò°¡ + end if + if isnull(rsp("insert_user_coder")) then + prj_list(tmp_i2,5) ="0" '¹ÌÆò°¡ + else + prj_list(tmp_i2,5) ="1" 'Æò°¡ + end if + if isnull(rsp("insert_user_dp")) then + prj_list(tmp_i2,6) ="0" '¹ÌÆò°¡ + else + prj_list(tmp_i2,6) ="1" 'Æò°¡ + end if + if isnull(rsp("insert_user_it")) then + prj_list(tmp_i2,7) ="0" '¹ÌÆò°¡ + else + prj_list(tmp_i2,7) ="1" 'Æò°¡ + end if + + if rsp("p_sv") = "19999999" or (rsp("p_sv")) >= "99999996" or trim(rsp("p_sv")) = "" or isnull(rsp("p_sv")) then '±âŸ, ¾øÀ½, ¿ÜÁÖ, ¿ÜºÎs/v, ¹èÁ¤ÀÌ ¾ÈµÆÀ½ À̸é + prj_list(tmp_i2,4) = "2" + end if + if rsp("p_coder") = "19999999" or (rsp("p_coder")) >= "99999996" or trim(rsp("p_coder")) = "" or isnull(rsp("p_coder")) then '±âŸ, ¾øÀ½, ¿ÜÁÖ, ¹èÁ¤ÀÌ ¾ÈµÆÀ½ À̸é + prj_list(tmp_i2,5) = "2" + end if + if rsp("p_dper") = "19999999" or (rsp("p_dper")) >= "99999996" or trim(rsp("p_dper")) = "" or isnull(rsp("p_dper")) then '±âŸ, ¾øÀ½, ¿ÜÁÖ, ¹èÁ¤ÀÌ ¾ÈµÆÀ½ À̸é + prj_list(tmp_i2,6) = "2" + end if + + if rsp("p_it") = "19999999" or (rsp("p_it")) >= "99999996" or trim(rsp("p_it")) = "" or isnull(rsp("p_it")) then '±âŸ, ¾øÀ½, ¿ÜÁÖ, ¹èÁ¤ÀÌ ¾ÈµÆÀ½ À̸é + prj_list(tmp_i2,7) = "2" + end if + + if prj_list(tmp_i2,3) = "0" or prj_list(tmp_i2,4) = "0" or prj_list(tmp_i2,5) = "0" or prj_list(tmp_i2,6) = "0" or prj_list(tmp_i2,7) = "0" then + tmp_reg_2 = 0 + end if + + else + + if rsc("p_cross_app_yes_no") = "yes" then + + tmp_reg_2 = 0 + + end if + + end if + rsp.Close + end if 'if tmp_reg_2 <> 0 then + '### Å©·Î½ºÆò°¡ °ü·Ã + %> + + + + + + + + + <% if tmp_method <> "15" and tmp_method <> "16" then %> + + + <% end if %> + + + + + +
¼¼±Ý°è»ê¼­ + + checked <% end if %>> ¹ßÇàÀü +           + checked <% end if %>> ¹ßÇà¿Ï·á + ÃÖÁ¾¿Ï·á + + checked <% end if %>> ¹ÌÈ®Á¤ +           + checked <% end if %> <% if tmp_reg_2 = 0 then %> disabled <% end if %>> È®Á¤ +
+ <% + end if 'if (rsc("p_reg_rsch") = "1") and (tmp_view = "18" or tmp_admin_chk = "1") then + %> + +<% +end if 'if tmp_admin_chk = "1" or tmp_regok = 1 then +%> + +<% +if (tmp_field_admin = "1" or tmp_admin_chk = "1") and (tmp_regok = 1) then '°æ¿µÁö¿ø½Ç ½Ç»ç°æºñ ´ã´ç(±è¿µÈñ) À̰ųª ¾îµå¹ÎÀÌ¸é º¸ÀÓ, 3°³ºÎ¼­ ¿Ï·á +%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Á¶»ç¹æ¹ý (È®Á¤) + + "> + Ç¥º»¼ö (È®Á¤) + + + value="1" + <%elseif clng(rsc("p_sample_chk")) = 0 then %> + value="1" + <%else%> + value="<%=rsc("p_sample_chk")%>" + <%end if%>> +
°è¾à¾× (È®Á¤) + + <% + tmp_text = "" + if rsc("p_budget_chk") <> "" then + tmp_len = len(rsc("p_budget_chk")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + tmp_text = "," & tmp_text + end if + tmp_text = left(right(rsc("p_budget_chk"),i), 1) & tmp_text + next + end if + if trim(tmp_text) <> "" then + if clng(tmp_text) = 0 then + tmp_text=1 + end if + else + tmp_text=1 + end if + %> + ¿ø (VAT º°µµ) + »ùÇôç´Ü°¡ + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> +
¹®Ç×¼ö (È®Á¤) + + "> + ¿ÀǼö (È®Á¤) + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> +
Á¶»çºÐ·ù + + + ¸éÁ¢¼Ò¿ä½Ã°£ + + +
±âÁØPay´Ü°¡ + +   + ½Ç»ç¼öÇà + + +
°ËÁõºÎ¼ö + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> + °ËÁõ·ü + + "> +
¿¡·¯ºÎ¼ö + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> + ¿¡·¯À² + + "> +
±³À°Âü°¡Àοø + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> + ÃѸéÁ¢Àοø + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> +
Àüü°ËÁõÀ̰üºÎ¼ö + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> + ASÅõ¿©½Ã°£ + + " onkeypress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;"> +
½Ç»ç³­À̵µ + + +
+<% +end if +%> + + + + <% + If Session("teamplace") <> 10 Then 'ÀÎÅÏ,°è¾àÁ÷,ÇÁ¸®·£¼­ÀÏ °æ¿ì ¾Èº¸À̵µ·Ï + + if tmp_view = int(rsc("p_depart")) or tmp_admin_chk = "1" or tmp_regok = 1 then '¿¬±¸ºÎ¼­À̰ųª ¾îµå¹Î À̰ųª 3°³ºÎ¼­ µî·Ï¿Ï·á + tmp_button = 1 + elseif (tmp_view = 12 OR tmp_view = 16) and trim(rsc("p_rsch_1")) <> "" then + tmp_button = 1 + elseif (tmp_view = 15 OR tmp_view = 17) and trim(rsc("p_rsch_1")) <> "" and trim(rsc("p_sv")) <> "" then + tmp_button = 1 + else + tmp_button = 0 + end if + + if rsc("p_reg_rsch") = "0" or isnull(rsc("p_reg_rsch")) then + tmp_style1 = "" + tmp_style2 = "none" + tmp_report = "0" + else + tmp_style1 = "none" + tmp_style2 = "" + tmp_report = "1" + end if + %> + + + +"> +
+ <% + if tmp_button = 1 then '3°³ºÎ¼­ µî·Ï ¿Ï·á°Å³ª ÀÚ±âºÎ¼­ µî·ÏÂ÷·Ê¶ó¸é ¹öưÀÌ º¸À̵µ·Ï ÇÔ + + '* ¸¸¾à °æ¿µÁö¿ø½Ç¿¡¼­ ÃÖÁ¾¿Ï·á¸¦ ÇÏ¸é °æ¿µÁö¿ø½ÇÀ» Á¦¿ÜÇÑ ÀüºÎ¼­°¡ ÀúÀå¹öưÀ» »ç¿ë ÇÒ ¼ö ¾ø°Ô ÇÔ + if rsc("p_reg_mana") = "1" then + if Session("Depart_Code") = "18" or tmp_admin_chk = "1" then + tmp_chk = "1" + else + tmp_chk = "0" + end if + else + if rsc("p_reg_rsch") = "1" then '¿¬±¸ºÎ¼­ ¿Ï·á½Ã(°æ¿µÁö¿ø½ÇÀº ¹Ì¿Ï·áÁß) ¿¬±¸ºÎ¼­¸¸ È®Àιöư º¸ÀÓ + if cint(rsc("p_depart")) = cint(tmp_login_code) or tmp_admin_chk = "1" then '³»ºÎ¼­ ÇÁ·ÎÁ§Æ®ÀÏ ¶§¸¸ È®Á¤ÇÒ ¼ö ÀÖÀ½ + tmp_chk = "1" + else + tmp_chk = "0" + end if + else + if cint(rsc("p_depart")) = cint(tmp_login_code) or (int(tmp_login_code) > 10 and int(tmp_login_code) < 20) then '³»ºÎ¼­ ÇÁ·ÎÁ§Æ®À̰ųª ½Ç»ç,Àü»êºÎ¼­ÀÏ ¶§¸¸ È®Á¤ÇÒ ¼ö ÀÖÀ½ + tmp_chk = "1" + else + tmp_chk = "0" + end if + end if + end if + '---------------------------------------------------------------------------------------- + '2014-10-07 ¼öÁ¤ : Å×ÀÌºí ¹Ù²ñ. µ¥ÀÌÅÍ ÀÖ¾î¾ß ´Ù¿î·Îµå º¸ÀÓ. + query = "SELECT * " + query = query & "FROM T_SYSTEM_ATTACH " + query = query & "WHERE f_p_sn = '" & rsc("p_sn") & "' " + query = query & "AND f_use_yn = 'Y' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_down_view = "1" + else + tmp_down_view = "0" + end if + rsp.Close + '---------------------------------------------------------------------------------------- + + if tmp_regok = "1" AND tmp_down_view = "1" then + %> + + <% + end if + end if + %> + +    + <% + if (cint(rsc("p_depart")) = cint(tmp_login_code) AND my_pos >= 2) then' or tmp_admin_chk = "1" then + %> + + <% + end if + end if 'ÀÎÅÏ,°è¾àÁ÷,ÇÁ¸®·£¼­ÀÏ °æ¿ì ¾Èº¸À̵µ·Ï + %> +
+ +
+ + + +<% +end if +rsc.Close +%> \ No newline at end of file diff --git a/project/project_list2_dep_2014.asp b/project/project_list2_dep_2014.asp new file mode 100644 index 0000000..a2c538d --- /dev/null +++ b/project/project_list2_dep_2014.asp @@ -0,0 +1,3858 @@ + + + +<% + Dim research_count + research_count = 0 + + p_sn = Request("p_sn") + p_sub_type = Request("p_sub_type") + initstatus = Request("initstatus") + req_p_method_cd = Request("p_method_cd") + temp_p_child_sn = "" + + query = "" + query = query & "select top 1 p_method_cd from T_PROJECT_METHOD where p_child_sn = '" & Request("p_child_sn") & "' " + Adors.Open query, adoConn, 1 + if Adors.recordCount > 0 and req_p_method_cd = "" then + req_p_method_cd = Adors("p_method_cd") + end if + Adors.Close + If initstatus = "init" Then + set dbin = server.CreateObject("ADODB.CONNECTION") + + q = "select p_sn, p_sub_type, p_method_cd from T_PROJECT_METHOD where p_sn = '" & p_sn & "' " + Adors.Open q, adoConn, 1 + + if Adors.RecordCount > 0 Then + for i = 1 to Adors.RecordCount + tmp_method_cd = Adors("p_method_cd") + tmp_method_count = i + + If CInt(tmp_method_cd) < 10 Then + tmp_method_cd = "0" & tmp_method_cd + End If + + If tmp_method_count < 10 Then + tmp_method_count = "0" & i + End If + + query = " UPDATE T_PROJECT_METHOD " + query = query & " SET p_sub_type = '"& p_sub_type &"' " + '##### ¿¬±¸ ###### + query = query & " ,p_rsch_1_a = '' " + query = query & " ,p_rsch_2_a = '' " + query = query & " ,p_rsch_3_a = '' " + query = query & " ,p_rsch_4_a = '' " + query = query & " ,p_rsch_1_b = '' " + query = query & " ,p_rsch_2_b = '' " + query = query & " ,p_rsch_3_b = '' " + query = query & " ,p_rsch_4_b = '' " + query = query & " ,p_rsch_1_c = '' " + query = query & " ,p_rsch_2_c = '' " + query = query & " ,p_rsch_3_c = '' " + query = query & " ,p_rsch_4_c = '' " + '##### ½Ç»ç ###### + query = query & " ,p_sv_1 = '' " + query = query & " ,p_sv_2 = '' " + query = query & " ,p_sv_3 = '' " + query = query & " ,p_sv_4 = '' " + query = query & " ,p_punch_1 = '' " + query = query & " ,p_punch_2 = '' " + query = query & " ,p_punch_3 = '' " + query = query & " ,p_punch_4 = '' " + '##### QC ###### + query = query & " ,p_verify_1 = '' " + query = query & " ,p_verify_2 = '' " + query = query & " ,p_verify_3 = '' " + query = query & " ,p_verify_4 = '' " + '##### DP ###### + query = query & " ,p_code_1 = '' " + query = query & " ,p_code_2 = '' " + query = query & " ,p_code_3 = '' " + query = query & " ,p_code_4 = '' " + query = query & " ,p_dp_1 = '' " + query = query & " ,p_dp_2 = '' " + query = query & " ,p_dp_3 = '' " + query = query & " ,p_dp_4 = '' " + '##### °æ¿µÀü·«½Ç ###### + query = query & " ,p_it_1 = '' " + query = query & " ,p_it_2 = '' " + query = query & " ,p_it_3 = '' " + query = query & " ,p_it_4 = '' " + query = query & " ,p_progress_status = '001' " + query = query & " ,p_progress_flag = 'xxx' " ' index 1 :¿¬±¸, 2 :½Ç»ç, 3 :DP + query = query & " ,p_child_sn = '"& p_sn &"_"& p_sub_type & tmp_method_count & "' " + + If CInt(req_p_method_cd) = CInt(Adors("p_method_cd")) Then + temp_p_child_sn = p_sn &"_"& p_sub_type & tmp_method_count + End If + + query = query & " WHERE p_sn = '"& p_sn &"' and p_sub_type = '' and p_method_cd = '" & Adors("p_method_cd") & "' " + + dbin.Open adoConn + dbin.Execute query + dbin.Close + + Adors.MoveNext + Next + end If + + Adors.Close + End if + + 'ÇÁ·ÎÁ§Æ® ±âº» Á¤º¸ °¡Á®¿À±â + If p_sub_type = "M" then + query = " SELECT PB.p_sn, PB.p_cli_company_cd as p_cli_company_cd, PB.p_cli_per_cd as p_cli_per_cd, " + query = query & " p_state, PB.p_subject, p_cli_company_nm, CP.p_cli_depart as p_cli_depart, " + query = query & " p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email, " + query = query & " PB.p_project_type_cd as p_project_type_cd, " + query = query & " PB.p_project_nation_cd as p_project_nation_cd, " + query = query & " PB.p_client_type_cd as p_client_type_cd, p_obtain_cost, PB.p_cont_cost, PB.p_decide_date, " + query = query & " PB.p_con_date_st, PB.p_con_date_end, PB.p_export_range, PB.p_category, " + query = query & " PB.p_memo, PB.p_depart_dep as p_depart_dep, PB.p_input_user, '007' as p_progress_status, " + query = query & " isnull(PM.p_research_complete,0) as p_research_complete, " + query = query & " isnull(PM.p_field_complete,0) as p_field_complete, " + query = query & " isnull(PM.p_dp_complete,0) as p_dp_complete, " + query = query & " isnull(PM.p_it_complete,0) as p_it_complete " + query = query & " FROM " + query = query & " T_PROJECT_BASE PB INNER JOIN T_PROJECT_METHOD PM ON PB.p_sn = PM.p_sn AND PM.p_child_sn = PB.p_sn + '_M01' " + query = query & " INNER JOIN V_CLIENT_COMP CC ON PB.p_cli_company_cd = CC.p_cli_company_cd " + query = query & " INNER JOIN V_CLIENT_PERSON CP ON PB.p_cli_company_cd = CP.p_cli_company_cd AND PB.P_CLI_PER_CD = CP.P_CLI_PER_CD " + query = query & " INNER JOIN T_CLIENT_TYPE_CD CTC ON PB.p_client_type_cd = CTC.p_client_type_cd " + query = query & " WHERE PB.p_sn = '"&p_sn& "' " + else + query = " SELECT PB.p_sn " + query = query & " , PB.p_cli_company_cd as p_cli_company_cd " + query = query & " , PB.p_cli_per_cd as p_cli_per_cd " + query = query & " , p_state " + query = query & " , PM.p_subject " + query = query & " , p_cli_company_nm " + query = query & " , CP.p_cli_depart as p_cli_depart " + query = query & " , p_cli_per_nm " + query = query & " , p_cli_per_com_tel " + query = query & " , p_cli_per_tel " + query = query & " , p_cli_per_email " + query = query & " , PB.p_project_type_cd as p_project_type_cd " + query = query & " , PB.p_project_nation_cd as p_project_nation_cd " + query = query & " , PB.p_client_type_cd as p_client_type_cd " + query = query & " , PB.p_obtain_cost " + query = query & " , PM.p_cont_cost " + query = query & " , PM.p_decide_date " + query = query & " , PM.p_con_date_st " + query = query & " , PM.p_con_date_end " + query = query & " , PM.p_export_range " + query = query & " , PM.p_category " + query = query & " , PM.p_progress_status " + query = query & " , isnull(PM.p_research_complete,0) as p_research_complete " + query = query & " , isnull(PM.p_field_complete,0) as p_field_complete " + query = query & " , isnull(PM.p_dp_complete,0) as p_dp_complete " + query = query & " , isnull(PM.p_it_complete,0) as p_it_complete " + query = query & " , PB.p_memo " + query = query & " , pb.p_depart_dep as p_depart_dep " + query = query & " , PM.p_rsch_dept as p_depart_dep2 " + query = query & " , PB.p_input_user " + query = query & " FROM T_PROJECT_BASE PB " + query = query & " left outer JOIN T_PROJECT_METHOD PM " + query = query & " ON PB.p_sn = PM.p_sn " + query = query & " AND PM.p_method_cd = '" & req_p_method_cd & "' " + query = query & " left outer JOIN V_CLIENT_COMP CC " + query = query & " ON PB.p_cli_company_cd = CC.p_cli_company_cd " + query = query & " left outer JOIN V_CLIENT_PERSON CP " + query = query & " ON PB.p_cli_company_cd = CP.p_cli_company_cd " + query = query & " AND PB.P_CLI_PER_CD = CP.P_CLI_PER_CD " + query = query & " left outer JOIN T_CLIENT_TYPE_CD CTC " + query = query & " ON PB.p_client_type_cd = CTC.p_client_type_cd " + query = query & " WHERE PB.p_sn = '" & p_sn & "' " + query = query & " AND PM.p_sub_type = 'C' " + + If temp_p_child_sn = "" Then + query = query & " AND PM.p_child_sn = '"& Request("p_child_sn") &"' " + Else + query = query & " AND PM.p_child_sn = '"& temp_p_child_sn &"' " + End if + End if +'Response.write query + Adors.Open query, adoConn, 1 + + if Adors.RecordCount > 0 Then + p_sn = Adors("p_sn") + p_cli_company_cd = Adors("p_cli_company_cd") + p_cli_per_cd = Adors("p_cli_per_cd") + + p_state = Adors("p_state") + p_subject = Adors("p_subject") + p_cli_company_nm = Adors("p_cli_company_nm") + p_cli_depart = Adors("p_cli_depart") + p_cli_per_nm = Adors("p_cli_per_nm") + p_cli_per_com_tel = Adors("p_cli_per_com_tel") + p_cli_per_tel = Adors("p_cli_per_tel") + p_cli_per_email = Adors("p_cli_per_email") + + p_project_type_cd = Adors("p_project_type_cd") + p_project_nation_cd = Adors("p_project_nation_cd") + + p_client_type_cd = Adors("p_client_type_cd") + p_depart_dep = Adors("p_depart_dep") + p_depart_dep2 = Adors("p_depart_dep2") + p_decide_date = Adors("p_decide_date") + p_con_date_st = Adors("p_con_date_st") + p_con_date_end = Adors("p_con_date_end") + p_export_range = Adors("p_export_range") + p_category = Adors("p_category") + p_memo = Adors("p_memo") + p_input_user = Adors("p_input_user") + p_research_complete = Adors("p_research_complete") + p_field_complete = Adors("p_field_complete") + p_dp_complete = Adors("p_dp_complete") + p_it_complete = Adors("p_it_complete") + + If p_sub_type = "M" then + q = "select p_sn, p_sub_type, p_child_sn from T_PROJECT_METHOD where p_sn = '" & p_sn & "' and p_sub_type = '" & p_sub_type & "' " + else + q = "select p_sn, p_sub_type, p_child_sn from T_PROJECT_METHOD where p_sn = '" & p_sn & "' and p_sub_type = '" & p_sub_type & "' and p_child_sn = '"& Request("p_child_sn") &"' " + End If + + Rs.Open q, adoConn, 1 + + if Rs.RecordCount > 0 Then + query_p_child_sn = " and p_child_sn in ( " + query_p_child_sn2 = " and convert(varchar(50), target20) in ( " + for i = 1 to Rs.RecordCount + If i > 1 Then + query_p_child_sn = query_p_child_sn & "," + query_p_child_sn2 = query_p_child_sn2 & "," + End if + query_p_child_sn = query_p_child_sn & " '" & Rs("p_child_sn") & "' " + query_p_child_sn2 = query_p_child_sn2 & " '" & Rs("p_child_sn") & "' " + Rs.MoveNext + Next + query_p_child_sn = query_p_child_sn & " ) " + query_p_child_sn2 = query_p_child_sn2 & " ) " + end if + Rs.Close + + '¿¹»ó °è¾à¾× ,¼öÁ¤ + if Adors("p_cont_cost") <> "" then + tmp_len = len(Adors("p_cont_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + p_cont_cost = "," & p_cont_cost + end if + p_cont_cost = left(right(Adors("p_cont_cost"),i), 1) & p_cont_cost + next + Else + p_cont_cost = 0 + end If + + Dim p_category_arr(19) + If p_category <> "" Then + temp_category_arr = Split(p_category, ",") + + If UBound(temp_category_arr)-1 > 0 Then + For i = 0 To UBound(temp_category_arr)-1 Step 1 + p_category_arr(temp_category_arr(i)-1) = temp_category_arr(i) + Next + Else + If UBound(temp_category_arr) = 1 Then + If Trim(temp_category_arr(0)) <> "" Then + p_category_arr(temp_category_arr(0)-1) = temp_category_arr(0) + End if + End if + End if + End if + + end If + + if tmp_year = "" then + tmp_year = year(date) + end If + + p_depart = Session("Depart_Code") + cost_type = "" + + if (p_depart >= 20 and p_depart <=99) then + p_depart_name = "research" '##### ¿¬±¸ + cost_type = "research" + elseif p_depart = 12 then + p_depart_name = "field" '##### ½Ç»ç(QCÆ÷ÇÔ) + cost_type = "field" + elseif p_depart = 17 then + p_depart_name = "dp" '##### DP(ÄÚµùÆ÷ÇÔ) + cost_type = "dp" + else + p_depart_name = "admin" + end If + + dim p_rsch_a_per, p_rsch_b_per, p_rsch_c_per + dim p_rsch_a_yn, p_rsch_b_yn, p_rsch_c_yn + + q = " DECLARE @prjcode nvarchar(20) " + If temp_p_child_sn = "" Then + q = q & " set @prjcode='" & Request("p_child_sn") & "' " + Else + q = q & " set @prjcode='" & temp_p_child_sn & "' " + End if + q = q & " " + q = q & " DECLARE @t1 int " + q = q & " DECLARE @t2 nchar(3) " + q = q & " " + q = q & " DECLARE @x1 int, @x2 int, @x3 int " + q = q & " set @x1=0 set @x2=0 set @x3=0 " + q = q & " " + q = q & " DECLARE @z1 int, @z2 int, @z3 int " + q = q & " set @z1=0 set @z2=0 set @z3=0 " + q = q & " " + q = q & " select @t1=p_export_range from dbo.T_PROJECT_METHOD " + q = q & " where p_child_sn=@prjcode " + q = q & " " + q = q & " select @t2=p_gubn from dbo.T_PROJECT_METHOD_CD " + q = q & " where p_method_cd in ( " + q = q & " select p_method_cd from dbo.T_PROJECT_METHOD " + q = q & " where p_child_sn=@prjcode " + q = q & " ) " + q = q & " " + q = q & " select @x1=tplan,@x2=tprogress,@x3=treport from dbo.sales_index " + q = q & " where div_use='1' " + q = q & " and prj_type=@t2 " + q = q & " and service_type=@t1 " + q = q & " and convert(nvarchar(4),tyear)+'-'+tmonth in ( " + q = q & " select top 1 convert(nvarchar(4),tyear)+'-'+tmonth from dbo.sales_index " + q = q & " where div_use='1' " + q = q & " ) " + q = q & " group by tplan,tprogress,treport " + q = q & " " + q = q & " select " + q = q & " @z1=case when isnull(p_rsch_1_a,'')+isnull(p_rsch_2_a,'')+isnull(p_rsch_3_a,'')+isnull(p_rsch_4_a,'')='' then '0' else '1' end, " + q = q & " @z2=case when isnull(p_rsch_1_b,'')+isnull(p_rsch_2_b,'')+isnull(p_rsch_3_b,'')+isnull(p_rsch_4_b,'')='' then '0' else '1' end, " + q = q & " @z3=case when isnull(p_rsch_1_c,'')+isnull(p_rsch_2_c,'')+isnull(p_rsch_3_c,'')+isnull(p_rsch_4_c,'')='' then '0' else '1' end " + q = q & " from dbo.T_PROJECT_METHOD " + q = q & " where p_child_sn=@prjcode " + q = q & " " + q = q & " select @x1 as x1,@x2 as x2,@x3 as x3, @z1 as z1,@z2 as z2,@z3 as z3 " + + Rs.Open q, adoConn, 1 +' response.Write Rs.recordCount +' if Rs.recordCount > 0 Then + if not Rs.eof Then + p_rsch_a_per = Rs("x1") + p_rsch_b_per = Rs("x2") + p_rsch_c_per = Rs("x3") + + p_rsch_a_yn = Rs("z1") + p_rsch_b_yn = Rs("z2") + p_rsch_c_yn = Rs("z3") + end if + Rs.Close +%> + +
+ +
+

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + q = " " + q = q & " select intranet_project, "&VbCrlf + q = q & " p_child_sn, "&VbCrlf + q = q & " p_subject, "&VbCrlf + q = q & " allocation_cnt, "&VbCrlf + q = q & " escalation_cnt, "&VbCrlf + q = q & " error_cnt, "&VbCrlf + q = q & " complete_cnt, "&VbCrlf + q = q & " round(tok_rating, 2) as tok_rating, "&VbCrlf + q = q & " round(error_rating, 2) as error_rating "&VbCrlf + q = q & " from "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " select intranet_project, "&VbCrlf + q = q & " p_child_sn, "&VbCrlf + q = q & " p_subject, "&VbCrlf + q = q & " allocation_cnt, "&VbCrlf + q = q & " escalation_cnt, "&VbCrlf + q = q & " error_cnt, "&VbCrlf + q = q & " complete_cnt, "&VbCrlf + q = q & " case when complete_cnt = 0 then 0.00 else case when escalation_cnt = 0 then 0.00 else round(convert(float, complete_cnt)/escalation_cnt * 100, 2) end end as tok_rating, "&VbCrlf + q = q & " case when error_cnt = 0 then 0.00 else case when escalation_cnt = 0 then 0.00 else round(convert(float, error_cnt)/escalation_cnt * 100, 2) end end as error_rating "&VbCrlf + q = q & " from "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " SELECT case when TPM.intranet_project = '' then T.p_child_sn else TPM.intranet_project end as intranet_project, "&VbCrlf + q = q & " T.p_child_sn, "&VbCrlf + q = q & " TPM.p_subject, "&VbCrlf + q = q & " 0 as allocation_cnt, "&VbCrlf + q = q & " isnull(escalation_cnt,0) as escalation_cnt, "&VbCrlf + q = q & " isnull(T.error_cnt,0) as error_cnt, "&VbCrlf + q = q & " isnull(T.tok_cnt,0) as complete_cnt "&VbCrlf + q = q & " FROM "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " SELECT p_child_sn, "&VbCrlf + q = q & " sum(escalation_cnt) as escalation_cnt, "&VbCrlf + q = q & " sum(tok_cnt) as tok_cnt, "&VbCrlf + q = q & " sum(error_cnt) as error_cnt, "&VbCrlf + q = q & " sum(no_tel) as no_tel "&VbCrlf + q = q & " FROM "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " SELECT C.p_sn as p_child_sn, "&VbCrlf + q = q & " C.m_no as i_id, "&VbCrlf + q = q & " C.m_name, "&VbCrlf + q = q & " CASE WHEN isnull(C.r_sn, 0) <> 0 THEN 1 ELSE 0 END as escalation_cnt, "&VbCrlf + q = q & " D.r_result, "&VbCrlf + q = q & " CASE WHEN (D.r_result = '1' and D.qc_stat='OK') OR D.pass_stat = 'pass' THEN 1 ELSE 0 END as tok_cnt, "&VbCrlf + q = q & " CASE WHEN pass_stat = 'ERROR' THEN 1 ELSE 0 END as error_cnt, "&VbCrlf + q = q & " CASE WHEN D.r_result in ('5', '6', '7') AND isnull(D.pass_stat,'') not in ('error','pass') THEN 1 ELSE 0 END as no_tel "&VbCrlf + q = q & " FROM "&VbCrlf + q = q & " res C "&VbCrlf + q = q & " LEFT OUTER JOIN project2.dbo.T_INSPECTION_RES as D ON D.p_sn = C.p_sn AND D.r_sn = C.r_sn AND D.m_name = C.m_name "&VbCrlf + q = q & " where r_error is null "&VbCrlf + q = q & " AND s_error is null "&VbCrlf + q = q & " AND m_error is null "&VbCrlf + q = q & " AND q_error is null "&VbCrlf + q = q & " AND DelGubun = 'N' "&VbCrlf + q = q & " group by C.p_sn, C.m_no, C.m_name, C.r_sn, D.r_result, D.pass_stat, D.qc_stat "&VbCrlf + q = q & " ) as sumT "&VbCrlf + q = q & " GROUP BY p_child_sn "&VbCrlf + q = q & " ) AS T "&VbCrlf + q = q & " left outer join V_PROJECT_FCS TPM on T.p_child_sn = TPM.p_child_sn "&VbCrlf + q = q & " ) s "&VbCrlf + q = q & " union all "&VbCrlf + q = q & " select p.intranet_project as intranet_project, "&VbCrlf + q = q & " p.prj_code as p_child_sn, "&VbCrlf + q = q & " p.prj_name as p_subject, "&VbCrlf + q = q & " isnull(tqt.allocation_cnt, '0') as allocation_cnt, "&VbCrlf + q = q & " isnull(s.q_complete,'0') as escalation_cnt, "&VbCrlf + q = q & " isnull(error, '0') as error_cnt, "&VbCrlf + q = q & " isnull(tok, '0') as complete_cnt, "&VbCrlf + q = q & " case when isnull(tok, '0') = '0' then 0.00 else case when isnull(s.q_complete,'0') = '0' then 0.00 else round(convert(float, tok)/q_complete * 100, 2) end end as tok_rating, "&VbCrlf + q = q & " case when isnull(error, '0') = '0' then 0.00 else case when isnull(s.q_complete,'0') = '0' then 0.00 else round(convert(float, error)/q_complete * 100, 2) end end as error_rating "&VbCrlf + q = q & " from "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " SELECT CP.* "&VbCrlf + q = q & " FROM NEW_CATI.DBO.PROJECT CP "&VbCrlf + q = q & " left outer join PROJECT2.DBO.V_PROJECT_METHOD TPM ON CP.intranet_project = TPM.p_child_sn "&VbCrlf + q = q & " WHERE ISNULL(CP.prj_end_chk, 'Ãë¼Ò') != 'Ãë¼Ò' "&VbCrlf + q = q & " AND ISNULL(TPM.p_field_complete,'') = '' "&VbCrlf + q = q & " ) p left outer join "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " select sum(q_allocation) as allocation_cnt, "&VbCrlf + q = q & " prj_code "&VbCrlf + q = q & " from new_cati.dbo.T_QUOTA_TABLE "&VbCrlf + q = q & " where type='1' "&VbCrlf + q = q & " group by prj_code "&VbCrlf + q = q & " ) tqt on p.prj_code = tqt.prj_code left outer join "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " select T.prj_code, count(s_tcnt) as q_complete from "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " select s_tcnt, prj_code "&VbCrlf + q = q & " from new_cati.dbo.sheet1_send "&VbCrlf + q = q & " where chk='4' "&VbCrlf + q = q & " union all "&VbCrlf + q = q & " select s_tcnt, prj_code "&VbCrlf + q = q & " from new_cati.dbo.sheet1 "&VbCrlf + q = q & " ) T left outer join new_cati.dbo.T_INSPECTION_CATI A "&VbCrlf + q = q & " ON T.prj_code = A.prj_code and T.s_tcnt = A.tel_cnt and A.tel_del_yn = 'N' "&VbCrlf + q = q & " group by T.prj_code "&VbCrlf + q = q & " ) s on p.prj_code = s.prj_code left outer join "&VbCrlf + q = q & " ( "&VbCrlf + q = q & " select sum(case when tel_result = '1' then 1 else 0 end) as tok, sum(case when tel_result = '2' then 1 else 0 end) as error, a.prj_code "&VbCrlf + q = q & " from "&VbCrlf + q = q & " (select s_tcnt, s_client, prj_code from new_cati.dbo.sheet1 union all select s_tcnt, s_client, prj_code from new_cati.dbo.sheet1_send where chk = '4') a "&VbCrlf + q = q & " left outer join new_cati.dbo.T_INSPECTION_CATI b on a.prj_code = b.prj_code and a.s_client = b.tel_client_no and a.s_tcnt = b.tel_cnt "&VbCrlf + q = q & " where tel_del_yn='N' "&VbCrlf + q = q & " group by a.prj_code "&VbCrlf + q = q & " ) tci on s.prj_code = tci.prj_code "&VbCrlf + q = q & " ) a "&VbCrlf + If temp_p_child_sn = "" Then + q = q & " where isnull(intranet_project, '') <> '' and intranet_project = '" & Request("p_child_sn") & "' "&VbCrlf + Else + q = q & " where isnull(intranet_project, '') <> '' and intranet_project = '" & temp_p_child_sn & "' "&VbCrlf + End If + ' Response.Write q + Rs.Open q, adoConn, 1 + if Rs.recordCount > 0 then + %> + + + + + + + <% + end if + + Rs.close + %> + + + + + + + + + + + + + + <% + If CInt(p_progress_status(1)) > 1 Then + %> + + + + + + + <% + End if + %> + + + + + + + + + + + + + + + + <% + If detailViewShow Then + %> + + <% If Session("teamplace") <> 10 Then 'ÀÎÅÏ,°è¾àÁ÷,ÇÁ¸®·£¼­ÀÏ °æ¿ì ¾Èº¸À̵µ·Ï %> + + <% end if %> + + <% + Else + %> + + + + <% + End If + %> +
+
+ + ÇÁ·ÎÁ§Æ® °³¿ä +
+
+ <% + q = " SELECT case when d_order_cnt = '2' then 'ÆÀÀå' " + q = q & " when d_order_cnt = '3' then 'ºÎ¼­Àå' " + q = q & " when d_order_cnt = '4' then 'ÀÓ¿ø' " + q = q & " when d_order_cnt = '5' then '´ëÇ¥ÀÌ»ç' end as order_name, d_order1, d_order2, d_order3, d_order4, d_order5, " + q = q & " case when dbo.split(cast(target100 as varchar(100)), '^^', 1) = '/' then '¹Ì°áÀç' else dbo.split(cast(target100 as varchar(100)), '^^', 1) end as d_order1_date, " + q = q & " case when dbo.split(cast(target100 as varchar(100)), '^^', 2) = '/' then '¹Ì°áÀç' else dbo.split(cast(target100 as varchar(100)), '^^', 2) end as d_order2_date, " + q = q & " case when dbo.split(cast(target100 as varchar(100)), '^^', 3) = '/' then '¹Ì°áÀç' else dbo.split(cast(target100 as varchar(100)), '^^', 3) end as d_order3_date, " + q = q & " case when dbo.split(cast(target100 as varchar(100)), '^^', 4) = '/' then '¹Ì°áÀç' else dbo.split(cast(target100 as varchar(100)), '^^', 4) end as d_order4_date, " + q = q & " case when dbo.split(cast(target100 as varchar(100)), '^^', 5) = '/' then '¹Ì°áÀç' else dbo.split(cast(target100 as varchar(100)), '^^', 5) end as d_order5_date " + q = q & " FROM ¹®¼­³»¿ë m left outer join Document d ON m.¹®¼­¹øÈ£ = d.D_no " + q = q & " WHERE m.p_child_sn = '" & Request("p_child_sn") & "' and d_order_cnt not in ('99', '77') and m.del_yes_no = 'no' " + + Rs.Open q, adoConn, 1 + order_name = "" + if Rs.recordCount > 0 then + order_name = Rs("order_name") + %> + + + + + + + + + + + + + + + + + +
»ó½ÅÀÚ±×·ìÀåÆÄÆ®³Ê´ëÇ¥ÀÌ»ç
<%if Rs("d_order1") = "Àü°á" then %>Àü°á<%else %><%=Rs("d_order1_date")%><%end if %><%if Rs("d_order3") = "Àü°á" then %>Àü°á<%else %><%=Rs("d_order3_date")%><%end if %><%if Rs("d_order4") = "Àü°á" then %>Àü°á<%else %><%=Rs("d_order4_date")%><%end if %><%if Rs("d_order5") = "Àü°á" then %>Àü°á<%else %><%=Rs("d_order5_date")%><%end if %>
<%=order_name %> °áÀç ´Ü°è
+ <% + end if + Rs.close + %> +
ÇÁ·ÎÁ§Æ® ¹øÈ£ + <% If p_sub_type = "C" Then %> + "> + <% Else %> + "> + <% End If %> + + + <% If p_sub_type = "C" Then %> + "> + + <% End If %> + + + + + + + + "/> + + + "/> + ÇÁ·ÎÁ§Æ® ¸í + " <% If session("depart_code") <> p_depart_dep Then %>readonly<% End if %>> +
Ŭ¶óÀ̾ðÆ®
ȸ»ç + + + + ¾÷Á¾ + +
ºÎ¼­ + + °è¾à ±â°£ + + ~ + +
´ã´çÀÚ À̸§ + + °è¾à ÀÏÀÚ + +
ȸ»ç¹øÈ£ + + ´ÜÀ§ °è¾à¾× + <% + '2016-07-20 Àüü°è¾à±Ý¾×Àº T_PROJECT_BASEÀÇ p_total_cost·Î »ç¿ëÇϱâ·Î ÇÔ ==================== + q = " select SUM(p_cont_cost) as all_project_cont_cost " + q = q +" from ( " + q = q +" select p_sn, p_sub_type, SUM(p_cont_cost) as p_cont_cost from t_project_method where p_sn = '" & p_sn & "' " + If temp_p_child_sn = "" Then + q = q +" and p_child_sn <> '" & Request("p_child_sn") & "' " + Else + q = q +" and p_child_sn <> '" & temp_p_child_sn & "' " + End if + q = q +" and p_sub_type = 'C' group by p_sn, p_sub_type " + q = q +" ) as t " + + Rs.Open q, adoConn, 1 + + Dim all_project_cont_cost + all_project_cont_cost = 0 + If Rs.RecordCount > 0 then + all_project_cont_cost = Rs("all_project_cont_cost") + End If + + Rs.close + '================================================================================================= + %> + + <% + all_project_total_cost = "" + q = " select p_total_cost " + q = q +"from T_PROJECT_base where p_sn = '" & p_sn & "' " + Rs.Open q, adoConn, 1 + If Rs.RecordCount > 0 then + if Rs("p_total_cost") <> "" then + tmp_len = len(Rs("p_total_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + all_project_total_cost = "," & all_project_total_cost + end if + all_project_total_cost = left(right(Rs("p_total_cost"),i), 1) & all_project_total_cost + next + Else + all_project_total_cost = 0 + end If + End If + Rs.close + %> + + ¿ø (VATº°µµ) + +   [Àüü ¼öÁÖ±Ý¾× : <%=all_project_total_cost%>¿ø] + + +
´ã´çÀÚ ÈÞ´ëÆù + + ÀüüÁ÷Á¢ºñ ¿¹»ê(ºñÀ²) + <% + q = " select sum(T.total_money) as total_money " + q = q + " from( " + q = q + " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'research' and del_yes_no = 'no' " '##### ¿¬±¸ + q = q + query_p_child_sn + q = q + " union all " + q = q + " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'field' and del_yes_no = 'no' " '##### ½Ç»ç + q = q + query_p_child_sn + q = q + " ) as T " + Rs.Open q, adoConn, 1 + + tmp_total_money = "" + tmp_total_rate = "" + + if Rs.RecordCount = 1 Then + if Rs("total_money") <> "" then + tmp_len = len(Rs("total_money")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + tmp_total_money = "," & tmp_total_money + end if + tmp_total_money = left(right(Rs("total_money"),i), 1) & tmp_total_money + Next + + If p_cont_cost = 0 Then + tmp_total_rate = "0.00" + Else + tmp_total_rate = formatnumber((tmp_total_money / p_cont_cost) * 100, 2) + End if + Else + tmp_total_money = "0" + tmp_total_rate = "0" + end If + %> + <%=tmp_total_money%>¿ø (VATº°µµ), ºñÀ² : <%=tmp_total_rate%>% + <% + end if + Rs.Close + %> +
À̸ÞÀÏ + + ¿ë¿ª¹üÀ§ + <% + q = " SELECT p_gubn " + q = q +" FROM T_PROJECT_METHOD_CD " + q = q +" WHERE p_method_cd in (SELECT p_method_cd FROM T_PROJECT_METHOD WHERE " + If temp_p_child_sn = "" Then + q = q +" p_child_sn = '" & Request("p_child_sn") & "') " + Else + q = q +" p_child_sn = '" & temp_p_child_sn & "') " + End if + + Rs.Open q, adoConn, 1 + + Dim p_gubn + + If Rs.RecordCount > 0 then + p_gubn = Rs("p_gubn") + End If + + Rs.close + %> + +
KRi or KRC or KRD + <% if "kri" = p_project_type_cd then %> KRi <% end if %> + <% if "krc" = p_project_type_cd then %> KRC <% end if %> + <% if "krt" = p_project_type_cd then %> KRT <% end if %> + <% if "krd" = p_project_type_cd then %> KRD <% end if %> + Á¶»ç ±¹°¡ + <% if "ko" = p_project_nation_cd then %> ±¹³» Á¶»ç <% end if %> + <% if "fn" = p_project_nation_cd then %> ÇØ¿Ü Á¶»ç <% end if %> +
Á¶»ç³»¿ë + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ checked<% End if %>>°í°´¸¸Á·µµ + + checked<% End if %>>A&U/½ÇÅÂÁ¶»ç + + checked<% End if %>>±¤°íÈ¿°ú + + checked<% End if %>>ÄÁ¼ÁÅ×½ºÆ® + + checked<% End if %>>Á¦Ç°·Â +
+ checked<% End if %>>¼ö¿ä¿¹Ãø + + checked<% End if %>>±â¾÷À̹ÌÁö + + checked<% End if %>>ÆÇ¸Å/À¯Åë + + checked<% End if %>>ÇàÁ¤¼­ºñ½º + + checked<% End if %>>Á¤Ä¡/»çȸÇö¾È +
+ checked<% End if %>>¼±°Å¿©·Ð + + checked<% End if %>>Á¤Ã¥°ü·Ã + + checked<% End if %>>û·Åµµ + + checked<% End if %>>ºê·£µåÁø´Ü + + checked<% End if %>>Segmentation +
+ checked<% End if %>>Positioning + + checked<% End if %>>½ÅÁ¦Ç°°³¹ß + + checked<% End if %>>µðÀÚÀÎ/UIÅ×½ºÆ® + + checked<% End if %>>±âŸ +
+
+
+ + <% + if p_sub_type = "M" then + cost_p_child_sn = p_sn + else + cost_p_child_sn = request("p_child_sn") + end if + + %> + ºñ¿ë ÁýÇà ÇöȲ +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
±¸ºÐ¿¹»ê ºñ¿ë´©Àû ÁýÇà ±Ý¾×Â÷¾×ºñÀ²
¿¬±¸½Ç»ç¿¬±¸½Ç»ç°æ¿µÀü·«½Ç
(´©Àû ÁýÇà ºñ¿ë)
¿¬±¸½Ç»ç¿¬±¸½Ç»ç
Á÷Á¢ºñ + <% + q = " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'research' and del_yes_no = 'no' " '¿¬±¸ + q = q + query_p_child_sn + + Rs.Open q, adoConn, 1 + + tmp_research_esti_money = "" + + if Rs.RecordCount = 1 Then + if Rs("total_money") <> "" then + tmp_len = len(Rs("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_research_esti_money = "," & tmp_research_esti_money + end if + tmp_research_esti_money = left(right(Rs("total_money"),j), 1) & tmp_research_esti_money + Next + Else + tmp_research_esti_money = "0" + end If + %> + <%=tmp_research_esti_money%>¿ø + <% + end if + Rs.Close + %> + + <% + q = " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'field' and del_yes_no = 'no' " ' ½Ç»ç + q = q + query_p_child_sn + + Rs.Open q, adoConn, 1 + + tmp_field_esti_money = "" + + if Rs.RecordCount = 1 Then + if Rs("total_money") <> "" then + tmp_len = len(Rs("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_field_esti_money = "," & tmp_field_esti_money + end if + tmp_field_esti_money = left(right(Rs("total_money"),j), 1) & tmp_field_esti_money + Next + Else + tmp_field_esti_money = "0" + end If + %> + <%=tmp_field_esti_money%>¿ø + <% + end if + Rs.Close + %> + + <% + q = " select SUM(convert(float, act_money)) as total_money from direct_cost " + q = q & " where cost_type = 'research' and del_yes_no = 'no' " + + if p_sub_type = "M" then + q = q & " and p_sn LIKE '"& p_sn &"%' " + else + q = q & " and p_sn LIKE '"& p_sn &"%' and p_child_sn = '" & request("p_child_sn") & "' " + end If + + Rs.Open q, adoConn, 1 + + tmp_research_actual_money = "" + + if Rs.RecordCount = 1 Then + if Rs("total_money") <> "" then + tmp_len = len(Rs("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_research_actual_money = "," & tmp_research_actual_money + end if + tmp_research_actual_money = left(right(Rs("total_money"),j), 1) & tmp_research_actual_money + Next + Else + tmp_research_actual_money = "0" + end If + %> + <%=tmp_research_actual_money%>¿ø + <% + end if + Rs.Close + %> + + <% + q = " select SUM(convert(money, act_money)) as total_money from direct_cost " + q = q & " where cost_type = 'field' and del_yes_no = 'no' " + + if p_sub_type = "M" then + q = q & " and p_sn LIKE '"& p_sn &"%' " + else + q = q & " and p_sn LIKE '"& p_sn &"%' and p_child_sn = '" & request("p_child_sn") & "' " + end If + + Rs.Open q, adoConn, 3, 1 + + tmp_field_actual_money = "" + + if Rs.RecordCount = 1 Then + if Rs("total_money") <> "" then + tmp_len = len(Rs("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_field_actual_money = "," & tmp_field_actual_money + end if + tmp_field_actual_money = left(right(Rs("total_money"),j), 1) & tmp_field_actual_money + Next + Else + tmp_field_actual_money = "0" + end If + %> + <%=tmp_field_actual_money%>¿ø + <% + end if + Rs.Close + %> + + <% + q = " select SUM(convert(float, act_money)) as total_money from direct_cost " + q = q & " where cost_type = 'support' and del_yes_no = 'no' " + + if p_sub_type = "M" then + q = q & " and p_sn LIKE '"& p_sn &"%' " + else + q = q & " and p_sn LIKE '"& p_sn &"%' and p_child_sn = '" & request("p_child_sn") & "' " + end If + + Rs.Open q, adoConn, 1 + + tmp_support_actual_money = "" + + if Rs.RecordCount = 1 Then + if Rs("total_money") <> "" then + tmp_len = len(Rs("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_support_actual_money = "," & tmp_support_actual_money + end if + tmp_support_actual_money = left(right(Rs("total_money"),j), 1) & tmp_support_actual_money + Next + Else + tmp_support_actual_money = "0" + end If + %> + <%=tmp_support_actual_money%>¿ø + <% + end if + Rs.Close + %> + + <% + tmp_research_difference_money = "" + tmp_len = len(tmp_research_esti_money - tmp_research_actual_money) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_research_difference_money = "," & tmp_research_difference_money + end if + tmp_research_difference_money = left(right(tmp_research_esti_money - tmp_research_actual_money,j), 1) & tmp_research_difference_money + Next + %> + <%=tmp_research_difference_money%>¿ø + + <% + tmp_field_difference_money = "" + tmp_len = len(tmp_field_esti_money - tmp_field_actual_money) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_field_difference_money = "," & tmp_field_difference_money + end if + tmp_field_difference_money = left(right(tmp_field_esti_money - tmp_field_actual_money,j), 1) & tmp_field_difference_money + Next + %> + <%=tmp_field_difference_money%>¿ø + + <% + If tmp_research_esti_money = 0 Then + tmp_research_esti_money = 1 + tmp_total_rate = "0.00" + Else + tmp_total_rate = formatnumber((tmp_research_actual_money / tmp_research_esti_money) * 100, 2) + End if + %> + <%=tmp_total_rate%>% + + <% + If tmp_field_esti_money = 0 Then + tmp_field_esti_money = 1 + tmp_total_rate = "0.00" + Else + tmp_total_rate = formatnumber((tmp_field_actual_money / tmp_field_esti_money) * 100, 2) + End if + %> + <%=tmp_total_rate%>% +
+
+
+ + ÁøÇà ÇöȲ +
+
+ + + + + + + + + + + + <% + do while not Rs.Eof + %> + + + + + + + + + + + <% + Rs.moveNext + loop + %> +
ÇÏÀ§ ÇÁ·ÎÁ§Æ®ÄÚµåÇÏÀ§ ÇÁ·ÎÁ§Æ®Á¦¸ñÇÒ´ç·®À̰ü(Á¶»ç¿Ï·á)¿¡·¯¿Ï·á°ËÁõ·ü¿¡·¯À²
', '<%=session("User_Number") %>')"><%= Rs("p_child_sn")%>', '<%=session("User_Number") %>')"><%= Rs("p_subject")%><%= Rs("allocation_cnt")%><%= Rs("escalation_cnt")%><%= Rs("error_cnt")%><%= Rs("complete_cnt")%><%= Rs("tok_rating")%><%= Rs("error_rating")%>
+
+
+ + Á¶»ç µðÀÚÀÎ +
+
+ + + + + + + + + + + + + + + <% + 'Á¶»ç¹æ¹ý °¡Á®¿À±â + query = " SELECT p_index, PMC.p_method_cd, p_method_nm, p_intention, p_child_sn, p_sur_area, p_sur_target, p_sample, p_inspection_rate, p_research_date_st, p_research_date_end, p_sur_part, p_field_process "&VbCrlf + query = query & " ,p_rsch_dept, p_field_dept, p_is_dept, p_it_dept, p_supp_dept "&VbCrlf + query = query & " ,isnull(p_rsch_1_a, '') as p_rsch_1_a, isnull(p_rsch_2_a, '') as p_rsch_2_a, isnull(p_rsch_3_a, '') as p_rsch_3_a, isnull(p_rsch_4_a, '') as p_rsch_4_a "&VbCrlf '##### ¿¬±¸ + query = query & " ,isnull(p_rsch_1_b, '') as p_rsch_1_b, isnull(p_rsch_2_b, '') as p_rsch_2_b, isnull(p_rsch_3_b, '') as p_rsch_3_b, isnull(p_rsch_4_b, '') as p_rsch_4_b "&VbCrlf '##### ¿¬±¸ + query = query & " ,isnull(p_rsch_1_c, '') as p_rsch_1_c, isnull(p_rsch_2_c, '') as p_rsch_2_c, isnull(p_rsch_3_c, '') as p_rsch_3_c, isnull(p_rsch_4_c, '') as p_rsch_4_c "&VbCrlf '##### ¿¬±¸ + query = query & " ,isnull(p_sv_1, '') as p_sv_1 , isnull(p_sv_2, '') as p_sv_2 , isnull(p_sv_3, '') as p_sv_3 , isnull(p_sv_4, '') as p_sv_4 "&VbCrlf '##### ½Ç»ç + query = query & " ,isnull(p_punch_1, '') as p_punch_1 , isnull(p_punch_2, '') as p_punch_2 , isnull(p_punch_3, '') as p_punch_3 , isnull(p_punch_4, '') as p_punch_4 "&VbCrlf '##### ½Ç»ç + query = query & " ,isnull(p_verify_1, '') as p_verify_1, isnull(p_verify_2, '') as p_verify_2, isnull(p_verify_3, '') as p_verify_3, isnull(p_verify_4, '') as p_verify_4 "&VbCrlf '##### ½Ç»ç + query = query & " ,isnull(p_code_1, '') as p_code_1 , isnull(p_code_2, '') as p_code_2 , isnull(p_code_3, '') as p_code_3 , isnull(p_code_4, '') as p_code_4 "&VbCrlf '##### DP + query = query & " ,isnull(p_dp_1, '') as p_dp_1 , isnull(p_dp_2, '') as p_dp_2 , isnull(p_dp_3, '') as p_dp_3 , isnull(p_dp_4, '') as p_dp_4 "&VbCrlf '##### DP + query = query & " ,isnull(p_it_1, '') as p_it_1 , isnull(p_it_2, '') as p_it_2 , isnull(p_it_3, '') as p_it_3 , isnull(p_it_4, '') as p_it_4 "&VbCrlf '##### °æ¿µÀü·«½Ç + query = query & " ,isnull(p_supp_1, '') as p_supp_1 , isnull(p_supp_2, '') as p_supp_2 , isnull(p_supp_3, '') as p_supp_3 , isnull(p_supp_4, '') as p_supp_4 "&VbCrlf + query = query & " ,isnull(p_rsch_date_st, '') as p_rsch_date_st, isnull(p_rsch_date_end, '') as p_rsch_date_end, isnull(p_field_date_st, '') as p_field_date_st, isnull(p_field_date_end, '') as p_field_date_end "&VbCrlf + query = query & " ,isnull(p_punch_date_st, '') as p_punch_date_st, isnull(p_punch_date_end, '') as p_punch_date_end "&VbCrlf + query = query & " ,isnull(p_code_date_st, '') as p_code_date_st, isnull(p_code_date_end, '') as p_code_date_end, isnull(p_verify_date_st, '') as p_verify_date_st, isnull(p_verify_date_end, '') as p_verify_date_end "&VbCrlf + query = query & " ,isnull(p_dp_date_st, '') as p_dp_date_st, isnull(p_dp_date_end, '') as p_dp_date_end, isnull(p_it_date_st, '') as p_it_date_st, isnull(p_it_date_end, '') as p_it_date_end "&VbCrlf + query = query & " ,isnull(p_premeet_date, '') as p_premeet_date, isnull(p_premeet_time, '') as p_premeet_time, isnull(p_premeet_place, '') as p_premeet_place "&VbCrlf + query = query & " ,isnull(p_ot_date, '') as p_ot_date, isnull(p_ot_time, '') as p_ot_time, isnull(p_ot_place, '') as p_ot_place, isnull(p_sur_memo, '') as p_sur_memo, isnull(p_memo, '') as p_memo "&VbCrlf + query = query & " ,p_progress_flag, p_progress_status, p_input_complete "&VbCrlf + query = query & " FROM T_PROJECT_METHOD PM INNER JOIN T_PROJECT_METHOD_CD PMC ON PM.p_method_cd = PMC.p_method_cd "&VbCrlf + query = query & " WHERE p_method_yn = 'y' "&VbCrlf + query = query & " AND p_sn = '" & p_sn & "'"&VbCrlf + query = query & " AND p_sub_type = '" & p_sub_type & "'"&VbCrlf + + If p_sub_type = "C" Then + query = query & " AND PM.p_method_cd = '" & req_p_method_cd & "'"&VbCrlf + If initstatus <> "init" Then + query = query & " AND PM.p_child_sn = '" & Request("p_child_sn") & "'"&VbCrlf + End if + End If + 'Response.Write Query + Rs.Open query, adoConn, 1 + + if Rs.RecordCount > 0 then + for i = 1 to Rs.RecordCount + If Rs("p_progress_flag") = "" Then + 'ÇÁ·ÎÁ§Æ® º» Å×ÀÌºí ¼öÁ¤ + '--------------------------------------- + query2 = " UPDATE T_PROJECT_METHOD " + query2 = query2 & " SET p_progress_flag = 'xxx' " + '##### ¿¬±¸ + query2 = query2 & " ,p_rsch_1_a = '' " + query2 = query2 & " ,p_rsch_2_a = '' " + query2 = query2 & " ,p_rsch_3_a = '' " + query2 = query2 & " ,p_rsch_4_a = '' " + query2 = query2 & " ,p_rsch_1_b = '' " + query2 = query2 & " ,p_rsch_2_b = '' " + query2 = query2 & " ,p_rsch_3_b = '' " + query2 = query2 & " ,p_rsch_4_b = '' " + query2 = query2 & " ,p_rsch_1_c = '' " + query2 = query2 & " ,p_rsch_2_c = '' " + query2 = query2 & " ,p_rsch_3_c = '' " + query2 = query2 & " ,p_rsch_4_c = '' " + '##### ½Ç»ç + query2 = query2 & " ,p_sv_1 = '' " + query2 = query2 & " ,p_sv_2 = '' " + query2 = query2 & " ,p_sv_3 = '' " + query2 = query2 & " ,p_sv_4 = '' " + query2 = query2 & " ,p_punch_1 = '' " + query2 = query2 & " ,p_punch_2 = '' " + query2 = query2 & " ,p_punch_3 = '' " + query2 = query2 & " ,p_punch_4 = '' " + query2 = query2 & " ,p_verify_1 = '' " + query2 = query2 & " ,p_verify_2 = '' " + query2 = query2 & " ,p_verify_3 = '' " + query2 = query2 & " ,p_verify_4 = '' " + query2 = query2 & " ,p_code_1 = '' " + query2 = query2 & " ,p_code_2 = '' " + query2 = query2 & " ,p_code_3 = '' " + query2 = query2 & " ,p_code_4 = '' " + '##### DP + query2 = query2 & " ,p_dp_1 = '' " + query2 = query2 & " ,p_dp_2 = '' " + query2 = query2 & " ,p_dp_3 = '' " + query2 = query2 & " ,p_dp_4 = '' " + '##### °æ¿µÀü·«½Ç + query2 = query2 & " ,p_it_1 = '' " + query2 = query2 & " ,p_it_2 = '' " + query2 = query2 & " ,p_it_3 = '' " + query2 = query2 & " ,p_it_4 = '' " + query2 = query2 & " WHERE p_sn = '"& p_sn &"' and p_child_sn = '"& Request("p_child_sn") &"' and p_method_cd = " & Rs("p_method_cd") & " " + + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query2 + dbin.Close + End If + Rs.moveNext + Next + Rs.Close + End if + + rsa.Open query, adoConn, 1 + + research_count = rsa.RecordCount + %> + + <% + Dim p_index() + Dim p_method_cd() + Dim p_child_sn() + Dim p_intention() + Dim p_sur_area() + Dim p_sur_target() + Dim p_sample() + Dim p_inspection_rate() + Dim p_research_date_st() + Dim p_research_date_end() + Dim p_sur_part() + Dim p_field_process() + Dim p_rsch_dept() + Dim p_rsch_team() + Dim p_field_dept() + Dim p_is_dept() + Dim p_it_dept() '##### °³¹ßÆÀ + Dim p_supp_dept() + Dim p_rsch_a() '##### ¿¬±¸(±âȹ) + Dim p_rsch_b() '##### ¿¬±¸(ºÐ¼®) + Dim p_rsch_c() '##### ¿¬±¸(º¸°í¼­) + Dim p_sv_() '##### ½Ç»ç + Dim p_verify_() '##### ½Ç»ç(°ËÁõ) + Dim p_punch_() '##### ½Ç»ç(ÆÝÄ¡) + Dim p_code_() '##### DP(ÄÚµù) + Dim p_dp_() '##### DP + Dim p_it_() '##### °æ¿µÀü·«½Ç(IT) + Dim p_supp_() + Dim p_rsch_date_st() '##### ¿¬±¸ + Dim p_rsch_date_end() + Dim p_rsch_date_time_st() + Dim p_rsch_date_time_end() + Dim p_field_date_st() '##### ½Ç»ç + Dim p_field_date_end() + Dim p_field_date_time_st() + Dim p_field_date_time_end() + Dim p_verify_date_st() '##### ½Ç»ç(°ËÁõ) + Dim p_verify_date_end() + Dim p_verify_date_time_st() + Dim p_verify_date_time_end() + Dim p_punch_date_st() '##### ½Ç»ç(ÆÝÄ¡) + Dim p_punch_date_end() + Dim p_punch_date_time_st() + Dim p_punch_date_time_end() + Dim p_code_date_st() '##### DP(ÄÚµù) + Dim p_code_date_end() + Dim p_code_date_time_st() + Dim p_code_date_time_end() + Dim p_dp_date_st() '##### DP + Dim p_dp_date_end() + Dim p_dp_date_time_st() + Dim p_dp_date_time_end() + Dim p_it_date_st() '##### °æ¿µÀü·«½Ç(IT) + Dim p_it_date_end() + Dim p_it_date_time_st() + Dim p_it_date_time_end() + Dim p_premeet_date() '##### ³»ºÎ¹ÌÆÃ + Dim p_premeet_time() + Dim p_premeet_place() + Dim p_ot_date() '##### ½Ç»çOT + Dim p_ot_time() + Dim p_ot_place() + Dim p_progress_flag() + Dim p_progress_status() + Dim p_sur_memo() + Dim p_input_complete() + Dim tmp_input_complete() + Dim tmp_progress_flag() + + ReDim p_index(research_count) + ReDim p_method_cd(research_count, 2) + ReDim p_child_sn(research_count) + ReDim p_intention(research_count) + ReDim p_sur_area(research_count) + ReDim p_sur_target(research_count) + ReDim p_sample(research_count) + ReDim p_inspection_rate(research_count) + ReDim p_research_date_st(research_count) + ReDim p_research_date_end(research_count) + ReDim p_sur_part(research_count) + ReDim p_field_process(research_count) + ReDim p_rsch_dept(research_count) + ReDim p_rsch_team(research_count) + ReDim p_field_dept(research_count) + ReDim p_is_dept(research_count) + ReDim p_it_dept(research_count) + ReDim p_supp_dept(research_count) + ReDim p_rsch_a(4, research_count) '##### ¿¬±¸(±âȹ) + ReDim p_rsch_b(4, research_count) '##### ¿¬±¸(½Ç»ç) + ReDim p_rsch_c(4, research_count) '##### ¿¬±¸(º¸°í) + ReDim p_sv_(4, research_count) '##### ½Ç»ç + ReDim p_verify_(4, research_count) '##### ½Ç»ç(°ËÁõ) + ReDim p_punch_(4, research_count) '##### ½Ç»ç(ÆÝÄ¡) + ReDim p_code_(4, research_count) '##### ½Ç»ç(ÄÚµù) + ReDim p_dp_(4, research_count) '##### DP + ReDim p_it_(4, research_count) '##### °æ¿µÀü·«½Ç(IT) + ReDim p_supp_(4, research_count) + ReDim p_rsch_date_st(research_count) '##### ¿¬±¸ + ReDim p_rsch_date_end(research_count) + ReDim p_field_date_st(research_count) '##### ½Ç»ç + ReDim p_field_date_end(research_count) + ReDim p_verify_date_st(research_count) '##### ½Ç»ç(°ËÁõ) + ReDim p_verify_date_end(research_count) + ReDim p_punch_date_st(research_count) '##### ½Ç»ç(ÆÝÄ¡) + ReDim p_punch_date_end(research_count) + ReDim p_code_date_st(research_count) '##### ½Ç»ç(ÄÚµù) + ReDim p_code_date_end(research_count) + ReDim p_dp_date_st(research_count) '##### DP + ReDim p_dp_date_end(research_count) + ReDim p_it_date_st(research_count) '##### °æ¿µÀü·«½Ç(IT) + ReDim p_it_date_end(research_count) + ReDim p_rsch_date_time_st(research_count) '##### ¿¬±¸ + ReDim p_rsch_date_time_end(research_count) + ReDim p_field_date_time_st(research_count) '##### ½Ç»ç + ReDim p_field_date_time_end(research_count) + ReDim p_verify_date_time_st(research_count) '##### ½Ç»ç(°ËÁõ) + ReDim p_verify_date_time_end(research_count) + ReDim p_punch_date_time_st(research_count) '##### ½Ç»ç(ÆÝÄ¡) + ReDim p_punch_date_time_end(research_count) + ReDim p_code_date_time_st(research_count) '##### ½Ç»ç(ÄÚµù) + ReDim p_code_date_time_end(research_count) + ReDim p_dp_date_time_st(research_count) '##### DP + ReDim p_dp_date_time_end(research_count) + ReDim p_it_date_time_st(research_count) '##### °æ¿µÀü·«½Ç(IT) + ReDim p_it_date_time_end(research_count) + ReDim p_premeet_date(research_count) + ReDim p_premeet_time(research_count) + ReDim p_premeet_place(research_count) + ReDim p_ot_date(research_count) + ReDim p_ot_time(research_count) + ReDim p_ot_place(research_count) + ReDim p_progress_flag(research_count) + ReDim p_progress_status(research_count) + ReDim p_input_complete(research_count) + ReDim p_sur_memo(research_count) + + + + p_index(1) = rsa("p_index") + p_method_cd(1, 1) = rsa("p_method_cd") + p_method_cd(1, 2) = rsa("p_method_nm") + + tmp_method_cd = rsa("p_method_cd") + tmp_method_count = i + + If CInt(tmp_method_cd) < 10 Then + tmp_method_cd = "0" & tmp_method_cd + End If + + If tmp_method_count < 10 Then + tmp_method_count = "0" & 1 + End if + + If rsa("p_child_sn") = "" Or Len(rsa("p_child_sn")) < 10 Then + p_child_sn(1) = p_sn & "_" & p_sub_type & tmp_method_count + Else + p_child_sn(1) = rsa("p_child_sn") + End if + + p_intention(1) = rsa("p_intention") + p_sur_area(1) = rsa("p_sur_area") + p_sur_target(1) = rsa("p_sur_target") + p_sample(1) = rsa("p_sample") + p_inspection_rate(1)= rsa("p_inspection_rate") + p_research_date_st(1) = rsa("p_research_date_st") + p_research_date_end(1) = rsa("p_research_date_end") + p_sur_part(1) = rsa("p_sur_part") + p_field_process(1) = rsa("p_field_process") + p_rsch_dept(1) = rsa("p_rsch_dept") + p_field_dept(1) = rsa("p_field_dept") + p_is_dept(1) = rsa("p_is_dept") + p_it_dept(1) = rsa("p_it_dept") + p_supp_dept(1) = rsa("p_supp_dept") + '##### ¿¬±¸ + p_rsch_a(1, 1) = rsa("p_rsch_1_a") + p_rsch_a(2, 1) = rsa("p_rsch_2_a") + p_rsch_a(3, 1) = rsa("p_rsch_3_a") + p_rsch_a(4, 1) = rsa("p_rsch_4_a") + p_rsch_b(1, 1) = rsa("p_rsch_1_b") + p_rsch_b(2, 1) = rsa("p_rsch_2_b") + p_rsch_b(3, 1) = rsa("p_rsch_3_b") + p_rsch_b(4, 1) = rsa("p_rsch_4_b") + p_rsch_c(1, 1) = rsa("p_rsch_1_c") + p_rsch_c(2, 1) = rsa("p_rsch_2_c") + p_rsch_c(3, 1) = rsa("p_rsch_3_c") + p_rsch_c(4, 1) = rsa("p_rsch_4_c") + '##### ½Ç»ç + p_sv_(1, 1) = rsa("p_sv_1") + p_sv_(2, 1) = rsa("p_sv_2") + p_sv_(3, 1) = rsa("p_sv_3") + p_sv_(4, 1) = rsa("p_sv_4") + p_verify_(1, 1) = rsa("p_verify_1") + p_verify_(2, 1) = rsa("p_verify_2") + p_verify_(3, 1) = rsa("p_verify_3") + p_verify_(4, 1) = rsa("p_verify_4") + p_punch_(1, 1) = rsa("p_punch_1") + p_punch_(2, 1) = rsa("p_punch_2") + p_punch_(3, 1) = rsa("p_punch_3") + p_punch_(4, 1) = rsa("p_punch_4") + p_code_(1, 1) = rsa("p_code_1") + p_code_(2, 1) = rsa("p_code_2") + p_code_(3, 1) = rsa("p_code_3") + p_code_(4, 1) = rsa("p_code_4") + '##### DP + p_dp_(1, 1) = rsa("p_dp_1") + p_dp_(2, 1) = rsa("p_dp_2") + p_dp_(3, 1) = rsa("p_dp_3") + p_dp_(4, 1) = rsa("p_dp_4") + '###### °æ¿µÀü·«½Ç + p_it_(1, 1) = rsa("p_it_1") + p_it_(2, 1) = rsa("p_it_2") + p_it_(3, 1) = rsa("p_it_3") + p_it_(4, 1) = rsa("p_it_4") + p_supp_(1, 1) = rsa("p_supp_1") + p_supp_(2, 1) = rsa("p_supp_2") + p_supp_(3, 1) = rsa("p_supp_3") + p_supp_(4, 1) = rsa("p_supp_4") + '##### ¿¬±¸ + if rsa("p_rsch_date_st") <> "" then + p_rsch_date_st(1) = split(rsa("p_rsch_date_st"), " ")(0) + p_rsch_date_time_st(1) = left(split(rsa("p_rsch_date_st"), " ")(1),2) + else + p_rsch_date_st(1) = "" + p_rsch_date_time_st(1) = "" + end if + if rsa("p_rsch_date_end") <> "" then + p_rsch_date_end(1) = split(rsa("p_rsch_date_end"), " ")(0) + p_rsch_date_time_end(1) = left(split(rsa("p_rsch_date_end"), " ")(1),2) + else + p_rsch_date_end(1) = "" + p_rsch_date_time_end(1) = "" + end if + '##### ½Ç»ç + if rsa("p_field_date_st") <> "" then + p_field_date_st(1) = split(rsa("p_field_date_st"), " ")(0) + p_field_date_time_st(1) = left(split(rsa("p_field_date_st"), " ")(1),2) + else + p_field_date_st(1) = "" + p_field_date_time_st(1) = "" + end if + if rsa("p_field_date_end") <> "" then + p_field_date_end(1) = split(rsa("p_field_date_end"), " ")(0) + p_field_date_time_end(1)= left(split(rsa("p_field_date_end"), " ")(1),2) + else + p_field_date_end(1) = "" + p_field_date_time_end(1)= "" + end if + if rsa("p_verify_date_st") <> "" then + p_verify_date_st(1) = split(rsa("p_verify_date_st"), " ")(0) + p_verify_date_time_st(1)= left(split(rsa("p_verify_date_st"), " ")(1),2) + else + p_verify_date_st(1) = "" + p_verify_date_time_st(1)= "" + end if + if rsa("p_verify_date_end") <> "" then + p_verify_date_end(1) = split(rsa("p_verify_date_end"), " ")(0) + p_verify_date_time_end(1)= left(split(rsa("p_verify_date_end"), " ")(1),2) + else + p_verify_date_end(1) = "" + p_verify_date_time_end(1)= "" + end if + if rsa("p_punch_date_st") <> "" then + p_punch_date_st(1) = split(rsa("p_punch_date_st"), " ")(0) + p_punch_date_time_st(1) = left(split(rsa("p_punch_date_st"), " ")(1),2) + else + p_punch_date_st(1) = "" + p_punch_date_time_st(1) = "" + end if + if rsa("p_punch_date_end") <> "" then + p_punch_date_end(1) = split(rsa("p_punch_date_end"), " ")(0) + p_punch_date_time_end(1) = left(split(rsa("p_punch_date_end"), " ")(1),2) + else + p_punch_date_end(1) = "" + p_punch_date_time_end(1) = "" + end if + '###### DP + if rsa("p_code_date_st") <> "" then + p_code_date_st(1) = split(rsa("p_code_date_st"), " ")(0) + p_code_date_time_st(1) = left(split(rsa("p_code_date_st"), " ")(1),2) + else + p_code_date_st(1) = "" + p_code_date_time_st(1) = "" + end if + if rsa("p_code_date_end") <> "" then + p_code_date_end(1) = split(rsa("p_code_date_end"), " ")(0) + p_code_date_time_end(1) = left(split(rsa("p_code_date_end"), " ")(1),2) + else + p_code_date_end(1) = "" + p_code_date_time_end(1) = "" + end if + if rsa("p_dp_date_st") <> "" then + p_dp_date_st(1) = split(rsa("p_dp_date_st"), " ")(0) + p_dp_date_time_st(1) = left(split(rsa("p_dp_date_st"), " ")(1),2) + else + p_dp_date_st(1) = "" + p_dp_date_time_st(1) = "" + end if + if rsa("p_dp_date_end") <> "" then + p_dp_date_end(1) = split(rsa("p_dp_date_end"), " ")(0) + p_dp_date_time_end(1) = left(split(rsa("p_dp_date_end"), " ")(1),2) + else + p_dp_date_end(1) = "" + p_dp_date_time_end(1) = "" + end if + '###### °æ¿µÀü·«½Ç(1T) + if rsa("p_it_date_st") <> "" then + p_it_date_st(1) = split(rsa("p_it_date_st"), " ")(0) + p_it_date_time_st(1) = left(split(rsa("p_it_date_st"), " ")(1),2) + else + p_it_date_st(1) = "" + p_it_date_time_st(1) = "" + end if + if rsa("p_it_date_end") <> "" then + p_it_date_end(1) = split(rsa("p_it_date_end"), " ")(0) + p_it_date_time_end(1) = left(split(rsa("p_it_date_end"), " ")(1),2) + else + p_it_date_end(1) = "" + p_it_date_time_end(1) = "" + end if + p_premeet_date(1) = rsa("p_premeet_date") + p_premeet_time(1) = rsa("p_premeet_time") + p_premeet_place(1) = rsa("p_premeet_place") + p_ot_date(1) = rsa("p_ot_date") + p_ot_time(1) = rsa("p_ot_time") + p_ot_place(1) = rsa("p_ot_place") + p_sur_memo(1) = rsa("p_sur_memo") + p_progress_flag(1) = rsa("p_progress_flag") + p_progress_status(1) = rsa("p_progress_status") + p_input_complete(1) = rsa("p_input_complete") + %> + + + + + + + + + + + + + <% + rsa.Close + %> + +
Á¶»ç¹æ¹ýÁ¶»ç³»¿ëÁ÷Á¢ºñ ¿¹»êÁ¶»çÁö¿ªÁ¶»ç´ë»óÇ¥º»¼öÁ¶»ç±â°£Á¶»çºÐ·ù½Ç»ç¼öÇà°ËÁõ·ü
+ + + + + + + + + + <% + q = " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'field' and del_yes_no = 'no' and p_child_sn = '" & p_child_sn(1) & "' " + + Rs.Open q, adoConn, 1 + + tmp_total_money = "" + + if Rs.RecordCount = 1 Then + if Rs("total_money") <> "" then + tmp_len = len(Rs("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_total_money = "," & tmp_total_money + end if + tmp_total_money = left(right(Rs("total_money"),j), 1) & tmp_total_money + Next + Else + tmp_total_money = "0" + end If + %> + <%=tmp_total_money%>¿ø + <% + end if + Rs.Close + %> + + + + + + + + + ~ + + + + + + + % +
+
+
+ + ¾÷¹« ¼öÇà ÀηÂ/ÀÏÁ¤   + <% + Dim detailViewShow + Dim document_work_flow + + detailViewShow = False + document_work_flow = false + + If CInt(p_progress_status(1)) >= 1 Then + If CInt(p_progress_status(1)) = 1 Then + If session("depart_code") = p_depart_dep or session("depart_code") = "0" or (session("depart_code") = "64" and p_depart_dep = "61") or (session("depart_code") = "63" and p_depart_dep = "62") Then + detailViewShow = true + End If + %> + (Âü¿©ºÎ¼­ Á¤º¸ ÀÔ·Â Áß ÀÔ´Ï´Ù.) + <% + ElseIf CInt(p_progress_status(1)) = 6 Then + detailViewShow = True + query = "select p_progress_flag, p_input_complete, p_field_dept, isnull(sv_prog, '') as sv_prog, isnull(qc_prog, '') as qc_prog " + query = query & " from T_PROJECT_METHOD TPM LEFT JOIN direct_cost_field DCF ON TPM.p_child_sn = DCF.p_child_sn AND DCF.del_yn = 'n' " + query = query & " where p_sn = '"&p_sn&"' and p_sub_type = '"&p_sub_type&"' " + If p_sub_type = "C" Then + query = query + " and TPM.p_child_sn = '"&p_child_sn(1)&"' " + End if + + Dim direct_cost_depart + Dim information_depart + ReDim tmp_input_complete(3) + ReDim tmp_progress_flag(3) + + Rs.Open query, adoConn, 1 + + if Rs.RecordCount > 0 Then + If p_sub_type = "C" Then + if Rs("p_progress_flag") = "ooo" then + If Rs("p_input_complete") = "ooo" Or Rs("p_input_complete") = "oooo" Then '' index 1 ¿¬±¸, index 2 ½Ç»ç, index 3 QCÆÀ + document_work_flow = True + Else + if mid(Rs("p_input_complete"),1,1) = "x" then + direct_cost_depart = "¿¬±¸ " + end if + if mid(Rs("p_input_complete"),2,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "½Ç»ç" + if Rs("p_field_dept") = "8" Then + if Rs("qc_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(QC) " + End If + ElseIf Rs("p_field_dept") = "9" Then + if Rs("sv_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(SV) " + End If + Else + if Rs("sv_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(SV" + if Rs("qc_prog") = "" Then + direct_cost_depart = direct_cost_depart & ", QC) " + Else + direct_cost_depart = direct_cost_depart & ") " + End If + Else + if Rs("qc_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(QC) " + End If + End If + End If + end if + if mid(Rs("p_input_complete"),3,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "QC " + end if + End if + else + if mid(Rs("p_progress_flag"),1,1) = "x" then + information_depart = "¿¬±¸ " + end if + if mid(Rs("p_progress_flag"),2,1) = "x" then + if information_depart <> "" then + information_depart = information_depart & ", " + End if + information_depart = information_depart & "½Ç»ç " + end if + if mid(Rs("p_progress_flag"),3,1) = "x" then + if information_depart <> "" then + information_depart = information_depart & ", " + End if + information_depart = information_depart & "DP " + end if + if mid(Rs("p_input_complete"),1,1) = "x" then + direct_cost_depart = "¿¬±¸ " + end if + if mid(Rs("p_input_complete"),2,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "½Ç»ç" + if Rs("p_field_dept") = "8" Then + if Rs("qc_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(QC) " + Else + direct_cost_depart = direct_cost_depart & " " + End If + ElseIf Rs("p_field_dept") = "9" Then + if Rs("sv_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(SV) " + Else + direct_cost_depart = direct_cost_depart & " " + End If + Else + if Rs("sv_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(SV" + if Rs("qc_prog") = "" Then + direct_cost_depart = direct_cost_depart & ", QC) " + Else + direct_cost_depart = direct_cost_depart & ") " + End If + Else + if Rs("qc_prog") = "" Then + direct_cost_depart = direct_cost_depart & "(QC) " + Else + direct_cost_depart = direct_cost_depart & " " + End If + End If + End If + end if + if mid(Rs("p_input_complete"),3,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "QC " + end if + end if + Else + + End if + end if + Rs.Close + + If document_work_flow Then + %> + (Á÷Á¢ºñ ¿¹»ê ÀÔ·Â ¿Ï·á. ¼öÇà°èȹ¼­ °áÀç »ó½Å Çϼ¼¿ä) + <% + Else + if information_depart <> "" then + %> + (<%=information_depart%>Á¤º¸ ÀÔ·Â Áß) + <% + end if + if direct_cost_depart <> "" then + %> + (<%=direct_cost_depart%>Á÷Á¢ºñ ¿¹»ê Á¤º¸ ÀÔ·Â Áß) + <% + end if + End if + ElseIf CInt(p_progress_status(1)) = 7 Then + detailViewShow = true + %> + (¼öÇà°èȹ¼­ °áÀç Áß) - (<%= order_name %> °áÀç ´Ü°è) + <% + ElseIf CInt(p_progress_status(1)) = 8 Then + detailViewShow = true + %> + (¼öÇà°èȹ¼­ °áÀç ¿Ï·á) + <% + detailViewShow = true + End if + Else + detailViewShow = true + End If + %> + +
+
+ Âü¿© ºÎ¼­
+ + + + + + + + + + + + + <%if p_progress_status(1) = "008" then %> + + + + + + + + + + <%end if %> +
¸®¼­Ä¡¾ØÄÁ¼³ÆÃµ¥ÀÌÅÍÀ̳뺣À̼ǵðÁöÅÐÄÁ¹öÀü½º
+ + + + + + + +
¿Ï·á ó¸® ¿©ºÎ + <%if p_research_complete = "1" and p_field_complete = "1" and p_dp_complete = "1" then %> + (Àüü ¿Ï·á µÊ) + <%end if %> +
+ <%if p_rsch_dept(1) <> "900" then %><%if p_research_complete = "1" then %>¿Ï·á + <%if session("Depart_Code") = 18 Or session("Depart_Code") = 19 Or Session("User_Number")="20220303" Or Session("User_Number")="20220410" then '20240726 Depart_Code À̵¿À¸·Î ¹øÈ£·Î Ãß°¡ %> + (ÇØÁ¦) + <%end if %> + <%end if %> + <%else %>¹ÌÂü¿©<%end if %> + + <%if p_field_dept(1) <> "900" then %><%if p_field_complete = "1" then %>¿Ï·á + <%if session("Depart_Code") = 18 Or session("Depart_Code") = 19 Or Session("User_Number")="20220303" Or Session("User_Number")="20220410" then %> + (ÇØÁ¦) + <%end if %> + <%end if %> + <%else %>¹ÌÂü¿©<%end if %> + + <%if p_is_dept(1) <> "900" then %><%if p_dp_complete = "1" then %>¿Ï·á + <%if session("Depart_Code") = 18 Or session("Depart_Code") = 19 Or Session("User_Number")="20220303" Or Session("User_Number")="20220410" then %> + (ÇØÁ¦) + <%end if %> + <%end if %> + <%else %>¹ÌÂü¿©<%end if %> + <%if p_it_dept(1) <> "900" then %><%if p_it_complete = "1" then %>¿Ï·á + <%if session("Depart_Code") = 18 Or session("Depart_Code") = 19 Or Session("User_Number")="20220303" Or Session("User_Number")="20220410" then %> + (ÇØÁ¦) + <%end if %> + <%end if %> + <%else %>¹ÌÂü¿©<%end if %> +
+
+
+ Âü¿©Àη     + +
+ + + + + + + + + + + + + + + + + + + + + <%for k = 1 to 4 %> + + + + + + + + + + + + + + + + + + + + + + <% Next %> +
¼ø¹ø¸®¼­Ä¡¾ØÄÁ¼³ÆÃ<%if p_rsch_dept(1) <> "900" then %> <%end if %>µ¥ÀÌÅÍÀ̳뺣À̼ǵðÁöÅÐÄÁ¹öÀü½º
±âȹ(¼³¹®Áö)½Ç»ç(ºÐ¼®)º¸°í(Á¦Ãâ)½Ç»ç°ËÁõÆÝÄ¡ÄÚµùºÐ¼®DS/DB
<%=k %> + + + + + + + + + + + + + + + + + + + +
+
+ ÀÏÁ¤
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
±¸ºÐ¸®¼­Ä¡¾ØÄÁ¼³ÆÃµ¥ÀÌÅÍÀ̳뺣À̼ǵðÁöÅÐÄÁ¹öÀü½º
½Ç»ç°ËÁõÆÝÄ¡ÄÚµùºÐ¼®DS/DB
¼¼ºÎÀÏÁ¤ + + ~ + + + + ~ + + + + ~ + + + + ~ + + + + ~ + + + + ~ + + + + ~ + +
³»ºÎ¹ÌÆÃ + p_depart_dep Then %><% End if %>> + + +
½Ç»çOT + p_depart_dep Then %><% End if %>> + + +
+
+ + + + + + +
ºñ°í(¸Þ¸ð) + +
+
+
+
+ ÷ºÎ¹®¼­
+
+ * ÇÁ·ÎÁ§Æ® °ü·Ã ÀÏüÀÇ ÀÚ·á(Á¦¾È¼­, º¸°í¼­, °ßÀû¼­ µî)´Â ¿µ¾÷ºñ¹ÐÀÌ Æ÷ÇÔµÈ È¸»çÀÇ ÀÚ»êÀÔ´Ï´Ù. +
  ÇÁ·ÎÁ§Æ® ¼öÇà¿¡ Âü°íÇÏ´Â ¸ñÀû ¿Ü »çÀûÀ¸·Î »ç¿ëÇϰųª ¿ÜºÎ·Î À¯ÃâÇÏ´Â ÇàÀ§¸¦ ±ÝÁöÇÕ´Ï´Ù. +
+
+
+
+
+ + + + +
+ + + + + + + + + <% + query = " SELECT f_id, f_kind, f_p_sn, f_file_name, f_save_name, f_input_dt, f_input_user, p_name " + query = query & " FROM T_SYSTEM_ATTACH as TSA " + query = query & " LEFT OUTER JOIN person as P " + query = query & " ON TSA.f_input_user = P.p_no " + query = query & " WHERE f_p_sn = '"&p_sn& "' " + query = query & " AND f_use_yn = 'Y' " + query = query & " AND f_work_type = '001' and f_kind <> '099' " + query = query & " order by f_kind, f_id " + + Rs.Open query, adoConn, 1 + + attach_file_count = Rs.recordCount + + dim f_attach_info() + redim f_attach_info(attach_file_count, 6) + + Dim f_attach_index + f_attach_index = 1 + + select_kind_code_flag = True + other_kind_code_falg = True + default_kind_code_flag = false + kind_code = "" + + i = 1 + row_cnt = 1 + Do While i < 10 + kind_code = "00" & CStr(i) + + If attach_file_count > 0 then + If default_kind_code_flag Then + select_kind_code_flag = true + Else + If kind_code = Rs("f_kind") Then + select_kind_code_flag = False + other_kind_code_falg = False + + f_attach_info(f_attach_index, 0) = Rs("f_id") + f_attach_info(f_attach_index, 1) = Rs("f_kind") + f_attach_info(f_attach_index, 2) = Rs("f_file_name") + f_attach_info(f_attach_index, 3) = Rs("p_name") + f_attach_info(f_attach_index, 4) = Rs("f_input_dt") + f_attach_info(f_attach_index, 5) = Rs("f_input_user") + Else + select_kind_code_flag = True + End If + End If + + If select_kind_code_flag Then + If other_kind_code_falg then + + %> + + + + + + + + <% + row_cnt = row_cnt + 1 + other_kind_code_falg = false + End if + i = i + 1 + other_kind_code_falg = true + Else + %> + + + + + + + + <% + f_attach_index = f_attach_index + 1 + row_cnt = row_cnt + 1 + + If f_attach_index <= attach_file_count Then + Rs.MoveNext + Else + If kind_code <> "009" Then + default_kind_code_flag = true + else + Exit do + End if + End if + End If + Else + %> + + + + + + + + <% + row_cnt = row_cnt + 1 + i = i + 1 + End if + Loop + Rs.Close + %> +
¼ø¹øÀÚ·áÄ«Å×°í¸®Ã·ºÎ¹®¼­ÆÄÀϸí´ã´çÀÚ÷ºÎÀÏÀÚ
<%=row_cnt%> + + + + +
<%=row_cnt%> + + + <% query = "select c_common_code, c_code_name from T_COMMON_CODE_DETAIL where c_kind_code = '001' and c_common_code <> '099' " + rsa.Open query, adoConn, 1 + if rsa.RecordCount > 0 then + for j = 1 to rsa.RecordCount + if rsa("c_common_code") = kind_code Then + %> + "/> + " readonly style="border: 0px none0; text-align: center;"/> + <% + end if + rsa.MoveNext + next + end if + rsa.Close + %> + + + 10 Then %> onclick="download(<%=f_attach_info(f_attach_index, 0)%>)" <% end if %> + <% If CInt(p_research_complete)+CInt(p_field_complete)+CInt(p_dp_complete) < 3 Then %>style="width:480px; color:blue; cursor:pointer;"<%Else %>style="width:540px; color:blue; cursor:pointer;"<%End If %> value = "<%=f_attach_info(f_attach_index, 2)%>" readonly/> + <% If CInt(p_research_complete)+CInt(p_field_complete)+CInt(p_dp_complete) < 3 Then %> + + <% End If %> + <%=f_attach_info(f_attach_index, 3)%><%=f_attach_info(f_attach_index, 4)%>
<%=row_cnt%> + + + + +
+
+
+ <% + if CInt(p_progress_status(1)) <> 7 then + 'if not (p_depart_name = "field" and session("teamplace") < 3) then + %> + + <% + 'end if + end if + %> + <% + '###### + If CInt(p_progress_status(1)) >= 6 Then + %> + ', '<%=tmp_year%>', '<%=cost_type%>', '<%=p_depart_name%>')"> + <% + End If + %> + + <% + If CInt(p_progress_status(1)) = 006 And (session("depart_code") = p_depart_dep or session("depart_code") = p_depart_dep2 or Cstr(p_rsch_a(1, 1)) = Cstr(session("User_Number"))) Then + + If document_work_flow then + %> + + + <% + End if + End if + %> + <% + If session("depart_code") = p_depart_dep or session("depart_code") = p_depart_dep2 or session("depart_code") = 0 or ((session("depart_code") = 17 or session("depart_code") = 19) and session("teamplace") = "3") Then + %> + + <% + End if + %> +
+ +
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_list2_dep_ajax_depart.asp b/project/project_list2_dep_ajax_depart.asp new file mode 100644 index 0000000..f72771d --- /dev/null +++ b/project/project_list2_dep_ajax_depart.asp @@ -0,0 +1,37 @@ + + + +<%' + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + if request("dep") = "" then + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + response.write "" + + query = " select p_no, p_name, p_team_name as p_depart from v_person " + query = query & " where p_resign = 0 " + query = query & " and (p_depart between '20' and '93' OR p_depart = '93') and p_depart <> '34' " + query = query & " and p_job_name = '¿¬±¸' " + query = query & " order by p_depart, p_no " + + rsp.Open query, adoConn, 1 + Do while not rsp.Eof + response.write "" + rsp.MoveNext + Loop + rsp.Close + else + query = " UPDATE T_PROJECT_METHOD SET p_" & request("dep") & "_complete = null WHERE p_child_sn = '" & request("p_child_sn") & "' " + adoConn.execute query + response.write "1" + end if +%> diff --git a/project/project_list2_dep_ajax_method.asp b/project/project_list2_dep_ajax_method.asp new file mode 100644 index 0000000..0bd5b74 --- /dev/null +++ b/project/project_list2_dep_ajax_method.asp @@ -0,0 +1,17 @@ + + + +<%' + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + if request("method_cd") <> "" then + query = " UPDATE T_PROJECT_METHOD SET p_method_cd = '" & request("method_cd") & "' WHERE p_child_sn = '" & request("p_child_sn") & "' " + adoConn.execute query + response.write "1" + end if +%> diff --git a/project/project_list2_dep_ok_2014.asp b/project/project_list2_dep_ok_2014.asp new file mode 100644 index 0000000..9e74c3a --- /dev/null +++ b/project/project_list2_dep_ok_2014.asp @@ -0,0 +1,913 @@ + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") + +set beforeRs = server.CreateObject("ADODB.RECORDSET") +set afterRs = server.CreateObject("ADODB.RECORDSET") +dim alarmQuery + +'==========================================¾Ë¸²À» À§ÇØ ¼öÁ¤ Àü Data¸¦ º¯¼ö¿¡ ´ã¾Æ ³õ±â========================================== +' request("p_child_sn1") ÇÁ·ÎÁ§Æ® MŸÀÔÀº ¾²Áö ¾Ê±â ¶§¹®¿¡ p_child_sn1 ¸¸ ÀúÀåÇÏ¸é µÊ. +' ºÒ·¯¿Ã ¸ñ·Ï. +' °è¾à±â°£ st, end p_con_date_st p_con_date_end +' °è¾àÀÏÀÚ p_decide_date +' ´ÜÀ§°è¾à¾× p_cont_cost +' ¿ë¿ª¹üÀ§ 001Å×À̺í 002º¸°í¼­ p_export_range +' Á¶»çÁö¿ª p_sur_area +' Á¶»ç´ë»ó p_sur_target +' Ç¥º»¼ö p_sample +' Á¶»ç±â°£ st, end p_research_date_st p_research_date_end +' Á¶»çºÐ·ù p_sur_part +' ½Ç»ç¼öÇà p_field_process +' °ËÁõ·ü p_inspection_rate +' ´ãÀåÀÚ p_rsch_1_a p_rsch_2_a p_rsch_3_a p_rsch_4_a p_rsch_1_b p_rsch_2_b p_rsch_3_b p_rsch_4_b p_rsch_1_c p_rsch_2_c p_rsch_3_c p_rsch_4_c +' p_sv_1 p_sv_2 p_sv_3 p_sv_4 p_code_1 p_code_2 p_code_3 p_code_4 p_verify_1 p_verify_2 p_verify_3 p_verify_4 +' p_dp_1 p_dp_2 p_dp_3 p_dp_4 p_it_1 p_it_2 p_it_3 p_it_4 p_supp_1 p_supp_2 p_supp_3 p_supp_4 +' ¿¬±¸ºÎ¼­ ÀÏÁ¤ st, end p_rsch_date_st p_rsch_date_end +' ½Ç»çÀÏÁ¤ st, end p_field_date_st p_field_date_end +' °ËÁõÀÏÁ¤ st, end p_verify_date_st p_verify_date_end +' ÄÚµùÆÝÄ¡ÀÏÁ¤ st, end p_code_date_st p_code_date_end +' µðÇÇÀÏÁ¤ st, end p_dp_date_st p_dp_date_end +' ITÀÏÁ¤ st, end p_it_date_st p_it_date_end +' ³»ºÎ¹ÌÆÃÀÏÁ¤ ½Ã°£ Àå¼Ò p_premeet_date p_premeet_time p_premeet_place +' ½Ç»ç¿ÀƼÀÏÁ¤ ½Ã°£ Àå¼Ò p_ot_date p_ot_time p_ot_place +' ¼öÇà°èȹ¼­ »óŰª p_progress_status +' Á÷Á¢ºñ ÀÔ·Â »óŰª p_input_complete +Dim alarmMap +Set alarmMap = Server.CreateObject("Scripting.Dictionary") +alarmMap.Add "p_con_date","°è¾à±â°£" +alarmMap.Add "p_decide_date","°è¾àÀÏ" +alarmMap.Add "p_cont_cost","´ÜÀ§°è¾à¾×" +'alarmMap.Add "p_export_range","¿ë¿ª¹üÀ§" +'alarmMap.Add "p_sur_area","Á¶»çÁö¿ª" +'alarmMap.Add "p_sur_target","Á¶»ç´ë»ó" +alarmMap.Add "p_sample","Ç¥º»¼ö" +alarmMap.Add "p_research_date","Á¶»ç±â°£" +'alarmMap.Add "p_field_process","½Ç»ç¼öÇà" +'alarmMap.Add "p_inspection_rate","°ËÁõ·ü" +'alarmMap.Add "p_rsch_a","¿¬±¸±âȹ´ã´çÀÚ" +'alarmMap.Add "p_rsch_b","¿¬±¸½Ç»ç°ü¸®´ã´çÀÚ" +'alarmMap.Add "p_rsch_c","¿¬±¸º¸°í¼­´ã´çÀÚ" +'alarmMap.Add "p_sv","½Ç»ç´ã´çÀÚ" +'alarmMap.Add "p_code","°ËÁõ´ã´çÀÚ" +'alarmMap.Add "p_verify","ÄÚµùÆÝÄ¡´ã´çÀÚ" +'alarmMap.Add "p_dp","DP´ã´çÀÚ" +'alarmMap.Add "p_it","IT´ã´çÀÚ" +alarmMap.Add "p_rsch_date","¿¬±¸¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_field_date","½Ç»ç¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_verify_date","°ËÁõ¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_punch_date","ÆÝÄ¡¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_code_date","ÄÚµù¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_dp_date","DP¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_it_date","IT¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_premeet","³»ºÎ¹ÌÆÃ¼¼ºÎÀÏÁ¤" +alarmMap.Add "p_ot","½Ç»çOT¼¼ºÎÀÏÁ¤" +'alarmMap.Add "p_progress_status","¼öÇà°èȹ¼­ÁøÇà´Ü°è" +'alarmMap.Add "p_input_complete","¿¹»óÁ÷Á¢ºñÀԷ¿ϷῩºÎ" + +alarmQuery = "" +alarmQuery = alarmQuery & " select isnull(p_con_date_st + '~' + p_con_date_end, '') as p_con_date, isnull(p_decide_date, '') as p_decide_date, isnull(p_cont_cost, '') as p_cont_cost, " +alarmQuery = alarmQuery & " isnull(p_export_range, '') as p_export_range, isnull(p_sur_area, '') as p_sur_area, isnull(p_sur_target, '') as p_sur_target, isnull(p_sample, '') as p_sample, " +alarmQuery = alarmQuery & " isnull(p_research_date_st + '~' + p_research_date_end, '') as p_research_date, isnull(p_sur_part, '') as p_sur_part, isnull(p_field_process, '') as p_field_process, isnull(p_inspection_rate, '') as p_inspection_rate, " +alarmQuery = alarmQuery & " isnull(p_rsch_1_a, '') + ',' + isnull(p_rsch_2_a, '') + ',' + isnull(p_rsch_3_a, '') + ',' + isnull(p_rsch_4_a, '') as p_rsch_a, " +alarmQuery = alarmQuery & " isnull(p_rsch_1_b, '') + ',' + isnull(p_rsch_2_b, '') + ',' + isnull(p_rsch_3_b, '') + ',' + isnull(p_rsch_4_b, '') as p_rsch_b, " +alarmQuery = alarmQuery & " isnull(p_rsch_1_c, '') + ',' + isnull(p_rsch_2_c, '') + ',' + isnull(p_rsch_3_c, '') + ',' + isnull(p_rsch_4_c, '') as p_rsch_c, " +alarmQuery = alarmQuery & " isnull(p_sv_1, '') + ',' + isnull(p_sv_2, '') + ',' + isnull(p_sv_3, '') + ',' + isnull(p_sv_4, '') as p_sv , " +alarmQuery = alarmQuery & " isnull(p_punch_1, '') + ',' + isnull(p_punch_2, '') + ',' + isnull(p_punch_3, '') + ',' + isnull(p_punch_4, '') as p_punch , " +alarmQuery = alarmQuery & " isnull(p_verify_1, '') + ',' + isnull(p_verify_2, '') + ',' + isnull(p_verify_3, '') + ',' + isnull(p_verify_4, '') as p_verify, " +alarmQuery = alarmQuery & " isnull(p_code_1, '') + ',' + isnull(p_code_2, '') + ',' + isnull(p_code_3, '') + ',' + isnull(p_code_4, '') as p_code , " +alarmQuery = alarmQuery & " isnull(p_dp_1, '') + ',' + isnull(p_dp_2, '') + ',' + isnull(p_dp_3, '') + ',' + isnull(p_dp_4, '') as p_dp , " +alarmQuery = alarmQuery & " isnull(p_it_1, '') + ',' + isnull(p_it_2, '') + ',' + isnull(p_it_3, '') + ',' + isnull(p_it_4, '') as p_it , " +alarmQuery = alarmQuery & " isnull(p_rsch_date_st + '~' + p_rsch_date_end, '') as p_rsch_date, isnull(p_field_date_st + '~' + p_field_date_end, '') as p_field_date, isnull(p_verify_date_st + '~' + p_verify_date_end, '') as p_verify_date, " +alarmQuery = alarmQuery & " isnull(p_code_date_st + '~' + p_code_date_end, '') as p_code_date, isnull(p_dp_date_st + '~' + p_dp_date_end, '') as p_dp_date, isnull(p_it_date_st + '~' + p_it_date_end, '') as p_it_date, " +alarmQuery = alarmQuery & " isnull(p_premeet_date + ' ' + p_premeet_time + ' ' + p_premeet_place, '') as p_premeet, isnull(p_ot_date + ' ' + p_ot_time + ' ' + p_ot_place, '') as p_ot, p_progress_status, p_input_complete " +alarmQuery = alarmQuery & " from T_PROJECT_METHOD " +alarmQuery = alarmQuery & " where p_child_sn = '" & request("p_child_sn1") & "' " +'response.Write alarmQuery +beforeRs.Open alarmQuery, adoConn, 3 +'response.Write beforeRs("p_rsch_date") +'=============================================================================================================================== + +Dim p_input_complete() +Dim p_progress_flag() +Dim p_field_dept() +Dim p_rsch_dept() +Dim p_is_dept() +Dim p_it_dept() +Dim templ_p_input_com +Dim templ_p_progress_flag +p_sn = request("p_sn") +p_sub_type = request("p_sub_type") +p_cli_company_cd = request("p_cli_company_cd") +p_cli_per_cd = request("p_cli_per_cd") + +p_state = request("p_state") +p_subject = request("p_subject") +p_cli_company_nm = request("p_cli_company_nm") +p_cli_depart = request("p_cli_depart") +p_cli_per_nm = request("p_cli_per_nm") +p_cli_per_com_tel = request("p_cli_per_com_tel") +p_cli_per_tel = request("p_cli_per_tel") +p_cli_per_email = request("p_cli_per_email") +p_client_type_cd = request("p_client_type_cd") +p_depart_dep = request("p_depart_dep") + +p_con_date_st = request("p_con_date_st") +if isEmpty(request("p_con_date_st")) = true then + p_con_date_st = "null" +end if +p_con_date_end = request("p_con_date_end") +if isEmpty(request("p_con_date_end")) = true then + p_con_date_end = "null" +end if +p_decide_date = request("p_decide_date") +if isEmpty(request("p_decide_date")) = true then + p_decide_date = "null" +end if +p_cont_cost = replace(request("p_cont_cost"), ",", "") +if isEmpty(request("p_cont_cost")) = true then + p_cont_cost = "null" +end if +p_export_range = request("p_export_range") +if isEmpty(request("p_export_range")) = true then + p_export_range = "null" +end if +p_category = request("p_category") +if isEmpty(request("p_category")) = true then + p_category = "null" +end if + +research_count = request("research_count") +p_memo = request("p_memo") + +p_index = "" +p_progress_status = "001" + +If p_sub_type = "M" then + query = " UPDATE [project2].[dbo].[T_PROJECT_BASE] " + query = query & " SET p_subject = '" & p_subject & "' " + if p_con_date_st <> "null" then + query = query & " ,p_con_date_st = '" & p_con_date_st & "' " + end if + if p_con_date_end <> "null" then + query = query & " ,p_con_date_end = '" & p_con_date_end & "' " + end if + if p_decide_date <> "null" then + query = query & " ,p_decide_date = '" & p_decide_date & "' " + end if + if p_cont_cost <> "null" then + query = query & " ,p_cont_cost = " & p_cont_cost & " " + end if + if p_export_range <> "null" then + query = query & " ,p_export_range = '" & p_export_range & "' " + end if + if p_category <> "null" then + query = query & " ,p_category = ' " & p_category & ",' " + end if + if p_con_date_end <> "null" then + if year(p_con_date_end) > 2019 then + query = query & " ,p_statistics = '" & year(dateAdd("m", -3, p_con_date_end)) & "' " + else + query = query & " ,p_statistics = '" & year(p_con_date_end) & "' " + end if + + end if + query = query & " WHERE p_sn = '" & p_sn & "' " + adoconn.Execute query + + 'response.write "query : " & query & "
" +Else + For i = 1 To research_count Step 1 + query = " UPDATE [project2].[dbo].[T_PROJECT_METHOD] " + query = query & " SET p_subject = '" & p_subject & "' " + if p_con_date_st <> "null" then + query = query & " ,p_con_date_st = '" & p_con_date_st & "' " + end if + if p_con_date_end <> "null" then + query = query & " ,p_con_date_end = '" & p_con_date_end & "' " + end if + if p_decide_date <> "null" then + query = query & " ,p_decide_date = '" & p_decide_date & "' " + end if + if p_cont_cost <> "null" then + query = query & " ,p_cont_cost = " & p_cont_cost & " " + end if + if p_export_range <> "null" then + query = query & " ,p_export_range = '" & p_export_range & "' " + end if + if p_category <> "null" then + query = query & " ,p_category = ' " & p_category & ",' " + end if + if p_con_date_end <> "null" then + if year(p_con_date_end) > 2019 then + query = query & " ,p_statistics = '" & year(dateAdd("m", -3, p_con_date_end)) & "' " + else + query = query & " ,p_statistics = '" & year(p_con_date_end) & "' " + end if + + end if + query = query & " WHERE p_sn = '" & p_sn & "' " + query = query & " AND p_method_cd = " & request("p_method_cd" & i) & " " + query = query & " AND p_child_sn = '" & request("p_child_sn" & i) & "' " + + ' response.write "query : " & query & "
" + adoconn.Execute query + Next +End if + +reDim p_input_complete(research_count) +reDim p_field_dept(research_count) +reDim p_rsch_dept(research_count) +reDim p_is_dept(research_count) +reDim p_it_dept(research_count) +reDim p_progress_flag(research_count) + + + For i = 1 To research_count Step 1 + query = " SELECT p_index, PMC.p_method_cd, p_method_nm, p_intention, p_child_sn, p_sur_area, p_sur_target, p_sample, p_inspection_rate, p_research_date_st, p_research_date_end, p_sur_part, p_field_process " + query = query & " ,isnull(p_rsch_dept,'') as p_rsch_dept, isnull(p_field_dept,'') as p_field_dept " + query = query & " , isnull(p_is_dept,'') as p_is_dept " + query = query & " , isnull(p_it_dept,'') as p_it_dept " + query = query & " , p_supp_dept " + query = query & " ,p_rsch_1_a, p_rsch_2_a, p_rsch_3_a, p_rsch_4_a " + query = query & " ,p_rsch_1_b, p_rsch_2_b, p_rsch_3_b, p_rsch_4_b " + query = query & " ,p_rsch_1_c, p_rsch_2_c, p_rsch_3_c, p_rsch_4_c " + query = query & " ,p_sv_1, p_sv_2, p_sv_3, p_sv_4 " + query = query & " ,p_punch_1, p_punch_2, p_punch_3, p_punch_4 " + query = query & " ,p_verify_1, p_verify_2, p_verify_3, p_verify_4 " + query = query & " ,p_code_1, p_code_2, p_code_3, p_code_4 " + query = query & " ,p_dp_1, p_dp_2, p_dp_3, p_dp_4 " + query = query & " ,p_it_1, p_it_2, p_it_3, p_it_4 " + query = query & " ,p_supp_1, p_supp_2, p_supp_3, p_supp_4 " + query = query & " ,p_rsch_date_st, p_rsch_date_end, p_field_date_st, p_field_date_end, p_code_date_st, p_code_date_end " + query = query & " ,p_verify_date_st, p_verify_date_end, p_dp_date_st, p_dp_date_end, p_it_date_st, p_it_date_end " + query = query & " ,p_premeet_date, p_premeet_time, p_premeet_place " + query = query & " ,p_ot_date, p_ot_time, p_ot_place, p_sur_memo, p_memo, p_progress_flag, p_progress_status, p_input_complete " + query = query & " FROM T_PROJECT_METHOD PM INNER JOIN T_PROJECT_METHOD_CD PMC ON PM.p_method_cd = PMC.p_method_cd " + query = query & " WHERE p_method_yn = 'y' " + query = query & " AND p_sn = '" & p_sn & "'" + query = query & " AND p_sub_type = '" & p_sub_type & "'" + + If p_sub_type = "C" Then + query = query & " AND PM.p_method_cd = '" & Request("p_method_cd") & "'" + if Request("p_child_sn" & i) <> "" then + query = query & " AND PM.p_child_sn = '" & Request("p_child_sn" & i) & "' " + End if + End If + + 'Response.Write query + rsp.Open query, adoConn, 1 + + p_input_complete(i) = rsp("p_input_complete") + p_field_dept(i) = rsp("p_field_dept") + p_rsch_dept(i) = rsp("p_rsch_dept") + p_is_dept(i) = rsp("p_is_dept") + p_it_dept(i) = rsp("p_it_dept") + p_progress_flag(i) = request("p_progress_flag" & i) + rsp.moveNext + + rsp.Close + +next + +For i = 1 To research_count Step 1 + If p_sub_type = "C" Then + p_method_cd = request("p_method_cd" & i) + End if + + If request("p_rsch_dept" & i) = "900" then + p_input_complete(i) = "o" + right(p_input_complete(i), 2) + p_progress_flag(i) = "o" + right(p_progress_flag(i), 2) + end If + + If request("p_field_dept" & i) = "900" then + p_input_complete(i) = left(p_input_complete(i), 1) + "oo" + p_progress_flag(i) = left(p_progress_flag(i), 1) + "o" + right(p_progress_flag(i), 1) + end If + + if request("p_is_dept" & i) = "900" then '##### DP + p_progress_flag(i) = left(p_progress_flag(i), 2) + "o" + end if + + If cstr(p_field_dept(i)) <> cstr(request("p_field_dept" & i)) then + 'if cstr(request("p_field_dept" & i)) = "8" then + ' 'p_input_complete(i) = left(p_input_complete(i), 1) + "ox" + ' p_input_complete(i) = left(p_input_complete(i), 1) + "xo"' qc´Â ¹«Á¶°Ç ¿Ï·á -_- (qc´Â ¿¹»óÁ÷Á¢ºñ °áÀç ¾ÈÇϵµ·Ï Çϱâ À§ÇÔ) + 'elseif cstr(request("p_field_dept" & i)) = "9" then + ' p_input_complete(i) = left(p_input_complete(i), 1) + "xo" + 'elseif cstr(request("p_field_dept" & i)) = "12" then + ' 'p_input_complete(i) = left(p_input_complete(i), 1) + "xx" + ' p_input_complete(i) = left(p_input_complete(i), 1) + "xo"' qc´Â ¹«Á¶°Ç ¿Ï·á -_- (qc´Â ¿¹»óÁ÷Á¢ºñ °áÀç ¾ÈÇϵµ·Ï Çϱâ À§ÇÔ) + 'end if + if p_field_dept(i) = "0" Then + p_input_complete(i) = left(p_input_complete(i), 1) + "xo" + End If + if p_field_dept(i) = "900" then + p_input_complete(i) = left(p_input_complete(i), 1) + "xo" + p_progress_flag(i) = left(p_progress_flag(i), 1) + "x" + right(p_progress_flag(i), 1) + end if + end If + + If cstr(p_rsch_dept(i)) <> cstr(request("p_rsch_dept" & i)) then + If p_rsch_dept(i) = "900" then + p_input_complete(i) = "x" + right(p_input_complete(i), 2) + p_progress_flag(i) = "x" + right(p_progress_flag(i), 2) + end If + end If + + If cstr(p_is_dept(i)) <> cstr(request("p_is_dept" & i)) then + If p_is_dept(i) = "900" then + p_progress_flag(i) = left(p_progress_flag(i), 2) + "x" + end If + end If +'Response.write p_input_complete(i) + query = "UPDATE [project2].[dbo].[T_PROJECT_METHOD] "&VbCrlf + query = query & "SET p_child_sn = '" & request("p_child_sn" & i) & "' "&VbCrlf + query = query & " ,p_sub_type = '" & request("p_sub_type") & "' "&VbCrlf + if isEmpty(request("p_intention" & i)) = false then + query = query & " ,p_intention = '" & request("p_intention" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sur_area" & i)) = false then + query = query & " ,p_sur_area = '" & request("p_sur_area" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sur_target" & i)) = false then + query = query & " ,p_sur_target = '" & request("p_sur_target" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sample" & i)) = false then + If request("p_sample" & i) <> "" Then + query = query & " ,p_sample = " & request("p_sample" & i) & " "&VbCrlf + Else + query = query & " ,p_sample = 0 "&VbCrlf + End If + end if + + if isEmpty(request("p_inspection_rate" & i)) = false then + query = query & " ,p_inspection_rate = '" & request("p_inspection_rate" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_research_date_st" & i)) = false then + query = query & " ,p_research_date_st = '" & request("p_research_date_st" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_research_date_end" & i)) = false then + query = query & " ,p_research_date_end = '" & request("p_research_date_end" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sur_part" & i)) = false then + query = query & " ,p_sur_part = '" & request("p_sur_part" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_field_process" & i)) = false then + query = query & " ,p_field_process = '" & request("p_field_process" & i) & "' "&VbCrlf + end if + + query = query & " ,p_rsch_dept = " & request("p_rsch_dept" & i) & " "&VbCrlf + query = query & " ,p_field_dept = " & request("p_field_dept" & i) & " "&VbCrlf + query = query & " ,p_is_dept = " & request("p_is_dept" & i) & " "&VbCrlf + query = query & " ,p_it_dept = " & request("p_it_dept" & i) & " "&VbCrlf + + if isEmpty(request("p_rsch_1_a" & i)) = false then + query = query & " ,p_rsch_1_a = '" & request("p_rsch_1_a" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_2_a" & i)) = false then + query = query & " ,p_rsch_2_a = '" & request("p_rsch_2_a" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_3_a" & i)) = false then + query = query & " ,p_rsch_3_a = '" & request("p_rsch_3_a" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_4_a" & i)) = false then + query = query & " ,p_rsch_4_a = '" & request("p_rsch_4_a" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_1_b" & i)) = false then + query = query & " ,p_rsch_1_b = '" & request("p_rsch_1_b" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_2_b" & i)) = false then + query = query & " ,p_rsch_2_b = '" & request("p_rsch_2_b" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_3_b" & i)) = false then + query = query & " ,p_rsch_3_b = '" & request("p_rsch_3_b" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_4_b" & i)) = false then + query = query & " ,p_rsch_4_b = '" & request("p_rsch_4_b" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_1_c" & i)) = false then + query = query & " ,p_rsch_1_c = '" & request("p_rsch_1_c" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_2_c" & i)) = false then + query = query & " ,p_rsch_2_c = '" & request("p_rsch_2_c" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_3_c" & i)) = false then + query = query & " ,p_rsch_3_c = '" & request("p_rsch_3_c" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_4_c" & i)) = false then + query = query & " ,p_rsch_4_c = '" & request("p_rsch_4_c" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sv_1" & i)) = false then + query = query & " ,p_sv_1 = '" & request("p_sv_1" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sv_2" & i)) = false then + query = query & " ,p_sv_2 = '" & request("p_sv_2" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sv_3" & i)) = false then + query = query & " ,p_sv_3 = '" & request("p_sv_3" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_sv_4" & i)) = false then + query = query & " ,p_sv_4 = '" & request("p_sv_4" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_punch_1" & i)) = false then + query = query & " ,p_punch_1 = '" & request("p_punch_1" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_punch_2" & i)) = false then + query = query & " ,p_punch_2 = '" & request("p_punch_2" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_punch_3" & i)) = false then + query = query & " ,p_punch_3 = '" & request("p_punch_3" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_punch_4" & i)) = false then + query = query & " ,p_punch_4 = '" & request("p_punch_4" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_verify_1" & i)) = false then + query = query & " ,p_verify_1 = '" & request("p_verify_1" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_verify_2" & i)) = false then + query = query & " ,p_verify_2 = '" & request("p_verify_2" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_verify_3" & i)) = false then + query = query & " ,p_verify_3 = '" & request("p_verify_3" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_verify_4" & i)) = false then + query = query & " ,p_verify_4 = '" & request("p_verify_4" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_code_1" & i)) = false then + query = query & " ,p_code_1 = '" & request("p_code_1" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_code_2" & i)) = false then + query = query & " ,p_code_2 = '" & request("p_code_2" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_code_3" & i)) = false then + query = query & " ,p_code_3 = '" & request("p_code_3" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_code_4" & i)) = false then + query = query & " ,p_code_4 = '" & request("p_code_4" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_dp_1" & i)) = false then + query = query & " ,p_dp_1 = '" & request("p_dp_1" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_dp_2" & i)) = false then + query = query & " ,p_dp_2 = '" & request("p_dp_2" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_dp_3" & i)) = false then + query = query & " ,p_dp_3 = '" & request("p_dp_3" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_dp_4" & i)) = false then + query = query & " ,p_dp_4 = '" & request("p_dp_4" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_it_1" & i)) = false then + query = query & " ,p_it_1 = '" & request("p_it_1" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_it_2" & i)) = false then + query = query & " ,p_it_2 = '" & request("p_it_2" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_it_3" & i)) = false then + query = query & " ,p_it_3 = '" & request("p_it_3" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_it_4" & i)) = false then + query = query & " ,p_it_4 = '" & request("p_it_4" & i) & "' "&VbCrlf + end if + + if isEmpty(request("p_rsch_date_st" & i)) = false then + query = query & " ,p_rsch_date_st = '" & request("p_rsch_date_st" & i) + if request("p_rsch_date_st" & i) <> "" then + query = query & " " & request("p_rsch_date_time_st" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_rsch_date_end" & i)) = false then + query = query & " ,p_rsch_date_end = '" & request("p_rsch_date_end" & i) + if request("p_rsch_date_end" & i) <> "" then + query = query & " " & request("p_rsch_date_time_end" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_field_date_st" & i)) = false then + query = query & " ,p_field_date_st = '" & request("p_field_date_st" & i) + if request("p_field_date_st" & i) <> "" then + query = query & " " & request("p_field_date_time_st" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_field_date_end" & i)) = false then + query = query & " ,p_field_date_end = '" & request("p_field_date_end" & i) + if request("p_field_date_end" & i) <> "" then + query = query & " " & request("p_field_date_time_end" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_punch_date_st" & i)) = false then + query = query & " ,p_punch_date_st = '" & request("p_punch_date_st" & i) + if request("p_punch_date_st" & i) <> "" then + query = query & " " & request("p_punch_date_time_st" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_punch_date_end" & i)) = false then + query = query & " ,p_punch_date_end = '" & request("p_punch_date_end" & i) + if request("p_punch_date_end" & i) <> "" then + query = query & " " & request("p_punch_date_time_end" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_verify_date_st" & i)) = false then + query = query & " ,p_verify_date_st = '" & request("p_verify_date_st" & i) + if request("p_verify_date_st" & i) <> "" then + query = query & " " & request("p_verify_date_time_st" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_verify_date_end" & i)) = false then + query = query & " ,p_verify_date_end = '" & request("p_verify_date_end" & i) + if request("p_verify_date_end" & i) <> "" then + query = query & " " & request("p_verify_date_time_end" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_code_date_st" & i)) = false then + query = query & " ,p_code_date_st = '" & request("p_code_date_st" & i) + if request("p_code_date_st" & i) <> "" then + query = query & " " & request("p_code_date_time_st" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_code_date_end" & i)) = false then + query = query & " ,p_code_date_end = '" & request("p_code_date_end" & i) + if request("p_code_date_end" & i) <> "" then + query = query & " " & request("p_code_date_time_end" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_dp_date_st" & i)) = false then + query = query & " ,p_dp_date_st = '" & request("p_dp_date_st" & i) + if request("p_dp_date_st" & i) <> "" then + query = query & " " & request("p_dp_date_time_st" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_dp_date_end" & i)) = false then + query = query & " ,p_dp_date_end = '" & request("p_dp_date_end" & i) + if request("p_dp_date_end" & i) <> "" then + query = query & " " & request("p_dp_date_time_end" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_it_date_st" & i)) = false then + query = query & " ,p_it_date_st = '" & request("p_it_date_st" & i) + if request("p_it_date_st" & i) <> "" then + query = query & " " & request("p_it_date_time_st" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + if isEmpty(request("p_it_date_end" & i)) = false then + query = query & " ,p_it_date_end = '" & request("p_it_date_end" & i) + if request("p_it_date_end" & i) <> "" then + query = query & " " & request("p_it_date_time_end" & i) & ":00:00" + end if + query = query & "' "&VbCrlf + end if + + if isEmpty(request("p_premeet_date" & i)) = false then + query = query & " ,p_premeet_date = '" & request("p_premeet_date" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_premeet_time" & i)) = false then + query = query & " ,p_premeet_time = '" & request("p_premeet_time" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_premeet_place" & i)) = false then + query = query & " ,p_premeet_place = '" & request("p_premeet_place" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_ot_date" & i)) = false then + query = query & " ,p_ot_date = '" & request("p_ot_date" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_ot_time" & i)) = false then + query = query & " ,p_ot_time = '" & request("p_ot_time" & i) & "' "&VbCrlf + end if + if isEmpty(request("p_ot_place" & i)) = false then + query = query & " ,p_ot_place = '" & request("p_ot_place" & i) & "' "&VbCrlf + end if + + query = query & " ,p_sur_memo = '" & request("p_sur_memo" & i) & "' "&VbCrlf + query = query & " ,p_progress_status = '" & request("p_progress_status" & i) & "' "&VbCrlf + query = query & " ,p_progress_flag = '" & p_progress_flag(i) & "' "&VbCrlf + query = query & " ,p_input_complete = '" & p_input_complete(i) & "' "&VbCrlf + query = query & "WHERE p_sn = '" & p_sn & "' and p_method_cd = " & request("p_method_cd" & i)&VbCrlf + query = query & "AND p_index = " & request("p_index" & i) & " "&VbCrlf + +' response.write "query : " & query & "
" + adoconn.Execute query + + + + query = " DELETE T_PROJECT_INVOLVE_RATE " + query = query & " WHERE p_sn = '"& p_sn &"' and p_child_sn = '"& request("p_child_sn" & i) &"' " + + adoconn.Execute query +' response.write "query : " & query & "
" + + query = "INSERT INTO [project2].[dbo].[T_PROJECT_INVOLVE_RATE] " + query = query & " ([p_sn],[p_child_sn] " + query = query & " ,[involve_1_a],[involve_1_b],[involve_1_c] " + query = query & " ,[involve_2_a],[involve_2_b],[involve_2_c] " + query = query & " ,[involve_3_a],[involve_3_b],[involve_3_c] " + query = query & " ,[involve_4_a],[involve_4_b],[involve_4_c] " + query = query & " ,[input_dt]) " + query = query & " VALUES ( " + query = query & " '" & p_sn & "', '" & request("p_child_sn" & i) & "' " + query = query & " ,30, 30, 40 " + query = query & " ,30, 30, 40 " + query = query & " ,30, 30, 40 " + query = query & " ,30, 30, 40, getdate() )" + + adoconn.Execute query +' response.write "query : " & query & "
" + + + if request("p_sub_type") = "M" then + p_child_sn = "Multi" + end if + + if request("p_rsch_1_a" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_1_a" & i ) &"','auto','1','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_2_a" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_2_a" & i ) &"','auto','2','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_3_a" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_3_a" & i ) &"','auto','3','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_4_a" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_4_a" & i ) &"','auto','4','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_1_b" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_1_b" & i ) &"','auto','5','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_2_b" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_2_b" & i ) &"','auto','6','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_3_b" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_3_b" & i ) &"','auto','7','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_4_b" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_4_b" & i ) &"','auto','8','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_1_c" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_1_c" & i ) &"','auto','9','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_2_c" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_2_c" & i ) &"','auto','10','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_3_c" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_3_c" & i ) &"','auto','11','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_rsch_4_c" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_rsch_4_c" & i ) &"','auto','12','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_sv_1" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_sv_1" & i ) &"','auto','13','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_sv_2" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_sv_2" & i ) &"','auto','14','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_sv_3" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_sv_3" & i ) &"','auto','15','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_sv_4" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_sv_4" & i ) &"','auto','16','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_punch_1" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_punch_1" & i ) &"','auto','33','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_punch_2" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_punch_2" & i ) &"','auto','34','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_punch_3" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_punch_3" & i ) &"','auto','35','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_punch_4" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_punch_4" & i ) &"','auto','36','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_verify_1" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_verify_1" & i ) &"','auto','21','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_verify_2" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_verify_2" & i ) &"','auto','22','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_verify_3" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_verify_3" & i ) &"','auto','23','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_verify_4" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_verify_4" & i ) &"','auto','24','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_code_1" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_code_1" & i ) &"','auto','17','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_code_2" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_code_2" & i ) &"','auto','18','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_code_3" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_code_3" & i ) &"','auto','19','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_code_4" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_code_4" & i ) &"','auto','20','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_dp_1" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_dp_1" & i ) &"','auto','25','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_dp_2" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_dp_2" & i ) &"','auto','26','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_dp_3" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_dp_3" & i ) &"','auto','27','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_dp_4" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_dp_4" & i ) &"','auto','28','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_it_1" & i) <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_it_1" & i ) &"','auto','29','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_it_2") <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_it_2" & i ) &"','auto','30','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_it_3") <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_it_3" & i ) &"','auto','31','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + if request("p_it_4") <> "" then + query = " INSERT INTO Job_ProjectList values " + query = query & " ('"& p_sn &"','"&p_subject&"','"& request("p_it_4" & i ) &"','auto','32','"&p_intention&"','"&request("p_child_sn" & i)&"') " + adoconn.Execute query + end if + + 'response.Write query + + + 'job_projectlist Áߺ¹Á¦°Å + query = " delete from Job_ProjectList " + query = query & " where p_sn = '"& p_sn &"' " + query = query & " and p_child_sn = '"&request("p_child_sn" & i)&"' " + query = query & " and p_pre_sn in ( " + query = query & " select jp1.p_pre_sn " + query = query & " from Job_ProjectList jp1 inner join ( " + query = query & " select MAX(p_pre_sn) as p_pre_sn, p_user " + query = query & " from Job_ProjectList " + query = query & " where p_sn = '"& p_sn &"' " + query = query & " and p_child_sn = '"&request("p_child_sn" & i)&"' " + query = query & " group by p_user " + query = query & " having COUNT(*) > 1 " + query = query & " ) jp2 on jp1.p_user = jp2.p_user and jp1.p_pre_sn <> jp2.p_pre_sn " + query = query & " where p_sn = '"& p_sn &"' " + query = query & " and p_child_sn = '"&request("p_child_sn" & i)&"' " + query = query & " ) " + adoconn.Execute query +Next +'ÇÁ·ÎÁ§Æ® °ü¸®¿¡ ÀÚµ¿ ¸ÊÇνÃÄÑÁÖ´Â ±â´É (2015-04-24) + + + +'response.Write "p_sn : " & p_sn & "
" +'response.Write "p_child_sn : " & p_child_sn & "
" +'response.Write "p_method_cd : " & p_method_cd & "
" + + + +'==========================================¾Ë¸²À» À§ÇØ ¼öÁ¤ ÈÄ Data¸¦ º¯¼ö¿¡ ´ã¾Æ ³õ±â========================================== +afterRs.Open alarmQuery, adoConn, 3 +'========================================== Àü ÈÄ ºñ±³ Äõ¸®===================================================================== + +'response.Write beforeRs.fields.count 'ÇÊµå °³¼ö +'response.Write beforeRs.fields(i).Name 'ÇÊµå ¸í +for i = 0 To beforeRs.fields.count - 1 + 'response.Write beforeRs.fields(i) + 'response.Write "//" + 'response.Write afterRs.fields(i) + 'response.Write "
" + 'response.Write alarmMap.Item(beforeRs.fields(i).Name) + if cstr(beforeRs.fields(i)) <> cstr(afterRs.fields(i)) and alarmMap.Item(beforeRs.fields(i).Name) <> "" then + query = "" + query = query & " insert into Intranet_Alarm Values " + query = query & " ( " + query = query & " '" & request("p_child_sn1") & "', " + query = query & " '" & beforeRs.fields(i).Name & "', " + query = query & " '" & alarmMap.Item(beforeRs.fields(i).Name) & "', " + query = query & " '" & beforeRs.fields(i) & "', " + query = query & " '" & afterRs.fields(i) & "', " + query = query & " '" & replace(afterRs.fields("p_rsch_a") & "," & afterRs.fields("p_rsch_b") & "," & afterRs.fields("p_rsch_c") & "," & afterRs.fields("p_sv") & "," & afterRs.fields("p_punch") & "," & afterRs.fields("p_verify") & "," & afterRs.fields("p_code") & "," & afterRs.fields("p_dp") & "," & afterRs.fields("p_it"), session("User_Number"), "") & "' " + query = query & " ) " + 'response.Write query + adoconn.Execute query + end if +Next + +beforeRs.close +afterRs.close +'=============================================================================================================================== + + + + + +%> + + + + +
+ + + + <% If p_sub_type = "C" Then %> + "> + "> + <% End If %> +
+ + \ No newline at end of file diff --git a/project/project_list2_fileList_2014.asp b/project/project_list2_fileList_2014.asp new file mode 100644 index 0000000..133e5c6 --- /dev/null +++ b/project/project_list2_fileList_2014.asp @@ -0,0 +1,528 @@ + + + + + + + + + + + + +<%=GNB_TITLE%> + + + + + +<% + p_sn = Request("p_sn") + %> + + + + + +
+ + + +"/> +"/> + + + + + + + + + + + + + + + + + +
+
+ + ÷ºÎ¹®¼­ + +
+
+ + + + +
+ + + + + + + + + + <% + query = " SELECT f_id, f_kind, f_p_sn, f_file_name, f_save_name, f_input_dt, f_input_user, p_name " + query = query & " FROM T_SYSTEM_ATTACH as TSA " + query = query & " LEFT OUTER JOIN person as P " + query = query & " ON TSA.f_input_user = P.p_no " + query = query & " WHERE f_p_sn = '"&p_sn& "' " + query = query & " AND f_use_yn = 'Y' " + query = query & " AND f_work_type = '001' and f_kind <> '099' " + query = query & " order by f_kind, f_id " + + rsp.Open query, adoConn, 1 + + attach_file_count = rsp.recordCount + + 'If attach_file_count < 4 Then + ' attach_file_count = 3 + 'End if + + dim f_attach_info() + redim f_attach_info(attach_file_count, 6) + + Dim f_attach_index + f_attach_index = 1 + + select_kind_code_flag = True + other_kind_code_falg = True + default_kind_code_flag = false + kind_code = "" + + 'response.write "query : " & query & "
" + + i = 1 + row_cnt = 1 + Do While i < 10 + kind_code = "00" & CStr(i) + + If attach_file_count > 0 then +''' response.write "i : " & i & ", kind_code : " & kind_code & ", rsp('f_kind') : " & rsp("f_kind") & "
" + + If default_kind_code_flag Then + select_kind_code_flag = true + Else + If kind_code = rsp("f_kind") Then + select_kind_code_flag = False + other_kind_code_falg = False + + f_attach_info(f_attach_index, 0) = rsp("f_id") + f_attach_info(f_attach_index, 1) = rsp("f_kind") + f_attach_info(f_attach_index, 2) = rsp("f_file_name") + f_attach_info(f_attach_index, 3) = rsp("p_name") + f_attach_info(f_attach_index, 4) = rsp("f_input_dt") + f_attach_info(f_attach_index, 5) = rsp("f_input_user") + Else + select_kind_code_flag = True + End If + End If + + If select_kind_code_flag Then + If other_kind_code_falg then + + %> + + + + + + + + <% + row_cnt = row_cnt + 1 + other_kind_code_falg = false + End if + i = i + 1 + other_kind_code_falg = true + Else + %> + + + + + + + + <% + f_attach_index = f_attach_index + 1 + row_cnt = row_cnt + 1 + + If f_attach_index <= attach_file_count Then + rsp.MoveNext + Else + If kind_code <> "009" Then + default_kind_code_flag = true + else + Exit do + End if + End if + End If + Else + %> + + + + + + + + <% + row_cnt = row_cnt + 1 + i = i + 1 + End if + Loop + rsp.Close + %> +
¼ø¹øÀÚ·áÄ«Å×°í¸®Ã·ºÎ¹®¼­ÆÄÀϸí´ã´çÀÚ÷ºÎÀÏÀÚ
<%=row_cnt%> + + + + +
<%=row_cnt%> + + + <% query = "select c_common_code, c_code_name from T_COMMON_CODE_DETAIL where c_kind_code = '001' and c_common_code <> '099' " + rsa.Open query, adoConn, 1 + if rsa.RecordCount > 0 then + for j = 1 to rsa.RecordCount + if rsa("c_common_code") = kind_code Then + %> + "/> + " readonly style="border: 0px none0; text-align: center;"/> + <% + end if + rsa.MoveNext + next + end if + rsa.Close + %> + + + + + <%=f_attach_info(f_attach_index, 3)%><%=f_attach_info(f_attach_index, 4)%>
<%=row_cnt%> + + + + +
+
+ +
+ + +
+ +
+ + + + diff --git a/project/project_list2_support_2014.asp b/project/project_list2_support_2014.asp new file mode 100644 index 0000000..2e1b670 --- /dev/null +++ b/project/project_list2_support_2014.asp @@ -0,0 +1,620 @@ + + +<% +dim prj_list(20 , 25) + +x = request("x") +z = request("z") '1Àº ¼öÇà°èȹ, 2´Â ÇÁ·ÎÁ§Æ® ÁøÇà, 3Àº ÇÁ·ÎÁ§Æ® ¸¶°¨ +p_depart = request("p_depart") +p_team = request("p_team") +flag = request("flag") 'my_menu.asp¿¡¼­ º¸³»¿À´Â °ª (tmp_stat_flag¿Í ºñ±³) +If request("tmp_sort") <> "" Then + tmp_sort = request("tmp_sort") +Else + tmp_sort = "0" +End if + +tmp_month = request("tmp_month") +tmp_year = request("tmp_year") +p_team_people = request("p_team_people") +p_subject = request("p_subject") +p_method_nm = request("p_method_nm") +p_method_cd = request("p_method_cd") + +chk = request("chk") 'ºÎ¼­°¡ º¯°æµÇ¸é ÆÀÀ» Àüü·Î ÃʱâÈ­ ÇÔ + +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if + +If p_depart = "" Then + p_depart = Session("Depart_Code") +End if +if p_depart = "all" then + p_depart = "" +end if + +'-- ¿î¿µºÎ¼­ ÁøÇà ÇÁ·ÎÁ§Æ® º¸±â("ok")(20170720 Ãß°¡) +org_mgr_team = request("org_mgr_team") +if org_mgr_team="ok" then p_depart = "" + +'page config +tmp_colspan = 9 + +if tmp_year = "" then + tmp_year = cstr(year(date())) +end if + +if tmp_month = "" then + tmp_month = cstr(month(date())) +end if +%> + +
+ +
+

ÇÁ·ÎÁ§Æ® ÁøÇà °ü¸®

+
+ + +
+
+
+
+
+
+ + + + + + + + + + + +
°Ë»ö Á¶°ÇÀ» ¼±ÅÃÇϼ¼¿ä.
+ + + + +
+ <%if p_depart <> "" then %> + + ºÎ¼­  + <% + query = "" + query = query & " SELECT DISTINCT before_t_cd1 as d_code, LEFT(T_Name, 8) as d_name " + query = query & " FROM project2.dbo.v_Department " + query = query & " WHERE (before_t_cd1 in (12, 17, 18, 90) or before_t_cd1 between 20 and 99) " + query = query & " order by LEFT(T_Name, 8)" + adors.Open query, adoconn,adOpenStatic,adLockReadOnly + %> +    + <% adors.close %> + <%end if%> + Á¤·Ä  + +    + ³âµµ  + +    + ¿ù  + + ÇÁ·ÎÁ§Æ® ¸í :   +    + + + +          checked <%end if%>>¿î¿µºÎ¼­ µî·Ï ÇÁ·ÎÁ§Æ® º¸±â +
+
+ + + + + + + + + + + + + + + <% + query = "SELECT * " + query = query & "FROM ( " & vbCrLf + query = query & " SELECT TPB.p_sn " & vbCrLf + query = query & " ,TPB.p_cli_company " + query = query & " ,TPB.p_cli_type " + query = query & " ,TPM.p_subject " + query = query & " ,TPM.p_intention " + query = query & " ,TPB.p_cp_code " + query = query & " ,TPB.p_memo " + query = query & " ,TPM.p_cont_cost " + query = query & " ,TPM.p_decide_date " + query = query & " ,TPM.p_con_date_st " + query = query & " ,TPM.p_con_date_end " + query = query & " ,TPM.p_export_range " + query = query & " ,TPM.p_category " + query = query & " ,TPB.p_state " + query = query & " ,TPB.p_input_user " + query = query & " ,TPB.p_depart " + query = query & " ,TPB.p_depart_dep " + query = query & " ,TPB.p_depart_team " + query = query & " ,TPM.p_method_cd " + query = query & " ,TPM.p_index " + query = query & " ,TPM.p_sub_type " + query = query & " ,TPM.p_child_sn " + query = query & " ,TPM.p_sur_area " + query = query & " ,TPM.p_sur_target " + query = query & " ,TPM.p_sample " + query = query & " ,TPM.p_research_date_st " + query = query & " ,TPM.p_research_date_end " + query = query & " ,TPM.p_sur_part " + query = query & " ,TPM.p_field_process " + query = query & " ,TPM.p_rsch_dept " + query = query & " ,TPM.p_field_dept " + query = query & " ,TPM.p_is_dept " + query = query & " ,TPM.p_supp_dept " + query = query & " ,TPM.p_rsch_1_a " + query = query & " ,TPM.p_rsch_2_a " + query = query & " ,TPM.p_rsch_3_a " + query = query & " ,TPM.p_rsch_4_a " + query = query & " ,TPM.p_rsch_1_b " + query = query & " ,TPM.p_rsch_2_b " + query = query & " ,TPM.p_rsch_3_b " + query = query & " ,TPM.p_rsch_4_b " + query = query & " ,TPM.p_rsch_1_c " + query = query & " ,TPM.p_rsch_2_c " + query = query & " ,TPM.p_rsch_3_c " + query = query & " ,TPM.p_rsch_4_c " + query = query & " ,TPM.p_sv_1 " + query = query & " ,TPM.p_sv_2 " + query = query & " ,TPM.p_sv_3 " + query = query & " ,TPM.p_sv_4 " + query = query & " ,TPM.p_code_1 " + query = query & " ,TPM.p_code_2 " + query = query & " ,TPM.p_code_3 " + query = query & " ,TPM.p_code_4 " + query = query & " ,TPM.p_verify_1 " + query = query & " ,TPM.p_verify_2 " + query = query & " ,TPM.p_verify_3 " + query = query & " ,TPM.p_verify_4 " + query = query & " ,TPM.p_dp_1 " + query = query & " ,TPM.p_dp_2 " + query = query & " ,TPM.p_dp_3 " + query = query & " ,TPM.p_dp_4 " + query = query & " ,TPM.p_it_1 " + query = query & " ,TPM.p_it_2 " + query = query & " ,TPM.p_it_3 " + query = query & " ,TPM.p_it_4 " + query = query & " ,TPM.p_supp_1 " + query = query & " ,TPM.p_supp_2 " + query = query & " ,TPM.p_supp_3 " + query = query & " ,TPM.p_supp_4 " + query = query & " ,TPM.p_rsch_date_st " + query = query & " ,TPM.p_rsch_date_end " + query = query & " ,TPM.p_field_date_st " + query = query & " ,TPM.p_field_date_end " + query = query & " ,TPM.p_code_date_st " + query = query & " ,TPM.p_code_date_end " + query = query & " ,TPM.p_verify_date_st " + query = query & " ,TPM.p_verify_date_end " + query = query & " ,TPM.p_dp_date_st " + query = query & " ,TPM.p_dp_date_end " + query = query & " ,TPM.p_it_date_st " + query = query & " ,TPM.p_it_date_end " + query = query & " ,TPM.p_premeet_date " + query = query & " ,TPM.p_premeet_time " + query = query & " ,TPM.p_premeet_place " + query = query & " ,TPM.p_ot_date " + query = query & " ,TPM.p_ot_time " + query = query & " ,TPM.p_ot_place " + query = query & " ,TPM.p_sur_memo " + query = query & " ,TPM.p_progress_status " + query = query & " ,TPM.p_input_dt " & vbCrLf + query = query & " FROM V_PROJECT as TPB " & vbCrLf + query = query & " INNER JOIN V_PROJECT_METHOD as TPM " & vbCrLf + query = query & " ON TPB.p_sn = TPM.p_sn " & vbCrLf + query = query & " AND TPM.p_progress_status is not null " & vbCrLf + query = query & " AND TPM.p_sub_type = 'C' " & vbCrLf + if p_depart="" and org_mgr_team="ok" then + query = query & " WHERE p_depart_dep in ( " & vbCrLf + query = query & " select team_cd from [dbo].[TEAM_GROUP] where group1='2' " & vbCrLf '-- group1 (¿î¿µºÎ¼­:2) + query = query & " ) " & vbCrLf + else + if p_depart <> "0" AND p_depart <> "" then + If p_depart = 17 Or p_depart = 18 then + query = query & " WHERE (p_depart_dep <= 10 or (p_depart_dep >= 20 and p_depart_dep <=99) or (p_depart_dep >= 17 and p_depart_dep <=18)) " & vbCrLf + elseif p_depart = 13 then + query = query & " WHERE p_depart_dep = 12 " & vbCrLf + Else + query = query & " WHERE ( /* p_depart_dep = " & p_depart & " or */ " & vbCrLf + query = query & " p_rsch_dept = " & p_depart & " or " & vbCrLf + query = query & " p_field_dept = " & p_depart & " or " & vbCrLf + query = query & " p_is_dept = " & p_depart & " or " & vbCrLf + query = query & " p_supp_dept = " & p_depart & " " & vbCrLf + query = query & " ) " & vbCrLf + End if + else + query = query & " WHERE (p_depart_dep <= 10 or (p_depart_dep >= 20 and p_depart_dep <=99)) " & vbCrLf + end If + end if + query = query & " ) as T " & vbCrLf + 'z¿É¼Ç + if z = 1 then + query = query & " WHERE p_progress_status <= '007' " & vbCrLf + elseif z = 2 Then + query = query & " WHERE p_progress_status > '007' and p_progress_status <> '999' " & vbCrLf + else + query = query & " WHERE p_progress_status < '014' " & vbCrLf + end if + '------------------------------------------------------ + '³â ¿É¼Ç + if tmp_year <> "0" and tmp_year <> "" then + query = query & " AND SUBSTRING(convert(varchar(30), p_input_dt, 112), 1, 4) = '" & tmp_year & "' " & vbCrLf + else + query = query & " AND SUBSTRING(convert(varchar(30), p_input_dt, 112), 1, 4) = '" & year(date()) & "' " & vbCrLf + end if + '------------------------------------------------------ + '¿ù ¿É¼Ç + if tmp_month <> "0" and tmp_month <> "" then + query = query & " AND SUBSTRING(convert(varchar(30), p_input_dt, 112), 5, 2) = '" & right("0" & tmp_month, 2) & "' " & vbCrLf + end if + '------------------------------------------------------ + 'ÇÁ·ÎÁ§Æ® ¸í °Ë»ö ¿É¼Ç + if p_subject <> "" then + query = query & " AND p_subject LIKE '%"&p_subject&"%' " & vbCrLf + end if + '------------------------------------------------------ + 'ÇÁ·ÎÁ§Æ® ¸í °Ë»ö ¿É¼Ç + if p_method_cd <> "" then + query = query & " AND p_method_cd = '"&p_method_cd&"' " & vbCrLf + end if + '------------------------------------------------------ + '¿î¿µºÎ¼­ ÁøÇà ÇÁ·ÎÁ§Æ® º¸±â + if org_mgr_team="ok" then + query = query & " AND p_rsch_dept='900' " & vbCrLf + end if + '------------------------------------------------------ + 'Á¤·Ä ¿É¼Ç + if tmp_sort = "0" Then + query = query & "ORDER BY p_subject " & vbCrLf + ElseIf tmp_sort = "1" Then + query = query & "ORDER BY p_sn DESC " & vbCrLf + ElseIf tmp_sort = "2" Then + query = query & "ORDER BY p_depart_dep " & vbCrLf + else + query = query & "ORDER BY p_input_dt " & vbCrLf + end If + '------------------------------------------------------ + 'response.write query + Rs.Open query, adoConn, 1 + if Rs.RecordCount > 0 then + + Rs.PageSize = 20 + + PageCount = Rs.PageCount + Rs.absolutepage = tmp_Currentpage + tmp_total_record = Rs.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) + + if Rs.PageSize <= tmp_for then + if Rs.RecordCount <= Rs.PageSize then + tmp_for = Rs.recordcount + else + tmp_for = Rs.PageSize + end if + else + tmp_for = tmp_for + end if + + for i = 1 to tmp_for + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 + end if + + prj_list(i, 0) = Rs("p_sn") + prj_list(i, 1) = Rs("p_subject") + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * Rs.PageSize) - i +1 + end if + + tmp_view = "0" + if flag <> "" then '#### my_menu¿¡¼­ ºñ±³°ªÀ» º¸³»¾î ¿À¸é ±× ºñ±³°ª¿¡ ¸ÂÃç¼­ ¸®½ºÆ®¸¦ Ãâ·Â + if tmp_stat_flag_process = flag OR tmp_stat_flag_date = flag then '#### ºñ±³°ªÀÌ ¾ø´Ù¸é Àüü¸¦ Ãâ·Â + tmp_view = "1" + else + tmp_veiw = "0" + end if + else + tmp_view = "1" + end if + + if tmp_view = "1" then + + if i mod 2 = 0 then + tmp_bgcolor="#dbe9f2" + else + tmp_bgcolor="" + end if + %> + + + + + + + + + + + + <% + end if + Rs.MoveNext + next + end if + Rs.Close + %> + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÁ¶»ç³»¿ë´ã´çºÎ¼­ÁøÇà»óÅÂÁ÷Á¢ºñµî·ÏÀÏÀÚ
<%=Num%>','<%=Rs("p_sub_type")%>','<%=Rs("p_method_cd")%>','<%=Rs("p_child_sn")%>')" class="blue"> + + <% + If Rs("p_sub_type") = "M" Then + %> + <%=Rs("p_sn")%>_M01 + <% Else + If Rs("p_child_sn") = "" Then + %> + <%=Rs("p_sn")%>_C01 + <% Else %> + <%=Rs("p_child_sn")%> + <% End If + End If + %> + ','<%=Rs("p_sub_type")%>','<%=Rs("p_method_cd")%>','<%=Rs("p_child_sn")%>')" class="blue"> <%=Rs("p_subject")%> + <% + If Rs("p_sub_type") = "M" Then + %> + Multi + <% + Else + If Rs("p_method_cd") <> "" then + q = "select p_method_cd, p_method_nm from T_PROJECT_METHOD_CD where p_method_cd = " & Rs("p_method_cd") + adors.Open q, adoConn, 1 + if adors.RecordCount > 0 Then + %> + <%=adors("p_method_nm")%> + <% + end if + adors.Close + Else + %> + + <% + End if + End if + %> +  <%=Rs("p_intention")%> + <% + '##### Á¶Á÷ °³Æí(2019) + q = "Select T_name from V_department where before_t_cd1 = '"& Rs("p_rsch_dept") &"' " + adors.Open q, adoConn, 1 + + Dim owner_depart_name + Dim owner_emp_name_1 '¿¬±¸¿ø + Dim owner_emp_name_2 'SV + + if adors.RecordCount > 0 Then + If (Instr(adors("T_name"),"ÄÁ¼³ÆÃ") <> 0) or (Instr(adors("T_name"),"¿¬±¸") <> 0) Then + owner_depart_name = Right(adors("T_name"),2) + Else + owner_depart_name = adors("T_name") + End If + Else + owner_depart_name = "¹èÁ¤¾ÈµÊ" + end if + + adors.Close + + q = "select p_no, p_name from person where p_no = '" & Rs("p_input_user") & "' " + adors.Open q, adoConn, 1 + + if adors.RecordCount > 0 Then + owner_emp_name_1 = adors("p_name") + end if + adors.Close + + q = "select p_no, p_name from person where p_no = '" & Rs("p_sv_1") & "' " + adors.Open q, adoConn, 1 + + if adors.RecordCount > 0 Then + owner_emp_name_2 = adors("p_name") + Else + owner_emp_name_2 = "¹èÁ¤¾ÈµÊ" + end if + adors.Close + %> + <%=owner_depart_name%>
(<%=owner_emp_name_1%>/<%=owner_emp_name_2%>) +
+ <% + q = "select c_common_code, c_code_name from T_COMMON_CODE_DETAIL where c_kind_code = '010' and c_common_code = '" & Rs("p_progress_status") & "' " + adors.Open q, adoConn, 1 + + Dim project_complete + + project_complete = false + if adors.RecordCount > 0 Then + If CInt(adors("c_common_code")) < 8 Then + %>ÁøÇàÁß<% + Else + yyyy = year(cdate(now)) + mm = TransFormat(month(cdate(now))) + dd = TransFormat(day(cdate(now))) + temp_today = yyyy & "-" & mm & "-" & dd + + If Trim(Rs("p_field_date_end")) = "" or isnull(Rs("p_field_date_end")) = true Then + If Trim(Rs("p_sub_type")) = "M" Then + Else + %>ÁøÇàÁß <% + End if + elseIf CLng(Replace(temp_today, "-", "")) < CLng(Replace(left(Rs("p_field_date_end"), 10), "-", ""))Then + %>ÁøÇàÁß <% + Else + project_complete = true + %>Á¶»ç¿Ï·á <% + End if + End if + end if + adors.Close + %> + + <% + 'If project_complete Then + Dim temp_p_sn + If Rs("p_sub_type") = "M" Then + temp_p_sn = Rs("p_sn")&"_M01" + Else + If Rs("p_child_sn") = "" Then + temp_p_sn = Rs("p_sn")&"_C01" + Else + temp_p_sn = Rs("p_child_sn") + End If + End If + %> + ','<%=Rs("p_method_cd")%>');">°ü¸® + <% + 'End If + %> + <%=Left(Rs("p_input_dt"), 10)%>
+ + + + +
+ + <%=Pagelist("project_list2_support_2014.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&x=" & x & "&chk=" & chk & "&p_depart=" & p_depart & "&p_team=" & p_team & "&flag=" & flag & "&tmp_sort=" & tmp_sort & "&tmp_month=" & tmp_month & "&tmp_year=" & tmp_year & "&p_team_people=" & p_team_people & "&z=" & z)%> + +
+
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_list2_weekly_2014.asp b/project/project_list2_weekly_2014.asp new file mode 100644 index 0000000..8ec3e3b --- /dev/null +++ b/project/project_list2_weekly_2014.asp @@ -0,0 +1,2366 @@ + + +<% +SET rsp = server.CreateObject("ADODB.RECORDSET") +SET rsa = server.CreateObject("ADODB.RECORDSET") + +dim prj_list(20 , 25) + +Dim p_method_name +Dim client_name +Dim researcher_name +Dim researcher_name2 +Dim sv_name +Dim qc_name +Dim code_name ' +Dim punch_name ' +Dim dp_name +Dim p_cont_cost +Dim progress_status +Dim progress_end_dt +Dim yoil +Dim search_ST_DT +Dim search_END_DT +Dim search_depart + +Dim r_complete +Dim f_complete +Dim d_complete +Dim s_complete + +yoil = 0 + +query = "select datepart(dw, GETDATE()) as yoil " +rsp.Open query, adoConn, 1 + +yoil = rsp("yoil") +rsp.Close + + +query = "select (GETDATE()-" & yoil & "+1)-7 as search_ST_DT, GETDATE()+(7-" & yoil & ") as search_END_DT " +rsp.Open query, adoConn, 1 + +search_ST_DT = Left(rsp("search_ST_DT"), 10) +search_END_DT = Left(rsp("search_END_DT"), 10) +rsp.Close + +If request("search_depart") <> "" Then + search_depart = request("search_depart") +Else + search_depart = Session("Depart_Code") +End if + +search_person = request("search_person") + + +x = request("x") +z = request("z") '1Àº ¼öÇà°èȹ, 2´Â ÇÁ·ÎÁ§Æ® ÁøÇà, 3Àº ÇÁ·ÎÁ§Æ® ¸¶°¨ + +p_team = request("p_team") +flag = request("flag") 'my_menu.asp¿¡¼­ º¸³»¿À´Â °ª (tmp_stat_flag¿Í ºñ±³) +If request("tmp_sort") <> "" Then + tmp_sort = request("tmp_sort") +Else + tmp_sort = "0" +End If + +tmp_month = request("tmp_month") +tmp_year = request("tmp_year") +p_team_people = request("p_team_people") +p_subject = request("p_subject") +p_method_nm = request("p_method_nm") +p_method_cd = request("p_method_cd") + +chk = request("chk") 'ºÎ¼­°¡ º¯°æµÇ¸é ÆÀÀ» Àüü·Î ÃʱâÈ­ ÇÔ + +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if + +'page config +tmp_colspan = 9 + +if tmp_year = "" then + tmp_year = cstr(year(date())) +end if + +if tmp_month = "" then + tmp_month = cstr(month(date())) +end if + +'response.write "search_ST_DT : " & search_ST_DT & "
" +'response.write "search_END_DT : " & search_END_DT & "
" +'Response.Write Session("teamplace") & "
" +'Response.Write Session("user_number") & "
" +'Response.Write search_depart & "
" + +%> + +
+ +
+

ÁÖ°£¾÷¹«ÇöȲ

+
+ + +
+
+
+
+
+
+ + + + + + + + + + <% if (cint(search_depart) >= 20 and cint(search_depart) <= 90) or cint(search_depart) = 90 or cint(search_depart) = 101 or cint(search_depart) = 102 or cint(search_depart) = 103 Then %> + + + + + + + + + + + + + + + + + + + + + + + + + <% End If %> + + + <% if cint(search_depart) = 12 then %> + + + + + + + + + + + + + + + + <% End If %> + + + <% if( cint(search_depart) = 17 or cint(search_depart) = 18 or cint(search_depart) = 19 )Then %> + + + + + + + + + + + + + + + + <% End If %> + +
+ + + + +
+ ±×·ì  +      + Âü¿©Àη  + +    + +
+
+   +
+ + Á¦¾È ÇöȲ.(¿¬±¸) + - °áÁ¤¿¹Á¤ÀÏ ±âÁØ + +
+
+ + + + + + + + + + + + + + + + <% + + 'ÀüÁÖ & ±ÝÁÖ Á¦¾Èµî·Ï ÇöȲ~! + query = ""&VbCrlf + query = query & "select p_sn, p_subject as p_subject_tmp, '0' as p_method, '0' as p_sample, p_cli_company_cd as p_cli_company, p_cont_cost, "&VbCrlf + query = query & "p_depart_dep, p_input_user, p_decide_date, p_input_dt, p_state, p_memo "&VbCrlf + query = query & "from t_project_base "&VbCrlf + query = query & "where convert(varchar, p_decide_date,23) >= convert(varchar, GETDATE(),23) "&VbCrlf + query = query & "and p_depart_dep = '" & search_depart & "' "&VbCrlf + + if search_person <> "" then + query = query & "and p_input_user = '"& search_person &"' "&VbCrlf + end if + query = query & "order by p_input_dt "&VbCrlf + '------------------------------------------------------ + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 Then + For i = 1 To rsp.RecordCount + + p_method_name = "" + If rsp("p_method") <> "" Then + query = "select a.p_method_cd, b.p_method_nm from V_PROJECT_METHOD as A " + query = query & "inner join T_PROJECT_METHOD_CD as B on a.p_method_cd = b.p_method_cd " + query = query & "where p_sn = '" & rsp("p_sn") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("p_method_nm") + Else + p_method_name = p_method_name & ", " & rsa("p_method_nm") + End if + rsa.moveNext + next + End If + rsa.close + End If + + client_name = "" + If rsp("p_cli_company") <> "" Then + query = "select p_cli_company_nm from V_CLIENT_COMP where p_cli_company_cd = '" & rsp("p_cli_company") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + client_name = rsa("p_cli_company_nm") + End If + rsa.close + End If + + researcher_name = "" + If rsp("p_input_user") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_input_user") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name = rsa("p_name") + End If + rsa.close + End If + + p_cont_cost = "0" + If CDbl(rsp("p_cont_cost")) > 0 Then + p_cont_cost = formatnumber(rsp("p_cont_cost"), 0) + Else + p_cont_cost = "0.00" + End If + + Dim proposal_status + + If rsp("p_state") <> "" Then + If rsp("p_state") = "X" Then + proposal_status = "Å»¶ô" + ElseIf rsp("p_state") = "D" Then + proposal_status = "¿¬±â" + ElseIf rsp("p_state") = "K" Then + proposal_status = "Á¦¾È" + Elseif rsp("p_state") = "E" Then + proposal_status = "°ËÅä(°¡¸Á)" + Else + proposal_status = "¼öÁÖ" + End if + End if + + %> + + + + + + + + + + + + + + <% + rsp.MoveNext + Next + + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýŬ¶óÀÌ¾ðÆ®°è¾à±Ý¾×ÁøÇà»óÅ´ã´ç¿¬±¸¿ø°áÁ¤¿¹Á¤Àϵî·ÏÀÏÀÚ¸Þ¸ð
<%=i%>')" class="blue"><%=rsp("p_sn")%>')" class="blue"><%=rsp("p_subject_tmp")%><%=p_method_name%><%=client_name%><%=p_cont_cost%><%=proposal_status%><%=researcher_name%><%=Mid(Left(rsp("p_decide_date"), 10), 6, 10)%><%=Mid(Left(rsp("p_input_dt"), 10), 6, 10)%> + <% If Len(rsp("p_memo")) > 10 Then %> <%=(Left(rsp("p_memo"), 10) & "...")%> + <% Else %> <%=rsp("p_memo")%> <% End If %> +
+   +
+
+   +
+ + ½Å±Ô ÇÁ·ÎÁ§Æ® ÇöȲ.(¿¬±¸) + +
+ + + + + + + + + + + + + + + + + + <% + 'ÀüÁÖ & ±ÝÁÖ ½Å±Ô ÇÁ·ÎÁ§Æ®(¼öÇà°èȹ¼­ °áÀç ¹Ì¿Ï·á ´Ü°è) µî·Ï ÇöȲ~! + query = "select * " + query = query & "from ( " + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sample, TPM.p_cli_company_cd, TPM.p_cont_cost " + query = query & ", TPB.p_depart_dep, TPB.p_input_user, TPM.p_rsch_dept, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo " + query = query & ", p_rsch_1_a, p_rsch_1_b, p_rsch_1_c, p_rsch_2_a, p_rsch_2_b, p_rsch_2_c " + query = query & ", p_rsch_3_a, p_rsch_3_b, p_rsch_3_c, p_rsch_4_a, p_rsch_4_b, p_rsch_4_c " + query = query & "from T_PROJECT_METHOD as TPM " + query = query & "inner join T_PROJECT_BASE as TPB " + query = query & "on TPM.p_sn = TPB.p_sn " + query = query & "where TPM.p_sub_type = 'C' " + query = query & "and TPM.p_progress_status > '001' " + query = query & "and TPM.p_progress_status < '008' " + query = query & "and (p_research_complete is null or p_field_complete is null or p_dp_complete is null ) " + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + query = query & "and TPM.p_input_dt <= (GETDATE()+(7-" & yoil & ")) " + query = query & "union all " + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sample, TPM.p_cli_company_cd, TPB.p_cont_cost " + query = query & ", TPB.p_depart_dep, TPB.p_input_user, TPM.p_rsch_dept, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo " + query = query & ", p_rsch_1_a, p_rsch_1_b, p_rsch_1_c, p_rsch_2_a, p_rsch_2_b, p_rsch_2_c " + query = query & ", p_rsch_3_a, p_rsch_3_b, p_rsch_3_c, p_rsch_4_a, p_rsch_4_b, p_rsch_4_c " + query = query & "from T_PROJECT_METHOD as TPM " + query = query & "inner join T_PROJECT_BASE as TPB " + query = query & "on TPM.p_sn = TPB.p_sn " + query = query & "where TPM.p_sub_type = 'M' " + query = query & "and TPM.p_progress_status > '001' " + query = query & "and TPM.p_progress_status < '008' " + query = query & "and (p_research_complete is null or p_field_complete is null or p_dp_complete is null ) " + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + query = query & "and TPM.p_input_dt <= (GETDATE()+(7-" & yoil & ")) " + query = query & ") as T " + query = query & "where p_child_sn like case p_sub_type when 'M' then '%_M01' else '%%' end " + query = query & "and (p_depart_dep = '" & search_depart & "' OR p_rsch_dept = '" & search_depart & "')" + + + if search_person <> "" then + query = query & " and (p_rsch_1_a = '"& search_person &"' or p_rsch_1_b = '"& search_person &"' or p_rsch_1_c = '"& search_person &"' " + query = query & " or p_rsch_2_a = '"& search_person &"' or p_rsch_2_b = '"& search_person &"' or p_rsch_2_c = '"& search_person &"' " + query = query & " or p_rsch_3_a = '"& search_person &"' or p_rsch_3_b = '"& search_person &"' or p_rsch_3_c = '"& search_person &"' " + query = query & " or p_rsch_4_a = '"& search_person &"' or p_rsch_4_b = '"& search_person &"' or p_rsch_4_c = '"& search_person &"') " + end if + query = query & "order by p_depart_dep, p_child_sn " + '------------------------------------------------------ + rsp.Open query, adoConn, 1 + + if rsp.RecordCount > 0 Then + For i = 1 To rsp.RecordCount + + p_method_name = "" + If rsp("p_method_cd") <> "" Then + query = "select a.p_method_cd, b.p_method_nm from V_PROJECT_METHOD as A " + query = query & "inner join T_PROJECT_METHOD_CD as B on a.p_method_cd = b.p_method_cd " + + If rsp("p_sub_type") = "M" Then + query = query & "where p_sn = '" & Left(rsp("p_child_sn"), 7) &"' " + Else + query = query & "where p_child_sn = '" & rsp("p_child_sn") &"' " + End if + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("p_method_nm") + Else + p_method_name = p_method_name & ", " & rsa("p_method_nm") + End if + rsa.moveNext + next + End If + rsa.close + End If + + client_name = "" + If rsp("p_cli_company_cd") <> "" Then + query = "select p_cli_company_nm from V_CLIENT_COMP where p_cli_company_cd = '" & rsp("p_cli_company_cd") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + client_name = rsa("p_cli_company_nm") + End If + rsa.close + End If + + researcher_name = "" + If rsp("p_input_user") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_input_user") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name = rsa("p_name") + End If + rsa.close + End If + + p_cont_cost = "0" + If CDbl(rsp("p_cont_cost")) > 0 Then + p_cont_cost = formatnumber(rsp("p_cont_cost"), 0) + Else + p_cont_cost = "0.00" + End If + + progress_status = "" + If rsp("p_input_user") <> "" Then + query = "select * from T_COMMON_CODE_DETAIL where c_kind_code = '010' and c_common_code = '" & rsp("p_progress_status") & "' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + progress_status = rsa("c_code_name") + End If + rsa.close + End If + + tmp_total_rate = "0" + If rsp("p_child_sn") <> "" Then + sub_where_query = "" + If rsp("p_sub_type") = "M" Then + sub_where_query = " and p_child_sn = '" & Left(rsp("p_child_sn"), 7) & "_M01' " + Else + sub_where_query = " and p_child_sn = '" & rsp("p_child_sn") & "' " + End If + + query = " select sum(T.total_money) as total_money " + query = query + " from( " + query = query + " select sum(convert(money, est_money)) as total_money from direct_cost " + query = query + " where p_sn like '" & Left(rsp("p_child_sn"), 7) & "' and cost_type = 'research' and del_yes_no = 'no' " + query = query + sub_where_query + query = query + " union all " + query = query + " select sum(convert(money, est_money)) as total_money from direct_cost " + query = query + " where p_sn like '" & Left(rsp("p_child_sn"), 7) & "' and cost_type = 'field' and del_yes_no = 'no' " + query = query + sub_where_query + query = query + " ) as T " + + rsa.Open query, adoConn, 1 + '''response.write query & "
" + tmp_total_money = "" + tmp_total_rate = "" + if rsa.RecordCount = 1 Then + '''response.write "$" & rsa("total_money") & "
" + if rsa("total_money") <> "" then + tmp_len = len(rsa("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_total_money = "," & tmp_total_money + end if + tmp_total_money = left(right(rsa("total_money"),j), 1) & tmp_total_money + Next + + If CDbl(p_cont_cost) = 0 Then + tmp_total_rate = "0.0" + Else + tmp_total_rate = formatnumber((tmp_total_money / p_cont_cost) * 100, 1) + End if + Else + tmp_total_money = "0" + tmp_total_rate = "0" + end If + end if + rsa.Close + End If + %> + + + + + + + + + + + + + + + <% + rsp.MoveNext + Next + + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÇ¥º»¼öŬ¶óÀÌ¾ðÆ®°è¾à±Ý¾×¿¹»óÁ÷Á¢ºñÀ²ÁøÇà»óÅ´ã´ç¿¬±¸¿øµî·ÏÀÏÀÚ¸Þ¸ð
<%=i%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"> <%=rsp("p_child_sn")%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"> <%=rsp("p_subject")%><%=p_method_name%><%=rsp("p_sample")%><%=client_name%><%=p_cont_cost%><%=tmp_total_rate%>%<%=progress_status%><%=researcher_name%><%=Mid(Left(rsp("p_input_dt"), 10), 6, 10)%> + <% If Len(rsp("p_memo")) > 10 Then %> <%=(Left(rsp("p_memo"), 10) & "...")%> + <% Else %> <%=rsp("p_memo")%> <% End If %> +
+   +
+
+   +
+ + ÁøÇà ÇÁ·ÎÁ§Æ® ÇöȲ.(¿¬±¸) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + <% + 'ÀüÁÖ & ±ÝÁÖ ÁøÇà ÇÁ·ÎÁ§Æ®(¼öÇà°èȹ¼­ °áÀç ¿Ï·á ´Ü°è) µî·Ï ÇöȲ~! + query = "select * " + query = query & "from ( " + query = query & "select p_sn as p_child_sn, 'C' as p_sub_type, p_subject, p_method as p_method_cd, p_convdate_end as p_con_date_end, p_sample, p_cli_company as p_cli_company_cd " + query = query & ", '' as p_rsch_dept, '' as p_field_dept, '' as p_is_dept, p_budget as p_cont_cost " + query = query & ", p_depart_dep, p_rsch_1 as p_input_user, p_contact_date as p_input_dt, '999' as p_progress_status, p_memo " + query = query & ", p_rsch_1 as p_rsch_1_a, '' as p_rsch_1_b, '' as p_rsch_1_c, p_rsch_2 as p_rsch_2_a, '' as p_rsch_2_b, '' as p_rsch_2_c " + query = query & ", p_rsch_3 as p_rsch_3_a, '' as p_rsch_3_b, '' as p_rsch_3_c, p_rsch_4 as p_rsch_4_a, '' as p_rsch_4_b, '' as p_rsch_4_c " + query = query & ", p_research_complete, p_field_complete, p_dp_complete, p_support_complete " + query = query & "from project " + 'query = query & "where substring(p_field_end,1,4) = year(GETDATE()) and p_field_end > GETDATE() " + query = query & "where p_sn like substring(convert(varchar(4), year(GETDATE())), 3, 2)+'%' and p_contact_date is not null " + query = query & "and substring(p_contact_date,1,4) = year(GETDATE()) " + query = query & "and (p_research_complete is null or p_field_complete is null or p_dp_complete is null ) " + query = query & "union all " + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_con_date_end, TPM.p_sample, TPM.p_cli_company_cd " + query = query & ", p_rsch_dept, p_field_dept, p_is_dept, TPM.p_cont_cost " + query = query & ", TPB.p_depart_dep, TPB.p_input_user, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo " + query = query & ", p_rsch_1_a, p_rsch_1_b, p_rsch_1_c, p_rsch_2_a, p_rsch_2_b, p_rsch_2_c " + query = query & ", p_rsch_3_a, p_rsch_3_b, p_rsch_3_c, p_rsch_4_a, p_rsch_4_b, p_rsch_4_c " + query = query & ", p_research_complete, p_field_complete, p_dp_complete, p_support_complete " + query = query & "from T_PROJECT_METHOD as TPM " + query = query & "inner join T_PROJECT_BASE as TPB " + query = query & "on TPM.p_sn = TPB.p_sn " + query = query & "where TPM.p_sub_type = 'C' " + query = query & "and TPM.p_progress_status > '007' " + query = query & "and (p_research_complete is null or p_field_complete is null or p_dp_complete is null ) " + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + query = query & "union all " + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_con_date_end, TPM.p_sample, TPM.p_cli_company_cd " + query = query & ", p_rsch_dept, p_field_dept, p_is_dept, TPB.p_cont_cost " + query = query & ", TPB.p_depart_dep, TPB.p_input_user, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo " + query = query & ", p_rsch_1_a, p_rsch_1_b, p_rsch_1_c, p_rsch_2_a, p_rsch_2_b, p_rsch_2_c " + query = query & ", p_rsch_3_a, p_rsch_3_b, p_rsch_3_c, p_rsch_4_a, p_rsch_4_b, p_rsch_4_c " + query = query & ", p_research_complete, p_field_complete, p_dp_complete, p_support_complete " + query = query & "from T_PROJECT_METHOD as TPM " + query = query & "inner join T_PROJECT_BASE as TPB " + query = query & "on TPM.p_sn = TPB.p_sn " + query = query & "where TPM.p_sub_type = 'M' " + query = query & "and TPM.p_progress_status > '007' " + query = query & "and (p_research_complete is null or p_field_complete is null or p_dp_complete is null ) " + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + query = query & ") as T " + query = query & "where p_child_sn like case p_sub_type when 'M' then '%_M01' else '%%' end " + query = query & "and (p_depart_dep = '" & search_depart & "' OR p_rsch_dept = '" & search_depart & "') " + + if search_person <> "" then + query = query & " and (p_rsch_1_a = '"& search_person &"' or p_rsch_1_b = '"& search_person &"' or p_rsch_1_c = '"& search_person &"' " + query = query & " or p_rsch_2_a = '"& search_person &"' or p_rsch_2_b = '"& search_person &"' or p_rsch_2_c = '"& search_person &"' " + query = query & " or p_rsch_3_a = '"& search_person &"' or p_rsch_3_b = '"& search_person &"' or p_rsch_3_c = '"& search_person &"' " + query = query & " or p_rsch_4_a = '"& search_person &"' or p_rsch_4_b = '"& search_person &"' or p_rsch_4_c = '"& search_person &"') " + end if + query = query & "order by p_depart_dep, p_child_sn " + '------------------------------------------------------ + + 'response.write query + + rsp.Open query, adoConn, 1 + + if rsp.RecordCount > 0 Then + For i = 1 To rsp.RecordCount + p_method_name = "" + If rsp("p_method_cd") <> "" Then + If Len(rsp("p_child_sn")) > 10 Then + query = "select a.p_method_cd, b.p_method_nm from V_PROJECT_METHOD as A " + query = query & "inner join T_PROJECT_METHOD_CD as B on a.p_method_cd = b.p_method_cd " + + If rsp("p_sub_type") = "M" Then + query = query & "where p_sn = '" & Left(rsp("p_child_sn"), 7) &"' " + Else + query = query & "where p_child_sn = '" & rsp("p_child_sn") &"' " + End If + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("p_method_nm") + Else + p_method_name = p_method_name & ", " & rsa("p_method_nm") + End if + rsa.moveNext + next + End If + Else + query = "select code1, name1 from p_method where code1 = '" & rsp("p_method_cd") & "' " + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("name1") + Else + p_method_name = p_method_name & ", " & rsa("name1") + End if + rsa.moveNext + next + End If + End if + + rsa.close + End If + + client_name = "" + If rsp("p_cli_company_cd") <> "" Then + query = "select p_cli_company_nm from V_CLIENT_COMP where p_cli_company_cd = '" & rsp("p_cli_company_cd") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + client_name = rsa("p_cli_company_nm") + End If + rsa.close + End If + + researcher_name = "" + If rsp("p_rsch_1_a") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_1_a") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name = rsa("p_name") + End If + rsa.close + End If + + researcher_name2 = "" + If rsp("p_rsch_1_b") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_1_b") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name2 = rsa("p_name") + End If + rsa.close + End If + + p_cont_cost = "0" + If CDbl(rsp("p_cont_cost")) > 0 Then + p_cont_cost = formatnumber(rsp("p_cont_cost"), 0) + Else + p_cont_cost = "0.0" + End If + + tmp_total_rate = "0" + If rsp("p_child_sn") <> "" Then + tmp_total_money = "" + tmp_total_rate = "" + + If CLng(Left(rsp("p_child_sn"), 4)) >= 1407 Then + If rsp("p_sub_type") = "M" Then + sub_where_query = " and p_child_sn = '" & Left(rsp("p_child_sn"), 7) & "_M01' " + Else + sub_where_query = " and p_child_sn = '" & rsp("p_child_sn") & "' " + End If + + query = " select sum(T.total_money) as total_money " + query = query + " from( " + query = query + " select sum(convert(money, est_money)) as total_money from direct_cost " + query = query + " where p_sn like '" & Left(rsp("p_child_sn"), 7) & "' and cost_type = 'research' and del_yes_no = 'no' " + query = query + sub_where_query + query = query + " union all " + query = query + " select sum(convert(money, est_money)) as total_money from direct_cost " + query = query + " where p_sn like '" & Left(rsp("p_child_sn"), 7) & "' and cost_type = 'field' and del_yes_no = 'no' " + query = query + sub_where_query + query = query + " ) as T " + + rsa.Open query, adoConn, 1 + '''response.write query + + if rsa.RecordCount = 1 Then + If rsp("p_sub_type") = "M" then + '''response.write query + End if + if rsa("total_money") <> "" then + tmp_len = len(rsa("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_total_money = "," & tmp_total_money + end if + tmp_total_money = left(right(rsa("total_money"),j), 1) & tmp_total_money + Next + + If CDbl(p_cont_cost) = 0 Then + tmp_total_rate = "0.0" + Else + tmp_total_rate = formatnumber((tmp_total_money / p_cont_cost) * 100, 1) + End if + Else + tmp_total_money = "0" + tmp_total_rate = "0" + end If + end if + rsa.Close + Else + query = "select p_esti_cost as total_money from project where p_sn = '" & rsp("p_child_sn") & "' " + + rsa.Open query, adoConn, 1 + '''response.write query + tmp_total_money = "" + tmp_total_rate = "" + + if rsa.RecordCount = 1 Then + if rsa("total_money") <> "" then + tmp_len = len(rsa("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_total_money = "," & tmp_total_money + end if + tmp_total_money = left(right(rsa("total_money"),j), 1) & tmp_total_money + Next + + If CDbl(p_cont_cost) = 0 Then + tmp_total_rate = "0.0" + Else + tmp_total_rate = formatnumber((tmp_total_money / p_cont_cost) * 100, 1) + End if + Else + tmp_total_money = "0" + tmp_total_rate = "0" + end If + end if + rsa.Close + End if + End If + + If rsp("p_input_user") <> "" Then + If Len(rsp("p_child_sn")) > 10 Then + query = ""&VbCrlf + query = query & "select case when p_rsch_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_rsch_date_end >= CONVERT(varchar(10), GETDATE(), 126) then 'º¸°í¼­ ÁøÇàÁß' else '' end as progress_01 "&VbCrlf + query = query & " ,p_rsch_date_end as progress_01_dt "&VbCrlf + query = query & " ,case when p_field_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_field_date_end >= CONVERT(varchar(10), GETDATE(), 126) then '½Ç»ç ÁøÇàÁß' else '' end as progress_02 "&VbCrlf + query = query & " ,p_field_date_end as progress_02_dt "&VbCrlf + query = query & " ,case when p_verify_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_verify_date_end >= CONVERT(varchar(10), GETDATE(), 126) then '°ËÁõ ÁøÇàÁß' else '' end as progress_03 "&VbCrlf + query = query & " ,p_verify_date_end as progress_03_dt "&VbCrlf + query = query & " ,case when p_punch_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_punch_date_end >= CONVERT(varchar(10), GETDATE(), 126) then 'ÆÝĪ ÁøÇàÁß' else '' end as progress_04 "&VbCrlf + query = query & " ,p_punch_date_end as progress_04_dt "&VbCrlf + query = query & " ,case when p_code_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_code_date_end >= CONVERT(varchar(10), GETDATE(), 126) then 'ÄÚµù ÁøÇàÁß' else '' end as progress_05 "&VbCrlf + query = query & " ,p_code_date_end as progress_05_dt "&VbCrlf + query = query & " ,case when p_dp_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_dp_date_end >= CONVERT(varchar(10), GETDATE(), 126) then 'DP ÁøÇàÁß' else '' end as progress_06 "&VbCrlf + query = query & " ,p_dp_date_end as progress_06_dt "&VbCrlf + query = query & " from T_PROJECT_METHOD where p_child_sn = '" & rsp("p_child_sn") & "' "&VbCrlf + Else + query = "select case when p_report_st2 <= CONVERT(varchar(10), GETDATE(), 126) and p_report_end2 >= CONVERT(varchar(10), GETDATE(), 126) then 'º¸°í¼­ ÁøÇàÁß' else '' end as progress_01 "&VbCrlf + query = query & " ,p_report_end2 as progress_01_dt "&VbCrlf + query = query & " ,case when p_field_st2 <= CONVERT(varchar(10), GETDATE(), 126) and p_field_end2 >= CONVERT(varchar(10), GETDATE(), 126) then '½Ç»ç(ÄÚµù+¿¡µðÆÃ) ÁøÇàÁß' else '' end as progress_02 "&VbCrlf + query = query & " ,p_field_end2 as progress_02_dt "&VbCrlf + query = query & " ,case when p_punch_st2 <= CONVERT(varchar(10), GETDATE(), 126) and p_punch_end2 >= CONVERT(varchar(10), GETDATE(), 126) then 'ÆÝĪ ÁøÇàÁß' else '' end as progress_03 "&VbCrlf + query = query & " ,p_punch_end2 as progress_03_dt "&VbCrlf + query = query & " ,case when p_dp_st2 <= CONVERT(varchar(10), GETDATE(), 126) and p_dp_end2 >= CONVERT(varchar(10), GETDATE(), 126) then 'DP ÁøÇàÁß' else '' end as progress_04 "&VbCrlf + query = query & " ,p_dp_end2 as progress_04_dt "&VbCrlf + query = query & " from project where p_sn = '" & rsp("p_child_sn") & "' "&VbCrlf + End if + + 'if( rsp("p_child_sn") = "2207007_C02" )then + ' response.write query + 'end if + rsa.Open query, adoConn, 1 + + progress_status = "" + progress_end_dt = "" + + If rsa.RecordCount > 0 Then + If Len(rsp("p_child_sn")) > 10 then + toNum = 6 + Else + toNum = 4 + End If + + For j = 1 To toNum + If rsa("progress_0"& j) <> "" Then + If progress_status <> "" Then progress_status = progress_status & "," + progress_status = progress_status & rsa("progress_0"& j) + progress_end_dt = rsa("progress_0"& j & "_dt") + End if + Next + End If + rsa.close + End If + + r_complete = "N" + f_complete = "N" + d_complete = "N" + s_complete = "N" + + If rsp("p_research_complete") = "1" Then + r_complete = "Y" + End If + + If rsp("p_field_complete") = "1" Then + f_complete = "Y" + End If + + If rsp("p_dp_complete") = "1" Then + d_complete = "Y" + End If + + If rsp("p_support_complete") = "1" Then + s_complete = "Y" + End if + + if rsp("p_rsch_dept") = "900" then + r_complete = "-" + end if + + if rsp("p_field_dept") = "900" then + f_complete = "-" + end if + + if rsp("p_is_dept") = "900" then + d_complete = "-" + s_complete = "-" + end If + + Dim progress_status_arr + If InStr(progress_status,",") <> "0" Then + progress_status_arr= Split(progress_status,",") + progress_status=progress_status_arr(0) + Else + progress_status=progress_status + End If + %> + + + + <% end if %> + + + + + + + + + + + + + + + + + <% + rsp.MoveNext + Next + + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÇ¥º»¼öŬ¶óÀÌ¾ðÆ®°è¾à±Ý¾×¿¹»óÁ÷Á¢ºñÀ²ÁøÇà»óÅ´ã´ç¿¬±¸¿øµî·ÏÀÏÀÚ¿Ï·á¿©ºÎ¸Þ¸ð
ÇöÀç»óŰè¾àÁ¾·á¿¬±¸½Ç»çÀü»ê
<%=i%> + ','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"><%=rsp("p_child_sn")%>
+ <% if Session("teamplace") >= 3 and Session("teamplace") <= 6 and r_complete = "N" then %> + ')">(¿Ï·á)
','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"><%=rsp("p_subject")%><%=p_method_name%><%=rsp("p_sample")%><%=client_name%><%=p_cont_cost%><%=tmp_total_rate%>%<%=progress_status%><%=rsp("p_con_date_end")%><%=researcher_name%>, <%=researcher_name2%><%=Mid(Left(rsp("p_input_dt"), 10), 6, 10)%><%=r_complete%><%=f_complete%><%=d_complete%> + <% If Len(rsp("p_memo")) > 10 Then %> <%=(Left(rsp("p_memo"), 10) & "...")%> + <% Else %> <%=rsp("p_memo")%> <% End If %> +
+   +
+
+ + ½Å±Ô ÇÁ·ÎÁ§Æ® ÇöȲ.(½Ç»ç) + +
+ + + + + + + + + + + + + + + + + + + + + + + + + <% + 'ÀüÁÖ & ±ÝÁÖ ½Å±Ô ÇÁ·ÎÁ§Æ®(¼öÇà°èȹ¼­ °áÀç ¹Ì¿Ï·á ´Ü°è) µî·Ï ÇöȲ~! + query = "select * "&VbCrlf + query = query & "from ( "&VbCrlf + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sur_area, TPM.p_sample, TPM.p_field_process, TPM.p_cli_company_cd, TPM.p_cont_cost, TPM.p_ot_date "&VbCrlf + query = query & ", TPM.p_rsch_dept, TPM.p_field_dept, TPM.p_is_dept, TPB.p_depart_dep, TPM.p_dp_date_st, TPB.p_input_user, TPM.p_dp_1, TPM.p_input_dt, TPM.p_progress_flag, TPM.p_input_complete, TPM.p_progress_status, TPM.p_memo "&VbCrlf + query = query & ", p_rsch_1_b, p_rsch_2_b, p_sv_1, p_sv_2, p_sv_3, p_sv_4, p_code_1, p_code_2, p_code_3, p_code_4, p_verify_1, p_verify_2, p_verify_3, p_verify_4, p_punch_1, p_punch_2, p_punch_3, p_punch_4 "&VbCrlf + query = query & "from T_PROJECT_METHOD as TPM "&VbCrlf + query = query & "inner join T_PROJECT_BASE as TPB "&VbCrlf + query = query & "on TPM.p_sn = TPB.p_sn "&VbCrlf + query = query & "where TPM.p_sub_type = 'C' "&VbCrlf + query = query & "and TPM.p_progress_status > '001' "&VbCrlf + query = query & "and TPM.p_progress_status < '008' "&VbCrlf + query = query & "and (p_field_complete is null or p_field_complete = '' or p_field_complete = 0) "&VbCrlf + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + query = query & "and TPM.p_input_dt <= (GETDATE()+(7-" & yoil & ")) "&VbCrlf + query = query & "and p_field_dept <> '900' "&VbCrlf + query = query & "union all "&VbCrlf + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sur_area, TPM.p_sample, TPM.p_field_process, TPM.p_cli_company_cd, TPB.p_cont_cost, TPM.p_ot_date "&VbCrlf + query = query & ", TPM.p_rsch_dept, TPM.p_field_dept, TPM.p_is_dept, TPB.p_depart_dep, TPM.p_dp_date_st, TPB.p_input_user, TPM.p_dp_1, TPM.p_input_dt, TPM.p_progress_flag, TPM.p_input_complete, TPM.p_progress_status, TPM.p_memo "&VbCrlf + query = query & ", p_rsch_1_b, p_rsch_2_b, p_sv_1, p_sv_2, p_sv_3, p_sv_4, p_code_1, p_code_2, p_code_3, p_code_4, p_verify_1, p_verify_2, p_verify_3, p_verify_4, p_punch_1, p_punch_2, p_punch_3, p_punch_4 "&VbCrlf + query = query & "from T_PROJECT_METHOD as TPM "&VbCrlf + query = query & "inner join T_PROJECT_BASE as TPB "&VbCrlf + query = query & "on TPM.p_sn = TPB.p_sn "&VbCrlf + query = query & "where TPM.p_sub_type = 'M' "&VbCrlf + query = query & "and TPM.p_progress_status > '001' "&VbCrlf + query = query & "and TPM.p_progress_status < '008' "&VbCrlf + query = query & "and (p_field_complete is null or p_field_complete = '' or p_field_complete = 0) "&VbCrlf + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + query = query & "and TPM.p_input_dt <= (GETDATE()+(7-" & yoil & ")) "&VbCrlf + query = query & "and p_field_dept <> '900' "&VbCrlf + query = query & ") as T "&VbCrlf + query = query & "where p_child_sn like case p_sub_type when 'M' then '%_M01' else '%%' end "&VbCrlf + 'query = query & "where p_depart_dep = '" & search_depart & "' " + if search_person <> "" then + query = query & " and (p_sv_1 = '"& search_person &"' or p_sv_2 = '"& search_person &"' or p_sv_3 = '"& search_person &"' or p_sv_4 = '"& search_person &"' "&VbCrlf + query = query & " or p_code_1 = '"& search_person &"' or p_code_2 = '"& search_person &"' or p_code_3 = '"& search_person &"' or p_code_4 = '"& search_person &"' "&VbCrlf + query = query & " or p_verify_1 = '"& search_person &"' or p_verify_2 = '"& search_person &"' or p_verify_3 = '"& search_person &"' or p_verify_4 = '"& search_person &"' "&VbCrlf + query = query & " or p_punch_1 = '"& search_person &"' or p_punch_2 = '"& search_person &"' or p_punch_3 = '"& search_person &"' or p_punch_4 = '"& search_person &"' ) "&VbCrlf + end if + query = query & "order by p_depart_dep, p_child_sn "&VbCrlf + '------------------------------------------------------ + 'Response.Write query&"
" + rsp.Open query, adoConn, 1 + + if rsp.RecordCount > 0 Then + For i = 1 To rsp.RecordCount + + p_method_name = "" + If rsp("p_method_cd") <> "" Then + query = "select a.p_method_cd, b.p_method_nm from V_PROJECT_METHOD as A " + query = query & "inner join T_PROJECT_METHOD_CD as B on a.p_method_cd = b.p_method_cd " + + If rsp("p_sub_type") = "M" Then + query = query & "where p_sn = '" & Left(rsp("p_child_sn"), 7) &"' " + Else + query = query & "where p_child_sn = '" & rsp("p_child_sn") &"' " + End if + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("p_method_nm") + Else + p_method_name = p_method_name & ", " & rsa("p_method_nm") + End if + rsa.moveNext + next + End If + rsa.close + End If + + client_name = "" + If rsp("p_cli_company_cd") <> "" Then + query = "select p_cli_company_nm from V_CLIENT_COMP where p_cli_company_cd = '" & rsp("p_cli_company_cd") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + client_name = rsa("p_cli_company_nm") + End If + rsa.close + End If + + researcher_name = "" + If rsp("p_rsch_1_b") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_1_b") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name = rsa("p_name") + End If + rsa.close + End If + + researcher_name2 = "" + If rsp("p_rsch_2_b") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_2_b") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name2 = rsa("p_name") + End If + rsa.close + End If + + sv_name = "" + If rsp("p_sv_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_sv_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + sv_name = rsa("p_name") + End If + rsa.close + End If + + qc_name = "" + If rsp("p_verify_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_verify_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + qc_name = rsa("p_name") + End If + rsa.close + End If + + code_name = "" + If rsp("p_code_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_code_1") &"' " '#####ÄÚµù 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + If rsa.RecordCount > 0 Then + code_name = rsa("p_name") + End If + rsa.close + End If + + punch_name = "" + If rsp("p_punch_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_punch_1") &"' " '#####ÆÝÄ¡ 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + If rsa.RecordCount > 0 Then + punch_name = rsa("p_name") + End If + rsa.close + End If + + dp_name = "" + If rsp("p_dp_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_dp_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + dp_name = rsa("p_name") + End If + rsa.close + End If + + progress_status = "" + If rsp("p_input_user") <> "" Then + IF rsp("p_progress_status") = "001" Then + progress_status = "Âü¿©ºÎ¼­ Á¤º¸ ÀÔ·Â Áß" + Elseif rsp("p_progress_status") = "006" Then + progress_status = "" + if rsp("p_rsch_dept") <> "900" and left(rsp("p_progress_flag"), 1) = "x" Then + progress_status = "¿¬±¸" + End If + if rsp("p_field_dept") <> "900" and mid(rsp("p_progress_flag"), 2, 1) = "x" Then + if progress_status <> "" Then + progress_status = progress_status & "," + End If + progress_status = progress_status & "½Ç»ç" + End If + if rsp("p_is_dept") <> "900" and mid(rsp("p_progress_flag"), 3, 1) = "x" Then + if progress_status <> "" Then + progress_status = progress_status & "," + End If + progress_status = progress_status & "DP" + End If + if inStr(rsp("p_progress_flag"), "x") > 0 Then + progress_status = progress_status & " Á¤º¸ " + End If + if progress_status <> "" Then + progress_status = progress_status & "
" + End If + if rsp("p_rsch_dept") <> "900" and left(rsp("p_input_complete"), 1) = "x" Then + progress_status = progress_status & "¿¬±¸" + End If + if rsp("p_field_dept") <> "900" and mid(rsp("p_input_complete"), 2, 1) = "x" Then + if rsp("p_rsch_dept") <> "900" and left(rsp("p_input_complete"), 1) = "x" Then + progress_status = progress_status & "," + End If + progress_status = progress_status & "½Ç»ç" + End If + if inStr(rsp("p_input_complete"), "x") > 0 Then + progress_status = progress_status & " Á÷Á¢ºñ " + End If + if inStr(rsp("p_progress_flag"), "x") > 0 or inStr(rsp("p_input_complete"), "x") > 0 then + progress_status = progress_status & "ÀÔ·ÂÁß" + else + progress_status = "¼öÇà°èȹ¼­ °áÀç Àü" + end if + + Elseif rsp("p_progress_status") = "007" Then + progress_status = "¼öÇà°èȹ¼­ °áÀçÁß" + Elseif rsp("p_progress_status") = "008" Then + progress_status = "¼öÇà°èȹ¼­ °áÀç¿Ï·á" + End If + End If + %> + + + + + + + + + + + + + + + + + + <% + rsp.MoveNext + Next + + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÁö¿ª´ã´çºÎ¼­´ã´çÀÚÇ¥º»¼ö¿ÜÁÖ¿©ºÎOTÀÏÁ¤ÁøÇà»óÅÂDPÀ̰üÀϸ޸ð
¿¬±¸½Ç»çQC (°ËÁõ, ÄÚµù, ÆÝÄ¡)
<%=i%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"> <%=rsp("p_child_sn")%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"> <%=rsp("p_subject")%><%=p_method_name%> + <% + q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '012' and c_common_code = '" & rsp("p_sur_area") & "' " + rsa.Open q, adoConn, 1 + if rsa.RecordCount > 0 Then + %> + <%=rsa("c_code_name")%> + <% + end if + rsa.Close + %> + + <% + '##### Á¶Á÷ °³Æí(2019) + 'q = "select d_code, d_name from Depart where d_yes_no = 'Y' and d_code = '" & rsp("p_depart_dep") & "' " + dim t_name + q = "Select T_name from V_department where before_t_cd1 = '"& rsp("p_depart_dep") &"' " + rsa.Open q, adoConn, 1 + If rsa.RecordCount > 0 Then + 'If (Instr(rsa("T_name"),"ÄÁ¼³ÆÃ") <> 0) or (Instr(rsa("T_name"),"¿¬±¸") <> 0) Then + 't_name = Right(rsa("T_name"),2) + 'Else + t_name = rsa("T_name") + 'End If + %> + <%=t_name%> + <% + end if + rsa.Close + %> + <%=researcher_name%>, <%=researcher_name2%><%=sv_name%><%=qc_name%>, <%=code_name%>, <%=punch_name%><%=rsp("p_sample")%> + <% + q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '015' and c_common_code = '" & rsp("p_field_process") & "' " + rsa.Open q, adoConn, 1 + if rsa.RecordCount > 0 Then + %> + <%=rsa("c_code_name")%> + <% + end if + rsa.Close + %> + <%=Mid(Left(rsp("p_ot_date"), 10), 6, 10)%><%=progress_status%><%=Mid(Left(rsp("p_dp_date_st"), 10), 6, 10)%> + <% If Len(rsp("p_memo")) > 10 Then %> <%=(Left(rsp("p_memo"), 10) & "...")%> + <% Else %> <%=rsp("p_memo")%> <% End If %> +
+   +
+
+   +
+ + ÁøÇà ÇÁ·ÎÁ§Æ® ÇöȲ.(½Ç»ç) + +
+ + + + + + + + + + + + + + + + + + + + + + + <% + 'ÀüÁÖ & ±ÝÁÖ ÁøÇà ÇÁ·ÎÁ§Æ®(¼öÇà°èȹ¼­ °áÀç ¿Ï·á ´Ü°è) µî·Ï ÇöȲ~! + query = "" + query = query & " select t.p_child_sn AS p_child_sn_real, "&VbCrlf + query = query & " case when [½Ç»ç] = 'Y' then '(¿Ï)' else '' end as [½Ç»ç], "&VbCrlf + query = query & " case when [°ËÁõ] = 'Y' then '(¿Ï)' else '' end as [°ËÁõ], "&VbCrlf + query = query & " case when [ÄÚµù] = 'Y' then '(¿Ï)' else '' end as [ÄÚµù], "&VbCrlf + query = query & " case when [ÆÝÄ¡] = 'Y' then '(¿Ï)' else '' end as [ÆÝÄ¡], T.* "&VbCrlf + query = query & " from "&VbCrlf + query = query & " ( --ÇÁ·ÎÁ§Æ®(¼öÇà°èȹ¼­) Á¤º¸ "&VbCrlf + query = query & " select "&VbCrlf + query = query & " TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sur_area, TPB.p_depart_dep, "&VbCrlf + query = query & " TPM.p_sample, TPM.p_ot_date, TPM.p_dp_date_st, TPM.p_memo, TPM.p_cli_company_cd, TPM.p_cont_cost, "&VbCrlf + query = query & " TPM.p_rsch_1_b, TPM.p_rsch_2_b, "&VbCrlf + query = query & " TPM.p_sv_1, p_sv_2, p_sv_3, p_sv_4, "&VbCrlf + query = query & " TPM.p_verify_1, p_verify_2, p_verify_3, p_verify_4, "&VbCrlf + query = query & " TPM.p_code_1, p_code_2, p_code_3, p_code_4, "&VbCrlf + query = query & " TPM.p_punch_1, p_punch_2, p_punch_3, p_punch_4, "&VbCrlf + query = query & " TPM.p_field_process, TPB.p_input_user, TPM.p_dp_1, TPM.p_input_dt, TPM.p_progress_status, p_field_complete "&VbCrlf + query = query & " from T_PROJECT_METHOD as TPM "&VbCrlf + query = query & " inner join T_PROJECT_BASE as TPB "&VbCrlf + query = query & " on TPM.p_sn = TPB.p_sn "&VbCrlf + query = query & " where TPM.p_sub_type = 'C' "&VbCrlf + query = query & " and TPM.p_progress_status > '007' "&VbCrlf + query = query & " and p_field_dept <> '900' "&VbCrlf + query = query & " and (p_field_complete is null or p_field_complete = '' or p_field_complete = 0) "&VbCrlf + query = query & " ) as T "&VbCrlf + query = query & " left outer join --½Ç»ç&QC ¿Ï·á "&VbCrlf + query = query & " ( "&VbCrlf + query = query & " select p_child_sn, [½Ç»ç], "&VbCrlf + query = query & " case "&VbCrlf + query = query & " when [°ËÁõ]='Y' and [°¨Ã»] = 'Y' then 'Y' "&VbCrlf + query = query & " when [°ËÁõ] is null and [°¨Ã»] = 'Y' then 'Y' "&VbCrlf + query = query & " when [°ËÁõ] = 'Y' and [°¨Ã»] is null then 'Y' "&VbCrlf + query = query & " else 'N' end [°ËÁõ], "&VbCrlf + query = query & " [ÄÚµù], [ÆÝÄ¡] from "&VbCrlf + query = query & " ( "&VbCrlf + query = query & " select p_child_sn, isnull(confirm_yn,'N') as confirm_yn, "&VbCrlf + query = query & " case when sebu not in ('°ËÁõ','°¨Ã»','ÄÚµù','ÆÝÄ¡') then '½Ç»ç' else sebu end as sebu from direct_cost "&VbCrlf + query = query & " where del_yes_no = 'no' "&VbCrlf + query = query & " and cost_type = 'field' "&VbCrlf + query = query & " and hangmok NOT IN ('¸Þ¸ð','¸Þ¸ð_°æ¿µÁö¿ø½Ç') "&VbCrlf + query = query & " ) as a "&VbCrlf + query = query & " pivot "&VbCrlf + query = query & " ( "&VbCrlf + query = query & " min(confirm_yn) for sebu in ([½Ç»ç], [°ËÁõ], [°¨Ã»], [ÄÚµù], [ÆÝÄ¡]) "&VbCrlf + query = query & " ) as pvt "&VbCrlf + query = query & " ) as F on T.p_child_sn = F.p_child_sn "&VbCrlf + if search_person <> "" then + query = query & " and (p_sv_1 = '"& search_person &"' or p_sv_2 = '"& search_person &"' or p_sv_3 = '"& search_person &"' or p_sv_4 = '"& search_person &"' "&VbCrlf + query = query & " or p_code_1 = '"& search_person &"' or p_code_2 = '"& search_person &"' or p_code_3 = '"& search_person &"' or p_code_4 = '"& search_person &"' "&VbCrlf + query = query & " or p_verify_1 = '"& search_person &"' or p_verify_2 = '"& search_person &"' or p_verify_3 = '"& search_person &"' or p_verify_4 = '"& search_person &"' "&VbCrlf + query = query & " or p_punch_1 = '"& search_person &"' or p_punch_2 = '"& search_person &"' or p_punch_3 = '"& search_person &"' or p_punch_4 = '"& search_person &"' ) "&VbCrlf + end if + query = query & " order by T.p_child_sn " + '------------------------------------------------------ + 'Response.Write query + rsp.Open query, adoConn, 1 + + if rsp.RecordCount > 0 Then + For i = 1 To rsp.RecordCount + p_method_name = "" + If rsp("p_method_cd") <> "" Then + If Len(rsp("p_child_sn_real")) > 10 Then + query = "select a.p_method_cd, b.p_method_nm from V_PROJECT_METHOD as A " + query = query & "inner join T_PROJECT_METHOD_CD as B on a.p_method_cd = b.p_method_cd " + + If rsp("p_sub_type") = "M" Then + query = query & "where p_sn = '" & Left(rsp("p_child_sn_real"), 7) &"' " + Else + query = query & "where p_child_sn = '" & rsp("p_child_sn_real") &"' " + End If + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("p_method_nm") + Else + p_method_name = p_method_name & ", " & rsa("p_method_nm") + End if + rsa.moveNext + next + End If + Else + query = "select code1, name1 from p_method where code1 = '" & rsp("p_method_cd") & "' " + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("name1") + Else + p_method_name = p_method_name & ", " & rsa("name1") + End if + rsa.moveNext + next + End If + End if + + rsa.close + End If + + client_name = "" + If rsp("p_cli_company_cd") <> "" Then + query = "select p_cli_company_nm from V_CLIENT_COMP where p_cli_company_cd = '" & rsp("p_cli_company_cd") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + client_name = rsa("p_cli_company_nm") + End If + rsa.close + End If + + researcher_name = "" + If rsp("p_rsch_1_b") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_1_b") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name = rsa("p_name") + End If + rsa.close + End If + + researcher_name2 = "" + If rsp("p_rsch_2_b") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_2_b") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name2 = rsa("p_name") + End If + rsa.close + End If + + sv_name = "" + If rsp("p_sv_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_sv_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + sv_name = rsa("p_name") + End If + rsa.close + End If + + qc_name = "" + If rsp("p_verify_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_verify_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + qc_name = rsa("p_name") + End If + rsa.close + End If + + code_name = "" + If rsp("p_code_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_code_1") &"' " '#####ÄÚµù 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + code_name = rsa("p_name") + End If + rsa.close + End If + + punch_name = "" + If rsp("p_punch_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_punch_1") &"' " '#####ÆÝÄ¡ 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + punch_name = rsa("p_name") + End If + rsa.close + End If + + dp_name = "" + If rsp("p_dp_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_dp_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + dp_name = rsa("p_name") + End If + rsa.close + End If + + If rsp("p_input_user") <> "" Then + If Len(rsp("p_child_sn_real")) > 10 then + query = "select case when p_field_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_field_date_end >= CONVERT(varchar(10), GETDATE(), 126) then '½Ç»ç ÁøÇàÁß' else '' end as progress_01 " + query = query & " ,case when p_code_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_code_date_end >= CONVERT(varchar(10), GETDATE(), 126) then '°ËÁõ ÁøÇàÁß' else '' end as progress_02 " + query = query & " ,case when p_verify_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_verify_date_end >= CONVERT(varchar(10), GETDATE(), 126) then 'ÄÚµù ÁøÇàÁß' else '' end as progress_03 " + query = query & " ,case when p_punch_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_punch_date_end >= CONVERT(varchar(10), GETDATE(), 126) then 'ÆÝĪ ÁøÇàÁß' else '' end as progress_04 " + query = query & " ,case when p_dp_date_st <= CONVERT(varchar(10), GETDATE(), 126) and p_dp_date_end >= CONVERT(varchar(10), GETDATE(), 126) then 'DP ÁøÇàÁß' else '' end as progress_05 " + query = query & " from T_PROJECT_METHOD where p_child_sn = '" & rsp("p_child_sn_real") & "' " + Else + query = "select case when p_field_st2 <= CONVERT(varchar(10), GETDATE(), 126) and p_field_end2 >= CONVERT(varchar(10), GETDATE(), 126) then '½Ç»ç(ÄÚµù+¿¡µðÆÃ) ÁøÇàÁß' else '' end as progress_01 " + query = query & " ,case when p_punch_st2 <= CONVERT(varchar(10), GETDATE(), 126) and p_punch_end2 >= CONVERT(varchar(10), GETDATE(), 126) then 'ÆÝĪ ÁøÇàÁß' else '' end as progress_02 " + query = query & " ,case when p_dp_st2 <= CONVERT(varchar(10), GETDATE(), 126) and p_dp_end2 >= CONVERT(varchar(10), GETDATE(), 126) then 'DP ÁøÇàÁß' else '' end as progress_03 " + query = query & " from project where p_sn = '" & rsp("p_child_sn_real") & "' " + End if + rsa.Open query, adoConn, 1 + + progress_status = "" + If rsa.RecordCount > 0 Then + If Len(rsp("p_child_sn_real")) > 10 then + toNum = 5 + Else + toNum = 3 + End If + + For j = 1 To toNum + If rsa("progress_0"& j) <> "" Then + progress_status = rsa("progress_0"& j) + End if + Next + End If + rsa.close + End If + %> + + + + + + + + + + + + + + + + + + <% + rsp.MoveNext + Next + + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÁö¿ª´ã´çºÎ¼­´ã´çÀÚÇ¥º»¼ö¿ÜÁÖ¿©ºÎOTÀÏÁ¤ÁøÇà»óÅÂDPÀ̰üÀϸ޸ð
¿¬±¸½Ç»çQC (°ËÁõ, ÄÚµù, ÆÝÄ¡)
<%=i%> + ','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn_real")%>')" class="blue"><%=rsp("p_child_sn_real")%>
+ <% if Session("teamplace") >= 3 and Session("teamplace") <= 6 then %> + ')">(¿Ï·á) + <% end if %> +
+ ','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn_real")%>')" class="blue"><%=rsp("p_subject")%> + <%=p_method_name%> + <% + q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '012' and c_common_code = '" & rsp("p_sur_area") & "' " + rsa.Open q, adoConn, 1 + if rsa.RecordCount > 0 Then + %> + <%=rsa("c_code_name")%> + <% + end if + rsa.Close + %> + + <% + '##### Á¶Á÷ °³Æí(2019) + 'q = "select d_code, d_name from Depart where d_yes_no = 'Y' and d_code = '" & rsp("p_depart_dep") & "' " + q = "Select T_name from V_department where before_t_cd1 = '"& rsp("p_depart_dep") &"' " + rsa.Open q, adoConn, 1 + If rsa.RecordCount > 0 Then + 'If (Instr(rsa("T_name"),"ÄÁ¼³ÆÃ") <> 0) or (Instr(rsa("T_name"),"¿¬±¸") <> 0) Then + 't_name = Right(rsa("T_name"),2) + 'Else + t_name = rsa("T_name") + 'End If + %> + <%=t_name%> + <% + end if + rsa.Close + %> + <%=researcher_name%>, <%=researcher_name2%><%=sv_name%><%=rsp("½Ç»ç") %> + <%=qc_name%><%=rsp("°ËÁõ") %>, + <%=code_name%><%=rsp("ÄÚµù") %>, + <%=punch_name%><%=rsp("ÆÝÄ¡") %> + <%=rsp("p_sample")%> + <% + q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '015' and c_common_code = '" & rsp("p_field_process") & "' " + rsa.Open q, adoConn, 1 + if rsa.RecordCount > 0 Then + %> + <%=rsa("c_code_name")%> + <% + end if + rsa.Close + %> + <%=Mid(Left(rsp("p_ot_date"), 10), 6, 10)%><%=progress_status%><%=Mid(Left(rsp("p_dp_date_st"), 10), 6, 10)%> + <% If Len(rsp("p_memo")) > 10 Then %> <%=(Left(rsp("p_memo"), 10) & "...")%> + <% Else %> <%=rsp("p_memo")%> <% End If %> +
+   +
+
+ + ½Å±Ô ÇÁ·ÎÁ§Æ® ÇöȲ.(Àü»ê) + +
+ + + + + + + + + + + + + + + + + + + + + + <% + 'ÀüÁÖ & ±ÝÁÖ ½Å±Ô ÇÁ·ÎÁ§Æ®(¼öÇà°èȹ¼­ °áÀç ¹Ì¿Ï·á ´Ü°è) µî·Ï ÇöȲ~! + query = "select * " + query = query & "from ( " + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sample, TPM.p_cli_company_cd, TPM.p_cont_cost " + query = query & ", TPB.p_depart_dep, TPM.p_dp_date_end, TPB.p_input_user, TPM.p_sv_1, TPM.p_verify_1, TPM.p_code_1, TPM.p_punch_1, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo " + query = query & ", p_rsch_1_a, p_rsch_2_a, p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4 " + query = query & "from T_PROJECT_METHOD as TPM " + query = query & "inner join T_PROJECT_BASE as TPB " + query = query & "on TPM.p_sn = TPB.p_sn " + query = query & "where TPM.p_sub_type = 'C' " + query = query & "and TPM.p_progress_status > '001' " + query = query & "and TPM.p_progress_status < '008' " + query = query & "and TPM.p_input_dt <= (GETDATE()+(7-" & yoil & ")) " + query = query & "and p_is_dept <> '900' " + if( cint(search_depart) = 17 )then + query = query & "and (p_dp_complete is null or p_dp_complete = '' or p_dp_complete = 0) " + end if + if( cint(search_depart) = 18 )then + query = query & " and (p_it_complete is null or p_it_complete = '' or p_it_complete = 0) " + end if + query = query & "union all " + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sample, TPM.p_cli_company_cd, TPB.p_cont_cost " + query = query & ", TPB.p_depart_dep, TPM.p_dp_date_end, TPB.p_input_user, TPM.p_sv_1, TPM.p_verify_1, TPM.p_code_1, TPM.p_punch_1, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo " + query = query & ", p_rsch_1_a, p_rsch_2_a, p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4 " + query = query & "from T_PROJECT_METHOD as TPM " + query = query & "inner join T_PROJECT_BASE as TPB " + query = query & "on TPM.p_sn = TPB.p_sn " + query = query & "where TPM.p_sub_type = 'M' " + query = query & "and TPM.p_progress_status > '001' " + query = query & "and TPM.p_progress_status < '008' " + query = query & "and TPM.p_input_dt <= (GETDATE()+(7-" & yoil & ")) " + query = query & "and p_is_dept <> '900' " + if( cint(search_depart) = 17 or cint(search_depart) = 19 )then + query = query & "and (p_dp_complete is null or p_dp_complete = '' or p_dp_complete = 0) " + end if + if( cint(search_depart) = 18)then + query = query & " and (p_it_complete is null or p_it_complete = '' or p_it_complete = 0) " + end if + query = query & ") as T " + query = query & "where 1=1 " + + if( cint(search_depart) = 17 or cint(search_depart) = 19 )then + query = query & " and p_child_sn like case p_sub_type when 'M' then '%_M01' else '%%' end " + end if + if( cint(search_depart) = 18)then + query = query & " and ( p_it_1 <> '' or p_it_2 <> '' or p_it_3 <> ''or p_it_4 <> '') " + end if + + 'query = query & "where p_depart_dep = '" & search_depart & "' " + if search_person <> "" then + query = query & " and (p_dp_1 = '"& search_person &"' or p_dp_2 = '"& search_person &"' or p_dp_3 = '"& search_person &"' or p_dp_4 = '"& search_person &"' " + query = query & " or p_it_1 = '"& search_person &"' or p_it_2 = '"& search_person &"' or p_it_3 = '"& search_person &"' or p_it_4 = '"& search_person &"' ) " + end if + query = query & "order by p_depart_dep, p_child_sn " + '------------------------------------------------------ + 'Response.Write query + + rsp.Open query, adoConn, 1 + + if rsp.RecordCount > 0 Then + For i = 1 To rsp.RecordCount + p_method_name = "" + If rsp("p_method_cd") <> "" Then + query = "select a.p_method_cd, b.p_method_nm from V_PROJECT_METHOD as A " + query = query & "inner join T_PROJECT_METHOD_CD as B on a.p_method_cd = b.p_method_cd " + + If rsp("p_sub_type") = "M" Then + query = query & "where p_sn = '" & Left(rsp("p_child_sn"), 7) &"' " + Else + query = query & "where p_child_sn = '" & rsp("p_child_sn") &"' " + End if + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("p_method_nm") + Else + p_method_name = p_method_name & ", " & rsa("p_method_nm") + End if + rsa.moveNext + next + End If + rsa.close + End If + + client_name = "" + If rsp("p_cli_company_cd") <> "" Then + query = "select p_cli_company_nm from V_CLIENT_COMP where p_cli_company_cd = '" & rsp("p_cli_company_cd") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + client_name = rsa("p_cli_company_nm") + End If + rsa.close + End If + + researcher_name = "" + If rsp("p_rsch_1_a") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_1_a") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name = rsa("p_name") + End If + rsa.close + End If + + researcher_name2 = "" + If rsp("p_rsch_2_a") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_2_a") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name2 = rsa("p_name") + End If + rsa.close + End If + + sv_name = "" + If rsp("p_sv_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_sv_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + sv_name = rsa("p_name") + End If + rsa.close + End If + + qc_name = "" + If rsp("p_verify_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_verify_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + qc_name = rsa("p_name") + End If + rsa.close + End If + + code_name = "" + If rsp("p_code_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_code_1") &"' " '#####ÄÚµù 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + code_name = rsa("p_name") + End If + rsa.close + End If + + punch_name = "" + If rsp("p_punch_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_punch_1") &"' " '#####ÆÝÄ¡ 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + punch_name = rsa("p_name") + End If + rsa.close + End If + + dp_name = "" + If rsp("p_dp_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_dp_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + dp_name = rsa("p_name") + End If + rsa.close + End If + + progress_status = "" + If rsp("p_input_user") <> "" Then + query = "select * from T_COMMON_CODE_DETAIL where c_kind_code = '010' and c_common_code = '" & rsp("p_progress_status") & "' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + progress_status = rsa("c_code_name") + End If + rsa.close + End If + %> + + + + + + + + + + + + + + + + <% + rsp.MoveNext + Next + + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÇ¥º»¼öŬ¶óÀÌ¾ðÆ®´ã´çÀÚÁøÇà»óÅÂDP¿Ï·áÀϸ޸ð
¿¬±¸½Ç»çQC (°ËÁõ, ÄÚµù, ÆÝÄ¡)Àü»ê
<%=i%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"> <%=rsp("p_child_sn")%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"> <%=rsp("p_subject")%><%=p_method_name%><%=rsp("p_sample")%><%=client_name%><%=researcher_name%>, <%=researcher_name2%><%=sv_name%><%=qc_name%>, <%=code_name%>, <%=punch_name%><%=dp_name%><%=progress_status%><%=Mid(Left(rsp("p_dp_date_end"), 10), 6, 10)%> + <% If Len(rsp("p_memo")) > 10 Then %> <%=(Left(rsp("p_memo"), 10) & "...")%> + <% Else %> <%=rsp("p_memo")%> <% End If %> +
+   +
+
+   +
+ + ÁøÇà ÇÁ·ÎÁ§Æ® ÇöȲ.(Àü»ê) + +
+ + + + + + + + + + + + + + + + + + + + <% + 'ÀüÁÖ & ±ÝÁÖ ÁøÇà ÇÁ·ÎÁ§Æ®(¼öÇà°èȹ¼­ °áÀç ¿Ï·á ´Ü°è) µî·Ï ÇöȲ~! + query = "select * "&VbCrlf + query = query & "from ( "&VbCrlf + query = query & "select p_sn as p_child_sn, 'C' as p_sub_type, p_subject, p_method as p_method_cd, p_sample, p_cli_company as p_cli_company_cd "&VbCrlf + query = query & ", p_budget as p_cont_cost, p_depart_dep, p_dp_end2 as p_dp_date_end, p_rsch_1 as p_input_user, p_sv as p_sv_1, p_verify as p_verify_1, p_coder as p_code_1, p_puncher as p_punch_1, p_contact_date as p_input_dt, '999' as p_progress_status, p_memo "&VbCrlf + query = query & ", p_rsch_1 as p_rsch_1_a, p_rsch_2 as p_rsch_2_a, p_dper as p_dp_1, p_dper2 as p_dp_2, p_dper3 as p_dp_3, p_dper4 as p_dp_4, '' as p_it_1, '' as p_it_2, '' as p_it_3, '' as p_it_4, p_dp_complete, p_it_complete "&VbCrlf + query = query & "from project "&VbCrlf + query = query & "where p_sn like substring(convert(varchar(4), year(GETDATE())), 3, 2)+'%' and p_contact_date is not null "&VbCrlf + query = query & "and substring(p_contact_date,1,4) = year(GETDATE()) "&VbCrlf + if( cint(search_depart) = 17 or cint(search_depart) = 19 )then + query = query & "and (p_dp_complete is null or p_dp_complete = '' or p_dp_complete = 0) "&VbCrlf + end if + if( cint(search_depart) = 18)then + query = query & " and (p_it_complete is null or p_it_complete = '' or p_it_complete = 0) " &VbCrlf + end if + 'query = query & "where substring(p_dp_end2,1,4) = year(GETDATE()) and p_dp_end2 >= '" & search_ST_DT & "' " + query = query & "union all "&VbCrlf + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sample, TPM.p_cli_company_cd, TPM.p_cont_cost "&VbCrlf + query = query & ", TPB.p_depart_dep, TPM.p_dp_date_end, TPB.p_input_user, TPM.p_sv_1, TPM.p_verify_1, TPM.p_code_1, TPM.p_punch_1, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo "&VbCrlf + query = query & ", p_rsch_1_a, p_rsch_2_a, p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4, p_dp_complete, p_it_complete "&VbCrlf + query = query & "from T_PROJECT_METHOD as TPM "&VbCrlf + query = query & "inner join T_PROJECT_BASE as TPB "&VbCrlf + query = query & "on TPM.p_sn = TPB.p_sn "&VbCrlf + query = query & "where TPM.p_sub_type = 'C' "&VbCrlf + query = query & "and TPM.p_progress_status > '007' "&VbCrlf + query = query & "and p_is_dept <> '900' "&VbCrlf + 'query = query & "and p_dp_date_end >= '" & search_ST_DT & "' " + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + if( cint(search_depart) = 17 or cint(search_depart) = 19 )then + query = query & "and (p_dp_complete is null or p_dp_complete = '' or p_dp_complete = 0) "&VbCrlf + end if + if( cint(search_depart) = 18)then + query = query & " and (p_it_complete is null or p_it_complete = '' or p_it_complete = 0) " &VbCrlf + end if + query = query & "union all "&VbCrlf + query = query & "select TPM.p_child_sn, TPM.p_sub_type, TPM.p_subject, TPM.p_method_cd, TPM.p_sample, TPM.p_cli_company_cd, TPB.p_cont_cost "&VbCrlf + query = query & ", TPB.p_depart_dep, TPM.p_dp_date_end, TPB.p_input_user, TPM.p_sv_1, TPM.p_verify_1, TPM.p_code_1, TPM.p_punch_1, TPM.p_input_dt, TPM.p_progress_status, TPM.p_memo "&VbCrlf + query = query & ", p_rsch_1_a, p_rsch_2_a, p_dp_1, p_dp_2, p_dp_3, p_dp_4, p_it_1, p_it_2, p_it_3, p_it_4, p_dp_complete, p_it_complete "&VbCrlf + query = query & "from T_PROJECT_METHOD as TPM "&VbCrlf + query = query & "inner join T_PROJECT_BASE as TPB "&VbCrlf + query = query & "on TPM.p_sn = TPB.p_sn "&VbCrlf + query = query & "where TPM.p_sub_type = 'M' "&VbCrlf + query = query & "and TPM.p_progress_status > '007' "&VbCrlf + query = query & "and p_is_dept <> '900' "&VbCrlf + 'query = query & "and p_dp_date_end >= '" & search_ST_DT & "' " + 'query = query & "and TPM.p_input_dt between (GETDATE()-" & yoil & "+1)-7 and (GETDATE()+(7-" & yoil & ")) " + if( cint(search_depart) = 17 or cint(search_depart) = 19 )then + query = query & "and (p_dp_complete is null or p_dp_complete = '' or p_dp_complete = 0) "&VbCrlf + end if + if( cint(search_depart) = 18)then + query = query & " and (p_it_complete is null or p_it_complete = '' or p_it_complete = 0) " &VbCrlf + end if + query = query & ") as T "&VbCrlf + 'query = query & "where p_child_sn like case p_sub_type when 'M' then '%_M01' else '%%' end "&VbCrlf + query = query & "where 1=1 "&VbCrlf + + if( cint(search_depart) = 17 or cint(search_depart) = 19 )then + query = query & " and p_child_sn like case p_sub_type when 'M' then '%_M01' else '%%' end " + end if + if( cint(search_depart) = 18)then + query = query & " and ( p_it_1 <> '' or p_it_2 <> '' or p_it_3 <> ''or p_it_4 <> '') " + end if + 'query = query & "where p_depart_dep = '" & search_depart & "' " + if search_person <> "" then + query = query & " and (p_dp_1 = '"& search_person &"' or p_dp_2 = '"& search_person &"' or p_dp_3 = '"& search_person &"' or p_dp_4 = '"& search_person &"' "&VbCrlf + query = query & " or p_it_1 = '"& search_person &"' or p_it_2 = '"& search_person &"' or p_it_3 = '"& search_person &"' or p_it_4 = '"& search_person &"' ) "&VbCrlf + end if + query = query & "order by p_child_sn "&VbCrlf + '------------------------------------------------------ + 'Response.Write query + rsp.Open query, adoConn, 1 + + if rsp.RecordCount > 0 Then + For i = 1 To rsp.RecordCount + p_method_name = "" + If rsp("p_method_cd") <> "" Then + If Len(rsp("p_child_sn")) > 10 Then + query = "select a.p_method_cd, b.p_method_nm from V_PROJECT_METHOD as A " + query = query & "inner join T_PROJECT_METHOD_CD as B on a.p_method_cd = b.p_method_cd " + + If rsp("p_sub_type") = "M" Then + query = query & "where p_sn = '" & Left(rsp("p_child_sn"), 7) &"' " + Else + query = query & "where p_child_sn = '" & rsp("p_child_sn") &"' " + End If + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("p_method_nm") + Else + p_method_name = p_method_name & ", " & rsa("p_method_nm") + End if + rsa.moveNext + next + End If + Else + query = "select code1, name1 from p_method where code1 = '" & rsp("p_method_cd") & "' " + + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + For j = 1 To rsa.RecordCount + If j = 1 Then + p_method_name = rsa("name1") + Else + p_method_name = p_method_name & ", " & rsa("name1") + End if + rsa.moveNext + next + End If + End if + + rsa.close + End If + + client_name = "" + If rsp("p_cli_company_cd") <> "" Then + query = "select p_cli_company_nm from V_CLIENT_COMP where p_cli_company_cd = '" & rsp("p_cli_company_cd") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + client_name = rsa("p_cli_company_nm") + End If + rsa.close + End If + + researcher_name = "" + If rsp("p_rsch_1_a") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_1_a") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name = rsa("p_name") + End If + rsa.close + End If + + researcher_name2 = "" + If rsp("p_rsch_2_a") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_rsch_2_a") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + researcher_name2 = rsa("p_name") + End If + rsa.close + End If + + sv_name = "" + If rsp("p_sv_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_sv_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + sv_name = rsa("p_name") + End If + rsa.close + End If + + qc_name = "" + If rsp("p_verify_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_verify_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + qc_name = rsa("p_name") + End If + rsa.close + End If + + code_name = "" + If rsp("p_code_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_code_1") &"' " '#####ÄÚµù 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + code_name = rsa("p_name") + End If + rsa.close + End If + + punch_name = "" + If rsp("p_punch_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_punch_1") &"' " '#####ÆÝÄ¡ 2018-11-06 (Hwi) + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + punch_name = rsa("p_name") + End If + rsa.close + End If + + dp_name = "" + If rsp("p_dp_1") <> "" Then + query = "select p_name from person where p_no = '" & rsp("p_dp_1") &"' " + rsa.Open query, adoConn, 1 + + If rsa.RecordCount > 0 Then + dp_name = rsa("p_name") + End If + rsa.close + End If + %> + + + + + + + + + + + + + + + <% + rsp.MoveNext + Next + + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÇ¥º»¼öŬ¶óÀÌ¾ðÆ®´ã´çÀÚDP¿Ï·áÀϸ޸ð
¿¬±¸½Ç»çQC (°ËÁõ, ÄÚµù, ÆÝÄ¡)Àü»ê
<%=i%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"><%=rsp("p_child_sn")%>
+ <% if (Session("teamplace") >= 3 and Session("teamplace") <= 6) or Session("User_Number") = "20160203" then %> + + <% '//-- Á¤º¸ºÐ¼® 20160203 ¼ºÈñ±×·ìÀå´Ô ¿Ï·á ¹öư ³ª¿Àµµ·Ï ¼öÁ¤ 240812 + if( cint(search_depart) = 17 or cint(search_depart) = 19 )then %> + ')">(¿Ï·á) + <% end if + '//-- °³¹ßÆÀ + if( cint(search_depart) = 18 )then %> + ')">(¿Ï·á) + <%end if %> + + <% end if %> +
','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"><%=rsp("p_subject")%><%=p_method_name%><%=rsp("p_sample")%><%=client_name%><%=researcher_name%>, <%=researcher_name2%><%=sv_name%><%=qc_name%>, <%=code_name%>, <%=punch_name%><%=dp_name%><%=Mid(Left(rsp("p_dp_date_end"), 10), 6, 10)%> + <% If Len(rsp("p_memo")) > 10 Then %> <%=(Left(rsp("p_memo"), 10) & "...")%> + <% Else %> <%=rsp("p_memo")%> <% End If %> +
+   +
+
+
+
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/project/project_list2_weekly_ajax_file_check.asp b/project/project_list2_weekly_ajax_file_check.asp new file mode 100644 index 0000000..cd3efe0 --- /dev/null +++ b/project/project_list2_weekly_ajax_file_check.asp @@ -0,0 +1,72 @@ + + + +<%' + + + p_child_sn = request("p_child_sn") + depart_type = request("depart_type") + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + if depart_type = "2" then ' ½Ç»ç´Â ±×³É ÆÐ½º + response.Write "1" + response.end + end if + + query = "" ' export_range <- ¿ë¿ª¹üÀ§, a_cnt <- °ßÀû¼­ ¶Ç´Â Á¦¾È¼­, b_cnt <- º¸°í¼­, c_cnt <- ¼³¹®Áö, d_cnt <- Àü»êÆÀ(DP) + query = query & " SELECT isnull(isnull(isnull(a.p_export_range, b.p_export_range), c.p_export_range), d.p_export_range) as export_range , isnull(a.a_CNT, 0) as a_cnt, isnull(b.b_CNT, 0) as b_cnt, isnull(c.c_CNT, 0) as c_cnt, isnull(d.d_CNT, 0) as d_cnt FROM " + query = query & " ( " + query = query & " SELECT p_export_range, count(*) as a_CNT FROM " + query = query & " (SELECT p_export_range FROM V_PROJECT_METHOD WHERE p_child_sn = '" & p_child_sn & "') A, " + query = query & " (SELECT f_kind FROM T_SYSTEM_ATTACH WHERE f_p_sn = '" & LEFT(p_child_sn, 7) & "' AND f_use_yn = 'Y' AND f_kind IN ('002', '003') GROUP BY f_kind) B " + query = query & " GROUP BY p_export_range " + query = query & " ) A full outer join " + query = query & " ( " + query = query & " SELECT p_export_range, count(*) as b_CNT FROM " + query = query & " (SELECT p_export_range FROM V_PROJECT_METHOD WHERE p_child_sn = '" & p_child_sn & "') A, " + query = query & " (SELECT f_kind FROM T_SYSTEM_ATTACH WHERE f_p_sn = '" & LEFT(p_child_sn, 7) & "' AND f_use_yn = 'Y' AND f_kind IN ('004') GROUP BY f_kind) B " + query = query & " GROUP BY p_export_range " + query = query & " ) B on 1=1 full outer join " + query = query & " ( " + query = query & " SELECT p_export_range, count(*) as c_CNT FROM " + query = query & " (SELECT p_export_range FROM V_PROJECT_METHOD WHERE p_child_sn = '" & p_child_sn & "') A, " + query = query & " (SELECT f_kind FROM T_SYSTEM_ATTACH WHERE f_p_sn = '" & LEFT(p_child_sn, 7) & "' AND f_use_yn = 'Y' AND f_kind IN ('005', '006') GROUP BY f_kind) B " + query = query & " GROUP BY p_export_range " + query = query & " ) C on 1=1 full outer join " + query = query & " ( " + query = query & " SELECT p_export_range, count(*) as d_CNT FROM " + query = query & " (SELECT p_export_range FROM V_PROJECT_METHOD WHERE p_child_sn = '" & p_child_sn & "') A, " + query = query & " (SELECT f_kind FROM T_SYSTEM_ATTACH WHERE f_p_sn = '" & LEFT(p_child_sn, 7) & "' AND f_use_yn = 'Y' AND f_kind IN ('009') GROUP BY f_kind) B " + query = query & " GROUP BY p_export_range " + query = query & " ) D on 1=1 " + + rsp.Open query, adoConn, 1 + 'response.write query & "
" + + ret_val = "0" + if rsp.recordCount > 0 then + if depart_type = "1" then + if rsp("export_range") = "001" then '¿ë¿ª¹üÀ§ - Å×ÀÌºí ¹× µ¥ÀÌÅÍ ÀÎ °æ¿ì + if cint(rsp("a_cnt")) >= 1 and cint(rsp("c_cnt")) >= 1 then ' Á¦¾È¼­ ¶Ç´Â °ßÀû¼­°¡ ÀÖ°í, ¼³¹®Áö°¡ ÀÖÀ¸¸é, + ret_val = "1" + end if + else '¿ë¿ª¹üÀ§ - º¸°í¼­, Top-line/Brief °æ¿ì + if cint(rsp("a_cnt")) >= 1 and cint(rsp("b_cnt")) >= 1 and cint(rsp("c_cnt")) >= 1 then ' Á¦¾È¼­ ¶Ç´Â °ßÀû¼­°¡ ÀÖ°í, º¸°í¼­°¡ ÀÖÀ¸¸ç, ¼³¹®Áöµµ ÀÖÀ» ¶§, + ret_val = "1" + end if + end if + elseif depart_type = "3" then + if cint(rsp("d_cnt")) >= 1 then ' Àü»ê(DP)°¡ ÀÖÀ¸¸é + ret_val = "1" + end if + end if + end if + response.Write ret_val + + rsp.close +%> \ No newline at end of file diff --git a/project/project_list2_weekly_ajax_person_2014.asp b/project/project_list2_weekly_ajax_person_2014.asp new file mode 100644 index 0000000..28f6256 --- /dev/null +++ b/project/project_list2_weekly_ajax_person_2014.asp @@ -0,0 +1,27 @@ + +<% + search_depart = request("search_depart") + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write "" & "
" + + query = " SELECT p_no, p_name " + query = query & " FROM v_person " + query = query & " WHERE p_resign = '0' " + query = query & " AND p_depart = '" & search_depart & "' " + if( search_depart = "18" )then + query = query & " AND p_job_now = '08' " + end if + query = query & " ORDER BY p_name " + + Rs.Open query, adoConn, 1 + for i=1 to Rs.recordCount + response.write "" & "
" + Rs.movenext + next + + Rs.close +%> \ No newline at end of file diff --git a/project/project_list2_weekly_update_2014.asp b/project/project_list2_weekly_update_2014.asp new file mode 100644 index 0000000..53d3479 --- /dev/null +++ b/project/project_list2_weekly_update_2014.asp @@ -0,0 +1,130 @@ + + + +<% + + + Dim paramType + Dim p_child_sn + + paramType = CInt(request("type")) + p_child_sn = request("p_child_sn") + + query = " update " + + If CLng(Left(p_child_sn, 4)) < 1407 Then + query = query & "project set " + Else + query = query & "t_project_method set " + End If + + select_query = "select p_sn, p_child_sn, p_sub_type, p_subject, p_rsch_dept, p_field_dept, p_is_dept from T_PROJECT_METHOD where p_child_sn = '"& p_child_sn & "' " + rsp.Open select_query, adoConn, 1 + + If paramType = 1 Then + query = query & "p_research_complete = 1 " + + If rsp("p_field_dept") = "900" Then + query = query & ", p_field_complete = 1 " + end if + + If rsp("p_is_dept") = "900" then + query = query & ", p_dp_complete = 1 " + End if + + + + ElseIf paramType = 2 Then + If rsp("p_rsch_dept") = "900" Then + query = query & "p_research_complete = 1, " + end if + + If rsp("p_is_dept") = "900" then + query = query & "p_dp_complete = 1, " + End if + + query = query & "p_field_complete = 1, p_field_complete_date = convert(varchar(16), getdate(), 120) " + ElseIf paramType = 3 Then + query = query & "p_dp_complete = 1 " + If rsp("p_rsch_dept") = "900" Then + query = query & ", p_research_complete = 1 " + end if + If rsp("p_field_dept") = "900" Then + query = query & ", p_field_complete = 1 " + end if + ElseIf paramType = 4 Then + query = query & "p_support_complete = 1 " + ElseIf paramType = 5 Then ''//--- °³¹ßÆÀ + query = query & "p_it_complete = 1 " + End If + + rsp.Close + + If CLng(Left(p_child_sn, 4)) < 1407 Then + query = query & " WHERE p_sn = '"& p_child_sn & "' " + Else + if mid(p_child_sn,9,1) = "M" then + query = query & " WHERE p_child_sn like '"& mid(p_child_sn,1,9) & "%' " + else + query = query & " WHERE p_child_sn = '"& p_child_sn & "' " + end if + End If + + adoConn.execute query + 'response.write query & "
" + + + if mid(p_child_sn,9,1) = "M" then + p_child_sn = "Multi" + end if + + query = " delete Job_ProjectList " + query = query & " where p_sn = '"&left(p_child_sn,7)&"' " + query = query & " and p_child_sn = '"& p_child_sn &"' " + query = query & " and p_user IN ( " + query = query & " select p_user " + query = query & " from Job_ProjectList jp left outer join person p on jp.p_user = p.p_no " + query = query & " where p_sn = '"& left(p_child_sn,7) &"' " + query = query & " and p_child_sn = '"& p_child_sn &"' " + query = query & " and p_depart = '"&Session("Depart_Code")&"' " + query = query & " ) " + + adoConn.execute query + + + query = " update " + + If CLng(Left(p_child_sn, 4)) < 1407 Then + query = query & "project set " + Else + query = query & "t_project_method set " + End If + + query = query & " p_complete_date = convert(varchar(16), getdate(), 120) " + + If CLng(Left(p_child_sn, 4)) < 1407 Then + query = query & " WHERE p_sn = '"& p_child_sn & "' " + Else + if mid(p_child_sn,9,1) = "M" then + query = query & " WHERE p_child_sn like '"& mid(p_child_sn,1,9) & "%' " + else + query = query & " WHERE p_child_sn = '"& p_child_sn & "' " + end if + End If + query = query & " and p_research_complete = 1 and p_field_complete = 1 and p_dp_complete = 1 " + + adoConn.execute query + + + + + + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + response.write("success") +%> \ No newline at end of file diff --git a/project/project_list2_withdate.asp b/project/project_list2_withdate.asp new file mode 100644 index 0000000..f007ba8 --- /dev/null +++ b/project/project_list2_withdate.asp @@ -0,0 +1,962 @@ + + +<% +SET rsp = server.CreateObject("ADODB.RECORDSET") + +dim prj_list(20 , 25) + +x = request("x") +p_depart = request("p_depart") +p_team = request("p_team") +flag = request("flag") 'my_menu.asp¿¡¼­ º¸³»¿À´Â °ª (tmp_stat_flag¿Í ºñ±³) +tmp_sort = request("tmp_sort") +tmp_month = request("tmp_month") +tmp_year = request("tmp_year") +p_team_people = request("p_team_people") + +chk = request("chk") 'ºÎ¼­°¡ º¯°æµÇ¸é ÆÀÀ» Àüü·Î ÃʱâÈ­ ÇÔ + +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if + +'page config +tmp_colspan = 9 + +'--------------------------------------------------------------------------------------- +'### 20100203 ¼öÁ¤ : person Å×À̺í, ¼¼¼ÇÀ» Ȱ¿ëÇÏ¿© ·Î±×ÀÎÀÚÀÇ Á÷±Þ°ú ºäÇѵµ¸¦ ¸í½Ã +'### »çÀåÀ̳ª ¿î¿µº»ºÎ¶ó¸é ¸ðµç º»ºÎ¿Í ÆÀÀÇ ÇÁ·ÎÁ§Æ®¸¦ ºäÇÔ view_depart = "", view_team = "" +'### ¿¬±¸ºÎ¼­¶ó¸é ¼Ò¼Óº»ºÎ ÇÁ·ÎÁ§Æ®¿Í ÆÀÀÇ ÇÁ·ÎÁ§Æ®¸¸ ºäÇÔ +'### ÆÀÀÌ ¾ø´Â ¿¬±¸¿øÀ̶ó¸é ÇØ´ç ºÎ¼­ÀÇ ¸ðµç ÆÀ ÇÁ·ÎÁ§Æ®¸¦ ºäÇÔ +if Session("teamplace") >= 6 then '»çÀå ÀÌ»óÀ̸é ÀüºÎ ºä + view_depart = "" + view_team = "" + view_team_people= "" +elseif Session("Depart_Code") < 10 or (Session("Depart_Code") >= 20 and Session("Depart_Code") =< 49) then '¿¬±¸ºÎ¼­Àΰ¡? + if Session("Depart_Code") = 0 then + view_depart = Session("job_view") + else + view_depart = Session("Depart_Code") + end if + if Session("teamcode") > 0 then 'ÆÀÀÌ Á¸ÀçÇϴ°¡? + view_team = "" + if p_team = "" then + p_team = Session("teamcode") + end if + else + view_team = "" + end if +else '¿î¿µº»ºÎÀΰ¡? + view_depart = "" + view_team = "" + view_team_people= "" +end if + +tmp_txt = split(view_depart, ",") +view_depart = "" +for i = 0 to ubound(tmp_txt) + if cint(tmp_txt(i)) < 10 or (cint(tmp_txt(i)) >=20 and cint(tmp_txt(i)) <= 49) then + view_depart = view_depart & tmp_txt(i) & "," + end if +next +'--------------------------------------------------------------------------------------- + +if p_depart = "" then + if instr(1, view_depart, ",") then + p_depart = cstr(trim(tmp_txt(0))) + else + p_depart = view_depart + end if +end if + +if p_depart = "" then + p_depart= 0 +end if + +if chk = "1" then 'ºÎ¼­¸¦ ¼±ÅÃÇÏ¿© ¹Ù²Ù¸é ÆÀÀ» ÃʱâÈ­ ÇØÁÜ. + p_team = "" + p_team_people = "" +elseif chk = "2" then 'ÆÀÀ» ¼±ÅÃÇÏ¿© ¹Ù²Ù¸é »ç¶÷À» ÃʱâÈ­ ÇØÁÜ. + p_team_people = "" +end if + +if tmp_year = "" then + tmp_year = cstr(year(date())) +end if + +if tmp_month = "" then + tmp_month = cstr(month(date())) +end if +%> + + + +
+ + + + + + + + + +
+ + + + + + + + + + +
+ + °Ë»ö Á¶°ÇÀ» ¼±ÅÃÇϼ¼¿ä. + +
+ + + + +
+ ºÎ¼­  + +    + + <% + if p_depart <> "" AND p_depart <> "0" then + %> + ÆÀ  + +    + <% + end if + %> + + <% + if p_depart <> "" AND p_depart <> "0" then + %> + ÆÀ¿ø  + +    + <% + end if + %> + + <% + if tmp_admin_chk = "1" then + %> + Á¤·Ä  + +    + <% + end if + %> + + ³âµµ  + +    + + ¿ù  + +
+
+ + + + + + + + + + + + + + + + + + + + <% + query = "SELECT * " + query = query & "FROM project as a " + query = query & " INNER JOIN Client as b " + query = query & " ON a.p_cli_company = b.c_code " + 'Á¶È¸ ¿É¼Ç + if p_depart <> "0" AND p_depart <> "" then + query = query & " AND p_depart_dep = '" & p_depart & "' " + else + query = query & " AND (p_depart <= '10' or (p_depart >= 20 and p_depart <= 95)) " + end if + if p_team <> "0" AND p_team <> "" then + query = query & " AND p_depart_team = '" & p_team & "' " + else + + end if + if p_team_people <> "0" AND p_team_people <> "" then + query = query & " AND (p_rsch_1 = '" & p_team_people & "' " + query = query &" OR p_rsch_2 = '" & p_team_people & "' " + query = query &" OR p_rsch_3 = '" & p_team_people & "' " + query = query &" OR p_rsch_4 = '" & p_team_people & "') " + end if + '------------------------------------------------------ + '³â ¿É¼Ç + if tmp_year <> "0" and tmp_year <> "" then + query = query & " AND SUBSTRING(p_reg_date,1,4) = '" & tmp_year & "' " + else + query = query & " AND SUBSTRING(p_reg_date,1,4) = '" & year(date()) & "' " + end if + '------------------------------------------------------ + '¿ù ¿É¼Ç + if tmp_month <> "0" and tmp_month <> "" then + query = query & " AND SUBSTRING(p_reg_date,6,2) = '" & right("0" & tmp_month, 2) & "' " + end if + '------------------------------------------------------ + 'Á¤·Ä ¿É¼Ç + if tmp_sort = "1" then + query = query & "ORDER BY a.p_contact_date DESC " + else + query = query & "ORDER BY a.p_subject " + end if + '------------------------------------------------------ + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + rsp.PageSize = 20 + + PageCount = rsp.PageCount + rsp.absolutepage = tmp_Currentpage + tmp_total_record = rsp.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * rsp.PageSize) + + if rsp.PageSize <= tmp_for then + if rsp.RecordCount <= rsp.PageSize then + tmp_for = rsp.recordcount + else + tmp_for = rsp.PageSize + end if + else + tmp_for = tmp_for + end if + + for i = 1 to tmp_for + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * rsc.PageSize) - i +1 + end if + + prj_list(i, 0) = rsp("p_sn") + prj_list(i, 25) = rsp("p_intention") + prj_list(i, 1) = rsp("p_subject") + for j=1 to 4 + tmpstr = "p_rsch_" & j + prj_list(j, j+1) = rsp(tmpstr) + ' Response.Write rsp(tmpstr) & "
" + next + prj_list(i, 6) = rsp("p_dper") + prj_list(i, 7) = rsp("p_dper2") + prj_list(i, 8) = rsp("p_dper3") + prj_list(i, 9) = rsp("p_dper4") + prj_list(i, 10) = rsp("p_sv") + prj_list(i, 11) = rsp("p_coder") + prj_list(i, 12) = rsp("p_verify") + prj_list(i, 13) = rsp("p_it") + + prj_list(i, 14) = formatnumber(rsp("p_budget"),0) '°è¾à¾× + prj_list(0, 14) = cdbl(prj_list(0, 14)) + cdbl(rsp("p_budget")) + prj_list(i, 15) = formatnumber(rsp("p_esti_cost"), 0) '¿¹»óÁ÷Á¢ºñ + prj_list(0, 15) = cdbl(prj_list(0, 15)) + cdbl(rsp("p_esti_cost")) '¿¹»óÁ÷Á¢ºñ + if clng(prj_list(i, 14)) > 0 then + prj_list(i, 16) = formatnumber(prj_list(i, 15) / prj_list(i, 14) * 100,2) '¿¹»óÁ÷Á¢ºñÀ² : °è¾à¾×±âÁØ + else + prj_list(i, 16) = "0" + end if + prj_list(i, 17) = formatnumber(rsp("p_real_cost"), 0) '½ÇÁ¦Á÷Á¢ºñ + prj_list(0, 17) = cdbl(prj_list(0, 17)) + cdbl(rsp("p_real_cost")) '½ÇÁ¦Á÷Á¢ºñ + if clng(prj_list(i, 14)) > 0 then + prj_list(i, 18) = formatnumber(prj_list(i, 17) / prj_list(i, 14) * 100,2) '½ÇÁ¦Á÷Á¢ºñÀ² : °è¾à¾×±âÁØ + else + prj_list(i, 18) = "0" + end if + + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * rsp.PageSize) - i +1 + end if + + query = "SELECT * " + query = query & "FROM Depart " + query = query & "WHERE d_code='" & rsp("p_depart_dep") & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + tmp_depart = rsc("d_mname_shot") + end if + rsc.Close + + query = "SELECT * " + query = query & "FROM [Client] " + query = query & "WHERE c_code='" & rsp("p_cli_company") & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + tmp_cli_company = rsc("c_name") + end if + rsc.Close + + query = "SELECT * " + query = query & "FROM p_method " + query = query & "WHERE code1 = '" & rsp("p_method") & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + tmp_method = rsc("code1") + tmp_method_name = rsc("name1") + end if + rsc.Close + + tmp_rsch_name = "" + tmp_dp_name = "" + tmp_sv_name = "" + + for j = 1 to 4 + query = "SELECT * " + query = query & "FROM person " + query = query & "WHERE p_no = '" & rsp("p_rsch_" & j) & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + if j > 1 then + tmp_rsch_name = tmp_rsch_name & "," + end if + tmp_rsch_name = tmp_rsch_name & rsc("p_name") + end if + rsc.Close + next + + for j = 1 to 2 + if j = 1 then + tmp_j = "" + else + tmp_j = j + end if + query = "SELECT * " + query = query & "FROM person " + query = query & "WHERE p_no = '" & rsp("p_dper" & tmp_j) & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + if j > 1 then + tmp_dp_name = tmp_dp_name & "," + end if + tmp_dp_name = tmp_dp_name & rsc("p_name") + end if + rsc.Close + next + + query = "SELECT * " + query = query & "FROM person " + query = query & "WHERE p_no = '" & rsp("p_sv") & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + tmp_sv_name = tmp_sv_name & rsc("p_name") + end if + rsc.Close + '----------------------------------------------------------------- + + + research_file = "0" + fieldwork_file = "0" + computer_file = "0" + research_file_txt = "N" + fieldwork_file_txt = "N" + computer_file_txt = "N" + + query = "SELECT * " + query = query & "FROM file_log " + query = query & "WHERE p_sn = '" & rsp("p_sn") & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + if rsc("research") = "1" then + research_file = "1" + research_file_txt = "Y" + end if + if rsc("fieldwork") = "1" then + fieldwork_file = "1" + fieldwork_file_txt = "Y" + end if + if rsc("computer") = "1" then + computer_file = "1" + computer_file_txt = "Y" + end if + end if + rsc.Close + + '------------------------------------------------------------------ + '»óÅ¿¡ ´ëÇÑ Ã³¸® (tmp_stat), °¢ »óÅÂÀÇ À§Ä¡ (tmp_stat_flag) + tmp_stat = "" + tmp_stat_flag = "0" + + '1. ¿¬±¸ºÎ¼­ ¹Ìµî·Ï + '2_0. Á÷Á¢ºñ ¹Ìµî·Ï + '2. ½Ç»çºÎ¼­ ¹Ìµî·Ï + '3. Àü»êºÎ¼­ ¹Ìµî·Ï + '4. °è¾àº¸°í¼­ ¹Ìµî·Ï + '5. ¿µÇâµµ ¹ÌÃ¥Á¤ + '6. ½ÇÁ¦±â°£ ¹ÌÀÔ·Â(»ç¿ë¾ÈÇÔ) + '7. ÆÄÀÏ ¾øÀ½ + '8. ¿¬±¸¿Ï·á ´ë±âÁß + + '1. ¿¬±¸ºÎ¼­ ¹Ìµî·Ï + if tmp_stat = "" then + if isnull(rsp("p_rsch_1")) or rsp("p_rsch_1") = "" then + tmp_stat = "¿¬±¸ºÎ¼­ ¹Ìµî·Ï" + tmp_stat_flag = "1" + else + tmp_stat = "" + tmp_stat_flag = "" + end if + end if + + '2_0. Á÷Á¢ºñ ¹Ìµî·Ï + if tmp_stat = "" then + query = "SELECT * " + query = query & "FROM Document a " + query = query & " INNER JOIN ¹®¼­³»¿ë b on a.d_no = b.¹®¼­¹øÈ£ " + query = query & "WHERE a.d_delok = 'N' " + query = query & " AND a.d_name = 'Á÷Á¢ºñ' " + query = query & " AND b.p_sn = '" & rsp("p_sn") & "' " + + query = "select * from direct_cost where p_sn = '" & rsp("p_sn") & "' " & _ + " and del_yes_no = 'no' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + tmp_stat = "" + tmp_stat_flag = "" + else + tmp_stat = "Á÷Á¢ºñ ¹Ìµî·Ï" + tmp_stat_flag = "2_0" + end if + rsc.Close + end if + + '2. ½Ç»çºÎ¼­ ¹Ìµî·Ï + if tmp_stat = "" then + if isnull(rsp("p_sv")) or rsp("p_sv") = "" then + tmp_stat = "½Ç»çºÎ¼­ ¹Ìµî·Ï" + tmp_stat_flag = "2" + else + tmp_stat = "" + tmp_stat_flag = "" + end if + end if + + '3. Àü»êºÎ¼­ ¹Ìµî·Ï + if tmp_stat = "" then + if isnull(rsp("p_dper")) or rsp("p_dper") = "" then + tmp_stat = "Àü»êºÎ¼­ ¹Ìµî·Ï" + tmp_stat_flag = "3" + else + tmp_stat = "" + tmp_stat_flag = "" + end if + end if + + '4. °è¾àº¸°í¼­ ¹Ìµî·Ï + if tmp_stat = "" then + query = "SELECT * " + query = query & "FROM Document a " + query = query & " INNER JOIN ¹®¼­³»¿ë b on a.d_no = b.¹®¼­¹øÈ£ " + query = query & "WHERE a.d_delok = 'N' " + query = query & " AND a.d_name = 'ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­' " + query = query & " AND b.p_sn = '" & rsp("p_sn") & "' " + + rsc.Open query, adoConn, 1 + if rsc.RecordCount > 0 then + tmp_stat = "" + tmp_stat_flag = "" + else + tmp_stat = "°è¾àº¸°í¼­ ¹Ìµî·Ï" + tmp_stat_flag = "4" + end if + rsc.Close + end if + + '5. ¿µÇâµµ ¹ÌÃ¥Á¤ + if tmp_stat = "" then + if rsp("p_rsch_1p") = "" AND isnull(rsp("p_rsch_1p")) then + tmp_stat = "¿µÇâµµ ¹ÌÃ¥Á¤" + tmp_stat_flag = "5" + else + tmp_stat = "" + tmp_stat_flag = "" + end if + end if + + '6. ½ÇÁ¦±â°£ ¹ÌÀÔ·Â + if tmp_stat = "" then + if rsp("p_convdate_st") <> "" AND NOT isnull(rsp("p_convdate_st")) then + if rsp("p_convdate_st2") = "" AND isnull(rsp("p_convdate_st2")) then + tmp_stat = "½ÇÁ¦±â°£ ¹ÌÀÔ·Â(¿¬±¸)" + tmp_stat_flag = "6" + else + tmp_stat = "" + tmp_stat_flag = "" + end if + else + tmp_stat = "" + tmp_stat_flag = "" + end if + end if + + '6. ½ÇÁ¦±â°£ ¹ÌÀÔ·Â + if tmp_stat = "" then + if rsp("p_field_st") <> "" AND NOT isnull(rsp("p_field_st")) then + if rsp("p_field_st2") = "" AND isnull(rsp("p_field_st2")) then + tmp_stat = "½ÇÁ¦±â°£ ¹ÌÀÔ·Â(½Ç»ç)" + tmp_stat_flag = "6" + else + tmp_stat = "" + tmp_stat_flag = "" + end if + else + tmp_stat = "" + tmp_stat_flag = "" + end if + end if + + '6. ½ÇÁ¦±â°£ ¹ÌÀÔ·Â(»ç¿ë¾ÈÇÔ) + if tmp_stat = "" then + if rsp("p_dp_st") <> "" AND NOT isnull(rsp("p_dp_st")) then + if rsp("p_dp_st2") = "" AND isnull(rsp("p_dp_st2")) then + tmp_stat = "½ÇÁ¦±â°£ ¹ÌÀÔ·Â(Àü»ê)" + tmp_stat_flag = "6" + else + tmp_stat = "" + tmp_stat_flag = "" + end if + else + tmp_stat = "" + tmp_stat_flag = "" + end if + tmp_stat = "" + end if + + '7. ÆÄÀÏ ¾øÀ½ + if tmp_stat = "" then + tmp_chk = "" + if research_file = "0" then + tmp_chk = "¿¬±¸" + end if + if fieldwork_file = "0" then + if tmp_chk <> "" then + tmp_chk = tmp_chk & "," + end if + tmp_chk = tmp_chk & "½Ç»ç" + end if + if computer_file = "0" then + if tmp_chk <> "" then + tmp_chk = tmp_chk & "," + end if + tmp_chk = tmp_chk & "Àü»ê" + end if + + if tmp_chk <> "" then + tmp_stat = "ÆÄÀÏ ¾øÀ½(" & tmp_chk & ")" + tmp_stat_flag = "7" + end if + end if + + '8. ¿¬±¸¿Ï·á ´ë±âÁß + if tmp_stat = "" then + tmp_stat = "¿¬±¸¿Ï·á ´ë±âÁß" + tmp_stat_flag = "8" + end if + + + tmp_stat_process = tmp_stat + tmp_stat_flag_process = tmp_stat_flag + '------------------------------------------------------------------ + tmp_stat = "" + tmp_stat_flag = "0" + + '1. °è¾à±â°£ ¸¸·á + '2. º¸°í¼­ ÀÛ¼ºÀÏ + '3. D/P ÀÛ¾÷ÀÏ + '4. ÆÝÄ¡ÀÏ + '5. ½Ç»çÁøÇàÀÏ + '6. ¸éÁ¢¿ø OTÀÏ + '7. ³»ºÎ¹ÌÆÃÀÏ + '8. ´ë±âÁß + + '1. °è¾à±â°£ ¸¸·á + if tmp_stat = "" then + + if rsp("p_convdate_st2") <> "" AND NOT isnull(rsp("p_convdate_st2")) then + if cdate(rsp("p_convdate_end2")) < date() then + tmp_stat = "°è¾à±â°£ ¸¸·á" + tmp_stat_flag = "1" + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + + end if + + '2. º¸°í¼­ ÀÛ¼ºÀÏ + if tmp_stat = "" then + + if rsp("p_report_st2") <> "" AND NOT isnull(rsp("p_report_st2")) then + if cdate(rsp("p_report_st2")) <= date() AND cdate(rsp("p_report_end2")) >= date() then + tmp_stat = "º¸°í¼­ ÀÛ¼ºÀÏ" + tmp_stat_flag = "2" + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + + end if + + '3. D/P ÀÛ¾÷ÀÏ + if tmp_stat = "" then + + if rsp("p_dp_st2") <> "" AND NOT isnull(rsp("p_dp_st2")) then + if cdate(rsp("p_dp_st2")) <= date() AND cdate(rsp("p_dp_end2")) >= date() then + tmp_stat = "D/P ÀÛ¾÷ÀÏ" + tmp_stat_flag = "3" + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + + end if + + '4. ÆÝÄ¡ÀÏ + if tmp_stat = "" then + + if rsp("p_punch_st2") <> "" AND NOT isnull(rsp("p_punch_st2")) then + if cdate(rsp("p_punch_st2")) <= date() AND cdate(rsp("p_punch_end2")) >= date() then + tmp_stat = "ÆÝÄ¡ÀÏ" + tmp_stat_flag = "4" + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + + end if + + '5. ½Ç»çÁøÇàÀÏ + if tmp_stat = "" then + + if rsp("p_field_st2") <> "" AND NOT isnull(rsp("p_field_st2")) then + if cdate(rsp("p_field_st2")) <= date() AND cdate(rsp("p_field_end2")) >= date() then + tmp_stat = "½Ç»çÁøÇàÀÏ" + tmp_stat_flag = "5" + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + + end if + + '6. ¸éÁ¢¿ø OTÀÏ + if tmp_stat = "" then + + if rsp("p_ot_date2") <> "" AND NOT isnull(rsp("p_ot_date2")) then + if cdate(rsp("p_ot_date2")) = date() then + tmp_stat = "¸éÁ¢¿ø OTÀÏ" + tmp_stat_flag = "6" + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + + end if + + '7. ³»ºÎ¹ÌÆÃÀÏ + if tmp_stat = "" then + + if rsp("p_premeet_date2") <> "" AND NOT isnull(rsp("p_premeet_date2")) then + if cdate(rsp("p_premeet_date2")) = date() then + tmp_stat = "³»ºÎ¹ÌÆÃÀÏ" + tmp_stat_flag = "7" + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + else + tmp_stat = "" + tmp_stat_flag = "0" + end if + + end if + + '8. ´ë±âÁß + if tmp_stat = "" then + + tmp_stat = "´ë±âÁß" + tmp_stat_flag = "8" + + end if + + tmp_stat_date = tmp_stat + tmp_stat_flag_date = tmp_stat_flag + '------------------------------------------------------------------ + tmp_view = "0" + if flag <> "" then '#### my_menu¿¡¼­ ºñ±³°ªÀ» º¸³»¾î ¿À¸é ±× ºñ±³°ª¿¡ ¸ÂÃç¼­ ¸®½ºÆ®¸¦ Ãâ·Â + if tmp_stat_flag_process = flag OR tmp_stat_flag_date = flag then '#### ºñ±³°ªÀÌ ¾ø´Ù¸é Àüü¸¦ Ãâ·Â + tmp_view = "1" + else + tmp_veiw = "0" + end if + else + tmp_view = "1" + end if + + if tmp_view = "1" then + + if i mod 2 = 0 then + tmp_bgcolor="#dbe9f2" + else + tmp_bgcolor="" + end if + %> + ');" onmouseout="MultiRowSelection('row<%=i%>',0,'off','<%=tmp_bgcolor%>');hideLayer();"> + + + + + + + + + + + + + + + + <% + end if + rsp.MoveNext + next + end if + rsp.Close + %> + + + + + + + + +
No.º»ºÎÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íŬ¶óÀÌ¾ðÆ®¸íÁ¶»ç¹æ¹ý¿¬±¸¿øDPSV»óÅÂ(ÀÔ·Â)»óÅÂ(³¯Â¥)¿¬±¸½Ç»çÀü»ê
<%=Num%><%=tmp_depart%><%=rsp("p_sn")%>')" class="blue"><%=rsp("p_subject")%><%=tmp_cli_company%><%=tmp_method_name%><%=tmp_rsch_name%><%=tmp_dp_name%><%=tmp_sv_name%><%=tmp_stat_process%><%=tmp_stat_date%><%=research_file_txt%><%=fieldwork_file_txt%><%=computer_file_txt%>
+ + + + +
+ + <%=Pagelist("project_list2_withdate.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&x=" & x & "&chk=" & chk & "&p_depart=" & p_depart & "&p_team=" & p_team & "&flag=" & flag & "&tmp_sort=" & tmp_sort & "&tmp_month=" & tmp_month & "&tmp_year=" & tmp_year & "&p_team_people=" & p_team_people)%> + +
+
+
+
+ + +
diff --git a/project/project_list2_withdate_2014.asp b/project/project_list2_withdate_2014.asp new file mode 100644 index 0000000..a8bcb5b --- /dev/null +++ b/project/project_list2_withdate_2014.asp @@ -0,0 +1,966 @@ + + +<% + +''///============================================== +''///============================================== +''2014³â 1¿ù 23ÀÏ ºÎ·Î º¯°æ »çÇ× +'' Á÷Á¢ºñ¸¦ °áÀ縦 ÇÏÁö ¾Ê±â¿¡ Á÷Á¢ºñ ÀԷ¿©ºÎ´Â direct_cost Å×ÀÌºí¿¡ ³»¿ëÀÌ ÀÖ³ª ¾ø³ª·Î ÆÇ´Ü.. +''///============================================== +''///============================================== +''///============================================== +SET rsp = server.CreateObject("ADODB.RECORDSET") +SET rsa = server.CreateObject("ADODB.RECORDSET") + +dim prj_list(20 , 25) +Dim tmp_input_complete() + +x = request("x") +z = request("z") '1Àº ¼öÇà°èȹ, 2´Â ÇÁ·ÎÁ§Æ® ÁøÇà, 3Àº ÇÁ·ÎÁ§Æ® ¸¶°¨ +p_depart = request("p_depart") +p_team = request("p_team") +flag = request("flag") 'my_menu.asp¿¡¼­ º¸³»¿À´Â °ª (tmp_stat_flag¿Í ºñ±³) +If request("tmp_sort") <> "" Then + tmp_sort = request("tmp_sort") +Else + tmp_sort = "0" +End if +tmp_month = request("tmp_month") +tmp_year = request("tmp_year") +p_team_people = request("p_team_people") +p_subject = request("p_subject") +p_method_nm = request("p_method_nm") +p_method_cd = request("p_method_cd") + +chk = request("chk") 'ºÎ¼­°¡ º¯°æµÇ¸é ÆÀÀ» Àüü·Î ÃʱâÈ­ ÇÔ + +if request("gotopage") <> "" then + tmp_currentpage = request("gotopage") +else + tmp_currentpage = 1 +end if + +If p_depart = "" Then + p_depart = Session("Depart_Code") +End if + +'page config +tmp_colspan = 9 + +if tmp_year = "" then + tmp_year = cstr(year(date())) +end if + +if tmp_month = "" then + tmp_month = cstr(month(date())) +end if +%> + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + +
+ <% If CInt(z) = 1 Then %> + ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ ÀÛ¼º + <% ElseIf CInt(z) = 2 Then %> + ÇÁ·ÎÁ§Æ® ÁøÇà °ü¸® + <% ElseIf CInt(z) = 3 Then %> + ÇÁ·ÎÁ§Æ® ¿Ï·á °ü¸® + <% Else %> + ÇÁ·ÎÁ§Æ® ÁøÇà °ü¸® + <% End If %> +
+ + °Ë»ö Á¶°ÇÀ» ¼±ÅÃÇϼ¼¿ä. + +
+ + + + +
+ + + + + + Á¤·Ä + +    + + ³âµµ + +    + + ¿ù +      + ºÎ¼­ : + +       + + ÇÁ·ÎÁ§Æ® ¸í : +    + + Á¶»ç ¹æ¹ý : + +    + +
+
+ + + + + + + + + + + + + + <% + query = "SELECT * " + query = query & "FROM ( " + query = query & " SELECT TPB.p_sn " + query = query & " ,TPB.p_cli_company " + query = query & " ,TPB.p_cli_type " + query = query & " ,TPB.p_subject " + 'query = query & " ,TPB.p_intention " + query = query & " ,'Multi' as p_intention " + query = query & " ,TPB.p_cp_code " + query = query & " ,'' as p_memo " + query = query & " ,TPB.p_budget as p_cont_cost" + query = query & " ,TPB.p_decide_date " + query = query & " ,TPB.p_con_date_st " + query = query & " ,TPB.p_con_date_end " + query = query & " ,TPB.p_export_range " + query = query & " ,TPB.p_category " + query = query & " ,TPB.p_state " + query = query & " ,TPB.p_input_user " + query = query & " ,TPB.p_depart " + query = query & " ,TPB.p_depart_dep " + query = query & " ,TPB.p_depart_team " + query = query & " ,'' as p_method_cd " + query = query & " ,'' as p_index " + query = query & " ,TPM.p_sub_type " + query = query & " ,'' as p_child_sn " + query = query & " ,'' as p_sur_area " + query = query & " ,'' as p_sur_target " + query = query & " ,'' as p_sample " + query = query & " ,'' as p_research_date_st " + query = query & " ,'' as p_research_date_end " + query = query & " ,'' as p_sur_part " + query = query & " ,'' as p_field_process " + query = query & " ,'' as p_rsch_dept " + query = query & " ,'' as p_field_dept " + query = query & " ,'' as p_is_dept " + query = query & " ,'' as p_supp_dept " + query = query & " ,'' as p_rsch_1_a " + query = query & " ,'' as p_rsch_2_a " + query = query & " ,'' as p_rsch_3_a " + query = query & " ,'' as p_rsch_4_a " + query = query & " ,'' as p_rsch_1_b " + query = query & " ,'' as p_rsch_2_b " + query = query & " ,'' as p_rsch_3_b " + query = query & " ,'' as p_rsch_4_b " + query = query & " ,'' as p_rsch_1_c " + query = query & " ,'' as p_rsch_2_c " + query = query & " ,'' as p_rsch_3_c " + query = query & " ,'' as p_rsch_4_c " + query = query & " ,'' as p_sv_1 " + query = query & " ,'' as p_sv_2 " + query = query & " ,'' as p_sv_3 " + query = query & " ,'' as p_sv_4 " + query = query & " ,'' as p_code_1 " + query = query & " ,'' as p_code_2 " + query = query & " ,'' as p_code_3 " + query = query & " ,'' as p_code_4 " + query = query & " ,'' as p_verify_1 " + query = query & " ,'' as p_verify_2 " + query = query & " ,'' as p_verify_3 " + query = query & " ,'' as p_verify_4 " + query = query & " ,'' as p_dp_1 " + query = query & " ,'' as p_dp_2 " + query = query & " ,'' as p_dp_3 " + query = query & " ,'' as p_dp_4 " + query = query & " ,'' as p_it_1 " + query = query & " ,'' as p_it_2 " + query = query & " ,'' as p_it_3 " + query = query & " ,'' as p_it_4 " + query = query & " ,'' as p_supp_1 " + query = query & " ,'' as p_supp_2 " + query = query & " ,'' as p_supp_3 " + query = query & " ,'' as p_supp_4 " + query = query & " ,'' as p_rsch_date_st " + query = query & " ,'' as p_rsch_date_end " + query = query & " ,'' as p_field_date_st " + query = query & " ,'' as p_field_date_end " + query = query & " ,'' as p_code_date_st " + query = query & " ,'' as p_code_date_end " + query = query & " ,'' as p_verify_date_st " + query = query & " ,'' as p_verify_date_end " + query = query & " ,'' as p_dp_date_st " + query = query & " ,'' as p_dp_date_end " + query = query & " ,'' as p_it_date_st " + query = query & " ,'' as p_it_date_end " + query = query & " ,'' as p_premeet_date " + query = query & " ,'' as p_premeet_time " + query = query & " ,'' as p_premeet_place " + query = query & " ,'' as p_ot_date " + query = query & " ,'' as p_ot_time " + query = query & " ,'' as p_ot_place " + query = query & " ,'' as p_sur_memo " + query = query & " ,TPM.p_progress_status " + query = query & " ,TPB.p_input_dt " + query = query & " ,max(isnull(TPM.p_research_complete,0)) as p_research_complete " + query = query & " ,max(isnull(TPM.p_field_complete,0)) as p_field_complete " + query = query & " ,max(isnull(TPM.p_dp_complete ,0)) as p_dp_complete " + query = query & " FROM V_PROJECT as TPB " + query = query & " INNER JOIN V_PROJECT_METHOD as TPM " + query = query & " ON TPB.p_sn = TPM.p_sn " + query = query & " AND TPM.p_progress_status is not null " + query = query & " AND TPM.p_sub_type = 'M' " + if p_depart <> "0" AND p_depart <> "" then + If p_depart >= 20 and p_depart < 40 then + query = query & " WHERE p_depart_dep = " & p_depart & " " + Else + ' query = query & " WHERE ( p_depart_dep = " & p_depart & " " + ' query = query & " or p_rsch_dept = " & p_depart & " " + ' query = query & " or p_field_dept = " & p_depart & " " + ' query = query & " or p_is_dept = " & p_depart & " " + ' query = query & " or p_supp_dept = " & p_depart & " " + ' query = query & " ) " + End if + End if + query = query & " GROUP BY TPB.p_sn " + query = query & " ,TPB.p_cli_company " + query = query & " ,TPB.p_cli_type " + query = query & " ,TPB.p_subject " + query = query & " ,TPB.p_intention " + query = query & " ,TPB.p_cp_code " +' query = query & " --,TPB.p_memo " + query = query & " ,TPB.p_budget" + query = query & " ,TPB.p_decide_date " + query = query & " ,TPB.p_con_date_st " + query = query & " ,TPB.p_con_date_end " + query = query & " ,TPB.p_export_range " + query = query & " ,TPB.p_category " + query = query & " ,TPB.p_state " + query = query & " ,TPB.p_input_user " + query = query & " ,TPB.p_depart " + query = query & " ,TPB.p_depart_dep " + query = query & " ,TPB.p_depart_team " +' query = query & " --,TPM.p_method_cd " +' query = query & " --,TPM.p_index " + query = query & " ,TPM.p_sub_type " +' query = query & " --,TPM.p_child_sn " +' query = query & " --,TPM.p_sur_area " +' query = query & " --,TPM.p_sur_target " +' query = query & " --,TPM.p_sample " +' query = query & " --,TPM.p_research_date_st " +' query = query & " --,TPM.p_research_date_end " +' query = query & " --,TPM.p_sur_part " +' query = query & " --,TPM.p_field_process " +' query = query & " --,TPM.p_rsch_dept " +' query = query & " --,TPM.p_field_dept " +' query = query & " --,TPM.p_is_dept " +' query = query & " --,TPM.p_supp_dept " +' query = query & " --,TPM.p_rsch_1_a " +' query = query & " --,TPM.p_rsch_2_a " +' query = query & " --,TPM.p_rsch_3_a " +' query = query & " --,TPM.p_rsch_4_a " +' query = query & " --,TPM.p_rsch_1_b " +' query = query & " --,TPM.p_rsch_2_b " +' query = query & " --,TPM.p_rsch_3_b " +' query = query & " --,TPM.p_rsch_4_b " +' query = query & " --,TPM.p_rsch_1_c " +' query = query & " --,TPM.p_rsch_2_c " +' query = query & " --,TPM.p_rsch_3_c " +' query = query & " --,TPM.p_rsch_4_c " +' query = query & " --,TPM.p_sv_1 " +' query = query & " --,TPM.p_sv_2 " +' query = query & " --,TPM.p_sv_3 " +' query = query & " --,TPM.p_sv_4 " +' query = query & " --,TPM.p_code_1 " +' query = query & " --,TPM.p_code_2 " +' query = query & " --,TPM.p_code_3 " +' query = query & " --,TPM.p_code_4 " +' query = query & " --,TPM.p_verify_1 " +' query = query & " --,TPM.p_verify_2 " +' query = query & " --,TPM.p_verify_3 " +' query = query & " --,TPM.p_verify_4 " +' query = query & " --,TPM.p_dp_1 " +' query = query & " --,TPM.p_dp_2 " +' query = query & " --,TPM.p_dp_3 " +' query = query & " --,TPM.p_dp_4 " +' query = query & " --,TPM.p_it_1 " +' query = query & " --,TPM.p_it_2 " +' query = query & " --,TPM.p_it_3 " +' query = query & " --,TPM.p_it_4 " +' query = query & " --,TPM.p_supp_1 " +' query = query & " --,TPM.p_supp_2 " +' query = query & " --,TPM.p_supp_3 " +' query = query & " --,TPM.p_supp_4 " +' query = query & " --,TPM.p_rsch_date_st " +' query = query & " --,TPM.p_rsch_date_end " +' query = query & " --,TPM.p_field_date_st " +' query = query & " --,TPM.p_field_date_end " +' query = query & " --,TPM.p_code_date_st " +' query = query & " --,TPM.p_code_date_end " +' query = query & " --,TPM.p_verify_date_st " +' query = query & " --,TPM.p_verify_date_end " +' query = query & " --,TPM.p_dp_date_st " +' query = query & " --,TPM.p_dp_date_end " +' query = query & " --,TPM.p_it_date_st " +' query = query & " --,TPM.p_it_date_end " +' query = query & " --,TPM.p_premeet_date " +' query = query & " --,TPM.p_premeet_time " +' query = query & " --,TPM.p_premeet_place " +' query = query & " --,TPM.p_ot_date " +' query = query & " --,TPM.p_ot_time " +' query = query & " --,TPM.p_ot_place " +' query = query & " --,TPM.p_sur_memo " + query = query & " ,TPM.p_progress_status " + query = query & " ,TPB.p_input_dt " + query = query & " " + query = query & " UNION ALL " + query = query & " " + query = query & " SELECT TPB.p_sn " + query = query & " ,TPB.p_cli_company " + query = query & " ,TPB.p_cli_type " + query = query & " ,TPM.p_subject " + query = query & " ,TPM.p_intention " + query = query & " ,TPB.p_cp_code " + query = query & " ,TPB.p_memo " + query = query & " ,TPM.p_cont_cost " + query = query & " ,TPM.p_decide_date " + query = query & " ,TPM.p_con_date_st " + query = query & " ,TPM.p_con_date_end " + query = query & " ,TPM.p_export_range " + query = query & " ,TPM.p_category " + query = query & " ,TPB.p_state " + query = query & " ,TPB.p_input_user " + query = query & " ,TPB.p_depart " + query = query & " ,TPB.p_depart_dep " + query = query & " ,TPB.p_depart_team " + query = query & " ,TPM.p_method_cd " + query = query & " ,TPM.p_index " + query = query & " ,TPM.p_sub_type " + query = query & " ,TPM.p_child_sn " + query = query & " ,TPM.p_sur_area " + query = query & " ,TPM.p_sur_target " + query = query & " ,TPM.p_sample " + query = query & " ,TPM.p_research_date_st " + query = query & " ,TPM.p_research_date_end " + query = query & " ,TPM.p_sur_part " + query = query & " ,TPM.p_field_process " + query = query & " ,TPM.p_rsch_dept " + query = query & " ,TPM.p_field_dept " + query = query & " ,TPM.p_is_dept " + query = query & " ,TPM.p_supp_dept " + query = query & " ,TPM.p_rsch_1_a " + query = query & " ,TPM.p_rsch_2_a " + query = query & " ,TPM.p_rsch_3_a " + query = query & " ,TPM.p_rsch_4_a " + query = query & " ,TPM.p_rsch_1_b " + query = query & " ,TPM.p_rsch_2_b " + query = query & " ,TPM.p_rsch_3_b " + query = query & " ,TPM.p_rsch_4_b " + query = query & " ,TPM.p_rsch_1_c " + query = query & " ,TPM.p_rsch_2_c " + query = query & " ,TPM.p_rsch_3_c " + query = query & " ,TPM.p_rsch_4_c " + query = query & " ,TPM.p_sv_1 " + query = query & " ,TPM.p_sv_2 " + query = query & " ,TPM.p_sv_3 " + query = query & " ,TPM.p_sv_4 " + query = query & " ,TPM.p_code_1 " + query = query & " ,TPM.p_code_2 " + query = query & " ,TPM.p_code_3 " + query = query & " ,TPM.p_code_4 " + query = query & " ,TPM.p_verify_1 " + query = query & " ,TPM.p_verify_2 " + query = query & " ,TPM.p_verify_3 " + query = query & " ,TPM.p_verify_4 " + query = query & " ,TPM.p_dp_1 " + query = query & " ,TPM.p_dp_2 " + query = query & " ,TPM.p_dp_3 " + query = query & " ,TPM.p_dp_4 " + query = query & " ,TPM.p_it_1 " + query = query & " ,TPM.p_it_2 " + query = query & " ,TPM.p_it_3 " + query = query & " ,TPM.p_it_4 " + query = query & " ,TPM.p_supp_1 " + query = query & " ,TPM.p_supp_2 " + query = query & " ,TPM.p_supp_3 " + query = query & " ,TPM.p_supp_4 " + query = query & " ,TPM.p_rsch_date_st " + query = query & " ,TPM.p_rsch_date_end " + query = query & " ,TPM.p_field_date_st " + query = query & " ,TPM.p_field_date_end " + query = query & " ,TPM.p_code_date_st " + query = query & " ,TPM.p_code_date_end " + query = query & " ,TPM.p_verify_date_st " + query = query & " ,TPM.p_verify_date_end " + query = query & " ,TPM.p_dp_date_st " + query = query & " ,TPM.p_dp_date_end " + query = query & " ,TPM.p_it_date_st " + query = query & " ,TPM.p_it_date_end " + query = query & " ,TPM.p_premeet_date " + query = query & " ,TPM.p_premeet_time " + query = query & " ,TPM.p_premeet_place " + query = query & " ,TPM.p_ot_date " + query = query & " ,TPM.p_ot_time " + query = query & " ,TPM.p_ot_place " + query = query & " ,TPM.p_sur_memo " + query = query & " ,TPM.p_progress_status " + query = query & " ,TPM.p_input_dt " + query = query & " ,TPM.p_research_complete " + query = query & " ,TPM.p_field_complete " + query = query & " ,TPM.p_dp_complete " + query = query & " FROM V_PROJECT as TPB " + query = query & " INNER JOIN V_PROJECT_METHOD as TPM " + query = query & " ON TPB.p_sn = TPM.p_sn " + query = query & " AND TPM.p_progress_status is not null " + query = query & " AND TPM.p_sub_type = 'C' " +''' response.write p_depart & "//" & p_depart + 'Á¶È¸ ¿É¼Ç + if p_depart <> "0" AND p_depart <> "" then + If p_depart = 17 Or p_depart = 18 then + query = query & " WHERE (p_depart_dep <= 10 or (p_depart_dep >= 20 and p_depart_dep <=60) or (p_depart_dep >= 17 and p_depart_dep <=18) or p_rsch_dept = 90) " + Else + query = query & " WHERE ( p_depart_dep = " & p_depart & " " + query = query & " or p_rsch_dept = " & p_depart & " " + query = query & " or (p_rsch_dept = 90 and (TPM.p_rsch_1_a = '"& Session("User_Number") &"' or TPM.p_rsch_2_a = '"& Session("User_Number") &"' or TPM.p_rsch_3_a = '"& Session("User_Number") &"' or TPM.p_rsch_4_a = '"& Session("User_Number") &"' " + query = query & " or TPM.p_rsch_1_b = '"& Session("User_Number") &"' or TPM.p_rsch_2_b = '"& Session("User_Number") &"' or TPM.p_rsch_3_b = '"& Session("User_Number") &"' or TPM.p_rsch_4_b = '"& Session("User_Number") &"' " + query = query & " or TPM.p_rsch_1_c = '"& Session("User_Number") &"' or TPM.p_rsch_2_c = '"& Session("User_Number") &"' or TPM.p_rsch_3_c = '"& Session("User_Number") &"' or TPM.p_rsch_4_c = '"& Session("User_Number") &"' ))" + + if p_depart = 12 then + query = query & " or p_field_dept = 8 " + query = query & " or p_field_dept = 9 " + query = query & " or p_field_dept = 12 " + end if + query = query & " or p_field_dept = " & p_depart & " " + query = query & " or p_is_dept = " & p_depart & " " + query = query & " or p_supp_dept = " & p_depart & " " + query = query & " ) " + End if + else + query = query & " WHERE (p_depart_dep <= 10 or (p_depart_dep >= 20 and p_depart_dep <=60) " + query = query & " or (p_rsch_dept = 90 and (TPM.p_rsch_1_a = '"& Session("User_Number") &"' or TPM.p_rsch_2_a = '"& Session("User_Number") &"' or TPM.p_rsch_3_a = '"& Session("User_Number") &"' or TPM.p_rsch_4_a = '"& Session("User_Number") &"' " + query = query & " or TPM.p_rsch_1_b = '"& Session("User_Number") &"' or TPM.p_rsch_2_b = '"& Session("User_Number") &"' or TPM.p_rsch_3_b = '"& Session("User_Number") &"' or TPM.p_rsch_4_b = '"& Session("User_Number") &"' " + query = query & " or TPM.p_rsch_1_c = '"& Session("User_Number") &"' or TPM.p_rsch_2_c = '"& Session("User_Number") &"' or TPM.p_rsch_3_c = '"& Session("User_Number") &"' or TPM.p_rsch_4_c = '"& Session("User_Number") &"' )))" + + end If + + query = query & " ) as T " + '------------------------------------------------------ + + 'z¿É¼Ç + if z = 1 then + query = query & " WHERE p_progress_status <= '007' " + elseif z = 2 Then + query = query & " WHERE p_progress_status > '007' and p_progress_status <> '999' " + If CInt(p_depart) = 0 Or (CInt(p_depart) >= 20 And CInt(p_depart) <= 40) Then + query = query & " and ( isnull(p_research_complete,0) = 0 ) " + ElseIf p_depart = 12 Then + query = query & " and ( isnull(p_field_complete,0) = 0 ) " + ElseIf p_depart = 17 Then + query = query & " and ( isnull(p_dp_complete,0) = 0 ) " + Else + query = query & " and ( isnull(p_research_complete,0) = 0 and isnull(p_field_complete,0) = 0 and isnull(p_dp_complete,0) = 0 ) " + End If + elseif z = 3 Then + query = query & " WHERE p_progress_status > '007' " + + If CInt(p_depart) = 0 Or (CInt(p_depart) >= 20 And CInt(p_depart) <= 40) Then + query = query & " and ( p_research_complete = 1 ) " + ElseIf p_depart = 12 Then + query = query & " and ( p_field_complete = 1 ) " + ElseIf p_depart = 17 Then + query = query & " and ( p_dp_complete = 1 ) " + Else + query = query & " and ( p_research_complete = 1 or p_field_complete = 1 or p_dp_complete = 1 ) " + End If + + else + query = query & " WHERE p_progress_status < '014' " + end if + '------------------------------------------------------ + + '³â ¿É¼Ç + if tmp_year <> "0" and tmp_year <> "" then + query = query & " AND SUBSTRING(convert(varchar(30), p_input_dt, 112), 1, 4) = '" & tmp_year & "' " + else + query = query & " AND SUBSTRING(convert(varchar(30), p_input_dt, 112), 1, 4) = '" & year(date()) & "' " + end if + '------------------------------------------------------ + + '¿ù ¿É¼Ç + if tmp_month <> "0" and tmp_month <> "" then + query = query & " AND SUBSTRING(convert(varchar(30), p_input_dt, 112), 5, 2) = '" & right("0" & tmp_month, 2) & "' " + end if + '------------------------------------------------------ + 'ÇÁ·ÎÁ§Æ® ¸í °Ë»ö ¿É¼Ç + if p_subject <> "" then + query = query & " AND p_subject LIKE '%"&p_subject&"%' " + end if + '------------------------------------------------------ + 'ÇÁ·ÎÁ§Æ® ¸í °Ë»ö ¿É¼Ç + if p_method_cd <> "" then + query = query & " AND p_method_cd = '"&p_method_cd&"' " + end if + '------------------------------------------------------ + + + '------------------------------------------------------ + 'Á¤·Ä ¿É¼Ç + if tmp_sort = "0" Then + query = query & "ORDER BY p_subject " + ElseIf tmp_sort = "1" Then + query = query & "ORDER BY p_sn DESC " + ElseIf tmp_sort = "2" Then + query = query & "ORDER BY p_depart_dep " + else + query = query & "ORDER BY p_input_dt " + end If + '------------------------------------------------------ + + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + + rsp.PageSize = 20 + + PageCount = rsp.PageCount + rsp.absolutepage = tmp_Currentpage + tmp_total_record = rsp.RecordCount + tmp_for = Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * rsp.PageSize) + + if rsp.PageSize <= tmp_for then + if rsp.RecordCount <= rsp.PageSize then + tmp_for = rsp.recordcount + else + tmp_for = rsp.PageSize + end if + else + tmp_for = tmp_for + end if + + for i = 1 to tmp_for + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * rsc.PageSize) - i +1 + end if + + prj_list(i, 0) = rsp("p_sn") + prj_list(i, 1) = rsp("p_subject") + + + if Cint(tmp_Currentpage)=1 then + Num=Cint(tmp_total_record)- i+1 + else + Num=Cint(tmp_total_record) - ((Cint(tmp_Currentpage) - 1) * rsp.PageSize) - i +1 + end if + + '------------------------------------------------------------------ + tmp_view = "0" + if flag <> "" then '#### my_menu¿¡¼­ ºñ±³°ªÀ» º¸³»¾î ¿À¸é ±× ºñ±³°ª¿¡ ¸ÂÃç¼­ ¸®½ºÆ®¸¦ Ãâ·Â + if tmp_stat_flag_process = flag OR tmp_stat_flag_date = flag then '#### ºñ±³°ªÀÌ ¾ø´Ù¸é Àüü¸¦ Ãâ·Â + tmp_view = "1" + else + tmp_veiw = "0" + end if + else + tmp_view = "1" + end if + + if tmp_view = "1" then + + if i mod 2 = 0 then + tmp_bgcolor="#dbe9f2" + else + tmp_bgcolor="" + end if + %> + + + + + + + + + + + <% + end if + rsp.MoveNext + next + end if + rsp.Close + %> + + + + + + + + +
No.ÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýÁ¶»ç³»¿ë¿¬±¸ÁøÇà»óŵî·ÏÀÏÀÚ
<%=Num%>','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue"> + + <% + If rsp("p_sub_type") = "M" Then + %> + <%=rsp("p_sn")%>_M01 + <% Else + If rsp("p_child_sn") = "" Then + %> + <%=rsp("p_sn")%>_C01 + <% Else %> + <%=rsp("p_child_sn")%> + <% End If + End If + %> + + ','<%=rsp("p_sub_type")%>','<%=rsp("p_method_cd")%>','<%=rsp("p_child_sn")%>')" class="blue">  + <% If Len(rsp("p_subject")) > 35 Then %> + <%=Left(rsp("p_subject"), 35) & "..."%> + <% Else %> + <%=rsp("p_subject")%> + <% End If %> + + + <% If rsp("p_sub_type") = "M" Then %> + Multi + <% Else + If rsp("p_method_cd") <> "" then + q = "select p_method_cd, p_method_nm from T_PROJECT_METHOD_CD where p_method_cd = " & rsp("p_method_cd") + rsc.Open q, adoConn, 1 + if rsc.RecordCount > 0 Then + If Len(rsc("p_method_nm")) > 6 Then + %> + <%=Left(rsc("p_method_nm"), 6) & "..."%> + <% + Else + %> + <%=rsc("p_method_nm")%> + <% + End if + end if + rsc.Close + Else + %> + + <% + End if + End If %> +   + <% If Len(rsp("p_intention")) > 6 Then %> + <%=Left(rsp("p_intention"), 6) & "..."%> + <% Else %> + <%=rsp("p_intention")%> + <% End If %> + + <% + '##### Á¶Á÷ °³Æí(2019) + 'q = "select d_code, d_name from Depart where d_yes_no = 'Y' and d_code = '" & rsp("p_rsch_dept") & "' " + 'rsc.Open q, adoConn, 1 + dim t_name + q = "Select T_name from V_department where before_t_cd1 = '"& rsp("p_rsch_dept") &"' " + rsc.Open q, adoConn, 1 + If rsc.RecordCount > 0 Then + If (Instr(rsc("T_name"),"ÄÁ¼³ÆÃ") <> 0) or (Instr(rsc("T_name"),"¿¬±¸") <> 0) Then + t_name = Right(rsc("T_name"),2) + Else + t_name = rsc("T_name") + End If + %> + <%=t_name%> + <% + end if + rsc.Close + %> + + <% + q = "select c_common_code, c_code_name from T_COMMON_CODE_DETAIL where c_kind_code = '010' and c_common_code = '" & rsp("p_progress_status") & "' " + rsc.Open q, adoConn, 1 + + if rsc.RecordCount > 0 Then + If rsc("c_code_name") = "Á÷Á¢ºñ ¿¹»ê ÀÔ·ÂÁß" Then + query = "select p_progress_flag, p_input_complete from T_PROJECT_METHOD where p_sn = '"&rsp("p_sn")&"' and p_sub_type = '"&rsp("p_sub_type")&"' " + + If rsp("p_sub_type") = "C" Then + query = query + " and p_child_sn = '"&rsp("p_child_sn")&"' " + End if + + 'response.Write query + + Dim direct_cost_depart + ReDim tmp_input_complete(3) + ReDim tmp_progress_flag(3) + direct_cost_depart = "" + rsa.Open query, adoConn, 1 + + if rsa.RecordCount > 0 Then + If rsp("p_sub_type") = "C" Then + if rsa("p_progress_flag") = "ooo" then + if rsa("p_input_complete") = "ooo" Or rsa("p_input_complete") = "oooo" then + direct_cost_depart = "Á÷Á¢ºñ ÀÔ·Â ¿Ï·á" + else + if mid(rsa("p_input_complete"),1,1) = "x" then + direct_cost_depart = "¿¬±¸ " + end if + if mid(rsa("p_input_complete"),2,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "½Ç»ç " + end If + If rsa("p_input_complete") = "ooo" Then + if mid(rsa("p_input_complete"),3,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End If + End if + direct_cost_depart = direct_cost_depart & "QC " + ElseIf rsa("p_input_complete") = "oooo" Then + if mid(rsa("p_input_complete"),4,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "DP " + end if + End If + direct_cost_depart = direct_cost_depart & "Á÷Á¢ºñ ÀÔ·Â Áß" + end if + else + if mid(rsa("p_progress_flag"),1,1) = "x" then + direct_cost_depart = "¿¬±¸ " + end if + if mid(rsa("p_progress_flag"),2,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "½Ç»ç " + end if + if mid(rsa("p_progress_flag"),3,1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "DP " + end if + direct_cost_depart = direct_cost_depart & "Á¤º¸ ÀÔ·Â Áß" + end if + Else + Do while Not rsa.Eof + if mid(rsa("p_input_complete"),1,1) = "x" then + tmp_input_complete(0) = "x" + end if + if mid(rsa("p_input_complete"),2,1) = "x" then + tmp_input_complete(1) = "x" + end if + if mid(rsa("p_input_complete"),3,1) = "x" then + tmp_input_complete(2) = "x" + end if + + if mid(rsa("p_progress_flag"),1,1) = "x" then + tmp_progress_flag(0) = "x" + end if + if mid(rsa("p_progress_flag"),2,1) = "x" then + tmp_progress_flag(1) = "x" + end if + if mid(rsa("p_progress_flag"),3,1) = "x" then + tmp_progress_flag(2) = "x" + end if + rsa.MoveNext + loop + + if tmp_progress_flag(0) <> "x" and tmp_progress_flag(1) <> "x" and tmp_progress_flag(2) <> "x" then + + if tmp_input_complete(0) = "x" then + direct_cost_depart = "¿¬±¸ " + End if + if tmp_input_complete(1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "½Ç»ç " + End if + if tmp_input_complete(2) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "QC " + End if + direct_cost_depart = direct_cost_depart & "Á÷Á¢ºñ ÀÔ·Â Áß" + else + if tmp_progress_flag(0) = "x" then + direct_cost_depart = "¿¬±¸ " + End if + if tmp_progress_flag(1) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "½Ç»ç " + End if + if tmp_progress_flag(2) = "x" then + if direct_cost_depart <> "" then + direct_cost_depart = direct_cost_depart & ", " + End if + direct_cost_depart = direct_cost_depart & "DP " + End if + direct_cost_depart = direct_cost_depart & "Á¤º¸ ÀÔ·Â Áß" + end if + End if + end if + rsa.Close + %> + <%=direct_cost_depart%> + <% + else + %> + <%=Replace(rsc("c_code_name"), "¼öÇà°èȹ¼­ ", "°èȹ¼­ ")%> + <% + End if + end if + rsc.Close + %> + <%=Left(rsp("p_input_dt"), 10)%>
+ + + + +
+ + <%=Pagelist("project_list2_withdate_2014.asp?z=" & z & "&",tmp_currentpage ,tmp_bcolor , "", pagecount, "&x=" & x & "&chk=" & chk & "&p_depart=" & p_depart & "&p_team=" & p_team & "&flag=" & flag & "&tmp_sort=" & tmp_sort & "&tmp_month=" & tmp_month & "&tmp_year=" & tmp_year & "&p_team_people=" & p_team_people)%> + +
+
+
+
+ + +
diff --git a/project/project_report_2014.asp b/project/project_report_2014.asp new file mode 100644 index 0000000..f5ffdb8 --- /dev/null +++ b/project/project_report_2014.asp @@ -0,0 +1,956 @@ + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") +set rsa = server.CreateObject("ADODB.RECORDSET") +set rsm = server.CreateObject("ADODB.RECORDSET") + +p_sn = request("p_sn") +p_sub_type = request("p_sub_type") +tmp_teamname = "" +x = "1" +'============================================================================ +'2010/11/16 ±âÁ¸¿¡ °áÀçÁßÀ̰ųª °áÀç¿Ï·áµÈ °ÍÀÌ ÀÖ´Ù¸é ¿Ã¸± ¼ö ¾øµµ·Ï ÇÔ +query = "SELECT * " +query = query & "FROM ¹®¼­³»¿ë AS a " +query = query & " INNER JOIN Document AS b on a.¹®¼­¹øÈ£ = b.d_no " +query = query & "WHERE a.¹®¼­Á¦¸ñ = 'ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­' " +query = query & " AND a.del_yes_no = 'no' " +If p_sub_type = "M" then + query = query & " AND a.p_sn = '" & p_sn & "' and p_child_sn like '" & p_sn & "_M%' " +else + query = query & " AND a.p_child_sn = '" & p_child_sn & "' " +end if +rsp.Open query, adoConn, 1 + +if rsp.RecordCount > 0 then + if rsp("d_order_cnt") = "77" then + alert4 "[°áÀçÀÚ : " & rsp("d_write_name") & "] ÀÌ¹Ì °áÀç ¿Ï·áµÇ¾ú½À´Ï´Ù." + else + alert4 "[°áÀçÀÚ : " & rsp("d_write_name") & "] ÀÌ¹Ì °áÀç ÁøÇàÁßÀÔ´Ï´Ù." + end if +end if +rsp.Close +'============================================================================ + +Dim research_count +research_count = 0 + +''' Response.Write p_sub_type & "
" + +'ÇÁ·ÎÁ§Æ® ±âº» Á¤º¸ °¡Á®¿À±â +If p_sub_type = "M" then + query = " SELECT p_sn, p_sn+'_M' as p_child_sn, PB.p_cli_company_cd as p_cli_company_cd, PB.p_cli_per_cd as p_cli_per_cd, " + query = query & " p_state, p_subject, p_cli_company_nm, CP.p_cli_depart as p_cli_depart, " + query = query & " p_cli_per_nm, p_cli_per_com_tel, p_cli_per_tel, p_cli_per_email, " + query = query & " PB.p_client_type_cd as p_client_type_cd, p_cont_cost, p_decide_date, " + query = query & " p_con_date_st, p_con_date_end, p_export_range, p_category, " + query = query & " p_memo, pb.p_depart_dep as p_depart_dep, PB.p_input_user " + query = query & " FROM " + query = query & " T_PROJECT_BASE PB INNER JOIN V_CLIENT_COMP CC ON PB.p_cli_company_cd = CC.p_cli_company_cd " + query = query & " INNER JOIN V_CLIENT_PERSON CP ON PB.p_cli_company_cd = CP.p_cli_company_cd AND PB.P_CLI_PER_CD = CP.P_CLI_PER_CD " + query = query & " INNER JOIN T_CLIENT_TYPE_CD CTC ON PB.p_client_type_cd = CTC.p_client_type_cd " + query = query & " WHERE p_sn = '"&p_sn& "' " +else + query = " SELECT PB.p_sn, PM.p_child_sn " + query = query & " , PB.p_cli_company_cd as p_cli_company_cd " + query = query & " , PB.p_cli_per_cd as p_cli_per_cd " + query = query & " , p_state " + query = query & " , PM.p_subject " + query = query & " , PM.p_rsch_dept " + query = query & " , p_cli_company_nm " + query = query & " , CP.p_cli_depart as p_cli_depart " + query = query & " , p_cli_per_nm " + query = query & " , p_cli_per_com_tel " + query = query & " , p_cli_per_tel " + query = query & " , p_cli_per_email " + query = query & " , PB.p_client_type_cd as p_client_type_cd " + query = query & " , PM.p_cont_cost " + query = query & " , PM.p_decide_date " + query = query & " , PM.p_con_date_st " + query = query & " , PM.p_con_date_end " + query = query & " , PM.p_export_range " + query = query & " , PM.p_category " + query = query & " , PB.p_memo " + query = query & " , pb.p_depart_dep as p_depart_dep " + query = query & " , PB.p_input_user " + query = query & " FROM T_PROJECT_BASE PB " + query = query & " left outer JOIN T_PROJECT_METHOD PM " + query = query & " ON PB.p_sn = PM.p_sn " + query = query & " AND PM.p_method_cd = " & Request("p_method_cd") & " " + query = query & " left outer JOIN V_CLIENT_COMP CC " + query = query & " ON PB.p_cli_company_cd = CC.p_cli_company_cd " + query = query & " left outer JOIN V_CLIENT_PERSON CP " + query = query & " ON PB.p_cli_company_cd = CP.p_cli_company_cd " + query = query & " AND PB.P_CLI_PER_CD = CP.P_CLI_PER_CD " + query = query & " left outer JOIN T_CLIENT_TYPE_CD CTC " + query = query & " ON PB.p_client_type_cd = CTC.p_client_type_cd " + query = query & " WHERE PB.p_sn = '" & p_sn & "' " + query = query & " AND PM.p_sub_type = 'C' " + query = query & " AND PM.p_child_sn = '"& Request("p_child_sn") &"' " +End if + +rsc.Open query, adoConn, 1 + +if rsc.RecordCount > 0 Then + p_sn = rsc("p_sn") + p_child_sn_tmp = rsc("p_child_sn") + p_cli_company_cd = rsc("p_cli_company_cd") + p_cli_per_cd = rsc("p_cli_per_cd") + + p_state = rsc("p_state") + p_subject = rsc("p_subject") + p_cli_company_nm = rsc("p_cli_company_nm") + p_cli_depart = rsc("p_cli_depart") + p_cli_per_nm = rsc("p_cli_per_nm") + p_cli_per_com_tel = rsc("p_cli_per_com_tel") + p_cli_per_tel = rsc("p_cli_per_tel") + p_cli_per_email = rsc("p_cli_per_email") + p_client_type_cd = rsc("p_client_type_cd") + p_depart_dep = rsc("p_depart_dep") + p_decide_date = rsc("p_decide_date") + p_con_date_st = rsc("p_con_date_st") + p_con_date_end = rsc("p_con_date_end") + p_export_range = rsc("p_export_range") + p_category = rsc("p_category") + p_memo = rsc("p_memo") + + rschname = rsc("p_rsch_dept") + + '¿¹»ó °è¾à¾× ,¼öÁ¤ + if rsc("p_cont_cost") <> "" Then + budget = rsc("p_cont_cost") + tmp_len = len(rsc("p_cont_cost")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + p_cont_cost = "," & p_cont_cost + end if + p_cont_cost = left(right(rsc("p_cont_cost"),i), 1) & p_cont_cost + next + Else + p_cont_cost = 0 + budget = 0 + end If + + Dim p_category_arr(19) + If p_category <> "" Then + temp_category_arr = Split(p_category, ",") + + If UBound(temp_category_arr)-1 > 0 Then + For i = 0 To UBound(temp_category_arr)-1 Step 1 + p_category_arr(temp_category_arr(i)-1) = temp_category_arr(i) + Next + Else + If UBound(temp_category_arr) = 1 Then + If Trim(temp_category_arr(0)) <> "" Then + p_category_arr(temp_category_arr(0)-1) = temp_category_arr(0) + End if + End if + End if + End If + +end If +rsc.close +%> + + + +<%=GNB_TITLE%> + + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + <%if x = "1" then %> + + + + <%end if%> + + + + + + + + + +
+ + +
+ + + + + + + + <% + query = "SELECT T_Name as d_name " + query = query & "FROM v_Department " + query = query & "WHERE before_t_cd1 = '" & p_depart_dep & "' " + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_teamname = rsp("d_name") + end if + rsp.Close + %> + + "> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ <%if cdate(formatdatetime(date,2)) > "2014-01-07" then + tmp_title = "´ëÇ¥ÀÌ»ç" + else + tmp_title = "ºÎȸÀå" + end if + + '### ¿Ï·áº¸°í¼­(x=2)ÀÏ ¶© °áÀ縦 ÇÏÁö ¾ÊÀ½ + if x = "1" then + %> + + + + + + + + + + + + + + + + + <% + 'my_pos = "3" + 'Response.Write "my_pos : " & my_pos & "
" + 'tmp_txt = "

" & Session("loginuser") & "
" & replace(date(), "-","") & "
" & FormatDateTime(time,4) + tmp_txt = Session("loginuser") & "
" & replace(date(), "-","") & "
" & Session("User_Number") + 'tmp_txt = "" + if my_pos = 5 then 'ÀÓ¿ø + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = "Àü°á" + tmp_txt4 = tmp_txt + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = month(now()) & " / " & day(now()) + tmp_txt10 = "/" + elseif my_pos = 3 or my_pos = 4 then 'ºÎ¼­Àå + tmp_txt1 = "Àü°á" + tmp_txt2 = "Àü°á" + tmp_txt3 = tmp_txt + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = "/" + tmp_txt7 = "/" + tmp_txt8 = month(now()) & " / " & day(now()) + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 2 then 'ÆÀÀå + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + elseif my_pos = 1 then 'ÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = " " + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + else '³ëÆÀ ÆÀ¿ø + tmp_txt1 = tmp_txt + tmp_txt2 = "Àü°á" + tmp_txt3 = " " + tmp_txt4 = " " + tmp_txt5 = " " + tmp_txt6 = month(now()) & " / " & day(now()) + tmp_txt7 = "/" + tmp_txt8 = "/" + tmp_txt9 = "/" + tmp_txt10 = "/" + end if + %> + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + +
±â¾È/½ÂÀÎ(¼Ò¼ÓºÎ¼­)°ËÅä/½ÂÀÎ(°ü¸®ºÎ¼­)
º»ÀÎÆÀÀåºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>´ã´çºÎ¼­ÀåÀÓ¿ø<%=tmp_title%>
<%=tmp_txt1%> <%=tmp_txt2%> <%=tmp_txt3%> <%=tmp_txt4%> <%=tmp_txt5%> 
<%=tmp_txt6%><%=tmp_txt7%><%=tmp_txt8%><%=tmp_txt9%><%=tmp_txt10%>////
+ <% + end if + %> +
+
ºÎ¼­¸í : <%=tmp_teamname%>ÀÛ¼ºÀÏÀÚ : <%=year(now()) & "³â " & month(now()) & "¿ù " & day(now()) & "ÀÏ "%>
ÇÁ·ÎÁ§Æ® ¹øÈ£ + <%=p_child_sn_tmp%>  + + + + + +
ÇÁ·ÎÁ§Æ® ¸í + <%=p_subject%> +
Ŭ¶óÀÌ¾ðÆ® È¸»ç + <%=p_cli_company_nm%> +
°è¾à ±â°£ + <%=p_con_date_st%> ~ <%=p_con_date_end%> +
°è¾à ÀÏÀÚ + <%=p_decide_date%> +
°è¾à¾× + <%=p_cont_cost%>¿ø (VAT º°µµ) +
ÀüüÁ÷Á¢ºñ(¿¬±¸+½Ç»ç) ¿¹»ê(ºñÀ²) + <% + q = " select sum(T.total_money) as total_money " + q = q + " from( " + q = q + " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'research' and del_yes_no = 'no' " + If p_sub_type = "C" Then + q = q + " and p_child_sn = '" & Request("p_child_sn") & "' " + Else + q = q + " and p_child_sn like '" & p_sn & "_M%' " + End if + q = q + " union all " + q = q + " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'field' and del_yes_no = 'no' " + If p_sub_type = "C" Then + q = q + " and p_child_sn = '" & Request("p_child_sn") & "' " + Else + q = q + " and p_child_sn like '" & p_sn & "_M%' " + End if + q = q + " ) as T " + + rsp.Open q, adoConn, 1 + + tmp_total_money = "" + tmp_total_rate = "" + + if rsp.RecordCount = 1 Then + if rsp("total_money") <> "" then + tmp_len = len(rsp("total_money")) + for i = 1 to int(tmp_len) + if i mod 3 = 1 and i <> 1 then + tmp_total_money = "," & tmp_total_money + end if + tmp_total_money = left(right(rsp("total_money"),i), 1) & tmp_total_money + Next + + tmp_total_rate = formatnumber((tmp_total_money / p_cont_cost) * 100, 2) + Else + tmp_total_money = "0" + tmp_total_rate = "0" + end If + %> + <%=tmp_total_money%>¿ø (VAT º°µµ), ºñÀ² : <%=tmp_total_rate%>% + + <% + end if + rsp.Close + %> +
¿ë¿ª¹üÀ§ + <% q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '011' " + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + for i = 1 to rsp.RecordCount + if p_export_range = rsp("c_common_code") then + %> + <%=rsp("c_code_name")%> + "> + <% + end if + rsp.MoveNext + next + end if + rsp.Close %> +
+ + + + + + + + + + + + + <% + 'Á¶»ç¹æ¹ý °¡Á®¿À±â + query = " SELECT PMC.p_method_cd, p_method_nm, p_sur_area, p_sur_target, p_sample, p_research_date_st, p_research_date_end, p_sur_part, p_field_process, p_child_sn " + query = query & " ,p_rsch_dept, p_field_dept, p_is_dept, p_supp_dept " + query = query & " ,p_rsch_1_a, p_rsch_2_a, p_rsch_3_a, p_rsch_4_a " + query = query & " ,p_rsch_1_b, p_rsch_2_b, p_rsch_3_b, p_rsch_4_b " + query = query & " ,p_rsch_1_c, p_rsch_2_c, p_rsch_3_c, p_rsch_4_c " + query = query & " ,p_sv_1, p_sv_2, p_sv_3, p_sv_4 " + query = query & " ,p_code_1, p_code_2, p_code_3, p_code_4 " + query = query & " ,p_verify_1, p_verify_2, p_verify_3, p_verify_4 " + query = query & " ,p_dp_1, p_dp_2, p_dp_3, p_dp_4 " + query = query & " ,p_it_1, p_it_2, p_it_3, p_it_4 " + query = query & " ,p_supp_1, p_supp_2, p_supp_3, p_supp_4 " + query = query & " ,p_rsch_date_st, p_rsch_date_end, p_field_date_st, p_field_date_end, p_code_date_st, p_code_date_end " + query = query & " ,p_verify_date_st, p_verify_date_end, p_dp_date_st, p_dp_date_end, p_it_date_st, p_it_date_end " + query = query & " ,p_premeet_date, p_premeet_time, p_premeet_place " + query = query & " ,p_ot_date, p_ot_time, p_ot_place, p_sur_memo, p_memo, p_progress_status " + query = query & " FROM T_PROJECT_METHOD PM INNER JOIN T_PROJECT_METHOD_CD PMC ON PM.p_method_cd = PMC.p_method_cd " + query = query & " WHERE p_method_yn = 'y' " + query = query & " AND p_sn = '" & p_sn & "'" + + If p_sub_type = "C" Then + query = query & " AND PM.p_sub_type = 'C' " + query = query & " AND PM.p_method_cd = '" & Request("p_method_cd") & "' " + query = query & " AND PM.p_child_sn = '" & Request("p_child_sn") & "' " + Else + query = query & " AND PM.p_sub_type = 'M' " + End If + + rsa.Open query, adoConn, 1 + + research_count = rsa.RecordCount + %> + + <% + Dim p_method_cd() + Dim p_child_sn() + + p_index = "" + Dim p_sur_area() + Dim p_sur_target() + Dim p_sample() + Dim p_research_date_st() + Dim p_research_date_end() + Dim p_sur_part() + Dim p_field_process() + Dim p_rsch_dept() + Dim p_field_dept() + Dim p_is_dept() + Dim p_supp_dept() + Dim p_rsch_1_a() + Dim p_rsch_2_a() + Dim p_rsch_3_a() + Dim p_rsch_4_a() + Dim p_rsch_1_b() + Dim p_rsch_2_b() + Dim p_rsch_3_b() + Dim p_rsch_4_b() + Dim p_rsch_1_c() + Dim p_rsch_2_c() + Dim p_rsch_3_c() + Dim p_rsch_4_c() + Dim p_sv_1() + Dim p_sv_2() + Dim p_sv_3() + Dim p_sv_4() + Dim p_code_1() + Dim p_code_2() + Dim p_code_3() + Dim p_code_4() + Dim p_verify_1() + Dim p_verify_2() + Dim p_verify_3() + Dim p_verify_4() + Dim p_dp_1() + Dim p_dp_2() + Dim p_dp_3() + Dim p_dp_4() + Dim p_it_1() + Dim p_it_2() + Dim p_it_3() + Dim p_it_4() + Dim p_supp_1() + Dim p_supp_2() + Dim p_supp_3() + Dim p_supp_4() + Dim p_rsch_date_st() + Dim p_rsch_date_end() + Dim p_field_date_st() + Dim p_field_date_end() + Dim p_code_date_st() + Dim p_code_date_end() + Dim p_verify_date_st() + Dim p_verify_date_end() + Dim p_dp_date_st() + Dim p_dp_date_end() + Dim p_it_date_st() + Dim p_it_date_end() + Dim p_premeet_date() + Dim p_premeet_time() + Dim p_premeet_place() + Dim p_ot_date() + Dim p_ot_time() + Dim p_ot_place() + Dim p_progress_status() + Dim p_sur_memo() + + ReDim p_method_cd(research_count, 2) + ReDim p_child_sn(research_count) + + ReDim p_sur_area(research_count) + ReDim p_sur_target(research_count) + ReDim p_sample(research_count) + ReDim p_research_date_st(research_count) + ReDim p_research_date_end(research_count) + ReDim p_sur_part(research_count) + ReDim p_field_process(research_count) + ReDim p_rsch_dept(research_count) + ReDim p_field_dept(research_count) + ReDim p_is_dept(research_count) + ReDim p_supp_dept(research_count) + ReDim p_rsch_1_a(research_count) + ReDim p_rsch_2_a(research_count) + ReDim p_rsch_3_a(research_count) + ReDim p_rsch_4_a(research_count) + ReDim p_rsch_1_b(research_count) + ReDim p_rsch_2_b(research_count) + ReDim p_rsch_3_b(research_count) + ReDim p_rsch_4_b(research_count) + ReDim p_rsch_1_c(research_count) + ReDim p_rsch_2_c(research_count) + ReDim p_rsch_3_c(research_count) + ReDim p_rsch_4_c(research_count) + ReDim p_sv_1(research_count) + ReDim p_sv_2(research_count) + ReDim p_sv_3(research_count) + ReDim p_sv_4(research_count) + ReDim p_code_1(research_count) + ReDim p_code_2(research_count) + ReDim p_code_3(research_count) + ReDim p_code_4(research_count) + ReDim p_verify_1(research_count) + ReDim p_verify_2(research_count) + ReDim p_verify_3(research_count) + ReDim p_verify_4(research_count) + ReDim p_dp_1(research_count) + ReDim p_dp_2(research_count) + ReDim p_dp_3(research_count) + ReDim p_dp_4(research_count) + ReDim p_it_1(research_count) + ReDim p_it_2(research_count) + ReDim p_it_3(research_count) + ReDim p_it_4(research_count) + ReDim p_supp_1(research_count) + ReDim p_supp_2(research_count) + ReDim p_supp_3(research_count) + ReDim p_supp_4(research_count) + ReDim p_rsch_date_st(research_count) + ReDim p_rsch_date_end(research_count) + ReDim p_field_date_st(research_count) + ReDim p_field_date_end(research_count) + ReDim p_code_date_st(research_count) + ReDim p_code_date_end(research_count) + ReDim p_verify_date_st(research_count) + ReDim p_verify_date_end(research_count) + ReDim p_dp_date_st(research_count) + ReDim p_dp_date_end(research_count) + ReDim p_it_date_st(research_count) + ReDim p_it_date_end(research_count) + ReDim p_premeet_date(research_count) + ReDim p_premeet_time(research_count) + ReDim p_premeet_place(research_count) + ReDim p_ot_date(research_count) + ReDim p_ot_time(research_count) + ReDim p_ot_place(research_count) + ReDim p_progress_status(research_count) + ReDim p_sur_memo(research_count) + + if research_count > 0 then + for i = 1 to research_count + 'p_sub_type + 'p_child_sn + + p_method_cd(i, 1) = rsa("p_method_cd") + p_method_cd(i, 2) = rsa("p_method_nm") + + p_child_sn(i) = rsa("p_child_sn") + + p_sur_area(i) = rsa("p_sur_area") + p_sur_target(i) = rsa("p_sur_target") + p_sample(i) = rsa("p_sample") + p_research_date_st(i) = rsa("p_research_date_st") + p_research_date_end(i) = rsa("p_research_date_end") + p_sur_part(i) = rsa("p_sur_part") + p_field_process(i) = rsa("p_field_process") + p_rsch_dept(i) = rsa("p_rsch_dept") + p_field_dept(i) = rsa("p_field_dept") + p_is_dept(i) = rsa("p_is_dept") + p_supp_dept(i) = rsa("p_supp_dept") + p_rsch_1_a(i) = rsa("p_rsch_1_a") + p_rsch_2_a(i) = rsa("p_rsch_2_a") + p_rsch_3_a(i) = rsa("p_rsch_3_a") + p_rsch_4_a(i) = rsa("p_rsch_4_a") + p_rsch_1_b(i) = rsa("p_rsch_1_b") + p_rsch_2_b(i) = rsa("p_rsch_2_b") + p_rsch_3_b(i) = rsa("p_rsch_3_b") + p_rsch_4_b(i) = rsa("p_rsch_4_b") + p_rsch_1_c(i) = rsa("p_rsch_1_c") + p_rsch_2_c(i) = rsa("p_rsch_2_c") + p_rsch_3_c(i) = rsa("p_rsch_3_c") + p_rsch_4_c(i) = rsa("p_rsch_4_c") + p_sv_1(i) = rsa("p_sv_1") + p_sv_2(i) = rsa("p_sv_2") + p_sv_3(i) = rsa("p_sv_3") + p_sv_4(i) = rsa("p_sv_4") + p_code_1(i) = rsa("p_code_1") + p_code_2(i) = rsa("p_code_2") + p_code_3(i) = rsa("p_code_3") + p_code_4(i) = rsa("p_code_4") + p_verify_1(i) = rsa("p_verify_1") + p_verify_2(i) = rsa("p_verify_2") + p_verify_3(i) = rsa("p_verify_3") + p_verify_4(i) = rsa("p_verify_4") + p_dp_1(i) = rsa("p_dp_1") + p_dp_2(i) = rsa("p_dp_2") + p_dp_3(i) = rsa("p_dp_3") + p_dp_4(i) = rsa("p_dp_4") + p_it_1(i) = rsa("p_it_1") + p_it_2(i) = rsa("p_it_2") + p_it_3(i) = rsa("p_it_3") + p_it_4(i) = rsa("p_it_4") + p_supp_1(i) = rsa("p_supp_1") + p_supp_2(i) = rsa("p_supp_2") + p_supp_3(i) = rsa("p_supp_3") + p_supp_4(i) = rsa("p_supp_4") + p_rsch_date_st(i) = rsa("p_rsch_date_st") + p_rsch_date_end(i) = rsa("p_rsch_date_end") + p_field_date_st(i) = rsa("p_field_date_st") + p_field_date_end(i) = rsa("p_field_date_end") + p_code_date_st(i) = rsa("p_code_date_st") + p_code_date_end(i) = rsa("p_code_date_end") + p_verify_date_st(i) = rsa("p_verify_date_st") + p_verify_date_end(i) = rsa("p_verify_date_end") + p_dp_date_st(i) = rsa("p_dp_date_st") + p_dp_date_end(i) = rsa("p_dp_date_end") + p_it_date_st(i) = rsa("p_it_date_st") + p_it_date_end(i) = rsa("p_it_date_end") + p_premeet_date(i) = rsa("p_premeet_date") + p_premeet_time(i) = rsa("p_premeet_time") + p_premeet_place(i) = rsa("p_premeet_place") + p_ot_date(i) = rsa("p_ot_date") + p_ot_time(i) = rsa("p_ot_time") + p_ot_place(i) = rsa("p_ot_place") + p_sur_memo(i) = rsa("p_sur_memo") + + If rsa("p_progress_status") <> "" Then + p_progress_status(i) = rsa("p_progress_status") + Else + p_progress_status(i) = "001" + End if + + %> + + + + + + + + + + + <% + rsa.MoveNext + next + end if + rsa.Close + %> + +
Á¶»ç¹æ¹ýÁ¶»çÁö¿ªÁ¶»ç´ë»óÇ¥º»¼öÁ¶»ç±â°£Á¶»çºÐ·ù½Ç»ç¼öÇà
+ <%=rsa("p_method_nm")%> + + + + + <% + q = " select sum(convert(money, est_money)) as total_money from direct_cost " + q = q + " where p_sn like '" & p_sn & "' and cost_type = 'field' and del_yes_no = 'no' and p_child_sn = '" & p_child_sn(i) & "' " + + rsp.Open q, adoConn, 1 + + tmp_total_money = "" + + if rsp.RecordCount = 1 Then + if rsp("total_money") <> "" then + tmp_len = len(rsp("total_money")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_total_money = "," & tmp_total_money + end if + tmp_total_money = left(right(rsp("total_money"),j), 1) & tmp_total_money + Next + Else + tmp_total_money = "0" + end If + %> + <%=tmp_total_money%>¿ø + <% + end if + rsp.Close + %> + + <% q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '012' " + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + for j = 1 to rsp.RecordCount + if p_sur_area(i) = rsp("c_common_code") then + %> + <%=rsp("c_code_name")%> + <% + end if + rsp.MoveNext + next + end if + rsp.Close %> + + <% q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '013' " + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + for j = 1 to rsp.RecordCount + if p_sur_target(i) = rsp("c_common_code") then + %> + <%=rsp("c_code_name")%> + <% + end If + rsp.MoveNext + next + end if + rsp.Close %> + + <% + tmp_sample_cnt = "" + if p_sample(i) <> "" then + tmp_len = len(p_sample(i)) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + tmp_sample_cnt = "," & tmp_sample_cnt + end if + tmp_sample_cnt = left(right(p_sample(i),j), 1) & tmp_sample_cnt + Next + Else + tmp_sample_cnt = "0" + end If + %> + <%=tmp_sample_cnt%> + + <%=p_research_date_st(i)%> ~ <%=p_research_date_end(i)%> + + <% q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '014' " + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + for j = 1 to rsp.RecordCount + if p_sur_part(i) = rsp("c_common_code") then + %> + <%=rsp("c_code_name")%> + <% + end If + rsp.MoveNext + next + end if + rsp.Close %> + + <% q = "SELECT c_kind_code, c_common_code, c_code_name FROM T_COMMON_CODE_DETAIL WHERE c_kind_code = '015' " + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + for j = 1 to rsp.RecordCount + if p_field_process(i) = rsp("c_common_code") then + %> + <%=rsp("c_code_name")%> + <% + end if + rsp.MoveNext + next + end if + rsp.Close %> +
+
ºñ°í + +
+
+
+ +
+ + + + + \ No newline at end of file diff --git a/project/project_report_ok_2014.asp b/project/project_report_ok_2014.asp new file mode 100644 index 0000000..ebc3ef1 --- /dev/null +++ b/project/project_report_ok_2014.asp @@ -0,0 +1,224 @@ + +<% +dim doc_type : doc_type = "project_report" +'''ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­ °áÀç »ó½Å +''¹«Á¶°Ç ÀÓ¿ø±îÁö °áÀç(2013-03¿ù) +set rsp = server.CreateObject("ADODB.RECORDSET") +set rsm = server.CreateObject("ADODB.RECORDSET") + +p_sn = request("p_sn") +x = request("x") +l = request("l") +p_memo_etc = request("p_memo_etc") +tmp_txt1 = request("tmp_txt1") +tmp_txt2 = request("tmp_txt2") +tmp_txt3 = request("tmp_txt3") +tmp_txt4 = request("tmp_txt4") +tmp_txt5 = request("tmp_txt5") +tmp_txt6 = request("tmp_txt6") +tmp_txt7 = request("tmp_txt7") +tmp_txt8 = request("tmp_txt8") +tmp_txt9 = request("tmp_txt9") +tmp_txt10 = request("tmp_txt10") +depart = request("depart") +writedate = request("writedate") + +subject = request("subject") +client = request("client") +cliname = request("cliname") +budget = request("budget") +vat = request("vat") +esticost = request("esticost") +esticostprop = request("esticostprop") + +rschname = request("rschname") +sv = request("sv") +dp = request("dp") +extract = request("extract") +intention = request("intention") +surveycnt = request("surveycnt") +method = request("method") +sample = request("sample") +contactor = request("contactor") +cliclass = request("cliclass") + +target = request("target") +area = request("area") + +convdate = request("convdate") +convterm = request("convterm") +report = request("report") +premeet = request("premeet") +ot = request("ot") +fielddate = request("fielddate") +punchdate = request("punchdate") +dpdate = request("dpdate") + +p_export_range = request("p_export_range") + +p_sub_type = request("p_sub_type") + +if x = "2" then + realcost = request("realcost") + realcostprop = request("realcostprop") + + convterm2 = request("convterm2") + report2 = request("report2") + premeet2 = request("premeet2") + ot2 = request("ot2") + fielddate2 = request("fielddate2") + punchdate2 = request("punchdate2") + dpdate2 = request("dpdate2") +end if + +'-------------------------------------------------------------------- +'¹®¼­¹øÈ£ ¸¸µé±â +query = "SELECT * " +query = query & "FROM Document " +query = query & "WHERE d_no LIKE 'KRC-" & year(date()) & "-V-%' " +query = query & "ORDER BY d_sn DESC " +'Response.Write query & "
" +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + tmp_cnt = right("0000" & int(right(rsc("d_no"), 5)) + 1, 5) +else + tmp_cnt = "00001" +end if +rsc.Close + +tmp_document_cnt = "KRC-" & year(date()) & "-V-" & tmp_cnt +'Response.Write tmp_document_cnt & "
" +'-------------------------------------------------------------------- +esticostprop = Replace(esticostprop, "," ,"") +%> + + + +<% +'==================================================================== +'Document table¿¡ »ðÀÔ +query = "INSERT INTO Document " +query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, " +query = query & " d_order_cnt, d_orders," +query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, " +query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, " +query = query & " d_view, d_delok) " +query = query & "VALUES " +query = query & " ('" & tmp_document_cnt & "', 'ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­', '" & Session("loginuser") & "', '" & date() & "', '2', '" & d_type & "', " +query = query & " '" & d_order_cnt & "', '" & d_orders & "', " +query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', " +query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', " +query = query & " 'Y', 'N') " + +set dbin = server.CreateObject("ADODB.CONNECTION") +dbin.Open adoConn +dbin.Execute query +dbin.Close +'==================================================================== + +'==================================================================== +'¹®¼­³»¿ë table ³»¿ë ¸¸µé±â +target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 & "^^ ^^" +target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 & "^^ ^^" + +if x = "1" then + target1 = "Project °è¾àº¸°í¼­" + realcost = " " + realcostprop= " " + + tmp_p_child_sn = "" + If p_sub_type = "C" Then + tmp_p_child_sn = request("p_child_sn1") + Else + tmp_p_child_sn = p_sn & "_M01" + End if +elseif x = "2" then + target1 = "Project ¿Ï·áº¸°í¼­" +end if +target2 = depart & "^^" & writedate & "^^" & subject & "^^" & client & "^^" & cliname +target3 = budget & "^^" & vat & "^^" & esticost & "^^" & esticostprop & "^^" & realcost & "^^" & realcostprop +target4 = rschname & "^^" & sv & "^^" & dp & "^^" & extract & "^^" & intention & "^^" & surveycnt & "^^" & method & "^^" & sample +target5 = contactor & "^^" & cliclass & "^^" & target & "^^" & area +target6 = convdate & "^^" & convterm & "^^" & report & "^^" & premeet & "^^" & ot & "^^" & fielddate & "^^" & punchdate & "^^" & dpdate +target7 = convdate & "^^" & convterm2 & "^^" & report2 & "^^" & premeet2 & "^^" & ot2 & "^^" & fielddate2 & "^^" & punchdate2 & "^^" & dpdate2 +'-------------------------------------------------------------------- +'¹®¼­³»¿ë table¿¡ »ðÀÔ +query = "INSERT INTO ¹®¼­³»¿ë " +query = query & " (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, login_p_no, login_À̸§, login_ip, del_yes_no, " +query = query & " target1, target2, target3, target4, target5, target6, target7, target10, target99, target100, p_sn, p_child_sn) " +query = query & "VALUES " +query = query & " ('" & tmp_document_cnt & "', 'ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­', '" & date() & "', '" & time() & "', '" & Session("User_Number") & "', '" & Session("loginuser") & "', '" & Request.ServerVariables("REMOTE_ADDR") & "', 'no', " +query = query & " '" & target1 & "', '" & target2 & "', '" & target3 & "', '" & target4 & "', '" & target5 & "', '" & target6 & "', '" & target7 & "', '" & p_memo_etc & "', '" & target99 & "', '" & target100 & "', '" & p_sn & "', '" & tmp_p_child_sn & "') " + +dbin.Open adoConn +dbin.Execute query +dbin.Close + +query = "UPDATE [project2].[dbo].[T_PROJECT_METHOD] " +query = query & "SET p_progress_status = '007' " +query = query & "WHERE p_sn = '" & p_sn & "' " +query = query & "and p_sub_type = '" & p_sub_type & "' " + +If p_sub_type = "C" Then + query = query & " and p_child_sn = '" & tmp_p_child_sn & "' " +End if +adoconn.Execute query +'==================================================================== +'°áÀç ÃÖÁ¾¿Ï·á + If d_order_cnt = "77" Then + query = "UPDATE [project2].[dbo].[T_PROJECT_METHOD] " + query = query & "SET p_progress_status = '008' " + query = query & "WHERE p_sn = '" & p_sn & "' " + query = query & "and p_sub_type = '" & p_sub_type & "' " + If request("p_sub_type") = "C" Then + query = query & " and p_child_sn = '" & tmp_p_child_sn & "' " + End if + + adoconn.Execute query + ' response.write "query : " & query & "
" + + query = "UPDATE [project2].[dbo].[T_PROJECT_BASE] " + query = query & "SET p_state = 'P' " + query = query & "WHERE p_sn = '" & p_sn & "' " + + adoconn.Execute query + ' response.write "query : " & query & "
" + + query = "insert into ¹®¼­³»¿ë_log (¹®¼­¹øÈ£, ¹®¼­Á¦¸ñ, ´ë»óÀÚ_p_no, ´ë»óÀÚ_À̸§, ³»¿ë," + query = query & " ¹ß±ÞÀÏ, ¹ß±Þ½Ã°¢, ¹ß±ÞÀÚ_p_no, ¹ß±ÞÀÚ_À̸§, ¹ß±ÞÀÚ_ip) values ( " + query = query & "'" & tmp_document_cnt & "', " + query = query & "'ÇÁ·ÎÁ§Æ®¼öÇà°èȹ¼­', " + query = query & "'" & Session("User_Number") & "', " + query = query & "'" & Session("loginuser") & "', " + query = query & "'¹®¼­°áÀç', " + query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', " + query = query & "'" & time() & "', " + query = query & "'', '', " + query = query & "'" & Session("USERIP") & "')" + + adoconn.execute query + + End if +%> + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/project/project_search.asp b/project/project_search.asp new file mode 100644 index 0000000..11d83c7 --- /dev/null +++ b/project/project_search.asp @@ -0,0 +1,1204 @@ + +<% + + dim command + command = request("command") + if command <> "excel" then + %> + + <% + end if + %> + + + <% + set rsf = server.CreateObject("ADODB.RECORDSET") + + dim tmp_depart '¿¬±¸ºÎ¼­ list¹è¿­ + dim method() 'Á¶»ç¹æ¹ý + dim Sample_range(6,3) '»ùÇüö + dim field_rank(3,2) '½Ç»ç ³­À̵µ + dim category 'Ä«Å×°í¸® + dim types '¾÷Á¾ + Dim tmp_area_part(5) + Dim tmp_survey_part(2) + Dim tmp_survey_times(10) + Dim tmp_field_process(3) + + 'page config + tmp_colspan = 5 + + + p_depart = request("p_depart") + p_method = request("p_method") + p_sample_real = request("p_sample_real") + p_field_rank = request("p_field_rank") + p_cli_company = request("p_cli_company") + p_cli_code = request("p_cli_code") + p_category = request("p_category") + p_reg_date_st = request("p_reg_date_st") + p_reg_date_ed = request("p_reg_date_ed") + p_subject = request("p_subject") + p_intention = request("p_intention") + p_types1 = request("p_types1") + p_types2 = request("p_types2") + p_types3 = request("p_types3") + p_target_part = request("p_target_part") + p_area_part = request("p_area_part") + p_survey_part = request("p_survey_part") + p_survey_times = request("p_survey_times") + p_field_process = request("p_field_process") + + + today = request("today") + toyear = request("toyear") + + s = request("s") 'ã±â¿É¼Ç + + +' Response.Write "s : " & s & "
" +' Response.Write "command : " & command & "
" +'///============================================== +''¿¢¼¿Çü½ÄÀ¸·Î ÀÚµ¿À¸·Î ÀúÀå + if command = "excel" then +' Response.Buffer = false + Response.Expires=0' + Response.AddHeader "Content-Disposition","attachment;filename=ÇÁ·ÎÁ§Æ®°Ë»ö¸®½ºÆ®_2009³âºÎÅÍ.xls" + Response.ContentType = "application/vnd.ms-excel" + Response.CacheControl = "public" + end if + + if request("p_types1") <> "" then + p_types1 = request("p_types1") + else + p_types1 = "0" + end if + + if request("p_types2") <> "" then + p_types2 = request("p_types2") + else + p_types2 = "0" + end if + + if request("p_types3") <> "" then + p_types3 = request("p_types3") + else + p_types3 = "0" + end if + + y = request("y") + + if y = "1" then + p_types2 = "0" + p_types3 = "0" + elseif y = "2" then + p_types3 = "0" + end if + + 'Response.Write today & "
" + '------------------------------------------------------ + '¿¬±¸ºÎ¼­ list¸ñ·Ï + q = "SELECT max(d_mcode) as max_code " + q = q & "FROM Depart " + rsc.Open q, adoConn, 1 + tmp_max = rsc("max_code") + rsc.Close + + query = "SELECT * " + query = query & "FROM Depart " + query = query & "WHERE d_mcode >= '0' " + query = query & "ORDER BY d_mcode ASC " + + rsc.open query, adoConn, 1 + redim tmp_depart(int(tmp_max),2) + for i = 1 to int(rsc.RecordCount) + tmp_depart(int(rsc("d_mcode")),1) = rsc("d_mcode") + tmp_depart(int(rsc("d_mcode")),2) = rsc("d_mname_shot") + rsc.MoveNext + next + rsc.close + + tmp_area_part(1) = "¼­¿ï" + tmp_area_part(2) = "¼öµµ±Ç" + tmp_area_part(3) = "±¤¿ª½Ã" + tmp_area_part(4) = "Àü±¹" + tmp_area_part(5) = "±âŸ" + + tmp_survey_part(1) = "¸®½ºÆ®" + tmp_survey_part(2) = "ºñ¸®½ºÆ®" + + tmp_survey_times(1) = "10ºÐ" + tmp_survey_times(2) = "20ºÐ" + tmp_survey_times(3) = "30ºÐ" + tmp_survey_times(4) = "40ºÐ" + tmp_survey_times(5) = "50ºÐ" + tmp_survey_times(6) = "1½Ã°£" + tmp_survey_times(7) = "1½Ã°£ 30ºÐ" + tmp_survey_times(8) = "2½Ã°£" + tmp_survey_times(9) = "2½Ã°£ 30ºÐ" + tmp_survey_times(10)= "3½Ã°£" + + tmp_field_process(1) = "ÀÚü" + tmp_field_process(2) = "¿ÜÁÖ" + tmp_field_process(3) = "ÀÚü&¿ÜÁÖ" + '------------------------------------------------------ + 'Á¶»ç¹æ¹ý + query = "select * from p_Method order by code1 " + rsc.Open query, adoConn, 1 + i = rsc.RecordCount + redim method(i,2) + i=0 + method(0,0) = request("p_method") '¼±ÅÃµÈ Á¶»ç¹æ¹ý + method(0,1) = "0" + method(0,2) = "Àü ü" + do while not rsc.EOF + i = i + 1 + method(i,1) = rsc("code1") + method(i,2) = rsc("name1") + rsc.MoveNext + loop + rsc.Close + '------------------------------------------------------ + ''»ùÇüöÀÇ ¹üÀ§ + Sample_range(0,0) = request("p_sample_real") + Sample_range(0,1) = "0" + Sample_range(0,2) = " Àü ü " + Sample_range(1,1) = "1" + Sample_range(1,2) = "         ~  500" + Sample_range(1,3) = "500" + Sample_range(2,1) = "2" + Sample_range(2,2) = "   501 ~ 1,000" + Sample_range(2,3) = "1,000" + Sample_range(3,1) = "3" + Sample_range(3,2) = "1,001 ~ 1,500" + Sample_range(3,3) = "1,500" + Sample_range(4,1) = "4" + Sample_range(4,2) = "1,501 ~ 2,000" + Sample_range(4,3) = "2,000" + Sample_range(5,1) = "5" + Sample_range(5,2) = "2,001 ~ 2,500" + Sample_range(5,3) = "2,500" + Sample_range(6,1) = "6" + Sample_range(6,2) = "2,501 ~ " + Sample_range(6,3) = "2,501" + '------------------------------------------------------ + '½Ç»ç ³­À̵µº° + field_rank(0,0) = request("p_field_rank") + field_rank(0,1) = "0" + field_rank(0,2) = "Àü ü" + field_rank(1,1) = "ÇÏ" + field_rank(1,2) = "ÇÏ" + field_rank(2,1) = "Áß" + field_rank(2,2) = "Áß" + field_rank(3,1) = "»ó" + field_rank(3,2) = "»ó" + '------------------------------------------------------ + 'category list + query = "SELECT * " + query = query & "FROM p_category " + query = query & "ORDER BY sort_key " + rsc.Open query, adoConn, 1 + redim category(int(rsc.RecordCount), 2) + for i = 1 to rsc.RecordCount + category(i,1) = rsc("code1") + category(i,2) = rsc("name1") + rsc.MoveNext + next + rsc.Close + '------------------------------------------------------ + + '====================================================== + '°Ë»ö query ¸¸µé±â + if s = "1" then 'ã±â ·ÎÁ÷À» ÅÀÀ» °æ¿ì + '====================================================== + query = "SELECT * " + query = query & "FROM project " + query = query & "WHERE p_sn <> '' " + 'ºÎ¼­-------------------------------------------------- + if p_depart <> "" then + query = query & " AND p_depart = '" & p_depart & "' " + end if + 'Á¶»ç¹æ¹ý---------------------------------------------- + if p_method <> "0" then + query = query & " AND p_method = '" & p_method & "' " + end if + p_sample = p_sample_real + if p_sample_real <> "0" then + if cint(Sample_range(0,0)) = 1 then + query = query & " AND (p_sample <= '" & replace(Sample_range(cint(Sample_range(0,0)),3),",","") & "') " + elseif cint(Sample_range(0,0)) = 6 then '2501ÀÌ»ó + query = query & " AND (p_sample >= '" & replace(Sample_range(cint(Sample_range(0,0)),3),",","") & "') " + else + query = query & " AND (p_sample > '" & replace(Sample_range(cint(Sample_range(0,0))-1,3),",","") & "' AND p_sample <= '" & replace(Sample_range(cint(Sample_range(0,0)),3),",","") & "')" + end if + end if + '½Ç»ç³­À̵µ-------------------------------------------- + if p_field_rank <> "0" then + query = query & " AND p_field_rank = '" & p_field_rank & "' " + end if + 'Ŭ¶óÀÌ¾ðÆ®¸í------------------------------------------ + if p_cli_code <> "" then + query = query & " AND p_cli_company = '" & p_cli_code & "' " + end if + 'Ä«Å×°í¸®---------------------------------------------- + if p_category <> "" then + query = query & " AND (p_category = '" & p_category & "' " + query = query & " OR p_category2 = '" & p_category & "' " + query = query & " OR p_category3 = '" & p_category & "') " + end if + 'µî·Ï±â°£---------------------------------------------- + if p_reg_date_st <> "" AND p_reg_date_ed <> "" then + '½ÃÀÛ ¹× ³¡³ª´Â ³¯Â¥ ±¸Çϱâ + if cint(right(p_reg_date_ed,2)) > 11 then + edate = cstr(cint(left(p_reg_date_ed,4)) + 1) & "-01-01" + else + if cint(right(p_reg_date_ed,2)) > 8 then + edate = cstr(left(p_reg_date_ed,4)) & "-" & cstr(cint(right(p_reg_date_ed,2)) + 1) & "-01" + else + edate = cstr(left(p_reg_date_ed,4)) & "-0" & cstr(cint(right(p_reg_date_ed,2)) + 1) & "-01" + end if + end if + sdate = p_reg_date_st & "-01" + edate = cdate(edate) - 1 + + query = query & " AND p_reg_date Between '" & sdate & "' AND '" & edate & "' " + end if + '------------------------------------------------------ + if p_subject <> "" then + query = query & " AND p_subject LIKE '%" & p_subject & "%' " + end if + '------------------------------------------------------ + if p_intention <> "" then + query = query & " AND p_intention LIKE '%" & p_intention & "%' " + end if + '------------------------------------------------------ + if p_types1 <> "0" then + query = query & "AND (" + + query = query & " p_types1 = '" & p_types1 & "' " + + if p_types2 <> "0" then + + query = query & " AND p_types2 = '" & p_types2 & "' " + + end if + + if p_types3 <> "0" then + + query = query & " AND p_types3 = '" & p_types3 & "' " + + end if + + query = query & ") " + end if + '------------------------------------------------------ + if p_target_part <> "0" then + query = query & "AND (p_target_part = '" & p_target_part & "') " + end if + '------------------------------------------------------ + if p_area_part <> "0" then + query = query & "AND (p_area_part = '" & p_area_part & "') " + end if + '------------------------------------------------------ + if p_survey_part <> "0" then + query = query & "AND (p_survey_part = '" & p_survey_part & "') " + end if + '------------------------------------------------------ + if p_survey_times <> "0" then + query = query & "AND (p_survey_times = '" & p_survey_times & "') " + end if + '------------------------------------------------------ + if p_field_process <> "0" then + query = query & "AND (p_field_process = '" & p_field_process & "') " + end if + '------------------------------------------------------ + query = query & "ORDER BY p_subject, p_reg_date DESC, p_sn DESC " + '------------------------------------------------------ + tmp_search_query = query + end if'if s = "1" then +'====================================================== +%> + + + + + + + + <% + if command = "excel" then + else + %> + + + + + + +
+ + + + + + + +
+ + °Ë»öÀ» ¿øÇϽô ÇÁ·ÎÁ§Æ® Á¶°ÇÀ» ¼³Á¤ÇϽðí, ã±â ¹öưÀ» Ŭ¸¯ÇØ ÁÖ¼¼¿ä. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ºÎ¼­ + + Á¶»ç¹æ¹ý + +
»ùÇüöº° + + ½Ç»ç ³­À̵µº° + +
Ŭ¶óÀÌ¾ðÆ®¸í + + + + Ä«Å×°í¸® + +
µî·Ï±â°£ + " onClick="search('/lib/cal2.asp?x=1','DateSearch','left=500,top=100,width=400,height=200,scrollbars=yes')" style="cursor:pointer"> - + " onClick="search('/lib/cal2.asp?x=2','DateSearch','left=500,top=100,width=400,height=200,scrollbars=yes')" style="cursor:pointer"> + checked <% end if %>>ÇöÀç´Þ + checked <% end if %>>ÇöÀç³âµµ + +
ÇÁ·ÎÁ§Æ® À̸§ + +
ÇÁ·ÎÁ§Æ® ³»¿ë + +
¾÷Á¾ + + <% + if p_types1 <> "" then + %> +     + + <% + if p_types2 <> "" and p_types2 <> "0" then + %> +     + + <% + end if 'if p_types2 <> "" then + %> + <% + end if 'if p_types1 <> "" then + %> +
Á¶»ç´ë»ó + + Á¶»çÁö¿ª + +
Á¶»çºÐ·ù + + ¸éÁ¢ ¼Ò¿ä½Ã°£ + +
½Ç»ç¼öÇà + +
+ + + +
+ + <% + end if + %> + + <% if request("s") = 1 then %> + + + + + <%if command <> "excel" then%> + + + + <%end if%> +
+
+ + + + + + + + + <%if command="excel" then%> + + + + + + + + + + + + + + + + + + + + <%end if%> + + + + + + + + + + + + + + + <% + 'Response.Write query & "
" + rsc.Open tmp_search_query, adoConn, 1 + if rsc.RecordCount > 0 then + for i = 1 to rsc.RecordCount + + if i mod 2 = 0 then + tmp_bgcolor = "#dbe9f2" + else + tmp_bgcolor = "#ffffff" + end if + %> + + + + + + <% + p_method = "¸ô¶ó" 'Á¶»ç¹æ¹ý + for j = 0 to int(ubound(method)) + if trim(method(j,1)) = trim(rsc("p_method")) then + p_method = method(j,2) + exit for + end if + next%> + + <% + if isnull(rsc("p_sample")) then ' + tmpstr = "0" + else + tmpstr = rsc("p_sample") + end if%> + + + <% + if command = "excel" then + query = "SELECT * FROM Depart WHERE d_code='" & rsc("p_depart_dep") & "' " + 'Response.Write "query : " & query & "
" + rs.Open query, adoConn, 1 + if rs.RecordCount > 0 then + tmp_depart_dep = rs("d_mname_shot") + end if + rs.Close + %> + + + + <% + tmpstr=" "'"Ŭ¶óÀÌ¾ðÆ® ¸í" + query = "SELECT * " + query = query & "FROM [Client] " + query = query & "WHERE c_code='" & rsc("p_cli_company") & "' " + + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("c_name") + end if + rsf.Close + %> + + <% + tmpstr=" "'"'Ŭ¶óÀÌ¾ðÆ® Å¸ÀÔ" + if not isnull(rsc("p_cli_type")) then + if trim(rsc("p_cli_type")) <> "" then + query = "select * from client_type where c_type_code = " & cint(rsc("p_cli_type")) + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("c_type_name") + end if + rsf.Close + end if + end if + %> + + <% + tmpstr=" "'Ä«Å×°í¸®" + if rsc("p_category") <> "" then + query = "SELECT * FROM p_category " + query = query & "WHERE code1='" & rsc("p_category") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("name1") + end if + rsf.Close + end if + %> + + <% + tmpstr=" "'¾÷Á¾" + if rsc("p_types1") <> "" then + query = "SELECT * FROM p_types " + query = query & "WHERE t_code1='" & rsc("p_types1") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("t_name") + end if + rsf.Close + end if + %> + + <% + tmpstr=" "'¾÷Á¾" + if rsc("p_types2") <> "" then + query = "SELECT * FROM p_types " + query = query & "WHERE t_code2='" & rsc("p_types2") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("t_name") + end if + rsf.Close + end if + %> + + <% + tmpstr=" "'¾÷Á¾" + if rsc("p_types3") <> "" then + query = "SELECT * FROM p_types " + query = query & "WHERE t_code3='" & rsc("p_types3") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("t_name") + end if + rsf.Close + end if + %> + + + + + + + + <% + tmpstr =" "'¿¬±¸¿ø 1" + if rsc("p_rsch_1") <> "" then + query = "SELECT * " + query = query & "FROM Person " + query = query & "WHERE p_no='" & rsc("p_rsch_1") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("p_name") + end if + rsf.close + end if + %> + + <% + tmpstr =" "'¿¬±¸¿ø 2" + if rsc("p_rsch_2") <> "" then + query = "SELECT * " + query = query & "FROM Person " + query = query & "WHERE p_no='" & rsc("p_rsch_2") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("p_name") + end if + rsf.close + end if + %> + + <% + tmpstr =" "'¿¬±¸¿ø 3" + if rsc("p_rsch_3") <> "" then + query = "SELECT * " + query = query & "FROM Person " + query = query & "WHERE p_no='" & rsc("p_rsch_3") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("p_name") + end if + rsf.close + end if + %> + + <% + tmpstr =" "'¿¬±¸¿ø 4" + if trim(rsc("p_rsch_4")) <> "" then + query = "SELECT * " + query = query & "FROM Person " + query = query & "WHERE p_no='" & rsc("p_rsch_4") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("p_name") + end if + rsf.close + end if + %> + + <% + tmpstr = " "'´ã´ç SV" + query = "SELECT * " + query = query & "FROM Person " + query = query & "WHERE p_no='" & rsc("p_sv") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("p_name") + end if + rsf.Close + %> + + <% + end if 'if command <> "excel" then + %> + + <% + if isnull(rsc("p_survey_cnt")) then + tmpstr = "0" + else + tmpstr = rsc("p_survey_cnt") + end if + %> + + <% + if isnull(rsc("p_budget")) then + p_budget = "0" + else + p_budget = rsc("p_budget") + end if + %> + + + <% + if isnull(rsc("p_esti_cost")) then + tmpstr = "0" + else + if trim(rsc("p_esti_cost")) = "" then + tmpstr = "0" + else + tmpstr = rsc("p_esti_cost") + end if + end if + %> + + <%if isnull(rsc("p_real_cost")) then + pay_actual = "0" + else + if rsc("p_real_cost") = "" then + pay_actual = "0" + else + pay_actual = rsc("p_real_cost") + end if + end if + + if p_method <> "¸ô¶ó" then + tmpstr = default_path_root & "ess/direct_cost_print.asp?p_sn=" & rsc("p_sn") + ' tmpstr = tmpstr & "&p_c_methodm1=" & rsc("p_method") + if (cint(rsc("p_method"))>=12 and cint(rsc("p_method"))<=14) or cint(rsc("p_method")) =18 or cint(rsc("p_method")) =20 then + 'F/F¸é + ' tmpstr = tmpstr & "&p_type=FF&pay_type=1" + elseif (cint(rsc("p_method"))=15) or (cint(rsc("p_method"))=16) then + 'FGI¸é + ' tmpstr = tmpstr & "&p_type=FGI&pay_type=2" + elseif (cint(rsc("p_method"))=11) or (cint(rsc("p_method"))=17) or (cint(rsc("p_method"))=19) or (cint(rsc("p_method"))>=21 and cint(rsc("p_method"))<=23) then + 'TELÀ̸é + ' tmpstr = tmpstr & "&p_type=TEL&pay_type=3" + elseif cint(rsc("p_method"))=24 then + 'gangÀ̸é + ' tmpstr = tmpstr & "&p_type=Gang&pay_type=4" + else + ' tmpstr = "ÇØ´çÇÁ·ÎÁ§Æ®¿¡ Á¶»ç¹æ¹ýÀÌ µî·ÏµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù" + ' '±âŸ À̸é + ' tmpstr = tmpstr & "&p_type=Etc&pay_type=5" + end if + end if + if tmpstr = "ÇØ´çÇÁ·ÎÁ§Æ®¿¡ Á¶»ç¹æ¹ýÀÌ µî·ÏµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù" then%> + °ü¸® + <%else + if cint(Session("p_depart") ) < 100 then '¹«Á¶°Ç view only·Î Çϱâ À§ÇØ + ' tmpstr = tmpstr & "&printmode=1" + end if%> + <%end if%> + + <% + if p_budget = "0" then + p_budget = 1 + end if + pay_actual_proportion = formatnumber((pay_actual / CDbl(p_budget)) * 100, 2) + %> + <%if isnull(pay_actual_proportion) then + tmpstr = "0" + else + tmpstr = pay_actual_proportion + end if%> + + <% + if isnull(rsc("p_sample_value_chk")) then + tmpstr = "0" + else + tmpstr = rsc("p_sample_value_chk") + end if + + if isnull(rsc("p_sample_real")) or clng(p_budget) = 0 then + tmpstr = "0" + else + if clng(rsc("p_sample_real")) = 0 then + tmpstr = "0" + else + tmpstr = clng(p_budget) / rsc("p_sample_real") + end if + end if + %> + + + <% + if isnull(rsc("p_field_end")) or isnull(rsc("p_field_st")) then + tmpstr = "0" + else + if trim(rsc("p_field_end")) = "" or trim(rsc("p_field_st")) = "" then + tmpstr = "0" + else + tmpstr = cdate(rsc("p_field_end")) - cdate(rsc("p_field_st")) + 1 + end if + end if + %> + + <% + query = "SELECT * " + query = query & "FROM file_log " + query = query & "WHERE p_sn='" & rsc("p_sn") & "' " + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + research = rsf("research") + fieldwork = rsf("fieldwork") + computer = rsf("computer") + manager = rsf("manager") + end if + rsf.Close + + if research = "1" then + research = "Y" + else + research = "N" + end if + if fieldwork = "1" then + fieldwork = "Y" + else + fieldwork = "N" + end if + if computer = "1" then + computer = "Y" + else + computer = "N" + end if + if manager = "1" then + manager = "Y" + else + manager = "N" + end if + %> + + + + + + <% + rsc.MoveNext + next + end if 'if rsc.RecordCount > 0 then + rsc.Close + %> +
º»ºÎ³âµµÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ý»ùÇüö¼¼ºÎºÎ¼­Á¶»ç¸ñÀûŬ¶óÀÌ¾ðÆ®¸íŬ¶óÀ̾ðÆ®ÇüÅÂÄ«Å×°í¸®¾÷Á¾(´ë)¾÷Á¾(Áß)¾÷Á¾(¼Ò)Á¶»ç´ë»óÁ¶»çÁö¿ª°è¾à±â°£½Ç»ç½ÃÀÛÀϽǻçÁ¾·áÀϺ¸°í¼­Á¦ÃâÀÏ´ã´ç¿¬±¸¿ø1´ã´ç¿¬±¸¿ø2´ã´ç¿¬±¸¿ø3´ã´ç¿¬±¸¿ø4´ã´çSV¹®Ç×°è¾à¾×¸ÅÃâ¾×¿¹»óÁ÷Á¢ºñ½ÇÁ¦Á÷Á¢ºñÁ÷Á¢ºñÀ²(%)»ùÇôç´Ü°¡½Ç»ç³­À̵µÁ¶»çÀϼö(ÀÏ)¿¬±¸½Ç»çÀü»ê°æ¿µ
+ <% + for j = 1 to ubound(tmp_depart) + if tmp_depart(j,1) = rsc("p_depart") then + Response.Write trim(tmp_depart(j,2)) + tmp_teamname = tmp_depart(j,2) + end if + next + %> + <%=mid(rsc("p_sn"),1,2)%>³â<%=rsc("p_sn")%> + <%if command <> "excel" then%> + ','<%=tmp_teamname%>')" class="blue"> + <%end if%> + <%=rsc("p_subject")%> + <%if command <> "excel" then%> + + <%end if%> + + <%if p_method = "¸ô¶ó" then%> + <%=p_method%> + <%else%> + <%=p_method%> + <%end if%> + <%=formatnumber(tmpstr,0)%><%=tmp_depart_dep%><%=rsc("p_intention")%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=rsc("p_target_text")%><%=rsc("p_area")%><%=rsc("p_convdate_st2")&"~"&rsc("p_convdate_end2")%><%=rsc("p_field_st")%><%=rsc("p_field_end")%><%=rsc("p_report_st")&"~"&rsc("p_report_end")%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=tmpstr%><%=formatnumber(p_budget,0)%> ¿ø<%=formatnumber(p_sales,0)%> ¿ø<%=formatnumber(tmpstr,0)%> ¿ø + <% if p_method <> "¸ô¶ó" and command <> "excel" then%> + + <% end if %> + <%=formatnumber(pay_actual,0)%> ¿ø + <% if p_method <> "¸ô¶ó" and command <> "excel" then %> + + <% end if %> + <%=tmpstr%> %<%=formatnumber(tmpstr,0)%> ¿ø<%=rsc("p_field_rank")%><%=tmpstr%><%=research%><%=fieldwork%><%=computer%><%=manager%>
+
+
+ * ÇÁ·ÎÁ§Æ® ¸íÀ» Ŭ¸¯ÇÏ½Ã¸é »ó¼¼³»¿ëÀ» º¼ ¼ö ÀÖ½À´Ï´Ù. +
+ <% end if ''if request("s") = 1 then %> +
+
+ + +
+<%if command <> "excel" then%> + +<%END IF%> \ No newline at end of file diff --git a/project/project_search_2014.asp b/project/project_search_2014.asp new file mode 100644 index 0000000..a103f05 --- /dev/null +++ b/project/project_search_2014.asp @@ -0,0 +1,1339 @@ + +<% +dim command +command = Request("command") +if command <> "excel" then +%> + + +
+ +
+

ÇÁ·ÎÁ§Æ® °Ë»ö

+
+ + +
+
+
+
+
+<% +End If + +'#### funs ¡é######################################### +function fnc_replace(mo,motype) + dim tval : tval="" + + select case motype + case "0" + tval=replace(mo,"'", "") + tval=replace(tval,"""", "") + + end select + fnc_replace=tval + +end function +'#### funs ¡è######################################### +dim xxlist : xxlist="0" + +p_sn = fnc_replace(Request("p_sn"),"0") +p_subject = fnc_replace(request("p_subject"),"0") +p_depart = request("p_depart") +p_method = request("p_method") +p_cli_company = fnc_replace(request("p_cli_company"),"0") +p_category = request("p_category") +p_target_part = request("p_target_part") +p_area_part = request("p_area_part") +p_survey_part = request("p_survey_part") +p_field_process = request("p_field_process") +p_decide_date_st = request("p_decide_date_st") +p_decide_date_ed = request("p_decide_date_ed") +c_common_code = request("c_common_code") '¹®¼­Á¾·ù +f_file_name = fnc_replace(request("f_file_name"),"0") +p_client_type_cd = request("p_client_type_cd") +p_types1 = request("p_types1") +p_types2 = request("p_types2") +p_types3 = request("p_types3") +project_old_new = request("project_old_new") +p_export_range = request("p_export_range") '¿ë¿ª¹üÀ§ +p_sample_st = fnc_replace(replace(request("p_sample_st"),",",""),"0") 'Ç¥º»¼ö ½ÃÀÛ +p_sample_ed = fnc_replace(replace(request("p_sample_ed"),",",""),"0") 'Ç¥º»¼ö ³¡ + +p_intention= replace(replace(request("p_intention"),"'",""),"""","") 'Á¶»ç³»¿ë +p_user=replace(replace(request("p_user"),"'",""),"""","") 'Âü¿©Àη +p_no = fnc_replace(Request("p_no"),"0") + +print_gubn = request("print_gubn") '-- Ãâ·Â±¸ºÐ(ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ , Á¦¾È µî·Ï) : Ãß°¡ 20170721 +pps_state_nm = request("pps_state_nm") '-- Á¦¾Èµî·Ï »óÅ : Ãß°¡ 20170723 + +'-- Âü¿©Àη °Ë»ö +if p_user<>"" then + w_sql = " select p_no from dbo.person " + w_sql = w_sql & " where p_name='"&p_user&"' " + w_sql = w_sql & " order by p_no desc " + rs.Open w_sql, adoConn, 1 + if rs.recordCount>0 then p_user_ck="1" '-- »ç¿øÁ¤º¸ ÀÖÀ½ + new_p="" : old_p="" + for i = 1 to rs.recordCount + '-- ÇöÀç ÇÁ·ÎÁ§Æ® + if cint(i)>1 then new_p = new_p & " or " + new_p = new_p & " TPM.p_rsch_1_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_2_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_3_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_4_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_1_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_2_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_3_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_4_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_1_c='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_2_c='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_3_c='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_4_c='[krc_id]' or " + new_p = new_p & " TPM.p_sv_1='[krc_id]' or " + new_p = new_p & " TPM.p_sv_2='[krc_id]' or " + new_p = new_p & " TPM.p_sv_3='[krc_id]' or " + new_p = new_p & " TPM.p_sv_4='[krc_id]' or " + new_p = new_p & " TPM.p_code_1='[krc_id]' or " + new_p = new_p & " TPM.p_code_2='[krc_id]' or " + new_p = new_p & " TPM.p_code_3='[krc_id]' or " + new_p = new_p & " TPM.p_code_4='[krc_id]' or " + new_p = new_p & " TPM.p_verify_1='[krc_id]' or " + new_p = new_p & " TPM.p_verify_2='[krc_id]' or " + new_p = new_p & " TPM.p_verify_3='[krc_id]' or " + new_p = new_p & " TPM.p_verify_4='[krc_id]' or " + new_p = new_p & " TPM.p_dp_1='[krc_id]' or " + new_p = new_p & " TPM.p_dp_2='[krc_id]' or " + new_p = new_p & " TPM.p_dp_3='[krc_id]' or " + new_p = new_p & " TPM.p_dp_4='[krc_id]' or " + new_p = new_p & " TPM.p_it_1='[krc_id]' or " + new_p = new_p & " TPM.p_it_2='[krc_id]' or " + new_p = new_p & " TPM.p_it_3='[krc_id]' or " + new_p = new_p & " TPM.p_it_4='[krc_id]' or " + new_p = new_p & " TPM.p_supp_1='[krc_id]' or " + new_p = new_p & " TPM.p_supp_2='[krc_id]' or " + new_p = new_p & " TPM.p_supp_3='[krc_id]' or " + new_p = new_p & " TPM.p_supp_4='[krc_id]' " + new_p=replace(new_p,"[krc_id]",rs(0)) + + + '-- °ú°Å ÇÁ·ÎÁ§Æ® + if cint(i)>1 then old_p = old_p & " or " + old_p = old_p & " p.p_rsch_1='[krc_id]' or " + old_p = old_p & " p.p_rsch_2='[krc_id]' or " + old_p = old_p & " p.p_rsch_3='[krc_id]' or " + old_p = old_p & " p.p_rsch_4='[krc_id]' or " + old_p = old_p & " p.p_rsch_5='[krc_id]' or " + old_p = old_p & " p.p_rsch_6='[krc_id]' " + old_p=replace(old_p,"[krc_id]",rs(0)) + + rs.movenext + next + rs.close + + '-- Á¤¸® --------------------------------------- + if len(new_p)>0 then new_p = " and ( " & new_p & ")" + if len(old_p)>0 then old_p = " and ( " & old_p & ")" + '---------------------------------------------- +end if + +s = request("s") +if command = "excel" then + Response.CacheControl = "public" + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=°Ë»ö_("&replace(cstr(date()),"-","")&").xls" +end if +'====================================================== + %> +
+ + + + + + + <%if command <> "excel" then 'excel export[2] %> + + + + <%end if 'excel export[2] %> + + + +
°Ë»öÀ» ¿øÇϽô ÇÁ·ÎÁ§Æ® Á¶°ÇÀ» ¼³Á¤ÇϽðí, ã±â ¹öưÀ» Ŭ¸¯ÇØ ÁÖ¼¼¿ä.
+ <%if command <> "excel" then 'excel export[3] %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® ÄÚµå + + ÇÁ·ÎÁ§Æ® ¸í + +
ºÎ¼­ + +   + / +   + + Á¶»ç¹æ¹ý + +
Ŭ¶óÀÌ¾ðÆ®¸í + + Ä«Å×°í¸® + +
¾÷Á¾ + checked <% end if %>/>¼±ÅþÈÇÔ + checked <% end if %>/>½Å±ÔÇÁ·ÎÁ§Æ® (2014-07 ÀÌÈÄ ÇÁ·ÎÁ§Æ®)    + checked <% end if %>/>±¸ÇÁ·ÎÁ§Æ® + + +     + +     + +
Á¶»ç´ë»ó + + Á¶»çÁö¿ª + +
Á¶»çºÐ·ù + + ½Ç»ç¼öÇà + +
Á¶»ç³»¿ë
Âü¿©Àη + <%if len(p_user)>0 and p_user_ck="" then %> ¡Ø »ç¿øÀ̸§ÀÌ Á¤È®ÇÏÁö ¾Ê½À´Ï´Ù. Á¤È®ÇÏ°Ô ÀÔ·ÂÇϽÅÈÄ Ã£±â¹öưÀ» ´­·¯ ÁÖ¼¼¿ä<%end if%> +
°è¾à±â°£ + + +   ~   + + +
¿ë¿ª¹üÀ§
(2014-07 ÀÌÈÄ ÇÁ·ÎÁ§Æ®)
+ + Ç¥º»¼ö + " style='ime-mode:active;' onchange="getNumber(this);" onkeyup="getNumber(this);" style="text-align:right;" > +   ~   + " style='ime-mode:active;' onchange="getNumber(this);" onkeyup="getNumber(this);" style="text-align:right;" > +
¹®¼­Á¾·ù + + ÆÄÀϸí + +
Ãâ·Â ±¸ºÐ + + ¡¡ 
+ + + + + + +
       + + +
+
+ <%end if 'excel export[3] %> + <% 'ÇÁ·ÎÁ§Æ® °Ë»ö ÇßÀ»¶§ + '##### Á¶Á÷ °³Æí(2019) + if request("s") = 1 then + '====================================================== + '½Å±Ô ÇÁ·ÎÁ§Æ® °Ë»ö + query = "" + query = query & " select " + query = query & " A1.*, " + query = query & " isnull(A2.child_est_money_sum,0) as child_est_money_sum, " + query = query & " isnull(A2.child_act_money_sum,0) as child_act_money_sum, " + query = query & " isnull(A3.est_money_sum,0) as est_money_sum, " + query = query & " isnull(A3.act_money_sum,0) as act_money_sum " + query = query & " from " + query = query & " ( " + query = query & " select p_sn, p_subject, isnull(p_depart,'') as p_depart, p_method, p_cli_company, p_conv_date, c_code_name, " + query = query & " count(f_id) as f_id, convert(varchar(10),count(f_file_name))+'°³' as f_file_name, " + query = query & " '' as p_name, " + query = query & " '' as f_attach_date, p_sub_type, p_method_cd, p_child_sn, p_con_date_end, p_total_cost, p_cont_cost, p_sample " + query = query & " FROM ( " + query = query & " SELECT TPB.p_sn as p_sn, ISNULL(TPM.p_subject, TPB.p_subject) as p_subject, " + query = query & " isnull(D.T_name, '') as p_depart, " + query = query & " TPMC.p_method_nm as p_method, TCC.p_cli_company_nm as p_cli_company, " + query = query & " TPM.p_decide_date as p_conv_date, '' as c_code_name, TSA.f_id as f_id, TSA.f_file_name as f_file_name, TSA.f_input_user as f_input_user, " + query = query & " per.p_name as p_name, " + query = query & " TSA.f_attach_date as f_attach_date, TPM.p_sub_type, TPM.p_method_cd, isnull(TPM.p_child_sn,tpb.p_sn) as p_child_sn, TPM.p_con_date_end, isnull(TPB.p_total_cost, '0') as p_total_cost, isnull(TPM.p_cont_cost, '0') as p_cont_cost, ISNULL(TPM.p_sample, '0') as p_sample " + query = query & " FROM T_PROJECT_BASE TPB " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD TPM ON TPM.p_sn = TPB.p_sn /* Á¶»ç¹æ¹ý ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd /* Á¶»ç¹æ¹ý À̸§ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN V_Department D ON TPM.p_rsch_dept = D.before_t_cd1 /* ºÎ¼­ÄÚµå */ " + query = query & " LEFT OUTER JOIN V_CLIENT_COMP TCC ON TPB.p_cli_company_cd = TCC.p_cli_company_cd /* ȸ»çÄÚµå ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_SYSTEM_ATTACH TSA ON TPB.p_sn = TSA.f_p_sn AND f_use_yn = 'y' " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD ON TSA.f_work_type = TCCD.c_kind_code AND TSA.f_kind = TCCD.c_common_code /* ¹®¼­Á¾·ù ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person PER ON TSA.f_input_user = PER.P_NO " + query = query & " WHERE TPB.p_sn <> '' " + 'ÇÁ·ÎÁ§Æ® ÄÚµå-------------------------------------------------- + if p_sn <> "" then + query = query & " AND (TPB.p_sn LIKE '%" & p_sn & "%' OR TPM.p_child_sn LIKE '%" & replace(p_sn, "_", "[_]") & "%') " + end if + 'ÇÁ·ÎÁ§Æ® ¸í-------------------------------------------------- + if p_subject <> "" then + query = query & " AND (TPM.p_subject LIKE '%" & replace(p_subject, "_", "[_]") & "%' OR TPB.p_subject LIKE '%" & replace(p_subject, "_", "[_]") & "%')" + end if + 'Á¶»ç³»¿ë(20170619) ------------------------------- + if p_intention <> "" then + query = query & " AND TPM.p_intention LIKE '%" & replace(p_intention, "_", "[_]") & "%' " + end if + 'Âü¿©ÀÚ (20170619) -------------------------------- + if new_p<>"" then + query = query & new_p + end if + 'ºÎ¼­-------------------------------------------------- + if p_depart <> "" then + query = query & " AND (TPB.p_depart_dep = '" & p_depart & "' " + query = query & " OR per.p_no in (select p_no from person where p_depart = '" & p_depart & "' )) " '//-- 2020-10-20 16:49:55 + end if + if p_no <> "" then + query = query & " AND per.p_no = '" & p_no & "' " '//-- 2020-10-20 16:49:55 + end if + 'Á¶»ç¹æ¹ý---------------------------------------------- + if p_method <> "" then + query = query & " AND TPM.p_method_cd = '" & p_method & "' " + end if + 'Ŭ¶óÀÌ¾ðÆ®¸í------------------------------------------ + if p_cli_company <> "" then + query = query & " AND TCC.p_cli_company_nm LIKE '%" & p_cli_company & "%' " + end if + 'Ä«Å×°í¸®-------------------------------------------- + if p_category <> "" then + query = query & " AND (TPB.p_category LIKE '%" & p_category & ",%' OR TPM.p_category LIKE '%" & p_category & ",%') " + end if + '¾÷Á¾-------------------------------------------- + if p_client_type_cd <> "" then + query = query & " AND TPM.p_client_type_cd = '" & p_client_type_cd & "' " + end if + if project_old_new = "old" then '¾÷Á¾À» ±¸ ÇÁ·ÎÁ§Æ®¸¦ ¼±ÅÃÇÏ¸é ½Å±ÔÇÁ·ÎÁ§Æ®´Â °Ë»ö¾ÈÇϰÔ. + query = query & " AND TPM.p_sn = '' " + end if + '¿ë¿ª¹üÀ§-------------------------------------------- + if p_export_range <> "" then + query = query & " AND TPM.p_export_range = '" & p_export_range & "' " + end if + 'Ç¥º»¼ö ½ÃÀÛ-------------------------------------------- + if p_sample_st <> "" then + query = query & " AND TPM.p_sample >= '" & p_sample_st & "' " + end if + 'Ç¥º»¼ö ³¡-------------------------------------------- + if p_sample_ed <> "" then + query = query & " AND TPM.p_sample <= '" & p_sample_ed & "' " + end if + 'Á¶»ç´ë»ó-------------------------------------------- + if p_target_part <> "" then + query = query & " AND TPM.p_sur_target = '" & p_target_part & "' " + end if + 'Á¶»çÁö¿ª-------------------------------------------- + if p_area_part <> "" then + query = query & " AND TPM.p_sur_area = '" & p_area_part & "' " + end if + 'Á¶»çºÐ·ù-------------------------------------------- + if p_survey_part <> "" then + query = query & " AND TPM.p_sur_part = '" & p_survey_part & "' " + end if + '½Ç»ç¼öÇà-------------------------------------------- + if p_field_process <> "" then + query = query & " AND TPM.p_field_process = '" & p_field_process & "' " + end if + '°è¾à±â°£-------------------------------------------- + if p_decide_date_st <> "" and p_decide_date_ed <> "" then + query = query & " AND TPM.p_decide_date Between '" & p_decide_date_st & "' AND '" & p_decide_date_ed & "' " + end if + '¹®¼­Á¾·ù-------------------------------------------- + if c_common_code <> "" then + query = query & " AND TCCD.c_common_code = '" & c_common_code & "' " + end if + 'ÆÄÀϸí-------------------------------------------- + if f_file_name <> "" then + query = query & " AND TSA.f_file_name LIKE '%" & f_file_name & "%' " + end if + + '¼öÇà°èȹ¼­¸¸ °Ë»ö½Ã 20170807 (Ãß°¡) ------------------- + if print_gubn <> "" then + query = query & " and len(TPM.p_child_sn)=11 " + end if + query = query & " UNION ALL " + + '¿¹Àü ÇÁ·ÎÁ§Æ® °Ë»ö + query = query & " SELECT p.p_sn as p_sn, p.p_subject as p_subject, " + query = query & " isnull(d.T_Name, '') as p_depart, " + query = query & " pm.name1 as p_method, C.c_name as p_cli_company, " + query = query & " p.p_conv_date as p_conv_date, TCCD.c_code_name as c_code_name, TSA.f_id as f_id, TSA.f_file_name as f_file_name, " + query = query & " TSA.f_input_user as f_input_user, " + query = query & " '' as p_name, " + query = query & " TSA.f_attach_date as f_attach_date, '' as p_sub_type, '' as p_method_cd, '' as p_child_sn ,p.p_convdate_end as p_con_date_end, '' as p_total_cost, p.p_budget as p_cont_cost, ISNULL(P.p_sample, '0') as p_sample " + query = query & " FROM project P LEFT OUTER JOIN V_Department D ON p.p_depart = d.before_t_cd1 /* ºÎ¼­ÄÚµå ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN p_method pm ON p.p_method = pm.code1 /* Á¶»ç¹æ¹ý ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN Client C ON p.p_cli_company = C.c_code /* ȸ»çÀ̸§ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_SYSTEM_ATTACH TSA ON p.p_sn = TSA.f_p_sn AND TSA.f_use_yn = 'Y' /* ÷ºÎÆÄÀÏ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD ON TSA.f_work_type = TCCD.c_kind_code AND TSA.f_kind = TCCD.c_common_code /* ¹®¼­Á¾·ù ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person PER ON TSA.f_input_user = PER.P_NO /* ¹®¼­ ÀÔ·ÂÀÚ À̸§ */ " + query = query & " WHERE p_sn <> '' " + query = query & " AND LEFT(p_sn, 4) <> '9999' " + 'ÇÁ·ÎÁ§Æ® ÄÚµå-------------------------------------------------- + if p_sn <> "" then + query = query & " AND p.p_sn LIKE '%" & replace(p_sn, "_", "[_]") & "%' " + end if + 'ÇÁ·ÎÁ§Æ® ¸í-------------------------------------------------- + if p_subject <> "" then + query = query & " AND p.p_subject LIKE '%" & replace(p_subject, "_", "[_]") & "%' " + end if + 'Á¶»ç³»¿ë(20170619) ------------------------------- + if p_intention <> "" then + query = query & " AND p.p_intention LIKE '%" & replace(p_intention, "_", "[_]") & "%' " + end if + + 'Âü¿©ÀÚ (20170619) -------------------------------- + if old_p <> "" then + query = query & old_p + end if + + 'ºÎ¼­-------------------------------------------------- + if p_depart <> "" then + query = query & " AND (p.p_depart = '" & p_depart & "' " + query = query & " OR per.p_no in (select p_no from person where p_depart = '" & p_depart & "' )) " '//-- 2020-10-20 16:49:55 + end if + if p_no <> "" then + query = query & " AND per.p_no = '" & p_no & "' " '//-- 2020-10-20 16:49:55 + end if + 'Á¶»ç¹æ¹ý---------------------------------------------- + if p_method <> "" then + if p_method = "1" then + p_method = "11,17" + elseif p_method = "2" then + p_method = "13" + elseif p_method = "3" then + p_method = "15" + elseif p_method = "4" then + p_method = "16" + elseif p_method = "5" then + p_method = "24" + elseif p_method = "6" then + p_method = "6" + elseif p_method = "7" then + p_method = "21,22" + elseif p_method = "8" then + p_method = "20" + elseif p_method = "9" then + p_method = "19" + elseif p_method = "10" then + p_method = "18" + elseif p_method = "11" then + p_method = "25" + elseif p_method = "12" then + p_method = "12" + elseif p_method = "13" then + p_method = "27" + elseif p_method = "14" then + p_method = "26" + elseif p_method = "15" then + p_method = "15" + elseif p_method = "16" then + p_method = "16" + elseif p_method = "17" then + p_method = "23" + end if + query = query & " AND p.p_method IN (" & p_method & ") " + end if + 'Ŭ¶óÀÌ¾ðÆ®¸í------------------------------------------ + if p_cli_company <> "" then + query = query & " AND c.c_name LIKE '%" & p_cli_company & "%' " + end if + 'Ä«Å×°í¸®-------------------------------------------- + if p_category <> "" then + query = query & " AND p.p_category = '" & p_category & "' " + end if + 'Á¶»ç´ë»ó-------------------------------------------- + if p_target_part <> "" then + query = query & " AND p.p_target_part = '" & p_target_part & "' " + end if + 'Á¶»çÁö¿ª-------------------------------------------- + if p_area_part <> "" then + if p_area_part = "001" then + p_area_part = "1,2" + elseif p_area_part = "002" then + p_area_part = "3" + elseif p_area_part = "003" then + p_area_part = "4" + elseif p_area_part = "004" then + p_area_part = "4" + elseif p_area_part = "005" then + p_area_part = "5" + end if + + query = query & " AND p.p_area_part IN (" & p_area_part & ") " + end if + 'Á¶»çºÐ·ù-------------------------------------------- + if p_survey_part <> "" then + query = query & " AND p.p_survey_part = '" & CInt(p_survey_part) & "' " + end if + '½Ç»ç¼öÇà-------------------------------------------- + if p_field_process <> "" then + query = query & " AND p.p_field_process = '" & CInt(p_field_process) & "' " + end if + 'Ç¥º»¼ö ½ÃÀÛ-------------------------------------------- + if p_sample_st <> "" then + query = query & " AND p.p_sample >= '" & p_sample_st & "' " + end if + 'Ç¥º»¼ö ³¡-------------------------------------------- + if p_sample_ed <> "" then + query = query & " AND p.p_sample <= '" & p_sample_ed & "' " + end if + '°è¾à±â°£-------------------------------------------- + if p_decide_date_st <> "" and p_decide_date_ed <> "" then + query = query & " AND p.p_conv_date Between '" & p_decide_date_st & "' AND '" & p_decide_date_ed & "' " + end if + '¹®¼­Á¾·ù-------------------------------------------- + if c_common_code <> "" then + query = query & " AND TCCD.c_common_code = '" & c_common_code & "' " + end if + 'ÆÄÀϸí-------------------------------------------- + if f_file_name <> "" then + query = query & " AND TSA.f_file_name LIKE '%" & f_file_name & "%' " + end if + '¾÷Á¾------------------------------------------------------ + if p_types1 <> "" then + query = query & "AND (" + query = query & " p_types1 = '" & p_types1 & "' " + if p_types2 <> "" then + query = query & " AND p_types2 = '" & p_types2 & "' " + end if + + if p_types3 <> "" then + query = query & " AND p_types3 = '" & p_types3 & "' " + end if + query = query & ") " + end if + if project_old_new = "new" then '¾÷Á¾À» ½Å±Ô ÇÁ·ÎÁ§Æ®¸¦ ¼±ÅÃÇÏ¸é ±¸ÇÁ·ÎÁ§Æ®´Â °Ë»ö¾ÈÇϰÔ. + query = query & " AND p_sn = '' " + end if + query = query & " ) T " + query = query & " group by p_sn, p_subject, p_depart, p_method, p_cli_company, p_conv_date, c_code_name, p_sub_type, p_method_cd, p_child_sn, p_con_date_end, " + query = query & " p_total_cost, p_cont_cost, p_sample" + query = query & " ) A1 " + query = query & " left join " '-- ¼öÇà°èȹ¼­ + query = query & " ( " + query = query & " select " + query = query & " p_child_sn, " + query = query & " sum(cast(isnull(est_money,'0') as money)) as child_est_money_sum, " '-- ¿¹»ê + query = query & " sum(cast(isnull(act_money,'0') as money)) as child_act_money_sum " '-- »ç¿ë + query = query & " from [dbo].[direct_cost] " + query = query & " where del_yes_no='no' " + query = query & " group by p_child_sn " + query = query & " ) A2 " + query = query & " on A1.p_child_sn=A2.p_child_sn " + query = query & " left join " '-- Á¦¾È/µî·Ï + query = query & " ( " + query = query & " select " + query = query & " p_sn, " + query = query & " sum(cast(isnull(est_money,'0') as money)) as est_money_sum, " '-- ¿¹»ê + query = query & " sum(cast(isnull(act_money,'0') as money)) as act_money_sum " '-- »ç¿ë + query = query & " from [dbo].[direct_cost] " + query = query & " where del_yes_no='no' " + query = query & " group by p_sn " + query = query & " ) A3 " + query = query & " on A1.p_sn=A3.p_sn " + + + dim psql : psql="" + select case print_gubn + case "pps" '-- Á¦¾Èµî·Ï °Ë»ö½Ã + psql="" + psql=psql&" select A1.*, " + psql=psql& " isnull(A3.est_money_sum,0) as est_money_sum, " + psql=psql& " isnull(A3.act_money_sum,0) as act_money_sum " + psql=psql& " from " + psql=psql&" ( " + psql=psql&" SELECT p_sn, PB.p_cli_company_cd, PB.p_client_type_cd, p_subject, PB.p_cli_per_cd, PB.p_state, E.p_cli_company_nm, CP.p_cli_depart, " + psql=psql&" CP.p_cli_per_com_tel, CP.p_cli_per_nm, CP.p_cli_per_tel, CP.p_cli_per_email, " + psql=psql&" case when p_contactor = '001' then '°ø°³ÀÔÂû' when p_contactor = '002' then 'Á¦¾È°æÀï' when p_contactor = '003' then '°¡°ÝÀÔÂû' " + psql=psql&" when p_contactor = '004' then '¼öÀǰè¾à' else '' end as p_contactor_label, " + psql=psql&" CT.p_client_type_nm, ISNULL(STUFF(( SELECT ',' + p_method_nm FROM T_PROJECT_METHOD TPM LEFT " + psql=psql&" OUTER JOIN " + psql=psql&" T_PROJECT_METHOD_CD TPMC " + psql=psql&" ON TPM.p_method_cd = TPMC.p_method_cd " + psql=psql&" AND TPMC.p_method_yn='y' " + psql=psql&" WHERE p_sn = PB.p_sn " + psql=psql&" ORDER BY TPMC.p_method_cd " + psql=psql&" FOR XML PATH ('')),1,1,''), '') AS p_method_str, " + psql=psql&" p_memo, isnull(p_total_cost,0) as p_total_cost, p_cont_cost, p_decide_date, PB.p_input_dt, " + psql=psql&" case when p_state='K' then 'Á¦¾È' " + psql=psql&" when p_state='P' then '¼öÁÖ' " + psql=psql&" when p_state='D' then '¿¬±â' " + psql=psql&" when p_state='X' then 'Å»¶ô' " + psql=psql&" else '-' end as p_state_nm " + psql=psql&" , PB.p_input_user, p_depart_dep, p_depart_team, " + psql=psql&" p.p_name as p_name, p.p_depart, D.T_name " + psql=psql&" FROM T_PROJECT_BASE PB INNER JOIN person P " + psql=psql&" ON PB.p_input_user = P.P_NO " + psql=psql&" left outer join V_CLIENT_COMP as E on PB.p_cli_company_cd = E.p_cli_company_cd " + psql=psql&" left outer join V_CLIENT_PERSON as CP on PB.p_cli_company_cd = CP.p_cli_company_cd AND PB.p_cli_per_cd = CP.p_cli_per_cd " + psql=psql&" left outer join T_CLIENT_TYPE_CD as CT on PB.p_client_type_cd = CT.p_client_type_cd " + psql=psql&" INNER JOIN V_Department D ON PB.p_depart_dep = d.before_t_cd1 " + psql=psql&" WHERE p_sn in ( " + psql=psql&" select AA.p_sn from ("&query&") AA group by AA.p_sn " + psql=psql&" ) " + psql=psql&" ) A1 " + psql=psql&" left join " '-- Á¦¾È/µî·Ï + psql=psql &" ( " + psql=psql &" select " + psql=psql &" p_sn, " + psql=psql &" sum(cast(isnull(est_money,'0') as money)) as est_money_sum, " '-- ¿¹»ê + psql=psql &" sum(cast(isnull(act_money,'0') as money)) as act_money_sum " '-- »ç¿ë + psql=psql &" from [dbo].[direct_cost] " + psql=psql &" where del_yes_no='no' " + psql=psql &" group by p_sn " + psql=psql &" ) A3 " + psql=psql &" on A1.p_sn=A3.p_sn " + psql=psql &" where 1=1 " + if pps_state_nm<>"" then '-- Á¦¾Èµî·Ï »óÅ °Ë»ö½Ã + psql=psql&" and A1.p_state='"&pps_state_nm&"' " + end if + psql=psql&" order by A1.p_sn desc " + + query=psql + + case "prj_ing" '-- ÇÁ·ÎÁ§Æ® "¼öÇà°èȹ¼­"¸¸ °Ë»ö½Ã + query = query & " order by left(A1.p_sn,7) desc, right(A1.p_sn,2) desc " + + case else '-- "Á¦¾Èµî·Ï" + "¼öÇà°èȹ¼­" + query = query & " order by left(A1.p_sn,7) desc, right(A1.p_sn,2) desc " + + end Select + rs.Open query, adoConn, 1 + %> +
+ <%if print_gubn="pps" then %> + + <%if command <> "excel" then 'excel export %> + + + + <% end if %> + + + + + + + + + + + + + + + + + <% if rs.recordCount = 0 then %> + + + + + <% end if + for i = 1 to rs.recordCount + %> + + + + + + + + + + + + + + + + <% + xxlist="1" '-- excel ´Ù¿î·Îµå üũ¿ë + rs.movenext + next + %> +
+ +     + + °Ë»öÁ¶°Ç ¼û±â±â +
¼ø¹øÁ¦¾È¹øÈ£Á¦¾È ¸í°í°´»ç°í°´ºÎ¼­¾÷Á¾Á¶»ç¹æ¹ý¿¹»ó°è¾à¾×½ÇÁ¦°è¾à¾×Á¦¾ÈºÎ¼­»óÅ¿¹»êÁ÷Á¢ºñ
°Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù.
<%= i %><%=rs("p_sn")%> + + <%if command <> "excel" then 'excel export %> + ');" class="blue"><%=rs("p_subject")%> + <%else%> + <%=rs("p_subject")%> + <%end if%> + + <%=rs("p_cli_company_nm")%><%=rs("p_cli_depart")%><%=rs("p_client_type_nm")%><%=rs("p_method_str")%><%=formatnumber(rs("p_cont_cost"),0)%><%=formatnumber(rs("p_total_cost"),0)%><%=rs("T_name")%><%=rs("p_state_nm")%><%=formatnumber(rs("est_money_sum"),0)%><%=formatnumber(rs("act_money_sum"),0)%>
+ <%else %> + + <%if command <> "excel" then 'excel export %> + + + + <% end if %> + + + + + + + + + + + + + + + + + + + <% if rs.recordCount = 0 then %> + + + + + <% end if + for i = 1 to rs.recordCount + p_sn = rs("p_sn") + p_cont_cost="" + if rs("p_cont_cost") <> "" then + tmp_len = len(rs("p_cont_cost")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + p_cont_cost = "," & p_cont_cost + end if + p_cont_cost = left(right(rs("p_cont_cost"),j), 1) & p_cont_cost + next + end If + %> + + + + + + + + + + + + + + <% if c_common_code <> "" then %> + + <% else %> + + <% end if %> + <% If rs("p_child_sn") = "" Then %> + + + <%else%> + + + <%end if%> + + <% + xxlist="1" '-- excel ´Ù¿î·Îµå üũ¿ë + rs.movenext + next + end if + %> +
+ + °Ë»öÁ¶°Ç ¼û±â±â +
¼ø¹øÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íºÎ¼­µî·ÏÀÎÁ¶»ç¹æ¹ýŬ¶óÀÌ¾ðÆ®°è¾àÀϰè¾àÁ¾·áÀÏÀüü¼öÁֱݾ״ÜÀ§°è¾à¾×»ùÇüöÆÄÀÏ¿¹»êÁ÷Á¢ºñ
°Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù.
<%= i %> + <% If rs("p_child_sn") = "" Then %> + <%=rs("p_sn")%> + <% Else %> + <%=rs("p_child_sn")%> + <% End If %> + + <%if command <> "excel" then 'excel export %>','<%=rs("p_sub_type")%>','<%=rs("p_method_cd")%>','<%=rs("p_child_sn")%>')" class="blue"><%end if%> + <%=rs("p_subject") %> + <%if command <> "excel" then 'excel export %><%end if%><%= rs("p_depart")%><%= rs("p_name")%><%= rs("p_method") %><%= rs("p_cli_company") %><%= rs("p_conv_date") %><%= rs("p_con_date_end") %><%= formatnumber(rs("p_total_cost"), 0) %><%= p_cont_cost %><%= rs("p_sample") %> + <% If Session("teamplace") <> 10 Then %> + + <%if command <> "excel" then 'excel export %> + ','<%=rs("f_id")%>')" class="blue"><%= rs("f_file_name") %> + <%else%> + <%= rs("f_file_name") %> + <%end if%> + + <% else %> + <%= rs("f_file_name") %> + <%end if%> + <%= rs("f_file_name") %><%=formatnumber(rs("est_money_sum"),0)%><%=formatnumber(rs("act_money_sum"),0)%><%=formatnumber(rs("child_est_money_sum"),0)%><%=formatnumber(rs("child_act_money_sum"),0)%>
+ <%end if%> +
+
+ +
+<% if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> + + + + + diff --git a/project/project_search_2014_p_sn.asp b/project/project_search_2014_p_sn.asp new file mode 100644 index 0000000..2e589cd --- /dev/null +++ b/project/project_search_2014_p_sn.asp @@ -0,0 +1,463 @@ + +<% + p_sn = Request("p_sn") +' p_subject = request("p_subject") +' p_depart = request("p_depart") +' p_method = request("p_method") +' p_cli_company = request("p_cli_company") +' p_category = request("p_category") +' p_target_part = request("p_target_part") +' p_area_part = request("p_area_part") +' p_survey_part = request("p_survey_part") +' p_field_process = request("p_field_process") +' p_decide_date_st = request("p_decide_date_st") +' p_decide_date_ed = request("p_decide_date_ed") +' c_common_code = request("c_common_code") '¹®¼­Á¾·ù +' f_file_name = request("f_file_name") +' p_client_type_cd = request("p_client_type_cd") +' p_types1 = request("p_types1") +' p_types2 = request("p_types2") +' p_types3 = request("p_types3") +' project_old_new = request("project_old_new") +' p_export_range = request("p_export_range") '¿ë¿ª¹üÀ§ +' p_sample_st = request("p_sample_st") 'Ç¥º»¼ö ½ÃÀÛ +' p_sample_ed = request("p_sample_ed") 'Ç¥º»¼ö ³¡ + +' p_intention= replace(replace(request("p_intention"),"'",""),"""","") 'Á¶»ç³»¿ë +' p_user=replace(replace(request("p_user"),"'",""),"""","") 'Âü¿©Àη + +' print_gubn = request("print_gubn") '-- Ãâ·Â±¸ºÐ(ÇÁ·ÎÁ§Æ® ¼öÇà°èȹ¼­ , Á¦¾È µî·Ï) : Ãß°¡ 20170721 + + '-- Âü¿©Àη °Ë»ö + if p_user<>"" then + + w_sql = " select p_no from dbo.person " + w_sql = w_sql & " where p_name='"&p_user&"' " + w_sql = w_sql & " order by p_no desc " + rs.Open w_sql, adoConn, 1 + if rs.recordCount>0 then p_user_ck="1" '-- »ç¿øÁ¤º¸ ÀÖÀ½ + new_p="" : old_p="" + for i = 1 to rs.recordCount + + + '-- ÇöÀç ÇÁ·ÎÁ§Æ® + if cint(i)>1 then new_p = new_p & " or " + new_p = new_p & " TPM.p_rsch_1_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_2_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_3_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_4_a='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_1_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_2_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_3_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_4_b='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_1_c='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_2_c='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_3_c='[krc_id]' or " + new_p = new_p & " TPM.p_rsch_4_c='[krc_id]' or " + new_p = new_p & " TPM.p_sv_1='[krc_id]' or " + new_p = new_p & " TPM.p_sv_2='[krc_id]' or " + new_p = new_p & " TPM.p_sv_3='[krc_id]' or " + new_p = new_p & " TPM.p_sv_4='[krc_id]' or " + new_p = new_p & " TPM.p_code_1='[krc_id]' or " + new_p = new_p & " TPM.p_code_2='[krc_id]' or " + new_p = new_p & " TPM.p_code_3='[krc_id]' or " + new_p = new_p & " TPM.p_code_4='[krc_id]' or " + new_p = new_p & " TPM.p_verify_1='[krc_id]' or " + new_p = new_p & " TPM.p_verify_2='[krc_id]' or " + new_p = new_p & " TPM.p_verify_3='[krc_id]' or " + new_p = new_p & " TPM.p_verify_4='[krc_id]' or " + new_p = new_p & " TPM.p_dp_1='[krc_id]' or " + new_p = new_p & " TPM.p_dp_2='[krc_id]' or " + new_p = new_p & " TPM.p_dp_3='[krc_id]' or " + new_p = new_p & " TPM.p_dp_4='[krc_id]' or " + new_p = new_p & " TPM.p_it_1='[krc_id]' or " + new_p = new_p & " TPM.p_it_2='[krc_id]' or " + new_p = new_p & " TPM.p_it_3='[krc_id]' or " + new_p = new_p & " TPM.p_it_4='[krc_id]' or " + new_p = new_p & " TPM.p_supp_1='[krc_id]' or " + new_p = new_p & " TPM.p_supp_2='[krc_id]' or " + new_p = new_p & " TPM.p_supp_3='[krc_id]' or " + new_p = new_p & " TPM.p_supp_4='[krc_id]' " + new_p=replace(new_p,"[krc_id]",rs(0)) + + + '-- °ú°Å ÇÁ·ÎÁ§Æ® + if cint(i)>1 then old_p = old_p & " or " + old_p = old_p & " p.p_rsch_1='[krc_id]' or " + old_p = old_p & " p.p_rsch_2='[krc_id]' or " + old_p = old_p & " p.p_rsch_3='[krc_id]' or " + old_p = old_p & " p.p_rsch_4='[krc_id]' or " + old_p = old_p & " p.p_rsch_5='[krc_id]' or " + old_p = old_p & " p.p_rsch_6='[krc_id]' " + old_p=replace(old_p,"[krc_id]",rs(0)) + + + rs.movenext + next + rs.close + + + '-- Á¤¸® --------------------------------------- + if len(new_p)>0 then new_p = " and ( " & new_p & ")" + if len(old_p)>0 then old_p = " and ( " & old_p & ")" + '---------------------------------------------- + + end if + + s = request("s") + + %> + +<%=GNB_TITLE%> + + + + + + + + + +
+ + + + + + + + + + +
+ + + + +
+ <% 'ÇÁ·ÎÁ§Æ® °Ë»ö ÇßÀ»¶§ + if request("s") = 1 then + '====================================================== + '½Å±Ô ÇÁ·ÎÁ§Æ® °Ë»ö + query = " select p_sn, p_subject, isnull(p_depart,'') as p_depart, p_method, p_cli_company, p_conv_date, c_code_name, " + query = query & " count(f_id) as f_id, convert(varchar(10),count(f_file_name))+'°³' as f_file_name, " + query = query & " '' as p_name, '' as f_attach_date, p_sub_type, p_method_cd, p_child_sn, p_con_date_end, p_cont_cost, p_sample " + query = query & " FROM ( " + query = query & " SELECT TPB.p_sn as p_sn, TPB.p_subject as p_subject, isnull(D.d_name, '') as p_depart, TPMC.p_method_nm as p_method, TCC.p_cli_company_nm as p_cli_company, " + query = query & " TPM.p_decide_date as p_conv_date, '' as c_code_name, TSA.f_id as f_id, TSA.f_file_name as f_file_name, TSA.f_input_user as f_input_user, per.p_name as p_name, " + query = query & " TSA.f_attach_date as f_attach_date, TPM.p_sub_type, TPM.p_method_cd, isnull(TPM.p_child_sn,tpb.p_sn) as p_child_sn, TPM.p_con_date_end, isnull(TPM.p_cont_cost, '0') as p_cont_cost, ISNULL(TPM.p_sample, '0') as p_sample " + query = query & " FROM T_PROJECT_BASE TPB " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD TPM ON TPM.p_sn = TPB.p_sn /* Á¶»ç¹æ¹ý ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd /* Á¶»ç¹æ¹ý À̸§ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN Depart D ON TPM.p_rsch_dept = D.d_code /* ºÎ¼­ÄÚµå */ " + query = query & " LEFT OUTER JOIN V_CLIENT_COMP TCC ON TPB.p_cli_company_cd = TCC.p_cli_company_cd /* ȸ»çÄÚµå ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_SYSTEM_ATTACH TSA ON TPB.p_sn = TSA.f_p_sn AND f_use_yn = 'y' " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD ON TSA.f_work_type = TCCD.c_kind_code AND TSA.f_kind = TCCD.c_common_code /* ¹®¼­Á¾·ù ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person PER ON TSA.f_input_user = PER.P_NO " + query = query & " WHERE TPB.p_sn='"&p_sn&"' " + query = query & " UNION ALL " + + '¿¹Àü ÇÁ·ÎÁ§Æ® °Ë»ö + query = query & " SELECT p.p_sn as p_sn, p.p_subject as p_subject, isnull(d.d_name, '') as p_depart, pm.name1 as p_method, C.c_name as p_cli_company, " + query = query & " p.p_conv_date as p_conv_date, TCCD.c_code_name as c_code_name, TSA.f_id as f_id, TSA.f_file_name as f_file_name, " + query = query & " TSA.f_input_user as f_input_user, per.p_name as p_name, TSA.f_attach_date as f_attach_date, '' as p_sub_type, '' as p_method_cd, '' as p_child_sn ,p.p_convdate_end as p_con_date_end, p.p_budget as p_cont_cost, ISNULL(P.p_sample, '0') as p_sample " + query = query & " FROM project P LEFT OUTER JOIN Depart D ON p.p_depart = d.d_code /* ºÎ¼­ÄÚµå ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN p_method pm ON p.p_method = pm.code1 /* Á¶»ç¹æ¹ý ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN Client C ON p.p_cli_company = C.c_code /* ȸ»çÀ̸§ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_SYSTEM_ATTACH TSA ON p.p_sn = TSA.f_p_sn AND TSA.f_use_yn = 'Y' /* ÷ºÎÆÄÀÏ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD ON TSA.f_work_type = TCCD.c_kind_code AND TSA.f_kind = TCCD.c_common_code /* ¹®¼­Á¾·ù ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person PER ON TSA.f_input_user = PER.P_NO /* ¹®¼­ ÀÔ·ÂÀÚ À̸§ */ " + query = query & " WHERE p_sn='"&p_sn&"' " + query = query & " ) T " + query = query & " where p_depart<>'' " + query = query & " group by p_sn, p_subject, p_depart, p_method, p_cli_company, p_conv_date, c_code_name, p_sub_type, p_method_cd, p_child_sn, p_con_date_end, p_cont_cost, p_sample " + query = query & " order by left(p_sn,7) desc, right(p_sn,2) desc " + + rs.Open query, adoConn, 1 + + %> + +
+ + + + + + + + + + + + + + + + + + <% if rs.recordCount = 0 then %> + + + + + <% end if + for i = 1 to rs.recordCount + if i mod 2 = 0 then + tmp_bgcolor = "#dbe9f2" + else + tmp_bgcolor = "#ffffff" + end if + p_sn = rs("p_sn") + p_cont_cost="" + if rs("p_cont_cost") <> "" then + tmp_len = len(rs("p_cont_cost")) + for j = 1 to int(tmp_len) + if j mod 3 = 1 and j <> 1 then + p_cont_cost = "," & p_cont_cost + end if + p_cont_cost = left(right(rs("p_cont_cost"),j), 1) & p_cont_cost + next + end If + %> + + + + + + + + + + + + + <% if c_common_code <> "" then %> + + <% else %> + + <% end if %> + + + <% + rs.movenext + next + end if + %> +
¼ø¹øÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íºÎ¼­Á¶»ç¹æ¹ýŬ¶óÀÌ¾ðÆ®°è¾àÀϰè¾àÁ¾·áÀÏ´ÜÀ§°è¾à¾×»ùÇüöÆÄÀÏ
µî·ÏµÈ ³»¿ëÀÌ ¾ø½À´Ï´Ù
<%= i %> + <% If rs("p_child_sn") = "" Then %> + <%=rs("p_sn")%> + <% Else %> + <%=rs("p_child_sn")%> + <% End If %> + ','<%=rs("p_sub_type")%>','<%=rs("p_method_cd")%>','<%=rs("p_child_sn")%>')" class="blue"><%=rs("p_subject") %><%= Replace(rs("p_depart"), "¿¬±¸ ", "") %><%= rs("p_method") %><%= rs("p_cli_company") %><%= rs("p_conv_date") %><%= rs("p_con_date_end") %><%= p_cont_cost %><%= rs("p_sample") %> + <% If Session("teamplace") <> 10 Then %> + ','<%=rs("f_id")%>')" class="blue"><%= rs("f_file_name") %> + <% else %> + <%= rs("f_file_name") %> + <%end if%> + <%= rs("f_file_name") %>
+
+
+
+ +
+ + + + + + + diff --git a/project/project_search_ajax_type2_2014.asp b/project/project_search_ajax_type2_2014.asp new file mode 100644 index 0000000..63b4c54 --- /dev/null +++ b/project/project_search_ajax_type2_2014.asp @@ -0,0 +1,40 @@ + + + +<%' + + + p_types1 = request("p_types1") + p_types2 = request("p_types2") + + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + + + response.write "" & "
" + + query = " SELECT * " + query = query & " FROM p_types " + query = query & " WHERE t_type = '2' " + query = query & " AND t_code1 = '" & p_types1 & "' " + query = query & " ORDER BY t_sn " + rsp.Open query, adoConn, 1 + + 'response.write query & "
" + for i=1 to rsp.recordCount + response.write "" & "
" + rsp.movenext + next + + rsp.close + +%> diff --git a/project/project_search_ajax_type3_2014.asp b/project/project_search_ajax_type3_2014.asp new file mode 100644 index 0000000..0cdcd45 --- /dev/null +++ b/project/project_search_ajax_type3_2014.asp @@ -0,0 +1,44 @@ + + + + +<%' + + + p_types1 = request("p_types1") + p_types2 = request("p_types2") + p_types3 = request("p_types3") + + +' Session.CodePage = 65001 'ÇÑ±Û + Response.CharSet = "EUC-KR" 'ÇÑ±Û + Response.AddHeader "Pragma","no-cache" + Response.AddHeader "cache-control", "no-staff" + Response.Expires = -1 + + + + response.write "" & "
" + + query = " SELECT * " + query = query & " FROM p_types " + query = query & " WHERE t_type = '3' " + query = query & " AND t_code1 = '" & p_types1 & "' " + query = query & " AND t_code2 = '" & p_types2 & "' " + query = query & " ORDER BY t_sn " + 'response.write query & "
" + rsp.Open query, adoConn, 1 + + + for i=1 to rsp.recordCount + response.write "" & "
" + rsp.movenext + next + + rsp.close + +%> \ No newline at end of file diff --git a/project/project_search_fail.asp b/project/project_search_fail.asp new file mode 100644 index 0000000..74359f1 --- /dev/null +++ b/project/project_search_fail.asp @@ -0,0 +1,568 @@ + + +<% +set rsf = server.CreateObject("ADODB.RECORDSET") + +y = request("y") + +p_depart_dep = request("p_depart_dep") +p_cli_company = request("p_cli_company") +p_cli_code = request("p_cli_code") +p_category = request("p_category") +p_prop_date_st = request("p_prop_date_st") +p_prop_date_ed = request("p_prop_date_ed") +p_subject_tmp = request("p_subject_tmp") +p_types1 = request("p_types1") +p_types2 = request("p_types2") +p_types3 = request("p_types3") + +today = request("today") +toyear = request("toyear") + +s = request("s") 'ã±â¿É¼Ç + +if request("p_types1") <> "" then + p_types1 = request("p_types1") +else + p_types1 = "0" +end if + +if request("p_types2") <> "" then + p_types2 = request("p_types2") +else + p_types2 = "0" +end if + +if request("p_types3") <> "" then + p_types3 = request("p_types3") +else + p_types3 = "0" +end if + +if y = "1" then + p_types2 = "0" + p_types3 = "0" +elseif y = "2" then + p_types3 = "0" +end if + +'------------------------------------------------------ +'¿¬±¸ºÎ¼­ list¸ñ·Ï +q = "SELECT max(d_mcode) as max_code " +q = q & "FROM Depart " +rsc.Open q, adoConn, 1 + tmp_max = rsc("max_code") +rsc.Close + +query = "SELECT * " +query = query & "FROM Depart " +query = query & "WHERE d_mcode>='0' " +'query = query & " AND d_yes_no='Y' " +query = query & "ORDER BY d_mcode ASC " + +rsc.open query, adoConn, 1 + redim tmp_depart(int(tmp_max),2) + for i = 1 to int(rsc.RecordCount) + tmp_depart(int(rsc("d_code")),1) = rsc("d_code") + tmp_depart(int(rsc("d_code")),2) = rsc("d_name") + rsc.MoveNext + next +rsc.close +'------------------------------------------------------ +'Á¶»ç¹æ¹ý +query = "select * from p_Method order by code1 " +rsc.Open query, adoConn, 1 +i = rsc.RecordCount +redim method(i,2) +i=0 +method(0,0) = request("p_method") '¼±ÅÃµÈ Á¶»ç¹æ¹ý +method(0,1) = "0" +method(0,2) = "Àü ü" +do while not rsc.EOF + i = i + 1 + method(i,1) = rsc("code1") + method(i,2) = rsc("name1") + rsc.MoveNext +loop +rsc.Close +'------------------------------------------------------ +'category list +query = "SELECT * " +query = query & "FROM p_category " +query = query & "ORDER BY sort_key " +rsc.Open query, adoConn, 1 + redim category(int(rsc.RecordCount), 2) + for i = 1 to rsc.RecordCount + category(i,1) = rsc("code1") + category(i,2) = rsc("name1") + rsc.MoveNext + next +rsc.Close +'------------------------------------------------------ + +'====================================================== +'°Ë»ö query ¸¸µé±â +if s = "1" then 'ã±â ·ÎÁ÷À» ÅÀÀ» °æ¿ì +'====================================================== + query = "SELECT * " + query = query & "FROM project2_pre " + 'query = query & "WHERE p_sn <> '' " + query = query & "WHERE p_delok = 'Y' " + 'ºÎ¼­-------------------------------------------------- + if p_depart_dep <> "" then + query = query & " AND p_depart_dep = '" & p_depart_dep & "' " + end if + 'Ŭ¶óÀÌ¾ðÆ®¸í------------------------------------------ + if p_cli_code <> "" then + query = query & " AND p_cli_company = '" & p_cli_code & "' " + end if + 'Á¦¾È±â°£---------------------------------------------- + if p_prop_date_st <> "" AND p_prop_date_ed <> "" then + '½ÃÀÛ ¹× ³¡³ª´Â ³¯Â¥ ±¸Çϱâ + if cint(right(p_prop_date_ed,2)) > 11 then + edate = cstr(cint(left(p_prop_date_ed,4)) + 1) & "-01-01" + else + if cint(right(p_prop_date_ed,2)) > 8 then + edate = cstr(left(p_prop_date_ed,4)) & "-" & cstr(cint(right(p_prop_date_ed,2)) + 1) & "-01" + else + edate = cstr(left(p_prop_date_ed,4)) & "-0" & cstr(cint(right(p_prop_date_ed,2)) + 1) & "-01" + end if + end if + sdate = p_prop_date_st & "-01" + edate = cdate(edate) - 1 + + query = query & " AND p_prop_date Between '" & sdate & "' AND '" & edate & "' " + end if + '------------------------------------------------------ + if p_types1 <> "0" then + query = query & "AND (" + + query = query & " p_types1 = '" & p_types1 & "' " + + if p_types2 <> "0" then + + query = query & " AND p_types2 = '" & p_types2 & "' " + + end if + + if p_types3 <> "0" then + + query = query & " AND p_types3 = '" & p_types3 & "' " + + end if + + query = query & ") " + end if + '------------------------------------------------------ + query = query & "ORDER BY p_prop_date DESC, p_sn_tmp DESC " + '------------------------------------------------------ + + tmp_search_query = query +end if'if s = "1" then +'====================================================== +%> + + + +
+ + + + + + + + + +
+ + + + + + + +
+ + °Ë»öÀ» ¿øÇϽô ÇÁ·ÎÁ§Æ® Á¶°ÇÀ» ¼³Á¤ÇϽðí, ã±â ¹öưÀ» Ŭ¸¯ÇØ ÁÖ¼¼¿ä. +
+ + + + + + + + + + + + + + + + + + + + + + + + <% if request("s") = 1 then %> + + + + + + + + + + + + + <% end if ''if request("s") = 1 then %> +
ºÎ¼­ + +
Ŭ¶óÀÌ¾ðÆ®¸í + + + +
Á¦¾ÈÀÏÀÚ ±â°£ + " onClick="search('/lib/cal2.asp?x=4','DateSearch','left=500,top=100,width=400,height=200,scrollbars=yes')" style="cursor:pointer"> - + " onClick="search('/lib/cal2.asp?x=5','DateSearch','left=500,top=100,width=400,height=200,scrollbars=yes')" style="cursor:pointer"> + checked <% end if %>>ÇöÀç´Þ + checked <% end if %>>ÇöÀç³âµµ + +
¾÷Á¾ + + + <% + if p_types1 <> "" then + %> +     + + <% + if p_types2 <> "" and p_types2 <> "0" then + %> +     + + <% + end if 'if p_types2 <> "" then + %> + <% + end if 'if p_types1 <> "" then + %> +
+ + +
+
+ + + + + + + + +
º»ºÎ³âµµÇÁ·ÎÁ§Æ®¸íÁ¶»ç¹æ¹ýŬ¶óÀÌ¾ðÆ®¸í
+
+
+
+ + + <% + 'Response.Write query & "
" + rsc.Open tmp_search_query, adoConn, 1 + if rsc.RecordCount > 0 then + for i = 1 to rsc.RecordCount + + if i mod 2 = 0 then + tmp_bgcolor="#dbe9f2" + else + tmp_bgcolor="" + end if + %> + - <%=rsc("p_intention")%>"> + + + + <% + p_method = "¸ô¶ó" 'Á¶»ç¹æ¹ý + for j = 0 to int(ubound(method)) + if trim(method(j,1)) = trim(rsc("p_method1")) then + p_method = method(j,2) + exit for + end if + next + %> + + + <% + p_method = "¸ô¶ó" 'Á¶»ç¹æ¹ý + for j = 0 to int(ubound(method)) + if trim(method(j,1)) = trim(rsc("p_method2")) then + p_method = method(j,2) + exit for + end if + next + %> + + + <% + p_method = "¸ô¶ó" 'Á¶»ç¹æ¹ý + for j = 0 to int(ubound(method)) + if trim(method(j,1)) = trim(rsc("p_method3")) then + p_method = method(j,2) + exit for + end if + next + %> + + + <% + tmpstr=" "'"Ŭ¶óÀÌ¾ðÆ® ¸í" + query = "SELECT * " + query = query & "FROM [Client] " + query = query & "WHERE c_code='" & rsc("p_cli_company") & "' " + + rsf.Open query, adoConn, 1 + if rsf.RecordCount > 0 then + tmpstr = rsf("c_name") + end if + rsf.Close + %> + + + <% + rsc.MoveNext + next + else + %> + <% + end if 'if rsc.RecordCount > 0 then + rsc.Close + %> +
+ <% + for j = 1 to ubound(tmp_depart) + if tmp_depart(j,1) = rsc("p_depart_dep") then + Response.Write trim(tmp_depart(j,2)) + tmp_teamname = tmp_depart(j,2) + end if + next + %> + <%=mid(rsc("p_contact_date"),3,2)%>³â','<%=tmp_teamname%>')"><%=rsc("p_subject_tmp")%> + <%if p_method = "¸ô¶ó" then%> + <%=p_method%> + <%else%> + <%=p_method%> + <%end if%> + + <%if p_method = "¸ô¶ó" then%> + <%=p_method%> + <%else%> + <%=p_method%> + <%end if%> + + <%if p_method = "¸ô¶ó" then%> + <%=p_method%> + <%else%> + <%=p_method%> + <%end if%> + <%=tmpstr%>
+
+
+ * ÇÁ·ÎÁ§Æ® ¸íÀ» Ŭ¸¯ÇÏ½Ã¸é »ó¼¼³»¿ëÀ» º¼ ¼ö ÀÖ½À´Ï´Ù. +
+
+
+ + +
diff --git a/project/project_search_fail_dep.asp b/project/project_search_fail_dep.asp new file mode 100644 index 0000000..d890c9d --- /dev/null +++ b/project/project_search_fail_dep.asp @@ -0,0 +1,950 @@ + +<% +set rsp = server.CreateObject("ADODB.RECORDSET") + +sn = request("sn") +x = request("x") +y = request("y") +%> + + + + + + + + ÇÁ·ÎÁ§Æ® ÄÁÅà + + + + +
+ + + +<% +query = "SELECT * " +query = query & "FROM project2_pre " +query = query & "WHERE sn='" & sn & "' " + +rsc.Open query, adoConn, 1 +if rsc.RecordCount > 0 then + + 'Á¦¾È°ü·Ã ÆÄÀÏÀÌ µî·ÏµÇ¾î ÀÖ¾î¾ß¸¸ Á¤½Äµî·ÏÀ» ÇÒ ¼ö ÀÖÀ½, ±×·¯±â À§ÇØ ÆÄÀÏ ¾÷·Îµå À¯¹«¸¦ °Ë»öÇÔ + query = "SELECT * " + query = query & "FROM file_log " + query = query & "WHERE p_sn_tmp = '" & rsc("p_sn_tmp") & "' " + query = query & " AND p_contact_date = '" & rsc("p_contact_date") & "' " + + + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + if rsp("propose") = "1" then + tmp_file_chk = 1 + else + tmp_file_chk = 0 + end if + else + tmp_file_chk = 0 + end if + rsp.Close + '#### ÆÄÀÏÀÌ ¿Ã¶óÀÖÁö ¾Ê¾Æµµ µî·ÏÇÒ ¼ö ÀÖµµ·Ï ÆÄÀÏüũ ·ÎÁ÷À» Ç×»ó ÂüÀ¸·Î °íÁ¤ ###' + tmp_file_chk = 1 + + if rsc("p_prop_date") <> "" then + tmp_data_ok = 1 + else + tmp_data_ok = 0 + end if + + if request("p_types1") <> "" then + p_types1 = request("p_types1") + else + p_types1 = rsc("p_types1") + end if + + if request("p_types2") <> "" then + p_types2 = request("p_types2") + else + p_types2 = rsc("p_types2") + end if + + if request("p_types3") <> "" then + p_types3 = request("p_types3") + else + p_types3 = rsc("p_types3") + end if + + if y = "1" then + p_types2 = "0" + p_types3 = "0" + elseif y = "2" then + p_types3 = "0" + end if + + 'Response.Write "p_types1 : " & p_types1 & "
" + + '¼öÁ¤¹öưÀÌ º¸À̱â À§Çؼ± °°Àº ºÎ¼­ À̾î¾ß ÇÑ´Ù. + if int(Session("Depart_Code")) = int(rsc("p_depart")) OR int(Session("Depart_Code")) = int(rsc("p_depart_dep")) OR tmp_admin_chk = "1" then + tmp_modi = "1" + else + tmp_modi = "0" + end if +%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ® ÀӽùøÈ£ +     + <%=rsc("p_sn_tmp")%> + "> +
+
+ ÇÁ  ·Î  Á§  Æ®   ¸í + +     + <%=rsc("p_subject_tmp")%> + "> + +
+
+ ¹ß    »ý     °æ    ·Î + +     + <% + query = "SELECT * " + query = query & "FROM person " + query = query & "WHERE (p_depart <= 10 or (p_depart >= 20 and p_depart <= 49)) and p_admin = 1 and p_resign = 0 " + query = query & " AND p_no = '" & rsc("p_contactor") & "' " + query = query & "ORDER BY p_order " + + rsp.Open query, adoConn, 1 + %> + <%=rsp("p_name")%> + <% + rsp.Close + %> +
+
+ ÄÁ    Åà    ÀÏ    Á¤ + +     + <%=rsc("p_contact_date")%> +
+
+ Ŭ ¶ó ÀÌ ¾ð Æ® ±¸ºÐ + +     + <%=rsc("p_cli_class")%> +
+
+ Ŭ ¶ó ÀÌ ¾ð Æ®   ¸í + +     + <% + query = "SELECT * " + query = query & "FROM client " + query = query & "WHERE c_code = '" & rsc("p_cli_company") & "' " + + rsp.Open query, adoConn, 1 + %> + <%=rsp("c_name")%> + <% + rsp.Close + %> +
+
+ Ŭ ¶ó ÀÌ ¾ð Æ® Å¸ÀÔ + +     + <% + query = "SELECT * " + query = query & "FROM Client_Type " + query = query & "WHERE c_type_code = '" & rsc("p_cli_type") & "' " + + rsp.Open query, adoConn, 1 + %> + <%=rsp("c_type_name")%> + <% + rsp.Close + %> + +
+
+ Ŭ¶óÀÌ¾ðÆ®  ´ã´çÀÚ + +     + <% + query = "SELECT * " + query = query & "FROM Client_people " + query = query & "WHERE c_code = '" & rsc("p_cli_company") & "' " + query = query & " AND cp_code = '" & rsc("p_cp_code") & "' " + + rsp.Open query, adoConn, 1 + %> + <%=rsp("cp_name")%> + <% + tmp_cli_depart = rsp("cp_depart") + rsp.Close + %> +
+
+ Ŭ ¶ó ÀÌ ¾ð Æ® ºÎ¼­ + +     + <%=tmp_cli_depart%> +
+
+ ºñ                   °í + +     + <%=viewword(rsc("p_memo"))%> +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¾÷                    Á¾ +     + <% + q = "SELECT * " + q = q & "FROM p_types " + q = q & "WHERE t_type = '1' " + q = q & " AND t_code1 = '" & p_types1 & "' " + q = q & "ORDER BY t_sn " + + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + %> + <%=rsp("t_name")%> + <% + end if + rsp.Close + %> + <% + if p_types1 <> "" then + %> + ,    + <% + q = "SELECT * " + q = q & "FROM p_types " + q = q & "WHERE t_type = '2' " + q = q & " AND t_code1 = '" & p_types1 & "' " + q = q & " AND t_code2 = '" & p_types2 & "' " + q = q & "ORDER BY t_sn " + + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + %> + <%=rsp("t_name")%> + <% + end if + rsp.Close + %> + <% + if p_types2 <> "" and p_types2 <> "0" then + %> + ,    + <% + q = "SELECT * " + q = q & "FROM p_types " + q = q & "WHERE t_type = '3' " + q = q & " AND t_code1 = '" & p_types1 & "' " + q = q & " AND t_code2 = '" & p_types2 & "' " + q = q & " AND t_code3 = '" & p_types3 & "' " + q = q & "ORDER BY t_sn " + + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + %> + <%=rsp("t_name")%> + <% + else + %> + ±âŸ + <% + end if + rsp.Close + %> + <% + end if 'if p_types2 <> "" then + %> + <% + end if 'if p_types1 <> "" then + %> +
+
+ Á¦    ¾È     ÀÏ    ÀÚ + +     + <%=rsc("p_prop_date")%> +
+
+ Á¶    »ç     ¹æ    ¹ý + +     + <% + q = "SELECT * " + q = q & "FROM p_method " + q = q & "WHERE code1 = '" & rsc("p_method1") & "' " + q = q & "ORDER BY name1 " + + rsp.Open q, adoConn, 1 + %> + <%=rsp("name1")%> + <% + rsp.Close + %> + + <% + q = "SELECT * " + q = q & "FROM p_method " + q = q & "WHERE code1 = '" & rsc("p_method2") & "' " + q = q & "ORDER BY name1 " + + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + %> + ,   <%=rsp("name1")%> + <% + end if + rsp.Close + %> + + <% + q = "SELECT * " + q = q & "FROM p_method " + q = q & "WHERE code1 = '" & rsc("p_method3") & "' " + q = q & "ORDER BY name1 " + + rsp.Open q, adoConn, 1 + if rsp.RecordCount > 0 then + %> + ,   <%=rsp("name1")%> + <% + end if + rsp.Close + %> +
+
+ Ç¥        º»         ¼ö + +     + <%=int(rsc("p_sample"))%> +
+
+ Á¶    »ç     ³»    ¿ë + +     + <%=rsc("p_intention")%> +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
¼±Á¤µÈ Á¶»çȸ»ç +     + +
+
¿¹»ó°¡ +     + " size="15" maxlength="15" class="number" OnKeyPress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;" OnKeyup="check_comma(this.value,'1');"> ¿ø +   + checked <% end if %> onClick="autofnc();">¸ð¸§ +
+
KRC Á¦¾È°¡ +     + " size="15" maxlength="15" class="number" OnKeyPress="if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;" OnKeyup="check_comma(this.value,'2');"> ¿ø +
+
+
»ó¼¼ÀÌÀ¯ +     + +
+
´ëÀÀ ¹æ¾È +     + +
+ + +
+ + + + + + + + + + + + + +<% +end if +rsc.Close +%> +
+ + + + +
+ <% if tmp_modi = "1" then %> + +          + +          + <% end if %> + +
+ +<% +'======================================================== +'¾÷·ÎµåµÈ ÆÄÀÏÀ» º¸¿©ÁÖ±â À§ÇÑ ·çƾ + +'Dim RootDir +Dim tmp_folder(6, 50) +Dim tmp_cont(6) + + query = "SELECT * " + query = query & "FROM project2_pre " + query = query & "WHERE sn = '" & sn & "' " + 'Response.Write query & "
" + rsp.Open query, adoConn, 1 + if rsp.RecordCount > 0 then + tmp_y = mid(rsp("p_contact_date"), 3, 2) + p_sn_tmp = rsp("p_sn_tmp") + p_upload_date = rsp("p_upload_date") + p_contact_date = rsp("p_contact_date") + end if + rsp.Close + 'Response.Write "p_upload_date : " & p_upload_date & "
" + tmp_cont(1) = "ÄÁÅÃÀÚ·á" + tmp_cont(2) = "Á¦¾ÈÀÚ·á" + tmp_cont(3) = "¿¬±¸ÀÚ·á" + tmp_cont(4) = "½Ç»çÀÚ·á" + tmp_cont(5) = "Àü»êÀÚ·á" + tmp_cont(6) = "°æ¿µÀÚ·á" + + '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 'ÆÄÀÏ ´Ù¿î·Îµå °¡´É¿©ºÎ¸¦ üũ + 'tmp_downok°¡ 1ÀÌ¸é ´Ù¿î°¡´É 0ÀÌ¸é ºÒ°¡´É + tmp_downok = 0 + '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + RootDir = "D:\project_db\data\" & tmp_y & "\" & p_sn_tmp & "\" + +if p_upload_date <> "" then + call getFolder(RootDir, 0, false, true) +end if + +'=================================================================== +' func : getFolder(°æ·Î, µª½º, ¼­ºêÆú´õ, ÆÄÀÏ) +' param : +' memo : +'=================================================================== +function getFolder(sPath, iDepth, bSonFdr, bShowFile) + Dim fso, objFolder + Dim folders, folder + Dim files, file + + Dim sSpace + sSpace = "" + + for i=0 to iDepth + sSpace = sSpace & ":tab:" + next + + + Set fso = CreateObject("Scripting.FileSystemObject") + Set objFolder = fso.GetFolder(sPath) + set fso = nothing + set folders = objFolder.SubFolders + Set files = objFolder.Files + set objFolder = nothing + For Each folder in folders + + 'ÇØ´ç Æú´õÀÇ ÆÄÀÏ + Set fso = CreateObject("Scripting.FileSystemObject") + Set objFolder = fso.GetFolder(sPath & "\" & folder.name) + set fso = nothing + Set hfiles = objFolder.Files + tmp_folder(int(left(folder.name,1)),0) = sPath & folder.name + i = 1 + For Each file in hfiles + + tmp_folder(int(left(folder.name,1)),i) = file.name + i = i + 1 + Next + + '++ ÇÏÀ§Æú´õ + if bSonFdr then + call getFolder(sPath&"\"&folder.name, iDepth+1, bSonFdr, bShowFile) + end if + Next + + '++ ÆÄÀϵµ º¸¿©Áشٸé + if bShowFile then + For Each file in files + 'response.write sSpace& "[ÆÄ]" &file.name & "
"& vbCRLF + Next + end if +end function +%> + + + + + +
+ + + + +
<%=tmp_name%> +
+ <% + for j = 1 to ubound(tmp_folder) + %> + <% if tmp_folder(j,1) <> "" then %> +
+ + + + +
+ <%=tmp_cont(j)%> + + + + +
+ <% + tmp = 0 + for i = 1 to ubound(tmp_folder,2) + if tmp_folder(j,i) <> "" then + tmp_folder(j,0) = replace(tmp_folder(j,0),"\","/") + if tmp_downok = 1 then + Response.Write "   - " & tmp_folder(j,i) & "
" + else + Response.Write "   - " & tmp_folder(j,i) & "
" + end if + tmp = 1 + end if + next + + if tmp = 0 then + Response.Write "
ÆÄÀÏÀÌ ¾ø½À´Ï´Ù
" + end if + %> +
+
+ <% end if %> + <% + next + %> +
\ No newline at end of file diff --git a/project/project_stat.asp b/project/project_stat.asp new file mode 100644 index 0000000..73736b2 --- /dev/null +++ b/project/project_stat.asp @@ -0,0 +1,900 @@ + + + + +<%'#################################################### +'ÀÎÆ®¶ó³Ý ¸ÞÀÎ +'Á¤º¸ºÐ¼®ºÎ Àüü, ÀÚ·áÁ¶»çºÎ ÆÀÀå, °ËÁõ, +' => Çö³âµµÀÇ Á¾·á ÇÁ·ÎÁ§Æ® ¸®½ºÆ®º¸À̰í, ÁøÇàÁßÀÎ ¸®½ºÆ®µµ º¸À̰ÔÇÔ + + +'ÀÚ·áÁ¶»çºÎ ÆÀ¿ø : chk_admin = "field" +' => ÆÀ¿øÀº : ÁøÇàÁßÀÎ ÇÁ·ÎÁ§Æ®Áß ÀÚ±â ÀÚ½ÅÀÌ ¹èÁ¤µÈ ÇÁ·ÎÁ§Æ®¸¸ º¸À̱â +' => ÀÚ·áÁ¶»çºÎ °è¾àÁ÷ ÆÀ¿øÀº : ÁøÇàÁßÀÎ ÇÁ·ÎÁ§Æ® ¸®½ºÆ®Áß Á÷Á¢ºñ°¡ ÀÔ·ÂµÈ ¸®½ºÆ®º¸À̱â + +''¿¬±¸ºÎ¼­ : chk_admin = "etc_buser1" +' => ÁøÇàÁßÀÎ ÇÁ·ÎÁ§Æ®Áß ÀÚ±â ÀÚ½ÅÀÌ ¹èÁ¤µÈ ÇÁ·ÎÁ§Æ®¸¸ º¸À̱â +' => ÆÀÀåÀº ÆÀ Àüü ¸®½ºÆ® º¸À̱â + + +'±âŸºÎ¼­(°æ¿µÁö¿ø½Ç) : chk_admin = "etc_buser2" +' => ¾Æ¹«°Íµµ ¾Èº¸ÀÓ(Áï, »ç¿ë±ÇÇÑ ¾øÀ½) + +''ÁøÇàÁßÀÇ Àǹ̴ ¿À´Ã³¯Â¥±îÁöÀ̰í, Á¾·áÀÇ Àǹ̴ ¿À´Ã ÀÌÀü³¯Â¥±îÁöÀÓ. + +'#################################################### +''2006³â 11¿ù 1ÀÏ Ãß°¡ºÐ +'Á¶»ç±â°£ÀÌ Á¾·áµÈ ÇÁ·ÎÁ§Æ® ¸®½ºÆ® º»ÈÄ Á÷Á¢ºñ °ü¸®·Î °¬´Ù°¡ Á÷Á¢ºñ °ü¸®¿¡¼­ ´Ù¸¥ ÇÁ·ÎÁ§Æ® ¼±Åýà +'ÇöÇØ È­¸éÀ¸·Î ¿À°Ô ¼öÁ¤(º¯¼ö url_posi Ãß°¡·Î ÇÔ) +'#################################################### +'È«±ÙÅ×½ºÆ®Àü¿ëµé ¹× °³¹ß ÇÁ·Î±×·¥µéÀ» Á¦¿ÜÇÏ´ø ·çƾ »èÁ¦ +'¿Ö³ÄÇϸé fgi¸ðÀÓÀÌ and substring(p_sn,5,3) <> '000')¿¡ °É¸®±â¿¡ +%> +<% +'Response.Cookies("krc_username") +'Response.Write "'" +'Response.Write "À§Ä¡ : ÇÁ·ÎÁ§Æ® => ÁøÇà »óȲ" + + call Time_Check(Session("Login_Check")) + + 'Response.Expires = 0 + 'Response.Buffer = false + + + + Dim Sql + dim i, j + dim u_name + dim ConDate + dim chk_admin + dim sc_year + dim sc_month + dim sc_team + dim sc_name + dim krc_team() + dim krc_team_cnt + dim prj_search_cnt + dim tmpstr + dim method + dim db_p_dp() 'dp ¹è¿­¿¡ ÀúÀå + dim prj_dp '´ã´çdp + dim line_cnt + dim dp_rank(3) 'Àü»ê ³­À̵µ + dim db_p_sv() 'sv ¹è¿­¿¡ ÀúÀå + dim prj_sv '´ã´çsv + dim max_width + dim sample_cnt '»ùÇüö + dim sv_rank(3) '½Ç»ç ³­À̵µ + dim db_p_research() '¿¬±¸ ¹è¿­¿¡ ÀúÀå + + + dp_rank(0) = "" + dp_rank(1) = "»ó" + dp_rank(2) = "Áß" + dp_rank(3) = "ÇÏ" + + sv_rank(0) = "" + sv_rank(1) = "»ó" + sv_rank(2) = "Áß" + sv_rank(3) = "ÇÏ" + + sc_year = Request.QueryString("sc_year") + sc_month = Request.QueryString("sc_month") + sc_team = Request.QueryString("sc_team") + sc_name = Request.QueryString("sc_name") + + if sc_year = "" then + sc_year = year(date) + end if + + if sc_month = "" then + sc_month = month(date) + end if + + if sc_team = "" then + sc_team="0" + end if + + sql = "select * from depart where ((d_code >0 and d_code < 11) or (d_code >= 20 and d_code <=60)) and d_yes_no = 'y' order by d_code" + Rs.open sql, adoconn,adopenstatic, adlockreadonly + krc_team_cnt = Rs.recordcount + redim krc_team(krc_team_cnt,2) + krc_team_cnt = 0 + do while not Rs.eof + krc_team_cnt = krc_team_cnt + 1 + krc_team(krc_team_cnt,1) = rs("d_code") + krc_team(krc_team_cnt,2) = rs("d_name") + Rs.movenext + loop + Rs.close + + +''/========================= +''/=========================== +''»ç¿ë±ÇÇÑ + ''ÀÚ·áÁ¶»çºÎ ÆÀÀå(ºÎ¼­:12), Á¤º¸ºÐ¼®ºÎ(ºÎ¼­:11), °æ¿µÁö¿ø½Ç(ºÎ¼­:13),ÀÓ¿ø(ºÎ¼­ 0Àº ÀÓ¿ø) + ''2011³â 1¿ù 7ÀÏ·Î ´Ù½Ã º¯°æ + 'ÀÚ·áÁ¶»çºÎ ÆÀÀå(ºÎ¼­:12), Á¤º¸½Ã½ºÅÛºÎ(17). °æ¿µÀü·«½Ç(ºÎ¼­:18),ÀÓ¿ø(ºÎ¼­ 0Àº ÀÓ¿ø) + if ( Session("Depart_Code") = "12" and Session("admin_Code") = "1") or Session("Depart_Code") = "17" or Session("Depart_Code") = "18" or Session("Depart_Code") = "0" then + chk_admin="admin" + max_width = 1000 + elseif Session("Depart_Code") = "12" then 'ÀÚ·áÁ¶»çºÎ + chk_admin="field" + max_width = 870 + elseif cint(Session("Depart_Code")) <= 10 or (cint(Session("Depart_Code")) >= 20 and cint(Session("Depart_Code")) <=60) then '¿¬±¸ºÎ¼­ + chk_admin = "etc_buser1" + max_width = 870 + else '°æ¿µÁö¿ø½Ç + chk_admin = "etc_buser2" + end if + + + + max_width = 1050 +''/========================= +''/=========================== + + ConDate=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2) + Sql = "select p_name from person where p_no ='" & Session("user_number") & "'" + Rs.open sql, adoconn,adopenstatic, adlockreadonly + u_name = Rs.fields("p_name") + Rs.close + +''/=========================== +''/=========================== + +'p_job_part => 0:ÀÓ¿ø, 1:¿¬±¸, 2:Á¦ÀÛ, 3:s/v, 4:°ËÁõ, 5:ÄÚµù, 6:ÆÝÄ¡, 7:dp, 8:it, 9:ȸ°è, 99:±âŸ +''/=========================== + 'Person Å×ÀÌºí¿¡¼­ DP ¾÷¾î¿À±â + sql = "SELECT * " + sql = sql & "FROM Person " + sql = sql & "WHERE (p_depart='17' AND p_resign='0' and p_job_part = '07')" 'Àü»êÀÇ dp + sql = sql & "OR (p_depart='88' AND p_resign='0') " '±âŸ + sql = sql & "order by p_order " + adoRs.open sql, adoconn,adopenstatic, adlockreadonly + redim db_p_dp(adoRs.recordcount,3) + i=0 + db_p_dp(i,1) = "0" + db_p_dp(i,2) = "= ¼±Åà =" + do until adoRs.eof + i=i+1 + db_p_dp(i,1) = trim(adoRs("p_no")) + db_p_dp(i,2) = trim(adoRs("p_name")) + adoRs.movenext + loop + adoRs.close + +''/=========================== + 'Person Å×ÀÌºí¿¡¼­ sv ¾÷¾î¿À±â + sql = "select * from person " + sql = sql & "where ( p_depart='12' AND p_resign='0')" 'svand p_job_part = '03' + sql = sql & " OR (p_depart='88' AND p_resign='0') " '±âŸ + sql = sql & " order by p_order " + + adoRs.open sql, adoconn,adopenstatic, adlockreadonly + redim db_p_sv(adoRs.recordcount,3) + i=0 + db_p_sv(i,1) = "0" + db_p_sv(i,2) = "= ¼±Åà =" + do until adoRs.eof + i=i+1 + db_p_sv(i,1) = trim(adoRs("p_no")) + db_p_sv(i,2) = trim(adoRs("p_name")) + adoRs.movenext + loop + adoRs.close + + +''/=========================== + 'Person Å×ÀÌºí¿¡¼­ ¿¬±¸¿ø ¾÷¾î¿À±â(Åð»çÀÚ Æ÷ÇÔ) + sql = "select * from person " + sql = sql & "where ((p_depart <='10' or (p_depart >= 20 and p_depart <= 95)) and p_job_part = '01')" '¿¬±¸¿ø + sql = sql & " OR (p_depart='88' ) " '±âŸ + sql = sql & " order by p_order " + + adoRs.open sql, adoconn,adopenstatic, adlockreadonly + redim db_p_research(adoRs.recordcount,3) + i=0 + db_p_research(i,1) = "0" + db_p_research(i,2) = "= ¼±Åà =" + do until adoRs.eof + i=i+1 + db_p_research(i,1) = trim(adoRs("p_no")) + db_p_research(i,2) = trim(adoRs("p_name")) + adoRs.movenext + loop + adoRs.close + + %> + + + + + + +<%''//================================ +''//================================ +'±Ý¹ø´Þ Á¾·á ÇÁ·ÎÁ§Æ® ¸ñ·Ï + sql ="" + line_cnt=0 +' if chk_admin = "admin" then +%> + + + + + + + +
+ + + + + + +
+ + ¡Ø Á¶»ç ±â°£ÀÌ Á¾·áµÈ ÇÁ·ÎÁ§Æ® Á¶È¸ ¡Ø °Ë»ö Á¶°ÇÀ» ¼±ÅÃÇϼ¼¿ä. + +
+ + + + +
+ ³âµµº°: + +    + Á¶»ç½ÃÀÛ¿ù: + +    + º»ºÎº°: + +    + ÇÁ·ÎÁ§Æ®¸í : + +    +   +
+ <%'end if' if chk_admin = "admin" then + + + sql = "SELECT a.*, " + sql = sql & " b.p_order AS p_order " + sql = sql & "FROM dbo.project a LEFT OUTER JOIN " + + if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then + sql = sql & " dbo.person b ON a.p_dper = b.p_no " + elseif Session("Depart_Code") = "12" or Session("Depart_Code") = "16" then + sql = sql & " dbo.person b ON a.p_sv = b.p_no " + else + sql = "select * from project as a " + end if + + sql = sql & "where p_field_end < '" & ConDate & "'" ' and substring(p_field_end,1,7) = '" & mid(condate,1,7) & "'" +' sql = sql & " and substring(p_sn,5,3) <> '000' " 'È«±ÙÅ×½ºÆ®Àü¿ëµé ¹× °³¹ß ÇÁ·Î±×·¥µé + if sc_month <> "0" and sc_month <> "" then + '¿øº» + '2005-09-27 Çʵ彺ŸƮ ³¯Â¥ÀÇ ¿ùº° °Ë»öÀ¸·Î º¯°æ(p_field_st) + sql = sql & " and substring(p_field_end,1,4) = '" & zeroformat(sc_year,4) & "'" '³âº° + sql = sql & " and substring(p_field_end,6,2) = '" & zeroformat(sc_month,2) & "'" '¿ùº° + else + sql = sql & " and substring(p_field_end,1,4) = '" & zeroformat(sc_year,4) & "'" '³âº° + end if + if sc_team <> "0" and sc_team <> "" then + sql = sql & " and a.p_depart_dep='" & sc_team & "'" 'ÆÀº° + end if + if sc_name <> "" then + sql = sql & " and a.p_subject like '%" & sc_name & "%'" 'ÇÁ·ÎÁ§Æ®À̸§º° + end if +''·Î±×ÀÎ »ç¿ëÀÚº° ±ÇÇÑÁÖ±â.. +'¿¬±¸ÆÀÀåÀº ÇØ´ç ºÎ¼­ÀÇ ÀüüÀÇ °Í +'¿¬±¸ÆÀ¿øÀº ÀÚ±â ÀÚ½ÅÀÇ °Í¸¸ +'ÀÚ·áÁ¶»çºÎ, Á¤º¸ºÐ¼®ºÎ ÆÀÀå/ÆÀ¿øÀº ¸ðµÎ +'ÀÚ·áÁ¶»çºÎ ÆÀ¿øÀº ÀÚ±â ÀÚ½ÅÀÇ °Í¸¸ +' + if chk_admin = "etc_buser1" then '¿¬±¸ºÎ¼­ + sql = sql & " and substring(p_sn,5,1) = '" & cint(Session("Depart_Code")) & "' " 'Àڱ⠺μ­¸¸ + if Session("admin_Code") <> "True" then 'ÆÀÀåÀÌ ¾Æ´Ï¸é ¿¬±¸¿ø ÀÚ½ÅÀÇ À̸§ÀÌ µé¾î°£ ¸ðµç ÇÁ·ÎÁ§Æ® + sql = sql & "and (" + sql = sql & "p_rsch_1 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_2 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_3 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_4 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_5 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_6 = '" & Session("user_number") & "' " + sql = sql & ") " + end if + elseif chk_admin = "field" then 'ÀÚ·áÁ¶»ç + end if + + sql = sql & " and (substring(p_sn,1,2) <> '08') " + + if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then + sql = sql & " order by p_order, p_field_end, p_subject"' p_dper,p_name, p_field_end" + elseif Session("Depart_Code") = "12" or Session("Depart_Code") = "16" then + sql = sql & " order by p_sv, p_field_end" + else + sql = sql & " order by p_subject " + end if + Rs.open sql, adoconn,adopenstatic, adlockreadonly + prj_search_cnt = Rs.recordcount + + tmpstr= sc_year & "³â " + if cint(sc_month) > 0 then + tmpstr = tmpstr & sc_month & "¿ù " + end if + if cint(sc_team) > 0 then + for i = 1 to krc_team_cnt + if cint(krc_team(i,1)) = cint(sc_team) then + tmpstr = tmpstr & krc_team(i,2) + exit for + end if + next + end if + %> + + + + + + + +
 ¡ß <%=Response.Write (u_name)%>´Ô <%=condate%> ÀÏ ÇöÀç (Á¶°Ç:<%=tmpstr%>) Á¾·á ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀÔ´Ï´Ù.(<%=prj_search_cnt%>°³) +
+
+ + + + + + + + + + + + + + + +
ÇÁ·ÎÁ§Æ®¸íÁ¶»ç³»¿ëÁ¶»ç¹æ¹ý»ùÇüö´ã´ç¿¬±¸´ã´çÀü»ê´ã´çSV½Ç»ç½ÃÀÛÀϽǻçÁ¾·áÀÏÆÝÄ¡Á¾·áÀÏÁ÷Á¢ºñ
°ü¸®
Á÷Á¢ºñ
+
+ +
+ + <% if Rs.recordcount<1 then %> + + + + + + <% else + + prj_dp = "" + for i=0 to ubound(db_p_dp) + db_p_dp(i,3) = 0 + next + for i=0 to ubound(db_p_sv) + db_p_sv(i,3) = 0 + next + for i=0 to ubound(db_p_research) + db_p_research(i,3) = 0 + next + tmp_bgcolor="#dbe9f2" + do until Rs.EOF + line_cnt = line_cnt + 1 + method = Rs("p_method") + sql = "select * from p_method where code1 = '" & method & "'" + ' Response.Write sql + ' Response.Write RS("p_sn") + AdoRs.open sql, adoconn,adopenstatic, adlockreadonly + method = adors("name1") + AdoRs.close + + tmpstr = "Á¶»ç¹æ¹ý : " & method & "
" + tmpstr = tmpstr & "Á¶»ç³»¿ë : " & Rs("p_intention") + sample_cnt = rs("p_sample") + + if tmp_bgcolor="" then + tmp_bgcolor="#dbe9f2" + else + tmp_bgcolor="" + end if + %> + + + + + + <%''´ã´ç ¿¬±¸¿ø + tmpstr=" " + for i=0 to ubound(db_p_research) + if db_p_research(i,1) = rs("p_rsch_1") then + tmpstr = db_p_research(i,2) + db_p_research(i,3) = cint(db_p_research(i,3)) + 1''¿¬±¸ ´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå + end if + next + if tmpstr=" " then 'ÅðÁ÷ÀÚ Ã£±â + sql = "SELECT * " + sql = sql & "FROM Person " + sql = sql & "WHERE ( p_resign='1' )" + sql = sql & " and p_no = '" & rs("p_rsch_1") & "'" + sql = sql & "order by p_order " + AdoRs.Open sql, adoConn, 1%> + <% + if AdoRs.recordcount > 0 then + %> + <%tmpstr = AdoRs("p_name")%> + <% + end if + %> + <%AdoRs.Close + end if%> + + + <%''´ã´ç Àü»ê + tmpstr=" " + for i=0 to ubound(db_p_dp) + if db_p_dp(i,1) = rs("p_dper") then + tmpstr = db_p_dp(i,2) + db_p_dp(i,3) = cint(db_p_dp(i,3)) + 1''dp´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå + end if + next + if tmpstr=" " and trim(rs("p_dper")) <> "" then 'ÅðÁ÷ÀÚ Ã£±â + sql = "SELECT * " + sql = sql & "FROM Person " + ' sql = sql & "WHERE ( p_resign='1' )" + sql = sql & "WHERE p_no = '" & rs("p_dper") & "'" + sql = sql & " order by p_order " + AdoRs.Open sql, adoConn, 1 + %> + <%prj_dp = AdoRs("p_name")%> + <%AdoRs.Close + else + prj_dp = tmpstr '´ã´çdp + end if + %> + + <%''´ã´ç sv + tmpstr=" " + for i=0 to ubound(db_p_sv) + if db_p_sv(i,1) = rs("p_sv") then + tmpstr = db_p_sv(i,2) + db_p_sv(i,3) = cint(db_p_sv(i,3)) + 1''sv ´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå + end if + next + if tmpstr=" " and trim(rs("p_sv")) <> "" then 'ÅðÁ÷ÀÚ Ã£±â + sql = "SELECT * " + sql = sql & "FROM Person " + sql = sql & "WHERE ( p_resign='1' )" + sql = sql & " and p_no = '" & rs("p_sv") & "'" + sql = sql & " order by p_order " + AdoRs.Open sql, adoConn, 1 + if isnull(AdoRs("p_name")) then + tmpstr = "" + else + tmpstr = AdoRs("p_name") + end if + AdoRs.Close + end if + %> + + + + + + + + + <% + Rs.movenext + loop + end if ' if Rs.recordcount<1 then + Rs.Close + %> + + + + + + + +<%''//================================ +''//================================ +''ÇöÀç ÁøÇàÁßÀÎ ÇÁ·ÎÁ§Æ® ¸ñ·Ï(°è¾à »óÅ·Π) +''//================================ +''//================================ + sql = "" + if chk_admin = "admin" then + sql = "SELECT a.*, " + sql = sql & " b.p_order AS p_order " + sql = sql & "FROM dbo.project a LEFT OUTER JOIN " + if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then + sql = sql & " dbo.person b ON a.p_dper = b.p_no " + elseif Session("Depart_Code") = "12" or Session("Depart_Code") = "16" then + sql = sql & " dbo.person b ON a.p_sv = b.p_no " + else + sql = "select * from project " + end if + sql = sql & "where (( p_field_end >= '" & ConDate & "')" +' sql = sql & " and substring(p_sn,5,3) <> '000') " 'È«±ÙÅ×½ºÆ®Àü¿ëµé ¹× °³¹ß ÇÁ·Î±×·¥µé + sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "' ) "' and substring(p_sn,5,3) <> '000') " '½Ç»ç±â°£ÀÌ ¾ø´Â °Í + sql = sql & " ) " + if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then +' sql = sql & " order by p_order, a.p_field_end, a.p_subject"' p_dper,p_name, p_field_end" + sql = sql & " order by p_order, a.p_subject, p_field_end" + elseif Session("Depart_Code") = "12" then + sql = sql & " order by p_order, p_subject" + else + sql = sql & " order by p_subject" + end if + + elseif chk_admin = "field" then 'ÀÚ·áÁ¶»çºÎ ÆÀ¿ø + sql = "select * from project where ((p_sv = '" & Session("user_number") & "' and p_field_end >= '" & ConDate & "') " + sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "')"' and substring(p_sn,5,3) <> '000') " '½Ç»ç±â°£ÀÌ ¾ø´Â °Í + sql = sql & " ) " + sql = sql & " order by p_subject" + elseif chk_admin = "etc_buser1" then '¿¬±¸ºÎ¼­ + if Session("admin_Code") ="True" or Session("admin_Code") = "1" then 'ºÎ¼­ÀåÀ̸é + sql = "select * " + sql = sql & "from project " + sql = sql & " where (((p_field_end >= '" & ConDate & "')"' + sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "'))"' + sql = sql & " and substring(p_sn,5,1) = '" & Session("Depart_Code") & "'" + sql = sql & " ) " + sql = sql & " order by p_subject" + else + sql = "select *" + sql = sql & " from project " + sql = sql & " where ( " + sql = sql & "p_rsch_1 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_2 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_3 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_4 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_5 = '" & Session("user_number") & "' or " + sql = sql & "p_rsch_6 = '" & Session("user_number") & "' " + sql = sql & ") " + sql = sql & " and ( " + sql = sql & " p_field_end >= '" & ConDate & "'" +' sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "') "' and substring(p_sn,5,3) <> '000') " '½Ç»ç±â°£ÀÌ ¾ø´Â °Í + sql = sql & " ) " + sql = sql & " order by p_subject" + end if + elseif chk_admin = "etc_buser2" then 'Á¤º¸ºÐ¼®ºÎ, ÀÚ·áÁ¶»çºÎ, ¿¬±¸ºÎ¼­¸¦ Á¦¿ÜÇÑ ³ª¸ÓÁöÆÀ, Áï °æ¿µÁö¿ø½Ç + alert2("»ç¿ë±ÇÇÑÀÌ ¾ø½À´Ï´Ù") + end if + + Rs.open sql, adoconn,adopenstatic, adlockreadonly + prj_search_cnt = Rs.recordcount + if chk_admin <> "etc_buser" then%> + + <% if chk_admin = "admin" then %> + + + + + + + <% if Rs.recordcount<1 then %> + + + + + + <% else %> + <% 'line_cnt = 0 + prj_dp = "" + for i=0 to ubound(db_p_dp) + db_p_dp(i,3) = 0 + next + for i=0 to ubound(db_p_sv) + db_p_sv(i,3) = 0 + next + for i=0 to ubound(db_p_research) + db_p_research(i,3) = 0 + next + tmp_bgcolor="#dbe9f2" + do until Rs.EOF + line_cnt = line_cnt + 1 + method = Rs("p_method") + if trim(method ) <> "" then + sql = "select * from p_method where code1 = " & method + AdoRs.open sql, adoconn,adopenstatic, adlockreadonly + method = adors("name1") + AdoRs.close + else + method = " " + end if + + tmpstr = "Á¶»ç¹æ¹ý : " & method & "
" + tmpstr = tmpstr & "Á¶»ç³»¿ë : " & Rs("p_intention") + sample_cnt = rs("p_sample") + if tmp_bgcolor="" then + tmp_bgcolor="#dbe9f2" + else + tmp_bgcolor="" + end if + + %> + + + + + + <%''´ã´ç ¿¬±¸¿ø + tmpstr=" " + for i=0 to ubound(db_p_research) + if db_p_research(i,1) = rs("p_rsch_1") then + tmpstr = db_p_research(i,2) + db_p_research(i,3) = cint(db_p_research(i,3)) + 1''¿¬±¸ ´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå + end if + next%> + + <%''´ã´ç Àü»ê + tmpstr=" " + for i=0 to ubound(db_p_dp) + if db_p_dp(i,1) = rs("p_dper") then + tmpstr = db_p_dp(i,2) + db_p_dp(i,3) = cint(db_p_dp(i,3)) + 1''dp´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå + end if + next + prj_dp = tmpstr '´ã´çdp + %> + + <%''´ã´ç sv + tmpstr=" " + for i=0 to ubound(db_p_sv) + if db_p_sv(i,1) = rs("p_sv") then + tmpstr = db_p_sv(i,2) + db_p_sv(i,3) = cint(db_p_sv(i,3)) + 1''sv ´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå + end if + next + prj_sv = tmpstr + %> + + + + + + + + + <% + Rs.movenext + loop + end if 'if Rs.recordcount<1 then + Rs.Close + %> +
ÇöÀç ¿Ï·áµÈ ÇÁ·ÎÁ§Æ®°¡ ¾ø½À´Ï´Ù.
+
<%=Rs("p_subject")%><%=replace(csformat(Rs("p_intention"),30)," ","")%> + <%i = cint(instr(1,method,"(")) + if i > 0 then + tmpstr = mid(method,1,i - 1) + else + tmpstr = method + end if + Response.Write tmpstr + %> + <%=formatnumber(sample_cnt,0)%><%=tmpstr%><%=prj_dp%><%=tmpstr%><%=Rs("p_field_st")%><%=Rs("p_field_end")%><%=Rs("P_punch_end")%> + <% + tmpstr = default_path_root & "inspection/project_direct_cost.asp?url_posi=project_stat&p_sn=" & RS("p_sn") & "&p_method=" & Rs("p_method") + if tmpstr = "ÇØ´çÇÁ·ÎÁ§Æ®¿¡ Á¶»ç¹æ¹ýÀÌ µî·ÏµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù" then%> + °ü ¸® + <%else + if cint(Session("Depart_Code") ) < 11 or (cint(Session("Depart_Code") ) >= 20 and cint(Session("Depart_Code") ) <=60) then '¿¬±¸ºÎ¼­À̸é + tmpstr = tmpstr & "&printmode=1"%> + °ü¸® + <%else + ' tmpstr = tmpstr & "&url_posi=project_stat" + tmpstr = tmpstr & "&sc_year=" & sc_year + tmpstr = tmpstr & "&sc_month=" & sc_month + tmpstr = tmpstr & "&sc_team=" & sc_team + tmpstr = tmpstr & "&sc_name=" & sc_name%> + °ü¸® + <%end if + %> + + <%end if%> + + + <%if not isnull(rs("p_esti_cost")) then%> + <%=formatnumber(rs("p_esti_cost"),0)%> + <%end if%> +     +
+ <%'dp´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå º¸¿©ÁÖ±â + if ((Session("Depart_Code") = "15" or Session("Depart_Code") = "17") and Session("admin_Code") = "1") then 'Àü»êÆÀÀå %> + > + + + <%for i = 1 to ubound(db_p_dp)%> + + <%next%> + +
´ã´ç DP º° Á¾·á °¹¼ö(Àü»êÆÀÀ常º¸ÀÓ) + <%=db_p_dp(i, 2)%> => <%=db_p_dp(i, 3)%> °³ +
+ <%end if%> +
 ¡ß <%=Response.Write (u_name)%>´Ô ÇöÀç °è¾à »óÅ·Π½Ç»çÁßÀÎ ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀÔ´Ï´Ù. + <% else%> +  ¡ß <%=Response.Write (u_name)%>´ÔÀÇ ÇöÀç °è¾à »óÅ·ΠÁøÇà Áß ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀÔ´Ï´Ù. + <% end if %> + ½Ç»ç±â°£ÀÌ ¿À´Ã³¯Â¥ Æ÷ÇÔ : <%=prj_search_cnt%>°³(½Ç»çÁ¾·áÀÏÀÌ Áö³­°ÍÀº º¸ÀÌÁö ¾ÊÀ½)
+  ¡ß ´ã´çSV, ´ã´çDP°¡ ÁöÁ¤µÇÁö ¾ÊÀº ÇÁ·ÎÁ§Æ®´Â ¸ðµç Á÷¿ø¿¡°Ô º¸ÀÔ´Ï´Ù. +
°è¾àÀ¸·Î µî·ÏµÈ ÇÁ·ÎÁ§Æ® Áß ½Ç»ç°¡ ÇöÀç ÁøÇàÁßÀ̰ųª, ÁøÇà ¿¹Á¤ÀÎ ÇÁ·ÎÁ§Æ® ¸ñ·ÏÀÔ´Ï´Ù.
ÇöÀç ÁøÇàÁßÀÎ ÇÁ·ÎÁ§Æ®°¡ ¾ø½À´Ï´Ù.
+
<%=Rs("p_subject")%><%=replace(csformat(Rs("p_intention"),30)," ","")%> + <%i = cint(instr(1,method,"(")) + if i > 0 then + tmpstr = mid(method,1,i - 1) + else + tmpstr = method + end if + Response.Write tmpstr + %> + <%=formatnumber(sample_cnt,0)%><%=tmpstr%><%=prj_dp%><%=prj_sv%><%=Rs("p_field_st")%><%=Rs("p_field_end")%><%=Rs("P_punch_end")%> + <% + tmpstr = Rs("p_method") + if trim(tmpstr) <> "" then + tmpstr = default_path_root & "inspection/project_direct_cost.asp?url_posi=project_stat&p_sn=" & RS("p_sn") & "&p_method=" & Rs("p_method") + if tmpstr = "ÇØ´çÇÁ·ÎÁ§Æ®¿¡ Á¶»ç¹æ¹ýÀÌ µî·ÏµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù" then%> + °ü¸® + <%else + if cint(Session("Depart_Code") ) < 11 or (cint(Session("Depart_Code") ) >= 20 and cint(Session("Depart_Code") ) <=60) then '¿¬±¸ºÎ¼­À̸é + tmpstr = tmpstr & "&printmode=1"%> + °ü¸® + <%else + ' tmpstr = tmpstr & "&url_posi=project_stat" + tmpstr = tmpstr & "&sc_year=" & sc_year + tmpstr = tmpstr & "&sc_month=" & sc_month + tmpstr = tmpstr & "&sc_team=" & sc_team + tmpstr = tmpstr & "&sc_name=" & sc_name%> + °ü¸® + <%end if + %> + <%end if + else%> + °ü¸® + <%end if%> + + + <%if not isnull(rs("p_esti_cost")) then%> + <%=formatnumber(rs("p_esti_cost"),0)%> + <%end if%> +     +
+
+ + <%'dp´ã´çº° ÇÁ·ÎÁ§Æ® °¹¼ö Ä«¿îµå º¸¿©ÁÖ±â + if ((Session("Depart_Code") = "15" or Session("Depart_Code") = "17") and Session("admin_Code") = "1") then 'Àü»êÆÀÀå %> + + + + <%for i = 1 to ubound(db_p_dp)%> + + <%next%> + +
´ã´ç DP º° ÁøÇàÁß °¹¼ö(Àü»êÆÀÀ常º¸ÀÓ) + <%=db_p_dp(i, 2)%> => <%=db_p_dp(i, 3)%> °³ +
+ <%end if%> + + <%end if 'if chk_admin <> "etc_buser" then%> +
+
+ + + +
+ + + +<% %> diff --git a/project/project_state_search_2014.asp b/project/project_state_search_2014.asp new file mode 100644 index 0000000..3efd247 --- /dev/null +++ b/project/project_state_search_2014.asp @@ -0,0 +1,462 @@ + +<% +dim command +command = Request("command") +if command <> "excel" then +%> + + +
+ +
+

ÇÁ·ÎÁ§Æ® ÇöȲ ´Ù¿î·Îµå

+
+ + +
+
+
+
+
+<% +End If + +p_decide_date_st = Mid(replace(request("p_decide_date_st"),"-",""),3,4) +p_decide_date_ed = Mid(replace(request("p_decide_date_ed"),"-",""),3,4) + +s = request("s") + +if command = "excel" then + new_end_date = Request.Form("new_end_date") + Response.ContentType = "application/vnd.ms-excel" + Response.AddHeader "Content-Disposition","attachment;filename=ÇÁ·ÎÁ§Æ® ¸®½ºÆ®.xls" + st_date2 = Request.Form("txt_st_date2") + end_date2 = Request.Form("txt_end_date2") +end if + %> +
+ <%if command <> "excel" then 'excel export[3] %> + + + + + + + +
ÀԷ±Ⱓ + "> + +   ~   + "> + + ºÎ¼­ + + +
+ <%end if 'excel export[3] %> + + + <% 'ÇÁ·ÎÁ§Æ® °Ë»ö ÇßÀ»¶§ + if request("s") = 1 then + '====================================================== + query = " SELECT A.*, TSA1.count as file1, TSA2.count as file2, TSA3.count as file3, TSA4.count as file4, TSA5.count as file5, " + query = query & " TSA6.count as file6, TSA7.count as file7, TSA8.count as file8, TSA9.count as file9 " + query = query & " FROM ( " + query = query & " SELECT D.d_name as p_depart, tpm.p_rsch_dept, TPM.p_sn as p_sn, tpm.p_child_sn, TPB.p_subject as p_subject, " + query = query & " TCC.p_cli_company_nm as p_cli_company, TCTC.p_client_type_nm, TPM.p_intention, " + query = query & " CASE " + query = query & " WHEN TPM.p_con_date_st IS NULL THEN CONVERT(VARCHAR(10),TPB.p_con_date_st,23) " + query = query & " WHEN TPM.p_con_date_st = '' THEN CONVERT(VARCHAR(10),TPB.p_con_date_st,23) " + query = query & " ELSE TPM.p_con_date_st " + query = query & " END AS p_con_date_st, " + query = query & " CASE " + query = query & " WHEN TPM.p_con_date_end IS NULL THEN CONVERT(VARCHAR(10),TPB.p_con_date_end,23) " + query = query & " WHEN TPM.p_con_date_end = '' THEN CONVERT(VARCHAR(10),TPB.p_con_date_end,23) " + query = query & " ELSE TPM.p_con_date_end " + query = query & " END AS p_con_date_end, " + query = query & " CASE " + query = query & " WHEN TPM.p_cont_cost IS NULL THEN CONVERT(VARCHAR(10),TPB.p_cont_cost,23) " + query = query & " WHEN TPM.p_cont_cost = '' THEN CONVERT(VARCHAR(10),TPB.p_cont_cost,23) " + query = query & " ELSE TPM.p_cont_cost " + query = query & " END AS p_cont_cost, " + query = query & " CASE " + query = query & " WHEN TPM.p_sub_type = 'M' THEN TCCD1.c_code_name " + query = query & " WHEN TPM.p_sub_type = 'C' THEN TCCD2.c_code_name " + query = query & " END AS p_export_range, " + query = query & " DC1.est_money, " + query = query & " CASE " + query = query & " WHEN TPM.p_sub_type = 'M' THEN ROUND(dc2.est_money/convert(float,TPB.p_cont_cost)*100,2) " + query = query & " WHEN TPM.p_sub_type = 'C' THEN ROUND(dc1.est_money/convert(float,TPM.p_cont_cost)*100,2) " + query = query & " END AS total_rate, " + query = query & " DC1.act_money, TPMC.p_method_nm, TCCD3.c_code_name as p_sur_area, TCCD4.c_code_name as p_sur_target, " + query = query & " TPM.p_sample, p_research_date_st, p_research_date_end, TCCD5.c_code_name as p_sur_part, " + query = query & " p1.p_name as p_rsch_1_a, p2.p_name as p_rsch_2_a, p3.p_name as p_rsch_3_a, p4.p_name as p_rsch_4_a, " + query = query & " p5.p_name as p_rsch_1_b, p6.p_name as p_rsch_2_b, p7.p_name as p_rsch_3_b, p8.p_name as p_rsch_4_b, " + query = query & " p9.p_name as p_rsch_1_c, p10.p_name as p_rsch_2_c, p11.p_name as p_rsch_3_c, p12.p_name as p_rsch_4_c, " + query = query & " p13.p_name as p_sv_1, p14.p_name as p_sv_2, p15.p_name as p_sv_3, p16.p_name as p_sv_4, " + query = query & " p17.p_name as p_verify_1, p18.p_name as p_verify_2, p19.p_name as p_code_1, p20.p_name as p_code_2, " + query = query & " p21.p_name as p_dp_1, p22.p_name as p_dp_2, p23.p_name as p_it_1, p24.p_name as p_it_2, " + query = query & " p_rsch_date_st, p_rsch_date_end, p_field_date_st, p_field_date_end " + query = query & " FROM T_PROJECT_METHOD TPM LEFT OUTER JOIN T_PROJECT_BASE TPB ON TPM.p_sn = TPB.p_sn " + query = query & " LEFT OUTER JOIN Depart D ON TPB.p_depart_dep = D.d_code /* ºÎ¼­ÄÚµå */ " + query = query & " LEFT OUTER JOIN T_PROJECT_METHOD_CD TPMC ON TPM.p_method_cd = TPMC.p_method_cd /* Á¶»ç¹æ¹ý À̸§ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN V_CLIENT_COMP TCC ON TPB.p_cli_company_cd = TCC.p_cli_company_cd /* ȸ»çÄÚµå ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_CLIENT_TYPE_CD TCTC ON TPB.p_client_type_cd = TCTC.p_client_type_cd /* ȸ»çÄÚµå ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD1 ON TCCD1.c_kind_code = '011' AND TPB.p_export_range = TCCD1.c_common_code /* ¿ë¿ª¹üÀ§ MÀÏ °æ¿ì ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD2 ON TCCD2.c_kind_code = '011' AND TPM.p_export_range = TCCD2.c_common_code /* ¿ë¿ª¹üÀ§ CÀÏ °æ¿ì ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT p_child_sn, SUM(convert(float,est_money)) as est_money, SUM(convert(float,act_money)) as act_money " + query = query & " FROM direct_cost " + query = query & " WHERE del_yes_no = 'NO' " + query = query & " AND hangmok NOT IN ('¸Þ¸ð','¸Þ¸ð_°æ¿µÁö¿ø½Ç') " + query = query & " AND p_child_sn IS NOT NULL " + query = query & " GROUP BY p_child_sn " + query = query & " ) DC1 ON TPM.p_child_sn = dc1.p_child_sn /* Á¶»ç¹æ¹ýº°·Î ¿¹»óÁ÷Á¢ºñ, ½ÇÁ¦Á÷Á¢ºñ ÇÕ»êÇϱâ À§ÇÑ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT p_sn, SUM(convert(money,est_money)) as est_money, SUM(convert(money,act_money)) as act_money " + query = query & " FROM direct_cost " + query = query & " WHERE del_yes_no = 'NO' " + query = query & " AND hangmok NOT IN ('¸Þ¸ð','¸Þ¸ð_°æ¿µÁö¿ø½Ç') " + query = query & " AND p_child_sn IS NOT NULL " + query = query & " AND p_child_sn LIKE '%M%' " + query = query & " GROUP BY p_sn " + query = query & " ) DC2 ON TPM.p_sn = dc2.p_sn /* MÀÏ °æ¿ì ¿¹»óÁ÷Á¢ºñ¸¦ P_SNÀ¸·Î ÇÕ»êÇϱâ À§ÇÑ ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD3 ON TCCD3.c_kind_code = '012' AND TPM.p_sur_area = TCCD3.c_common_code /* Á¶»çÁö¿ª ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD4 ON TCCD4.c_kind_code = '013' AND TPM.p_sur_target = TCCD4.c_common_code /* Á¶»ç´ë»ó ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN T_COMMON_CODE_DETAIL TCCD5 ON TCCD5.c_kind_code = '014' AND TPM.p_sur_part = TCCD5.c_common_code /* Á¶»çºÐ·ù ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p1 ON TPM.p_rsch_1_a = p1.p_no /* ±âȹ1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p2 ON TPM.p_rsch_2_a = p2.p_no /* ±âȹ2 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p3 ON TPM.p_rsch_3_a = p3.p_no /* ±âȹ3 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p4 ON TPM.p_rsch_4_a = p4.p_no /* ±âȹ4 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p5 ON TPM.p_rsch_1_b = p5.p_no /* ½Ç»ç°ü¸®1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p6 ON TPM.p_rsch_2_b = p6.p_no /* ½Ç»ç°ü¸®2 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p7 ON TPM.p_rsch_3_b = p7.p_no /* ½Ç»ç°ü¸®3 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p8 ON TPM.p_rsch_4_b = p8.p_no /* ½Ç»ç°ü¸®4Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p9 ON TPM.p_rsch_1_c = p9.p_no /* º¸°í¼­1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p10 ON TPM.p_rsch_2_c = p10.p_no /* º¸°í¼­2 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p11 ON TPM.p_rsch_3_c = p11.p_no /* º¸°í¼­3 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p12 ON TPM.p_rsch_4_c = p12.p_no /* º¸°í¼­4 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p13 ON TPM.p_sv_1 = p13.p_no /* ½Ç»ç1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p14 ON TPM.p_sv_2 = p14.p_no /* ½Ç»ç2 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p15 ON TPM.p_sv_3 = p15.p_no /* ½Ç»ç3 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p16 ON TPM.p_sv_4 = p16.p_no /* ½Ç»ç4 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p17 ON TPM.p_verify_1 = p17.p_no /* °ËÁõ1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p18 ON TPM.p_verify_2 = p18.p_no /* °ËÁõ2 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p19 ON TPM.p_code_1 = p19.p_no /* ÄÚµù/ÆÝÄ¡1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p20 ON TPM.p_code_2 = p20.p_no /* ÄÚµù/ÆÝÄ¡2 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p21 ON TPM.p_dp_1 = p21.p_no /* DP1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p22 ON TPM.p_dp_2 = p22.p_no /* DP2 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p23 ON TPM.p_it_1 = p23.p_no /* IT1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " LEFT OUTER JOIN person p24 ON TPM.p_it_2 = p24.p_no /* IT1 Âü¿©Àοø ¸ÊÇÎ */ " + query = query & " WHERE p_progress_status > 007 " + query = query & " " + query = query & " UNION " + query = query & " " + query = query & " SELECT D.d_name as p_depart, p.p_depart_dep, p.p_sn, '' as p_child_sn, p.p_subject, c.c_name as c_cli_company, " + query = query & " ct.c_type_name as c_client_type_nm, p_intention, p_convdate_st as p_con_date_st, p_convdate_end as p_con_date_end, " + query = query & " p_budget as p_cont_cost, '' as p_export_range, (p.p_esti_cost + p_esti_cost_research) as est_money, " + query = query & " CASE " + query = query & " WHEN p_budget = '0' THEN 0 " + query = query & " ELSE ROUND((CONVERT(FLOAT,p.p_esti_cost)+p_esti_cost_research)/p_budget*100,2) " + query = query & " END AS total_rate, " + query = query & " p_real_cost, pm.name1 as p_method_nm, " + query = query & " p.p_area as p_sur_area, p.p_target_text as p_sur_target, p.p_sample as p_sample, '' as p_research_date_st, '' as p_research_date_end, " + query = query & " '' as p_sur_part, P1.p_name as p_rsch_1_a, P2.p_name as p_rsch_2_a, P3.p_name as p_rsch_3_a, P4.p_name as p_rsch_4_a, " + query = query & " '' as p_rsch_1_b, '' as p_rsch_2_b, '' as p_rsch_3_b, '' as p_rsch_4_b, " + query = query & " '' as p_rsch_1_c, '' as p_rsch_2_c, '' as p_rsch_3_c, '' as p_rsch_4_c, " + query = query & " P5.p_name as p_sv_1, P6.p_name as p_sv_2, '' as p_sv_3, '' as p_sv_4, P7.p_name as p_verify_1, '' as p_verify_2, " + query = query & " P8.p_name as p_code_1, '' p_code_2, P9.p_name as p_dp_1, P10.p_name as p_dp_2, '' as p_it_1, '' as p_it_2, " + query = query & " p_report_st as p_rsch_date_st, p_report_end as p_rsch_date_end, p_field_st as p_field_date_st, p_field_end as p_field_date_end " + query = query & " FROM project P " + query = query & " LEFT OUTER JOIN Depart D ON p.p_depart = D.d_code " + query = query & " LEFT OUTER JOIN Client C ON p.p_cli_company = C.c_code " + query = query & " LEFT OUTER JOIN Client_Type CT ON C.c_type = CT.c_type_code " + query = query & " LEFT OUTER JOIN p_method PM ON p.p_method = pm.code1 " + query = query & " LEFT OUTER JOIN person P1 ON p.p_rsch_1 = p1.p_no " + query = query & " LEFT OUTER JOIN person P2 ON p.p_rsch_2 = p2.p_no " + query = query & " LEFT OUTER JOIN person P3 ON p.p_rsch_3 = p3.p_no " + query = query & " LEFT OUTER JOIN person P4 ON p.p_rsch_4 = p4.p_no " + query = query & " LEFT OUTER JOIN person P5 ON p.p_sv = p5.p_no " + query = query & " LEFT OUTER JOIN person P6 ON p.p_sv2 = p6.p_no " + query = query & " LEFT OUTER JOIN person P7 ON p.p_verify = p7.p_no " + query = query & " LEFT OUTER JOIN person P8 ON p.p_coder = p8.p_no " + query = query & " LEFT OUTER JOIN person P9 ON p.p_dper = p9.p_no " + query = query & " LEFT OUTER JOIN person P10 ON p.p_dper2 = p10.p_no " + query = query & " LEFT OUTER JOIN person P11 ON p.p_dper3 = p11.p_no " + query = query & " ) A LEFT OUTER JOIN " + query = query & " ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '001' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA1 ON A.p_sn = TSA1.f_p_sn /* RFP */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '002' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA2 ON A.p_sn = TSA2.f_p_sn /* Á¦¾È¼­ */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '003' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA3 ON A.p_sn = TSA3.f_p_sn /* °ßÀû¼­ */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '004' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA4 ON A.p_sn = TSA4.f_p_sn /* º¸°í¼­ */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '005' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA5 ON A.p_sn = TSA5.f_p_sn /* ¼³¹®Áö */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '006' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA6 ON A.p_sn = TSA6.f_p_sn /* °¡À̵å */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '007' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA7 ON A.p_sn = TSA7.f_p_sn /* ±âŸÀÚ·á */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '008' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA8 ON A.p_sn = TSA8.f_p_sn /* ½Ç»ç(Field} */ " + query = query & " LEFT OUTER JOIN ( " + query = query & " SELECT f_kind, COUNT(f_kind) as count, f_p_sn " + query = query & " FROM T_SYSTEM_ATTACH " + query = query & " WHERE f_kind = '009' " + query = query & " GROUP BY f_work_type, f_kind, f_p_sn " + query = query & " ) TSA9 ON A.p_sn = TSA9.f_p_sn /* Àü»ê(DP) */ " + query = query & " WHERE LEFT(p_sn, 4) BETWEEN "&p_decide_date_st&" AND "&p_decide_date_ed&" " + if request("rsch_dept") <> "" Then + query = query & " AND p_rsch_dept = '" & request("rsch_dept") & "' " + End If + query = query & " ORDER BY P_SN, p_child_sn " + rs.Open query, adoConn, 1 + %> + <% if command <> "excel" Then %> +

+
+ <% End if %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% if rs.recordCount = 0 then %> + + + + <% end if + for i = 1 to rs.recordCount + if i mod 2 = 0 then + tmp_bgcolor = "#dbe9f2" + else + tmp_bgcolor = "#ffffff" + end if + %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + rs.movenext + next%> +
ÇÁ·ÎÁ§Æ® °³¿äºñ¿ëÁý°èÇöȲÁ¶»ç µðÀÚÀÎÂü¿©ÀηÂÀÏÁ¤Ã·ºÎ¹®¼­
ÆÀÇÁ·ÎÁ§Æ®ÄÚµåÇÁ·ÎÁ§Æ®¸íȸ»ç¾÷Á¾Á¶»ç³»¿ë°è¾à±â°£(start)°è¾à±â°£(end)°è¾à¾×¿ë¿ª¹üÀ§Á÷Á¢ºñ(¿¹»ê)ÀüüÁ÷Á¢ºñ ºñÀ²(¿¹»ê)½ÇÁ¦Á÷Á¢ºñÁ¶»ç¹æ¹ý1Á¶»ç¹æ¹ý2Á¶»ç¹æ¹ý3Á¶»ç¹æ¹ý4Á¶»ç¹æ¹ý5Á¶»çÁö¿ªÁ¶»ç´ë»óÇ¥º»¼öÁ¶»ç±â°£(start)Á¶»ç±â°£(end)Á¶»çºÐ·ù±âȹ1±âȹ2±âȹ3±âȹ4½Ç»ç°ü¸®1½Ç»ç°ü¸®2½Ç»ç°ü¸®3½Ç»ç°ü¸®4º¸°í¼­1º¸°í¼­2º¸°í¼­3º¸°í¼­4½Ç»ç1½Ç»ç2½Ç»ç3½Ç»ç4°ËÁõ1°ËÁõ2ÄÚµù/ÆÝÄ¡1ÄÚµù/ÆÝÄ¡2DP1DP2IT1IT2¿¬±¸ºÎ¼­(start)¿¬±¸ºÎ¼­(end)½Ç»ç(start)½Ç»ç(end)RFPÁ¦¾È¼­°ßÀû¼­º¸°í¼­¼³¹®Áö°¡À̵å±âŸÀÚ·á½Ç»çÀü»ê
°Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù.
<%= rs("p_depart") %><%= rs("p_sn") %><%= rs("p_subject") %><%= rs("p_cli_company") %><%= rs("p_client_type_nm") %><%= rs("p_intention") %><%= rs("p_con_date_st") %><%= rs("p_con_date_end") %><%= rs("p_cont_cost") %><%= rs("p_export_range") %><%= rs("est_money") %><%= rs("total_rate") %><%= rs("act_money") %><%= rs("p_method_nm") %><%= rs("p_sur_area") %><%= rs("p_sur_target") %><%= rs("p_sample") %><%= rs("p_research_date_st") %><%= rs("p_research_date_end") %><%= rs("p_sur_part") %><%= rs("p_rsch_1_a") %><%= rs("p_rsch_2_a") %><%= rs("p_rsch_3_a") %><%= rs("p_rsch_4_a") %><%= rs("p_rsch_1_b") %><%= rs("p_rsch_2_b") %><%= rs("p_rsch_3_b") %><%= rs("p_rsch_4_b") %><%= rs("p_rsch_1_c") %><%= rs("p_rsch_2_c") %><%= rs("p_rsch_3_c") %><%= rs("p_rsch_4_c") %><%= rs("p_sv_1") %><%= rs("p_sv_2") %><%= rs("p_sv_3") %><%= rs("p_sv_4") %><%= rs("p_verify_1") %><%= rs("p_verify_2") %><%= rs("p_code_1") %><%= rs("p_code_2") %><%= rs("p_dp_1") %><%= rs("p_dp_2") %><%= rs("p_it_1") %><%= rs("p_it_2") %><%= rs("p_rsch_date_st") %><%= rs("p_rsch_date_end") %><%= rs("p_field_date_st") %><%= rs("p_field_date_end") %><%= rs("file1") %><%= rs("file2") %><%= rs("file3") %><%= rs("file4") %><%= rs("file5") %><%= rs("file6") %><%= rs("file7") %><%= rs("file8") %><%= rs("file9") %>
+ <% if command <> "excel" Then %> +
+ <% + End if + end if + %> +
+<%if command <> "excel" then%> +
+
+
+
+
+ + + +
+ + +<% end if %> diff --git a/project/project_total_cost.asp b/project/project_total_cost.asp new file mode 100644 index 0000000..93f1752 --- /dev/null +++ b/project/project_total_cost.asp @@ -0,0 +1,72 @@ + +<% + Dim p_sn + p_sn = request("p_sn") + +%> + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
Á¦¾È ¹øÈ£ + +
+ ½ÇÁ¦°è¾à¾× (Àüü¼öÁֱݾ×) + + ¿ø (VAT º°µµ) +
+ +
+
+ + diff --git a/project/project_total_cost_ok.asp b/project/project_total_cost_ok.asp new file mode 100644 index 0000000..d9e067a --- /dev/null +++ b/project/project_total_cost_ok.asp @@ -0,0 +1,32 @@ + +<% + dim p_sn + dim p_total_cost + + p_sn = request("p_sn_code") + p_total_cost = replace(request("p_total_cost"), ",", "") + + query = "UPDATE T_PROJECT_BASE " + query = query & "SET " + query = query & " p_total_cost = '" & p_total_cost & "' " + query = query & "WHERE p_sn = '" & p_sn & "' " + + 'Response.Write query + set dbin = server.CreateObject("ADODB.CONNECTION") + dbin.Open adoConn + dbin.Execute query + dbin.Close + + +%> + + +
+ +
+ \ No newline at end of file diff --git a/project/punching_fcs_exceldown.asp b/project/punching_fcs_exceldown.asp new file mode 100644 index 0000000..531dc40 --- /dev/null +++ b/project/punching_fcs_exceldown.asp @@ -0,0 +1,17 @@ +<% + + Response.Expires = 0 + Response.ContentType = "application/vnd.ms-excel" + Response.ContentType = "application/unkown" + Response.Buffer = TRUE + Response.AddHeader "Content-Disposition","attachment; filename=[ÆÝĪ_FCS_À̰ü]_["&request.form("pn_cd")&"]_["&replace(date(),"-","_")&"].xls" +%> + + + +KRC + + +<%= Request.Form("x_temp") %> + + \ No newline at end of file diff --git a/project/punching_fcs_insert.asp b/project/punching_fcs_insert.asp new file mode 100644 index 0000000..533deb7 --- /dev/null +++ b/project/punching_fcs_insert.asp @@ -0,0 +1,474 @@ + +<% +SET rsa = server.CreateObject("ADODB.RECORDSET") +SET rsp = server.CreateObject("ADODB.RECORDSET") + + +dim pn_cd : pn_cd=request.item("pn_cd") '-- ÆÝĪÇÁ·ÎÁ§Æ®ÄÚµå + +dim pu_prjcode_type : pu_prjcode_type=request.form("pu_prjcode_type") '-- ÆÝĪŸÀÔ +dim pu_prjcode_area : pu_prjcode_area=request.form("pu_prjcode_area") '-- fcs Áö¿ª + +dim pu_fcs_type : pu_fcs_type=request.form("pu_fcs_type") '-- fcs ŸÀÔ + + +if pu_prjcode_type="" then pu_prjcode_type="A" +if pu_prjcode_area="" then pu_prjcode_area="¼­¿ï" + + +if pu_fcs_type="" then pu_fcs_type="A" + + +%> + + + + + +<%=GNB_TITLE%> + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + + + + <% + + sql=" select A.*,B.* from " + sql=sql&" (select intranet_project,p_child_sn as pn_code, p_subject from [project2].[dbo].[T_PROJECT_FCS] where p_child_sn='"&pn_cd&"') A " + sql=sql&" left join " + sql=sql&" (select p_child_sn, p_subject as intra_subject from [project2].[dbo].[T_PROJECT_METHOD]) B " + sql=sql&" on A.intranet_project=B.p_child_sn " + rsa.Open sql, adoConn, 1 + if not rsa.eof then + + %> + + + + + + + + + + + + <%end if %> + <%rsa.close %> + + + + + + + + + + + + <%else %> + <% xckd="1" %> + FCS·Î À̰üÇÒ ¹®Ç× ¼±Åà      +     + + + <%end if %> + <%rsa.close %> + + + + + + <%if xckd="1" then %> + + + + + + + + + + <%end if %> + + + +
±¸ ºÐÇÁ·ÎÁ§Æ® Á¤º¸
ÀÎÆ®¶ó³Ý Á¤º¸ [<%=rsa("intranet_project")%>] <%=rsa("intra_subject")%>
FCS/ÆÝĪ Á¤º¸ [<%=rsa("pn_code")%>] <%=rsa("p_subject")%> +   [ÆÝĪŸÀÔ + <% + dim k, az : az=65 + response.write "" + %> ] +
+ FCS µ¥ÀÌÅÍ À̰ü½Ã Áö¿ª ¼±Åà + + +
+ <% + dim xckd : xckd="0" + sql=" select top 1 id from [dbo].[T_RES_SQ_QUE_LAB] " + sql=sql&" where ting='1' " '-- »ç¿ë(1) + sql=sql&" and pu_child_sn='"&pn_cd&"' " + sql=sql&" and pu_type='"&pu_prjcode_type&"' " +'-- fcsÁö¿ª ¹Ì»ç¿ë sql=sql&" and fcs_area='"&pu_prjcode_area&"' " + rsa.Open sql, adoConn, 1 + if rsa.eof then + %> + FCS·Î À̰üÇÒ ¹®Ç× ¼±Åà      +
 
+ FCS ·Î µ¥ÀÌÅÍ À̰ü½Ã Àû¿ëÇÒ [<% + az=65 + response.write "" + %>]ŸÀÔ °ú ¼³¹®Áö ¾ÆÀ̵ð ¹üÀ§¸¦ ÀÔ·ÂÇÏ¿© ÁÖ¼¼¿ä

+ + ¡Ø FCS/ÆÝĪ ÇÁ·ÎÁ§Æ® ³»¿¡¼­´Â Áö¿ª°ú »ó°ü¾øÀÌ ¼³¹®Áö ¾ÆÀ̵ð´Â °íÀ¯ÇÏ¿©¾ß ÇÕ´Ï´Ù.

Áߺ¹µÇ´Â °æ¿ì - °ËÁõÀ» ÁøÇàÇÏÁö ¾ÊÀº µ¥ÀÌÅ͸¸ À̰üó¸®(¾÷µ¥ÀÌÆ®) µË´Ï´Ù
+

+ + + + + + +<% + + tsql=" select * from [project2].[dbo].[T_AREA_SID] " + tsql=tsql&" where del_yn='N' " + tsql=tsql&" and p_sn='"&pn_cd&"' " + tsql=tsql&" and s_area='"&pu_prjcode_area&"' " + tsql=tsql&" and s_type='"&pu_fcs_type&"' " + tsql=tsql&" order by s_type asc " + rsp.Open tsql, adoConn, 1 + if rsp.Eof then + +%> + + + + + + +<% end if %> +<% + while not rsp.Eof +%> + + + + + + + +<% + acnt=acnt+1 + rsp.movenext + Wend + rsp.Close + +%> + +
ŸÀÔ¼³¹®Áö ¾ÆÀ̵ð ¹üÀ§
[<%=pu_prjcode_area%>] <%=pu_fcs_type%> ŸÀÔ + ~ + +
[<%=rsp("s_area")%>] <%=rsp("s_type")%> ŸÀÔ +" size="10" maxlength="10" style="font-size:11pt;text-align:right;IME-MODE:disabled;" onkeyPress="if ((event.keyCode<48) || (event.keyCode>57)) event.returnValue=false;" > ~ +" size="10" maxlength="10" style="font-size:11pt;text-align:right;IME-MODE:disabled;" onkeyPress="if ((event.keyCode<48) || (event.keyCode>57)) event.returnValue=false;" > +
+
+ + + + + + +
+ + ÀÀ´äÀÚ Áߺ¹Ã¼Å© ³¯Â¥(¸ðµç FCS µ¥ÀÌÅÍ¿¡¼­ ¼±Åó¯Â¥ ±âÁØ Áߺ¹ÀÀ´ä üũ(À̸§,¿¬¶ôó)) + + +
+ + +
 
+ +
+ + + +
+ + + + + + +
+ + + + +
+ + diff --git a/project/punching_fcs_send_ok.asp b/project/punching_fcs_send_ok.asp new file mode 100644 index 0000000..ab24ab2 --- /dev/null +++ b/project/punching_fcs_send_ok.asp @@ -0,0 +1,866 @@ + + + +
+









+ + + + +
+ +
+
+<% Response.Flush %> + +<% +SET rsa = server.CreateObject("ADODB.RECORDSET") +SET rsp = server.CreateObject("ADODB.RECORDSET") +SET rsm = server.CreateObject("ADODB.RECORDSET") + +'-- response.write "
" +'-- For Each s In request.form +'-- response.write s &":"&request.form(s)&"
"Prod) - 1) EXEC (' select A.oid,A.tid,A.pc_prjcode,A.pc_prjcode_sub1,A.pc_prjcode_sub2, case when left(A.ffusercode,2)=''1-'' then A.ffusercode else isnull(''1-''+REPLICATE(''0'',4 - LEN(A.ffusercode))+cast(A.ffusercode as varchar(10)),'''') end as ffusercode , B.* from ( select max(id) as oid, tid,pc_prjcode,pc_prjcode_sub1,pc_prjcode_sub2,ffusercode,ffid from [project2].[dbo].[punching_data] where pc_prjcode=''1904033_C01_A'' and pc_prjcode_sub1=''A'' and ff_ing=''1'' and ffid in ( select ttelnum from [punching].[dbo].[tb_response] where tprocode=''1904033_C01_A'' and char(ttype+65)=''A'' ) group by tid,pc_prjcode,pc_prjcode_sub1,pc_prjcode_sub2,ffusercode,ffid ) A left join ( select * from (SELECT ffid,ffque, case when ffans=''-1'' then '''' else ffans end as ffans FROM [project2].[dbo].[punching_data] where pc_prjcode=''1904033_C01_A'' and pc_prjcode_sub1=''A'' and ff_ing=''1'' ) Q PIVOT ( max(ffans) FOR ffque IN (' + @Prod + ') ) AS PVT ) B on A.ffid=B.ffid order by A.oid asc ') +'-- next + +dim x_save : x_save=request.form("x_save") '-- ÀúÀå(save_ok) + + +dim xprint : xprint="" '-- sql Ãâ·Â +dim xck_num : xck_num=0 +dim pn_cd : pn_cd=request.form("pn_cd") +dim pu_prjcode_type : pu_prjcode_type=request.form("pu_prjcode_type") + +dim pu_prjcode_area : pu_prjcode_area=request.form("pu_prjcode_area") +dim pu_fcs_type : pu_fcs_type=request.form("pu_fcs_type") '-- fcs ŸÀÔ + +dim fcs_type__ss : fcs_type__ss=request.form("fcs_type__ss") '-- fcs ŸÀÔ ÆäÀÌÆÛ ¾ÆÀ̵ð ¹üÀ§(~ºÎÅÍ) +dim fcs_type__ee : fcs_type__ee=request.form("fcs_type__ee") '-- fcs ŸÀÔ ÆäÀÌÆÛ ¾ÆÀ̵ð ¹üÀ§(~±îÁö) + + +dim ckday : ckday=request.form("ckday") + + + +dim sql, isql, co_sql + +dim tsql + + + + '-- fcs À̰ü µ¥ÀÌÅÍ Á¤¸®(Çǹþ) + isql=fun_sql("") + if xprint="1" then response.Write isql&"

" + + rsp.Open isql, adoConn, 1 + + '-- °¡»óÅ×À̺í¸í + dim co_table : co_table="#temp_"&pn_cd&"_"&pu_prjcode_type + + '-- °¡»óÅ×ÀÌºí »ý¼º + co_sql="" + co_sql=co_sql&" CREATE TABLE "&co_table&" ( "&vbCrLf + co_sql=co_sql&" id int IDENTITY (1, 1) primary key NOT Null , "&vbCrLf + + For i=0 To rsp.Fields.Count-1 + '--response.write rsp.Fields(i).name&"
" + + select case rsp.Fields(i).name + case "oid" : co_sql=co_sql&" "&rsp.Fields(i).name&" int , "&vbCrLf '-- Á¤·Ä + + case "tid" : co_sql=co_sql&" "&rsp.Fields(i).name&" varchar (60) default '', "&vbCrLf '-- ÆÝó¾ÆÀ̵ð + + case "pc_prjcode" : co_sql=co_sql&" "&rsp.Fields(i).name&" varchar (30) default '', "&vbCrLf '-- FCS/ÆÝĪ ÇÁ·ÎÁ§Æ®ÄÚµå + case "pc_prjcode_sub1" : co_sql=co_sql&" "&rsp.Fields(i).name&" varchar (4) default '', "&vbCrLf '-- ÆÝĪ ÇÁ·ÎÁ§Æ®ÄÚµå (ŸÀÔ) + case "pc_prjcode_sub2" : co_sql=co_sql&" "&rsp.Fields(i).name&" varchar (4) default '', "&vbCrLf '-- ÆÝĪ ÇÁ·ÎÁ§Æ®ÄÚµå (ŸÀÔ) "pc_prjcode_sub1" °ú µ¿ÀÏÇÔ + case "ffusercode" : co_sql=co_sql&" "&rsp.Fields(i).name&" varchar (20) default '', "&vbCrLf '-- ¸éÁ¢¿ø ¾ÆÀ̵ð + case "ffid" : co_sql=co_sql&" "&rsp.Fields(i).name&" int , "&vbCrLf '-- ¼³¹®Áö ¾ÆÀ̵ð + case else : co_sql=co_sql&" ["&rsp.Fields(i).name&"] varchar(200) default '' , "&vbCrLf '-- °ËÁõ¹®Ç× + end select + Next + rsp.Close + + co_sql=co_sql&" r_error int , "&vbCrLf '-- ¿¡·¯Ã¼Å©¿ë + co_sql=co_sql&" m_error int , "&vbCrLf '-- ¿¡·¯Ã¼Å©¿ë + co_sql=co_sql&" s_error int , "&vbCrLf '-- ¿¡·¯Ã¼Å©¿ë + co_sql=co_sql&" q_error int , "&vbCrLf '-- ¿¡·¯Ã¼Å©¿ë + co_sql=co_sql&" insert_date datetime default getdate() ) "&vbCrLf + if xprint="1" then response.write co_sql&"

" + adoconn.execute co_sql + + + + + '-- °¡»óÅ×ÀÌºí¿¡ µ¥ÀÌÅÍ insert + co_sql=fun_sql(co_table) + if xprint="1" then response.write co_sql&"

" + adoconn.execute co_sql + + + + '-- ¸éÁ¢¿ø Äڵ庯°æ ó¸® update + co_sql=" update "&co_table&" set "&vbCrLf + co_sql=co_sql&" ffusercode=B.ffusercode_change "&vbCrLf + co_sql=co_sql&" from "&co_table&" as A "&vbCrLf + co_sql=co_sql&" inner join "&vbCrLf + co_sql=co_sql&" ( "&vbCrLf + co_sql=co_sql&" select ffusercode, ffusercode_change from [dbo].[T_RES_FIELD_USER_CHANGE] "&vbCrLf + co_sql=co_sql&" where ting='1' "&vbCrLf + co_sql=co_sql&" and len(ffusercode)=6 "&vbCrLf '-- Á¤»óÀûÀÎ ¸éÁ¢¿øÄÚµå ´Â 6ÀÚ¸®ÀÓ + co_sql=co_sql&" and pu_child_sn='"&pn_cd&"' "&vbCrLf + co_sql=co_sql&" and pu_type='"&pu_prjcode_type&"' "&vbCrLf + co_sql=co_sql&" ) B "&vbCrLf + co_sql=co_sql&" on A.ffusercode=B.ffusercode "&vbCrLf + if xprint="1" then response.write co_sql&"

" + adoconn.execute co_sql + '--[Á¤Çü±â] »ç¿ëÀº ÇÏÁö ¾ÊÁö¸¸ ÀÏ´Ü À¯Áö + + + + + + '##### ERR ó¸®(s_error) ######################################################### + '--s_error : [dbo].[T_AREA_SID] ±âÁØ ¹üÀ§¸¦ ¹þ¾î³­ ¸®½ºÆ®¾ÆÀ̵ðÀÎ °æ¿ì "1" ·Î Ç¥½ÃÇÔ + co_sql=" update "&co_table&" set "&vbCrLf + co_sql=co_sql&" s_error='1' "&vbCrLf + co_sql=co_sql&" where (ffid<'"&fcs_type__ss&"' or ffid>'"&fcs_type__ee&"') " + if xprint="1" then response.write co_sql&"

" + adoconn.execute co_sql + '--[Á¤Çü±â] ÇöÀç ¼³¹®Áö ID´Â ¼³Á¤ÁßÀ̹ǷΠÀ¯Áö + + + + + '############################################################################### + '-- ÆÝε¥ÀÌÅÍÁß Áߺ¹ ÆäÀÌÆÛ ¾ÆÀ̵ð - s_error ó¸® + co_sql=" update "&co_table&" set "&vbCrLf + co_sql=co_sql&" s_error='1' "&vbCrLf + co_sql=co_sql&" where id not in ( "&vbCrLf + co_sql=co_sql&" select max(id) from "&co_table&" "&vbCrLf + co_sql=co_sql&" group by ffid "&vbCrLf + co_sql=co_sql&" ) "&vbCrLf + if xprint="1" then response.write co_sql&"

" + adoconn.execute co_sql + '--[Á¤Çü±â] ÆÝε¥ÀÌÅÍ´Â ÇÁ·Î±×·¥ ÀÚüÀûÀ¸·Î Áߺ¹À» Çã¿ëÇÏÁö ¾ÊÀ½ + + + + '################################################################################ + + '-- r_error : ÀÀ´äÀÚ Áߺ¹¿¡·¯(¸ðµç FFÇÁ·ÎÁ§Æ® °Ë»ö±â°£(ckday) ³» Áߺ¹½Ã) + + + '-- ÀÀ´äÀÚÀ̸§, ¿¬¶ôó1,¿¬¶ôó2 °¡Á®¿À±â + dim co_name, co_tel1, co_tel2 + co_name="" : co_tel1="" : co_tel2="" + + co_sql=" select * from [project2].[dbo].[T_RES_SQ_QUE_LAB] with(nolock) " + co_sql=co_sql&" where ting='1' " '-- »ç¿ë(1) + co_sql=co_sql&" and pu_child_sn='"&pn_cd&"' " + co_sql=co_sql&" and pu_type='"&pu_prjcode_type&"' " +'-- fcsÁö¿ª co_sql=co_sql&" and fcs_area='"&pu_prjcode_area&"' " + co_sql=co_sql&" and pu_que_type in ('2','3') " '-- ÀÀ´äÀÚ(3), ¿¬¶ôó(2) + co_sql=co_sql&" order by tuser asc, tphone_1 asc, tphone_2 asc " + if xprint="1" then response.write co_sql&"

" + rsp.Open co_sql, adoConn, 1 + while not rsp.Eof + + '-- ÀÀ´äÀÚ + if rsp("tuser_name")<>"" then co_name=rsp("pu_que") + '-- ÈÞ´ëÆù + if rsp("tphone_1")<>"" then co_tel1=rsp("pu_que") + '-- ÀϹݹøÈ£ + if rsp("tphone_2")<>"" then co_tel2=rsp("pu_que") + + rsp.movenext + Wend + rsp.Close + + + + dim xxsql : xxsql="" '-- µ¥ÀÌÅÍ À̰üÀü FCSµ¥ÀÌÅÍ¿¡¼­ Áߺ¹ üũ¿ë + dim in_cksql : in_cksql="" '-- ÆÝε¥ÀÌÅÍ ÀÀ´äÀÚ Áߺ¹ üũ¿ë + + if co_tel2<>"" then + xxsql=" on 1=1 " + xxsql=xxsql&" and replace(replace(isnull(A.["&co_name&"],''),'-',''),' ','')=B.r_name " + xxsql=xxsql&" and replace(replace(isnull(A.["&co_tel2&"],''),'-',''),' ','')=B.r_tel " + + '----------------- + in_cksql=" replace(replace(isnull(["&co_name&"],''),'-',''),' ',''), replace(replace(isnull(["&co_tel2&"],''),'-',''),' ','') " + + elseif co_tel1<>"" then + xxsql=" on 1=1 " + xxsql=xxsql&" and replace(replace(isnull(A.["&co_name&"],''),'-',''),' ','')=B.r_name " + xxsql=xxsql&" and replace(replace(isnull(A.["&co_tel1&"],''),'-',''),' ','')=B.r_phone " + + '----------------- + in_cksql=" replace(replace(isnull(["&co_name&"],''),'-',''),' ',''), replace(replace(isnull(["&co_tel1&"],''),'-',''),' ','') " + + + else + xxsql=" on 1=1 " + xxsql=xxsql&" and replace(replace(isnull(A.["&co_name&"],''),'-',''),' ','')=B.r_name " + xxsql=xxsql&" where (replace(replace(isnull(A.["&co_tel2&"],''),'-',''),' ','')=B.r_tel or replace(replace(isnull(A.["&co_tel1&"],''),'-',''),' ','')=B.r_phone) " + + '----------------- + in_cksql=" replace(replace(isnull(["&co_name&"],''),'-',''),' ',''), replace(replace(isnull(["&co_tel2&"],''),'-',''),' ',''), replace(replace(isnull(["&co_tel1&"],''),'-',''),' ','') " + + end if + + + '##### ERR ó¸®(r_error) ######################################################### + '-- r_error : ÀÀ´äÀÚ Áߺ¹¿¡·¯ ó¸®(º»À롂 Áߺ¹Á¦¿Ü: Á¤º¸¾÷µ¥ÀÌÆ® ÇÒ¼ö ÀÖµµ·Ï!!) + + co_sql=" DECLARE @dblck_id int "&vbCrLf + co_sql=co_sql&" DECLARE cur_dblck CURSOR FOR "&vbCrLf + + co_sql=co_sql&" select A.ffid from "&vbCrLf + co_sql=co_sql&" ( select * from "&co_table&" with(nolock) ) A "&vbCrLf + co_sql=co_sql&" inner join "&vbCrLf + co_sql=co_sql&" ( "&vbCrLf + co_sql=co_sql&" select h.r_name,h.r_tel,h.r_phone "&vbCrLf + co_sql=co_sql&" from ( "&vbCrLf + co_sql=co_sql&" select "&vbCrLf + co_sql=co_sql&" p_sn, s_id, "&vbCrLf + co_sql=co_sql&" replace(replace(isnull(r_name,''),'-',''),' ','') as r_name, "&vbCrLf + co_sql=co_sql&" replace(replace(isnull(r_tel,''),'-',''),' ','') as r_tel, "&vbCrLf + co_sql=co_sql&" replace(replace(isnull(r_phone,''),'-',''),' ','') as r_phone "&vbCrLf + co_sql=co_sql&" from [dbo].[res] with(nolock) "&vbCrLf + co_sql=co_sql&" where DelGubun='N' "&vbCrLf + co_sql=co_sql&" and replace(r_date,'-','')>=replace('"&ckday&"','-','') "&vbCrLf + co_sql=co_sql&" ) h "&vbCrLf + co_sql=co_sql&" where h.p_sn+':'+cast(h.s_id as varchar(10)) not in ( "&vbCrLf + co_sql=co_sql&" select pc_prjcode+':'+cast(ffid as varchar(10)) from "&co_table&" with(nolock) "&vbCrLf + co_sql=co_sql&" ) "&vbCrLf + co_sql=co_sql&" group by h.r_name,h.r_tel,h.r_phone "&vbCrLf + co_sql=co_sql&" ) B "&vbCrLf + co_sql=co_sql&xxsql + + co_sql=co_sql&" OPEN cur_dblck "&vbCrLf + co_sql=co_sql&" FETCH NEXT FROM cur_dblck INTO @dblck_id "&vbCrLf + co_sql=co_sql&" WHILE @@FETCH_STATUS = 0 "&vbCrLf + co_sql=co_sql&" BEGIN "&vbCrLf + + co_sql=co_sql&" update "&co_table&" set "&vbCrLf + co_sql=co_sql&" r_error='1' "&vbCrLf + co_sql=co_sql&" where ffid=@dblck_id "&vbCrLf + + co_sql=co_sql&" FETCH NEXT FROM cur_dblck INTO @dblck_id "&vbCrLf + co_sql=co_sql&" END "&vbCrLf + + co_sql=co_sql&" CLOSE cur_dblck "&vbCrLf + co_sql=co_sql&" DEALLOCATE cur_dblck "&vbCrLf + if xprint="1" then response.write co_sql&"

" + adoconn.execute co_sql + + + + + + '##### ERR ó¸®(m_error) ######################################################### + '-- m_error : ¸éÁ¢¿ø Äڵ尡 ¾ø°Å³ª, "Ȱµ¿"ÀÌ ¾Æ´Ñ ¸éÁ¢¿øÀÏ °æ¿ì - ÀÎÆ®¶ó³Ý¿¡ ¾ø´ÂÄÚµå + + co_sql=" select A.ffid from "&vbCrLf + co_sql=co_sql&" ( "&vbCrLf + co_sql=co_sql&" select "&vbCrLf + co_sql=co_sql&" case when left(ffusercode,2)='1-' then ffusercode else '1-'+ffusercode end as ff "&vbCrLf + co_sql=co_sql&" ,ffusercode, ffid from "&co_table&" "&vbCrLf + co_sql=co_sql&" ) A "&vbCrLf + co_sql=co_sql&" left join "&vbCrLf + co_sql=co_sql&" ( "&vbCrLf + co_sql=co_sql&" select new_id from [project2].[dbo].[man] with(nolock) "&vbCrLf + co_sql=co_sql&" where m_activity='Ȱµ¿' "&vbCrLf + co_sql=co_sql&" and left(new_id,2)='1-' "&vbCrLf + co_sql=co_sql&" ) B "&vbCrLf + co_sql=co_sql&" on A.ff=B.new_id "&vbCrLf + co_sql=co_sql&" where B.new_id is null "&vbCrLf '-- man Å×ÀÌºí¿¡ ¸éÁ¢¿ø Á¤º¸°¡ ¾ø´Â°æ¿ì Err ó¸® + + + + po_sql=" update "&co_table&" set "&vbCrLf + po_sql=po_sql&" m_error='1' "&vbCrLf + po_sql=po_sql&" from "&co_table&" as AA "&vbCrLf + po_sql=po_sql&" inner join "&vbCrLf + po_sql=po_sql&" ( "&vbCrLf + po_sql=po_sql&co_sql + po_sql=po_sql&" ) BB "&vbCrLf + po_sql=po_sql&" on AA.ffid=BB.ffid "&vbCrLf + if xprint="1" then response.write po_sql&"

" + adoconn.execute po_sql + + + '##### ERR ó¸®(q_error) ######################################################### + '-- q_error : FCS¿¡¼­ 1¹øÀÌ¶óµµ °ËÁõÀ» ÁøÇàÇѰæ¿ì (¼³¹®ÁöID ±âÁØ) + '-- [Á¤Çü±â] °ËÁõµ¥ÀÌÅÍ¿¡ Á¸ÀçÇÏ´Â °æ¿ì °¡»óÅ×ÀÌºí »èÁ¦ + po_sql=po_sql&" DELETE "&vbCrLf + po_sql=po_sql&" FROM "&co_table&" "&vbCrLf + po_sql=po_sql&" WHERE ffid in "&vbCrLf + po_sql=po_sql&" ( "&vbCrLf + po_sql=po_sql&" select s_id from [project2].[dbo].[T_INSPECTION_RES] with(nolock) "&vbCrLf + po_sql=po_sql&" where p_sn='"&pn_cd&"' "&vbCrLf + po_sql=po_sql&" ) "&vbCrLf + + if xprint="1" then response.write po_sql&"

" + adoconn.execute po_sql + + '-- q_error : ÇöÀç À̰üµ¥ÀÌÅÍ·Î Á¸ÀçÇÏ´Â °æ¿ì (¼³¹®ÁöID ±âÁØ) + '-- [Á¤Çü±â] À̰üµ¥ÀÌÅÍ¿¡ Á¸ÀçÇÏ´Â °æ¿ì °¡»óÅ×ÀÌºí »èÁ¦ + po_sql=po_sql&" DELETE "&vbCrLf + po_sql=po_sql&" FROM "&co_table&" "&vbCrLf + po_sql=po_sql&" WHERE ffid in "&vbCrLf + po_sql=po_sql&" ( "&vbCrLf + po_sql=po_sql&" select s_id from [project2].[dbo].[RES] with(nolock) "&vbCrLf + po_sql=po_sql&" where p_sn='"&pn_cd&"' "&vbCrLf + po_sql=po_sql&" and DelGubun = 'N' "&vbCrLf + po_sql=po_sql&" ) "&vbCrLf + + if xprint="1" then response.write po_sql&"

" + adoconn.execute po_sql + + + + + + '###### ÆÝε¥ÀÌÅͳ» ÀÀ´äÁߺ¹ÀÚ (r_error) ó¸® ###################################### + po_sql=" update "&co_table&" set "&vbCrLf + po_sql=po_sql&" r_error='1' "&vbCrLf + po_sql=po_sql&" from "&co_table&" as AA "&vbCrLf + po_sql=po_sql&" inner join ( "&vbCrLf + po_sql=po_sql&" select A.id from "&vbCrLf + po_sql=po_sql&" (select * from "&co_table&" ) A "&vbCrLf + po_sql=po_sql&" left join "&vbCrLf + po_sql=po_sql&" ( "&vbCrLf + po_sql=po_sql&" select max(id) as id2 from "&co_table&" "&vbCrLf + po_sql=po_sql&" where (isnull(r_error,'0')+isnull(m_error,'0')+isnull(s_error,'0')+isnull(q_error,'0'))=0 "&vbCrLf + po_sql=po_sql&" group by "&in_cksql&" "&vbCrLf '-- ÀÀ´äÀÚ Áߺ¹¹®Ç׿¡ ´ëÇÑ group by + po_sql=po_sql&" ) B "&vbCrLf + po_sql=po_sql&" on A.id=B.id2 "&vbCrLf + po_sql=po_sql&" where (isnull(A.r_error,'0')+isnull(A.m_error,'0')+isnull(A.s_error,'0')+isnull(A.q_error,'0'))=0 "&vbCrLf + po_sql=po_sql&" and B.id2 is null "&vbCrLf + po_sql=po_sql&" ) BB "&vbCrLf + po_sql=po_sql&" on AA.id=BB.id "&vbCrLf + if xprint="1" then response.write po_sql&"

" + adoconn.execute po_sql + + + + + + +%> + + + + + + + + +KRC + + + onload="javascript:js_init();" <%end if%> > +
+ +
+ + + +<%response.end %> +<% + + + +case else '-- µ¥ÀÌÅÍ ¸®½ºÆ® Ãâ·Â + + + xTable=xTable&"" + xTable=xTable&"" + xTable=xTable&"" + '----------------------------------------------------------------------------------------------- + + '-- Default ---------------------- + if not rsp.eof then + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&"[ffid]" + end if + + For i=0 To rsp.Fields.Count-1 + + + Select Case rsp.Fields(i).name + Case "t", "ff", "id", "oid","pc_prjcode_sub2","ffid" '-- Á¦¿Ü + + case "pc_prjcode" + Twidth=cdbl(Twidth)+120 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&"["&rsp.Fields(i).name&"]" + + case "pc_prjcode_sub1" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&"["&rsp.Fields(i).name&"]" + + case "ffusercode" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&"["&rsp.Fields(i).name&"]" + + case "ffid" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&"["&rsp.Fields(i).name&"]" + + + case "r_error" + Twidth=cdbl(Twidth)+120 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" case when A."&rsp.Fields(i).name&"='1' then '¿¡·¯' else '' end as xr_error " + + + case "m_error" + Twidth=cdbl(Twidth)+120 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" case when A."&rsp.Fields(i).name&"='1' then '¿¡·¯' else '' end as xm_error " + + + + case "s_error" + Twidth=cdbl(Twidth)+130 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" case when A."&rsp.Fields(i).name&"='1' then '¿¡·¯' else '' end as xs_error " + + + case "q_error" + Twidth=cdbl(Twidth)+90 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" case when A."&rsp.Fields(i).name&"='1' then '¿¡·¯' else '' end as xq_error " + + + case "tid" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&"["&rsp.Fields(i).name&"]" + + case "insert_date" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" case when A.t=0 then convert(nvarchar(10),"&rsp.Fields(i).name&",120) else 'FCS À̰üºÒ°¡' end as tdate " + + case "¸éÁ¢¿øÄÚµå" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" isnull(B.new_id,'Á¤º¸¾øÀ½') as ¸éÁ¢¿øÄÚµå " + + case "¸éÁ¢¿øÀ̸§" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" isnull(B.m_name,'Á¤º¸¾øÀ½') as ¸éÁ¢¿øÀ̸§ " + + case "»ý³â¿ùÀÏ" + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&" isnull(B.m_jumin,'Á¤º¸¾øÀ½') as »ý³â¿ùÀÏ " + + + + Case Else '-- Ãâ·Â + Twidth=cdbl(Twidth)+100 + xTable=xTable&"" + if xfield<>"" then xfield=xfield&"," + xfield=xfield&"["&rsp.Fields(i).name&"]" + + End Select + + next + rsp.Close + + xTable=xTable&"" + response.Write replace(xTable,"[Twidth]",Twidth) + + + + '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + '-- µ¥ÀÌÅÍ Á¤¸®ÈÄ - Ãâ·Â(µ¥ÀÌÅÍ) + tsql=" select A.t, "&xfield&" "&vbCrLf + tsql=tsql&" from "&vbCrLf + tsql=tsql&" ( "&vbCrLf + tsql=tsql&" select "&vbCrLf + tsql=tsql&" (isnull(r_error,'0')+isnull(m_error,'0')+isnull(s_error,'0')+isnull(q_error,'0')) as t, "&vbCrLf + tsql=tsql&" case when left(ffusercode,2)='1-' then ffusercode else '1-'+ffusercode end as ff, "&vbCrLf + tsql=tsql&" * "&vbCrLf + tsql=tsql&" from "&co_table&" "&vbCrLf + tsql=tsql&" ) A "&vbCrLf + tsql=tsql&" left join "&vbCrLf + tsql=tsql&" ( "&vbCrLf + tsql=tsql&" select new_id, m_name, left(m_jumin,6) as m_jumin from [project2].[dbo].[man] with(nolock) "&vbCrLf + tsql=tsql&" where m_activity='Ȱµ¿' "&vbCrLf + tsql=tsql&" and left(new_id,2)='1-' "&vbCrLf + tsql=tsql&" ) B "&vbCrLf + tsql=tsql&" on A.ff=B.new_id "&vbCrLf + tsql=tsql&" order by A.ffid asc "&vbCrLf + '-- tsql=tsql&" order by B.new_id asc, A.t desc "&vbCrLf + if xprint="1" then response.write tsql&"

" + rsp.Open tsql, adoConn, 1 + dim k : k=1 + xck_num=0 + + '########################################################################### + if rsp.Eof then '-- À̰ü µ¥ÀÌÅÍ ¾øÀ½ + + response.write "¡Ø À̰üÇÏ½Ç µ¥ÀÌÅͰ¡ ¾ø½À´Ï´Ù " + rsp.close + + '############################################## + '-- °¡»èÅ×ÀÌºí »èÁ¦ + po_sql=" drop table "&co_table&" " + if xprint="1" then response.write po_sql&"

" + adoconn.execute po_sql + '############################################## + + %> + + + <% + response.end + end if + '########################################################################### + + + Response.Buffer = True '----- ¹öÆÛ»ç¿ë + dim ck_data : ck_data=0 + while not rsp.Eof + if cdbl(rsp("t"))>0 then xck_num=1 + '-- µ¥ÀÌÅÍÃâ·Â ¡é + response.write "" + For i=1 To rsp.Fields.Count-1 + if isnull(rsp(i)) or trim(rsp(i))="" then + response.write "" + else + response.write "" + + 'response.write "" + End If + '------------------------------------------------ + if trim(i)=trim(rsp.Fields.Count-1) then + if instr(rsp(i),"FCS À̰üºÒ°¡")=0 then ck_data=1 '-- À̰üÇÒ µ¥ÀÌÅÍ ÀÖÀ½ + end if + '------------------------------------------------ + Next + response.write "" + + '-- µ¥ÀÌÅÍÃâ·Â ¡è + + if k mod 500=0 then Response.flush ' 500¹øÂ°¸¶´Ù ¹öÆÛ³»¿ë Ãâ·Â... + k=k+1 + rsp.movenext + wend + rsp.close + + Response.flush ' ÃÖÁ¾ ¹öÆÛ¿¡¼­ Ãâ·Â. + Response.Clear '¹öÆÛ ³»¿ë ÃʱâÈ­ + + + response.write "" + response.write "
¼³¹®Áö¾ÆÀ̵ð
(ÀÔ·Â)
ÆÝĪ/FCS ÇÁ·ÎÁ§Æ®ÄÚµåÆÝĪŸÀÔ¸éÁ¢¿øÄڵ弳¹®ÁöIDÀÀ´äÀÚÁߺ¹ ¿¡·¯
(¾÷·ÎµåºÒ°¡)
¸éÁ¢¿øÄÚµå ¿¡·¯
(¾÷·ÎµåºÒ°¡)
¸®½ºÆ®ID ¿¡·¯
(¾÷·ÎµåºÒ°¡)
À̰ü ¹× °ËÁõÁøÇà
(¾÷·ÎµåºÒ°¡)
ÆÝóÁ¤º¸FCS À̰üó¸®ÀϸéÁ¢¿øÄÚµå¸éÁ¢¿øÀ̸§»ý³â¿ùÀÏ"&rsp.Fields(i).name&"
 "&rsp(i)&""&rsp(i)&":"& trim(i)&":"&trim(rsp.Fields.Count-1)&":"&instr(rsp(i),"FCS À̰üºÒ°¡")&":"&ck_data&"
" + response.write "
" + + +end select + + + + + +%> + + + + +
+<% For Each s In request.form %><% next %> + + + + + + +<% + '############################################## + '-- °¡»óÅ×ÀÌºí »èÁ¦ + po_sql=" drop table "&co_table&" " + if xprint="1" then response.write po_sql&"

" + adoconn.execute po_sql + '############################################## +%> + + +<% + +function fun_sql(tmode) + + dim tval + dim sql + dim sqArr + + sql=" DECLARE @Prod varchar(max) "&vbCrLf + sql=sql&" SET @Prod = '' "&vbCrLf + sql=sql&" SELECT @Prod = @Prod + '' + pu_que + ',' "&vbCrLf + sql=sql&" FROM ( "&vbCrLf + sql=sql&" select id, pu_que from [project2].[dbo].[T_RES_SQ_QUE_LAB] "&vbCrLf + sql=sql&" where ting='1' "&vbCrLf + sql=sql&" and pu_child_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and pu_type='"&pu_prjcode_type&"' "&vbCrLf + sql=sql&" and pu_que_type in ('0','2','3') "&vbCrLf '-- °ËÁõ¹®Ç×(0), °ËÁõÀüÈ­¹øÈ£(2), À̸§(3) + sql=sql&" ) A "&vbCrLf + sql=sql&" order by A.id asc "&vbCrLf + sql=sql&" SET @Prod = LEFT(@Prod, LEN(@Prod) - 1) "&vbCrLf + sql=sql&" select @Prod as 'que' "&vbCrLf + + rsm.Open sql, adoConn, 1 , 1 + sqArr = split(rsm("que"),",") + + + sql=" DECLARE @Prod varchar(max) "&vbCrLf + sql=sql&" SET @Prod = '' "&vbCrLf + sql=sql&" SELECT @Prod = @Prod + '[' + pu_que + '],' "&vbCrLf + sql=sql&" FROM ( "&vbCrLf + sql=sql&" select id, pu_que from [project2].[dbo].[T_RES_SQ_QUE_LAB] "&vbCrLf + sql=sql&" where ting='1' "&vbCrLf + sql=sql&" and pu_child_sn='"&pn_cd&"' "&vbCrLf + sql=sql&" and pu_type='"&pu_prjcode_type&"' "&vbCrLf +'-- fcsÁö¿ª sql=sql&" and fcs_area='"&pu_prjcode_area&"' "&vbCrLf + sql=sql&" and pu_que_type in ('0','2','3') "&vbCrLf '-- °ËÁõ¹®Ç×(0), °ËÁõÀüÈ­¹øÈ£(2), À̸§(3) + sql=sql&" ) A "&vbCrLf + sql=sql&" order by A.id asc "&vbCrLf + + sql=sql&" SET @Prod = LEFT(@Prod, LEN(@Prod) - 1) "&vbCrLf + sql=sql&" EXEC (' " + + if tmode<>"" then + sql=sql&" insert into "&tmode&" " + + end if + + sql=sql&" select "&vbCrLf + sql=sql&" A.oid,A.tid,A.pc_prjcode,A.pc_prjcode_sub1,A.pc_prjcode_sub2, "&vbCrLf + sql=sql&" case when left(A.ffusercode,2)=''1-'' then A.ffusercode else isnull(''1-''+REPLICATE(''0'',4 - LEN(A.ffusercode))+cast(A.ffusercode as varchar(10)),'''') end as ffusercode , "&vbCrLf '-- ¸éÁ¢¿øÄÚµå Æ÷¸ä ÀÚ¸´¼ö ä¿öÁÜ + sql=sql&" B.* "&vbCrLf + + if tmode<>"" then + sql=sql&" , null as r_error, null as m_error,null as s_error,null as q_error, getdate() as insert_date " + end if + + sql=sql&" from "&vbCrLf + sql=sql&" ( "&vbCrLf + sql=sql&" select max(id) as oid, "&vbCrLf + sql=sql&" tid,pc_prjcode,pc_prjcode_sub1,pc_prjcode_sub2,ffusercode,ffid "&vbCrLf + sql=sql&" from [project2].[dbo].[punching_data] "&vbCrLf + sql=sql&" where pc_prjcode=''"&pn_cd&"'' "&vbCrLf + sql=sql&" and pc_prjcode_sub1=''"&pu_prjcode_type&"'' "&vbCrLf + sql=sql&" and ff_ing=''1'' "&vbCrLf + '--- °ËÁõÀ̰ü µ¥ÀÌÅÍ -------------------------------------------------------------------- + sql=sql&" and ffid in ( "&vbCrLf + sql=sql&" select ttelnum from [punching].[dbo].[tb_response] "&vbCrLf + sql=sql&" where tprocode=''"&pn_cd&"'' "&vbCrLf + sql=sql&" and char(ttype+65)=''"&pu_prjcode_type&"'' "&vbCrLf + sql=sql&" ) "&vbCrLf + '-------------------------------------------------------------------------------------- + sql=sql&" group by tid,pc_prjcode,pc_prjcode_sub1,pc_prjcode_sub2,ffusercode,ffid "&vbCrLf + sql=sql&" ) A "&vbCrLf + sql=sql&" left join "&vbCrLf + sql=sql&" ( "&vbCrLf + sql=sql&" select * from "&vbCrLf + sql=sql&" (SELECT ffid,ffque, ffans FROM [project2].[dbo].[punching_data] "&vbCrLf + sql=sql&" where pc_prjcode=''"&pn_cd&"'' "&vbCrLf + sql=sql&" and pc_prjcode_sub1=''"&pu_prjcode_type&"'' "&vbCrLf + sql=sql&" and ff_ing=''1'' "&vbCrLf + sql=sql&" ) Q "&vbCrLf + sql=sql&" PIVOT ( max(ffans) FOR ffque IN (' + @Prod + ') "&vbCrLf + sql=sql&" ) AS PVT "&vbCrLf + sql=sql&" ) B "&vbCrLf + sql=sql&" on A.ffid=B.ffid "&vbCrLf + sql=sql&" where 1=1 "&vbCrLf + + for i = 0 to UBound(sqArr) + sql=sql&" and " & sqArr(i) & " <> ''-1'' "&vbCrLf + next + + sql=sql&" order by A.oid asc ') "&vbCrLf + tval=sql + + fun_sql=tval + + rsm.Close + +end function + + + + + + +%> + diff --git a/project/punching_field_setting.asp b/project/punching_field_setting.asp new file mode 100644 index 0000000..e793838 --- /dev/null +++ b/project/punching_field_setting.asp @@ -0,0 +1,450 @@ + +<% +SET rsa = server.CreateObject("ADODB.RECORDSET") +SET rsp = server.CreateObject("ADODB.RECORDSET") + +dim pn_cd : pn_cd=request.item("pn_cd") '-- ÆÝĪÄÚµå +dim pu_type : pu_type=request.item("pu_type") '-- ÆÝĪŸÀÔ +dim pu_area : pu_area=request.item("pu_area") '-- ÆÝĪÁö¿ª + + + +%> + + + + + +<%=GNB_TITLE%> + + + + + + + + +
+ + + + +
¡Ø FCS·Î À̰üÇÒ µ¥ÀÌÅ͸¦ ¼±ÅÃÇÏ¿© ÁÖ¼¼¿ä(À̰ü µ¥ÀÌÅÍ ¼±ÅÃÀº ÃÖÃÊ 1¹ø¸¸ ¼¼ÆÃ ÇϽǼö ÀÖ½À´Ï´Ù)

+ + + + + +
+ +

+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <% + dim a : a=1 + sql=" select ffque from [project2].[dbo].[punching_data] " + sql=sql&" where pc_prjcode='"&pn_cd&"' " + sql=sql&" and pc_prjcode_sub1='"&pu_type&"' " + sql=sql&" group by ffque " + sql=sql&" order by max(id) asc " + 'response.write sql + rsp.Open sql, adoConn, 1 + if rsp.eof then + %> + + + + <% + rsp.close + + else + + while not rsp.Eof + %> + + + + + + + + + + + + + <% + a=a+1 + rsp.movenext + Wend + rsp.Close + %> +<%end if%> +
No°ËÁõ
¾÷·Îµå
ÆÝι®¹ø°ËÁõ ¶óº§ À̸§°ËÁõ
ÈÞ´ëÆù¹øÈ£(1)
°ËÁõ
ÀϹݹøÈ£(2)
-°íÁ¤fftype (¼³¹®Type)<%=set_sbox("¼³¹®Type","¼³¹®Type")%>         ---
-°íÁ¤ffid (¼³¹®ID)<%=set_sbox("¼³¹®ID","¼³¹®ID")%>         ---
-°íÁ¤ffusercode (¸éÁ¢¿øID)<%=set_sbox("¸éÁ¢¿øID","¸éÁ¢¿øID")%>         ---




+ - ÆÝĪ ÇÁ·Î±×·¥¿¡¼­ °ËÁõÀ̰ü ó¸®µÈ µ¥ÀÌÅͰ¡ ¾ø½À´Ï´Ù - +



<%=a%>" onclick="javascript:js_tclick(xform,this.checked, this.value,'<%=cdbl(a)-1%>');" style="border:1px solid #FF0000;" ><%=rsp("ffque")%>" style="display:none;" ><%=set_sbox("",rsp("ffque"))%>         " style="display:none;" style="border:1px solid #FF0000;" onclick="javascript:js_r_click(xform,this.value,'<%=cdbl(a)-1%>','user_name','uno','bno','bno2');" >" style="display:none;" style="border:1px solid #FF0000;" onclick="javascript:js_r_click(xform,this.value,'<%=cdbl(a)-1%>','phone_number1','bno','uno','bno2');" >" style="display:none;" style="border:1px solid #FF0000;" onclick="javascript:js_r_click(xform,this.value,'<%=cdbl(a)-1%>','phone_number2','bno2','uno','bno');" >
+ +
 
+ +
¡¡
+ +
+ + +<% + + + + +function set_sbox(motxt, moname) + + dim tval : tval="" + + select case motxt + case "¼³¹®Type" + tval=tval&"" + case "¼³¹®ID" + tval=tval&"" + case "¸éÁ¢¿øID" + tval=tval&"" + case else + tval=tval&"" + end select + + set_sbox=tval + +end function + + + + + + + + +%> + diff --git a/project/punching_field_setting_ok_view.asp b/project/punching_field_setting_ok_view.asp new file mode 100644 index 0000000..7a7a242 --- /dev/null +++ b/project/punching_field_setting_ok_view.asp @@ -0,0 +1,140 @@ + +<% +SET rsa = server.CreateObject("ADODB.RECORDSET") +SET rsp = server.CreateObject("ADODB.RECORDSET") + +dim pn_cd : pn_cd=request.item("pn_cd") '-- ÆÝĪÄÚµå +dim pu_type : pu_type=request.item("pu_type") '-- ÆÝĪŸÀÔ +dim pu_area : pu_area=request.item("pu_area") '-- ÆÝĪÁö¿ª + + + +%> + + + + + +<%=GNB_TITLE%> + + + + + + + + +
+ + + + +

+ + + + +
+ +

+ + + + + + + + + + +
+ + + + + + + + + + <% + dim a : a=1 + sql=" select A.*, isnull(B.pu_que_ans,'') as pu_que_ans from " + sql=sql&" ( " + sql=sql&" select * from [project2].[dbo].[T_RES_SQ_QUE_LAB] " + sql=sql&" where ting='1' " + sql=sql&" and pu_que_type in ('0','2','3') " '-- °ËÁõ¹®Ç×(0) / °ËÁõÀüÈ­¹øÈ£(2) / À̸§(3) + sql=sql&" and pu_child_sn='"&pn_cd&"' " + sql=sql&" and pu_type='"&pu_type&"' " +'-- fcs Áö¿ª sql=sql&" and fcs_area='"&pu_area&"' " + sql=sql&" ) A " + sql=sql&" left join " + sql=sql&" ( " + sql=sql&" select pu_que as pu_que_ans from [project2].[dbo].[T_RES_SQ_ANS_LAB] " + sql=sql&" where ting='1' " + sql=sql&" and pu_child_sn='"&pn_cd&"' " + sql=sql&" and pu_type='"&pu_type&"' " +'-- fcs Áö¿ª sql=sql&" and fcs_area='"&pu_area&"' " + sql=sql&" group by pu_que " + sql=sql&" ) B " + sql=sql&" on A.pu_que=B.pu_que_ans " + sql=sql&" order by A.pu_que_type desc, A.tphone_1 desc, A.tphone_2 desc, A.id asc " + rsp.Open sql, adoConn, 1 + while not rsp.Eof + %> + ','<%=rsp("pu_que_ans")%>');" > + + + + + + + + <% + a=a+1 + rsp.movenext + Wend + rsp.Close + %> +
NoÆÝι®¹ø°ËÁõ ¶óº§ À̸§°ËÁõ
ÈÞ´ëÆù¹øÈ£(1)
°ËÁõ
ÀϹݹøÈ£(2)
 <%=a%> <%=rsp("pu_que")%> <%=replace(replace(rsp("pu_que_label"),"phone_number",""),"user_name","")%> <%=replace(rsp("tuser_name"),"user_name","ÀÀ´äÀÚ À̸§")%> <%=replace(rsp("tphone_1"),"phone_number","°ËÁõ ÀüÈ­¹øÈ£(1)")%> <%=replace(rsp("tphone_2"),"phone_number","°ËÁõ ÀüÈ­¹øÈ£(2)")%>
+
¡¡
+ +
+

+ +
+ + diff --git a/project/punching_field_setting_ok_view_ans.asp b/project/punching_field_setting_ok_view_ans.asp new file mode 100644 index 0000000..aa8863c --- /dev/null +++ b/project/punching_field_setting_ok_view_ans.asp @@ -0,0 +1,96 @@ + +<% +SET rsa = server.CreateObject("ADODB.RECORDSET") +SET rsp = server.CreateObject("ADODB.RECORDSET") + +dim pn_cd : pn_cd=request.item("pn_cd") '-- ÆÝĪÄÚµå +dim pu_que : pu_que=request.item("pu_que") '-- ÆÝι®¹ø +dim pu_type : pu_type=request.item("pu_type") '-- ÆÝĪŸÀÔ +dim pu_area : pu_area=request.item("pu_area") '-- ÆÝĪÁö¿ª + + + +%> + + + + + +<%=GNB_TITLE%> + + + + + + + + +
+ +

+ + + + +
+ +

+ + + + + + + + + + +
+ + + + + + + + + + + <% + dim a : a=1 + + + sql=" select pu_ans_code, pu_ans_label from [dbo].[T_RES_SQ_ANS_LAB] " + sql=sql&" where ting='1' " '-- »ç¿ë(1) + sql=sql&" and pu_child_sn='"&pn_cd&"' " + sql=sql&" and pu_type='"&pu_type&"' " +'-- fcs Áö¿ª sql=sql&" and fcs_area='"&pu_area&"' " + sql=sql&" and pu_que='"&pu_que&"' " + sql=sql&" order by id asc " + rsp.Open sql, adoConn, 1 + while not rsp.Eof + %> + + + + + <% + a=a+1 + rsp.movenext + Wend + rsp.Close + %> +
<%=pu_que%>
 º¸±âÄڵ庸±â¶óº§
 <%=rsp("pu_ans_code")%><%=rsp("pu_ans_label")%>
+
¡¡
+ +
+

+ +
+ + diff --git a/project/punching_field_setting_reg.asp b/project/punching_field_setting_reg.asp new file mode 100644 index 0000000..8323476 --- /dev/null +++ b/project/punching_field_setting_reg.asp @@ -0,0 +1,105 @@ + +<% + + + +%> + + + + + +<%=GNB_TITLE%> + + + + + + + + +
+" > +" > +" > +
¡Ø °ËÁõ¹®Ç×ÀÇ º¸±âÁ¤º¸¸¦ ÀÔ·ÂÇÏ¿© ÁÖ¼¼¿ä. º¸±âÁ¤º¸´Â º¸±âÄÚµå[ÅÇ]º¸±â¶óº§ ·Î ³Ö¾îÁֽñ⠹ٶø´Ï´Ù

+ + +
+ + +<% dim s %> +<% For Each s In request.form %> + <%if request.form(s)<>"" then %> + <% + select case s + case "field_set_x_type","field_set_x_id","field_set_x_name" + %> + + <% + case else + %> + <% if (request.form("uno")<>replace(s,"field_set_","")) and instr(s,"field_set_")>0 then %> + <% if (request.form("bno")<>replace(s,"field_set_","")) and instr(s,"field_set_")>0 then %> + <% if (request.form("bno2")<>replace(s,"field_set_","")) and instr(s,"field_set_")>0 then %> + + + + + + + + +
+ + + + + + + + + +
°ËÁõ¹®Ç× + <%=replace(s,"field_set_","")%>   + ¹®Ç× ¶óº§ [" size="20" maxlength="50" style="font-size:11pt;" readonly >] +
º¸±âÁ¤º¸
+ + + + + + + <% end if %> + <% end if %> + <% end if %> + <% end select %> + <%end if%> +<% next %> + " > + " > + " > +

+ + +
+ +
+