init biotest web

This commit is contained in:
2024-04-15 10:26:43 +07:00
commit d62954ab50
310 changed files with 242647 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="icomoon" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#xe900;" glyph-name="check" d="M954.857 636.571q0-22.857-16-38.857l-491.429-491.429q-16-16-38.857-16t-38.857 16l-284.571 284.571q-16 16-16 38.857t16 38.857l77.714 77.714q16 16 38.857 16t38.857-16l168-168.571 374.857 375.429q16 16 38.857 16t38.857-16l77.714-77.714q16-16 16-38.857z" />
<glyph unicode="&#xe901;" glyph-name="note" d="M204 958.2c-9-2.8-18-8.2-40.6-24.6-30-21.8-36.8-28.4-43.6-42.6-4.8-10-5.8-14.6-5.8-27.2 0-8.4 1.4-19 3-23.6 2.6-7.6 18.2-32.2 20.4-32.2s147.2 107.2 148 109.4c1.4 3.4-16.4 25.4-25.2 31.2-15.2 10-40.4 14.4-56.2 9.6zM278.2 899c-8-5.8-15.6-11.6-16.6-12.6-1.4-1.4 13.6-23.2 42.6-62.6 27.8-37.8 44.6-62.6 44.8-65.6 0-6.8-13.4-17.6-18.8-15-3.2 1.4-85 110.4-92 122.6-1.2 2-5.4-0.2-17.8-9-9-6.6-16-13-15.8-14.4 0.2-1.2 20.4-29.8 45-63.2 24.4-33.4 44.4-62.2 44.4-63.8 0-4.2-15.2-15.8-19.4-15-2 0.4-23.2 27.8-47.6 61-24.2 33.2-45 61.4-46 62.4-1.6 1.6-7.4-1.6-19.6-10.4-9.6-6.8-17.4-12.8-17.2-13.4 0-0.6 22.6-32 50.4-69.8l50.6-69 72.8-26.6c40-14.6 73.8-26.6 75.4-26.6 1.4 0 3.8 2 5.4 4.6 2.4 3.8 2.2 15-0.8 80.6-2.4 51.8-4.2 77.6-6 80.8-2.2 4-94.2 130.6-97.6 134.4-0.8 0.8-8-3.4-16.2-9.4zM382 742c3.4-3.4 4-6.6 4-19.4 0-8.6 0.6-26.8 1.2-40.6l1.2-25-16.4-11.6-16.2-11.6-36.4 12.4c-36.6 12.4-46 17.6-45 24.2 0.6 3.6 96.6 75.4 101.2 75.6 1.2 0 4.2-1.8 6.4-4zM358 872.6c0-0.6 17-24 38-51.8l37.8-50.6 154.6-0.6c154.4-0.6 154.6-0.6 166.4-5.2 32.8-12.4 54.6-35.2 64.6-67.4 3.4-11.4 3.6-26 3.6-295v-283l-4.4-14c-2.4-7.6-7.2-18.4-10.6-23.6-14.6-23-42-41.2-68-45.4-8.2-1.2-91.6-2-225-2-233.4 0-227.8-0.2-251.6 12.4-26 13.8-46.8 42.8-51.4 71.6-1.2 8.2-2 108.8-2 277.6v264.6l-39.4 52c-29.4 39-39.8 51.4-41 49-1-1.6-1.4-165.2-1.2-363.6l0.6-360.6 5.4-14.6c14.4-39.6 44.4-68.8 82.6-81l14-4.4h289c277.2 0 289.4 0.2 300 3.8 44.2 15 76.6 48.6 87 90.4 2.6 10.6 3 56.6 2.6 378l-0.6 365.8-4.6 13c-11.4 31.2-34.8 58-63 72-29.4 14.4-19 14-263.8 14-120.8 0-219.6-0.6-219.6-1.4zM441.6 662.2c-5.8-5.2-6.6-7-6.6-16.2s0.8-11 6.6-16.2l6.4-5.8h144c107.2 0 145.2 0.6 149 2.4 14.4 6.6 14.4 32.6 0 39.2-3.8 1.8-41.8 2.4-149 2.4h-144l-6.4-5.8zM294.8 542.4c-5.8-4.6-8.8-10.8-8.8-18.4s3-13.8 8.8-18.4c4-3.2 18.6-3.6 222.8-3.6 237.6 0 226.8-0.6 232 11 5.2 11.4 1.6 25.2-7.8 30.2-4.8 2.4-38.8 2.8-224.2 2.8-204.2 0-218.8-0.4-222.8-3.6zM294.8 420.4c-5.8-4.6-8.8-10.8-8.8-18.4s3-13.8 8.8-18.4c4-3.2 18.6-3.6 222.8-3.6 237.6 0 226.8-0.6 232 11 5.2 11.4 1.6 25.2-7.8 30.2-4.8 2.4-38.8 2.8-224.2 2.8-204.2 0-218.8-0.4-222.8-3.6zM296.2 299.2c-13-7.2-13.2-32.2-0.4-39.2 2.6-1.4 76.6-2 223.6-2 205 0 219.8 0.4 223.8 3.6 6 4.8 8.8 11 8.8 19.4 0 5.8-1.6 9-6.8 14.2l-6.8 6.8h-218.6c-177.8-0.2-219.6-0.6-223.6-2.8zM296.2 177.2c-13-7.2-13.2-32.2-0.4-39.2 2.6-1.4 76.6-2 223.6-2 205 0 219.8 0.4 223.8 3.6 6 4.8 8.8 11 8.8 19.4 0 5.8-1.6 9-6.8 14.2l-6.8 6.8h-218.6c-177.8-0.2-219.6-0.6-223.6-2.8z" />
<glyph unicode="&#xe902;" glyph-name="speaker" d="M630.432 630.432c-11.488 8.8-27.968 6.528-36.672-4.992-8.832-11.552-6.56-27.968 4.928-36.704 34.944-26.304 61.728-80.704 61.536-144.48 0.256-70.976-33.024-129.952-73.376-152.288-12.64-7.104-17.056-23.168-9.952-35.776 4.832-8.48 13.728-13.248 22.848-13.248 4.384 0 8.832 1.088 12.928 3.36 61.504 35.424 99.744 111.52 100 197.92-0.16 77.888-31.328 147.040-82.24 186.208zM822.496 872.864c-11.52 8.768-27.936 6.56-36.736-4.928-8.768-11.52-6.592-27.968 5.024-36.736h-0.064c96.096-72.864 164.128-215.264 163.968-379.936 0.192-183.104-84-338.4-196.96-401.792-12.672-7.104-17.088-23.136-9.952-35.712 4.832-8.576 13.76-13.248 22.912-13.248 4.352 0 8.8 1.024 12.896 3.296 134.016 76.544 223.264 248.896 223.52 447.456-0.192 178.784-72.544 335.904-184.608 421.6zM858.144 447.36c-0.16 122.88-49.664 231.264-127.872 291.168-11.488 8.832-27.968 6.528-36.704-4.992-8.768-11.488-6.528-27.968 4.992-36.736v0.064c62.208-47.040 107.36-140.768 107.232-249.504 0.192-120.992-55.808-222.848-128.544-263.52-12.64-7.136-17.056-23.104-9.92-35.744 4.832-8.512 13.76-13.312 22.88-13.312 4.384 0 8.832 1.088 12.896 3.36 93.856 53.76 154.848 172.768 155.040 309.216zM-58.24 622.656v-390.016h236.992l337.408-281.184v960l-341.44-289.184-232.96 0.384z" />
<glyph unicode="&#xe903;" glyph-name="edit" horiz-adv-x="960" d="M102.318 960h529.356c52.068 0 104.136-43.39 104.136-104.136v-138.847l-43.39-112.814v60.746h-633.492v-60.746h633.492l-60.746-138.847h-572.746v-60.746h546.712l-60.746-138.847h-485.966v-69.424h477.288l-17.356-234.305 199.593 208.271 17.356 34.712v-164.881c0-52.068-43.39-104.136-104.136-104.136h-529.356c-52.068 0-104.136 43.39-104.136 104.136v824.407c0 52.068 43.39 104.136 104.136 104.136zM536.216 14.102l17.356 234.305 260.339 607.458c60.746 17.356 112.814-8.678 147.525-60.746l-260.339-607.458-164.881-164.881zM779.199 725.695c43.39 0 78.102-17.356 112.814-52.068l52.068 112.814c-34.712 34.712-69.424 52.068-112.814 52.068l-52.068-112.814zM588.284 274.441c0 0 8.678 8.678 8.678 8.678 8.678 8.678 17.356 0 17.356-8.678v0l156.203 373.153c-8.678 0-17.356 0-26.034 0l-156.203-364.475zM631.674 265.763c8.678 0 17.356 0 26.034-8.678l156.203 373.153c-8.678 8.678-17.356 8.678-26.034 8.678l-156.203-373.153zM675.064 248.407c8.678 0 8.678 0 8.678 0s8.678 0 8.678-8.678c0 0 0-8.678 0-17.356l156.203 364.475c-8.678 8.678-17.356 17.356-26.034 17.356l-156.203-364.475zM562.25 109.559l34.712-17.356 86.78 86.78c8.678 26.034 8.678 34.712 8.678 43.39 0 0 0 0-8.678 8.678 0 0-8.678 0-8.678 0-8.678 0-17.356-17.356-26.034-26.034 8.678 17.356 8.678 34.712 0 43.39 0 0-8.678 8.678-8.678 8.678s-8.678 0-8.678 0-17.356-8.678-26.034-26.034c8.678 17.356 8.678 34.712 0 43.39 0 0 0 0-8.678 0 0 0-8.678 0-8.678 0-8.678-8.678-17.356-17.356-26.034-34.712l-8.678-121.492zM622.996 196.339h-34.712v-69.424h8.678l17.356 17.356 17.356 52.068z" />
<glyph unicode="&#xe904;" glyph-name="add" d="M512 940.679c-289.391 0-512-222.609-512-512s222.609-512 512-512c289.391 0 512 222.609 512 512s-222.609 512-512 512zM912.696 428.679v0c0-44.522-44.522-89.043-89.043-89.043h-244.87v-244.87c0-44.522-44.522-89.043-89.043-89.043v0c-44.522 0-89.043 44.522-89.043 89.043v244.87h-244.87c-44.522 0-89.043 44.522-89.043 89.043v0c0 44.522 44.522 89.043 89.043 89.043h244.87v244.87c0 44.522 44.522 89.043 89.043 89.043v0c44.522 0 89.043-44.522 89.043-89.043v-244.87h244.87c44.522 0 89.043-44.522 89.043-89.043z" />
<glyph unicode="&#xe905;" glyph-name="del" horiz-adv-x="816" d="M743.367 717.261h-707.491v-670.255c0-93.091 74.473-148.945 148.945-148.945h428.218c93.091 0 148.945 74.473 148.945 148.945v670.255zM54.495 866.206h316.509v37.236c0 18.618 18.618 37.236 37.236 37.236v0c18.618 0 37.236-18.618 37.236-37.236v-37.236h316.509c37.236 0 55.855-18.618 55.855-55.855v0c0-37.236-18.618-55.855-55.855-55.855h-707.491c-37.236 0-55.855 18.618-55.855 55.855v0c0 37.236 18.618 55.855 55.855 55.855zM203.44 605.552v0c18.618 0 18.618-18.618 18.618-18.618v-539.927c0-18.618-18.618-18.618-18.618-18.618v0c-18.618 0-18.618 18.618-18.618 18.618v539.927c0 18.618 18.618 18.618 18.618 18.618zM333.767 605.552v0c18.618 0 18.618-18.618 18.618-18.618v-539.927c0-18.618-18.618-18.618-18.618-18.618v0c-18.618 0-18.618 18.618-18.618 18.618v539.927c0 18.618 18.618 18.618 18.618 18.618zM482.713 605.552v0c18.618 0 18.618-18.618 18.618-18.618v-539.927c0-18.618-18.618-18.618-18.618-18.618v0c-18.618 0-18.618 18.618-18.618 18.618v539.927c0 18.618 18.618 18.618 18.618 18.618zM613.040 605.552v0c18.618 0 18.618-18.618 18.618-18.618v-539.927c0-18.618-18.618-18.618-18.618-18.618v0c-18.618 0-18.618 18.618-18.618 18.618v539.927c0 18.618 18.618 18.618 18.618 18.618zM687.513 661.406v-614.4c0-37.236-37.236-74.473-74.473-74.473h-428.218c-37.236 0-74.473 37.236-74.473 74.473v614.4h577.164z" />
<glyph unicode="&#xe906;" glyph-name="print" horiz-adv-x="1028" d="M70.117 814.323c-23.372 0-70.117-23.372-70.117-70.117v-327.213c0-23.372 23.372-70.117 70.117-70.117h116.862v93.489c0 46.745 46.745 93.489 93.489 93.489h444.075c46.745 0 93.489-46.745 93.489-93.489v-93.489h116.862c23.372 0 70.117 23.372 70.117 70.117v327.213c0 23.372-23.372 70.117-70.117 70.117h-864.777zM93.489 767.578c23.372 0 46.745-23.372 46.745-46.745s-23.372-46.745-46.745-46.745c-23.372 0-46.745 23.372-46.745 46.745s23.372 46.745 46.745 46.745zM233.723 767.578c23.372 0 46.745-23.372 46.745-46.745s-23.372-46.745-46.745-46.745c-23.372 0-46.745 23.372-46.745 46.745s23.372 46.745 46.745 46.745zM233.723 931.184h537.564c46.745 0 70.117-23.372 70.117-70.117h-677.798c0 46.745 23.372 70.117 70.117 70.117zM303.84 487.11c-46.745 0-70.117-23.372-70.117-70.117v-420.702c0-46.745 23.372-70.117 70.117-70.117h420.702c46.745 0 70.117 23.372 70.117 70.117v420.702c0 46.745-23.372 70.117-70.117 70.117h-420.702zM280.468 416.993h467.447c0 0 23.372 0 23.372-23.372v0c0 0 0-23.372-23.372-23.372h-467.447c0 0-23.372 0-23.372 23.372v0c0 0 0 23.372 23.372 23.372zM280.468 346.876h467.447c0 0 23.372 0 23.372-23.372v0c0 0 0-23.372-23.372-23.372h-467.447c0 0-23.372 0-23.372 23.372v0c0 0 0 23.372 23.372 23.372zM280.468 276.759h467.447c0 0 23.372 0 23.372-23.372v0c0 0 0-23.372-23.372-23.372h-467.447c0 0-23.372 0-23.372 23.372v0c0 0 0 23.372 23.372 23.372zM280.468 206.642h467.447c0 0 23.372 0 23.372-23.372v0c0 0 0-23.372-23.372-23.372h-467.447c0 0-23.372 0-23.372 23.372v0c0 0 0 23.372 23.372 23.372zM280.468 136.525h467.447c0 0 23.372 0 23.372-23.372v0c0 0 0-23.372-23.372-23.372h-467.447c0 0-23.372 0-23.372 23.372v0c0 0 0 23.372 23.372 23.372zM280.468 66.408h467.447c0 0 23.372 0 23.372-23.372v0c0 0 0-23.372-23.372-23.372h-467.447c0 0-23.372 0-23.372 23.372v0c0 0 0 23.372 23.372 23.372z" />
<glyph unicode="&#xe907;" glyph-name="save" horiz-adv-x="1027" d="M54.028-84.586h918.475c27.014 0 54.028 27.014 54.028 54.028v837.433c0 0 0 27.014 0 27.014l-108.056 108.056c0 0-27.014 0-27.014 0h-54.028v-378.195c0-27.014-27.014-27.014-27.014-27.014h-648.335c-27.014 0-27.014 27.014-27.014 27.014v378.195h-54.028c-27.014 0-54.028-27.014-54.028-54.028v-918.475c0-27.014 27.014-54.028 54.028-54.028zM216.112 158.539h594.307c27.014 0 27.014 0 27.014-27.014v-27.014c0-27.014 0-27.014-27.014-27.014h-594.307c-27.014 0-27.014 0-27.014 27.014v27.014c0 27.014 0 27.014 27.014 27.014zM216.112 320.623h594.307c27.014 0 27.014 0 27.014-27.014v-27.014c0-27.014 0-27.014-27.014-27.014h-594.307c-27.014 0-27.014 0-27.014 27.014v27.014c0 27.014 0 27.014 27.014 27.014zM432.223 941.944h297.154v-324.168h-297.154v324.168zM189.098 941.944h162.084v-324.168h-162.084v324.168zM162.084 428.679h702.363c27.014 0 54.028-27.014 54.028-54.028v-351.181h-810.419v351.181c0 27.014 27.014 54.028 54.028 54.028z" />
<glyph unicode="&#xe908;" glyph-name="unvalidasi" d="M307.2 906.546l238.933-238.933 238.933 238.933c68.267 68.267 170.667 68.267 238.933 0v0c68.267-68.267 68.267-170.667 0-238.933l-238.933-238.933 238.933-238.933c68.267-68.267 68.267-170.667 0-238.933v0c-68.267-68.267-170.667-68.267-238.933 0l-238.933 238.933-238.933-238.933c-68.267-68.267-170.667-68.267-238.933 0v0c-68.267 68.267-68.267 170.667 0 238.933l238.933 238.933-238.933 238.933c-68.267 68.267-68.267 170.667 0 238.933v0c68.267 68.267 170.667 68.267 238.933 0z" />
<glyph unicode="&#xe909;" glyph-name="v1" horiz-adv-x="989" d="M1.919 341.736c115.925-77.283 193.208-173.887 212.528-289.811 154.566 270.491 328.453 463.698 521.66 521.66-57.962 77.283-19.321 231.849 19.321 386.415-231.849-154.566-425.057-367.094-560.302-656.906 0 154.566-77.283 270.491-173.887 367.094 38.642-115.925 38.642-231.849-19.321-309.132zM832.712-64v502.34l-115.925-19.321v57.962l270.491 38.642v-579.623h-154.566z" />
<glyph unicode="&#xe90a;" glyph-name="v2" horiz-adv-x="1007" d="M0 335.466c111.856-74.571 186.427-167.784 223.712-279.64 149.141 279.64 316.925 466.067 521.995 503.352-55.928 74.571-18.643 223.712 18.643 372.853-223.712-149.141-410.139-372.853-559.28-652.493-18.643 149.141-74.571 260.997-186.427 372.853 37.285-130.499 37.285-223.712-18.643-316.925zM577.923-74.673v74.571l74.571 93.213c0 0 18.643 18.643 37.285 37.285 93.213 111.856 149.141 186.427 149.141 223.712 0 18.643 0 37.285-18.643 55.928s-37.285 18.643-55.928 18.643-55.928-18.643-74.571-37.285c-18.643-18.643-18.643-55.928-18.643-74.571v0h-74.571c0 55.928 18.643 93.213 55.928 130.499s74.571 55.928 149.141 55.928c55.928 0 111.856-18.643 149.141-55.928s55.928-74.571 55.928-130.499c0-18.643 0-37.285 0-55.928s-18.643-37.285-18.643-55.928c-18.643-18.643-37.285-55.928-55.928-74.571-18.643-37.285-55.928-74.571-111.856-111.856h223.712v-74.571h-410.139z" />
<glyph unicode="&#xe90b;" glyph-name="skip" d="M510.080 457.728l456.128-500.448v956.608l-456.128-456.16zM462.336-42.72v956.608l-456.16-456.16 456.16-500.448z" />
<glyph unicode="&#xe90c;" glyph-name="process" d="M212.526 597.172l1.176-0.22c15.656 30.924 36.178 60.184 62.152 86.168 112.016 111.968 283.562 127.584 412.544 47.236l-108.34-108.3 422.642-89.18-46.536 225.602-42.338 197.39-100.688-100.772c-198.178 147.31-479.242 131.702-659.050-48.024-88.528-88.524-136.944-201.68-146.13-317.276l170.314-35.952c0.792 49.244 11.988 98.188 34.254 143.328zM845.764 441.072c-0.828-48.812-12.026-97.496-34.198-142.328l-1.184 0.306c-15.702-31.054-36.168-60.314-62.104-86.206-112.016-112.064-283.646-127.546-412.586-47.37l107.466 107.512-422.256 89.226 29.964-145.432 59.44-276.648 100.64 100.644c198.136-147.312 479.202-131.698 659.010 48.112 88.31 88.264 136.724 200.93 146.086 316.232l-170.278 35.952z" />
<glyph unicode="&#xe90d;" glyph-name="import" horiz-adv-x="1200" d="M496.064 956.018c-10.092-6.869-9.135 8.772-9.495-154.729l-0.321-145.057h-96.562c-119.726 0-113.205 2.161-81.89-27.171 58.405-54.71 279.575-259.1 282.357-260.936 5.495-3.622 15.959-2.977 21.796 1.344 4.129 3.055 237.736 219.124 283.131 261.876 28.308 26.658 34.337 24.887-84.597 24.887h-96.349l-0.321 145.057c-0.36 163.501 0.597 147.86-9.495 154.729l-4.048 2.758h-200.158l-4.048-2.758zM126.712 325.481c-112.521-77.989-112.872-78.295-122.421-106.951-6.5-19.503-6.68-17.799 13.426-127.946 9.873-54.095 18.765-100.655 19.755-103.464 7.796-22.099 30.826-42.034 55.431-47.985 7.433-1.798 52.295-1.942 510.349-1.636l502.201 0.339 7.962 2.839c24.917 8.883 44.975 29.052 50.776 51.055 1.065 4.042 9.699 50.068 19.185 102.279 19.314 106.318 19.191 105.094 12.715 124.519-9.618 28.869-10.506 29.643-122.967 107.497l-94.8 65.628h-65.355c-35.942 0-65.316-0.414-65.274-0.918s46.596-35.093 103.449-76.861l103.374-75.942-13.117-0.39c-7.211-0.216-54.593 0.207-105.289 0.942-102.348 1.479-96.46 1.843-104.409-6.419-1.663-1.726-14.99-32.32-31.921-73.265l-29.064-70.303h-341.053l-29.064 70.303c-16.859 40.771-30.262 71.543-31.909 73.256-7.211 7.49-0.447 7.043-116.116 7.712l-105.7 0.612 102.873 74.718c56.58 41.095 102.906 75.132 102.945 75.636s-29.307 0.918-65.217 0.918h-65.289l-95.475-66.174z" />
<glyph unicode="&#xe937;" glyph-name="barcode" d="M0 832h128v-640h-128zM192 832h64v-640h-64zM320 832h64v-640h-64zM512 832h64v-640h-64zM768 832h64v-640h-64zM960 832h64v-640h-64zM640 832h32v-640h-32zM448 832h32v-640h-32zM864 832h32v-640h-32zM0 128h64v-64h-64zM192 128h64v-64h-64zM320 128h64v-64h-64zM640 128h64v-64h-64zM960 128h64v-64h-64zM768 128h128v-64h-128zM448 128h128v-64h-128z" />
<glyph unicode="&#xe985;" glyph-name="searchh" d="M64 960h384v-64h-384zM576 960h384v-64h-384zM952 640h-56v256h-256v-256h-256v256h-256v-256h-56c-39.6 0-72-32.4-72-72v-560c0-39.6 32.4-72 72-72h304c39.6 0 72 32.4 72 72v376h128v-376c0-39.6 32.4-72 72-72h304c39.6 0 72 32.4 72 72v560c0 39.6-32.4 72-72 72zM348 0h-248c-19.8 0-36 14.4-36 32s16.2 32 36 32h248c19.8 0 36-14.4 36-32s-16.2-32-36-32zM544 448h-64c-17.6 0-32 14.4-32 32s14.4 32 32 32h64c17.6 0 32-14.4 32-32s-14.4-32-32-32zM924 0h-248c-19.8 0-36 14.4-36 32s16.2 32 36 32h248c19.8 0 36-14.4 36-32s-16.2-32-36-32z" />
<glyph unicode="&#xe986;" glyph-name="search" d="M992.262 88.604l-242.552 206.294c-25.074 22.566-51.89 32.926-73.552 31.926 57.256 67.068 91.842 154.078 91.842 249.176 0 212.078-171.922 384-384 384-212.076 0-384-171.922-384-384s171.922-384 384-384c95.098 0 182.108 34.586 249.176 91.844-1-21.662 9.36-48.478 31.926-73.552l206.294-242.552c35.322-39.246 93.022-42.554 128.22-7.356s31.892 92.898-7.354 128.22zM384 320c-141.384 0-256 114.616-256 256s114.616 256 256 256 256-114.616 256-256-114.614-256-256-256z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="icomoon" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#xe900;" glyph-name="delta" d="M515.072 849.408l-386.048-765.952h795.648l-409.6 765.952zM490.496 734.72l290.816-576.512h-579.584l288.768 576.512z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,29 @@
@font-face {
font-family: 'icomoon';
src: url('fonts/icomoon.eot?c3noan');
src: url('fonts/icomoon.eot?c3noan#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?c3noan') format('truetype'),
url('fonts/icomoon.woff?c3noan') format('woff'),
url('fonts/icomoon.svg?c3noan#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-delta:before {
content: "\e900";
}

View File

@@ -0,0 +1,37 @@
function one_verif( url_redir ) {
let verif = async function (token) {
try {
var resp = await axios.post(BASE_URL + '/one-api/v2/verif/do',
{ token: token });
if (resp.status != 200) {
return {
status: "ERR",
message: resp.statusText
};
}
let data = resp.data;
return data;
} catch (e) {
return {
status: "ERR",
message: e.message
};
}
}
let x = async () => {
try {
let resp = await verif(window.one_token())
if (resp.status != "OK") {
window.localStorage.removeItem("token")
window.localStorage.removeItem("user")
} else {
location.replace(url_redir)
}
} catch (e) {
}
}
x()
// window.location = urllogout
}
window.one_verif = one_verif

View File

@@ -0,0 +1,130 @@
window.BASE_URL = ""
function one_money(inp, format) {
// return numeral(inp).format(format ? format : '0,000')
if(!inp)
inp = 0
var number_string = inp.toString(),
split = number_string.split(','),
sisa = split[0].length % 3,
rupiah = split[0].substr(0, sisa),
ribuan = split[0].substr(sisa).match(/\d{3}/gi);
// tambahkan titik jika yang di input sudah menjadi angka ribuan
if(ribuan){
separator = sisa ? '.' : '';
rupiah += separator + ribuan.join('.');
}
rupiah = split[1] != undefined ? rupiah + ',' + split[1] : rupiah;
return rupiah
}
window.one_money = one_money
function one_token() {
return localStorage.getItem('token')
}
window.one_token = one_token
function one_user() {
return JSON.parse(localStorage.getItem('user'))
}
window.one_user = one_user
function one_float(inp) {
try {
let val = parseFloat(inp)
if (isNaN(val)) return 0.0
return val
} catch(e) {
return 0.0
}
}
window.one_float = one_float
function one_logout(urllogout) {
window.urllogout = urllogout
let logout = async function (token) {
try {
var resp = await axios.post(BASE_URL + '/one-api/v1/system/auth/logout',
{ token: token });
if (resp.status != 200) {
return {
status: "ERR",
message: resp.statusText
};
}
let data = resp.data;
return data;
} catch (e) {
return {
status: "ERR",
message: e.message
};
}
}
let x = async () => {
try {
let resp = await logout(window.one_token())
if (resp.status != "OK") {
alert('error')
} else {
window.localStorage.removeItem("token")
window.localStorage.removeItem("user")
location.replace(window.urllogout)
}
} catch (e) {
context.commit("update_login_status", 3)
context.commit("update_login_error_message", e.message)
}
}
x()
// window.location = urllogout
}
window.one_logout = one_logout
var one_moment = function(d) {
return moment(d,"YYYY-MM-DD hh:mm:ss").fromNow()
}
window.oneMoment = one_moment
window.one_moment = one_moment
// NavBar APIs
// async function one_get_menu() {
// try {
// var resp = await axios.post(BASE_URL + '/one-api/mockup/system/menu/get_menu');
// if (resp.status != 200) {
// return {
// status: "ERR",
// message: resp.statusText
// };
// }
// let data = resp.data;
// return data;
// } catch(e) {
// return {
// status: "ERR",
// message: e.message
// };
// }
// }
// window.one_get_menu = one_get_menu
async function xno(input) {
try {
var resp = await axios.get(BASE_URL + '/one-api/v1/su/xno/show/' + input )
return resp.data
} catch(e) {
return input;
}
}
window.xno = xno

View File

@@ -0,0 +1,122 @@
window.one_money = one_money
window.one_token = one_token
window.one_float = one_float
window.do_print_ticket = do_print_ticket
window.BASE_URL = ""
window.BASE_URL_QUEUE = window.BASE_URL + ":9090/ticket/";
window.WS_SERVICE = "ws://localhost:6025";
window.PRINTER = "POS";
// isLoggedIn()
function one_money(inp) {
return numeral(inp).format('0,000.00')
}
function one_token() {
//sipe add null token redirect ke logout
var tkn = localStorage.getItem('token')
if (tkn == null ) one_logout("/one-ui/")
return localStorage.getItem('token')
}
function one_logout(urllogout){
window.localStorage.removeItem("token")
window.localStorage.removeItem("user")
window.location = urllogout
}
window.one_logout = one_logout
function one_float(inp) {
try {
let val = parseFloat(inp)
if (isNaN(val)) return 0.0
return val
} catch(e) {
return 0.0
}
}
function isLoggedIn() {
let s = localStorage.getItem("one_clinic_user")
console.log(s)
if (s == null) {
window.location = "/one-ui/test/vuex/one-fo-clinic-login"
return false
}
s = JSON.parse(s)
if (window.location.href.match(/one-fo-clinic-login/))
window.location = s.user.M_UserGroupDashboard
}
// Printing
window.zpl_socket = new WebSocket(WS_SERVICE);
window.zpl_socket.onmessage = function(msg) {
console.log('message',msg);
};
window.zpl_socket.onopen= function(msg) {
console.log('open',msg);
};
window.zpl_socket.onerror= function(msg) {
console.log('error',msg);
};
window.printer_ready = false;
function svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
function do_print_ticket(inp,fn_cb) {
var set_center =String.fromCharCode(0x1b,0x61,0x01) ;
var set_font_size_big = String.fromCharCode(0x1b,0x21,0x10);
var set_font_size = "";
var set_font_size_large = String.fromCharCode(0x1d,0x21,0x21);
var set_cutter =String.fromCharCode(0x1d, 0x56, 0x41, 0x03);
var reset_mode = String.fromCharCode(0x1b,0x40);
var nomor_sebelumnya = inp.prev_number;
var sisa_antrian = inp.remaining_queue;
var hari = inp.queue_day;
var fmt_data = reset_mode +
set_font_size_big +
set_center + "PRAMITA LAB - Cik Di Tiro\n" +
set_center + "\n" +
set_center + svc_name(inp.serviceCode) + "\n" +
"\n" + set_font_size_large +
set_center + inp.number + "\n" +
"\n" + reset_mode +
set_center + "Nomor sebelumnya " + nomor_sebelumnya + "\n" +
set_center + "Sisa Antrian " + sisa_antrian + "\n" +
set_center + hari + " " + inp.queue_date + " " + inp.queue_time + "\n" +
set_center + "Terima Kasih\n\n\n" ;
fmt_data = fmt_data + set_cutter;
var data_print = {
printer : PRINTER,
type : "zpl",
data : fmt_data
};
window.zpl_socket.send(JSON.stringify(data_print));
fn_cb();
}

View File

@@ -0,0 +1,77 @@
var G_WS_SERVICE = "ws://localhost:6025";
var G_PRINTER = "POS";
var g_cln_printer_ready = false;
var g_cln_socket = new WebSocket(G_WS_SERVICE);
socket.onmessage = function(msg) {
};
socket.onopen = function() {
};
socket.onerror = function(msg) {
};
function cln_svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
// inp
// prev_number
// remaining_queue
// queue_day
// serviceCode
// number
// queue_date
// queue_time
function one_print_antrian(inp,fn_cb) {
var set_center =String.fromCharCode(0x1b,0x61,0x01) ;
var set_font_size_big = String.fromCharCode(0x1b,0x21,0x10);
var set_font_size = "";
var set_font_size_large = String.fromCharCode(0x1d,0x21,0x21);
var set_cutter =String.fromCharCode(0x1d, 0x56, 0x41, 0x03);
var reset_mode = String.fromCharCode(0x1b,0x40);
var nomor_sebelumnya = inp.prev_number;
var sisa_antrian = inp.remaining_queue;
var hari = inp.queue_day;
var fmt_data = reset_mode +
set_font_size_big +
set_center + "PRAMITA LAB - Cik Di Tiro\n" +
set_center + "\n" +
set_center + cln_svc_name(inp.serviceCode) + "\n" +
"\n" + set_font_size_large +
set_center + inp.number + "\n" +
"\n" + reset_mode +
set_center + "Nomor sebelumnya " + nomor_sebelumnya + "\n" +
set_center + "Sisa Antrian " + sisa_antrian + "\n" +
set_center + hari + " " + inp.queue_date + " " + inp.queue_time + "\n" +
set_center + "Terima Kasih\n\n\n" ;
fmt_data = fmt_data + set_cutter;
var data_print = {
printer : G_PRINTER,
type : "zpl",
data : fmt_data
};
socket.send(JSON.stringify(data_print));
fn_cb();
}
window.one_print_antrian = one_print_antrian;

View File

@@ -0,0 +1,461 @@
var G_BC_WS_SERVICE = "ws://localhost:6025";
var G_BC_PRINTER = "zebra";
var g_bc_cln_printer_ready = false;
var g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
g_bc_cln_socket.onmessage = function(msg) {
};
g_bc_cln_socket.onopen = function() {
};
g_bc_cln_socket.onerror = function(msg) {
};
function cln_svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
function one_print_barcode_pk(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR5,5~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW440"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT106,219^A0I,17,19^FH\^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ "^FT184,14^A0I,17,16^FH\^FD"+ r.T_OrderHeaderM_PatientAge +"^FS"+ "\n"
+ "^FT392,16^A0I,25,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT395,208^A0I,28,21^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
+ "^FO75,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
//+ "^BY2,2,141^FT365,46^BCI,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FT396,29^A0R,31,31^FH\^FD"+ r.Full_T_OrderHeaderLabNumber + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
;
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk2(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR5,5~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW440"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT106,219^A0I,17,19^FH\^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ "^FT184,14^A0I,17,16^FH\^FD"+ r.T_OrderHeaderM_PatientAge +"^FS"+ "\n"
+ "^FT392,16^A0I,25,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT395,208^A0I,28,21^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
+ "^FO35,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
//+ "^BY2,3,141^FT376,46^BCI,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FT402,29^A0R,25,26^FH\^FD"+ r.Full_T_OrderHeaderLabNumber + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
;
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_2020_05(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ " ^CF0,25"+ "\n"
+ " ^FO35,20^FD"+ r.M_PatientName +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,197^FD"+ r.T_OrderHeaderM_PatientAge +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,220^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ " ^FO220,220^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ " ^CF0^A0B,30"+ "\n"
+ " ^FO2,80^FD"+ r.Full_T_OrderHeaderLabNumber +"^FS"+ "\n"
// + " ^BY2,2,120"+ "\n"
// + "^FO25,80^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FO35,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_bkpadhi(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT20,220^A0B,23,24^FH\^FD"+ r.T_BarcodeLabBarcode +"^FS"+ "\n"
+ "^FT50,220^A0N,23,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT50,50^A0N,28,28^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
// + "^BY1,2,120^FT44,188^BCN,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^BY2,2,120"+ "\n"
+ "^FO35,70^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO40,70^BY1^BCN,100,N,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO44,70^BY2^B1N,N,100,N,N"+ "\n"
// + "^FDL-191106003EL111^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows[0];
var print_data_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sex_code +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_amplop_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT6,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT6,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT6,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT6,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT6,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT6,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT6,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT6,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT6,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT8,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT206,100^A0N,31,31^FH\^FD "+": "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT206,130^A0N,31,31^FH\^FD "+": "+data.datereg+"^FS"+ "\n"
+ "^FT206,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT206,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT206,190^A0N,31,31^FH\^FD "+": "+ data.age+"^FS"+ "\n"
+ "^FT206,220^A0N,31,31^FH\^FD "+": "+ data.alamat+"^FS"+ "\n"
+ "^FT206,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT206,290^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT208,290^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT206,320^A0N,31,31^FH\^FD "+": "+ data.patienttype+"^FS"+ "\n"
+ "^BY3,3,45^FT240,380^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so (inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows[0];
var print_data_amplop_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT1,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT1,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT1,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT1,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT1,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT1,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT1,300^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT1,330^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT1,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT2,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT200,100^A0N,31,31^FH\^FD "+": "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT200,130^A0N,31,31^FH\^FD "+": "+data.datereg+"^FS"+ "\n"
+ "^FT200,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT202,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT200,190^A0N,31,31^FH\^FD "+": "+ data.age+"^FS"+ "\n"
+ "^FT200,220^A0N,31,31^FH\^FD "+": "+ data.alamat+"^FS"+ "\n"
+ "^FT200,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT200,300^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT202,300^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT200,330^A0N,31,31^FH\^FD "+": "+ data.patienttype+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_formulir(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_data_formulir = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_formulir);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_formulir
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
window.one_print_barcode_pk= one_print_barcode_pk;
window.one_print_barcode_so = one_print_barcode_so;
window.one_print_barcode_so_group = one_print_barcode_so_group;
window.one_print_barcode_amplop_so_group = one_print_barcode_amplop_so_group;
window.one_print_barcode_amplop_so = one_print_barcode_amplop_so;
window.one_print_barcode_formulir = one_print_barcode_formulir;

View File

@@ -0,0 +1,437 @@
var G_BC_WS_SERVICE = "ws://localhost:6025";
var G_BC_PRINTER = "zebra";
var g_bc_cln_printer_ready = false;
var g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
g_bc_cln_socket.onmessage = function(msg) {
};
g_bc_cln_socket.onopen = function() {
};
g_bc_cln_socket.onerror = function(msg) {
};
function cln_svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
function one_print_barcode_pk(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var cat_print_data_lab = "";
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR5,5~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW440"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT106,219^A0I,17,19^FH\^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ "^FT184,14^A0I,17,16^FH\^FD"+ r.T_OrderHeaderM_PatientAge +"^FS"+ "\n"
+ "^FT392,16^A0I,25,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT395,208^A0I,28,21^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
+ "^FO75,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
//+ "^BY2,2,141^FT365,46^BCI,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FT396,29^A0R,31,31^FH\^FD"+ r.Full_T_OrderHeaderLabNumber + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
;
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
cat_print_data_lab += print_data_lab;
//g_bc_cln_socket.send(JSON.stringify(data_print));
}
var all_data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : cat_print_data_lab
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(all_data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_2020(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ " ^CF0,25"+ "\n"
+ " ^FO35,20^FD"+ r.M_PatientName +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,197^FD"+ r.T_OrderHeaderM_PatientAge +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,220^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ " ^FO220,220^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ " ^CF0^A0B,30"+ "\n"
+ " ^FO2,80^FD"+ r.T_OrderHeaderLabNumber +"^FS"+ "\n"
// + " ^BY2,2,120"+ "\n"
// + "^FO25,80^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FO35,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_bkpadhi(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT20,220^A0B,23,24^FH\^FD"+ r.T_BarcodeLabBarcode +"^FS"+ "\n"
+ "^FT50,220^A0N,23,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT50,50^A0N,28,28^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
// + "^BY1,2,120^FT44,188^BCN,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^BY2,2,120"+ "\n"
+ "^FO35,70^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO40,70^BY1^BCN,100,N,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO44,70^BY2^B1N,N,100,N,N"+ "\n"
// + "^FDL-191106003EL111^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows[0];
var print_data_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sex_code +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_amplop_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY3,3,45^FT240,380^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so (inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows[0];
var print_data_amplop_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_formulir(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_data_formulir = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_formulir);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_formulir
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
window.one_print_barcode_pk= one_print_barcode_pk;
window.one_print_barcode_so = one_print_barcode_so;
window.one_print_barcode_so_group = one_print_barcode_so_group;
window.one_print_barcode_amplop_so_group = one_print_barcode_amplop_so_group;
window.one_print_barcode_amplop_so = one_print_barcode_amplop_so;
window.one_print_barcode_formulir = one_print_barcode_formulir;

View File

@@ -0,0 +1,545 @@
var G_BC_WS_SERVICE = "ws://localhost:6025";
var G_BC_PRINTER = "zebra";
var g_bc_cln_printer_ready = false;
var g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
g_bc_cln_socket.onmessage = function(msg) {
};
g_bc_cln_socket.onopen = function() {
};
g_bc_cln_socket.onerror = function(msg) {
};
function cln_svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
function one_print_barcode_pk(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var cat_print_data_lab = "";
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR5,5~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW440"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT106,219^A0I,17,19^FH\^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ "^FT184,14^A0I,25,16^FH\^FD"+ r.M_PatientDOB +"^FS"+ "\n"
+ "^FT392,16^A0I,25,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT395,208^A0I,28,21^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
+ "^FO75,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
//+ "^BY2,2,141^FT365,46^BCI,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FT396,29^A0R,31,31^FH\^FD"+ r.Full_T_OrderHeaderLabNumber + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
;
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
cat_print_data_lab += print_data_lab;
//g_bc_cln_socket.send(JSON.stringify(data_print));
}
var all_data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : cat_print_data_lab
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(all_data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_2020(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ " ^CF0,25"+ "\n"
+ " ^FO35,20^FD"+ r.M_PatientName +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,197^FD"+ r.M_PatientDOB +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,220^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ " ^FO220,220^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ " ^CF0^A0B,30"+ "\n"
+ " ^FO2,80^FD"+ r.T_OrderHeaderLabNumber +"^FS"+ "\n"
// + " ^BY2,2,120"+ "\n"
// + "^FO25,80^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FO35,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_bkpadhi(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT20,220^A0B,23,24^FH\^FD"+ r.T_BarcodeLabBarcode +"^FS"+ "\n"
+ "^FT50,220^A0N,23,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT50,50^A0N,28,28^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
// + "^BY1,2,120^FT44,188^BCN,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^BY2,2,120"+ "\n"
+ "^FO35,70^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO40,70^BY1^BCN,100,N,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO44,70^BY2^B1N,N,100,N,N"+ "\n"
// + "^FDL-191106003EL111^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows[0];
var print_data_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sex_code +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_amplop_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY3,3,45^FT240,380^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so (inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows[0];
var print_data_amplop_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_formulir(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_data_formulir = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_formulir);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_formulir
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_label_khusus (inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows[0];
var print_label_khusus = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_label_khusus);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_label_khusus
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_khusus(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_barcode_khusus = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_barcode_khusus);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_barcode_khusus
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
window.one_print_barcode_pk= one_print_barcode_pk;
window.one_print_barcode_so = one_print_barcode_so;
window.one_print_barcode_so_group = one_print_barcode_so_group;
window.one_print_barcode_amplop_so_group = one_print_barcode_amplop_so_group;
window.one_print_barcode_amplop_so = one_print_barcode_amplop_so;
window.one_print_barcode_formulir = one_print_barcode_formulir;
window.one_print_label_khusus = one_print_label_khusus;
window.one_print_barcode_khusus = one_print_barcode_khusus;

View File

@@ -0,0 +1,269 @@
var G_BC_WS_SERVICE = "ws://localhost:6025";
var G_BC_PRINTER = "zebra";
var g_bc_cln_printer_ready = false;
var g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
g_bc_cln_socket.onmessage = function(msg) {
};
g_bc_cln_socket.onopen = function() {
};
g_bc_cln_socket.onerror = function(msg) {
};
function cln_svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
function one_print_barcode_pk(inp) {
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT25,220^A0B,23,24^FH\^FD"+ r.T_BarcodeLabBarcode +"^FS"+ "\n"
+ "^FT50,220^A0N,23,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT50,50^A0N,28,28^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,120^FT44,188^BCN,,N,N"+ "\n"
+ "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO40,70^BY1^BCN,100,N,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO44,70^BY2^B1N,N,100,N,N"+ "\n"
// + "^FDL-191106003EL111^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so(inp) {
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows[0];
var print_data_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sex_code +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_CompanyName +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so_group(inp) {
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so_group(inp) {
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_amplop_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT1,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT1,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT1,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT1,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT1,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT1,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT1,300^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT1,330^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT1,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT2,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT200,100^A0N,31,31^FH\^FD "+": "+ data.nolab+"/"+ data.noreg+"^FS"+ "\n"
+ "^FT200,130^A0N,31,31^FH\^FD "+": "+data.datereg+"^FS"+ "\n"
+ "^FT200,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT202,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT200,190^A0N,31,31^FH\^FD "+": "+ data.age+"^FS"+ "\n"
+ "^FT200,220^A0N,31,31^FH\^FD "+": "+ data.alamat+"^FS"+ "\n"
+ "^FT200,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT200,300^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT202,300^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT200,330^A0N,31,31^FH\^FD "+": "+ data.M_CompanyName+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so (inp) {
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows[0];
var print_data_amplop_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT1,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT1,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT1,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT1,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT1,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT1,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT1,300^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT1,330^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT1,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT2,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT200,100^A0N,31,31^FH\^FD "+": "+ data.nolab+"/"+ data.noreg+"^FS"+ "\n"
+ "^FT200,130^A0N,31,31^FH\^FD "+": "+data.datereg+"^FS"+ "\n"
+ "^FT200,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT202,160^A0N,31,31^FH\^FD "+": "+data.M_PatientName+"^FS"+ "\n"
+ "^FT200,190^A0N,31,31^FH\^FD "+": "+ data.age+"^FS"+ "\n"
+ "^FT200,220^A0N,31,31^FH\^FD "+": "+ data.alamat+"^FS"+ "\n"
+ "^FT200,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT200,300^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT202,300^A0N,31,31^FH\^FD "+": "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT200,330^A0N,31,31^FH\^FD "+": "+ data.M_CompanyName+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
window.one_print_barcode_pk= one_print_barcode_pk;
window.one_print_barcode_so = one_print_barcode_so;
window.one_print_barcode_so_group = one_print_barcode_so_group;
window.one_print_barcode_amplop_so_group = one_print_barcode_amplop_so_group;
window.one_print_barcode_amplop_so = one_print_barcode_amplop_so;

View File

@@ -0,0 +1,524 @@
var G_BC_WS_SERVICE = "ws://localhost:6025";
var G_BC_PRINTER = "zebra";
var g_bc_cln_printer_ready = false;
var g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
g_bc_cln_socket.onmessage = function(msg) {
};
g_bc_cln_socket.onopen = function() {
};
g_bc_cln_socket.onerror = function(msg) {
};
function cln_svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
function one_print_barcode_pk(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var cat_print_data_lab = "";
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR5,5~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW440"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT106,219^A0I,17,19^FH\^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ "^FT184,14^A0I,25,16^FH\^FD"+ r.M_PatientDOB +"^FS"+ "\n"
+ "^FT392,16^A0I,25,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT395,208^A0I,28,21^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
+ "^FO75,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
//+ "^BY2,2,141^FT365,46^BCI,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FT396,29^A0R,31,31^FH\^FD"+ r.Full_T_OrderHeaderLabNumber + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
;
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
cat_print_data_lab += print_data_lab;
//g_bc_cln_socket.send(JSON.stringify(data_print));
}
var all_data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : cat_print_data_lab
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(all_data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_2020(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ " ^CF0,25"+ "\n"
+ " ^FO35,20^FD"+ r.M_PatientName +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,197^FD"+ r.M_PatientDOB +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,220^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ " ^FO220,220^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ " ^CF0^A0B,30"+ "\n"
+ " ^FO2,80^FD"+ r.T_OrderHeaderLabNumber +"^FS"+ "\n"
// + " ^BY2,2,120"+ "\n"
// + "^FO25,80^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FO35,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_bkpadhi(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT20,220^A0B,23,24^FH\^FD"+ r.T_BarcodeLabBarcode +"^FS"+ "\n"
+ "^FT50,220^A0N,23,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT50,50^A0N,28,28^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
// + "^BY1,2,120^FT44,188^BCN,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^BY2,2,120"+ "\n"
+ "^FO35,70^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO40,70^BY1^BCN,100,N,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO44,70^BY2^B1N,N,100,N,N"+ "\n"
// + "^FDL-191106003EL111^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows[0];
var print_data_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sex_code +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_amplop_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY3,3,45^FT240,380^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so (inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows[0];
var print_data_amplop_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_formulir(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_data_formulir = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_formulir);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_formulir
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_khusus(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_data_formulir = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_formulir);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_formulir
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_label_khusus(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_data_formulir = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_formulir);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_formulir
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
window.one_print_barcode_pk= one_print_barcode_pk;
window.one_print_barcode_so = one_print_barcode_so;
window.one_print_barcode_so_group = one_print_barcode_so_group;
window.one_print_barcode_amplop_so_group = one_print_barcode_amplop_so_group;
window.one_print_barcode_amplop_so = one_print_barcode_amplop_so;
window.one_print_barcode_formulir = one_print_barcode_formulir;
window.one_print_barcode_khusus = one_print_barcode_khusus;
window.one_print_label_khusus = one_print_label_khusus;

View File

@@ -0,0 +1,544 @@
var G_BC_WS_SERVICE = "ws://localhost:6025";
var G_BC_PRINTER = "zebra";
var g_bc_cln_printer_ready = false;
var g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
g_bc_cln_socket.onmessage = function(msg) {
};
g_bc_cln_socket.onopen = function() {
};
g_bc_cln_socket.onerror = function(msg) {
};
function cln_svc_name(svc) {
switch(svc) {
case "UMUM":
return "Pasien Umum";
case "COM" :
return "Pasien Rekanan";
case "KLINIK" :
return "Pasien Klinik";
case "ONLINE" :
return "Pasien Online";
case "RES" :
return "Pengambilan Hasil";
case "APPDR" :
return "Mobile Dokter";
case "MEMBER" :
return "Pasien Member";
default :
return "OTHER";
}
}
function one_print_barcode_pk(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var cat_print_data_lab = "";
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR5,5~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW440"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT106,219^A0I,17,19^FH\^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ "^FT184,14^A0I,25,16^FH\^FD"+ r.M_PatientDOB +"^FS"+ "\n"
+ "^FT392,16^A0I,25,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT395,208^A0I,28,21^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
+ "^FO75,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
//+ "^BY2,2,141^FT365,46^BCI,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FT396,29^A0R,31,31^FH\^FD"+ r.Full_T_OrderHeaderLabNumber + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
;
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
cat_print_data_lab += print_data_lab;
//g_bc_cln_socket.send(JSON.stringify(data_print));
}
var all_data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : cat_print_data_lab
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(all_data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_2020(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab =
"CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ " ^CF0,25"+ "\n"
+ " ^FO35,20^FD"+ r.M_PatientName +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,197^FD"+ r.M_PatientDOB +"^FS"+ "\n"
+ " ^CF0,20"+ "\n"
+ " ^FO35,220^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ " ^FO220,220^FD"+ r.T_OrderHeaderDate +"^FS"+ "\n"
+ " ^CF0^A0B,30"+ "\n"
+ " ^FO2,80^FD"+ r.T_OrderHeaderLabNumber +"^FS"+ "\n"
// + " ^BY2,2,120"+ "\n"
// + "^FO25,80^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^FO35,50^BY2^BC,140,N,N,N,A^FD"+ r.T_BarcodeLabBarcode + "^FS^"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_pk_bkpadhi(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
var print_data_lab = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT20,220^A0B,23,24^FH\^FD"+ r.T_BarcodeLabBarcode +"^FS"+ "\n"
+ "^FT50,220^A0N,23,24^FH\^FD"+ r.T_SampleTypeName +"^FS"+ "\n"
+ "^FT50,50^A0N,28,28^FH\^FD"+ r.M_PatientName +"^FS"+ "\n"
// + "^BY1,2,120^FT44,188^BCN,,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
+ "^BY2,2,120"+ "\n"
+ "^FO35,70^BCN,,N,N^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO40,70^BY1^BCN,100,N,N,N"+ "\n"
// + "^FD"+ r.T_BarcodeLabBarcode + "^FS"+ "\n"
// + "^FO44,70^BY2^B1N,N,100,N,N"+ "\n"
// + "^FDL-191106003EL111^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_lab);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_lab
};
g_bc_cln_socket.send(JSON.stringify(data_print));
}
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows[0];
var print_data_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sex_code +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so_group(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_group',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_data_amplop_so_group = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY3,3,45^FT240,380^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so_group);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so_group
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_amplop_so (inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows[0];
var print_data_amplop_so = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW719"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,65^A0N,31,31^FH\^GB700,1,3^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNO. ID / NO REG^FS"+ "\n"
+ "^FT18,130^A0N,31,31^FH\^FDTGL REG^FS"+ "\n"
+ "^FT18,160^A0N,31,31^FH\^FDNAMA^FS"+ "\n"
+ "^FT18,190^A0N,31,31^FH\^FDUMUR^FS"+ "\n"
+ "^FT18,220^A0N,31,31^FH\^FDALAMAT^FS"+ "\n"
+ "^FT18,290^A0N,31,31^FH\^FDPENGIRIM^FS"+ "\n"
+ "^FT18,320^A0N,31,31^FH\^FDPSN GRUP^FS"+ "\n"
+ "^FT18,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT19,60^A0N,31,31^FH\^FD"+ data.test +"^FS"+ "\n"
+ "^FT210,100^A0N,31,31^FH\^FD "+" : "+ data.noreg+"/"+ data.nolab+"^FS"+ "\n"
+ "^FT210,130^A0N,31,31^FH\^FD "+" : "+data.datereg+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,160^A0N,31,31^FH\^FD "+" : "+data.M_PatientName+"^FS"+ "\n"
+ "^FT210,190^A0N,31,31^FH\^FD "+" : "+ data.age+"^FS"+ "\n"
+ "^FT210,220^A0N,31,31^FH\^FD "+" : "+ data.alamat+"^FS"+ "\n"
+ "^FT210,255^A0N,31,31^FH\^FD "+" "+ data.city+"^FS"+ "\n"
+ "^FT210,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT212,290^A0N,31,31^FH\^FD "+" : "+ data.M_DoctorName+"^FS"+ "\n"
+ "^FT210,325^A0N,31,31^FH\^FD "+" : "+ data.patienttype+"^FS"+ "\n"
+ "^BY4,3,45^FT200,390^BCN,Y,N,N,N" + "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_data_amplop_so);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_amplop_so
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_formulir(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_data_formulir = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT5,150^A0N,23,24^FH\^FD"+ data.sexcode +"/"+ data.datereg +"("+ data.age +")^FS"+ "\n"
+ "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
+ "^FT5,175^A0N,23,24^FH\^FD" + data.alamat + "^FS"+ "\n"
+ "^FT3,125^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^BY2,2,45^FT22,70^BCN,,Y,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
+ "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_data_formulir);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_data_formulir
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_label_khusus(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/so_label',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data = resp.data.rows;
var print_label_khusus = "CT~~CD,~CC^~CT~"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW800"+ "\n"
+ "^LL0480"+ "\n"
+ "^LS0"+ "\n"
+ "^FT18,50^A0N,31,31^FH\^FDNama^FS"+ "\n"
+ "^FT18,100^A0N,31,31^FH\^FDNRP/NIP^FS"+ "\n"
+ "^FT18,150^A0N,31,31^FH\^FDKesatuan^FS"+ "\n"
+ "^FT18,200^A0N,31,31^FH\^FDJabatan^FS"+ "\n"
+ "^FT18,250^A0N,31,31^FH\^FDTgl Lahir^FS"+ "\n"
+ "^FT18,300^A0N,31,31^FH\^FDAlamat^FS"+ "\n"
+ "^FT18,350^A0N,31,31^FH\^FDNo.HP^FS"+ "\n"
+ "^FT150,50^A0N,31,31^FH\^FD "+": "+ data.M_PatientName+"^FS"+ "\n"
+ "^FT150,100^A0N,31,31^FH\^FD "+": "+data.nrp+"^FS"+ "\n"
+ "^FT150,150^A0N,31,31^FH\^FD "+": "+data.M_PatientJob+"^FS"+ "\n"
+ "^FT150,200^A0N,31,31^FH\^FD "+": "+ data.M_PatientJabatan+"^FS"+ "\n"
+ "^FT150,250^A0N,31,31^FH\^FD "+": "+ data.tgllahir+"^FS"+ "\n"
+ "^FT150,300^A0N,31,31^FH\^FD "+": "+ data.alamat+"^FS"+ "\n"
+ "^FT150,350^A0N,31,31^FH\^FD "+": "+ data.M_PatientHP+"^FS"+ "\n"
+ "^FT400,350^A0N,31,31^FH\^FD "+""+ data.lab+"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n";
console.log(print_label_khusus);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_label_khusus
};
g_bc_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
function one_print_barcode_khusus(inp) {
g_bc_cln_socket = new WebSocket(G_BC_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/formulir_khusus',{
params: {orderId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data= resp.data.rows ;
var print_barcode_khusus = "CT~CD,~CC^~CT"+ "\n"
+ "^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2~SD15^JUS^LRN^CI0^XZ"+ "\n"
+ "^XA"+ "\n"
+ "^MMT"+ "\n"
+ "^PW400"+ "\n"
+ "^LL0240"+ "\n"
+ "^LS0"+ "\n"
+ "^FT3,40^A0N,28,28^FH\^FD"+ data.M_PatientName +"^FS"+ "\n"
+ "^FT5,80^A0N,23,24^FH\^FD"+ data.nrp +"^FS"+ "\n"
+ "^FT5,120^A0N,23,24^FH\^FD" + data.M_PatientJob+ "^FS"+ "\n"
+ "^BY2,2,45^FT5,220^BCN,,N,N"+ "\n"
+ "^FD" + data.nolab + "^FS"+ "\n"
+ " ^FO350,17^GB50,210,3^FS "+ "\n"
+ "^CF0,31 "+ "\n"
+ "^FWR "+ "\n"
+ "^FO355,28^FD"+ data.nolab+"^FS "+ "\n"
+ "^FO310,16^FD"+ data.tgllahir +"^FS "+ "\n"
+ "^CF0,25 "+ "\n"
// + "^FT5,200^A0N,23,24^FH\^FD"+ data.city+"^FS"+ "\n"
// + "^FD" + data.nolab + "^FS"+ "\n"
// + "^FT5,225^A0N,23,24^FH\^FD"+ data.M_DoctorName +"^FS"+ "\n"
// + "^FT5,275^A0N,23,24^FH\^FD"+ data.patienttype +"^FS"+ "\n"
+ "^PQ1,0,1,Y^XZ"+ "\n"
console.log(print_barcode_khusus);
var data_print = {
printer : G_BC_PRINTER,
type : "zpl",
data : print_barcode_khusus
};
setTimeout(function() {
g_bc_cln_socket.send(JSON.stringify(data_print));
},500);
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
window.one_print_barcode_pk= one_print_barcode_pk;
window.one_print_barcode_so = one_print_barcode_so;
window.one_print_barcode_so_group = one_print_barcode_so_group;
window.one_print_barcode_amplop_so_group = one_print_barcode_amplop_so_group;
window.one_print_barcode_amplop_so = one_print_barcode_amplop_so;
window.one_print_barcode_formulir = one_print_barcode_formulir;
window.one_print_barcode_khusus = one_print_barcode_khusus;
window.one_print_label_khusus = one_print_label_khusus;

View File

@@ -0,0 +1,55 @@
var G_ROBO_WS_SERVICE = "ws://localhost:6026";
var g_robo_cln_socket = new WebSocket(G_ROBO_WS_SERVICE);
var g_robo_cln_printer_ready = false;
var g_robo_cln_socket = new WebSocket(G_ROBO_WS_SERVICE);
g_robo_cln_socket.onmessage = function(msg) {
};
g_robo_cln_socket.onopen = function() {
};
g_robo_cln_socket.onerror = function(msg) {
};
function one_print_robo(inp) {
g_robo_cln_socket = new WebSocket(G_ROBO_WS_SERVICE);
axios.get('/one-api/v1/su/barcode/pk',{
params: {barcodeId: inp}
})
.then( function(resp) {
if (resp.data.status == "OK") {
var data_print = {};
for(var i=0; i < resp.data.rows.length ; i++) {
var r = resp.data.rows[i];
if (i==0) {
data_print = {
type : "robo",
name : r.M_PatientName,
age : r.T_OrderHeaderM_PatientAge,
date : r.T_OrderHeaderDate,
regno : r.T_OrderHeaderLabNumber,
sex : r.Sex,
pid: r.M_PatientNoReg,
data : []
};
}
data_print.data.push( {
sample: r.T_SampleTypeName,
no : r.T_BarcodeLabBarcode,
code : r.T_SampleTypeSuffix
});
}
g_robo_cln_socket.send(JSON.stringify(data_print));
} else {
console.log("ERR", resp.data);
}
})
.catch( function(e) {
console.log('Err Get Barcode', e);
})
}
window.one_print_robo = one_print_robo;

View File

@@ -0,0 +1,11 @@
window.BASE_URL = ""
async function xno(input) {
try {
var resp = await axios.post(BASE_URL + '/one-api/v1/su/xno/' + input )
return resp.data
} catch(e) {
return input;
}
}
window.xno = xno

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
/*!
* svg.js - A lightweight library for manipulating and animating SVG.
* @version 2.6.6
* https://svgdotjs.github.io/
*/
/*!
* svg.select.js - An extension of svg.js which allows to select elements with mouse
* @version 3.0.1
* https://github.com/svgdotjs/svg.select.js
*
* @copyright Ulrich-Matthias Schäfer
* @license MIT
*/
/*! svg.draggable.js - v2.2.2 - 2019-01-08
* https://github.com/svgdotjs/svg.draggable.js
* Copyright (c) 2019 Wout Fierens; Licensed MIT */

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,688 @@
.apexcharts-canvas {
position: relative;
user-select: none;
/* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */
}
/* scrollbar is not visible by default for legend, hence forcing the visibility */
.apexcharts-canvas ::-webkit-scrollbar {
-webkit-appearance: none;
width: 6px;
}
.apexcharts-canvas ::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0, 0, 0, .5);
box-shadow: 0 0 1px rgba(255, 255, 255, .5);
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
.apexcharts-inner {
position: relative;
}
.apexcharts-text tspan {
font-family: inherit;
}
.legend-mouseover-inactive {
transition: 0.15s ease all;
opacity: 0.20;
}
.apexcharts-series-collapsed {
opacity: 0;
}
.apexcharts-tooltip {
border-radius: 5px;
box-shadow: 2px 2px 6px -4px #999;
cursor: default;
font-size: 14px;
left: 62px;
opacity: 0;
pointer-events: none;
position: absolute;
top: 20px;
display: flex;
flex-direction: column;
overflow: hidden;
white-space: nowrap;
z-index: 12;
transition: 0.15s ease all;
}
.apexcharts-tooltip.apexcharts-active {
opacity: 1;
transition: 0.15s ease all;
}
.apexcharts-tooltip.apexcharts-theme-light {
border: 1px solid #e3e3e3;
background: rgba(255, 255, 255, 0.96);
}
.apexcharts-tooltip.apexcharts-theme-dark {
color: #fff;
background: rgba(30, 30, 30, 0.8);
}
.apexcharts-tooltip * {
font-family: inherit;
}
.apexcharts-tooltip-title {
padding: 6px;
font-size: 15px;
margin-bottom: 4px;
}
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
background: #ECEFF1;
border-bottom: 1px solid #ddd;
}
.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title {
background: rgba(0, 0, 0, 0.7);
border-bottom: 1px solid #333;
}
.apexcharts-tooltip-text-y-value,
.apexcharts-tooltip-text-goals-value,
.apexcharts-tooltip-text-z-value {
display: inline-block;
font-weight: 600;
margin-left: 5px;
}
.apexcharts-tooltip-title:empty,
.apexcharts-tooltip-text-y-label:empty,
.apexcharts-tooltip-text-y-value:empty,
.apexcharts-tooltip-text-goals-label:empty,
.apexcharts-tooltip-text-goals-value:empty,
.apexcharts-tooltip-text-z-value:empty {
display: none;
}
.apexcharts-tooltip-text-y-value,
.apexcharts-tooltip-text-goals-value,
.apexcharts-tooltip-text-z-value {
font-weight: 600;
}
.apexcharts-tooltip-text-goals-label,
.apexcharts-tooltip-text-goals-value {
padding: 6px 0 5px;
}
.apexcharts-tooltip-goals-group,
.apexcharts-tooltip-text-goals-label,
.apexcharts-tooltip-text-goals-value {
display: flex;
}
.apexcharts-tooltip-text-goals-label:not(:empty),
.apexcharts-tooltip-text-goals-value:not(:empty) {
margin-top: -6px;
}
.apexcharts-tooltip-marker {
width: 12px;
height: 12px;
position: relative;
top: 0px;
margin-right: 10px;
border-radius: 50%;
}
.apexcharts-tooltip-series-group {
padding: 0 10px;
display: none;
text-align: left;
justify-content: left;
align-items: center;
}
.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
opacity: 1;
}
.apexcharts-tooltip-series-group.apexcharts-active,
.apexcharts-tooltip-series-group:last-child {
padding-bottom: 4px;
}
.apexcharts-tooltip-series-group-hidden {
opacity: 0;
height: 0;
line-height: 0;
padding: 0 !important;
}
.apexcharts-tooltip-y-group {
padding: 6px 0 5px;
}
.apexcharts-tooltip-box, .apexcharts-custom-tooltip {
padding: 4px 8px;
}
.apexcharts-tooltip-boxPlot {
display: flex;
flex-direction: column-reverse;
}
.apexcharts-tooltip-box>div {
margin: 4px 0;
}
.apexcharts-tooltip-box span.value {
font-weight: bold;
}
.apexcharts-tooltip-rangebar {
padding: 5px 8px;
}
.apexcharts-tooltip-rangebar .category {
font-weight: 600;
color: #777;
}
.apexcharts-tooltip-rangebar .series-name {
font-weight: bold;
display: block;
margin-bottom: 5px;
}
.apexcharts-xaxistooltip {
opacity: 0;
padding: 9px 10px;
pointer-events: none;
color: #373d3f;
font-size: 13px;
text-align: center;
border-radius: 2px;
position: absolute;
z-index: 10;
background: #ECEFF1;
border: 1px solid #90A4AE;
transition: 0.15s ease all;
}
.apexcharts-xaxistooltip.apexcharts-theme-dark {
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(0, 0, 0, 0.5);
color: #fff;
}
.apexcharts-xaxistooltip:after,
.apexcharts-xaxistooltip:before {
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.apexcharts-xaxistooltip:after {
border-color: rgba(236, 239, 241, 0);
border-width: 6px;
margin-left: -6px;
}
.apexcharts-xaxistooltip:before {
border-color: rgba(144, 164, 174, 0);
border-width: 7px;
margin-left: -7px;
}
.apexcharts-xaxistooltip-bottom:after,
.apexcharts-xaxistooltip-bottom:before {
bottom: 100%;
}
.apexcharts-xaxistooltip-top:after,
.apexcharts-xaxistooltip-top:before {
top: 100%;
}
.apexcharts-xaxistooltip-bottom:after {
border-bottom-color: #ECEFF1;
}
.apexcharts-xaxistooltip-bottom:before {
border-bottom-color: #90A4AE;
}
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after {
border-bottom-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before {
border-bottom-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-xaxistooltip-top:after {
border-top-color: #ECEFF1
}
.apexcharts-xaxistooltip-top:before {
border-top-color: #90A4AE;
}
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after {
border-top-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before {
border-top-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-xaxistooltip.apexcharts-active {
opacity: 1;
transition: 0.15s ease all;
}
.apexcharts-yaxistooltip {
opacity: 0;
padding: 4px 10px;
pointer-events: none;
color: #373d3f;
font-size: 13px;
text-align: center;
border-radius: 2px;
position: absolute;
z-index: 10;
background: #ECEFF1;
border: 1px solid #90A4AE;
}
.apexcharts-yaxistooltip.apexcharts-theme-dark {
background: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(0, 0, 0, 0.5);
color: #fff;
}
.apexcharts-yaxistooltip:after,
.apexcharts-yaxistooltip:before {
top: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.apexcharts-yaxistooltip:after {
border-color: rgba(236, 239, 241, 0);
border-width: 6px;
margin-top: -6px;
}
.apexcharts-yaxistooltip:before {
border-color: rgba(144, 164, 174, 0);
border-width: 7px;
margin-top: -7px;
}
.apexcharts-yaxistooltip-left:after,
.apexcharts-yaxistooltip-left:before {
left: 100%;
}
.apexcharts-yaxistooltip-right:after,
.apexcharts-yaxistooltip-right:before {
right: 100%;
}
.apexcharts-yaxistooltip-left:after {
border-left-color: #ECEFF1;
}
.apexcharts-yaxistooltip-left:before {
border-left-color: #90A4AE;
}
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after {
border-left-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before {
border-left-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-yaxistooltip-right:after {
border-right-color: #ECEFF1;
}
.apexcharts-yaxistooltip-right:before {
border-right-color: #90A4AE;
}
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after {
border-right-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before {
border-right-color: rgba(0, 0, 0, 0.5);
}
.apexcharts-yaxistooltip.apexcharts-active {
opacity: 1;
}
.apexcharts-yaxistooltip-hidden {
display: none;
}
.apexcharts-xcrosshairs,
.apexcharts-ycrosshairs {
pointer-events: none;
opacity: 0;
transition: 0.15s ease all;
}
.apexcharts-xcrosshairs.apexcharts-active,
.apexcharts-ycrosshairs.apexcharts-active {
opacity: 1;
transition: 0.15s ease all;
}
.apexcharts-ycrosshairs-hidden {
opacity: 0;
}
.apexcharts-selection-rect {
cursor: move;
}
.svg_select_boundingRect, .svg_select_points_rot {
pointer-events: none;
opacity: 0;
visibility: hidden;
}
.apexcharts-selection-rect + g .svg_select_boundingRect,
.apexcharts-selection-rect + g .svg_select_points_rot {
opacity: 0;
visibility: hidden;
}
.apexcharts-selection-rect + g .svg_select_points_l,
.apexcharts-selection-rect + g .svg_select_points_r {
cursor: ew-resize;
opacity: 1;
visibility: visible;
}
.svg_select_points {
fill: #efefef;
stroke: #333;
rx: 2;
}
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
cursor: crosshair
}
.apexcharts-svg.apexcharts-zoomable.hovering-pan {
cursor: move
}
.apexcharts-zoom-icon,
.apexcharts-zoomin-icon,
.apexcharts-zoomout-icon,
.apexcharts-reset-icon,
.apexcharts-pan-icon,
.apexcharts-selection-icon,
.apexcharts-menu-icon,
.apexcharts-toolbar-custom-icon {
cursor: pointer;
width: 20px;
height: 20px;
line-height: 24px;
color: #6E8192;
text-align: center;
}
.apexcharts-zoom-icon svg,
.apexcharts-zoomin-icon svg,
.apexcharts-zoomout-icon svg,
.apexcharts-reset-icon svg,
.apexcharts-menu-icon svg {
fill: #6E8192;
}
.apexcharts-selection-icon svg {
fill: #444;
transform: scale(0.76)
}
.apexcharts-theme-dark .apexcharts-zoom-icon svg,
.apexcharts-theme-dark .apexcharts-zoomin-icon svg,
.apexcharts-theme-dark .apexcharts-zoomout-icon svg,
.apexcharts-theme-dark .apexcharts-reset-icon svg,
.apexcharts-theme-dark .apexcharts-pan-icon svg,
.apexcharts-theme-dark .apexcharts-selection-icon svg,
.apexcharts-theme-dark .apexcharts-menu-icon svg,
.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg {
fill: #f3f4f5;
}
.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg,
.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,
.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg {
fill: #008FFB;
}
.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,
.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,
.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,
.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg,
.apexcharts-theme-light .apexcharts-reset-icon:hover svg,
.apexcharts-theme-light .apexcharts-menu-icon:hover svg {
fill: #333;
}
.apexcharts-selection-icon,
.apexcharts-menu-icon {
position: relative;
}
.apexcharts-reset-icon {
margin-left: 5px;
}
.apexcharts-zoom-icon,
.apexcharts-reset-icon,
.apexcharts-menu-icon {
transform: scale(0.85);
}
.apexcharts-zoomin-icon,
.apexcharts-zoomout-icon {
transform: scale(0.7)
}
.apexcharts-zoomout-icon {
margin-right: 3px;
}
.apexcharts-pan-icon {
transform: scale(0.62);
position: relative;
left: 1px;
top: 0px;
}
.apexcharts-pan-icon svg {
fill: #fff;
stroke: #6E8192;
stroke-width: 2;
}
.apexcharts-pan-icon.apexcharts-selected svg {
stroke: #008FFB;
}
.apexcharts-pan-icon:not(.apexcharts-selected):hover svg {
stroke: #333;
}
.apexcharts-toolbar {
position: absolute;
z-index: 11;
max-width: 176px;
text-align: right;
border-radius: 3px;
padding: 0px 6px 2px 6px;
display: flex;
justify-content: space-between;
align-items: center;
}
.apexcharts-menu {
background: #fff;
position: absolute;
top: 100%;
border: 1px solid #ddd;
border-radius: 3px;
padding: 3px;
right: 10px;
opacity: 0;
min-width: 110px;
transition: 0.15s ease all;
pointer-events: none;
}
.apexcharts-menu.apexcharts-menu-open {
opacity: 1;
pointer-events: all;
transition: 0.15s ease all;
}
.apexcharts-menu-item {
padding: 6px 7px;
font-size: 12px;
cursor: pointer;
}
.apexcharts-theme-light .apexcharts-menu-item:hover {
background: #eee;
}
.apexcharts-theme-dark .apexcharts-menu {
background: rgba(0, 0, 0, 0.7);
color: #fff;
}
@media screen and (min-width: 768px) {
.apexcharts-canvas:hover .apexcharts-toolbar {
opacity: 1;
}
}
.apexcharts-datalabel.apexcharts-element-hidden {
opacity: 0;
}
.apexcharts-pie-label,
.apexcharts-datalabels,
.apexcharts-datalabel,
.apexcharts-datalabel-label,
.apexcharts-datalabel-value {
cursor: default;
pointer-events: none;
}
.apexcharts-pie-label-delay {
opacity: 0;
animation-name: opaque;
animation-duration: 0.3s;
animation-fill-mode: forwards;
animation-timing-function: ease;
}
.apexcharts-canvas .apexcharts-element-hidden {
opacity: 0;
}
.apexcharts-hide .apexcharts-series-points {
opacity: 0;
}
.apexcharts-gridline,
.apexcharts-annotation-rect,
.apexcharts-tooltip .apexcharts-marker,
.apexcharts-area-series .apexcharts-area,
.apexcharts-line,
.apexcharts-zoom-rect,
.apexcharts-toolbar svg,
.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,
.apexcharts-radar-series path,
.apexcharts-radar-series polygon {
pointer-events: none;
}
/* markers */
.apexcharts-marker {
transition: 0.15s ease all;
}
@keyframes opaque {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/* Resize generated styles */
@keyframes resizeanim {
from {
opacity: 0;
}
to {
opacity: 0;
}
}
.resize-triggers {
animation: 1ms resizeanim;
visibility: hidden;
opacity: 0;
}
.resize-triggers,
.resize-triggers>div,
.contract-trigger:before {
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
overflow: hidden;
}
.resize-triggers>div {
background: #eee;
overflow: auto;
}
.contract-trigger:before {
width: 200%;
height: 200%;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,63 @@
{
"name": "ar",
"options": {
"months": [
"يناير",
"فبراير",
"مارس",
"أبريل",
"مايو",
"يونيو",
"يوليو",
"أغسطس",
"سبتمبر",
"أكتوبر",
"نوفمبر",
"ديسمبر"
],
"shortMonths": [
"يناير",
"فبراير",
"مارس",
"أبريل",
"مايو",
"يونيو",
"يوليو",
"أغسطس",
"سبتمبر",
"أكتوبر",
"نوفمبر",
"ديسمبر"
],
"days": [
"الأحد",
"الإثنين",
"الثلاثاء",
"الأربعاء",
"الخميس",
"الجمعة",
"السبت"
],
"shortDays": [
"أحد",
"إثنين",
"ثلاثاء",
"أربعاء",
"خميس",
"جمعة",
"سبت"
],
"toolbar": {
"exportToSVG": "تحميل بصيغة SVG",
"exportToPNG": "تحميل بصيغة PNG",
"exportToCSV": "تحميل بصيغة CSV",
"menu": "القائمة",
"selection": "تحديد",
"selectionZoom": "تكبير التحديد",
"zoomIn": "تكبير",
"zoomOut": "تصغير",
"pan": "تحريك",
"reset": "إعادة التعيين"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "ca",
"options": {
"months": [
"Gener",
"Febrer",
"Març",
"Abril",
"Maig",
"Juny",
"Juliol",
"Agost",
"Setembre",
"Octubre",
"Novembre",
"Desembre"
],
"shortMonths": [
"Gen.",
"Febr.",
"Març",
"Abr.",
"Maig",
"Juny",
"Jul.",
"Ag.",
"Set.",
"Oct.",
"Nov.",
"Des."
],
"days": [
"Diumenge",
"Dilluns",
"Dimarts",
"Dimecres",
"Dijous",
"Divendres",
"Dissabte"
],
"shortDays": ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
"toolbar": {
"exportToSVG": "Descarregar SVG",
"exportToPNG": "Descarregar PNG",
"exportToCSV": "Descarregar CSV",
"menu": "Menú",
"selection": "Seleccionar",
"selectionZoom": "Seleccionar Zoom",
"zoomIn": "Augmentar",
"zoomOut": "Disminuir",
"pan": "Navegació",
"reset": "Reiniciar Zoom"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "cs",
"options": {
"months": [
"Leden",
"Únor",
"Březen",
"Duben",
"Květen",
"Červen",
"Červenec",
"Srpen",
"Září",
"Říjen",
"Listopad",
"Prosinec"
],
"shortMonths": [
"Led",
"Úno",
"Bře",
"Dub",
"Kvě",
"Čvn",
"Čvc",
"Srp",
"Zář",
"Říj",
"Lis",
"Pro"
],
"days": [
"Neděle",
"Pondělí",
"Úterý",
"Středa",
"Čtvrtek",
"Pátek",
"Sobota"
],
"shortDays": ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"],
"toolbar": {
"exportToSVG": "Stáhnout SVG",
"exportToPNG": "Stáhnout PNG",
"exportToCSV": "Stáhnout CSV",
"menu": "Menu",
"selection": "Vybrat",
"selectionZoom": "Zoom: Vybrat",
"zoomIn": "Zoom: Přiblížit",
"zoomOut": "Zoom: Oddálit",
"pan": "Přesouvat",
"reset": "Resetovat"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "de",
"options": {
"months": [
"Januar",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember"
],
"shortMonths": [
"Jan",
"Feb",
"Mär",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez"
],
"days": [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag"
],
"shortDays": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
"toolbar": {
"exportToSVG": "SVG speichern",
"exportToPNG": "PNG speichern",
"exportToCSV": "CSV speichern",
"menu": "Menü",
"selection": "Auswahl",
"selectionZoom": "Auswahl vergrößern",
"zoomIn": "Vergrößern",
"zoomOut": "Verkleinern",
"pan": "Verschieben",
"reset": "Zoom zurücksetzen"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "el",
"options": {
"months": [
"Ιανουάριος",
"Φεβρουάριος",
"Μάρτιος",
"Απρίλιος",
"Μάιος",
"Ιούνιος",
"Ιούλιος",
"Αύγουστος",
"Σεπτέμβριος",
"Οκτώβριος",
"Νοέμβριος",
"Δεκέμβριος"
],
"shortMonths": [
"Ιαν",
"Φευ",
"Μαρ",
"Απρ",
"Μάι",
"Ιουν",
"Ιουλ",
"Αυγ",
"Σεπ",
"Οκτ",
"Νοε",
"Δεκ"
],
"days": [
"Κυριακή",
"Δευτέρα",
"Τρίτη",
"Τετάρτη",
"Πέμπτη",
"Παρασκευή",
"Σάββατο"
],
"shortDays": ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ"],
"toolbar": {
"exportToSVG": "Λήψη SVG",
"exportToPNG": "Λήψη PNG",
"exportToCSV": "Λήψη CSV",
"menu": "Menu",
"selection": "Επιλογή",
"selectionZoom": "Μεγένθυση βάση επιλογής",
"zoomIn": "Μεγένθυνση",
"zoomOut": "Σμίκρυνση",
"pan": "Μετατόπιση",
"reset": "Επαναφορά μεγένθυνσης"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "en",
"options": {
"months": [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"shortMonths": [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"
],
"days": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"shortDays": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
"toolbar": {
"exportToSVG": "Download SVG",
"exportToPNG": "Download PNG",
"exportToCSV": "Download CSV",
"menu": "Menu",
"selection": "Selection",
"selectionZoom": "Selection Zoom",
"zoomIn": "Zoom In",
"zoomOut": "Zoom Out",
"pan": "Panning",
"reset": "Reset Zoom"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "es",
"options": {
"months": [
"Enero",
"Febrero",
"Marzo",
"Abril",
"Mayo",
"Junio",
"Julio",
"Agosto",
"Septiembre",
"Octubre",
"Noviembre",
"Diciembre"
],
"shortMonths": [
"Ene",
"Feb",
"Mar",
"Abr",
"May",
"Jun",
"Jul",
"Ago",
"Sep",
"Oct",
"Nov",
"Dic"
],
"days": [
"Domingo",
"Lunes",
"Martes",
"Miércoles",
"Jueves",
"Viernes",
"Sábado"
],
"shortDays": ["Dom", "Lun", "Mar", "Mie", "Jue", "Vie", "Sab"],
"toolbar": {
"exportToSVG": "Descargar SVG",
"exportToPNG": "Descargar PNG",
"exportToCSV": "Descargar CSV",
"menu": "Menu",
"selection": "Seleccionar",
"selectionZoom": "Seleccionar Zoom",
"zoomIn": "Aumentar",
"zoomOut": "Disminuir",
"pan": "Navegación",
"reset": "Reiniciar Zoom"
}
}
}

View File

@@ -0,0 +1,63 @@
{
"name": "et",
"options": {
"months": [
"jaanuar",
"veebruar",
"märts",
"aprill",
"mai",
"juuni",
"juuli",
"august",
"september",
"oktoober",
"november",
"detsember"
],
"shortMonths": [
"jaan",
"veebr",
"märts",
"apr",
"mai",
"juuni",
"juuli",
"aug",
"sept",
"okt",
"nov",
"dets"
],
"days": [
"pühapäev",
"esmaspäev",
"teisipäev",
"kolmapäev",
"neljapäev",
"reede",
"laupäev"
],
"shortDays": [
"P",
"E",
"T",
"K",
"N",
"R",
"L"
],
"toolbar": {
"exportToSVG": "Lae alla SVG",
"exportToPNG": "Lae alla PNG",
"exportToCSV": "Lae alla CSV",
"menu": "Menüü",
"selection": "Valik",
"selectionZoom": "Valiku suum",
"zoomIn": "Suurenda",
"zoomOut": "Vähenda",
"pan": "Panoraamimine",
"reset": "Lähtesta suum"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "fa",
"options": {
"months": [
"فروردین",
"اردیبهشت",
"خرداد",
"تیر",
"مرداد",
"شهریور",
"مهر",
"آبان",
"آذر",
"دی",
"بهمن",
"اسفند"
],
"shortMonths": [
"فرو",
"ارد",
"خرد",
"تیر",
"مرد",
"شهر",
"مهر",
"آبا",
"آذر",
"دی",
"بهمـ",
"اسفـ"
],
"days": [
"یکشنبه",
"دوشنبه",
"سه شنبه",
"چهارشنبه",
"پنجشنبه",
"جمعه",
"شنبه"
],
"shortDays": ["ی", "د", "س", "چ", "پ", "ج", "ش"],
"toolbar": {
"exportToSVG": "دانلود SVG",
"exportToPNG": "دانلود PNG",
"exportToCSV": "دانلود CSV",
"menu": "منو",
"selection": "انتخاب",
"selectionZoom": "بزرگنمایی انتخابی",
"zoomIn": "بزرگنمایی",
"zoomOut": "کوچکنمایی",
"pan": "پیمایش",
"reset": "بازنشانی بزرگنمایی"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "fi",
"options": {
"months": [
"Tammikuu",
"Helmikuu",
"Maaliskuu",
"Huhtikuu",
"Toukokuu",
"Kesäkuu",
"Heinäkuu",
"Elokuu",
"Syyskuu",
"Lokakuu",
"Marraskuu",
"Joulukuu"
],
"shortMonths": [
"Tammi",
"Helmi",
"Maalis",
"Huhti",
"Touko",
"Kesä",
"Heinä",
"Elo",
"Syys",
"Loka",
"Marras",
"Joulu"
],
"days": [
"Sunnuntai",
"Maanantai",
"Tiistai",
"Keskiviikko",
"Torstai",
"Perjantai",
"Lauantai"
],
"shortDays": ["Su", "Ma", "Ti", "Ke", "To", "Pe", "La"],
"toolbar": {
"exportToSVG": "Lataa SVG",
"exportToPNG": "Lataa PNG",
"exportToCSV": "Lataa CSV",
"menu": "Valikko",
"selection": "Valinta",
"selectionZoom": "Valinnan zoomaus",
"zoomIn": "Lähennä",
"zoomOut": "Loitonna",
"pan": "Panoroi",
"reset": "Nollaa zoomaus"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "fr",
"options": {
"months": [
"janvier",
"février",
"mars",
"avril",
"mai",
"juin",
"juillet",
"août",
"septembre",
"octobre",
"novembre",
"décembre"
],
"shortMonths": [
"janv.",
"févr.",
"mars",
"avr.",
"mai",
"juin",
"juill.",
"août",
"sept.",
"oct.",
"nov.",
"déc."
],
"days": [
"dimanche",
"lundi",
"mardi",
"mercredi",
"jeudi",
"vendredi",
"samedi"
],
"shortDays": ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
"toolbar": {
"exportToSVG": "Télécharger au format SVG",
"exportToPNG": "Télécharger au format PNG",
"exportToCSV": "Télécharger au format CSV",
"menu": "Menu",
"selection": "Sélection",
"selectionZoom": "Sélection et zoom",
"zoomIn": "Zoomer",
"zoomOut": "Dézoomer",
"pan": "Navigation",
"reset": "Réinitialiser le zoom"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "he",
"options": {
"months": [
"ינואר",
"פברואר",
"מרץ",
"אפריל",
"מאי",
"יוני",
"יולי",
"אוגוסט",
"ספטמבר",
"אוקטובר",
"נובמבר",
"דצמבר"
],
"shortMonths": [
"ינו׳",
"פבר׳",
"מרץ",
"אפר׳",
"מאי",
"יוני",
"יולי",
"אוג׳",
"ספט׳",
"אוק׳",
"נוב׳",
"דצמ׳"
],
"days": [
"ראשון",
"שני",
"שלישי",
"רביעי",
"חמישי",
"שישי",
"שבת"
],
"shortDays": ["א׳", "ב׳", "ג׳", "ד׳", "ה׳", "ו׳", "ש׳"],
"toolbar": {
"exportToSVG": "הורד SVG",
"exportToPNG": "הורד PNG",
"exportToCSV": "הורד CSV",
"menu": "תפריט",
"selection": "בחירה",
"selectionZoom": "זום בחירה",
"zoomIn": "הגדלה",
"zoomOut": "הקטנה",
"pan": "הזזה",
"reset": "איפוס תצוגה"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "hi",
"options": {
"months": [
"जनवरी",
"फ़रवरी",
"मार्च",
"अप्रैल",
"मई",
"जून",
"जुलाई",
"अगस्त",
"सितंबर",
"अक्टूबर",
"नवंबर",
"दिसंबर"
],
"shortMonths": [
"जनवरी",
"फ़रवरी",
"मार्च",
"अप्रैल",
"मई",
"जून",
"जुलाई",
"अगस्त",
"सितंबर",
"अक्टूबर",
"नवंबर",
"दिसंबर"
],
"days": [
"रविवार",
"सोमवार",
"मंगलवार",
"बुधवार",
"गुरुवार",
"शुक्रवार",
"शनिवार"
],
"shortDays": ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"],
"toolbar": {
"exportToSVG": "निर्यात SVG",
"exportToPNG": "निर्यात PNG",
"exportToCSV": "निर्यात CSV",
"menu": "सूची",
"selection": "चयन",
"selectionZoom": "ज़ूम करना",
"zoomIn": "ज़ूम इन",
"zoomOut": "ज़ूम आउट",
"pan": "पैनिंग",
"reset": "फिर से कायम करना"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "hr",
"options": {
"months": [
"Siječanj",
"Veljača",
"Ožujak",
"Travanj",
"Svibanj",
"Lipanj",
"Srpanj",
"Kolovoz",
"Rujan",
"Listopad",
"Studeni",
"Prosinac"
],
"shortMonths": [
"Sij",
"Velj",
"Ožu",
"Tra",
"Svi",
"Lip",
"Srp",
"Kol",
"Ruj",
"Lis",
"Stu",
"Pro"
],
"days": [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota"
],
"shortDays": ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
"toolbar": {
"exportToSVG": "Preuzmi SVG",
"exportToPNG": "Preuzmi PNG",
"exportToCSV": "Preuzmi CSV",
"menu": "Izbornik",
"selection": "Odabir",
"selectionZoom": "Odabirno povećanje",
"zoomIn": "Uvećajte prikaz",
"zoomOut": "Umanjite prikaz",
"pan": "Pomicanje",
"reset": "Povratak na zadani prikaz"
}
}
}

View File

@@ -0,0 +1,64 @@
{
"name": "hu",
"options": {
"months": [
"január",
"február",
"március",
"április",
"május",
"június",
"július",
"augusztus",
"szeptember",
"október",
"november",
"december"
],
"shortMonths": [
"jan",
"feb",
"mar",
"ápr",
"máj",
"jún",
"júl",
"aug",
"szept",
"okt",
"nov",
"dec"
],
"days": [
"hétfő",
"kedd",
"szerda",
"csütörtök",
"péntek",
"szombat",
"vasárnap"
],
"shortDays": [
"H",
"K",
"Sze",
"Cs",
"P",
"Szo",
"V"
],
"toolbar": {
"exportToSVG": "Exportálás SVG-be",
"exportToPNG": "Exportálás PNG-be",
"exportToCSV": "Exportálás CSV-be",
"menu": "Fő ajánlat",
"download": "SVG letöltése",
"selection": "Kiválasztás",
"selectionZoom": "Nagyító kiválasztása",
"zoomIn": "Nagyítás",
"zoomOut": "Kicsinyítés",
"pan": "Képcsúsztatás",
"reset": "Nagyító visszaállítása"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "hy",
"options": {
"months": [
"Հունվար",
"Փետրվար",
"Մարտ",
"Ապրիլ",
"Մայիս",
"Հունիս",
"Հուլիս",
"Օգոստոս",
"Սեպտեմբեր",
"Հոկտեմբեր",
"Նոյեմբեր",
"Դեկտեմբեր"
],
"shortMonths": [
"Հնվ",
"Փտվ",
"Մրտ",
"Ապր",
"Մյս",
"Հնս",
"Հլիս",
"Օգս",
"Սեպ",
"Հոկ",
"Նոյ",
"Դեկ"
],
"days": [
"Կիրակի",
"Երկուշաբթի",
"Երեքշաբթի",
"Չորեքշաբթի",
"Հինգշաբթի",
"Ուրբաթ",
"Շաբաթ"
],
"shortDays": ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"],
"toolbar": {
"exportToSVG": "Բեռնել SVG",
"exportToPNG": "Բեռնել PNG",
"exportToCSV": "Բեռնել CSV",
"menu": "Մենյու",
"selection": "Ընտրված",
"selectionZoom": "Ընտրված հատվածի խոշորացում",
"zoomIn": "Խոշորացնել",
"zoomOut": "Մանրացնել",
"pan": "Տեղափոխում",
"reset": "Բերել սկզբնական վիճակի"
}
}
}

View File

@@ -0,0 +1,47 @@
{
"name": "id",
"options": {
"months": [
"Januari",
"Februari",
"Maret",
"April",
"Mei",
"Juni",
"Juli",
"Agustus",
"September",
"Oktober",
"November",
"Desember"
],
"shortMonths": [
"Jan",
"Feb",
"Mar",
"Apr",
"Mei",
"Jun",
"Jul",
"Agu",
"Sep",
"Okt",
"Nov",
"Des"
],
"days": ["Minggu", "Senin", "Selasa", "Rabu", "kamis", "Jumat", "Sabtu"],
"shortDays": ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
"toolbar": {
"exportToSVG": "Unduh SVG",
"exportToPNG": "Unduh PNG",
"exportToCSV": "Unduh CSV",
"menu": "Menu",
"selection": "Pilihan",
"selectionZoom": "Perbesar Pilihan",
"zoomIn": "Perbesar",
"zoomOut": "Perkecil",
"pan": "Geser",
"reset": "Atur Ulang Zoom"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "it",
"options": {
"months": [
"Gennaio",
"Febbraio",
"Marzo",
"Aprile",
"Maggio",
"Giugno",
"Luglio",
"Agosto",
"Settembre",
"Ottobre",
"Novembre",
"Dicembre"
],
"shortMonths": [
"Gen",
"Feb",
"Mar",
"Apr",
"Mag",
"Giu",
"Lug",
"Ago",
"Set",
"Ott",
"Nov",
"Dic"
],
"days": [
"Domenica",
"Lunedì",
"Martedì",
"Mercoledì",
"Giovedì",
"Venerdì",
"Sabato"
],
"shortDays": ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
"toolbar": {
"exportToSVG": "Scarica SVG",
"exportToPNG": "Scarica PNG",
"exportToCSV": "Scarica CSV",
"menu": "Menu",
"selection": "Selezione",
"selectionZoom": "Seleziona Zoom",
"zoomIn": "Zoom In",
"zoomOut": "Zoom Out",
"pan": "Sposta",
"reset": "Reimposta Zoom"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "ja",
"options": {
"months": [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月"
],
"shortMonths": [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月"
],
"days": [
"日曜日",
"月曜日",
"火曜日",
"水曜日",
"木曜日",
"金曜日",
"土曜日"
],
"shortDays": ["日", "月", "火", "水", "木", "金", "土"],
"toolbar": {
"exportToSVG": "SVGダウンロード",
"exportToPNG": "PNGダウンロード",
"exportToCSV": "CSVダウンロード",
"menu": "メニュー",
"selection": "選択",
"selectionZoom": "選択ズーム",
"zoomIn": "拡大",
"zoomOut": "縮小",
"pan": "パン",
"reset": "ズームリセット"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "ka",
"options": {
"months": [
"იანვარი",
"თებერვალი",
"მარტი",
"აპრილი",
"მაისი",
"ივნისი",
"ივლისი",
"აგვისტო",
"სექტემბერი",
"ოქტომბერი",
"ნოემბერი",
"დეკემბერი"
],
"shortMonths": [
"იან",
"თებ",
"მარ",
"აპრ",
"მაი",
"ივნ",
"ივლ",
"აგვ",
"სექ",
"ოქტ",
"ნოე",
"დეკ"
],
"days": [
"კვირა",
"ორშაბათი",
"სამშაბათი",
"ოთხშაბათი",
"ხუთშაბათი",
"პარასკევი",
"შაბათი"
],
"shortDays": ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ"],
"toolbar": {
"exportToSVG": "გადმოქაჩე SVG",
"exportToPNG": "გადმოქაჩე PNG",
"exportToCSV": "გადმოქაჩე CSV",
"menu": "მენიუ",
"selection": "არჩევა",
"selectionZoom": "არჩეულის გადიდება",
"zoomIn": "გადიდება",
"zoomOut": "დაპატარაება",
"pan": "გადაჩოჩება",
"reset": "გადიდების გაუქმება"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "ko",
"options": {
"months": [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월"
],
"shortMonths": [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월"
],
"days": [
"일요일",
"월요일",
"화요일",
"수요일",
"목요일",
"금요일",
"토요일"
],
"shortDays": ["일", "월", "화", "수", "목", "금", "토"],
"toolbar": {
"exportToSVG": "SVG 다운로드",
"exportToPNG": "PNG 다운로드",
"exportToCSV": "CSV 다운로드",
"menu": "메뉴",
"selection": "선택",
"selectionZoom": "선택영역 확대",
"zoomIn": "확대",
"zoomOut": "축소",
"pan": "패닝",
"reset": "원래대로"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "lt",
"options": {
"months": [
"Sausis",
"Vasaris",
"Kovas",
"Balandis",
"Gegužė",
"Birželis",
"Liepa",
"Rugpjūtis",
"Rugsėjis",
"Spalis",
"Lapkritis",
"Gruodis"
],
"shortMonths": [
"Sau",
"Vas",
"Kov",
"Bal",
"Geg",
"Bir",
"Lie",
"Rgp",
"Rgs",
"Spl",
"Lap",
"Grd"
],
"days": [
"Sekmadienis",
"Pirmadienis",
"Antradienis",
"Trečiadienis",
"Ketvirtadienis",
"Penktadienis",
"Šeštadienis"
],
"shortDays": ["Sk", "Per", "An", "Tr", "Kt", "Pn", "Št"],
"toolbar": {
"exportToSVG": "Atsisiųsti SVG",
"exportToPNG": "Atsisiųsti PNG",
"exportToCSV": "Atsisiųsti CSV",
"menu": "Menu",
"selection": "Pasirinkimas",
"selectionZoom": "Zoom: Pasirinkimas",
"zoomIn": "Zoom: Priartinti",
"zoomOut": "Zoom: Atitolinti",
"pan": "Perkėlimas",
"reset": "Atstatyti"
}
}
}

View File

@@ -0,0 +1,64 @@
{
"name": "lv",
"options": {
"months": [
"janvāris",
"februāris",
"marts",
"aprīlis",
"maijs",
"jūnijs",
"jūlijs",
"augusts",
"septembris",
"oktobris",
"novembris",
"decembris"
],
"shortMonths": [
"janv",
"febr",
"marts",
"apr",
"maijs",
"jūn",
"jūl",
"aug",
"sept",
"okt",
"nov",
"dec"
],
"days": [
"svētdiena",
"pirmdiena",
"otrdiena",
"trešdiena",
"ceturtdiena",
"piektdiena",
"sestdiena"
],
"shortDays": [
"Sv",
"P",
"O",
"T",
"C",
"P",
"S"
],
"toolbar": {
"exportToSVG": "Lejuplādēt SVG",
"exportToPNG": "Lejuplādēt PNG",
"exportToCSV": "Lejuplādēt CSV",
"menu": "Izvēlne",
"selection": "Atlase",
"selectionZoom": "Pietuvināt atlasi",
"zoomIn": "Pietuvināt",
"zoomOut": "Attālināt",
"pan": "Pārvietoties diagrammā",
"reset": "Atiestatīt pietuvinājumu"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "nb",
"options": {
"months": [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember"
],
"shortMonths": [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des"
],
"days": [
"Søndag",
"Mandag",
"Tirsdag",
"Onsdag",
"Torsdag",
"Fredag",
"Lørdag"
],
"shortDays": ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"],
"toolbar": {
"exportToSVG": "Last ned SVG",
"exportToPNG": "Last ned PNG",
"exportToCSV": "Last ned CSV",
"menu": "Menu",
"selection": "Velg",
"selectionZoom": "Zoom: Velg",
"zoomIn": "Zoome inn",
"zoomOut": "Zoome ut",
"pan": "Skyving",
"reset": "Start på nytt"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "nl",
"options": {
"months": [
"Januari",
"Februari",
"Maart",
"April",
"Mei",
"Juni",
"Juli",
"Augustus",
"September",
"Oktober",
"November",
"December"
],
"shortMonths": [
"Jan",
"Feb",
"Mrt",
"Apr",
"Mei",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec"
],
"days": [
"Zondag",
"Maandag",
"Dinsdag",
"Woensdag",
"Donderdag",
"Vrijdag",
"Zaterdag"
],
"shortDays": ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"],
"toolbar": {
"exportToSVG": "Download SVG",
"exportToPNG": "Download PNG",
"exportToCSV": "Download CSV",
"menu": "Menu",
"selection": "Selectie",
"selectionZoom": "Zoom selectie",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out",
"pan": "Verplaatsen",
"reset": "Standaardwaarden"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "pl",
"options": {
"months": [
"Styczeń",
"Luty",
"Marzec",
"Kwiecień",
"Maj",
"Czerwiec",
"Lipiec",
"Sierpień",
"Wrzesień",
"Październik",
"Listopad",
"Grudzień"
],
"shortMonths": [
"Sty",
"Lut",
"Mar",
"Kwi",
"Maj",
"Cze",
"Lip",
"Sie",
"Wrz",
"Paź",
"Lis",
"Gru"
],
"days": [
"Niedziela",
"Poniedziałek",
"Wtorek",
"Środa",
"Czwartek",
"Piątek",
"Sobota"
],
"shortDays": ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "Sb"],
"toolbar": {
"exportToSVG": "Pobierz SVG",
"exportToPNG": "Pobierz PNG",
"exportToCSV": "Pobierz CSV",
"menu": "Menu",
"selection": "Wybieranie",
"selectionZoom": "Zoom: Wybieranie",
"zoomIn": "Zoom: Przybliż",
"zoomOut": "Zoom: Oddal",
"pan": "Przesuwanie",
"reset": "Resetuj"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "pt-br",
"options": {
"months": [
"Janeiro",
"Fevereiro",
"Março",
"Abril",
"Maio",
"Junho",
"Julho",
"Agosto",
"Setembro",
"Outubro",
"Novembro",
"Dezembro"
],
"shortMonths": [
"Jan",
"Fev",
"Mar",
"Abr",
"Mai",
"Jun",
"Jul",
"Ago",
"Set",
"Out",
"Nov",
"Dez"
],
"days": [
"Domingo",
"Segunda",
"Terça",
"Quarta",
"Quinta",
"Sexta",
"Sábado"
],
"shortDays": ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab"],
"toolbar": {
"exportToSVG": "Baixar SVG",
"exportToPNG": "Baixar PNG",
"exportToCSV": "Baixar CSV",
"menu": "Menu",
"selection": "Selecionar",
"selectionZoom": "Selecionar Zoom",
"zoomIn": "Aumentar",
"zoomOut": "Diminuir",
"pan": "Navegação",
"reset": "Reiniciar Zoom"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "pt",
"options": {
"months": [
"Janeiro",
"Fevereiro",
"Março",
"Abril",
"Maio",
"Junho",
"Julho",
"Agosto",
"Setembro",
"Outubro",
"Novembro",
"Dezembro"
],
"shortMonths": [
"Jan",
"Fev",
"Mar",
"Abr",
"Mai",
"Jun",
"Jul",
"Ag",
"Set",
"Out",
"Nov",
"Dez"
],
"days": [
"Domingo",
"Segunda-feira",
"Terça-feira",
"Quarta-feira",
"Quinta-feira",
"Sexta-feira",
"Sábado"
],
"shortDays": ["Do", "Se", "Te", "Qa", "Qi", "Sx", "Sa"],
"toolbar": {
"exportToSVG": "Baixar SVG",
"exportToPNG": "Baixar PNG",
"exportToCSV": "Baixar CSV",
"menu": "Menu",
"selection": "Selecionar",
"selectionZoom": "Zoom: Selecionar",
"zoomIn": "Zoom: Aumentar",
"zoomOut": "Zoom: Diminuir",
"pan": "Deslocamento",
"reset": "Redefinir"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "rs",
"options": {
"months": [
"Januar",
"Februar",
"Mart",
"April",
"Maj",
"Jun",
"Jul",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar"
],
"shortMonths": [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec"
],
"days": [
"Nedelja",
"Ponedeljak",
"Utorak",
"Sreda",
"Četvrtak",
"Petak",
"Subota"
],
"shortDays": ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
"toolbar": {
"exportToSVG": "Preuzmi SVG",
"exportToPNG": "Preuzmi PNG",
"exportToCSV": "Preuzmi CSV",
"menu": "Meni",
"selection": "Odabir",
"selectionZoom": "Odabirno povećanje",
"zoomIn": "Uvećajte prikaz",
"zoomOut": "Umanjite prikaz",
"pan": "Pomeranje",
"reset": "Resetuj prikaz"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "ru",
"options": {
"months": [
"Январь",
"Февраль",
"Март",
"Апрель",
"Май",
"Июнь",
"Июль",
"Август",
"Сентябрь",
"Октябрь",
"Ноябрь",
"Декабрь"
],
"shortMonths": [
"Янв",
"Фев",
"Мар",
"Апр",
"Май",
"Июн",
"Июл",
"Авг",
"Сен",
"Окт",
"Ноя",
"Дек"
],
"days": [
"Воскресенье",
"Понедельник",
"Вторник",
"Среда",
"Четверг",
"Пятница",
"Суббота"
],
"shortDays": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
"toolbar": {
"exportToSVG": "Сохранить SVG",
"exportToPNG": "Сохранить PNG",
"exportToCSV": "Сохранить CSV",
"menu": "Меню",
"selection": "Выбор",
"selectionZoom": "Выбор с увеличением",
"zoomIn": "Увеличить",
"zoomOut": "Уменьшить",
"pan": "Перемещение",
"reset": "Сбросить увеличение"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "se",
"options": {
"months": [
"Januari",
"Februari",
"Mars",
"April",
"Maj",
"Juni",
"Juli",
"Augusti",
"September",
"Oktober",
"November",
"December"
],
"shortMonths": [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Juni",
"Juli",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec"
],
"days": [
"Söndag",
"Måndag",
"Tisdag",
"Onsdag",
"Torsdag",
"Fredag",
"Lördag"
],
"shortDays": ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"],
"toolbar": {
"exportToSVG": "Ladda SVG",
"exportToPNG": "Ladda PNG",
"exportToCSV": "Ladda CSV",
"menu": "Meny",
"selection": "Selektion",
"selectionZoom": "Val av zoom",
"zoomIn": "Zooma in",
"zoomOut": "Zooma ut",
"pan": "Panorering",
"reset": "Återställ zoomning"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "sk",
"options": {
"months": [
"Január",
"Február",
"Marec",
"Apríl",
"Máj",
"Jún",
"Júl",
"August",
"September",
"Október",
"November",
"December"
],
"shortMonths": [
"Jan",
"Feb",
"Mar",
"Apr",
"Máj",
"Jún",
"Júl",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec"
],
"days": [
"Nedeľa",
"Pondelok",
"Utorok",
"Streda",
"Štvrtok",
"Piatok",
"Sobota"
],
"shortDays": ["Ne", "Po", "Ut", "St", "Št", "Pi", "So"],
"toolbar": {
"exportToSVG": "Stiahnuť SVG",
"exportToPNG": "Stiahnuť PNG",
"exportToCSV": "Stiahnuť CSV",
"menu": "Menu",
"selection": "Vyberanie",
"selectionZoom": "Zoom: Vyberanie",
"zoomIn": "Zoom: Priblížiť",
"zoomOut": "Zoom: Vzdialiť",
"pan": "Presúvanie",
"reset": "Resetovať"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "sl",
"options": {
"months": [
"Januar",
"Februar",
"Marec",
"April",
"Maj",
"Junij",
"Julij",
"Avgust",
"Septemer",
"Oktober",
"November",
"December"
],
"shortMonths": [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec"
],
"days": [
"Nedelja",
"Ponedeljek",
"Torek",
"Sreda",
"Četrtek",
"Petek",
"Sobota"
],
"shortDays": ["Ne", "Po", "To", "Sr", "Če", "Pe", "So"],
"toolbar": {
"exportToSVG": "Prenesi SVG",
"exportToPNG": "Prenesi PNG",
"exportToCSV": "Prenesi CSV",
"menu": "Menu",
"selection": "Izbiranje",
"selectionZoom": "Zoom: Izbira",
"zoomIn": "Zoom: Približaj",
"zoomOut": "Zoom: Oddalji",
"pan": "Pomikanje",
"reset": "Resetiraj"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "sq",
"options": {
"months": [
"Janar",
"Shkurt",
"Mars",
"Prill",
"Maj",
"Qershor",
"Korrik",
"Gusht",
"Shtator",
"Tetor",
"Nëntor",
"Dhjetor"
],
"shortMonths": [
"Jan",
"Shk",
"Mar",
"Pr",
"Maj",
"Qer",
"Korr",
"Gush",
"Sht",
"Tet",
"Nën",
"Dhj"
],
"days": [
"e Dielë",
"e Hënë",
"e Martë",
"e Mërkurë",
"e Enjte",
"e Premte",
"e Shtunë"
],
"shortDays": ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Sht"],
"toolbar": {
"exportToSVG": "Shkarko SVG",
"exportToPNG": "Shkarko PNG",
"exportToCSV": "Shkarko CSV",
"menu": "Menu",
"selection": "Seleksiono",
"selectionZoom": "Seleksiono Zmadhim",
"zoomIn": "Zmadho",
"zoomOut": "Zvogëlo",
"pan": "Spostoje",
"reset": "Rikthe dimensionin"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "th",
"options": {
"months": [
"มกราคม",
"กุมภาพันธ์",
"มีนาคม",
"เมษายน",
"พฤษภาคม",
"มิถุนายน",
"กรกฎาคม",
"สิงหาคม",
"กันยายน",
"ตุลาคม",
"พฤศจิกายน",
"ธันวาคม"
],
"shortMonths": [
"ม.ค.",
"ก.พ.",
"มี.ค.",
"เม.ย.",
"พ.ค.",
"มิ.ย.",
"ก.ค.",
"ส.ค.",
"ก.ย.",
"ต.ค.",
"พ.ย.",
"ธ.ค."
],
"days": [
"อาทิตย์",
"จันทร์",
"อังคาร",
"พุธ",
"พฤหัสบดี",
"ศุกร์",
"เสาร์"
],
"shortDays": ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
"toolbar": {
"exportToSVG": "ดาวน์โหลด SVG",
"exportToPNG": "ดาวน์โหลด PNG",
"exportToCSV": "ดาวน์โหลด CSV",
"menu": "เมนู",
"selection": "เลือก",
"selectionZoom": "เลือกจุดที่จะซูม",
"zoomIn": "ซูมเข้า",
"zoomOut": "ซูมออก",
"pan": "ปรากฎว่า",
"reset": "รีเซ็ตการซูม"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "tr",
"options": {
"months": [
"Ocak",
"Şubat",
"Mart",
"Nisan",
"Mayıs",
"Haziran",
"Temmuz",
"Ağustos",
"Eylül",
"Ekim",
"Kasım",
"Aralık"
],
"shortMonths": [
"Oca",
"Şub",
"Mar",
"Nis",
"May",
"Haz",
"Tem",
"Ağu",
"Eyl",
"Eki",
"Kas",
"Ara"
],
"days": [
"Pazar",
"Pazartesi",
"Salı",
"Çarşamba",
"Perşembe",
"Cuma",
"Cumartesi"
],
"shortDays": ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
"toolbar": {
"exportToSVG": "SVG İndir",
"exportToPNG": "PNG İndir",
"exportToCSV": "CSV İndir",
"menu": "Menü",
"selection": "Seçim",
"selectionZoom": "Seçim Yakınlaştır",
"zoomIn": "Yakınlaştır",
"zoomOut": "Uzaklaştır",
"pan": "Kaydır",
"reset": "Yakınlaştırmayı Sıfırla"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "ua",
"options": {
"months": [
"Січень",
"Лютий",
"Березень",
"Квітень",
"Травень",
"Червень",
"Липень",
"Серпень",
"Вересень",
"Жовтень",
"Листопад",
"Грудень"
],
"shortMonths": [
"Січ",
"Лют",
"Бер",
"Кві",
"Тра",
"Чер",
"Лип",
"Сер",
"Вер",
"Жов",
"Лис",
"Гру"
],
"days": [
"Неділя",
"Понеділок",
"Вівторок",
"Середа",
"Четвер",
"П'ятниця",
"Субота"
],
"shortDays": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
"toolbar": {
"exportToSVG": "Зберегти SVG",
"exportToPNG": "Зберегти PNG",
"exportToCSV": "Зберегти CSV",
"menu": "Меню",
"selection": "Вибір",
"selectionZoom": "Вибір із збільшенням",
"zoomIn": "Збільшити",
"zoomOut": "Зменшити",
"pan": "Переміщення",
"reset": "Скинути збільшення"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "zh-cn",
"options": {
"months": [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月"
],
"shortMonths": [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月"
],
"days": [
"星期天",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六"
],
"shortDays": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
"toolbar": {
"exportToSVG": "下载 SVG",
"exportToPNG": "下载 PNG",
"exportToCSV": "下载 CSV",
"menu": "菜单",
"selection": "选择",
"selectionZoom": "选择缩放",
"zoomIn": "放大",
"zoomOut": "缩小",
"pan": "平移",
"reset": "重置缩放"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"name": "zh-tw",
"options": {
"months": [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月"
],
"shortMonths": [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月"
],
"days": [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六"
],
"shortDays": ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
"toolbar": {
"exportToSVG": "下載 SVG",
"exportToPNG": "下載 PNG",
"exportToCSV": "下載 CSV",
"menu": "菜單",
"selection": "選擇",
"selectionZoom": "選擇縮放",
"zoomIn": "放大",
"zoomOut": "縮小",
"pan": "平移",
"reset": "重置縮放"
}
}
}

Some files were not shown because too many files have changed in this diff Show More