Plugin Directory

Changeset 2162804


Ignore:
Timestamp:
09/25/2019 09:41:04 AM (7 years ago)
Author:
sabbir1991
Message:

Deploy version v1.0.9

Location:
wepos/trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • wepos/trunk/assets/css/frontend.css

    r2128862 r2162804  
    1 #wepos-main{padding:20px;display:flex}#wepos-main .content-product{flex:2;margin-right:20px}#wepos-main .content-product .top-panel{margin-bottom:20px}#wepos-main .content-product .top-panel .search-bar{width:56%;margin-right:2%;float:left}#wepos-main .content-product .top-panel .search-bar .search-box{position:relative}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search{width:100%;font-size:14px;height:35px;border:1px solid #e9edf0;line-height:10px;padding-right:120px;padding-left:32px;box-sizing:border-box;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::placeholder{color:#999dac;font-size:13px}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:-ms-input-placeholder,#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::-ms-input-placeholder{color:#999dac;font-size:13px}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:focus{outline:none}#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon{position:absolute;left:10px;top:8px;color:#3b80f4;height:10px}#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon:before{font-size:14px}#wepos-main .content-product .top-panel .search-bar .search-box .search-type{position:absolute;top:0;right:0}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a{text-decoration:none;font-size:13px;display:inline-block;height:35px;padding:10px;box-sizing:border-box;margin-left:-2px;color:#bdc0c9;line-height:14px}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a.active{background:#3b80f4;color:#fff}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:first-child{border-left:1px solid #e9ebed}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result{background:#fff;position:absolute;width:100%;box-sizing:border-box;border:1px solid #e9edf0;border-top:none;border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:0 30px 45px -10px rgba(0,0,0,.2);z-index:999}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .no-data-found{padding:20px;text-align:center;color:#758598}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul{margin:0;padding:0;list-style-type:none;max-height:300px;overflow:scroll}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a{text-decoration:none;color:#212121;padding:8px 10px;display:block;border-bottom:1px solid #e9edf0}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span{font-size:11px;color:#758598;margin-left:10px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action{visibility:hidden}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action:before{font-size:12px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a:hover span.action{visibility:visible}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li:last-child a{border-bottom:none}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected{background:#f6f7fb}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected a span.action{visibility:visible}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession{padding:12px;background:#f6f7fb;color:#999dac;font-size:11px;border-top:1px solid #eceef0}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term{margin-right:15px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term span:before{font-size:9px;color:#5d5d5d;margin-right:2px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term strong{color:#5d5d5d;margin-right:2px}#wepos-main .content-product .top-panel .category{width:26%;margin-right:2%;float:left;position:relative}#wepos-main .content-product .top-panel .category select#product-category{-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;border:1px solid #e9edf0;background:#fff;padding:9px;border-radius:3px;box-sizing:border-box;font-size:13px;color:#758598;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-product .top-panel .category select#product-category:focus{outline:none}#wepos-main .content-product .top-panel .category span.select-arrow{position:absolute;top:9px;right:9px}#wepos-main .content-product .top-panel .category span.select-arrow:before{font-size:13px;color:#758598;margin-left:0}#wepos-main .content-product .top-panel .toggle-view{width:14%;float:left;text-align:right}#wepos-main .content-product .top-panel .toggle-view .toggle-icon{padding:8px 10px;background:#fff;display:inline-block;border:1px solid #e9edf0;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);color:#bdc0c9;cursor:pointer}#wepos-main .content-product .top-panel .toggle-view .toggle-icon.active{color:#3b80f4}#wepos-main .content-product .top-panel .toggle-view .toggle-icon:before{margin-left:0;font-size:13px}#wepos-main .content-product .top-panel .toggle-view .toggle-icon.list-view{margin-right:-4px;border-right:none}#wepos-main .content-product .breadcrumb{background:#fff;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);padding:8px 12px;position:relative;margin-bottom:20px}#wepos-main .content-product .breadcrumb span.close-breadcrumb{position:absolute;top:5px;right:15px;color:#9b59b6;cursor:pointer}#wepos-main .content-product .breadcrumb span.close-breadcrumb:before{font-size:9px}#wepos-main .content-product .breadcrumb ul{margin:0;padding:0;line-height:16px}#wepos-main .content-product .breadcrumb ul li{display:inline-block}#wepos-main .content-product .breadcrumb ul li:after{font-family:Flaticon;content:"\F10B";font-size:9px;margin-left:7px;margin-right:4px;color:#758598}#wepos-main .content-product .breadcrumb ul li:last-child:after{content:""}#wepos-main .content-product .breadcrumb ul li a{font-size:13px;color:#9b59b6;text-decoration:none}#wepos-main .content-product .items-wrapper.grid{display:flex;flex-flow:row wrap;justify-content:flex-start;margin:0 -10px;overflow:auto;height:84.9vh}#wepos-main .content-product .items-wrapper.grid .item{flex-basis:20%;-ms-flex:auto;box-sizing:border-box;text-align:center;padding:0 10px;margin-bottom:20px}#wepos-main .content-product .items-wrapper.grid .item:focus{outline:none}#wepos-main .content-product .items-wrapper.grid .item .item-wrap{background:#fff;margin-bottom:-2px;cursor:pointer;position:relative}#wepos-main .content-product .items-wrapper.grid .item .item-wrap:focus{outline:none;-webkit-appearance:none}#wepos-main .content-product .items-wrapper.grid .item .item-wrap img{width:100%}#wepos-main .content-product .items-wrapper.grid .item .item-wrap .title{padding:10px 5px;margin-top:-3px;color:#212121;font-size:13px;border-top:1px solid #e9edf0}#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon{position:absolute;top:0;right:0;width:100%;height:100%;background:rgba(0,0,0,.3);visibility:hidden}#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon:before{color:#fff;font-weight:400;margin-top:40%;display:inline-block;font-size:35px;text-shadow:1px 1px 1px rgba(0,0,0,.5)}#wepos-main .content-product .items-wrapper.grid .item .item-wrap:hover .add-product-icon{visibility:visible}#wepos-main .content-product .items-wrapper.list{overflow:auto;height:84.9vh}#wepos-main .content-product .items-wrapper.list .item .item-wrap{background:#fff;overflow:hidden;position:relative;margin-bottom:20px;cursor:pointer;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-product .items-wrapper.list .item .item-wrap .img{width:80px;height:80px;float:left;margin-right:20px;border-right:1px solid #f0f2f4}#wepos-main .content-product .items-wrapper.list .item .item-wrap .img img{width:100%;height:100%}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title{float:left;height:100%;font-size:14px;font-weight:700;position:absolute;top:40px;left:100px;height:44px;margin-top:-22px;max-width:78%}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title .product-name{margin-bottom:8px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta{margin:0;padding:0;list-style:none;font-size:13px;font-weight:400}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li{display:inline-block}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .label{color:#758598;margin-right:3px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .value del{color:#9095a5;margin-right:3px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:after{content:"|";color:#e9ebed;display:inline-block;margin:0 7px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:last-child:after{content:""}#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon{position:absolute;top:35%;right:3%}#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon:before{color:#1a9ed4;font-weight:400}#wepos-main .content-product .items-wrapper .product-loading{display:block;position:relative;width:100%;padding:10px;text-align:center;font-size:16px;color:#c6cace}#wepos-main .content-product .items-wrapper .no-product-found{text-align:center;width:100%;vertical-align:middle;margin:auto 0}#wepos-main .content-product .items-wrapper .no-product-found p{font-size:18px;color:#c6cace}#wepos-main .content-cart{flex:1.3;height:94.5vh}#wepos-main .content-cart .top-panel{display:flex;margin-bottom:20px}#wepos-main .content-cart .top-panel .customer-search-box{flex:7;position:relative}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search{width:100%;padding:10px;height:33px;font-size:14px;height:35px;border:1px solid #e9edf0;line-height:10px;padding-left:35px;box-sizing:border-box;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:-ms-input-placeholder,#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::-ms-input-placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:focus{outline:none}#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer{position:absolute;top:9px;right:10px}#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer:before{font-size:15px;color:#bdc0c9;cursor:pointer}#wepos-main .content-cart .top-panel .customer-search-box .search-result{background:#fff;position:absolute;width:100%;z-index:99;box-sizing:border-box;border:1px solid #e9edf0;border-top:none;border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:0 30px 45px -10px rgba(0,0,0,.2)}#wepos-main .content-cart .top-panel .customer-search-box .search-result .no-data-found{padding:20px;text-align:center;color:#758598}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul{margin:0;padding:0;list-style-type:none;max-height:300px;overflow:scroll}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a{text-decoration:none;color:#212121;padding:8px 10px;display:block;border-bottom:1px solid #e9edf0}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span{font-size:13px;color:#758598;margin-left:10px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.avatar img{width:20px;border-radius:20px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.name{font-size:14px;color:#212121;margin-left:6px;line-height:18px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action{visibility:hidden}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action:before{font-size:12px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a:hover span.action{visibility:visible}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li:last-child a{border-bottom:none}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected{background:#f6f7fb}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected a span.action{visibility:visible}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession{padding:12px;background:#f6f7fb;color:#999dac;font-size:11px;border-top:1px solid #eceef0}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term{margin-right:15px}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term span:before{font-size:9px;color:#5d5d5d;margin-right:2px}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term strong{color:#5d5d5d;margin-right:2px}#wepos-main .content-cart .top-panel .customer-search-box svg.customer-icon{position:absolute;left:10px;top:8px}#wepos-main .content-cart .top-panel .action{flex:1}#wepos-main .content-cart .top-panel .action .more-options{text-align:right}#wepos-main .content-cart .top-panel .action .more-options span.more-icon:before{font-size:16px;color:#bdc0c9}#wepos-main .content-cart .cart-panel{background:#fff;height:90%;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);position:relative;display:flex;flex-flow:column wrap;border-radius:3px}#wepos-main .content-cart .cart-panel .cart-calculation{width:100%;flex-grow:0}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table{width:100%;border-collapse:collapse}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr{border-bottom:1px solid #eceef0;height:35px;display:table-row;line-height:20px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:first-child{border-top:1px solid #eceef0}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:last-child{border-bottom:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:nth-child(odd){background:#fafbfe}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td{padding:9px 12px;font-weight:700;line-height:20px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td:last-child{text-align:right}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.label{width:45%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.price{width:45%;text-align:right}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action{width:6%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:before{font-size:7px;padding:5px;border-radius:50px;cursor:pointer;background:#bdc0c9;color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:hover:before{background:#e9485e;color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td{text-align:left}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td a{text-decoration:none;color:#3b80f4;font-size:12px;padding:5px 8px;background:#fff;border:1px solid #e0e5ea;border-radius:3px;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label span.name{color:#758598;font-size:12px;margin-left:5px;font-weight:400}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label label{font-weight:400;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-name{width:15%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-amount{width:15%;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class{width:22%;border:1px solid #e9ebed;background:#fff;border-radius:3px;padding:5px;height:24px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class:focus{outline:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number],#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]{border:1px solid #eceef0;border-radius:3px;padding:5px 8px;width:50%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:focus,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:focus{outline:none;-webkit-appearance:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:-ms-input-placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::-ms-input-placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:-ms-input-placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::-ms-input-placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button{border:1px solid #3b80f4;background:#3b80f4;color:#fff;padding:5px 8px;border-radius:3px;cursor:pointer;margin-left:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button.cancel{border:1px solid #afafaf;background:#ffff;color:#222}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button:disabled{background:#76a2ed;border-color:#76a2ed}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.note .note-text{font-weight:400}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now{background:#1abc9c;color:#fff;cursor:pointer;font-size:16px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td{padding:18px 10px 18px 12px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.amount{text-align:right}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.icon{padding:0 5px;text-align:left;line-height:25px}#wepos-main .content-cart .cart-panel .cart-content{flex:5;overflow-x:scroll}#wepos-main .content-cart .cart-panel .cart-content table.cart-table{width:100%;border-collapse:collapse}#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr{text-align:left;border-bottom:1px solid #eceef0;box-shadow:0 3px 15px 0 rgba(0,0,0,.04);color:#3b80f4;font-size:13px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr th{padding:8px 12px;line-height:19px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr{border-bottom:1px solid #eceef0;height:35px;display:table-row;line-height:20px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item{height:55vh;border-bottom:none;text-align:center}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item p{color:#c6cace;font-size:17px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td{padding:8px 12px;font-size:13px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name{font-weight:700}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul{margin:0;padding:0;list-style:none}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li{display:inline-block;margin-right:5px;font-size:12px;font-weight:400}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li .attr_name{color:#758598}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span{display:block}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span.regular-price{font-size:11px;text-decoration:line-through;color:#9095a5;padding-left:5px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span:before,#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before{font-size:8px;background:#bdc0c9;color:#fff;border-radius:50px;border:.84px solid #bdc0c9;cursor:pointer;display:inline-block;width:20px;text-align:center}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span.open:before,#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span.open:before{transform:rotate(89deg);background:#3b80f4;border:.84px solid #3b80f4}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before{color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:hover:before{background:#e9485e;color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td{padding:10px;background:#f6f7fb}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span{margin-right:5px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]{-webkit-appearance:none;outline:none;border:1px solid #eceef0;padding:5px;font-size:13px;border-radius:3px;width:60px;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-inner-spin-button,#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a{text-decoration:none;display:inline-block;font-size:18px;font-weight:700;color:#999dac;background:#fff;margin-right:3px;width:25px;height:23px;text-align:center;border-radius:3px;border:1px solid #eceef0}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a.add{color:#fff;background:#3b80f4}#wepos-main .wepos-help-wrapper{padding:15px 20px;margin-top:20px}#wepos-main .wepos-help-wrapper h2{margin:0;padding:0 0 15px;margin-bottom:15px;border-bottom:1px solid #eceef0;color:#c6cace;font-weight:400}#wepos-main .wepos-help-wrapper ul{margin:0;padding:0;list-style:none}#wepos-main .wepos-help-wrapper ul li{display:inline-block;width:48%;margin-right:2%;margin-bottom:20px}#wepos-main .wepos-help-wrapper ul li:nth-child(2n){margin-right:0}#wepos-main .wepos-help-wrapper ul li span{display:block}#wepos-main .wepos-help-wrapper ul li span.code{float:left;width:40%;color:#758598;font-size:15px}#wepos-main .wepos-help-wrapper ul li span.title{float:left;display:block;width:58%}.overlay{position:fixed;background:#000;top:0;width:100%;height:100%;left:0;opacity:.25;filter:alpha(opacity=20);background-color:#000;z-index:99}.variation-attribute-wrapper{padding:10px 20px 0}.variation-attribute-wrapper .attribute{margin-bottom:15px}.variation-attribute-wrapper .attribute p{padding:0;margin:0;text-align:left;font-size:14px;font-weight:700;margin-bottom:5px}.variation-attribute-wrapper .attribute .options{text-align:left}.variation-attribute-wrapper .attribute .options label{display:inline-block}.variation-attribute-wrapper .attribute .options label input[type=radio]{-webkit-appearance:none;display:none}.variation-attribute-wrapper .attribute .options label input[type=radio]:checked+.box{background:#1abc9c;color:#fff;border:1px solid #1abc9c}.variation-attribute-wrapper .attribute .options label .box{padding:6px 10px;border:1px solid #e0e5ea;margin-right:5px;margin-bottom:5px;cursor:pointer;font-size:13px;border-radius:3px}.add-variation-btn{border:none;padding:10px;background:#3b80f4;color:#fff;border-radius:3px;width:150px;font-size:14px;cursor:pointer}.add-variation-btn:active,.add-variation-btn:focus{outline:none}.add-variation-btn:disabled{background:#76a2ed}.wepos-new-customer-form{padding:20px}.wepos-new-customer-form .customer-country.multiselect--active .multiselect__input,.wepos-new-customer-form .customer-state.multiselect--active .multiselect__input{padding:0 3px!important}.wepos-new-customer-form button.add-new-customer-btn:disabled{background:#76a2ed;border:1px solid #76a2ed;cursor:no-drop!important}.wepos-fee-keypad-wrap{display:inline-block;float:left}.fee-keypad .tooltip-inner input{width:87%;border:none;font-size:20px;padding:13px;height:25px}.fee-keypad .tooltip-inner button[data-action=flat],.fee-keypad .tooltip-inner button[data-action=percent]{cursor:pointer}aside.vue-keyboard .vue-keyboard-row[data-keys="3"]{border-bottom:1px solid #eceef0}aside.vue-keyboard .vue-keyboard-row[data-keys="3"] button{border:none;font-size:24px;text-align:center;width:80px;height:60px;padding:5px 20px;display:inline-block;cursor:pointer;border-right:1px solid #eceef0;color:#212121}aside.vue-keyboard .vue-keyboard-row[data-keys="3"] button:last-child{border-right:none}aside.vue-keyboard .vue-keyboard-row[data-keys="3"] button span.keypord-icon:before{font-weight:700}aside.vue-keyboard .vue-keyboard-row[data-keys="3"]:first-child{border-top:1px solid #eceef0}aside.vue-keyboard .vue-keyboard-row[data-keys="2"] button{border:none;width:50%;padding:15px;font-size:14px;background:#3b80f4;color:#fff;border-right:1px solid #fff}aside.vue-keyboard .vue-keyboard-row[data-keys="2"] button:last-child{border-right:none}aside.vue-keyboard .vue-keyboard-row[data-keys="2"] button span.keypord-icon:before{font-weight:700}#wepos-print-receipt{display:inline}@media print{.wepos-modal-content,body *{visibility:hidden}.wepos-checkout-print-wrapper{display:inline-block!important}.wepos-checkout-print-wrapper *{visibility:visible}.wepos-checkout-print-wrapper{position:absolute;left:0;top:0;width:100%}.wepos-checkout-print-wrapper .footer,.wepos-checkout-print-wrapper .header{padding:5px;text-align:center}.wepos-checkout-print-wrapper .order-info{margin:10px 0;border-bottom:1px dashed #b7b7b7;padding:10px 5px}.wepos-checkout-print-wrapper .content table.sale-summary{width:100%;border-collapse:collapse}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td{font-size:14px;padding:8px 10px}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name{width:60%;font-weight:700}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute{margin-top:2px}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul{margin:0;padding:0;list-style:none}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li{display:inline-block;margin-right:5px;font-size:12px;font-weight:400}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li .attr_name{color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.quantity{width:12%;color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price{text-align:right;color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span{color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span.regular-price{font-size:12px;text-decoration:line-through;color:#9095a5;padding-right:3px}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.cart-meta-data td .metadata{margin-left:6px;color:#758598;font-size:13px;font-weight:400}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.divider{border-bottom:1px dashed #b7b7b7;color:#b5b5b5}}.wepos-custom-note-wrap{float:left;display:inline-block}.customer-note .tooltip-inner{width:500px;padding:10px;box-sizing:border-box}.customer-note .tooltip-inner form{text-align:right}.customer-note .tooltip-inner form textarea{width:100%;font-size:13px;padding:10px;border:1px solid #e9edf0;line-height:10px;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);box-sizing:border-box;height:100px;margin-bottom:10px}.customer-note .tooltip-inner form textarea:focus{outline:none}.customer-note .tooltip-inner form button.add-note-btn{padding:6px 25px;font-size:14px;border-radius:3px;border:1px solid #3b80f4;color:#fff;background:#3b80f4;cursor:pointer}.customer-note .tooltip-inner form button.add-note-btn:disabled{cursor:no-drop;background:#76a2ed;border-color:#76a2ed}
     1#wepos-main{padding:20px;display:flex}#wepos-main .content-product{flex:2;margin-right:20px}#wepos-main .content-product .top-panel{margin-bottom:20px}#wepos-main .content-product .top-panel .search-bar{width:56%;margin-right:2%;float:left}#wepos-main .content-product .top-panel .search-bar .search-box{position:relative}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search{width:100%;font-size:14px;height:35px;border:1px solid #e9edf0;line-height:10px;padding-right:120px;padding-left:32px;box-sizing:border-box;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::placeholder{color:#999dac;font-size:13px}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:-ms-input-placeholder,#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::-ms-input-placeholder{color:#999dac;font-size:13px}#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:focus{outline:none}#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon{position:absolute;left:10px;top:8px;color:#3b80f4;height:10px}#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon:before{font-size:14px}#wepos-main .content-product .top-panel .search-bar .search-box .search-type{position:absolute;top:0;right:0}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a{text-decoration:none;font-size:13px;display:inline-block;height:35px;padding:10px;box-sizing:border-box;margin-left:-2px;color:#bdc0c9;line-height:14px}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a.active{background:#3b80f4;color:#fff}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:first-child{border-left:1px solid #e9ebed}#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:last-child{border-top-right-radius:3px;border-bottom-right-radius:3px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result{background:#fff;position:absolute;width:100%;box-sizing:border-box;border:1px solid #e9edf0;border-top:none;border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:0 30px 45px -10px rgba(0,0,0,.2);z-index:999}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .no-data-found{padding:20px;text-align:center;color:#758598}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul{margin:0;padding:0;list-style-type:none;max-height:300px;overflow:scroll}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a{text-decoration:none;color:#212121;padding:8px 10px;display:block;border-bottom:1px solid #e9edf0}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span{font-size:11px;color:#758598;margin-left:10px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action{visibility:hidden}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action:before{font-size:12px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a:hover span.action{visibility:visible}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li:last-child a{border-bottom:none}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected{background:#f6f7fb}#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected a span.action{visibility:visible}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession{padding:12px;background:#f6f7fb;color:#999dac;font-size:11px;border-top:1px solid #eceef0}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term{margin-right:15px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term span:before{font-size:9px;color:#5d5d5d;margin-right:2px}#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term strong{color:#5d5d5d;margin-right:2px}#wepos-main .content-product .top-panel .category{width:26%;margin-right:2%;float:left;position:relative}#wepos-main .content-product .top-panel .category select#product-category{-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;border:1px solid #e9edf0;background:#fff;padding:9px;border-radius:3px;box-sizing:border-box;font-size:13px;color:#758598;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-product .top-panel .category select#product-category:focus{outline:none}#wepos-main .content-product .top-panel .category span.select-arrow{position:absolute;top:9px;right:9px}#wepos-main .content-product .top-panel .category span.select-arrow:before{font-size:13px;color:#758598;margin-left:0}#wepos-main .content-product .top-panel .toggle-view{width:14%;float:left;text-align:right}#wepos-main .content-product .top-panel .toggle-view .toggle-icon{padding:8px 10px;background:#fff;display:inline-block;border:1px solid #e9edf0;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);color:#bdc0c9;cursor:pointer}#wepos-main .content-product .top-panel .toggle-view .toggle-icon.active{color:#3b80f4}#wepos-main .content-product .top-panel .toggle-view .toggle-icon:before{margin-left:0;font-size:13px}#wepos-main .content-product .top-panel .toggle-view .toggle-icon.list-view{margin-right:-4px;border-right:none}#wepos-main .content-product .breadcrumb{background:#fff;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);padding:8px 12px;position:relative;margin-bottom:20px}#wepos-main .content-product .breadcrumb span.close-breadcrumb{position:absolute;top:5px;right:15px;color:#9b59b6;cursor:pointer}#wepos-main .content-product .breadcrumb span.close-breadcrumb:before{font-size:9px}#wepos-main .content-product .breadcrumb ul{margin:0;padding:0;line-height:16px}#wepos-main .content-product .breadcrumb ul li{display:inline-block}#wepos-main .content-product .breadcrumb ul li:after{font-family:Flaticon;content:"\F10B";font-size:9px;margin-left:7px;margin-right:4px;color:#758598}#wepos-main .content-product .breadcrumb ul li:last-child:after{content:""}#wepos-main .content-product .breadcrumb ul li a{font-size:13px;color:#9b59b6;text-decoration:none}#wepos-main .content-product .items-wrapper.grid{display:flex;flex-flow:row wrap;justify-content:flex-start;margin:0 -10px;overflow:auto;height:84.9vh}#wepos-main .content-product .items-wrapper.grid .item{flex-basis:20%;-ms-flex:auto;box-sizing:border-box;text-align:center;padding:0 10px;margin-bottom:20px}#wepos-main .content-product .items-wrapper.grid .item:focus{outline:none}#wepos-main .content-product .items-wrapper.grid .item .item-wrap{background:#fff;margin-bottom:-2px;cursor:pointer;position:relative}#wepos-main .content-product .items-wrapper.grid .item .item-wrap:focus{outline:none;-webkit-appearance:none}#wepos-main .content-product .items-wrapper.grid .item .item-wrap img{width:100%}#wepos-main .content-product .items-wrapper.grid .item .item-wrap .title{padding:10px 5px;margin-top:-3px;color:#212121;font-size:13px;border-top:1px solid #e9edf0}#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon{position:absolute;top:0;right:0;width:100%;height:100%;background:rgba(0,0,0,.3);visibility:hidden}#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon:before{color:#fff;font-weight:400;margin-top:40%;display:inline-block;font-size:35px;text-shadow:1px 1px 1px rgba(0,0,0,.5)}#wepos-main .content-product .items-wrapper.grid .item .item-wrap:hover .add-product-icon{visibility:visible}#wepos-main .content-product .items-wrapper.list{overflow:auto;height:84.9vh}#wepos-main .content-product .items-wrapper.list .item .item-wrap{background:#fff;overflow:hidden;position:relative;margin-bottom:20px;cursor:pointer;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-product .items-wrapper.list .item .item-wrap .img{width:80px;height:80px;float:left;margin-right:20px;border-right:1px solid #f0f2f4}#wepos-main .content-product .items-wrapper.list .item .item-wrap .img img{width:100%;height:100%}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title{float:left;height:100%;font-size:14px;font-weight:700;position:absolute;top:40px;left:100px;height:44px;margin-top:-22px;max-width:78%}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title .product-name{margin-bottom:8px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta{margin:0;padding:0;list-style:none;font-size:13px;font-weight:400}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li{display:inline-block}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .label{color:#758598;margin-right:3px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .value del{color:#9095a5;margin-right:3px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:after{content:"|";color:#e9ebed;display:inline-block;margin:0 7px}#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:last-child:after{content:""}#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon{position:absolute;top:35%;right:3%}#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon:before{color:#1a9ed4;font-weight:400}#wepos-main .content-product .items-wrapper .product-loading{display:block;position:relative;width:100%;padding:10px;text-align:center;font-size:16px;color:#c6cace}#wepos-main .content-product .items-wrapper .no-product-found{text-align:center;width:100%;vertical-align:middle;margin:auto 0}#wepos-main .content-product .items-wrapper .no-product-found p{font-size:18px;color:#c6cace}#wepos-main .content-cart{flex:1.3;height:94.5vh}#wepos-main .content-cart .top-panel{display:flex;margin-bottom:20px}#wepos-main .content-cart .top-panel .customer-search-box{flex:7;position:relative}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search{width:100%;padding:10px;height:33px;font-size:14px;height:35px;border:1px solid #e9edf0;line-height:10px;padding-left:35px;box-sizing:border-box;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02)}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:-ms-input-placeholder,#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::-ms-input-placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:focus{outline:none}#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer{position:absolute;top:9px;right:10px}#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer:before{font-size:15px;color:#bdc0c9;cursor:pointer}#wepos-main .content-cart .top-panel .customer-search-box .search-result{background:#fff;position:absolute;width:100%;z-index:99;box-sizing:border-box;border:1px solid #e9edf0;border-top:none;border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:0 30px 45px -10px rgba(0,0,0,.2)}#wepos-main .content-cart .top-panel .customer-search-box .search-result .no-data-found{padding:20px;text-align:center;color:#758598}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul{margin:0;padding:0;list-style-type:none;max-height:300px;overflow:scroll}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a{text-decoration:none;color:#212121;padding:8px 10px;display:block;border-bottom:1px solid #e9edf0}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span{font-size:13px;color:#758598;margin-left:10px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.avatar img{width:20px;border-radius:20px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.name{font-size:14px;color:#212121;margin-left:6px;line-height:18px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action{visibility:hidden}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action:before{font-size:12px}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a:hover span.action{visibility:visible}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li:last-child a{border-bottom:none}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected{background:#f6f7fb}#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected a span.action{visibility:visible}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession{padding:12px;background:#f6f7fb;color:#999dac;font-size:11px;border-top:1px solid #eceef0}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term{margin-right:15px}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term span:before{font-size:9px;color:#5d5d5d;margin-right:2px}#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term strong{color:#5d5d5d;margin-right:2px}#wepos-main .content-cart .top-panel .customer-search-box svg.customer-icon{position:absolute;left:10px;top:8px}#wepos-main .content-cart .top-panel .action{flex:1}#wepos-main .content-cart .top-panel .action .more-options{text-align:right}#wepos-main .content-cart .top-panel .action .more-options span.more-icon:before{font-size:16px;color:#bdc0c9}#wepos-main .content-cart .cart-panel{background:#fff;height:90%;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);position:relative;display:flex;flex-flow:column wrap;border-radius:3px}#wepos-main .content-cart .cart-panel .cart-calculation{width:100%;flex-grow:0}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table{width:100%;border-collapse:collapse}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr{border-bottom:1px solid #eceef0;height:35px;display:table-row;line-height:20px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:first-child{border-top:1px solid #eceef0}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:last-child{border-bottom:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:nth-child(odd){background:#fafbfe}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td{padding:9px 12px;font-weight:700;line-height:20px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td:last-child{text-align:right}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.label{width:45%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.price{width:45%;text-align:right}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action{width:6%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:before{font-size:7px;padding:5px;border-radius:50px;cursor:pointer;background:#bdc0c9;color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:hover:before{background:#e9485e;color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td{text-align:left}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td a{text-decoration:none;color:#3b80f4;font-size:12px;padding:5px 8px;background:#fff;border:1px solid #e0e5ea;border-radius:3px;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label span.name{color:#758598;font-size:12px;margin-left:5px;font-weight:400}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label label{font-weight:400;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-name{width:15%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-amount{width:15%;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class{width:22%;border:1px solid #e9ebed;background:#fff;border-radius:3px;padding:5px;height:24px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class:focus{outline:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number],#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]{border:1px solid #eceef0;border-radius:3px;padding:5px 8px;width:50%}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:focus,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:focus{outline:none;-webkit-appearance:none}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:-ms-input-placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::-ms-input-placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:-ms-input-placeholder,#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::-ms-input-placeholder{color:#999dac;font-size:13px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button{border:1px solid #3b80f4;background:#3b80f4;color:#fff;padding:5px 8px;border-radius:3px;cursor:pointer;margin-left:5px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button.cancel{border:1px solid #afafaf;background:#ffff;color:#222}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button:disabled{background:#76a2ed;border-color:#76a2ed}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.note .note-text{font-weight:400}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now{background:#1abc9c;color:#fff;cursor:pointer;font-size:16px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td{padding:18px 10px 18px 12px}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.amount{text-align:right}#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.icon{padding:0 5px;text-align:left;line-height:25px}#wepos-main .content-cart .cart-panel .cart-content{flex:5;overflow-x:scroll}#wepos-main .content-cart .cart-panel .cart-content table.cart-table{width:100%;border-collapse:collapse}#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr{text-align:left;border-bottom:1px solid #eceef0;box-shadow:0 3px 15px 0 rgba(0,0,0,.04);color:#3b80f4;font-size:13px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr th{padding:8px 12px;line-height:19px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr{border-bottom:1px solid #eceef0;height:35px;display:table-row;line-height:20px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item{height:55vh;border-bottom:none;text-align:center}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item p{color:#c6cace;font-size:17px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td{padding:8px 12px;font-size:13px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name{font-weight:700}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul{margin:0;padding:0;list-style:none}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li{display:inline-block;margin-right:5px;font-size:12px;font-weight:400}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li .attr_name{color:#758598}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span{display:block}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span.regular-price{font-size:11px;text-decoration:line-through;color:#9095a5;padding-left:5px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span:before,#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before{font-size:8px;background:#bdc0c9;color:#fff;border-radius:50px;border:.84px solid #bdc0c9;cursor:pointer;display:inline-block;width:20px;text-align:center}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span.open:before,#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span.open:before{transform:rotate(89deg);background:#3b80f4;border:.84px solid #3b80f4}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before{color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:hover:before{background:#e9485e;color:#fff;border:none}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td{padding:10px;background:#f6f7fb}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span{margin-right:5px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]{-webkit-appearance:none;outline:none;border:1px solid #eceef0;padding:5px;font-size:13px;border-radius:3px;width:60px;margin-right:5px}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-inner-spin-button,#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a{text-decoration:none;display:inline-block;font-size:18px;font-weight:700;color:#999dac;background:#fff;margin-right:3px;width:25px;height:23px;text-align:center;border-radius:3px;border:1px solid #eceef0}#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a.add{color:#fff;background:#3b80f4}#wepos-main .wepos-help-wrapper{padding:15px 20px;margin-top:20px}#wepos-main .wepos-help-wrapper h2{margin:0;padding:0 0 15px;margin-bottom:15px;border-bottom:1px solid #eceef0;color:#c6cace;font-weight:400}#wepos-main .wepos-help-wrapper ul{margin:0;padding:0;list-style:none}#wepos-main .wepos-help-wrapper ul li{display:inline-block;width:48%;margin-right:2%;margin-bottom:20px}#wepos-main .wepos-help-wrapper ul li:nth-child(2n){margin-right:0}#wepos-main .wepos-help-wrapper ul li span{display:block}#wepos-main .wepos-help-wrapper ul li span.code{float:left;width:40%;color:#758598;font-size:15px}#wepos-main .wepos-help-wrapper ul li span.title{float:left;display:block;width:58%}.overlay{position:fixed;background:#000;top:0;width:100%;height:100%;left:0;opacity:.25;filter:alpha(opacity=20);background-color:#000;z-index:99}.variation-attribute-wrapper{padding:10px 20px 0}.variation-attribute-wrapper .attribute{margin-bottom:15px}.variation-attribute-wrapper .attribute p{padding:0;margin:0;text-align:left;font-size:14px;font-weight:700;margin-bottom:5px}.variation-attribute-wrapper .attribute .options{text-align:left}.variation-attribute-wrapper .attribute .options label{display:inline-block}.variation-attribute-wrapper .attribute .options label input[type=radio]{-webkit-appearance:none;display:none}.variation-attribute-wrapper .attribute .options label input[type=radio]:checked+.box{background:#1abc9c;color:#fff;border:1px solid #1abc9c}.variation-attribute-wrapper .attribute .options label .box{padding:6px 10px;border:1px solid #e0e5ea;margin-right:5px;margin-bottom:5px;cursor:pointer;font-size:13px;border-radius:3px}.add-variation-btn{border:none;padding:10px;background:#3b80f4;color:#fff;border-radius:3px;width:150px;font-size:14px;cursor:pointer}.add-variation-btn:active,.add-variation-btn:focus{outline:none}.add-variation-btn:disabled{background:#76a2ed}.wepos-new-customer-form{padding:20px}.wepos-new-customer-form .customer-country.multiselect--active .multiselect__input,.wepos-new-customer-form .customer-state.multiselect--active .multiselect__input{padding:0 3px!important}.wepos-new-customer-form button.add-new-customer-btn:disabled{background:#76a2ed;border:1px solid #76a2ed;cursor:no-drop!important}.wepos-fee-keypad-wrap{display:inline-block;float:left}.fee-keypad .tooltip-inner input{width:87%;border:none;font-size:20px;padding:13px;height:25px}.fee-keypad .tooltip-inner button[data-action=flat],.fee-keypad .tooltip-inner button[data-action=percent]{cursor:pointer}aside.vue-keyboard .vue-keyboard-row[data-keys="3"]{border-bottom:1px solid #eceef0}aside.vue-keyboard .vue-keyboard-row[data-keys="3"] button{border:none;font-size:24px;text-align:center;width:80px;height:60px;padding:5px 20px;display:inline-block;cursor:pointer;border-right:1px solid #eceef0;color:#212121}aside.vue-keyboard .vue-keyboard-row[data-keys="3"] button:last-child{border-right:none}aside.vue-keyboard .vue-keyboard-row[data-keys="3"] button span.keypord-icon:before{font-weight:700}aside.vue-keyboard .vue-keyboard-row[data-keys="3"]:first-child{border-top:1px solid #eceef0}aside.vue-keyboard .vue-keyboard-row[data-keys="2"] button{border:none;width:50%;padding:15px;font-size:14px;background:#3b80f4;color:#fff;border-right:1px solid #fff}aside.vue-keyboard .vue-keyboard-row[data-keys="2"] button:last-child{border-right:none}aside.vue-keyboard .vue-keyboard-row[data-keys="2"] button span.keypord-icon:before{font-weight:700}#wepos-print-receipt{display:inline}[v-cloak]{display:none}@media print{.wepos-modal-content,body *{visibility:hidden}.wepos-checkout-print-wrapper{display:inline-block!important}.wepos-checkout-print-wrapper *{visibility:visible}.wepos-checkout-print-wrapper{position:absolute;left:0;top:0;width:100%}.wepos-checkout-print-wrapper .footer,.wepos-checkout-print-wrapper .header{padding:5px;text-align:center}.wepos-checkout-print-wrapper .order-info{margin:10px 0;border-bottom:1px dashed #b7b7b7;padding:10px 5px}.wepos-checkout-print-wrapper .content table.sale-summary{width:100%;border-collapse:collapse}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td{font-size:14px;padding:8px 10px}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name{width:60%;font-weight:700}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute{margin-top:2px}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul{margin:0;padding:0;list-style:none}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li{display:inline-block;margin-right:5px;font-size:12px;font-weight:400}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li .attr_name{color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.quantity{width:12%;color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price{text-align:right;color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span{color:#758598}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span.regular-price{font-size:12px;text-decoration:line-through;color:#9095a5;padding-right:3px}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.cart-meta-data td .metadata{margin-left:6px;color:#758598;font-size:13px;font-weight:400}.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.divider{border-bottom:1px dashed #b7b7b7;color:#b5b5b5}}.wepos-custom-note-wrap{float:left;display:inline-block}.customer-note .tooltip-inner{width:500px;padding:10px;box-sizing:border-box}.customer-note .tooltip-inner form{text-align:right}.customer-note .tooltip-inner form textarea{width:100%;font-size:13px;padding:10px;border:1px solid #e9edf0;line-height:10px;border-radius:3px;box-shadow:0 3px 15px 0 rgba(0,0,0,.02);box-sizing:border-box;height:100px;margin-bottom:10px}.customer-note .tooltip-inner form textarea:focus{outline:none}.customer-note .tooltip-inner form button.add-note-btn{padding:6px 25px;font-size:14px;border-radius:3px;border:1px solid #3b80f4;color:#fff;background:#3b80f4;cursor:pointer}.customer-note .tooltip-inner form button.add-note-btn:disabled{cursor:no-drop;background:#76a2ed;border-color:#76a2ed}
    22/*# sourceMappingURL=frontend.css.map */
  • wepos/trunk/assets/css/frontend.css.map

    r2128862 r2162804  
    1 {"version":3,"sources":["frontend.css"],"names":[],"mappings":"AAiBA,YACE,aAAc,AACd,YAAc,CACf,AACD,6BACE,OAAQ,AACR,iBAAmB,CACpB,AACD,wCACE,kBAAoB,CACrB,AACD,oDACE,UAAW,AACX,gBAAiB,AACjB,UAAY,CACb,AACD,gEACE,iBAAmB,CACpB,AACD,qFACE,WAAY,AACZ,eAAgB,AAChB,YAAa,AACb,yBAA0B,AAC1B,iBAAkB,AAClB,oBAAqB,AACrB,kBAAmB,AACnB,sBAAuB,AACvB,kBAAmB,AACnB,uCAA6C,CAC9C,AACD,kGACE,cAAe,AACf,cAAgB,CACjB,AAKD,uNACE,cAAe,AACf,cAAgB,CACjB,AACD,2FACE,YAAc,CACf,AACD,iFACE,kBAAmB,AACnB,UAAW,AACX,QAAS,AACT,cAAe,AACf,WAAa,CACd,AACD,wFACE,cAAgB,CACjB,AACD,6EACE,kBAAmB,AACnB,MAAS,AACT,OAAS,CACV,AACD,+EACE,qBAAsB,AACtB,eAAgB,AAChB,qBAAsB,AACtB,YAAa,AACb,aAAc,AACd,sBAAuB,AACvB,iBAAkB,AAClB,cAAe,AACf,gBAAkB,CACnB,AACD,sFACE,mBAAoB,AACpB,UAAY,CACb,AACD,2FACE,6BAA+B,CAChC,AACD,0FACE,4BAA6B,AAC7B,8BAAgC,CACjC,AACD,+EACE,gBAAiB,AACjB,kBAAmB,AACnB,WAAY,AACZ,sBAAuB,AACvB,yBAA0B,AAC1B,gBAAiB,AACjB,8BAA+B,AAC/B,+BAAgC,AAChC,4CAAiD,AACjD,WAAa,CACd,AACD,8FACE,aAAc,AACd,kBAAmB,AACnB,aAAe,CAChB,AACD,kFACE,SAAU,AACV,UAAW,AACX,qBAAsB,AACtB,iBAAkB,AAClB,eAAiB,CAClB,AACD,uFACE,qBAAsB,AACtB,cAAe,AACf,iBAAkB,AAClB,cAAe,AACf,+BAAiC,CAClC,AACD,4FACE,eAAgB,AAChB,cAAe,AACf,gBAAkB,CACnB,AACD,mGACE,iBAAmB,CACpB,AACD,0GACE,cAAgB,CACjB,AACD,yGACE,kBAAoB,CACrB,AACD,kGACE,kBAAoB,CACrB,AACD,8FACE,kBAAoB,CACrB,AACD,4GACE,kBAAoB,CACrB,AACD,2FACE,aAAc,AACd,mBAAoB,AACpB,cAAe,AACf,eAAgB,AAChB,4BAA8B,CAC/B,AACD,qGACE,iBAAmB,CACpB,AACD,iHACE,cAAe,AACf,cAAe,AACf,gBAAkB,CACnB,AACD,4GACE,cAAe,AACf,gBAAkB,CACnB,AACD,kDACE,UAAW,AACX,gBAAiB,AACjB,WAAY,AACZ,iBAAmB,CACpB,AACD,0EACE,qBAAsB,AAEtB,wBAAyB,AAEzB,gBAAiB,AACjB,WAAY,AACZ,yBAA0B,AAC1B,gBAAiB,AACjB,YAAa,AACb,kBAAmB,AACnB,sBAAuB,AACvB,eAAgB,AAChB,cAAe,AACf,uCAA6C,CAC9C,AACD,gFACE,YAAc,CACf,AACD,oEACE,kBAAmB,AACnB,QAAS,AACT,SAAW,CACZ,AACD,2EACE,eAAgB,AAChB,cAAe,AACf,aAAiB,CAClB,AACD,qDACE,UAAW,AACX,WAAY,AACZ,gBAAkB,CACnB,AACD,kEACE,iBAAkB,AAClB,gBAAiB,AACjB,qBAAsB,AACtB,yBAA0B,AAC1B,wCAA6C,AAC7C,cAAe,AACf,cAAgB,CACjB,AACD,yEACE,aAAe,CAChB,AACD,yEACE,cAAiB,AACjB,cAAgB,CACjB,AACD,4EACE,kBAAmB,AACnB,iBAAmB,CACpB,AACD,yCACE,gBAAiB,AACjB,wCAA6C,AAC7C,iBAAkB,AAClB,kBAAmB,AACnB,kBAAoB,CACrB,AACD,+DACE,kBAAmB,AACnB,QAAS,AACT,WAAY,AACZ,cAAe,AACf,cAAgB,CACjB,AACD,sEACE,aAAe,CAChB,AACD,4CACE,SAAY,AACZ,UAAa,AACb,gBAAkB,CACnB,AACD,+CACE,oBAAsB,CACvB,AACD,qDACE,qBAAwB,AACxB,gBAAiB,AACjB,cAAe,AACf,gBAAiB,AACjB,iBAAkB,AAClB,aAAe,CAChB,AACD,gEACE,UAAY,CACb,AACD,iDACE,eAAgB,AAChB,cAAe,AACf,oBAAsB,CACvB,AACD,iDACE,aAAc,AACd,mBAAoB,AACpB,2BAA4B,AAC5B,eAAgB,AAChB,cAAe,AACf,aAAe,CAChB,AACD,uDACE,eAAgB,AAChB,cAAe,AACf,sBAAuB,AACvB,kBAAmB,AACnB,eAAgB,AAChB,kBAAoB,CACrB,AACD,6DACE,YAAc,CACf,AACD,kEACE,gBAAiB,AACjB,mBAAoB,AACpB,eAAgB,AAChB,iBAAmB,CACpB,AACD,wEACE,aAAc,AACd,uBAAyB,CAC1B,AACD,sEACE,UAAY,CACb,AACD,yEACE,iBAAkB,AAClB,gBAAiB,AACjB,cAAe,AACf,eAAgB,AAChB,4BAA8B,CAC/B,AACD,oFACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,WAAY,AACZ,YAAa,AACb,0BAA+B,AAC/B,iBAAmB,CACpB,AACD,2FACE,WAAY,AACZ,gBAAoB,AACpB,eAAgB,AAChB,qBAAsB,AACtB,eAAgB,AAChB,sCAA4C,CAC7C,AACD,0FACE,kBAAoB,CACrB,AACD,iDACE,cAAe,AACf,aAAe,CAChB,AACD,kEACE,gBAAiB,AACjB,gBAAiB,AACjB,kBAAmB,AACnB,mBAAoB,AACpB,eAAgB,AAChB,kBAAmB,AACnB,uCAA6C,CAC9C,AACD,uEACE,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,kBAAmB,AACnB,8BAAgC,CACjC,AACD,2EACE,WAAY,AACZ,WAAa,CACd,AACD,yEACE,WAAY,AACZ,YAAa,AACb,eAAgB,AAChB,gBAAkB,AAClB,kBAAmB,AACnB,SAAU,AACV,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,aAAe,CAChB,AACD,uFACE,iBAAmB,CACpB,AACD,iFACE,SAAU,AACV,UAAW,AACX,gBAAiB,AACjB,eAAgB,AAChB,eAAoB,CACrB,AACD,oFACE,oBAAsB,CACvB,AACD,2FACE,cAAe,AACf,gBAAkB,CACnB,AACD,+FACE,cAAe,AACf,gBAAkB,CACnB,AACD,0FACE,YAAa,AACb,cAAe,AACf,qBAAsB,AACtB,YAAgB,CACjB,AACD,qGACE,UAAY,CACb,AACD,oFACE,kBAAmB,AACnB,QAAS,AACT,QAAU,CACX,AACD,2FACE,cAAe,AACf,eAAoB,CACrB,AACD,6DACE,cAAe,AACf,kBAAmB,AACnB,WAAY,AACZ,aAAc,AACd,kBAAmB,AACnB,eAAgB,AAChB,aAAe,CAChB,AACD,8DACE,kBAAmB,AACnB,WAAY,AACZ,sBAAuB,AACvB,aAAiB,CAClB,AACD,gEACE,eAAgB,AAChB,aAAe,CAChB,AACD,0BACE,SAAU,AACV,aAAe,CAChB,AACD,qCACE,aAAc,AACd,kBAAoB,CACrB,AACD,0DACE,OAAQ,AACR,iBAAmB,CACpB,AACD,gFACE,WAAY,AACZ,aAAc,AACd,YAAa,AACb,eAAgB,AAChB,YAAa,AACb,yBAA0B,AAC1B,iBAAkB,AAClB,kBAAmB,AACnB,sBAAuB,AACvB,kBAAmB,AACnB,uCAA6C,CAC9C,AACD,6FACE,cAAe,AACf,cAAgB,CACjB,AAKD,6MACE,cAAe,AACf,cAAgB,CACjB,AACD,sFACE,YAAc,CACf,AACD,gFACE,kBAAmB,AACnB,QAAS,AACT,UAAY,CACb,AACD,uFACE,eAAgB,AAChB,cAAe,AACf,cAAgB,CACjB,AACD,yEACE,gBAAiB,AACjB,kBAAmB,AACnB,WAAY,AACZ,WAAY,AACZ,sBAAuB,AACvB,yBAA0B,AAC1B,gBAAiB,AACjB,8BAA+B,AAC/B,+BAAgC,AAChC,2CAAiD,CAClD,AACD,wFACE,aAAc,AACd,kBAAmB,AACnB,aAAe,CAChB,AACD,4EACE,SAAU,AACV,UAAW,AACX,qBAAsB,AACtB,iBAAkB,AAClB,eAAiB,CAClB,AACD,iFACE,qBAAsB,AACtB,cAAe,AACf,iBAAkB,AAClB,cAAe,AACf,+BAAiC,CAClC,AACD,sFACE,eAAgB,AAChB,cAAe,AACf,gBAAkB,CACnB,AACD,iGACE,WAAY,AACZ,kBAAoB,CACrB,AACD,2FACE,eAAgB,AAChB,cAAe,AACf,gBAAiB,AACjB,gBAAkB,CACnB,AACD,6FACE,iBAAmB,CACpB,AACD,oGACE,cAAgB,CACjB,AACD,mGACE,kBAAoB,CACrB,AACD,4FACE,kBAAoB,CACrB,AACD,wFACE,kBAAoB,CACrB,AACD,sGACE,kBAAoB,CACrB,AACD,qFACE,aAAc,AACd,mBAAoB,AACpB,cAAe,AACf,eAAgB,AAChB,4BAA8B,CAC/B,AACD,+FACE,iBAAmB,CACpB,AACD,2GACE,cAAe,AACf,cAAe,AACf,gBAAkB,CACnB,AACD,sGACE,cAAe,AACf,gBAAkB,CACnB,AACD,4EACE,kBAAmB,AACnB,UAAW,AACX,OAAS,CACV,AACD,6CACE,MAAQ,CACT,AACD,2DACE,gBAAkB,CACnB,AACD,iFACE,eAAgB,AAChB,aAAe,CAChB,AACD,sCACE,gBAAiB,AACjB,WAAY,AACZ,wCAA6C,AAC7C,kBAAmB,AACnB,aAAc,AACd,sBAAuB,AACvB,iBAAmB,CACpB,AACD,wDACE,WAAY,AACZ,WAAa,CACd,AACD,+EACE,WAAY,AACZ,wBAA0B,CAC3B,AACD,wFACE,gCAAiC,AACjC,YAAa,AACb,kBAAmB,AACnB,gBAAkB,CACnB,AACD,oGACE,4BAA8B,CAC/B,AACD,mGACE,kBAAoB,CACrB,AACD,uGACE,kBAAoB,CACrB,AACD,2FACE,iBAAkB,AAClB,gBAAkB,AAClB,gBAAkB,CACnB,AACD,sGACE,gBAAkB,CACnB,AACD,iGACE,SAAW,CACZ,AACD,iGACE,UAAW,AACX,gBAAkB,CACnB,AACD,kGACE,QAAU,CACX,AACD,8GACE,cAAe,AACf,YAAa,AACb,mBAAoB,AACpB,eAAgB,AAChB,mBAAoB,AACpB,WAAe,AACf,WAAa,CACd,AACD,oHACE,mBAAoB,AACpB,WAAe,AACf,WAAa,CACd,AACD,uGACE,eAAiB,CAClB,AACD,yGACE,qBAAsB,AACtB,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,yBAA0B,AAC1B,kBAAmB,AACnB,gBAAkB,CACnB,AACD,0HACE,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,eAAoB,CACrB,AACD,sHACE,gBAAoB,AACpB,gBAAkB,CACnB,AACD,0HACE,SAAW,CACZ,AACD,4HACE,UAAW,AACX,gBAAkB,CACnB,AACD,qIACE,UAAW,AACX,yBAA0B,AAC1B,gBAAiB,AACjB,kBAAmB,AACnB,YAAiB,AACjB,WAAa,CACd,AACD,2IACE,YAAc,CACf,AACD,wPAEE,yBAA0B,AAC1B,kBAAmB,AACnB,gBAAiB,AACjB,SAAW,CACZ,AACD,oQAEE,aAAc,AACd,uBAAyB,CAC1B,AACD,kRAEE,cAAe,AACf,cAAgB,CACjB,AAMD,0kBAEE,cAAe,AACf,cAAgB,CACjB,AACD,iHACE,yBAA0B,AAC1B,mBAAoB,AACpB,WAAY,AACZ,gBAAiB,AACjB,kBAAmB,AACnB,eAAgB,AAChB,eAAiB,CAClB,AACD,wHACE,yBAA0B,AAC1B,iBAAkB,AAClB,UAAY,CACb,AACD,0HACE,mBAAoB,AACpB,oBAAsB,CACvB,AACD,wGACE,eAAoB,CACrB,AACD,gGACE,mBAAoB,AACpB,WAAY,AACZ,eAAgB,AAChB,cAAgB,CACjB,AACD,mGACE,2BAA6B,CAC9B,AACD,0GACE,gBAAkB,CACnB,AACD,wGACE,cAAiB,AACjB,gBAAiB,AACjB,gBAAkB,CACnB,AACD,oDACE,OAAQ,AACR,iBAAmB,CACpB,AACD,qEACE,WAAY,AACZ,wBAA0B,CAC3B,AACD,8EACE,gBAAiB,AACjB,gCAAiC,AACjC,wCAA+C,AAC/C,cAAe,AACf,cAAgB,CACjB,AACD,iFACE,iBAAkB,AAClB,gBAAkB,CACnB,AACD,8EACE,gCAAiC,AACjC,YAAa,AACb,kBAAmB,AACnB,gBAAkB,CACnB,AACD,sFACE,YAAa,AACb,mBAAoB,AACpB,iBAAmB,CACpB,AACD,wFACE,cAAe,AACf,cAAgB,CACjB,AACD,iFACE,iBAAkB,AAClB,cAAgB,CACjB,AACD,sFACE,eAAkB,CACnB,AACD,oGACE,SAAU,AACV,UAAW,AACX,eAAiB,CAClB,AACD,uGACE,qBAAsB,AACtB,iBAAkB,AAClB,eAAgB,AAChB,eAAoB,CACrB,AACD,kHACE,aAAe,CAChB,AACD,4FACE,aAAe,CAChB,AACD,0GACE,eAAgB,AAChB,6BAA8B,AAC9B,cAAe,AACf,gBAAkB,CACnB,AACD,wMAEE,cAAe,AACf,mBAAoB,AACpB,WAAY,AACZ,mBAAoB,AACpB,2BAA4B,AAC5B,eAAgB,AAChB,qBAAsB,AACtB,WAAY,AACZ,iBAAmB,CACpB,AACD,kNAME,wBAAyB,AACzB,mBAAoB,AACpB,0BAA4B,CAC7B,AACD,oGACE,WAAe,AACf,WAAa,CACd,AACD,0GACE,mBAAoB,AACpB,WAAe,AACf,WAAa,CACd,AACD,sGACE,aAAc,AACd,kBAAoB,CACrB,AACD,2GACE,gBAAkB,CACnB,AACD,8HACE,wBAAyB,AACzB,aAAc,AACd,yBAA0B,AAC1B,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,WAAY,AACZ,gBAAkB,CACnB,AACD,kTAEE,wBAAyB,AACzB,QAAU,CACX,AACD,wHACE,qBAAsB,AACtB,qBAAsB,AACtB,eAAgB,AAChB,gBAAkB,AAClB,cAAe,AACf,gBAAiB,AACjB,iBAAkB,AAClB,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,4HACE,WAAY,AACZ,kBAAoB,CACrB,AACD,gCACE,kBAAmB,AACnB,eAAiB,CAClB,AACD,mCACE,SAAY,AACZ,iBAAsB,AACtB,mBAAoB,AACpB,gCAAiC,AACjC,cAAe,AACf,eAAoB,CACrB,AACD,mCACE,SAAY,AACZ,UAAa,AACb,eAAiB,CAClB,AACD,sCACE,qBAAsB,AACtB,UAAW,AACX,gBAAiB,AACjB,kBAAoB,CACrB,AACD,oDACE,cAAkB,CACnB,AACD,2CACE,aAAe,CAChB,AACD,gDACE,WAAY,AACZ,UAAW,AACX,cAAe,AACf,cAAgB,CACjB,AACD,iDACE,WAAY,AACZ,cAAe,AACf,SAAW,CACZ,AAED,SACI,eAAgB,AAChB,gBAAiB,AACjB,MAAO,AACP,WAAY,AACZ,YAAa,AACb,OAAQ,AACR,YAAc,AACd,yBAA0B,AAC1B,sBAAuB,AACvB,UAAY,CACf,AAED,6BACE,mBAAuB,CACxB,AACD,wCACE,kBAAoB,CACrB,AACD,0CACE,UAAW,AACX,SAAU,AACV,gBAAiB,AACjB,eAAgB,AAChB,gBAAkB,AAClB,iBAAmB,CACpB,AACD,iDACE,eAAiB,CAClB,AACD,uDACE,oBAAsB,CACvB,AACD,yEACE,wBAAyB,AACzB,YAAc,CACf,AACD,sFACE,mBAAoB,AACpB,WAAY,AACZ,wBAA0B,CAC3B,AACD,4DACE,iBAAkB,AAClB,yBAA0B,AAC1B,iBAAkB,AAClB,kBAAmB,AACnB,eAAgB,AAChB,eAAgB,AAChB,iBAAmB,CACpB,AACD,mBACE,YAAa,AACb,aAAmB,AACnB,mBAAoB,AACpB,WAAY,AACZ,kBAAmB,AACnB,YAAa,AACb,eAAgB,AAChB,cAAgB,CACjB,AACD,mDAEE,YAAc,CACf,AACD,4BACE,kBAAoB,CACrB,AAED,yBACE,YAAc,CACf,AACD,oKAEE,uBAA4B,CAC7B,AACD,8DACE,mBAAoB,AACpB,yBAA0B,AAC1B,wBAA2B,CAC5B,AAED,uBACE,qBAAsB,AACtB,UAAY,CACb,AACD,iCACE,UAAW,AACX,YAAa,AACb,eAAgB,AAChB,aAAc,AACd,WAAa,CACd,AACD,2GAEE,cAAgB,CACjB,AAED,oDACE,+BAAiC,CAClC,AACD,2DACE,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,qBAAsB,AACtB,eAAgB,AAChB,+BAAgC,AAChC,aAAe,CAChB,AACD,sEACE,iBAAmB,CACpB,AACD,oFACE,eAAkB,CACnB,AACD,gEACE,4BAA8B,CAC/B,AACD,2DACE,YAAa,AACb,UAAW,AACX,aAAc,AACd,eAAgB,AAChB,mBAAoB,AACpB,WAAY,AACZ,2BAA6B,CAC9B,AACD,sEACE,iBAAmB,CACpB,AACD,oFACE,eAAkB,CACnB,AAED,qBACE,cAAgB,CACjB,AAED,aAIA,4BACI,iBAAmB,CACtB,AACD,8BACI,8BAAiC,CACpC,AACD,gCACI,kBAAoB,CACvB,AACD,8BACI,kBAAmB,AACnB,OAAQ,AACR,MAAO,AACP,UAAY,CACf,AACD,4EAEI,YAAa,AACb,iBAAmB,CACtB,AACD,0CACI,cAAsB,AACtB,iCAAkC,AAClC,gBAAkB,CACrB,AACD,0DACI,WAAY,AACZ,wBAA0B,CAC7B,AACD,sEACI,eAAgB,AAChB,gBAAkB,CACrB,AACD,2EACI,UAAW,AACX,eAAkB,CACrB,AACD,sFACI,cAAgB,CACnB,AACD,yFACI,SAAU,AACV,UAAW,AACX,eAAiB,CACpB,AACD,4FACI,qBAAsB,AACtB,iBAAkB,AAClB,eAAgB,AAChB,eAAoB,CACvB,AACD,uGACI,aAAe,CAClB,AACD,+EACI,UAAW,AACX,aAAe,CAClB,AACD,4EACI,iBAAkB,AAClB,aAAe,CAClB,AACD,iFACI,aAAe,CAClB,AACD,+FACI,eAAgB,AAChB,6BAA8B,AAC9B,cAAe,AACf,iBAAmB,CACtB,AACD,+FACI,gBAAiB,AACjB,cAAe,AACf,eAAgB,AAChB,eAAoB,CACvB,AACD,2EACI,iCAAkC,AAClC,aAAe,CAClB,CACA,AAED,wBACE,WAAY,AACZ,oBAAsB,CACvB,AACD,8BACE,YAAa,AACb,aAAc,AACd,qBAAuB,CACxB,AACD,mCACE,gBAAkB,CACnB,AACD,4CACE,WAAY,AACZ,eAAgB,AAChB,aAAc,AACd,yBAA0B,AAC1B,iBAAkB,AAClB,kBAAmB,AACnB,wCAA6C,AAC7C,sBAAuB,AACvB,aAAc,AACd,kBAAoB,CACrB,AACD,kDACE,YAAc,CACf,AACD,uDACE,iBAAkB,AAClB,eAAgB,AAChB,kBAAmB,AACnB,yBAA0B,AAC1B,WAAY,AACZ,mBAAoB,AACpB,cAAgB,CACjB,AACD,gEACE,eAAgB,AAChB,mBAAoB,AACpB,oBAAsB,CACvB","file":"frontend.css","sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#wepos-main {\n  padding: 20px;\n  display: flex;\n}\n#wepos-main .content-product {\n  flex: 2;\n  margin-right: 20px;\n}\n#wepos-main .content-product .top-panel {\n  margin-bottom: 20px;\n}\n#wepos-main .content-product .top-panel .search-bar {\n  width: 56%;\n  margin-right: 2%;\n  float: left;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box {\n  position: relative;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search {\n  width: 100%;\n  font-size: 14px;\n  height: 35px;\n  border: 1px solid #E9EDF0;\n  line-height: 10px;\n  padding-right: 120px;\n  padding-left: 32px;\n  box-sizing: border-box;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:focus {\n  outline: none;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon {\n  position: absolute;\n  left: 10px;\n  top: 8px;\n  color: #3B80F4;\n  height: 10px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon:before {\n  font-size: 14px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type {\n  position: absolute;\n  top: 0px;\n  right: 0;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a {\n  text-decoration: none;\n  font-size: 13px;\n  display: inline-block;\n  height: 35px;\n  padding: 10px;\n  box-sizing: border-box;\n  margin-left: -2px;\n  color: #BDC0C9;\n  line-height: 14px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a.active {\n  background: #3B80F4;\n  color: #fff;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:first-child {\n  border-left: 1px solid #E9EBED;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:last-child {\n  border-top-right-radius: 3px;\n  border-bottom-right-radius: 3px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result {\n  background: #fff;\n  position: absolute;\n  width: 100%;\n  box-sizing: border-box;\n  border: 1px solid #e9edf0;\n  border-top: none;\n  border-bottom-left-radius: 3px;\n  border-bottom-right-radius: 3px;\n  box-shadow: 0 30px 45px -10px rgba(0, 0, 0, 0.2);\n  z-index: 999;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .no-data-found {\n  padding: 20px;\n  text-align: center;\n  color: #758598;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul {\n  margin: 0;\n  padding: 0;\n  list-style-type: none;\n  max-height: 300px;\n  overflow: scroll;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a {\n  text-decoration: none;\n  color: #212121;\n  padding: 8px 10px;\n  display: block;\n  border-bottom: 1px solid #e9edf0;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span {\n  font-size: 11px;\n  color: #758598;\n  margin-left: 10px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action {\n  visibility: hidden;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action:before {\n  font-size: 12px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a:hover span.action {\n  visibility: visible;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li:last-child a {\n  border-bottom: none;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected {\n  background: #f6f7fb;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected a span.action {\n  visibility: visible;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession {\n  padding: 12px;\n  background: #F6F7FB;\n  color: #999DAC;\n  font-size: 11px;\n  border-top: 1px solid #ECEEF0;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term {\n  margin-right: 15px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term span:before {\n  font-size: 9px;\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term strong {\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-product .top-panel .category {\n  width: 26%;\n  margin-right: 2%;\n  float: left;\n  position: relative;\n}\n#wepos-main .content-product .top-panel .category select#product-category {\n  -moz-appearance: none;\n  /* Firefox */\n  -webkit-appearance: none;\n  /* Safari and Chrome */\n  appearance: none;\n  width: 100%;\n  border: 1px solid #E9EDF0;\n  background: #fff;\n  padding: 9px;\n  border-radius: 3px;\n  box-sizing: border-box;\n  font-size: 13px;\n  color: #758598;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-product .top-panel .category select#product-category:focus {\n  outline: none;\n}\n#wepos-main .content-product .top-panel .category span.select-arrow {\n  position: absolute;\n  top: 9px;\n  right: 9px;\n}\n#wepos-main .content-product .top-panel .category span.select-arrow:before {\n  font-size: 13px;\n  color: #758598;\n  margin-left: 0px;\n}\n#wepos-main .content-product .top-panel .toggle-view {\n  width: 14%;\n  float: left;\n  text-align: right;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon {\n  padding: 8px 10px;\n  background: #fff;\n  display: inline-block;\n  border: 1px solid #E9EDF0;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  color: #BDC0C9;\n  cursor: pointer;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon.active {\n  color: #3B80F4;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon:before {\n  margin-left: 0px;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon.list-view {\n  margin-right: -4px;\n  border-right: none;\n}\n#wepos-main .content-product .breadcrumb {\n  background: #fff;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  padding: 8px 12px;\n  position: relative;\n  margin-bottom: 20px;\n}\n#wepos-main .content-product .breadcrumb span.close-breadcrumb {\n  position: absolute;\n  top: 5px;\n  right: 15px;\n  color: #9b59b6;\n  cursor: pointer;\n}\n#wepos-main .content-product .breadcrumb span.close-breadcrumb:before {\n  font-size: 9px;\n}\n#wepos-main .content-product .breadcrumb ul {\n  margin: 0px;\n  padding: 0px;\n  line-height: 16px;\n}\n#wepos-main .content-product .breadcrumb ul li {\n  display: inline-block;\n}\n#wepos-main .content-product .breadcrumb ul li:after {\n  font-family: 'Flaticon';\n  content: '\\F10B';\n  font-size: 9px;\n  margin-left: 7px;\n  margin-right: 4px;\n  color: #758598;\n}\n#wepos-main .content-product .breadcrumb ul li:last-child:after {\n  content: '';\n}\n#wepos-main .content-product .breadcrumb ul li a {\n  font-size: 13px;\n  color: #9B59B6;\n  text-decoration: none;\n}\n#wepos-main .content-product .items-wrapper.grid {\n  display: flex;\n  flex-flow: row wrap;\n  justify-content: flex-start;\n  margin: 0 -10px;\n  overflow: auto;\n  height: 84.9vh;\n}\n#wepos-main .content-product .items-wrapper.grid .item {\n  flex-basis: 20%;\n  -ms-flex: auto;\n  box-sizing: border-box;\n  text-align: center;\n  padding: 0 10px;\n  margin-bottom: 20px;\n}\n#wepos-main .content-product .items-wrapper.grid .item:focus {\n  outline: none;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap {\n  background: #fff;\n  margin-bottom: -2px;\n  cursor: pointer;\n  position: relative;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap:focus {\n  outline: none;\n  -webkit-appearance: none;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap img {\n  width: 100%;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap .title {\n  padding: 10px 5px;\n  margin-top: -3px;\n  color: #212121;\n  font-size: 13px;\n  border-top: 1px solid #E9EDF0;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon {\n  position: absolute;\n  top: 0;\n  right: 0;\n  width: 100%;\n  height: 100%;\n  background: rgba(0, 0, 0, 0.3);\n  visibility: hidden;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon:before {\n  color: #fff;\n  font-weight: normal;\n  margin-top: 40%;\n  display: inline-block;\n  font-size: 35px;\n  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap:hover .add-product-icon {\n  visibility: visible;\n}\n#wepos-main .content-product .items-wrapper.list {\n  overflow: auto;\n  height: 84.9vh;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap {\n  background: #fff;\n  overflow: hidden;\n  position: relative;\n  margin-bottom: 20px;\n  cursor: pointer;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .img {\n  width: 80px;\n  height: 80px;\n  float: left;\n  margin-right: 20px;\n  border-right: 1px solid #F0F2F4;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .img img {\n  width: 100%;\n  height: 100%;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title {\n  float: left;\n  height: 100%;\n  font-size: 14px;\n  font-weight: bold;\n  position: absolute;\n  top: 40px;\n  left: 100px;\n  height: 44px;\n  margin-top: -22px;\n  max-width: 78%;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title .product-name {\n  margin-bottom: 8px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n  font-size: 13px;\n  font-weight: normal;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li {\n  display: inline-block;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .label {\n  color: #758598;\n  margin-right: 3px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .value del {\n  color: #9095a5;\n  margin-right: 3px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:after {\n  content: \"|\";\n  color: #e9ebed;\n  display: inline-block;\n  margin: 0px 7px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:last-child:after {\n  content: \"\";\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon {\n  position: absolute;\n  top: 35%;\n  right: 3%;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon:before {\n  color: #1A9ED4;\n  font-weight: normal;\n}\n#wepos-main .content-product .items-wrapper .product-loading {\n  display: block;\n  position: relative;\n  width: 100%;\n  padding: 10px;\n  text-align: center;\n  font-size: 16px;\n  color: #c6cace;\n}\n#wepos-main .content-product .items-wrapper .no-product-found {\n  text-align: center;\n  width: 100%;\n  vertical-align: middle;\n  margin: auto 0px;\n}\n#wepos-main .content-product .items-wrapper .no-product-found p {\n  font-size: 18px;\n  color: #c6cace;\n}\n#wepos-main .content-cart {\n  flex: 1.3;\n  height: 94.5vh;\n}\n#wepos-main .content-cart .top-panel {\n  display: flex;\n  margin-bottom: 20px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box {\n  flex: 7;\n  position: relative;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search {\n  width: 100%;\n  padding: 10px;\n  height: 33px;\n  font-size: 14px;\n  height: 35px;\n  border: 1px solid #E9EDF0;\n  line-height: 10px;\n  padding-left: 35px;\n  box-sizing: border-box;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:focus {\n  outline: none;\n}\n#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer {\n  position: absolute;\n  top: 9px;\n  right: 10px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer:before {\n  font-size: 15px;\n  color: #BDC0C9;\n  cursor: pointer;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result {\n  background: #fff;\n  position: absolute;\n  width: 100%;\n  z-index: 99;\n  box-sizing: border-box;\n  border: 1px solid #e9edf0;\n  border-top: none;\n  border-bottom-left-radius: 3px;\n  border-bottom-right-radius: 3px;\n  box-shadow: 0 30px 45px -10px rgba(0, 0, 0, 0.2);\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .no-data-found {\n  padding: 20px;\n  text-align: center;\n  color: #758598;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul {\n  margin: 0;\n  padding: 0;\n  list-style-type: none;\n  max-height: 300px;\n  overflow: scroll;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a {\n  text-decoration: none;\n  color: #212121;\n  padding: 8px 10px;\n  display: block;\n  border-bottom: 1px solid #e9edf0;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span {\n  font-size: 13px;\n  color: #758598;\n  margin-left: 10px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.avatar img {\n  width: 20px;\n  border-radius: 20px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.name {\n  font-size: 14px;\n  color: #212121;\n  margin-left: 6px;\n  line-height: 18px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action {\n  visibility: hidden;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action:before {\n  font-size: 12px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a:hover span.action {\n  visibility: visible;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li:last-child a {\n  border-bottom: none;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected {\n  background: #f6f7fb;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected a span.action {\n  visibility: visible;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession {\n  padding: 12px;\n  background: #F6F7FB;\n  color: #999DAC;\n  font-size: 11px;\n  border-top: 1px solid #ECEEF0;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term {\n  margin-right: 15px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term span:before {\n  font-size: 9px;\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term strong {\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box svg.customer-icon {\n  position: absolute;\n  left: 10px;\n  top: 8px;\n}\n#wepos-main .content-cart .top-panel .action {\n  flex: 1;\n}\n#wepos-main .content-cart .top-panel .action .more-options {\n  text-align: right;\n}\n#wepos-main .content-cart .top-panel .action .more-options span.more-icon:before {\n  font-size: 16px;\n  color: #BDC0C9;\n}\n#wepos-main .content-cart .cart-panel {\n  background: #fff;\n  height: 90%;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  position: relative;\n  display: flex;\n  flex-flow: column wrap;\n  border-radius: 3px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation {\n  width: 100%;\n  flex-grow: 0;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table {\n  width: 100%;\n  border-collapse: collapse;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr {\n  border-bottom: 1px solid #ECEEF0;\n  height: 35px;\n  display: table-row;\n  line-height: 20px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:first-child {\n  border-top: 1px solid #ECEEF0;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:last-child {\n  border-bottom: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:nth-child(odd) {\n  background: #FAFBFE;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td {\n  padding: 9px 12px;\n  font-weight: bold;\n  line-height: 20px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td:last-child {\n  text-align: right;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.label {\n  width: 45%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.price {\n  width: 45%;\n  text-align: right;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action {\n  width: 6%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:before {\n  font-size: 7px;\n  padding: 5px;\n  border-radius: 50px;\n  cursor: pointer;\n  background: #BDC0C9;\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:hover:before {\n  background: #E9485E;\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td {\n  text-align: left;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td a {\n  text-decoration: none;\n  color: #3B80F4;\n  font-size: 12px;\n  padding: 5px 8px;\n  background: #fff;\n  border: 1px solid #E0E5EA;\n  border-radius: 3px;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label span.name {\n  color: #758598;\n  font-size: 12px;\n  margin-left: 5px;\n  font-weight: normal;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label label {\n  font-weight: normal;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-name {\n  width: 15%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-amount {\n  width: 15%;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class {\n  width: 22%;\n  border: 1px solid #E9EBED;\n  background: #fff;\n  border-radius: 3px;\n  padding: 5px 5px;\n  height: 24px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class:focus {\n  outline: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text],\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number] {\n  border: 1px solid #ECEEF0;\n  border-radius: 3px;\n  padding: 5px 8px;\n  width: 50%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:focus,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:focus {\n  outline: none;\n  -webkit-appearance: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::placeholder,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:-ms-input-placeholder,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::-ms-input-placeholder,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button {\n  border: 1px solid #3B80F4;\n  background: #3B80F4;\n  color: #fff;\n  padding: 5px 8px;\n  border-radius: 3px;\n  cursor: pointer;\n  margin-left: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button.cancel {\n  border: 1px solid #afafaf;\n  background: #ffff;\n  color: #222;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button:disabled {\n  background: #76A2ED;\n  border-color: #76A2ED;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.note .note-text {\n  font-weight: normal;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now {\n  background: #1ABC9C;\n  color: #fff;\n  cursor: pointer;\n  font-size: 16px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td {\n  padding: 18px 10px 18px 12px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.amount {\n  text-align: right;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.icon {\n  padding: 0px 5px;\n  text-align: left;\n  line-height: 25px;\n}\n#wepos-main .content-cart .cart-panel .cart-content {\n  flex: 5;\n  overflow-x: scroll;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table {\n  width: 100%;\n  border-collapse: collapse;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr {\n  text-align: left;\n  border-bottom: 1px solid #ECEEF0;\n  box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.04);\n  color: #3B80F4;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr th {\n  padding: 8px 12px;\n  line-height: 19px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr {\n  border-bottom: 1px solid #eceef0;\n  height: 35px;\n  display: table-row;\n  line-height: 20px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item {\n  height: 55vh;\n  border-bottom: none;\n  text-align: center;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item p {\n  color: #C6CACE;\n  font-size: 17px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td {\n  padding: 8px 12px;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name {\n  font-weight: bold;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li {\n  display: inline-block;\n  margin-right: 5px;\n  font-size: 12px;\n  font-weight: normal;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li .attr_name {\n  color: #758598;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span {\n  display: block;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span.regular-price {\n  font-size: 11px;\n  text-decoration: line-through;\n  color: #9095A5;\n  padding-left: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span:before,\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before {\n  font-size: 8px;\n  background: #BDC0C9;\n  color: #fff;\n  border-radius: 50px;\n  border: .84px solid #BDC0C9;\n  cursor: pointer;\n  display: inline-block;\n  width: 20px;\n  text-align: center;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span.open:before,\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span.open:before {\n  -webkit-transform: rotate(90deg);\n  -moz-transform: rotate(90deg);\n  -o-transform: rotate(90deg);\n  -ms-transform: rotate(90deg);\n  transform: rotate(89deg);\n  background: #3b80f4;\n  border: .84px solid #3b80f4;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before {\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:hover:before {\n  background: #E9485E;\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td {\n  padding: 10px;\n  background: #F6F7FB;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span {\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number] {\n  -webkit-appearance: none;\n  outline: none;\n  border: 1px solid #ECEEF0;\n  padding: 5px;\n  font-size: 13px;\n  border-radius: 3px;\n  width: 60px;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-inner-spin-button,\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-outer-spin-button {\n  -webkit-appearance: none;\n  margin: 0;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a {\n  text-decoration: none;\n  display: inline-block;\n  font-size: 18px;\n  font-weight: bold;\n  color: #999DAC;\n  background: #fff;\n  margin-right: 3px;\n  width: 25px;\n  height: 23px;\n  text-align: center;\n  border-radius: 3px;\n  border: 1px solid #ECEEF0;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a.add {\n  color: #fff;\n  background: #3B80F4;\n}\n#wepos-main .wepos-help-wrapper {\n  padding: 15px 20px;\n  margin-top: 20px;\n}\n#wepos-main .wepos-help-wrapper h2 {\n  margin: 0px;\n  padding: 0px 0px 15px;\n  margin-bottom: 15px;\n  border-bottom: 1px solid #ECEEF0;\n  color: #C6CACE;\n  font-weight: normal;\n}\n#wepos-main .wepos-help-wrapper ul {\n  margin: 0px;\n  padding: 0px;\n  list-style: none;\n}\n#wepos-main .wepos-help-wrapper ul li {\n  display: inline-block;\n  width: 48%;\n  margin-right: 2%;\n  margin-bottom: 20px;\n}\n#wepos-main .wepos-help-wrapper ul li:nth-child(even) {\n  margin-right: 0px;\n}\n#wepos-main .wepos-help-wrapper ul li span {\n  display: block;\n}\n#wepos-main .wepos-help-wrapper ul li span.code {\n  float: left;\n  width: 40%;\n  color: #758598;\n  font-size: 15px;\n}\n#wepos-main .wepos-help-wrapper ul li span.title {\n  float: left;\n  display: block;\n  width: 58%;\n}\n\n.overlay {\n    position: fixed;\n    background: #000;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    left: 0;\n    opacity: 0.25;\n    filter: alpha(opacity=20);\n    background-color: #000;\n    z-index: 99;\n}\n\n.variation-attribute-wrapper {\n  padding: 10px 20px 0px;\n}\n.variation-attribute-wrapper .attribute {\n  margin-bottom: 15px;\n}\n.variation-attribute-wrapper .attribute p {\n  padding: 0;\n  margin: 0;\n  text-align: left;\n  font-size: 14px;\n  font-weight: bold;\n  margin-bottom: 5px;\n}\n.variation-attribute-wrapper .attribute .options {\n  text-align: left;\n}\n.variation-attribute-wrapper .attribute .options label {\n  display: inline-block;\n}\n.variation-attribute-wrapper .attribute .options label input[type=radio] {\n  -webkit-appearance: none;\n  display: none;\n}\n.variation-attribute-wrapper .attribute .options label input[type=radio]:checked + .box {\n  background: #1ABC9C;\n  color: #fff;\n  border: 1px solid #1ABC9C;\n}\n.variation-attribute-wrapper .attribute .options label .box {\n  padding: 6px 10px;\n  border: 1px solid #E0E5EA;\n  margin-right: 5px;\n  margin-bottom: 5px;\n  cursor: pointer;\n  font-size: 13px;\n  border-radius: 3px;\n}\n.add-variation-btn {\n  border: none;\n  padding: 10px 10px;\n  background: #3B80F4;\n  color: #fff;\n  border-radius: 3px;\n  width: 150px;\n  font-size: 14px;\n  cursor: pointer;\n}\n.add-variation-btn:focus,\n.add-variation-btn:active {\n  outline: none;\n}\n.add-variation-btn:disabled {\n  background: #76A2ED;\n}\n\n.wepos-new-customer-form {\n  padding: 20px;\n}\n.wepos-new-customer-form .customer-country.multiselect--active .multiselect__input,\n.wepos-new-customer-form .customer-state.multiselect--active .multiselect__input {\n  padding: 0px 3px !important;\n}\n.wepos-new-customer-form button.add-new-customer-btn:disabled {\n  background: #76a2ed;\n  border: 1px solid #76a2ed;\n  cursor: no-drop !important;\n}\n\n.wepos-fee-keypad-wrap {\n  display: inline-block;\n  float: left;\n}\n.fee-keypad .tooltip-inner input {\n  width: 87%;\n  border: none;\n  font-size: 20px;\n  padding: 13px;\n  height: 25px;\n}\n.fee-keypad .tooltip-inner button[data-action=\"percent\"],\n.fee-keypad .tooltip-inner button[data-action=\"flat\"] {\n  cursor: pointer;\n}\n\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] {\n  border-bottom: 1px solid #ECEEF0;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] button {\n  border: none;\n  font-size: 24px;\n  text-align: center;\n  width: 80px;\n  height: 60px;\n  padding: 5px 20px;\n  display: inline-block;\n  cursor: pointer;\n  border-right: 1px solid #ECEEF0;\n  color: #212121;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] button:last-child {\n  border-right: none;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] button span.keypord-icon:before {\n  font-weight: bold;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"]:first-child {\n  border-top: 1px solid #ECEEF0;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"2\"] button {\n  border: none;\n  width: 50%;\n  padding: 15px;\n  font-size: 14px;\n  background: #3B80F4;\n  color: #FFF;\n  border-right: 1px solid #fff;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"2\"] button:last-child {\n  border-right: none;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"2\"] button span.keypord-icon:before {\n  font-weight: bold;\n}\n\n#wepos-print-receipt {\n  display: inline;\n}\n\n@media print {\nbody * {\n    visibility: hidden;\n}\n.wepos-modal-content {\n    visibility: hidden;\n}\n.wepos-checkout-print-wrapper {\n    display: inline-block !important;\n}\n.wepos-checkout-print-wrapper * {\n    visibility: visible;\n}\n.wepos-checkout-print-wrapper {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n}\n.wepos-checkout-print-wrapper .header,\n  .wepos-checkout-print-wrapper .footer {\n    padding: 5px;\n    text-align: center;\n}\n.wepos-checkout-print-wrapper .order-info {\n    margin: 10px 0px 10px;\n    border-bottom: 1px dashed #b7b7b7;\n    padding: 10px 5px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary {\n    width: 100%;\n    border-collapse: collapse;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td {\n    font-size: 14px;\n    padding: 8px 10px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name {\n    width: 60%;\n    font-weight: bold;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute {\n    margin-top: 2px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li {\n    display: inline-block;\n    margin-right: 5px;\n    font-size: 12px;\n    font-weight: normal;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li .attr_name {\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.quantity {\n    width: 12%;\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price {\n    text-align: right;\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span {\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span.regular-price {\n    font-size: 12px;\n    text-decoration: line-through;\n    color: #9095A5;\n    padding-right: 3px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.cart-meta-data td .metadata {\n    margin-left: 6px;\n    color: #758598;\n    font-size: 13px;\n    font-weight: normal;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.divider {\n    border-bottom: 1px dashed #b7b7b7;\n    color: #b5b5b5;\n}\n}\n\n.wepos-custom-note-wrap {\n  float: left;\n  display: inline-block;\n}\n.customer-note .tooltip-inner {\n  width: 500px;\n  padding: 10px;\n  box-sizing: border-box;\n}\n.customer-note .tooltip-inner form {\n  text-align: right;\n}\n.customer-note .tooltip-inner form textarea {\n  width: 100%;\n  font-size: 13px;\n  padding: 10px;\n  border: 1px solid #E9EDF0;\n  line-height: 10px;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  box-sizing: border-box;\n  height: 100px;\n  margin-bottom: 10px;\n}\n.customer-note .tooltip-inner form textarea:focus {\n  outline: none;\n}\n.customer-note .tooltip-inner form button.add-note-btn {\n  padding: 6px 25px;\n  font-size: 14px;\n  border-radius: 3px;\n  border: 1px solid #3b80f4;\n  color: #fff;\n  background: #3b80f4;\n  cursor: pointer;\n}\n.customer-note .tooltip-inner form button.add-note-btn:disabled {\n  cursor: no-drop;\n  background: #76A2ED;\n  border-color: #76A2ED;\n}\n"]}
     1{"version":3,"sources":["frontend.css"],"names":[],"mappings":"AAiBA,YACE,aAAc,AACd,YAAc,CACf,AACD,6BACE,OAAQ,AACR,iBAAmB,CACpB,AACD,wCACE,kBAAoB,CACrB,AACD,oDACE,UAAW,AACX,gBAAiB,AACjB,UAAY,CACb,AACD,gEACE,iBAAmB,CACpB,AACD,qFACE,WAAY,AACZ,eAAgB,AAChB,YAAa,AACb,yBAA0B,AAC1B,iBAAkB,AAClB,oBAAqB,AACrB,kBAAmB,AACnB,sBAAuB,AACvB,kBAAmB,AACnB,uCAA6C,CAC9C,AACD,kGACE,cAAe,AACf,cAAgB,CACjB,AAKD,uNACE,cAAe,AACf,cAAgB,CACjB,AACD,2FACE,YAAc,CACf,AACD,iFACE,kBAAmB,AACnB,UAAW,AACX,QAAS,AACT,cAAe,AACf,WAAa,CACd,AACD,wFACE,cAAgB,CACjB,AACD,6EACE,kBAAmB,AACnB,MAAS,AACT,OAAS,CACV,AACD,+EACE,qBAAsB,AACtB,eAAgB,AAChB,qBAAsB,AACtB,YAAa,AACb,aAAc,AACd,sBAAuB,AACvB,iBAAkB,AAClB,cAAe,AACf,gBAAkB,CACnB,AACD,sFACE,mBAAoB,AACpB,UAAY,CACb,AACD,2FACE,6BAA+B,CAChC,AACD,0FACE,4BAA6B,AAC7B,8BAAgC,CACjC,AACD,+EACE,gBAAiB,AACjB,kBAAmB,AACnB,WAAY,AACZ,sBAAuB,AACvB,yBAA0B,AAC1B,gBAAiB,AACjB,8BAA+B,AAC/B,+BAAgC,AAChC,4CAAiD,AACjD,WAAa,CACd,AACD,8FACE,aAAc,AACd,kBAAmB,AACnB,aAAe,CAChB,AACD,kFACE,SAAU,AACV,UAAW,AACX,qBAAsB,AACtB,iBAAkB,AAClB,eAAiB,CAClB,AACD,uFACE,qBAAsB,AACtB,cAAe,AACf,iBAAkB,AAClB,cAAe,AACf,+BAAiC,CAClC,AACD,4FACE,eAAgB,AAChB,cAAe,AACf,gBAAkB,CACnB,AACD,mGACE,iBAAmB,CACpB,AACD,0GACE,cAAgB,CACjB,AACD,yGACE,kBAAoB,CACrB,AACD,kGACE,kBAAoB,CACrB,AACD,8FACE,kBAAoB,CACrB,AACD,4GACE,kBAAoB,CACrB,AACD,2FACE,aAAc,AACd,mBAAoB,AACpB,cAAe,AACf,eAAgB,AAChB,4BAA8B,CAC/B,AACD,qGACE,iBAAmB,CACpB,AACD,iHACE,cAAe,AACf,cAAe,AACf,gBAAkB,CACnB,AACD,4GACE,cAAe,AACf,gBAAkB,CACnB,AACD,kDACE,UAAW,AACX,gBAAiB,AACjB,WAAY,AACZ,iBAAmB,CACpB,AACD,0EACE,qBAAsB,AAEtB,wBAAyB,AAEzB,gBAAiB,AACjB,WAAY,AACZ,yBAA0B,AAC1B,gBAAiB,AACjB,YAAa,AACb,kBAAmB,AACnB,sBAAuB,AACvB,eAAgB,AAChB,cAAe,AACf,uCAA6C,CAC9C,AACD,gFACE,YAAc,CACf,AACD,oEACE,kBAAmB,AACnB,QAAS,AACT,SAAW,CACZ,AACD,2EACE,eAAgB,AAChB,cAAe,AACf,aAAiB,CAClB,AACD,qDACE,UAAW,AACX,WAAY,AACZ,gBAAkB,CACnB,AACD,kEACE,iBAAkB,AAClB,gBAAiB,AACjB,qBAAsB,AACtB,yBAA0B,AAC1B,wCAA6C,AAC7C,cAAe,AACf,cAAgB,CACjB,AACD,yEACE,aAAe,CAChB,AACD,yEACE,cAAiB,AACjB,cAAgB,CACjB,AACD,4EACE,kBAAmB,AACnB,iBAAmB,CACpB,AACD,yCACE,gBAAiB,AACjB,wCAA6C,AAC7C,iBAAkB,AAClB,kBAAmB,AACnB,kBAAoB,CACrB,AACD,+DACE,kBAAmB,AACnB,QAAS,AACT,WAAY,AACZ,cAAe,AACf,cAAgB,CACjB,AACD,sEACE,aAAe,CAChB,AACD,4CACE,SAAY,AACZ,UAAa,AACb,gBAAkB,CACnB,AACD,+CACE,oBAAsB,CACvB,AACD,qDACE,qBAAwB,AACxB,gBAAiB,AACjB,cAAe,AACf,gBAAiB,AACjB,iBAAkB,AAClB,aAAe,CAChB,AACD,gEACE,UAAY,CACb,AACD,iDACE,eAAgB,AAChB,cAAe,AACf,oBAAsB,CACvB,AACD,iDACE,aAAc,AACd,mBAAoB,AACpB,2BAA4B,AAC5B,eAAgB,AAChB,cAAe,AACf,aAAe,CAChB,AACD,uDACE,eAAgB,AAChB,cAAe,AACf,sBAAuB,AACvB,kBAAmB,AACnB,eAAgB,AAChB,kBAAoB,CACrB,AACD,6DACE,YAAc,CACf,AACD,kEACE,gBAAiB,AACjB,mBAAoB,AACpB,eAAgB,AAChB,iBAAmB,CACpB,AACD,wEACE,aAAc,AACd,uBAAyB,CAC1B,AACD,sEACE,UAAY,CACb,AACD,yEACE,iBAAkB,AAClB,gBAAiB,AACjB,cAAe,AACf,eAAgB,AAChB,4BAA8B,CAC/B,AACD,oFACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,WAAY,AACZ,YAAa,AACb,0BAA+B,AAC/B,iBAAmB,CACpB,AACD,2FACE,WAAY,AACZ,gBAAoB,AACpB,eAAgB,AAChB,qBAAsB,AACtB,eAAgB,AAChB,sCAA4C,CAC7C,AACD,0FACE,kBAAoB,CACrB,AACD,iDACE,cAAe,AACf,aAAe,CAChB,AACD,kEACE,gBAAiB,AACjB,gBAAiB,AACjB,kBAAmB,AACnB,mBAAoB,AACpB,eAAgB,AAChB,kBAAmB,AACnB,uCAA6C,CAC9C,AACD,uEACE,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,kBAAmB,AACnB,8BAAgC,CACjC,AACD,2EACE,WAAY,AACZ,WAAa,CACd,AACD,yEACE,WAAY,AACZ,YAAa,AACb,eAAgB,AAChB,gBAAkB,AAClB,kBAAmB,AACnB,SAAU,AACV,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,aAAe,CAChB,AACD,uFACE,iBAAmB,CACpB,AACD,iFACE,SAAU,AACV,UAAW,AACX,gBAAiB,AACjB,eAAgB,AAChB,eAAoB,CACrB,AACD,oFACE,oBAAsB,CACvB,AACD,2FACE,cAAe,AACf,gBAAkB,CACnB,AACD,+FACE,cAAe,AACf,gBAAkB,CACnB,AACD,0FACE,YAAa,AACb,cAAe,AACf,qBAAsB,AACtB,YAAgB,CACjB,AACD,qGACE,UAAY,CACb,AACD,oFACE,kBAAmB,AACnB,QAAS,AACT,QAAU,CACX,AACD,2FACE,cAAe,AACf,eAAoB,CACrB,AACD,6DACE,cAAe,AACf,kBAAmB,AACnB,WAAY,AACZ,aAAc,AACd,kBAAmB,AACnB,eAAgB,AAChB,aAAe,CAChB,AACD,8DACE,kBAAmB,AACnB,WAAY,AACZ,sBAAuB,AACvB,aAAiB,CAClB,AACD,gEACE,eAAgB,AAChB,aAAe,CAChB,AACD,0BACE,SAAU,AACV,aAAe,CAChB,AACD,qCACE,aAAc,AACd,kBAAoB,CACrB,AACD,0DACE,OAAQ,AACR,iBAAmB,CACpB,AACD,gFACE,WAAY,AACZ,aAAc,AACd,YAAa,AACb,eAAgB,AAChB,YAAa,AACb,yBAA0B,AAC1B,iBAAkB,AAClB,kBAAmB,AACnB,sBAAuB,AACvB,kBAAmB,AACnB,uCAA6C,CAC9C,AACD,6FACE,cAAe,AACf,cAAgB,CACjB,AAKD,6MACE,cAAe,AACf,cAAgB,CACjB,AACD,sFACE,YAAc,CACf,AACD,gFACE,kBAAmB,AACnB,QAAS,AACT,UAAY,CACb,AACD,uFACE,eAAgB,AAChB,cAAe,AACf,cAAgB,CACjB,AACD,yEACE,gBAAiB,AACjB,kBAAmB,AACnB,WAAY,AACZ,WAAY,AACZ,sBAAuB,AACvB,yBAA0B,AAC1B,gBAAiB,AACjB,8BAA+B,AAC/B,+BAAgC,AAChC,2CAAiD,CAClD,AACD,wFACE,aAAc,AACd,kBAAmB,AACnB,aAAe,CAChB,AACD,4EACE,SAAU,AACV,UAAW,AACX,qBAAsB,AACtB,iBAAkB,AAClB,eAAiB,CAClB,AACD,iFACE,qBAAsB,AACtB,cAAe,AACf,iBAAkB,AAClB,cAAe,AACf,+BAAiC,CAClC,AACD,sFACE,eAAgB,AAChB,cAAe,AACf,gBAAkB,CACnB,AACD,iGACE,WAAY,AACZ,kBAAoB,CACrB,AACD,2FACE,eAAgB,AAChB,cAAe,AACf,gBAAiB,AACjB,gBAAkB,CACnB,AACD,6FACE,iBAAmB,CACpB,AACD,oGACE,cAAgB,CACjB,AACD,mGACE,kBAAoB,CACrB,AACD,4FACE,kBAAoB,CACrB,AACD,wFACE,kBAAoB,CACrB,AACD,sGACE,kBAAoB,CACrB,AACD,qFACE,aAAc,AACd,mBAAoB,AACpB,cAAe,AACf,eAAgB,AAChB,4BAA8B,CAC/B,AACD,+FACE,iBAAmB,CACpB,AACD,2GACE,cAAe,AACf,cAAe,AACf,gBAAkB,CACnB,AACD,sGACE,cAAe,AACf,gBAAkB,CACnB,AACD,4EACE,kBAAmB,AACnB,UAAW,AACX,OAAS,CACV,AACD,6CACE,MAAQ,CACT,AACD,2DACE,gBAAkB,CACnB,AACD,iFACE,eAAgB,AAChB,aAAe,CAChB,AACD,sCACE,gBAAiB,AACjB,WAAY,AACZ,wCAA6C,AAC7C,kBAAmB,AACnB,aAAc,AACd,sBAAuB,AACvB,iBAAmB,CACpB,AACD,wDACE,WAAY,AACZ,WAAa,CACd,AACD,+EACE,WAAY,AACZ,wBAA0B,CAC3B,AACD,wFACE,gCAAiC,AACjC,YAAa,AACb,kBAAmB,AACnB,gBAAkB,CACnB,AACD,oGACE,4BAA8B,CAC/B,AACD,mGACE,kBAAoB,CACrB,AACD,uGACE,kBAAoB,CACrB,AACD,2FACE,iBAAkB,AAClB,gBAAkB,AAClB,gBAAkB,CACnB,AACD,sGACE,gBAAkB,CACnB,AACD,iGACE,SAAW,CACZ,AACD,iGACE,UAAW,AACX,gBAAkB,CACnB,AACD,kGACE,QAAU,CACX,AACD,8GACE,cAAe,AACf,YAAa,AACb,mBAAoB,AACpB,eAAgB,AAChB,mBAAoB,AACpB,WAAe,AACf,WAAa,CACd,AACD,oHACE,mBAAoB,AACpB,WAAe,AACf,WAAa,CACd,AACD,uGACE,eAAiB,CAClB,AACD,yGACE,qBAAsB,AACtB,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,yBAA0B,AAC1B,kBAAmB,AACnB,gBAAkB,CACnB,AACD,0HACE,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,eAAoB,CACrB,AACD,sHACE,gBAAoB,AACpB,gBAAkB,CACnB,AACD,0HACE,SAAW,CACZ,AACD,4HACE,UAAW,AACX,gBAAkB,CACnB,AACD,qIACE,UAAW,AACX,yBAA0B,AAC1B,gBAAiB,AACjB,kBAAmB,AACnB,YAAiB,AACjB,WAAa,CACd,AACD,2IACE,YAAc,CACf,AACD,wPAEE,yBAA0B,AAC1B,kBAAmB,AACnB,gBAAiB,AACjB,SAAW,CACZ,AACD,oQAEE,aAAc,AACd,uBAAyB,CAC1B,AACD,kRAEE,cAAe,AACf,cAAgB,CACjB,AAMD,0kBAEE,cAAe,AACf,cAAgB,CACjB,AACD,iHACE,yBAA0B,AAC1B,mBAAoB,AACpB,WAAY,AACZ,gBAAiB,AACjB,kBAAmB,AACnB,eAAgB,AAChB,eAAiB,CAClB,AACD,wHACE,yBAA0B,AAC1B,iBAAkB,AAClB,UAAY,CACb,AACD,0HACE,mBAAoB,AACpB,oBAAsB,CACvB,AACD,wGACE,eAAoB,CACrB,AACD,gGACE,mBAAoB,AACpB,WAAY,AACZ,eAAgB,AAChB,cAAgB,CACjB,AACD,mGACE,2BAA6B,CAC9B,AACD,0GACE,gBAAkB,CACnB,AACD,wGACE,cAAiB,AACjB,gBAAiB,AACjB,gBAAkB,CACnB,AACD,oDACE,OAAQ,AACR,iBAAmB,CACpB,AACD,qEACE,WAAY,AACZ,wBAA0B,CAC3B,AACD,8EACE,gBAAiB,AACjB,gCAAiC,AACjC,wCAA+C,AAC/C,cAAe,AACf,cAAgB,CACjB,AACD,iFACE,iBAAkB,AAClB,gBAAkB,CACnB,AACD,8EACE,gCAAiC,AACjC,YAAa,AACb,kBAAmB,AACnB,gBAAkB,CACnB,AACD,sFACE,YAAa,AACb,mBAAoB,AACpB,iBAAmB,CACpB,AACD,wFACE,cAAe,AACf,cAAgB,CACjB,AACD,iFACE,iBAAkB,AAClB,cAAgB,CACjB,AACD,sFACE,eAAkB,CACnB,AACD,oGACE,SAAU,AACV,UAAW,AACX,eAAiB,CAClB,AACD,uGACE,qBAAsB,AACtB,iBAAkB,AAClB,eAAgB,AAChB,eAAoB,CACrB,AACD,kHACE,aAAe,CAChB,AACD,4FACE,aAAe,CAChB,AACD,0GACE,eAAgB,AAChB,6BAA8B,AAC9B,cAAe,AACf,gBAAkB,CACnB,AACD,wMAEE,cAAe,AACf,mBAAoB,AACpB,WAAY,AACZ,mBAAoB,AACpB,2BAA4B,AAC5B,eAAgB,AAChB,qBAAsB,AACtB,WAAY,AACZ,iBAAmB,CACpB,AACD,kNAME,wBAAyB,AACzB,mBAAoB,AACpB,0BAA4B,CAC7B,AACD,oGACE,WAAe,AACf,WAAa,CACd,AACD,0GACE,mBAAoB,AACpB,WAAe,AACf,WAAa,CACd,AACD,sGACE,aAAc,AACd,kBAAoB,CACrB,AACD,2GACE,gBAAkB,CACnB,AACD,8HACE,wBAAyB,AACzB,aAAc,AACd,yBAA0B,AAC1B,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,WAAY,AACZ,gBAAkB,CACnB,AACD,kTAEE,wBAAyB,AACzB,QAAU,CACX,AACD,wHACE,qBAAsB,AACtB,qBAAsB,AACtB,eAAgB,AAChB,gBAAkB,AAClB,cAAe,AACf,gBAAiB,AACjB,iBAAkB,AAClB,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,4HACE,WAAY,AACZ,kBAAoB,CACrB,AACD,gCACE,kBAAmB,AACnB,eAAiB,CAClB,AACD,mCACE,SAAY,AACZ,iBAAsB,AACtB,mBAAoB,AACpB,gCAAiC,AACjC,cAAe,AACf,eAAoB,CACrB,AACD,mCACE,SAAY,AACZ,UAAa,AACb,eAAiB,CAClB,AACD,sCACE,qBAAsB,AACtB,UAAW,AACX,gBAAiB,AACjB,kBAAoB,CACrB,AACD,oDACE,cAAkB,CACnB,AACD,2CACE,aAAe,CAChB,AACD,gDACE,WAAY,AACZ,UAAW,AACX,cAAe,AACf,cAAgB,CACjB,AACD,iDACE,WAAY,AACZ,cAAe,AACf,SAAW,CACZ,AAED,SACI,eAAgB,AAChB,gBAAiB,AACjB,MAAO,AACP,WAAY,AACZ,YAAa,AACb,OAAQ,AACR,YAAc,AACd,yBAA0B,AAC1B,sBAAuB,AACvB,UAAY,CACf,AAED,6BACE,mBAAuB,CACxB,AACD,wCACE,kBAAoB,CACrB,AACD,0CACE,UAAW,AACX,SAAU,AACV,gBAAiB,AACjB,eAAgB,AAChB,gBAAkB,AAClB,iBAAmB,CACpB,AACD,iDACE,eAAiB,CAClB,AACD,uDACE,oBAAsB,CACvB,AACD,yEACE,wBAAyB,AACzB,YAAc,CACf,AACD,sFACE,mBAAoB,AACpB,WAAY,AACZ,wBAA0B,CAC3B,AACD,4DACE,iBAAkB,AAClB,yBAA0B,AAC1B,iBAAkB,AAClB,kBAAmB,AACnB,eAAgB,AAChB,eAAgB,AAChB,iBAAmB,CACpB,AACD,mBACE,YAAa,AACb,aAAmB,AACnB,mBAAoB,AACpB,WAAY,AACZ,kBAAmB,AACnB,YAAa,AACb,eAAgB,AAChB,cAAgB,CACjB,AACD,mDAEE,YAAc,CACf,AACD,4BACE,kBAAoB,CACrB,AAED,yBACE,YAAc,CACf,AACD,oKAEE,uBAA4B,CAC7B,AACD,8DACE,mBAAoB,AACpB,yBAA0B,AAC1B,wBAA2B,CAC5B,AAED,uBACE,qBAAsB,AACtB,UAAY,CACb,AACD,iCACE,UAAW,AACX,YAAa,AACb,eAAgB,AAChB,aAAc,AACd,WAAa,CACd,AACD,2GAEE,cAAgB,CACjB,AAED,oDACE,+BAAiC,CAClC,AACD,2DACE,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,qBAAsB,AACtB,eAAgB,AAChB,+BAAgC,AAChC,aAAe,CAChB,AACD,sEACE,iBAAmB,CACpB,AACD,oFACE,eAAkB,CACnB,AACD,gEACE,4BAA8B,CAC/B,AACD,2DACE,YAAa,AACb,UAAW,AACX,aAAc,AACd,eAAgB,AAChB,mBAAoB,AACpB,WAAY,AACZ,2BAA6B,CAC9B,AACD,sEACE,iBAAmB,CACpB,AACD,oFACE,eAAkB,CACnB,AAED,qBACE,cAAgB,CACjB,AAED,UACE,YAAc,CACf,AACD,aAIA,4BACI,iBAAmB,CACtB,AACD,8BACI,8BAAiC,CACpC,AACD,gCACI,kBAAoB,CACvB,AACD,8BACI,kBAAmB,AACnB,OAAQ,AACR,MAAO,AACP,UAAY,CACf,AACD,4EAEI,YAAa,AACb,iBAAmB,CACtB,AACD,0CACI,cAAsB,AACtB,iCAAkC,AAClC,gBAAkB,CACrB,AACD,0DACI,WAAY,AACZ,wBAA0B,CAC7B,AACD,sEACI,eAAgB,AAChB,gBAAkB,CACrB,AACD,2EACI,UAAW,AACX,eAAkB,CACrB,AACD,sFACI,cAAgB,CACnB,AACD,yFACI,SAAU,AACV,UAAW,AACX,eAAiB,CACpB,AACD,4FACI,qBAAsB,AACtB,iBAAkB,AAClB,eAAgB,AAChB,eAAoB,CACvB,AACD,uGACI,aAAe,CAClB,AACD,+EACI,UAAW,AACX,aAAe,CAClB,AACD,4EACI,iBAAkB,AAClB,aAAe,CAClB,AACD,iFACI,aAAe,CAClB,AACD,+FACI,eAAgB,AAChB,6BAA8B,AAC9B,cAAe,AACf,iBAAmB,CACtB,AACD,+FACI,gBAAiB,AACjB,cAAe,AACf,eAAgB,AAChB,eAAoB,CACvB,AACD,2EACI,iCAAkC,AAClC,aAAe,CAClB,CACA,AAED,wBACE,WAAY,AACZ,oBAAsB,CACvB,AACD,8BACE,YAAa,AACb,aAAc,AACd,qBAAuB,CACxB,AACD,mCACE,gBAAkB,CACnB,AACD,4CACE,WAAY,AACZ,eAAgB,AAChB,aAAc,AACd,yBAA0B,AAC1B,iBAAkB,AAClB,kBAAmB,AACnB,wCAA6C,AAC7C,sBAAuB,AACvB,aAAc,AACd,kBAAoB,CACrB,AACD,kDACE,YAAc,CACf,AACD,uDACE,iBAAkB,AAClB,eAAgB,AAChB,kBAAmB,AACnB,yBAA0B,AAC1B,WAAY,AACZ,mBAAoB,AACpB,cAAgB,CACjB,AACD,gEACE,eAAgB,AAChB,mBAAoB,AACpB,oBAAsB,CACvB","file":"frontend.css","sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#wepos-main {\n  padding: 20px;\n  display: flex;\n}\n#wepos-main .content-product {\n  flex: 2;\n  margin-right: 20px;\n}\n#wepos-main .content-product .top-panel {\n  margin-bottom: 20px;\n}\n#wepos-main .content-product .top-panel .search-bar {\n  width: 56%;\n  margin-right: 2%;\n  float: left;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box {\n  position: relative;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search {\n  width: 100%;\n  font-size: 14px;\n  height: 35px;\n  border: 1px solid #E9EDF0;\n  line-height: 10px;\n  padding-right: 120px;\n  padding-left: 32px;\n  box-sizing: border-box;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search::-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box input#product-search:focus {\n  outline: none;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon {\n  position: absolute;\n  left: 10px;\n  top: 8px;\n  color: #3B80F4;\n  height: 10px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box span.search-icon:before {\n  font-size: 14px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type {\n  position: absolute;\n  top: 0px;\n  right: 0;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a {\n  text-decoration: none;\n  font-size: 13px;\n  display: inline-block;\n  height: 35px;\n  padding: 10px;\n  box-sizing: border-box;\n  margin-left: -2px;\n  color: #BDC0C9;\n  line-height: 14px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a.active {\n  background: #3B80F4;\n  color: #fff;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:first-child {\n  border-left: 1px solid #E9EBED;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-type a:last-child {\n  border-top-right-radius: 3px;\n  border-bottom-right-radius: 3px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result {\n  background: #fff;\n  position: absolute;\n  width: 100%;\n  box-sizing: border-box;\n  border: 1px solid #e9edf0;\n  border-top: none;\n  border-bottom-left-radius: 3px;\n  border-bottom-right-radius: 3px;\n  box-shadow: 0 30px 45px -10px rgba(0, 0, 0, 0.2);\n  z-index: 999;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .no-data-found {\n  padding: 20px;\n  text-align: center;\n  color: #758598;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul {\n  margin: 0;\n  padding: 0;\n  list-style-type: none;\n  max-height: 300px;\n  overflow: scroll;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a {\n  text-decoration: none;\n  color: #212121;\n  padding: 8px 10px;\n  display: block;\n  border-bottom: 1px solid #e9edf0;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span {\n  font-size: 11px;\n  color: #758598;\n  margin-left: 10px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action {\n  visibility: hidden;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a span.action:before {\n  font-size: 12px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li a:hover span.action {\n  visibility: visible;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li:last-child a {\n  border-bottom: none;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected {\n  background: #f6f7fb;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result ul li.selected a span.action {\n  visibility: visible;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession {\n  padding: 12px;\n  background: #F6F7FB;\n  color: #999DAC;\n  font-size: 11px;\n  border-top: 1px solid #ECEEF0;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term {\n  margin-right: 15px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term span:before {\n  font-size: 9px;\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-product .top-panel .search-bar .search-box .search-result .suggession span.term strong {\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-product .top-panel .category {\n  width: 26%;\n  margin-right: 2%;\n  float: left;\n  position: relative;\n}\n#wepos-main .content-product .top-panel .category select#product-category {\n  -moz-appearance: none;\n  /* Firefox */\n  -webkit-appearance: none;\n  /* Safari and Chrome */\n  appearance: none;\n  width: 100%;\n  border: 1px solid #E9EDF0;\n  background: #fff;\n  padding: 9px;\n  border-radius: 3px;\n  box-sizing: border-box;\n  font-size: 13px;\n  color: #758598;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-product .top-panel .category select#product-category:focus {\n  outline: none;\n}\n#wepos-main .content-product .top-panel .category span.select-arrow {\n  position: absolute;\n  top: 9px;\n  right: 9px;\n}\n#wepos-main .content-product .top-panel .category span.select-arrow:before {\n  font-size: 13px;\n  color: #758598;\n  margin-left: 0px;\n}\n#wepos-main .content-product .top-panel .toggle-view {\n  width: 14%;\n  float: left;\n  text-align: right;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon {\n  padding: 8px 10px;\n  background: #fff;\n  display: inline-block;\n  border: 1px solid #E9EDF0;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  color: #BDC0C9;\n  cursor: pointer;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon.active {\n  color: #3B80F4;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon:before {\n  margin-left: 0px;\n  font-size: 13px;\n}\n#wepos-main .content-product .top-panel .toggle-view .toggle-icon.list-view {\n  margin-right: -4px;\n  border-right: none;\n}\n#wepos-main .content-product .breadcrumb {\n  background: #fff;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  padding: 8px 12px;\n  position: relative;\n  margin-bottom: 20px;\n}\n#wepos-main .content-product .breadcrumb span.close-breadcrumb {\n  position: absolute;\n  top: 5px;\n  right: 15px;\n  color: #9b59b6;\n  cursor: pointer;\n}\n#wepos-main .content-product .breadcrumb span.close-breadcrumb:before {\n  font-size: 9px;\n}\n#wepos-main .content-product .breadcrumb ul {\n  margin: 0px;\n  padding: 0px;\n  line-height: 16px;\n}\n#wepos-main .content-product .breadcrumb ul li {\n  display: inline-block;\n}\n#wepos-main .content-product .breadcrumb ul li:after {\n  font-family: 'Flaticon';\n  content: '\\F10B';\n  font-size: 9px;\n  margin-left: 7px;\n  margin-right: 4px;\n  color: #758598;\n}\n#wepos-main .content-product .breadcrumb ul li:last-child:after {\n  content: '';\n}\n#wepos-main .content-product .breadcrumb ul li a {\n  font-size: 13px;\n  color: #9B59B6;\n  text-decoration: none;\n}\n#wepos-main .content-product .items-wrapper.grid {\n  display: flex;\n  flex-flow: row wrap;\n  justify-content: flex-start;\n  margin: 0 -10px;\n  overflow: auto;\n  height: 84.9vh;\n}\n#wepos-main .content-product .items-wrapper.grid .item {\n  flex-basis: 20%;\n  -ms-flex: auto;\n  box-sizing: border-box;\n  text-align: center;\n  padding: 0 10px;\n  margin-bottom: 20px;\n}\n#wepos-main .content-product .items-wrapper.grid .item:focus {\n  outline: none;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap {\n  background: #fff;\n  margin-bottom: -2px;\n  cursor: pointer;\n  position: relative;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap:focus {\n  outline: none;\n  -webkit-appearance: none;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap img {\n  width: 100%;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap .title {\n  padding: 10px 5px;\n  margin-top: -3px;\n  color: #212121;\n  font-size: 13px;\n  border-top: 1px solid #E9EDF0;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon {\n  position: absolute;\n  top: 0;\n  right: 0;\n  width: 100%;\n  height: 100%;\n  background: rgba(0, 0, 0, 0.3);\n  visibility: hidden;\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap .add-product-icon:before {\n  color: #fff;\n  font-weight: normal;\n  margin-top: 40%;\n  display: inline-block;\n  font-size: 35px;\n  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);\n}\n#wepos-main .content-product .items-wrapper.grid .item .item-wrap:hover .add-product-icon {\n  visibility: visible;\n}\n#wepos-main .content-product .items-wrapper.list {\n  overflow: auto;\n  height: 84.9vh;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap {\n  background: #fff;\n  overflow: hidden;\n  position: relative;\n  margin-bottom: 20px;\n  cursor: pointer;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .img {\n  width: 80px;\n  height: 80px;\n  float: left;\n  margin-right: 20px;\n  border-right: 1px solid #F0F2F4;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .img img {\n  width: 100%;\n  height: 100%;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title {\n  float: left;\n  height: 100%;\n  font-size: 14px;\n  font-weight: bold;\n  position: absolute;\n  top: 40px;\n  left: 100px;\n  height: 44px;\n  margin-top: -22px;\n  max-width: 78%;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title .product-name {\n  margin-bottom: 8px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n  font-size: 13px;\n  font-weight: normal;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li {\n  display: inline-block;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .label {\n  color: #758598;\n  margin-right: 3px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li .value del {\n  color: #9095a5;\n  margin-right: 3px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:after {\n  content: \"|\";\n  color: #e9ebed;\n  display: inline-block;\n  margin: 0px 7px;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .title ul.meta li:last-child:after {\n  content: \"\";\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon {\n  position: absolute;\n  top: 35%;\n  right: 3%;\n}\n#wepos-main .content-product .items-wrapper.list .item .item-wrap .add-product-icon:before {\n  color: #1A9ED4;\n  font-weight: normal;\n}\n#wepos-main .content-product .items-wrapper .product-loading {\n  display: block;\n  position: relative;\n  width: 100%;\n  padding: 10px;\n  text-align: center;\n  font-size: 16px;\n  color: #c6cace;\n}\n#wepos-main .content-product .items-wrapper .no-product-found {\n  text-align: center;\n  width: 100%;\n  vertical-align: middle;\n  margin: auto 0px;\n}\n#wepos-main .content-product .items-wrapper .no-product-found p {\n  font-size: 18px;\n  color: #c6cace;\n}\n#wepos-main .content-cart {\n  flex: 1.3;\n  height: 94.5vh;\n}\n#wepos-main .content-cart .top-panel {\n  display: flex;\n  margin-bottom: 20px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box {\n  flex: 7;\n  position: relative;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search {\n  width: 100%;\n  padding: 10px;\n  height: 33px;\n  font-size: 14px;\n  height: 35px;\n  border: 1px solid #E9EDF0;\n  line-height: 10px;\n  padding-left: 35px;\n  box-sizing: border-box;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search::-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box input#customer-search:focus {\n  outline: none;\n}\n#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer {\n  position: absolute;\n  top: 9px;\n  right: 10px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box span.add-new-customer:before {\n  font-size: 15px;\n  color: #BDC0C9;\n  cursor: pointer;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result {\n  background: #fff;\n  position: absolute;\n  width: 100%;\n  z-index: 99;\n  box-sizing: border-box;\n  border: 1px solid #e9edf0;\n  border-top: none;\n  border-bottom-left-radius: 3px;\n  border-bottom-right-radius: 3px;\n  box-shadow: 0 30px 45px -10px rgba(0, 0, 0, 0.2);\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .no-data-found {\n  padding: 20px;\n  text-align: center;\n  color: #758598;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul {\n  margin: 0;\n  padding: 0;\n  list-style-type: none;\n  max-height: 300px;\n  overflow: scroll;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a {\n  text-decoration: none;\n  color: #212121;\n  padding: 8px 10px;\n  display: block;\n  border-bottom: 1px solid #e9edf0;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span {\n  font-size: 13px;\n  color: #758598;\n  margin-left: 10px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.avatar img {\n  width: 20px;\n  border-radius: 20px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.name {\n  font-size: 14px;\n  color: #212121;\n  margin-left: 6px;\n  line-height: 18px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action {\n  visibility: hidden;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a span.action:before {\n  font-size: 12px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li a:hover span.action {\n  visibility: visible;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li:last-child a {\n  border-bottom: none;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected {\n  background: #f6f7fb;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result ul li.selected a span.action {\n  visibility: visible;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession {\n  padding: 12px;\n  background: #F6F7FB;\n  color: #999DAC;\n  font-size: 11px;\n  border-top: 1px solid #ECEEF0;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term {\n  margin-right: 15px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term span:before {\n  font-size: 9px;\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box .search-result .suggession span.term strong {\n  color: #5D5D5D;\n  margin-right: 2px;\n}\n#wepos-main .content-cart .top-panel .customer-search-box svg.customer-icon {\n  position: absolute;\n  left: 10px;\n  top: 8px;\n}\n#wepos-main .content-cart .top-panel .action {\n  flex: 1;\n}\n#wepos-main .content-cart .top-panel .action .more-options {\n  text-align: right;\n}\n#wepos-main .content-cart .top-panel .action .more-options span.more-icon:before {\n  font-size: 16px;\n  color: #BDC0C9;\n}\n#wepos-main .content-cart .cart-panel {\n  background: #fff;\n  height: 90%;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  position: relative;\n  display: flex;\n  flex-flow: column wrap;\n  border-radius: 3px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation {\n  width: 100%;\n  flex-grow: 0;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table {\n  width: 100%;\n  border-collapse: collapse;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr {\n  border-bottom: 1px solid #ECEEF0;\n  height: 35px;\n  display: table-row;\n  line-height: 20px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:first-child {\n  border-top: 1px solid #ECEEF0;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:last-child {\n  border-bottom: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr:nth-child(odd) {\n  background: #FAFBFE;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td {\n  padding: 9px 12px;\n  font-weight: bold;\n  line-height: 20px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td:last-child {\n  text-align: right;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.label {\n  width: 45%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.price {\n  width: 45%;\n  text-align: right;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action {\n  width: 6%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:before {\n  font-size: 7px;\n  padding: 5px;\n  border-radius: 50px;\n  cursor: pointer;\n  background: #BDC0C9;\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr td.action span:hover:before {\n  background: #E9485E;\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td {\n  text-align: left;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-action td a {\n  text-decoration: none;\n  color: #3B80F4;\n  font-size: 12px;\n  padding: 5px 8px;\n  background: #fff;\n  border: 1px solid #E0E5EA;\n  border-radius: 3px;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label span.name {\n  color: #758598;\n  font-size: 12px;\n  margin-left: 5px;\n  font-weight: normal;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label label {\n  font-weight: normal;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-name {\n  width: 15%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label .fee-amount {\n  width: 15%;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class {\n  width: 22%;\n  border: 1px solid #E9EBED;\n  background: #fff;\n  border-radius: 3px;\n  padding: 5px 5px;\n  height: 24px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td.label select.fee-tax-class:focus {\n  outline: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text],\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number] {\n  border: 1px solid #ECEEF0;\n  border-radius: 3px;\n  padding: 5px 8px;\n  width: 50%;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:focus,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:focus {\n  outline: none;\n  -webkit-appearance: none;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::placeholder,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]:-ms-input-placeholder,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]:-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=text]::-ms-input-placeholder,\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td input[type=number]::-ms-input-placeholder {\n  color: #999DAC;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button {\n  border: 1px solid #3B80F4;\n  background: #3B80F4;\n  color: #fff;\n  padding: 5px 8px;\n  border-radius: 3px;\n  cursor: pointer;\n  margin-left: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button.cancel {\n  border: 1px solid #afafaf;\n  background: #ffff;\n  color: #222;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.cart-meta-data td button:disabled {\n  background: #76A2ED;\n  border-color: #76A2ED;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.note .note-text {\n  font-weight: normal;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now {\n  background: #1ABC9C;\n  color: #fff;\n  cursor: pointer;\n  font-size: 16px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td {\n  padding: 18px 10px 18px 12px;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.amount {\n  text-align: right;\n}\n#wepos-main .content-cart .cart-panel .cart-calculation table.cart-total-table tbody tr.pay-now td.icon {\n  padding: 0px 5px;\n  text-align: left;\n  line-height: 25px;\n}\n#wepos-main .content-cart .cart-panel .cart-content {\n  flex: 5;\n  overflow-x: scroll;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table {\n  width: 100%;\n  border-collapse: collapse;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr {\n  text-align: left;\n  border-bottom: 1px solid #ECEEF0;\n  box-shadow: 0 3px 15px 0px rgba(0, 0, 0, 0.04);\n  color: #3B80F4;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table thead tr th {\n  padding: 8px 12px;\n  line-height: 19px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr {\n  border-bottom: 1px solid #eceef0;\n  height: 35px;\n  display: table-row;\n  line-height: 20px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item {\n  height: 55vh;\n  border-bottom: none;\n  text-align: center;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.no-item p {\n  color: #C6CACE;\n  font-size: 17px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td {\n  padding: 8px 12px;\n  font-size: 13px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name {\n  font-weight: bold;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li {\n  display: inline-block;\n  margin-right: 5px;\n  font-size: 12px;\n  font-weight: normal;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.name .attribute ul li .attr_name {\n  color: #758598;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span {\n  display: block;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.price span.regular-price {\n  font-size: 11px;\n  text-decoration: line-through;\n  color: #9095A5;\n  padding-left: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span:before,\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before {\n  font-size: 8px;\n  background: #BDC0C9;\n  color: #fff;\n  border-radius: 50px;\n  border: .84px solid #BDC0C9;\n  cursor: pointer;\n  display: inline-block;\n  width: 20px;\n  text-align: center;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.action span.open:before,\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span.open:before {\n  -webkit-transform: rotate(90deg);\n  -moz-transform: rotate(90deg);\n  -o-transform: rotate(90deg);\n  -ms-transform: rotate(90deg);\n  transform: rotate(89deg);\n  background: #3b80f4;\n  border: .84px solid #3b80f4;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:before {\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr td.remove span:hover:before {\n  background: #E9485E;\n  color: #FFFFFF;\n  border: none;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td {\n  padding: 10px;\n  background: #F6F7FB;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span {\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number] {\n  -webkit-appearance: none;\n  outline: none;\n  border: 1px solid #ECEEF0;\n  padding: 5px;\n  font-size: 13px;\n  border-radius: 3px;\n  width: 60px;\n  margin-right: 5px;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-inner-spin-button,\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span input[type=number]::-webkit-outer-spin-button {\n  -webkit-appearance: none;\n  margin: 0;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a {\n  text-decoration: none;\n  display: inline-block;\n  font-size: 18px;\n  font-weight: bold;\n  color: #999DAC;\n  background: #fff;\n  margin-right: 3px;\n  width: 25px;\n  height: 23px;\n  text-align: center;\n  border-radius: 3px;\n  border: 1px solid #ECEEF0;\n}\n#wepos-main .content-cart .cart-panel .cart-content table.cart-table tbody tr.update-quantity-wrap td span.qty-action a.add {\n  color: #fff;\n  background: #3B80F4;\n}\n#wepos-main .wepos-help-wrapper {\n  padding: 15px 20px;\n  margin-top: 20px;\n}\n#wepos-main .wepos-help-wrapper h2 {\n  margin: 0px;\n  padding: 0px 0px 15px;\n  margin-bottom: 15px;\n  border-bottom: 1px solid #ECEEF0;\n  color: #C6CACE;\n  font-weight: normal;\n}\n#wepos-main .wepos-help-wrapper ul {\n  margin: 0px;\n  padding: 0px;\n  list-style: none;\n}\n#wepos-main .wepos-help-wrapper ul li {\n  display: inline-block;\n  width: 48%;\n  margin-right: 2%;\n  margin-bottom: 20px;\n}\n#wepos-main .wepos-help-wrapper ul li:nth-child(even) {\n  margin-right: 0px;\n}\n#wepos-main .wepos-help-wrapper ul li span {\n  display: block;\n}\n#wepos-main .wepos-help-wrapper ul li span.code {\n  float: left;\n  width: 40%;\n  color: #758598;\n  font-size: 15px;\n}\n#wepos-main .wepos-help-wrapper ul li span.title {\n  float: left;\n  display: block;\n  width: 58%;\n}\n\n.overlay {\n    position: fixed;\n    background: #000;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    left: 0;\n    opacity: 0.25;\n    filter: alpha(opacity=20);\n    background-color: #000;\n    z-index: 99;\n}\n\n.variation-attribute-wrapper {\n  padding: 10px 20px 0px;\n}\n.variation-attribute-wrapper .attribute {\n  margin-bottom: 15px;\n}\n.variation-attribute-wrapper .attribute p {\n  padding: 0;\n  margin: 0;\n  text-align: left;\n  font-size: 14px;\n  font-weight: bold;\n  margin-bottom: 5px;\n}\n.variation-attribute-wrapper .attribute .options {\n  text-align: left;\n}\n.variation-attribute-wrapper .attribute .options label {\n  display: inline-block;\n}\n.variation-attribute-wrapper .attribute .options label input[type=radio] {\n  -webkit-appearance: none;\n  display: none;\n}\n.variation-attribute-wrapper .attribute .options label input[type=radio]:checked + .box {\n  background: #1ABC9C;\n  color: #fff;\n  border: 1px solid #1ABC9C;\n}\n.variation-attribute-wrapper .attribute .options label .box {\n  padding: 6px 10px;\n  border: 1px solid #E0E5EA;\n  margin-right: 5px;\n  margin-bottom: 5px;\n  cursor: pointer;\n  font-size: 13px;\n  border-radius: 3px;\n}\n.add-variation-btn {\n  border: none;\n  padding: 10px 10px;\n  background: #3B80F4;\n  color: #fff;\n  border-radius: 3px;\n  width: 150px;\n  font-size: 14px;\n  cursor: pointer;\n}\n.add-variation-btn:focus,\n.add-variation-btn:active {\n  outline: none;\n}\n.add-variation-btn:disabled {\n  background: #76A2ED;\n}\n\n.wepos-new-customer-form {\n  padding: 20px;\n}\n.wepos-new-customer-form .customer-country.multiselect--active .multiselect__input,\n.wepos-new-customer-form .customer-state.multiselect--active .multiselect__input {\n  padding: 0px 3px !important;\n}\n.wepos-new-customer-form button.add-new-customer-btn:disabled {\n  background: #76a2ed;\n  border: 1px solid #76a2ed;\n  cursor: no-drop !important;\n}\n\n.wepos-fee-keypad-wrap {\n  display: inline-block;\n  float: left;\n}\n.fee-keypad .tooltip-inner input {\n  width: 87%;\n  border: none;\n  font-size: 20px;\n  padding: 13px;\n  height: 25px;\n}\n.fee-keypad .tooltip-inner button[data-action=\"percent\"],\n.fee-keypad .tooltip-inner button[data-action=\"flat\"] {\n  cursor: pointer;\n}\n\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] {\n  border-bottom: 1px solid #ECEEF0;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] button {\n  border: none;\n  font-size: 24px;\n  text-align: center;\n  width: 80px;\n  height: 60px;\n  padding: 5px 20px;\n  display: inline-block;\n  cursor: pointer;\n  border-right: 1px solid #ECEEF0;\n  color: #212121;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] button:last-child {\n  border-right: none;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"] button span.keypord-icon:before {\n  font-weight: bold;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"3\"]:first-child {\n  border-top: 1px solid #ECEEF0;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"2\"] button {\n  border: none;\n  width: 50%;\n  padding: 15px;\n  font-size: 14px;\n  background: #3B80F4;\n  color: #FFF;\n  border-right: 1px solid #fff;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"2\"] button:last-child {\n  border-right: none;\n}\naside.vue-keyboard .vue-keyboard-row[data-keys=\"2\"] button span.keypord-icon:before {\n  font-weight: bold;\n}\n\n#wepos-print-receipt {\n  display: inline;\n}\n\n[v-cloak] {\n  display: none;\n}\n@media print {\nbody * {\n    visibility: hidden;\n}\n.wepos-modal-content {\n    visibility: hidden;\n}\n.wepos-checkout-print-wrapper {\n    display: inline-block !important;\n}\n.wepos-checkout-print-wrapper * {\n    visibility: visible;\n}\n.wepos-checkout-print-wrapper {\n    position: absolute;\n    left: 0;\n    top: 0;\n    width: 100%;\n}\n.wepos-checkout-print-wrapper .header,\n  .wepos-checkout-print-wrapper .footer {\n    padding: 5px;\n    text-align: center;\n}\n.wepos-checkout-print-wrapper .order-info {\n    margin: 10px 0px 10px;\n    border-bottom: 1px dashed #b7b7b7;\n    padding: 10px 5px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary {\n    width: 100%;\n    border-collapse: collapse;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td {\n    font-size: 14px;\n    padding: 8px 10px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name {\n    width: 60%;\n    font-weight: bold;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute {\n    margin-top: 2px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul {\n    margin: 0;\n    padding: 0;\n    list-style: none;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li {\n    display: inline-block;\n    margin-right: 5px;\n    font-size: 12px;\n    font-weight: normal;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.name .attribute ul li .attr_name {\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.quantity {\n    width: 12%;\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price {\n    text-align: right;\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span {\n    color: #758598;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr td.price span.regular-price {\n    font-size: 12px;\n    text-decoration: line-through;\n    color: #9095A5;\n    padding-right: 3px;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.cart-meta-data td .metadata {\n    margin-left: 6px;\n    color: #758598;\n    font-size: 13px;\n    font-weight: normal;\n}\n.wepos-checkout-print-wrapper .content table.sale-summary tbody tr.divider {\n    border-bottom: 1px dashed #b7b7b7;\n    color: #b5b5b5;\n}\n}\n\n.wepos-custom-note-wrap {\n  float: left;\n  display: inline-block;\n}\n.customer-note .tooltip-inner {\n  width: 500px;\n  padding: 10px;\n  box-sizing: border-box;\n}\n.customer-note .tooltip-inner form {\n  text-align: right;\n}\n.customer-note .tooltip-inner form textarea {\n  width: 100%;\n  font-size: 13px;\n  padding: 10px;\n  border: 1px solid #E9EDF0;\n  line-height: 10px;\n  border-radius: 3px;\n  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.02);\n  box-sizing: border-box;\n  height: 100px;\n  margin-bottom: 10px;\n}\n.customer-note .tooltip-inner form textarea:focus {\n  outline: none;\n}\n.customer-note .tooltip-inner form button.add-note-btn {\n  padding: 6px 25px;\n  font-size: 14px;\n  border-radius: 3px;\n  border: 1px solid #3b80f4;\n  color: #fff;\n  background: #3b80f4;\n  cursor: pointer;\n}\n.customer-note .tooltip-inner form button.add-note-btn:disabled {\n  cursor: no-drop;\n  background: #76A2ED;\n  border-color: #76A2ED;\n}\n"]}
  • wepos/trunk/assets/js/admin.js

    r2128862 r2162804  
    17081708    namespaced: true,
    17091709    state: {
     1710        settings: {},
     1711        availableTax: {},
    17101712        cartdata: {
    17111713            line_items: [],
     
    17451747            return discount;
    17461748        },
     1749        getTotalLineTax: function getTotalLineTax(state) {
     1750            var self = this,
     1751                taxLineTotal = 0;
     1752
     1753            weLo_.forEach(state.cartdata.line_items, function (item, key) {
     1754                taxLineTotal += Math.abs(item.tax_amount * item.quantity);
     1755            });
     1756
     1757            return taxLineTotal;
     1758        },
    17471759        getTotalTax: function getTotalTax(state) {
    17481760            var self = this,
     
    17531765            });
    17541766
     1767            if (state.settings.woo_tax != undefined && state.settings.woo_tax.wc_tax_display_cart == 'incl') {
     1768                taxLineTotal = 0;
     1769            }
     1770
    17551771            weLo_.forEach(state.cartdata.fee_lines, function (item, key) {
    17561772                if (item.type == 'fee') {
    17571773                    if (item.tax_status == 'taxable') {
    17581774                        var itemTaxClass = item.tax_class === '' ? 'standard' : item.tax_class;
    1759                         var taxClass = weLo_.find(self.availableTax, { 'class': itemTaxClass.toString() });
     1775                        var taxClass = weLo_.find(state.availableTax, { 'class': itemTaxClass.toString() });
    17601776                        if (taxClass !== undefined) {
    17611777                            taxFeeTotal += Math.abs(item.total) * Math.abs(taxClass.rate) / 100;
     
    17751791    },
    17761792    mutations: {
     1793        setSettings: function setSettings(state, settings) {
     1794            state.settings = settings;
     1795        },
     1796        setAvailableTax: function setAvailableTax(state, availableTax) {
     1797            state.availableTax = availableTax;
     1798        },
    17771799        setCartData: function setCartData(state, cartdata) {
    17781800            if (weLo_.isEmpty(cartdata)) {
     
    19061928    },
    19071929    actions: {
     1930        setSettingsAction: function setSettingsAction(context, settings) {
     1931            context.commit('setSettings', settings);
     1932        },
     1933        setAvailableTaxAction: function setAvailableTaxAction(context, availableTax) {
     1934            context.commit('setAvailableTax', availableTax);
     1935        },
    19081936        setCartDataAction: function setCartDataAction(context, cartdata) {
    19091937            context.commit('setCartData', cartdata);
  • wepos/trunk/assets/js/admin.min.js

    r2128862 r2162804  
    1 pluginWebpack([1],{172:function(e,t,a){"use strict";var i=o(a(173)),s=o(a(176)),n=o(a(27)),l=o(a(207));function o(e){return e&&e.__esModule?e:{default:e}}var r=wepos_get_lib("Vue");r.config.productionTip=!1,new r({el:"#wepos-admin-app",router:s.default,store:n.default,render:function(e){return e(i.default)},created:function(){this.setLocaleData(wepos.i18n.wepos)}}),(0,l.default)("wepos")},173:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(73),s=a(175),n=!1;var l=function(e){n||a(174)},o=a(0)(i.a,s.a,!1,l,null,null);o.options.__file="assets/src/admin/App.vue",t.default=o.exports},174:function(e,t){},175:function(e,t,a){"use strict";var i=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"wepos-admin-app"}},[t("router-view")],1)};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},176:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,s=a(177),n=(i=s)&&i.__esModule?i:{default:i};var l=wepos_get_lib("Vue"),o=wepos_get_lib("Router");l.use(o),t.default=new o({routes:wepos.hooks.applyFilters("wepos_admin_routes",[{path:"/settings",name:"Settings",component:n.default}])})},177:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(74),s=a(206),n=!1;var l=function(e){n||a(178)},o=a(0)(i.a,s.a,!1,l,null,null);o.options.__file="assets/src/admin/components/Settings.vue",t.default=o.exports},178:function(e,t){},179:function(e,t,a){"use strict";var i=a(75),s=a(205),n=!1;var l=function(e){n||a(180)},o=a(0)(i.a,s.a,!1,l,null,null);o.options.__file="assets/src/admin/components/Fields.vue",t.a=o.exports},180:function(e,t){},181:function(e,t,a){"use strict";var i=a(76),s=a(204),n=!1;var l=function(e){n||a(182)},o=a(0)(i.a,s.a,!1,l,"data-v-267901b1",null);o.options.__file="assets/src/admin/components/ColorPicker.vue",t.a=o.exports},182:function(e,t){},204:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","wepos")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){e.updateColor({})}}},[e._v(e._s(e.__("Clear","wepos")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","wepos")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},205:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.containCommonFields(e.fieldData.type)?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"number"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"textarea"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"checkbox"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]","true-value":"on","false-value":"off"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e._q(e.fieldValue[e.fieldData.name],"on")},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],i=t.target,s=i.checked?"on":"off";if(Array.isArray(a)){var n=e._i(a,null);i.checked?n<0&&(e.fieldValue[e.fieldData.name]=a.concat([null])):n>-1&&(e.fieldValue[e.fieldData.name]=a.slice(0,n).concat(a.slice(n+1)))}else e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v("\n                    "+e._s(e.fieldData.desc)+"\n                ")])])])]):e._e(),e._v(" "),"multicheck"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,i){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+i+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name][i],expression:"fieldValue[fieldData.name][optionKey]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]["+i+"]",name:e.sectionId+"["+e.fieldData.name+"]["+i+"]","true-value":i,"false-value":""},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name][i])?e._i(e.fieldValue[e.fieldData.name][i],null)>-1:e._q(e.fieldValue[e.fieldData.name][i],i)},on:{change:function(t){var a=e.fieldValue[e.fieldData.name][i],s=t.target,n=s.checked?i:"";if(Array.isArray(a)){var l=e._i(a,null);s.checked?l<0&&(e.fieldValue[e.fieldData.name][i]=a.concat([null])):l>-1&&(e.fieldValue[e.fieldData.name][i]=a.slice(0,l).concat(a.slice(l+1)))}else e.$set(e.fieldValue[e.fieldData.name],i,n)}}}),e._v("\n                        "+e._s(t)+"\n                    ")]),e._v(" "),a("br")]})],2)])]):e._e(),e._v(" "),"select"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t){return a("optgroup",{attrs:{label:t.group_label}},e._l(t.group_values,function(t){return a("option",{domProps:{value:t.value,innerHTML:e._s(t.label)}})}))})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,i){return a("option",{domProps:{value:i,innerHTML:e._s(t)}})})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"file"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"color"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("color-picker",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]):e._e(),e._v(" "),"html"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"radio"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,i){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+i+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",id:e.sectionId+"["+e.fieldData.name+"]["+i+"]",name:i},domProps:{value:i,checked:e._q(e.fieldValue[e.fieldData.name],i)},on:{change:function(t){e.$set(e.fieldValue,e.fieldData.name,i)}}}),e._v(" "+e._s(t)+"\n                    ")])]})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"wpeditor"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("text-editor",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]):e._e(),e._v(" "),"repeatable"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("ul",{staticClass:"dokan-settings-repeatable-list"},e._l(e.fieldValue[e.fieldData.name],function(t,i){return e.fieldValue[e.fieldData.name]?a("li",[e._v("\n                    "+e._s(t.value)+" "),a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){t.preventDefault(),e.removeItem(i,e.fieldData.name)}}})]):e._e()})),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button wepos-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[e._v("+")]),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"radio_image"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("div",{staticClass:"radio-image-container"},[e._l(e.fieldData.options,function(t,i){return[a("label",{staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===i,"not-active":e.fieldValue[e.fieldData.name]!==i}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:i,checked:e._q(e.fieldValue[e.fieldData.name],i)},on:{change:function(t){e.$set(e.fieldValue,e.fieldData.name,i)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "+e._s(e.__("Active","wepos")))]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=i}}},[e._v("\n                                "+e._s(e.__("Select","wepos"))+"\n                            ")])])])]})],2)])]):e._e()])};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},206:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"wepos-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","wepos")))]),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","wepos")))])])]):e._e(),e._v(" "),a("div",{staticClass:"wepos-settings-wrap"},[a("h2",{staticClass:"nav-tab-wrapper"},[e._l(e.settingSections,function(t){return[a("a",{staticClass:"nav-tab",class:{"nav-tab-active":e.currentTab===t.id},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.changeTab(t)}}},[a("span",{staticClass:"dashicons",class:t.icon}),e._v(" "+e._s(t.title))])]})],2),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingFields,function(t,i){return e.isLoaded?[a("div",{directives:[{name:"show",rawName:"v-show",value:e.currentTab===i,expression:"currentTab===index"}],staticClass:"group",attrs:{id:i}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:i}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("h2",[e._v(e._s(e.showSectionTitle(i)))]),e._v(" "),a("table",{staticClass:"form-table"},[a("tbody",e._l(t,function(t,s){return a("fields",{key:s,attrs:{"section-id":i,id:s,"field-data":t,"field-value":e.settingValues[i]},on:{openMedia:e.showMedia}})}))]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit"},domProps:{value:e.__("Save Changes","wepos")},on:{click:function(t){t.preventDefault(),e.saveSettings(e.settingValues[i],i)}}})])])])]:e._e()})],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"}):e._e()])])};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},207:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=jQuery,a=t("#toplevel_page_"+e),i=window.location.href,s=i.substr(i.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==s||t(a).parent().addClass("current")})}},27:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(a(28)),s=n(a(30));function n(e){return e&&e.__esModule?e:{default:e}}var l=wepos_get_lib("Vue"),o=wepos_get_lib("Vuex");l.use(o),t.default=new o.Store({modules:{Cart:i.default,Order:s.default}})},28:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,s=a(29),n=(i=s)&&i.__esModule?i:{default:i};t.default={namespaced:!0,state:{cartdata:{line_items:[],fee_lines:[]}},getters:{getSubtotal:function(e){var t=0;return weLo_.forEach(e.cartdata.line_items,function(e,a){e.on_sale?t+=e.quantity*e.sale_price:t+=e.quantity*e.regular_price}),t},getTotalFee:function(e){var t=0;return weLo_.forEach(e.cartdata.fee_lines,function(e,a){"fee"==e.type&&(t+=Math.abs(e.total))}),t},getTotalDiscount:function(e){var t=0;return weLo_.forEach(e.cartdata.fee_lines,function(e,a){"discount"==e.type&&(t+=Number(Math.abs(e.total)))}),t},getTotalTax:function(e){var t=this,a=0,i=0;return weLo_.forEach(e.cartdata.line_items,function(e,t){a+=Math.abs(e.tax_amount*e.quantity)}),weLo_.forEach(e.cartdata.fee_lines,function(e,a){if("fee"==e.type&&"taxable"==e.tax_status){var s=""===e.tax_class?"standard":e.tax_class,n=weLo_.find(t.availableTax,{class:s.toString()});void 0!==n&&(i+=Math.abs(e.total)*Math.abs(n.rate)/100)}}),a+i},getOrderTotal:function(e,t){return t.getSubtotal+t.getTotalFee+t.getTotalTax},getTotal:function(e,t){return t.getOrderTotal-t.getTotalDiscount}},mutations:{setCartData:function(e,t){weLo_.isEmpty(t)?e.cartdata={line_items:[],fee_lines:[]}:e.cartdata=Object.assign({},t)},addToCartItem:function(e,t){var a={};a.product_id=0===t.parent_id?t.id:t.parent_id,a.name=t.name,a.quantity=1,a.regular_price=t.regular_display_price,a.sale_price=t.sales_display_price,a.on_sale=t.on_sale,a.attribute=t.attributes,a.variation_id=0!==t.parent_id?t.id:0,a.editQuantity=!1,a.type=t.type,a.tax_amount=t.tax_amount,a.manage_stock=t.manage_stock,a.stock_status=t.stock_status,a.backorders_allowed=t.backorders_allowed,a.stock_quantity=t.stock_quantity;var i=weLo_.findIndex(e.cartdata.line_items,{product_id:a.product_id,variation_id:a.variation_id});i<0?n.default.hasStock(t)&&e.cartdata.line_items.push(a):n.default.hasStock(t,e.cartdata.line_items[i].quantity)&&(e.cartdata.line_items[i].quantity+=1)},removeCartItem:function(e,t){e.cartdata.line_items.splice(t,1)},addCartItemQuantity:function(e,t){var a=e.cartdata.line_items[t];n.default.hasStock(a,a.quantity)&&e.cartdata.line_items[t].quantity++},removeCartItemQuantity:function(e,t){e.cartdata.line_items[t].quantity<=1?e.cartdata.line_items[t].quantity=1:e.cartdata.line_items[t].quantity--},toggleEditQuantity:function(e,t){e.cartdata.line_items[t].editQuantity=!e.cartdata.line_items[t].editQuantity},addDiscount:function(e,t){e.cartdata.fee_lines.push({name:t.title,type:"discount",value:t.value.toString(),isEdit:!1,discount_type:t.type,tax_status:"none",tax_class:"",total:0})},addFee:function(e,t){e.cartdata.fee_lines.push({name:t.title,type:"fee",value:t.value.toString(),isEdit:!1,fee_type:t.type,tax_status:"none",tax_class:"",total:0})},saveFeeValue:function(e,t){e.cartdata.fee_lines.splice(t.key,1,t.feeData),e.cartdata.fee_lines[t.key].isEdit=!1},editFeeValue:function(e,t){e.cartdata.fee_lines[t].isEdit=!0},cancelSaveFeeValue:function(e,t){e.cartdata.fee_lines[t].isEdit=!1},removeFeeLineItems:function(e,t){e.cartdata.fee_lines.splice(t,1)},emptyCart:function(e){e.cartdata={line_items:[],fee_lines:[]}},calculateDiscount:function(e,t){e.cartdata.fee_lines.length>0&&weLo_.forEach(e.cartdata.fee_lines,function(a,i){"discount"==a.type&&("percent"==a.discount_type?e.cartdata.fee_lines[i].total="-"+t.getSubtotal*Math.abs(a.value)/100:e.cartdata.fee_lines[i].total="-"+Math.abs(a.value))})},calculateFee:function(e,t){e.cartdata.fee_lines.length>0&&weLo_.forEach(e.cartdata.fee_lines,function(a,i){"fee"==a.type&&("percent"==a.fee_type?e.cartdata.fee_lines[i].total=(t.getSubtotal*Math.abs(a.value)/100).toString():e.cartdata.fee_lines[i].total=Math.abs(a.value).toString())})}},actions:{setCartDataAction:function(e,t){e.commit("setCartData",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},addToCartAction:function(e,t){e.commit("addToCartItem",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},removeCartItemAction:function(e,t){e.commit("removeCartItem",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},addItemQuantityAction:function(e,t){e.commit("addCartItemQuantity",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},removeItemQuantityAction:function(e,t){e.commit("removeCartItemQuantity",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},toggleEditQuantityAction:function(e,t){e.commit("toggleEditQuantity",t)},addDiscountAction:function(e,t){e.commit("addDiscount",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},addFeeAction:function(e,t){e.commit("addFee",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},removeFeeLineItemsAction:function(e,t){e.commit("removeFeeLineItems",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},saveFeeValueAction:function(e,t){e.commit("saveFeeValue",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},editFeeValueAction:function(e,t){e.commit("editFeeValue",t)},cancelSaveFeeValueAction:function(e,t){e.commit("cancelSaveFeeValue",t)},emptyCartAction:function(e){e.commit("emptyCart")},calculateDiscount:function(e){e.commit("calculateDiscount",e.getters)},calculateFee:function(e){e.commit("calculateFee",e.getters)}}}},29:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hasStock:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.manage_stock?!!e.backorders_allowed||e.stock_quantity>t:"outofstock"!=e.stock_status}}},30:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={namespaced:!0,state:{orderdata:{billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},getters:{},mutations:{setOrderData:function(e,t){weLo_.isEmpty(t)?e.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}:e.orderdata=t},setCustomer:function(e,t){Object.keys(t).length>0?(e.orderdata.billing=t.billing,e.orderdata.shipping=t.shipping,e.orderdata.customer_id=t.id):(e.orderdata.billing={},e.orderdata.shipping={},e.orderdata.customer_id=0)},emptyOrderdata:function(e){e.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},setCustomerNote:function(e,t){e.orderdata.customer_note=t.trim()},removeCustomerNote:function(e){e.orderdata.customer_note=""},setGateway:function(e,t){e.orderdata.payment_method=t.id,e.orderdata.payment_method_title=t.title}},actions:{setOrderDataAction:function(e,t){e.commit("setOrderData",t)},setCustomerAction:function(e,t){e.commit("setCustomer",t)},emptyOrderdataAction:function(e){e.commit("emptyOrderdata")},setCustomerNoteAction:function(e,t){e.commit("setCustomerNote",t)},removeCustomerNoteAction:function(e){e.commit("removeCustomerNote")},setGatewayAction:function(e,t){e.commit("setGateway",t)}}}},73:function(e,t,a){"use strict";t.a={name:"App"}},74:function(e,t,a){"use strict";var i=a(179);t.a={name:"Settings",components:{Fields:i.a},data:()=>({isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{}}),methods:{changeTab(e){this.currentTab=e.id,"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},showSectionTitle(e){return window.weLo_.findIndex(this.settingSections,{id:e}).title},fetchSettingValues(){var e=this,t={action:"wepos_get_setting_values",nonce:wepos.nonce};e.showLoading=!0,jQuery.post(wepos.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,i){Object.keys(e.settingFields[a]).forEach(function(i,s){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][i]?void 0===e.settingFields[a][i].default?e.settingValues[a][i]="":e.settingValues[a][i]=e.settingFields[a][i].default:e.settingValues[a][i]=t.data[a][i]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0)})},showMedia(e,t){var a=this,i=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","wepos"),button:{text:this.__("Select","wepos")},multiple:!1});i.on("select",function(){var t=i.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),i.open()},saveSettings(e,t){var a=this,i={action:"wepos_save_settings",nonce:wepos.nonce,settingsData:e,section:t};a.showLoading=!0,jQuery.post(wepos.ajaxurl,i).done(function(e){var t=e.data.settings;a.isSaved=!0,a.isUpdated=!0,a.message=e.data.message,a.settingValues[t.name]=t.value}).fail(function(e){var t=e.responseJSON.data.map(function(e){return e.message});alert(t.join(" "))}).always(function(){a.showLoading=!1})}},created(){this.fetchSettingValues(),this.currentTab="wepos_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"wepos_general"),this.settingSections=wepos.settings_sections,this.settingFields=wepos.settings_fields}}},75:function(e,t,a){"use strict";var i=a(181);let s=wepos_get_lib("TextEditor");t.a={name:"Fields",components:{colorPicker:i.a,TextEditor:s},data:()=>({repeatableItem:{}}),props:["id","fieldData","sectionId","fieldValue"],methods:{containCommonFields:e=>window.weLo_.includes([void 0,"text","email","url","phone"],e),addItem(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem(e,t){this.fieldValue[t].splice(e,1)}}}},76:function(e,t,a){"use strict";var i=a(183);t.a={components:{Sketch:i.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:e=>-1!==["hsl","hex","rgba","hsv"].indexOf(e)},presetColors:{type:Array,required:!1,default:()=>["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:()=>({showColorPicker:!1}),methods:{updateColor(e){let t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker(){this.showColorPicker=!this.showColorPicker},setHexColor(e){this.updateColor({hex:e})}}}}},[172]);
     1pluginWebpack([1],{172:function(e,t,a){"use strict";var i=o(a(173)),s=o(a(176)),n=o(a(27)),l=o(a(207));function o(e){return e&&e.__esModule?e:{default:e}}var r=wepos_get_lib("Vue");r.config.productionTip=!1,new r({el:"#wepos-admin-app",router:s.default,store:n.default,render:function(e){return e(i.default)},created:function(){this.setLocaleData(wepos.i18n.wepos)}}),(0,l.default)("wepos")},173:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(73),s=a(175),n=!1;var l=function(e){n||a(174)},o=a(0)(i.a,s.a,!1,l,null,null);o.options.__file="assets/src/admin/App.vue",t.default=o.exports},174:function(e,t){},175:function(e,t,a){"use strict";var i=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"wepos-admin-app"}},[t("router-view")],1)};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},176:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,s=a(177),n=(i=s)&&i.__esModule?i:{default:i};var l=wepos_get_lib("Vue"),o=wepos_get_lib("Router");l.use(o),t.default=new o({routes:wepos.hooks.applyFilters("wepos_admin_routes",[{path:"/settings",name:"Settings",component:n.default}])})},177:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(74),s=a(206),n=!1;var l=function(e){n||a(178)},o=a(0)(i.a,s.a,!1,l,null,null);o.options.__file="assets/src/admin/components/Settings.vue",t.default=o.exports},178:function(e,t){},179:function(e,t,a){"use strict";var i=a(75),s=a(205),n=!1;var l=function(e){n||a(180)},o=a(0)(i.a,s.a,!1,l,null,null);o.options.__file="assets/src/admin/components/Fields.vue",t.a=o.exports},180:function(e,t){},181:function(e,t,a){"use strict";var i=a(76),s=a(204),n=!1;var l=function(e){n||a(182)},o=a(0)(i.a,s.a,!1,l,"data-v-267901b1",null);o.options.__file="assets/src/admin/components/ColorPicker.vue",t.a=o.exports},182:function(e,t){},204:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","wepos")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){e.updateColor({})}}},[e._v(e._s(e.__("Clear","wepos")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","wepos")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},205:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.containCommonFields(e.fieldData.type)?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"number"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"textarea"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"checkbox"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]","true-value":"on","false-value":"off"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e._q(e.fieldValue[e.fieldData.name],"on")},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],i=t.target,s=i.checked?"on":"off";if(Array.isArray(a)){var n=e._i(a,null);i.checked?n<0&&(e.fieldValue[e.fieldData.name]=a.concat([null])):n>-1&&(e.fieldValue[e.fieldData.name]=a.slice(0,n).concat(a.slice(n+1)))}else e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v("\n                    "+e._s(e.fieldData.desc)+"\n                ")])])])]):e._e(),e._v(" "),"multicheck"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,i){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+i+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name][i],expression:"fieldValue[fieldData.name][optionKey]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]["+i+"]",name:e.sectionId+"["+e.fieldData.name+"]["+i+"]","true-value":i,"false-value":""},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name][i])?e._i(e.fieldValue[e.fieldData.name][i],null)>-1:e._q(e.fieldValue[e.fieldData.name][i],i)},on:{change:function(t){var a=e.fieldValue[e.fieldData.name][i],s=t.target,n=s.checked?i:"";if(Array.isArray(a)){var l=e._i(a,null);s.checked?l<0&&(e.fieldValue[e.fieldData.name][i]=a.concat([null])):l>-1&&(e.fieldValue[e.fieldData.name][i]=a.slice(0,l).concat(a.slice(l+1)))}else e.$set(e.fieldValue[e.fieldData.name],i,n)}}}),e._v("\n                        "+e._s(t)+"\n                    ")]),e._v(" "),a("br")]})],2)])]):e._e(),e._v(" "),"select"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t){return a("optgroup",{attrs:{label:t.group_label}},e._l(t.group_values,function(t){return a("option",{domProps:{value:t.value,innerHTML:e._s(t.label)}})}))})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,i){return a("option",{domProps:{value:i,innerHTML:e._s(t)}})})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"file"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"color"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("color-picker",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]):e._e(),e._v(" "),"html"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"radio"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,i){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+i+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",id:e.sectionId+"["+e.fieldData.name+"]["+i+"]",name:i},domProps:{value:i,checked:e._q(e.fieldValue[e.fieldData.name],i)},on:{change:function(t){e.$set(e.fieldValue,e.fieldData.name,i)}}}),e._v(" "+e._s(t)+"\n                    ")])]})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"wpeditor"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("text-editor",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]):e._e(),e._v(" "),"repeatable"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("ul",{staticClass:"dokan-settings-repeatable-list"},e._l(e.fieldValue[e.fieldData.name],function(t,i){return e.fieldValue[e.fieldData.name]?a("li",[e._v("\n                    "+e._s(t.value)+" "),a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){t.preventDefault(),e.removeItem(i,e.fieldData.name)}}})]):e._e()})),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button wepos-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[e._v("+")]),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]):e._e(),e._v(" "),"radio_image"==e.fieldData.type?a("tr",{class:e.id},[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("div",{staticClass:"radio-image-container"},[e._l(e.fieldData.options,function(t,i){return[a("label",{staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===i,"not-active":e.fieldValue[e.fieldData.name]!==i}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:i,checked:e._q(e.fieldValue[e.fieldData.name],i)},on:{change:function(t){e.$set(e.fieldValue,e.fieldData.name,i)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "+e._s(e.__("Active","wepos")))]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=i}}},[e._v("\n                                "+e._s(e.__("Select","wepos"))+"\n                            ")])])])]})],2)])]):e._e()])};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},206:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"wepos-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","wepos")))]),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","wepos")))])])]):e._e(),e._v(" "),a("div",{staticClass:"wepos-settings-wrap"},[a("h2",{staticClass:"nav-tab-wrapper"},[e._l(e.settingSections,function(t){return[a("a",{staticClass:"nav-tab",class:{"nav-tab-active":e.currentTab===t.id},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.changeTab(t)}}},[a("span",{staticClass:"dashicons",class:t.icon}),e._v(" "+e._s(t.title))])]})],2),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingFields,function(t,i){return e.isLoaded?[a("div",{directives:[{name:"show",rawName:"v-show",value:e.currentTab===i,expression:"currentTab===index"}],staticClass:"group",attrs:{id:i}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:i}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("h2",[e._v(e._s(e.showSectionTitle(i)))]),e._v(" "),a("table",{staticClass:"form-table"},[a("tbody",e._l(t,function(t,s){return a("fields",{key:s,attrs:{"section-id":i,id:s,"field-data":t,"field-value":e.settingValues[i]},on:{openMedia:e.showMedia}})}))]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit"},domProps:{value:e.__("Save Changes","wepos")},on:{click:function(t){t.preventDefault(),e.saveSettings(e.settingValues[i],i)}}})])])])]:e._e()})],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"}):e._e()])])};i._withStripped=!0;var s={render:i,staticRenderFns:[]};t.a=s},207:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=jQuery,a=t("#toplevel_page_"+e),i=window.location.href,s=i.substr(i.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==s||t(a).parent().addClass("current")})}},27:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(a(28)),s=n(a(30));function n(e){return e&&e.__esModule?e:{default:e}}var l=wepos_get_lib("Vue"),o=wepos_get_lib("Vuex");l.use(o),t.default=new o.Store({modules:{Cart:i.default,Order:s.default}})},28:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,s=a(29),n=(i=s)&&i.__esModule?i:{default:i};t.default={namespaced:!0,state:{settings:{},availableTax:{},cartdata:{line_items:[],fee_lines:[]}},getters:{getSubtotal:function(e){var t=0;return weLo_.forEach(e.cartdata.line_items,function(e,a){e.on_sale?t+=e.quantity*e.sale_price:t+=e.quantity*e.regular_price}),t},getTotalFee:function(e){var t=0;return weLo_.forEach(e.cartdata.fee_lines,function(e,a){"fee"==e.type&&(t+=Math.abs(e.total))}),t},getTotalDiscount:function(e){var t=0;return weLo_.forEach(e.cartdata.fee_lines,function(e,a){"discount"==e.type&&(t+=Number(Math.abs(e.total)))}),t},getTotalLineTax:function(e){var t=0;return weLo_.forEach(e.cartdata.line_items,function(e,a){t+=Math.abs(e.tax_amount*e.quantity)}),t},getTotalTax:function(e){var t=0,a=0;return weLo_.forEach(e.cartdata.line_items,function(e,a){t+=Math.abs(e.tax_amount*e.quantity)}),void 0!=e.settings.woo_tax&&"incl"==e.settings.woo_tax.wc_tax_display_cart&&(t=0),weLo_.forEach(e.cartdata.fee_lines,function(t,i){if("fee"==t.type&&"taxable"==t.tax_status){var s=""===t.tax_class?"standard":t.tax_class,n=weLo_.find(e.availableTax,{class:s.toString()});void 0!==n&&(a+=Math.abs(t.total)*Math.abs(n.rate)/100)}}),t+a},getOrderTotal:function(e,t){return t.getSubtotal+t.getTotalFee+t.getTotalTax},getTotal:function(e,t){return t.getOrderTotal-t.getTotalDiscount}},mutations:{setSettings:function(e,t){e.settings=t},setAvailableTax:function(e,t){e.availableTax=t},setCartData:function(e,t){weLo_.isEmpty(t)?e.cartdata={line_items:[],fee_lines:[]}:e.cartdata=Object.assign({},t)},addToCartItem:function(e,t){var a={};a.product_id=0===t.parent_id?t.id:t.parent_id,a.name=t.name,a.quantity=1,a.regular_price=t.regular_display_price,a.sale_price=t.sales_display_price,a.on_sale=t.on_sale,a.attribute=t.attributes,a.variation_id=0!==t.parent_id?t.id:0,a.editQuantity=!1,a.type=t.type,a.tax_amount=t.tax_amount,a.manage_stock=t.manage_stock,a.stock_status=t.stock_status,a.backorders_allowed=t.backorders_allowed,a.stock_quantity=t.stock_quantity;var i=weLo_.findIndex(e.cartdata.line_items,{product_id:a.product_id,variation_id:a.variation_id});i<0?n.default.hasStock(t)&&e.cartdata.line_items.push(a):n.default.hasStock(t,e.cartdata.line_items[i].quantity)&&(e.cartdata.line_items[i].quantity+=1)},removeCartItem:function(e,t){e.cartdata.line_items.splice(t,1)},addCartItemQuantity:function(e,t){var a=e.cartdata.line_items[t];n.default.hasStock(a,a.quantity)&&e.cartdata.line_items[t].quantity++},removeCartItemQuantity:function(e,t){e.cartdata.line_items[t].quantity<=1?e.cartdata.line_items[t].quantity=1:e.cartdata.line_items[t].quantity--},toggleEditQuantity:function(e,t){e.cartdata.line_items[t].editQuantity=!e.cartdata.line_items[t].editQuantity},addDiscount:function(e,t){e.cartdata.fee_lines.push({name:t.title,type:"discount",value:t.value.toString(),isEdit:!1,discount_type:t.type,tax_status:"none",tax_class:"",total:0})},addFee:function(e,t){e.cartdata.fee_lines.push({name:t.title,type:"fee",value:t.value.toString(),isEdit:!1,fee_type:t.type,tax_status:"none",tax_class:"",total:0})},saveFeeValue:function(e,t){e.cartdata.fee_lines.splice(t.key,1,t.feeData),e.cartdata.fee_lines[t.key].isEdit=!1},editFeeValue:function(e,t){e.cartdata.fee_lines[t].isEdit=!0},cancelSaveFeeValue:function(e,t){e.cartdata.fee_lines[t].isEdit=!1},removeFeeLineItems:function(e,t){e.cartdata.fee_lines.splice(t,1)},emptyCart:function(e){e.cartdata={line_items:[],fee_lines:[]}},calculateDiscount:function(e,t){e.cartdata.fee_lines.length>0&&weLo_.forEach(e.cartdata.fee_lines,function(a,i){"discount"==a.type&&("percent"==a.discount_type?e.cartdata.fee_lines[i].total="-"+t.getSubtotal*Math.abs(a.value)/100:e.cartdata.fee_lines[i].total="-"+Math.abs(a.value))})},calculateFee:function(e,t){e.cartdata.fee_lines.length>0&&weLo_.forEach(e.cartdata.fee_lines,function(a,i){"fee"==a.type&&("percent"==a.fee_type?e.cartdata.fee_lines[i].total=(t.getSubtotal*Math.abs(a.value)/100).toString():e.cartdata.fee_lines[i].total=Math.abs(a.value).toString())})}},actions:{setSettingsAction:function(e,t){e.commit("setSettings",t)},setAvailableTaxAction:function(e,t){e.commit("setAvailableTax",t)},setCartDataAction:function(e,t){e.commit("setCartData",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},addToCartAction:function(e,t){e.commit("addToCartItem",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},removeCartItemAction:function(e,t){e.commit("removeCartItem",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},addItemQuantityAction:function(e,t){e.commit("addCartItemQuantity",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},removeItemQuantityAction:function(e,t){e.commit("removeCartItemQuantity",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},toggleEditQuantityAction:function(e,t){e.commit("toggleEditQuantity",t)},addDiscountAction:function(e,t){e.commit("addDiscount",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},addFeeAction:function(e,t){e.commit("addFee",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},removeFeeLineItemsAction:function(e,t){e.commit("removeFeeLineItems",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},saveFeeValueAction:function(e,t){e.commit("saveFeeValue",t),e.commit("calculateDiscount",e.getters),e.commit("calculateFee",e.getters)},editFeeValueAction:function(e,t){e.commit("editFeeValue",t)},cancelSaveFeeValueAction:function(e,t){e.commit("cancelSaveFeeValue",t)},emptyCartAction:function(e){e.commit("emptyCart")},calculateDiscount:function(e){e.commit("calculateDiscount",e.getters)},calculateFee:function(e){e.commit("calculateFee",e.getters)}}}},29:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hasStock:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.manage_stock?!!e.backorders_allowed||e.stock_quantity>t:"outofstock"!=e.stock_status}}},30:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={namespaced:!0,state:{orderdata:{billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},getters:{},mutations:{setOrderData:function(e,t){weLo_.isEmpty(t)?e.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}:e.orderdata=t},setCustomer:function(e,t){Object.keys(t).length>0?(e.orderdata.billing=t.billing,e.orderdata.shipping=t.shipping,e.orderdata.customer_id=t.id):(e.orderdata.billing={},e.orderdata.shipping={},e.orderdata.customer_id=0)},emptyOrderdata:function(e){e.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},setCustomerNote:function(e,t){e.orderdata.customer_note=t.trim()},removeCustomerNote:function(e){e.orderdata.customer_note=""},setGateway:function(e,t){e.orderdata.payment_method=t.id,e.orderdata.payment_method_title=t.title}},actions:{setOrderDataAction:function(e,t){e.commit("setOrderData",t)},setCustomerAction:function(e,t){e.commit("setCustomer",t)},emptyOrderdataAction:function(e){e.commit("emptyOrderdata")},setCustomerNoteAction:function(e,t){e.commit("setCustomerNote",t)},removeCustomerNoteAction:function(e){e.commit("removeCustomerNote")},setGatewayAction:function(e,t){e.commit("setGateway",t)}}}},73:function(e,t,a){"use strict";t.a={name:"App"}},74:function(e,t,a){"use strict";var i=a(179);t.a={name:"Settings",components:{Fields:i.a},data:()=>({isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{}}),methods:{changeTab(e){this.currentTab=e.id,"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},showSectionTitle(e){return window.weLo_.findIndex(this.settingSections,{id:e}).title},fetchSettingValues(){var e=this,t={action:"wepos_get_setting_values",nonce:wepos.nonce};e.showLoading=!0,jQuery.post(wepos.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,i){Object.keys(e.settingFields[a]).forEach(function(i,s){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][i]?void 0===e.settingFields[a][i].default?e.settingValues[a][i]="":e.settingValues[a][i]=e.settingFields[a][i].default:e.settingValues[a][i]=t.data[a][i]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0)})},showMedia(e,t){var a=this,i=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","wepos"),button:{text:this.__("Select","wepos")},multiple:!1});i.on("select",function(){var t=i.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),i.open()},saveSettings(e,t){var a=this,i={action:"wepos_save_settings",nonce:wepos.nonce,settingsData:e,section:t};a.showLoading=!0,jQuery.post(wepos.ajaxurl,i).done(function(e){var t=e.data.settings;a.isSaved=!0,a.isUpdated=!0,a.message=e.data.message,a.settingValues[t.name]=t.value}).fail(function(e){var t=e.responseJSON.data.map(function(e){return e.message});alert(t.join(" "))}).always(function(){a.showLoading=!1})}},created(){this.fetchSettingValues(),this.currentTab="wepos_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"wepos_general"),this.settingSections=wepos.settings_sections,this.settingFields=wepos.settings_fields}}},75:function(e,t,a){"use strict";var i=a(181);let s=wepos_get_lib("TextEditor");t.a={name:"Fields",components:{colorPicker:i.a,TextEditor:s},data:()=>({repeatableItem:{}}),props:["id","fieldData","sectionId","fieldValue"],methods:{containCommonFields:e=>window.weLo_.includes([void 0,"text","email","url","phone"],e),addItem(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem(e,t){this.fieldValue[t].splice(e,1)}}}},76:function(e,t,a){"use strict";var i=a(183);t.a={components:{Sketch:i.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:e=>-1!==["hsl","hex","rgba","hsv"].indexOf(e)},presetColors:{type:Array,required:!1,default:()=>["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:()=>({showColorPicker:!1}),methods:{updateColor(e){let t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker(){this.showColorPicker=!this.showColorPicker},setHexColor(e){this.updateColor({hex:e})}}}}},[172]);
  • wepos/trunk/assets/js/frontend.js

    r2128862 r2162804  
    5252    namespaced: true,
    5353    state: {
     54        settings: {},
     55        availableTax: {},
    5456        cartdata: {
    5557            line_items: [],
     
    8991            return discount;
    9092        },
     93        getTotalLineTax: function getTotalLineTax(state) {
     94            var self = this,
     95                taxLineTotal = 0;
     96
     97            weLo_.forEach(state.cartdata.line_items, function (item, key) {
     98                taxLineTotal += Math.abs(item.tax_amount * item.quantity);
     99            });
     100
     101            return taxLineTotal;
     102        },
    91103        getTotalTax: function getTotalTax(state) {
    92104            var self = this,
     
    97109            });
    98110
     111            if (state.settings.woo_tax != undefined && state.settings.woo_tax.wc_tax_display_cart == 'incl') {
     112                taxLineTotal = 0;
     113            }
     114
    99115            weLo_.forEach(state.cartdata.fee_lines, function (item, key) {
    100116                if (item.type == 'fee') {
    101117                    if (item.tax_status == 'taxable') {
    102118                        var itemTaxClass = item.tax_class === '' ? 'standard' : item.tax_class;
    103                         var taxClass = weLo_.find(self.availableTax, { 'class': itemTaxClass.toString() });
     119                        var taxClass = weLo_.find(state.availableTax, { 'class': itemTaxClass.toString() });
    104120                        if (taxClass !== undefined) {
    105121                            taxFeeTotal += Math.abs(item.total) * Math.abs(taxClass.rate) / 100;
     
    119135    },
    120136    mutations: {
     137        setSettings: function setSettings(state, settings) {
     138            state.settings = settings;
     139        },
     140        setAvailableTax: function setAvailableTax(state, availableTax) {
     141            state.availableTax = availableTax;
     142        },
    121143        setCartData: function setCartData(state, cartdata) {
    122144            if (weLo_.isEmpty(cartdata)) {
     
    250272    },
    251273    actions: {
     274        setSettingsAction: function setSettingsAction(context, settings) {
     275            context.commit('setSettings', settings);
     276        },
     277        setAvailableTaxAction: function setAvailableTaxAction(context, availableTax) {
     278            context.commit('setAvailableTax', availableTax);
     279        },
    252280        setCartDataAction: function setCartDataAction(context, cartdata) {
    253281            context.commit('setCartData', cartdata);
     
    10381066//
    10391067//
     1068//
     1069//
     1070//
     1071//
     1072//
     1073//
     1074//
     1075//
     1076//
     1077//
    10401078
    10411079
     
    10891127            availableTax: [],
    10901128            settings: {},
     1129            taxSettings: {},
    10911130            printdata: wepos.hooks.applyFilters('wepos_initial_print_data', {
    10921131                gateway: {
     
    14691508            wepos.api.get(wepos.rest.root + wepos.rest.posversion + '/settings').done(response => {
    14701509                this.settings = response;
     1510                this.$store.dispatch('Cart/setSettingsAction', response);
    14711511            });
    14721512        },
     
    14741514            wepos.api.get(wepos.rest.root + wepos.rest.posversion + '/taxes').done(response => {
    14751515                this.availableTax = response;
     1516                this.$store.dispatch('Cart/setAvailableTaxAction', response);
    14761517            });
    14771518        },
     
    15391580                return weLo_.findIndex(product.categories, { id: this.$route.query.category }) > 0;
    15401581            });
     1582        },
     1583
     1584        fetchTaxSettings() {
     1585            wepos.api.get(wepos.rest.root + wepos.rest.wcversion + '/settings/tax').done(response => {
     1586                this.taxSettings = response;
     1587            });
    15411588        }
    15421589    },
     
    15481595        this.fetchGateway();
    15491596        this.fetchCategories();
     1597        // this.fetchTaxSettings();
    15501598
    15511599        if (typeof localStorage != 'undefined') {
     
    27632811
    27642812"use strict";
     2813//
     2814//
     2815//
     2816//
     2817//
    27652818//
    27662819//
     
    51875240  var _h = _vm.$createElement
    51885241  var _c = _vm._self._c || _h
    5189   return _c("div", { staticClass: "wepos-checkout-print-wrapper" }, [
    5190     _c("div", {
    5191       staticClass: "header",
    5192       domProps: { innerHTML: _vm._s(_vm.settings.receipt_header) }
    5193     }),
    5194     _vm._v(" "),
    5195     _c("div", { staticClass: "order-info" }, [
    5196       _c("span", { staticClass: "wepos-left" }, [
    5197         _c("strong", [
    5198           _vm._v(
    5199             _vm._s(_vm.__("Order ID", "wepos")) +
    5200               ": #" +
    5201               _vm._s(_vm.printdata.order_id)
    5202           )
    5203         ])
    5204       ]),
    5205       _vm._v(" "),
    5206       _c("span", { staticClass: "wepos-right" }, [
    5207         _c("strong", [
    5208           _vm._v(
    5209             _vm._s(_vm.__("Order Date", "wepos")) +
    5210               ": " +
    5211               _vm._s(_vm.formatDate(_vm.printdata.order_date))
    5212           )
    5213         ])
    5214       ]),
    5215       _vm._v(" "),
    5216       _c("div", { staticClass: "wepos-clearfix" })
    5217     ]),
    5218     _vm._v(" "),
    5219     _c("div", { staticClass: "content" }, [
    5220       _c("table", { staticClass: "sale-summary" }, [
    5221         _c(
    5222           "tbody",
    5223           [
    5224             _vm._l(_vm.printdata.line_items, function(item) {
    5225               return _c("tr", [
    5226                 _c("td", { staticClass: "name" }, [
    5227                   _vm._v(
    5228                     "\n                        " +
    5229                       _vm._s(item.name) +
    5230                       "\n                        "
    5231                   ),
    5232                   item.attribute.length > 0
    5233                     ? _c("div", { staticClass: "attribute" }, [
    5234                         _c(
    5235                           "ul",
    5236                           _vm._l(item.attribute, function(attribute_item) {
    5237                             return _c("li", [
    5238                               _c("span", { staticClass: "attr_name" }, [
    5239                                 _vm._v(_vm._s(attribute_item.name))
     5242  return _vm.settings.wepos_receipts
     5243    ? _c("div", { staticClass: "wepos-checkout-print-wrapper" }, [
     5244        _c("div", {
     5245          staticClass: "header",
     5246          domProps: {
     5247            innerHTML: _vm._s(_vm.settings.wepos_receipts.receipt_header)
     5248          }
     5249        }),
     5250        _vm._v(" "),
     5251        _c("div", { staticClass: "order-info" }, [
     5252          _c("span", { staticClass: "wepos-left" }, [
     5253            _c("strong", [
     5254              _vm._v(
     5255                _vm._s(_vm.__("Order ID", "wepos")) +
     5256                  ": #" +
     5257                  _vm._s(_vm.printdata.order_id)
     5258              )
     5259            ])
     5260          ]),
     5261          _vm._v(" "),
     5262          _c("span", { staticClass: "wepos-right" }, [
     5263            _c("strong", [
     5264              _vm._v(
     5265                _vm._s(_vm.__("Order Date", "wepos")) +
     5266                  ": " +
     5267                  _vm._s(_vm.formatDate(_vm.printdata.order_date))
     5268              )
     5269            ])
     5270          ]),
     5271          _vm._v(" "),
     5272          _c("div", { staticClass: "wepos-clearfix" })
     5273        ]),
     5274        _vm._v(" "),
     5275        _c("div", { staticClass: "content" }, [
     5276          _c("table", { staticClass: "sale-summary" }, [
     5277            _c(
     5278              "tbody",
     5279              [
     5280                _vm._l(_vm.printdata.line_items, function(item) {
     5281                  return _c("tr", [
     5282                    _c("td", { staticClass: "name" }, [
     5283                      _vm._v(
     5284                        "\n                        " +
     5285                          _vm._s(item.name) +
     5286                          "\n                        "
     5287                      ),
     5288                      item.attribute.length > 0
     5289                        ? _c("div", { staticClass: "attribute" }, [
     5290                            _c(
     5291                              "ul",
     5292                              _vm._l(item.attribute, function(attribute_item) {
     5293                                return _c("li", [
     5294                                  _c("span", { staticClass: "attr_name" }, [
     5295                                    _vm._v(_vm._s(attribute_item.name))
     5296                                  ]),
     5297                                  _vm._v(": "),
     5298                                  _c("span", { staticClass: "attr_value" }, [
     5299                                    _vm._v(_vm._s(attribute_item.option))
     5300                                  ])
     5301                                ])
     5302                              })
     5303                            )
     5304                          ])
     5305                        : _vm._e()
     5306                    ]),
     5307                    _vm._v(" "),
     5308                    _c("td", { staticClass: "quantity" }, [
     5309                      _vm._v(_vm._s(item.quantity))
     5310                    ]),
     5311                    _vm._v(" "),
     5312                    _c(
     5313                      "td",
     5314                      { staticClass: "price" },
     5315                      [
     5316                        item.on_sale
     5317                          ? [
     5318                              _c("span", { staticClass: "regular-price" }, [
     5319                                _vm._v(
     5320                                  _vm._s(
     5321                                    _vm.formatPrice(
     5322                                      item.quantity * item.regular_price
     5323                                    )
     5324                                  )
     5325                                )
    52405326                              ]),
    5241                               _vm._v(": "),
    5242                               _c("span", { staticClass: "attr_value" }, [
    5243                                 _vm._v(_vm._s(attribute_item.option))
     5327                              _vm._v(" "),
     5328                              _c("span", { staticClass: "sale-price" }, [
     5329                                _vm._v(
     5330                                  _vm._s(
     5331                                    _vm.formatPrice(
     5332                                      item.quantity * item.sale_price
     5333                                    )
     5334                                  )
     5335                                )
    52445336                              ])
    5245                             ])
    5246                           })
    5247                         )
    5248                       ])
    5249                     : _vm._e()
     5337                            ]
     5338                          : [
     5339                              _c("span", { staticClass: "sale-price" }, [
     5340                                _vm._v(
     5341                                  _vm._s(
     5342                                    _vm.formatPrice(
     5343                                      item.quantity * item.regular_price
     5344                                    )
     5345                                  )
     5346                                )
     5347                              ])
     5348                            ]
     5349                      ],
     5350                      2
     5351                    )
     5352                  ])
     5353                }),
     5354                _vm._v(" "),
     5355                _c("tr", { staticClass: "cart-meta-data" }, [
     5356                  _c("td", { staticClass: "name", attrs: { colspan: "2" } }, [
     5357                    _vm._v(
     5358                      "\n                        " +
     5359                        _vm._s(_vm.__("Subtotal", "wepos")) +
     5360                        "\n                        "
     5361                    ),
     5362                    _vm.settings.woo_tax.wc_tax_display_cart == "incl"
     5363                      ? _c("span", { staticClass: "metadata" }, [
     5364                          _vm._v(
     5365                            "\n                            " +
     5366                              _vm._s(_vm.__("Includes Tax", "wepos")) +
     5367                              " " +
     5368                              _vm._s(
     5369                                _vm.formatPrice(
     5370                                  _vm.$store.getters["Cart/getTotalLineTax"]
     5371                                )
     5372                              ) +
     5373                              "\n                        "
     5374                          )
     5375                        ])
     5376                      : _vm._e()
     5377                  ]),
     5378                  _vm._v(" "),
     5379                  _c("td", { staticClass: "price" }, [
     5380                    _vm._v(_vm._s(_vm.formatPrice(_vm.printdata.subtotal)))
     5381                  ])
    52505382                ]),
    52515383                _vm._v(" "),
    5252                 _c("td", { staticClass: "quantity" }, [
    5253                   _vm._v(_vm._s(item.quantity))
    5254                 ]),
    5255                 _vm._v(" "),
    5256                 _c(
    5257                   "td",
    5258                   { staticClass: "price" },
    5259                   [
    5260                     item.on_sale
    5261                       ? [
    5262                           _c("span", { staticClass: "regular-price" }, [
    5263                             _vm._v(
    5264                               _vm._s(
    5265                                 _vm.formatPrice(
    5266                                   item.quantity * item.regular_price
    5267                                 )
    5268                               )
    5269                             )
    5270                           ]),
    5271                           _vm._v(" "),
    5272                           _c("span", { staticClass: "sale-price" }, [
    5273                             _vm._v(
    5274                               _vm._s(
    5275                                 _vm.formatPrice(item.quantity * item.sale_price)
    5276                               )
    5277                             )
    5278                           ])
    5279                         ]
    5280                       : [
    5281                           _c("span", { staticClass: "sale-price" }, [
    5282                             _vm._v(
    5283                               _vm._s(
    5284                                 _vm.formatPrice(
    5285                                   item.quantity * item.regular_price
    5286                                 )
    5287                               )
    5288                             )
    5289                           ])
    5290                         ]
    5291                   ],
    5292                   2
    5293                 )
    5294               ])
    5295             }),
    5296             _vm._v(" "),
    5297             _c("tr", [
    5298               _c("td", { staticClass: "name", attrs: { colspan: "2" } }, [
    5299                 _vm._v(_vm._s(_vm.__("Subtotal", "wepos")))
    5300               ]),
    5301               _vm._v(" "),
    5302               _c("td", { staticClass: "price" }, [
    5303                 _vm._v(_vm._s(_vm.formatPrice(_vm.printdata.subtotal)))
    5304               ])
    5305             ]),
    5306             _vm._v(" "),
    5307             _vm._l(_vm.printdata.fee_lines, function(fee, key) {
    5308               return _c(
    5309                 "tr",
    5310                 { staticClass: "cart-meta-data" },
    5311                 [
    5312                   fee.type == "discount"
    5313                     ? [
    5314                         _c(
    5315                           "td",
    5316                           { staticClass: "name", attrs: { colspan: "2" } },
    5317                           [
    5318                             _vm._v(_vm._s(_vm.__("Discount", "wepos")) + " "),
    5319                             _c("span", { staticClass: "metadata" }, [
     5384                _vm._l(_vm.printdata.fee_lines, function(fee, key) {
     5385                  return _c(
     5386                    "tr",
     5387                    { staticClass: "cart-meta-data" },
     5388                    [
     5389                      fee.type == "discount"
     5390                        ? [
     5391                            _c(
     5392                              "td",
     5393                              { staticClass: "name", attrs: { colspan: "2" } },
     5394                              [
     5395                                _vm._v(
     5396                                  _vm._s(_vm.__("Discount", "wepos")) + " "
     5397                                ),
     5398                                _c("span", { staticClass: "metadata" }, [
     5399                                  _vm._v(
     5400                                    _vm._s(
     5401                                      fee.discount_type == "percent"
     5402                                        ? fee.value + "%"
     5403                                        : _vm.formatPrice(fee.value)
     5404                                    )
     5405                                  )
     5406                                ])
     5407                              ]
     5408                            ),
     5409                            _vm._v(" "),
     5410                            _c("td", { staticClass: "price" }, [
    53205411                              _vm._v(
    5321                                 _vm._s(
    5322                                   fee.discount_type == "percent"
    5323                                     ? fee.value + "%"
    5324                                     : _vm.formatPrice(fee.value)
    5325                                 )
     5412                                "-" +
     5413                                  _vm._s(_vm.formatPrice(Math.abs(fee.total)))
    53265414                              )
    53275415                            ])
    53285416                          ]
    5329                         ),
     5417                        : [
     5418                            _c(
     5419                              "td",
     5420                              { staticClass: "name", attrs: { colspan: "2" } },
     5421                              [
     5422                                _vm._v(_vm._s(_vm.__("Fee", "wepos")) + " "),
     5423                                _c("span", { staticClass: "metadata" }, [
     5424                                  _vm._v(
     5425                                    _vm._s(fee.name) +
     5426                                      " " +
     5427                                      _vm._s(
     5428                                        fee.fee_type == "percent"
     5429                                          ? fee.value + "%"
     5430                                          : _vm.formatPrice(fee.value)
     5431                                      )
     5432                                  )
     5433                                ])
     5434                              ]
     5435                            ),
     5436                            _vm._v(" "),
     5437                            _c("td", { staticClass: "price" }, [
     5438                              _vm._v(
     5439                                "-" +
     5440                                  _vm._s(_vm.formatPrice(Math.abs(fee.total)))
     5441                              )
     5442                            ])
     5443                          ]
     5444                    ],
     5445                    2
     5446                  )
     5447                }),
     5448                _vm._v(" "),
     5449                _vm.printdata.taxtotal
     5450                  ? _c("tr", [
     5451                      _c(
     5452                        "td",
     5453                        { staticClass: "name", attrs: { colspan: "2" } },
     5454                        [_vm._v(_vm._s(_vm.__("Tax", "wepos")))]
     5455                      ),
     5456                      _vm._v(" "),
     5457                      _c("td", { staticClass: "price" }, [
     5458                        _vm._v(_vm._s(_vm.formatPrice(_vm.printdata.taxtotal)))
     5459                      ])
     5460                    ])
     5461                  : _vm._e(),
     5462                _vm._v(" "),
     5463                _c("tr", [
     5464                  _c("td", { staticClass: "name", attrs: { colspan: "2" } }, [
     5465                    _vm._v(_vm._s(_vm.__("Order Total", "wepos")))
     5466                  ]),
     5467                  _vm._v(" "),
     5468                  _c("td", { staticClass: "price" }, [
     5469                    _vm._v(_vm._s(_vm.formatPrice(_vm.printdata.ordertotal)))
     5470                  ])
     5471                ]),
     5472                _vm._v(" "),
     5473                _vm._m(0),
     5474                _vm._v(" "),
     5475                _c("tr", [
     5476                  _c("td", { attrs: { colspan: "2" } }, [
     5477                    _vm._v(_vm._s(_vm.__("Payment method", "wepos")))
     5478                  ]),
     5479                  _vm._v(" "),
     5480                  _c("td", { staticClass: "price" }, [
     5481                    _vm._v(_vm._s(_vm.printdata.gateway.title || ""))
     5482                  ])
     5483                ]),
     5484                _vm._v(" "),
     5485                (_vm.printdata.gateway.id = "wepos_cash")
     5486                  ? [
     5487                      _c("tr", [
     5488                        _c("td", { attrs: { colspan: "2" } }, [
     5489                          _vm._v(_vm._s(_vm.__("Cash Given", "wepos")))
     5490                        ]),
    53305491                        _vm._v(" "),
    53315492                        _c("td", { staticClass: "price" }, [
    53325493                          _vm._v(
    5333                             "-" + _vm._s(_vm.formatPrice(Math.abs(fee.total)))
     5494                            _vm._s(_vm.formatPrice(_vm.printdata.cashamount))
    53345495                          )
    53355496                        ])
    5336                       ]
    5337                     : [
    5338                         _c(
    5339                           "td",
    5340                           { staticClass: "name", attrs: { colspan: "2" } },
    5341                           [
    5342                             _vm._v(_vm._s(_vm.__("Fee", "wepos")) + " "),
    5343                             _c("span", { staticClass: "metadata" }, [
    5344                               _vm._v(
    5345                                 _vm._s(fee.name) +
    5346                                   " " +
    5347                                   _vm._s(
    5348                                     fee.fee_type == "percent"
    5349                                       ? fee.value + "%"
    5350                                       : _vm.formatPrice(fee.value)
    5351                                   )
    5352                               )
    5353                             ])
    5354                           ]
    5355                         ),
     5497                      ]),
     5498                      _vm._v(" "),
     5499                      _c("tr", [
     5500                        _c("td", { attrs: { colspan: "2" } }, [
     5501                          _vm._v(_vm._s(_vm.__("Change Money", "wepos")))
     5502                        ]),
    53565503                        _vm._v(" "),
    53575504                        _c("td", { staticClass: "price" }, [
    53585505                          _vm._v(
    5359                             "-" + _vm._s(_vm.formatPrice(Math.abs(fee.total)))
     5506                            _vm._s(_vm.formatPrice(_vm.printdata.changeamount))
    53605507                          )
    53615508                        ])
    5362                       ]
    5363                 ],
    5364                 2
    5365               )
    5366             }),
    5367             _vm._v(" "),
    5368             _vm.printdata.taxtotal
    5369               ? _c("tr", [
    5370                   _c("td", { staticClass: "name", attrs: { colspan: "2" } }, [
    5371                     _vm._v(_vm._s(_vm.__("Tax", "wepos")))
    5372                   ]),
    5373                   _vm._v(" "),
    5374                   _c("td", { staticClass: "price" }, [
    5375                     _vm._v(_vm._s(_vm.formatPrice(_vm.printdata.taxtotal)))
    5376                   ])
    5377                 ])
    5378               : _vm._e(),
    5379             _vm._v(" "),
    5380             _c("tr", [
    5381               _c("td", { staticClass: "name", attrs: { colspan: "2" } }, [
    5382                 _vm._v(_vm._s(_vm.__("Order Total", "wepos")))
    5383               ]),
    5384               _vm._v(" "),
    5385               _c("td", { staticClass: "price" }, [
    5386                 _vm._v(_vm._s(_vm.formatPrice(_vm.printdata.ordertotal)))
    5387               ])
    5388             ]),
    5389             _vm._v(" "),
    5390             _vm._m(0),
    5391             _vm._v(" "),
    5392             _c("tr", [
    5393               _c("td", { attrs: { colspan: "2" } }, [
    5394                 _vm._v(_vm._s(_vm.__("Payment method", "wepos")))
    5395               ]),
    5396               _vm._v(" "),
    5397               _c("td", { staticClass: "price" }, [
    5398                 _vm._v(_vm._s(_vm.printdata.gateway.title || ""))
    5399               ])
    5400             ]),
    5401             _vm._v(" "),
    5402             (_vm.printdata.gateway.id = "wepos_cash")
    5403               ? [
    5404                   _c("tr", [
    5405                     _c("td", { attrs: { colspan: "2" } }, [
    5406                       _vm._v(_vm._s(_vm.__("Cash Given", "wepos")))
    5407                     ]),
    5408                     _vm._v(" "),
    5409                     _c("td", { staticClass: "price" }, [
    5410                       _vm._v(_vm._s(_vm.formatPrice(_vm.printdata.cashamount)))
    5411                     ])
    5412                   ]),
    5413                   _vm._v(" "),
    5414                   _c("tr", [
    5415                     _c("td", { attrs: { colspan: "2" } }, [
    5416                       _vm._v(_vm._s(_vm.__("Change Money", "wepos")))
    5417                     ]),
    5418                     _vm._v(" "),
    5419                     _c("td", { staticClass: "price" }, [
    5420                       _vm._v(
    5421                         _vm._s(_vm.formatPrice(_vm.printdata.changeamount))
    5422                       )
    5423                     ])
    5424                   ])
    5425                 ]
    5426               : _vm._e()
    5427           ],
    5428           2
    5429         )
     5509                      ])
     5510                    ]
     5511                  : _vm._e()
     5512              ],
     5513              2
     5514            )
     5515          ])
     5516        ]),
     5517        _vm._v(" "),
     5518        _c("div", {
     5519          staticClass: "footer",
     5520          domProps: {
     5521            innerHTML: _vm._s(_vm.settings.wepos_receipts.receipt_footer)
     5522          }
     5523        })
    54305524      ])
    5431     ]),
    5432     _vm._v(" "),
    5433     _c("div", {
    5434       staticClass: "footer",
    5435       domProps: { innerHTML: _vm._s(_vm.settings.receipt_footer) }
    5436     })
    5437   ])
     5525    : _vm._e()
    54385526}
    54395527var staticRenderFns = [
     
    67796867                        "tbody",
    67806868                        [
    6781                           _c("tr", [
     6869                          _c("tr", { staticClass: "cart-meta-data" }, [
    67826870                            _c("td", { staticClass: "label" }, [
    6783                               _vm._v(_vm._s(_vm.__("Subtotal", "wepos")))
     6871                              _vm._v(
     6872                                "\n                                    " +
     6873                                  _vm._s(_vm.__("Subtotal", "wepos")) +
     6874                                  "\n                                    "
     6875                              ),
     6876                              _vm.settings.woo_tax.wc_tax_display_cart ==
     6877                                "incl" &&
     6878                              _vm.$store.getters["Cart/getTotalLineTax"] > 0
     6879                                ? _c("span", { staticClass: "name" }, [
     6880                                    _vm._v(
     6881                                      "\n                                        " +
     6882                                        _vm._s(
     6883                                          _vm.__("Includes Tax", "wepos")
     6884                                        ) +
     6885                                        " " +
     6886                                        _vm._s(
     6887                                          _vm.formatPrice(
     6888                                            _vm.$store.getters[
     6889                                              "Cart/getTotalLineTax"
     6890                                            ]
     6891                                          )
     6892                                        ) +
     6893                                        "\n                                    "
     6894                                    )
     6895                                  ])
     6896                                : _vm._e()
    67846897                            ]),
    67856898                            _vm._v(" "),
     
    78397952                          _c("li", { staticClass: "wepos-clearfix" }, [
    78407953                            _c("span", { staticClass: "wepos-left" }, [
    7841                               _vm._v(_vm._s(_vm.__("Subtotal", "wepos")))
     7954                              _vm._v(
     7955                                "\n                                    " +
     7956                                  _vm._s(_vm.__("Subtotal", "wepos")) +
     7957                                  "\n                                    "
     7958                              ),
     7959                              _vm.settings.woo_tax.wc_tax_display_cart == "incl"
     7960                                ? _c("span", { staticClass: "metadata" }, [
     7961                                    _vm._v(
     7962                                      "\n                                        " +
     7963                                        _vm._s(
     7964                                          _vm.__("Includes Tax", "wepos")
     7965                                        ) +
     7966                                        " " +
     7967                                        _vm._s(
     7968                                          _vm.formatPrice(
     7969                                            _vm.$store.getters[
     7970                                              "Cart/getTotalLineTax"
     7971                                            ]
     7972                                          )
     7973                                        ) +
     7974                                        "\n                                    "
     7975                                    )
     7976                                  ])
     7977                                : _vm._e()
    78427978                            ]),
    78437979                            _vm._v(" "),
     
    82468382              }
    82478383            ],
    8248             attrs: {
    8249               printdata: _vm.printdata,
    8250               settings: _vm.settings.wepos_receipts
    8251             }
     8384            attrs: { printdata: _vm.printdata, settings: _vm.settings }
    82528385          })
    82538386        : _vm._e(),
  • wepos/trunk/assets/js/frontend.min.js

    r2128862 r2162804  
    1 pluginWebpack([0],Array(27).concat([function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o(s(28)),i=o(s(30));function o(t){return t&&t.__esModule?t:{default:t}}var r=wepos_get_lib("Vue"),n=wepos_get_lib("Vuex");r.use(n),e.default=new n.Store({modules:{Cart:a.default,Order:i.default}})},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,i=s(29),o=(a=i)&&a.__esModule?a:{default:a};e.default={namespaced:!0,state:{cartdata:{line_items:[],fee_lines:[]}},getters:{getSubtotal:function(t){var e=0;return weLo_.forEach(t.cartdata.line_items,function(t,s){t.on_sale?e+=t.quantity*t.sale_price:e+=t.quantity*t.regular_price}),e},getTotalFee:function(t){var e=0;return weLo_.forEach(t.cartdata.fee_lines,function(t,s){"fee"==t.type&&(e+=Math.abs(t.total))}),e},getTotalDiscount:function(t){var e=0;return weLo_.forEach(t.cartdata.fee_lines,function(t,s){"discount"==t.type&&(e+=Number(Math.abs(t.total)))}),e},getTotalTax:function(t){var e=this,s=0,a=0;return weLo_.forEach(t.cartdata.line_items,function(t,e){s+=Math.abs(t.tax_amount*t.quantity)}),weLo_.forEach(t.cartdata.fee_lines,function(t,s){if("fee"==t.type&&"taxable"==t.tax_status){var i=""===t.tax_class?"standard":t.tax_class,o=weLo_.find(e.availableTax,{class:i.toString()});void 0!==o&&(a+=Math.abs(t.total)*Math.abs(o.rate)/100)}}),s+a},getOrderTotal:function(t,e){return e.getSubtotal+e.getTotalFee+e.getTotalTax},getTotal:function(t,e){return e.getOrderTotal-e.getTotalDiscount}},mutations:{setCartData:function(t,e){weLo_.isEmpty(e)?t.cartdata={line_items:[],fee_lines:[]}:t.cartdata=Object.assign({},e)},addToCartItem:function(t,e){var s={};s.product_id=0===e.parent_id?e.id:e.parent_id,s.name=e.name,s.quantity=1,s.regular_price=e.regular_display_price,s.sale_price=e.sales_display_price,s.on_sale=e.on_sale,s.attribute=e.attributes,s.variation_id=0!==e.parent_id?e.id:0,s.editQuantity=!1,s.type=e.type,s.tax_amount=e.tax_amount,s.manage_stock=e.manage_stock,s.stock_status=e.stock_status,s.backorders_allowed=e.backorders_allowed,s.stock_quantity=e.stock_quantity;var a=weLo_.findIndex(t.cartdata.line_items,{product_id:s.product_id,variation_id:s.variation_id});a<0?o.default.hasStock(e)&&t.cartdata.line_items.push(s):o.default.hasStock(e,t.cartdata.line_items[a].quantity)&&(t.cartdata.line_items[a].quantity+=1)},removeCartItem:function(t,e){t.cartdata.line_items.splice(e,1)},addCartItemQuantity:function(t,e){var s=t.cartdata.line_items[e];o.default.hasStock(s,s.quantity)&&t.cartdata.line_items[e].quantity++},removeCartItemQuantity:function(t,e){t.cartdata.line_items[e].quantity<=1?t.cartdata.line_items[e].quantity=1:t.cartdata.line_items[e].quantity--},toggleEditQuantity:function(t,e){t.cartdata.line_items[e].editQuantity=!t.cartdata.line_items[e].editQuantity},addDiscount:function(t,e){t.cartdata.fee_lines.push({name:e.title,type:"discount",value:e.value.toString(),isEdit:!1,discount_type:e.type,tax_status:"none",tax_class:"",total:0})},addFee:function(t,e){t.cartdata.fee_lines.push({name:e.title,type:"fee",value:e.value.toString(),isEdit:!1,fee_type:e.type,tax_status:"none",tax_class:"",total:0})},saveFeeValue:function(t,e){t.cartdata.fee_lines.splice(e.key,1,e.feeData),t.cartdata.fee_lines[e.key].isEdit=!1},editFeeValue:function(t,e){t.cartdata.fee_lines[e].isEdit=!0},cancelSaveFeeValue:function(t,e){t.cartdata.fee_lines[e].isEdit=!1},removeFeeLineItems:function(t,e){t.cartdata.fee_lines.splice(e,1)},emptyCart:function(t){t.cartdata={line_items:[],fee_lines:[]}},calculateDiscount:function(t,e){t.cartdata.fee_lines.length>0&&weLo_.forEach(t.cartdata.fee_lines,function(s,a){"discount"==s.type&&("percent"==s.discount_type?t.cartdata.fee_lines[a].total="-"+e.getSubtotal*Math.abs(s.value)/100:t.cartdata.fee_lines[a].total="-"+Math.abs(s.value))})},calculateFee:function(t,e){t.cartdata.fee_lines.length>0&&weLo_.forEach(t.cartdata.fee_lines,function(s,a){"fee"==s.type&&("percent"==s.fee_type?t.cartdata.fee_lines[a].total=(e.getSubtotal*Math.abs(s.value)/100).toString():t.cartdata.fee_lines[a].total=Math.abs(s.value).toString())})}},actions:{setCartDataAction:function(t,e){t.commit("setCartData",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},addToCartAction:function(t,e){t.commit("addToCartItem",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},removeCartItemAction:function(t,e){t.commit("removeCartItem",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},addItemQuantityAction:function(t,e){t.commit("addCartItemQuantity",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},removeItemQuantityAction:function(t,e){t.commit("removeCartItemQuantity",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},toggleEditQuantityAction:function(t,e){t.commit("toggleEditQuantity",e)},addDiscountAction:function(t,e){t.commit("addDiscount",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},addFeeAction:function(t,e){t.commit("addFee",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},removeFeeLineItemsAction:function(t,e){t.commit("removeFeeLineItems",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},saveFeeValueAction:function(t,e){t.commit("saveFeeValue",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},editFeeValueAction:function(t,e){t.commit("editFeeValue",e)},cancelSaveFeeValueAction:function(t,e){t.commit("cancelSaveFeeValue",e)},emptyCartAction:function(t){t.commit("emptyCart")},calculateDiscount:function(t){t.commit("calculateDiscount",t.getters)},calculateFee:function(t){t.commit("calculateFee",t.getters)}}}},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={hasStock:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.manage_stock?!!t.backorders_allowed||t.stock_quantity>e:"outofstock"!=t.stock_status}}},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={namespaced:!0,state:{orderdata:{billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},getters:{},mutations:{setOrderData:function(t,e){weLo_.isEmpty(e)?t.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}:t.orderdata=e},setCustomer:function(t,e){Object.keys(e).length>0?(t.orderdata.billing=e.billing,t.orderdata.shipping=e.shipping,t.orderdata.customer_id=e.id):(t.orderdata.billing={},t.orderdata.shipping={},t.orderdata.customer_id=0)},emptyOrderdata:function(t){t.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},setCustomerNote:function(t,e){t.orderdata.customer_note=e.trim()},removeCustomerNote:function(t){t.orderdata.customer_note=""},setGateway:function(t,e){t.orderdata.payment_method=e.id,t.orderdata.payment_method_title=e.title}},actions:{setOrderDataAction:function(t,e){t.commit("setOrderData",e)},setCustomerAction:function(t,e){t.commit("setCustomer",e)},emptyOrderdataAction:function(t){t.commit("emptyOrderdata")},setCustomerNoteAction:function(t,e){t.commit("setCustomerNote",e)},removeCustomerNoteAction:function(t){t.commit("removeCustomerNote")},setGatewayAction:function(t,e){t.commit("setGateway",e)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){"use strict";e.a={name:"App"}},function(t,e,s){"use strict";var a=s(146),i=s(149),o=s(152),r=s(155),n=s(69),c=s.n(n),l=s(162),u=s(165),d=s(168);let p=wepos_get_lib("Modal");e.a={name:"Home",components:{ProductSearch:i.a,CustomerSearch:o.a,Overlay:a.a,Modal:p,MugenScroll:c.a,FeeKeypad:r.a,PrintReceipt:l.a,PrintReceiptHtml:u.a,CustomerNote:d.a},data:()=>({showHelp:!1,showQucikMenu:!1,productView:"grid",productLoading:!1,viewVariationPopover:!1,showModal:!1,showPaymentReceipt:!1,products:[],filteredProducts:[],totalPages:1,page:1,showOverlay:!1,selectedVariationProduct:{},attributeDisabled:!0,selectedAttribute:{},availableGateways:[],emptyGatewayDiv:0,cashAmount:"",availableTax:[],settings:{},printdata:wepos.hooks.applyFilters("wepos_initial_print_data",{gateway:{id:"",title:""}}),feeData:{},createprintreceipt:!1,selectedCategory:"",selectedGateway:"",categories:[],showReceiptHtml:wepos.hooks.applyFilters("wepos_render_receipt_html",!0),quickLinkList:wepos.hooks.applyFilters("wepos_quick_links",[]),quickLinkListStart:wepos.hooks.applyFilters("wepos_quick_links_start",[]),availableGatewayContent:wepos.hooks.applyFilters("wepos_avaialable_gateway_content",[]),afterMainContents:wepos.hooks.applyFilters("wepos_after_main_content",[]),beforCartPanels:wepos.hooks.applyFilters("wepos_before_cart_panel",[])}),computed:{cartdata(){return this.$store.state.Cart.cartdata},orderdata(){return this.$store.state.Order.orderdata},hotkeys(){return{f3:this.toggleProductView,f9:this.initPayment,f10:this.processPayment,f8:this.createNewSale,"shift+f8":this.emptyCart,esc:this.backToSale,"meta+/":this.openHelp,"ctrl+/":this.openHelp}},getFilteredProduct(){return void 0!==this.$route.query.category?this.products.filter(t=>{var e=weLo_.find(t.categories,{id:parseInt(this.$route.query.category)});return void 0!=e&&Object.keys(e).length>0}):this.products},changeAmount(){var t=this.cashAmount-this.$store.getters["Cart/getTotal"];return t>0?t:0},getBreadCrums(){if(void 0!==this.$route.query.category){var t=jQuery.extend(!0,[],this.categories),e=weLo_.find(this.categories,{id:parseInt(this.$route.query.category)}),s=weLo_.findIndex(this.categories,e),a=t.splice(0,s+1),i=[];if(a.length>0){for(var o=a.length-1;o>=0;o--)if(i.length>0){var r=weLo_.find(a,{id:a[o+1].parent_id});if(void 0!=r&&(i.push(r),null==r.parent_id))break}else i.push(a[o]);return i.slice().reverse()}}return[]}},watch:{selectedAttribute(t,e){Object.keys(t).length==this.selectedVariationProduct.attributes.length&&(this.attributeDisabled=!1)},"$route.query.order_key"(){""!=this.$route.query.order_key&&"success"==this.$route.query.payment&&(this.showModal=!1,this.showPaymentReceipt=!0)},"$route.query.category"(){this.selectedCategory={id:-1,level:0,name:this.__("All categories","wepos"),parent_id:null},void 0!==this.$route.query.category&&(this.selectedCategory=weLo_.find(this.categories,{id:parseInt(this.$route.query.category)}))},selectedGateway(t,e){var s=weLo_.find(this.availableGateways,{id:t});this.$store.dispatch("Order/setGatewayAction",s)}},methods:{openQucikMenu(){this.showQucikMenu=!0},openHelp(t){t.preventDefault(),this.showHelp=!0,this.showQucikMenu=!1},closeHelp(){this.showHelp=!1},addCustomerNote(t){this.$store.dispatch("Order/setCustomerNoteAction",t)},removeCustomerNote(){this.$store.dispatch("Order/removeCustomerNoteAction")},removeBreadcrums(){this.$router.push({name:"Home"})},logout(){wepos.hooks.doAction("wepos_before_logout"),window.location.href=wepos.logout_url.toString()},emptyCart(){this.$store.dispatch("Cart/emptyCartAction"),this.$store.dispatch("Order/emptyOrderdataAction"),this.printdata=wepos.hooks.applyFilters("wepos_initial_print_data",{gateway:{id:"",title:""}}),this.showPaymentReceipt=!1,this.cashAmount="",this.eventBus.$emit("emptycart",this.orderdata),this.showQucikMenu=!1},toggleProductView(t){t.preventDefault(),this.productView="grid"==this.productView?"list":"grid"},createNewSale(){this.$router.push({name:"Home"}),this.emptyCart()},ableToProcess(){return this.cartdata.line_items.length>0&&this.isSelectGateway()},processPayment(t){if(t.preventDefault(),this.ableToProcess()){weLo_.find(this.availableGateways,{id:this.orderdata.payment_method});var e=wepos.hooks.applyFilters("wepos_order_form_data",{billing:this.orderdata.billing,shipping:this.orderdata.shipping,line_items:this.cartdata.line_items,fee_lines:this.cartdata.fee_lines,customer_id:this.orderdata.customer_id,customer_note:this.orderdata.customer_note,payment_method:this.orderdata.payment_method,payment_method_title:this.orderdata.payment_method_title,meta_data:[{key:"_wepos_is_pos_order",value:!0},{key:"_wepos_cash_tendered_amount",value:this.cashAmount.toString()},{key:"_wepos_cash_change_amount",value:this.changeAmount.toString()}]},this.orderdata,this.cartdata),s=jQuery(".wepos-checkout-wrapper .right-content").find(".content");s.block({message:null,overlayCSS:{background:"#fff url("+wepos.ajax_loader+") no-repeat center",opacity:.4}}),wepos.api.post(wepos.rest.root+wepos.rest.wcversion+"/orders",e).done(t=>{wepos.api.post(wepos.rest.root+wepos.rest.posversion+"/payment/process",t).done(a=>{"success"==a.result?(this.$router.push({name:"Home",query:{order_key:t.order_key,payment:"success"}}),this.printdata=wepos.hooks.applyFilters("wepos_after_payment_print_data",{line_items:this.cartdata.line_items,fee_lines:this.cartdata.fee_lines,subtotal:this.$store.getters["Cart/getSubtotal"],taxtotal:this.$store.getters["Cart/getTotalTax"],ordertotal:this.$store.getters["Cart/getTotal"],gateway:{id:t.payment_method,title:t.payment_method_title},order_id:t.id,order_date:t.date_created,cashamount:this.cashAmount.toString(),changeamount:this.changeAmount.toString()},e)):s.unblock()}).fail(t=>{s.unblock(),alert(t.responseJSON.message)})}).fail(t=>{s.unblock(),alert(t.responseJSON.message)})}},initPayment(){this.showModal=!0,this.$store.dispatch("Order/setGatewayAction",this.availableGateways[0]),this.selectedGateway=this.availableGateways[0].id},backToSale(){this.showModal=!1,this.showHelp=!1},isSelectGateway(){return!(void 0==this.orderdata.payment_method||""==this.orderdata.payment_method)},getProductImage:t=>t.images.length>0?t.images[0].woocommerce_thumbnail:wepos.placeholder_image,getProductImageName:t=>t.images.length>0?t.images[0].name:t.name,setDiscount(t,e){this.$store.dispatch("Cart/addDiscountAction",{title:this.__("Discount","wepos"),value:t,type:e})},saveFee(t){this.$store.dispatch("Cart/saveFeeValueAction",{key:t,feeData:this.feeData}),this.feeData={}},cancelEditFee(t){this.$store.dispatch("Cart/cancelSaveFeeValueAction",t),this.feeData={}},editFeeData(t){this.$store.dispatch("Cart/editFeeValueAction",t),this.feeData=Object.assign({},this.cartdata.fee_lines[t]),this.$nextTick(()=>{jQuery(this.$refs.fee_name).focus()})},setFee(t,e){this.$store.dispatch("Cart/addFeeAction",{title:this.__("Fee","wepos"),value:t,type:e})},removeFeeLine(t){this.$store.dispatch("Cart/removeFeeLineItemsAction",t)},fetchProducts(){1==this.page&&(this.productLoading=!0),this.totalPages>=this.page?wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/products?status=publish&per_page=30&page="+this.page).done((t,e,s)=>{this.products=this.products.concat(t),this.page+=1,this.totalPages=parseInt(s.getResponseHeader("X-WP-TotalPages")),this.productLoading=!1}).then((t,e,s)=>{this.fetchProducts()}):this.productLoading=!1},maybeRemoveDeletedProduct:t=>new Promise((e,s)=>{if(!t)return e(t);if(!t.line_items||t.line_items.length<1)return e(t);let a=t.line_items.map(t=>t.product_id);wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/products?include="+a.toString()).then(s=>{let a=s.map(t=>t.id);return t.line_items.forEach((e,s)=>{a.includes(e.product_id)||(t.line_items.splice(s,1),localStorage.setItem("cartdata",JSON.stringify(t)))}),e(t)}).fail(()=>s(t))}),selectCustomer(t){this.$store.dispatch("Order/setCustomerAction",t)},selectVariationProduct(t){this.viewVariationPopover=!0,this.selectedVariationProduct=t},addVariationProduct(){var t=this.findMatchingVariations(this.selectedVariationProduct.variations,this.selectedAttribute)[0];t.parent_id=this.selectedVariationProduct.id,t.type=this.selectedVariationProduct.type,t.name=this.selectedVariationProduct.name,t.type=this.selectedVariationProduct.type,this.selectedAttribute={},this.attributeDisabled=!0,this.$store.dispatch("Cart/addToCartAction",t)},addToCart(t){this.$store.dispatch("Cart/addToCartAction",t)},toggleEditQuantity(t,e){this.$store.dispatch("Cart/toggleEditQuantityAction",e)},removeItem(t){this.$store.dispatch("Cart/removeCartItemAction",t)},addQuantity(t,e){this.$store.dispatch("Cart/addItemQuantityAction",e)},removeQuantity(t,e){this.$store.dispatch("Cart/removeItemQuantityAction",e)},fetchGateway(){wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/payment/gateways").done(t=>{this.availableGateways=t,this.emptyGatewayDiv=4-this.availableGateways.length%4})},truncateTitle:(t,e)=>weLo_.truncate(t,{length:e}),unSanitizeString:t=>t.split("-").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join(" "),fetchSettings(){wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/settings").done(t=>{this.settings=t})},fetchTaxes(){wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/taxes").done(t=>{this.availableTax=t})},handleCategorySelect(t,e){"-1"==t.id?this.$router.push({name:"Home"}):this.$router.push({name:"Home",query:{category:t.id}})},handleCategoryRemove(t,e){this.$router.push({name:"Home"}),this.selectedCategory={id:-1,level:0,name:this.__("All categories","wepos"),parent_id:null}},fetchCategories(){var t,e;wepos.api.get(wepos.rest.root+wepos.rest.wcversion+"/products/categories?hide_empty=true&_fields=id,name,parent_id&per_page=100").then(s=>{s.sort(function(t,e){return t.name.localeCompare(e.name)});var a=(t=[],e={},s.forEach(function(s){e[s.id]={response:s,children:e[s.id]&&e[s.id].children},null===s.parent_id?t.push(e[s.id]):(e[s.parent_id]=e[s.parent_id]||{},e[s.parent_id].children=e[s.parent_id].children||[],e[s.parent_id].children.push(e[s.id]))}),t),i={id:-1,level:0,name:this.__("All categories","wepos"),parent_id:null},o=a.reduce(function t(e){return function(s,a){return a.response.level=e,s.concat(a.response,(a.children||[]).reduce(t(e+1),[]))}}(0),[]);this.categories=o,this.categories.unshift(i),this.selectedCategory=i,void 0!==this.$route.query.category&&(this.selectedCategory=weLo_.find(s,{id:parseInt(this.$route.query.category)}))})},filterProducts(){this.products=this.products.filter(t=>weLo_.findIndex(t.categories,{id:this.$route.query.category})>0)}},async created(){if(this.fetchSettings(),this.fetchTaxes(),this.fetchProducts(),this.fetchGateway(),this.fetchCategories(),"undefined"!=typeof localStorage)try{var t=JSON.parse(localStorage.getItem("cartdata")),e=JSON.parse(localStorage.getItem("orderdata"));t=await this.maybeRemoveDeletedProduct(t),this.$store.dispatch("Cart/setCartDataAction",t),this.$store.dispatch("Order/setOrderDataAction",e)}catch(t){e=JSON.parse(localStorage.getItem("orderdata"));this.$store.dispatch("Cart/setCartDataAction",t),this.$store.dispatch("Order/setOrderDataAction",e)}window.addEventListener("beforeunload",()=>{"undefined"!=typeof localStorage&&(localStorage.setItem("cartdata",JSON.stringify(this.$store.state.Cart.cartdata)),localStorage.setItem("orderdata",JSON.stringify(this.$store.state.Order.orderdata)))},!1)}}},function(t,e,s){"use strict";e.a={name:"Overlay",props:{show:{type:Boolean}}}},function(t,e,s){"use strict";var a=s(64),i=s(26);s.n(i);let o=wepos_get_lib("Modal");e.a={name:"ProductInlineSearch",props:{products:{type:Array,default:()=>[]},settings:{type:Object,default:()=>({})}},components:{Modal:o,KeyboardControl:a.a},data:()=>({showResults:!1,showVariationModal:!1,mode:"scan",serachInput:"",searchableProduct:[],selectedVariationProduct:{},attributeDisabled:!0,chosenAttribute:{}}),computed:{placeholder(){return"scan"==this.mode?this.__("Scan your product","wepos"):this.__("Search product by typing","wepos")},hotkeys(){return{f1:this.changeProductSearch,f2:this.changeScan,esc:this.searchClose}}},watch:{chosenAttribute(t,e){Object.keys(t).length==this.selectedVariationProduct.attributes.length&&(this.attributeDisabled=!1)}},methods:{changeScan(t){t.preventDefault(),this.changeMode("scan")},changeProductSearch(t){t.preventDefault(),this.changeMode("product")},searchClose(){this.showResults=!1,this.showVariationModal=!1,this.changeMode("scan"),this.$refs.productSearch.blur()},selectedHandler(t){var e=this.searchableProduct[t];"simple"==e.type?this.addToCartAction(e):this.selectVariation(e)},onKeyDown(){jQuery(".product-search-item.selected").next().children("a").focus()},onKeyUp(){jQuery(".product-search-item.selected").prev().children("a").focus()},triggerFocus(){this.showResults=!0,this.$emit("onfocus")},outside(){this.showResults=!1,this.$emit("onblur")},changeMode(t){this.mode=t,"scan"==this.mode&&(this.searchableProduct=[],this.showResults=!1),this.$refs.productSearch.focus()},handleProductScan(){if("product"!=this.mode){var t=this.settings.wepos_general,e="custom"==t.barcode_scanner_field?"barcode":t.barcode_scanner_field,s={},a=this.products.filter(t=>{if("simple"==t.type&&t[e].toString()==this.serachInput)return!0;if("variable"==t.type){var s=!1;if(t.variations.length>0&&weLo_.forEach(t.variations,(t,a)=>{t[e].toString()==this.serachInput&&(s=!0)}),s)return!0}return!1});if(a.length>0)if("variable"==(a=a[0]).type)(s=a.variations.filter(t=>t[e].toString()==this.serachInput)[0]).parent_id=a.id,s.type=a.type,s.name=a.name,this.$emit("onProductAdded",s);else this.$emit("onProductAdded",a);this.serachInput=""}},searchProduct(t){this.serachInput&&"product"==this.mode&&(this.searchableProduct=this.products.filter(t=>-1!=t.id.toString().indexOf(this.serachInput)||(-1!=t.name.toString().toLowerCase().indexOf(this.serachInput.toLowerCase())||-1!=t.sku.indexOf(this.serachInput))))},selectVariation(t){this.selectedVariationProduct=t,this.showVariationModal=!0},addVariationProduct(){var t=this.findMatchingVariations(this.selectedVariationProduct.variations,this.chosenAttribute)[0];t.parent_id=this.selectedVariationProduct.id,t.type=this.selectedVariationProduct.type,t.name=this.selectedVariationProduct.name,this.$emit("onProductAdded",t),this.showVariationModal=!1,this.chosenAttribute={}},addToCartAction(t){this.$emit("onProductAdded",t)}},mounted(){this.$refs.productSearch.focus()}}},function(t,e,s){"use strict";var a=s(65),i=s(0)(a.a,null,!1,null,null,null);i.options.__file="assets/src/frontend/components/KeyboardControl.vue",e.a=i.exports},function(t,e,s){"use strict";e.a={props:{listLength:Number},data:()=>({selectedIndex:0}),render(t){return t("ul",this.$scopedSlots.default({selectedIndex:this.selectedIndex}))},methods:{keyHandler(t){const e=t.which||t.keyCode;38===e||t.shiftKey&&9===e?(this.handleKeyUp(t),this.$emit("key-up")):40===e||9===e?(this.handleKeyDown(t),this.$emit("key-down")):13===e&&this.handleEnter(t)},handleEnter(t){t.preventDefault(),this.$emit("selected",this.selectedIndex)},handleKeyUp(t){t.preventDefault(),this.selectedIndex<=0?this.selectedIndex=this.listLength-1:this.selectedIndex>0&&this.selectedIndex<=this.listLength-1&&this.selectedIndex--},handleKeyDown(t){t.preventDefault(),this.selectedIndex<0||this.selectedIndex===this.listLength-1?this.selectedIndex=0:this.selectedIndex>=0&&this.selectedIndex<this.listLength-1&&this.selectedIndex++},addKeyHandler(t){window.addEventListener("keydown",this.keyHandler)},removeKeyHandler(){window.removeEventListener("keydown",this.keyHandler)}},created(){this.addKeyHandler()},destroyed(){this.removeKeyHandler()}}},function(t,e,s){"use strict";var a=s(64);let i=wepos_get_lib("Modal");e.a={name:"CustomerSearch",components:{Modal:i,KeyboardControl:a.a},data:()=>({submitDisable:!1,customers:[],customer:{email:"",first_name:"",last_name:"",address_1:"",address_2:"",country:"",state:"",postcode:"",city:"",phone:""},showCustomerResults:!1,serachInput:"",showNewCustomerModal:!1,stateList:[],selectedState:null,selectedCountry:null,isDisabled:!0}),computed:{hotkeys(){return{f7:this.focusCustomerSearch,"shift+f7":this.addNewCustomer,esc:this.searchClose}},getCountryList:()=>Object.keys(wepos.countries).map(t=>({code:t,name:wepos.countries[t]})),orderdata(){return this.$store.state.Order.orderdata}},watch:{customer:{handler(t){this.isDisabled=!0,void 0!==t.first_name&&""!=t.first_name.trim()&&void 0!==t.last_name&&""!=t.last_name.trim()&&void 0!==t.email&&""!=t.email.trim()&&(this.isDisabled=!1)},deep:!0},"orderdata.customer_id"(t){this.serachInput=t?this.orderdata.billing.first_name+" "+this.orderdata.billing.last_name:""}},methods:{focusCustomerSearch(t){t.preventDefault(),this.$refs.customerSearch.focus()},searchClose(){this.showCustomerResults=!1,this.serachInput="",this.showNewCustomerModal=!1,this.$refs.customerSearch.blur()},addNewCustomer(){this.showNewCustomerModal=!0},selectedHandler(t){var e=this.customers[t];this.selectCustomer(e)},onKeyDown(){jQuery(".customer-search-item.selected").next().children("a").focus()},onKeyUp(){jQuery(".customer-search-item.selected").prev().children("a").focus()},triggerFocus(){this.showCustomerResults=!0,this.$emit("onfocus")},onblur(){this.showCustomerResults=!1,this.$emit("onblur")},closeNewCustomerModal(){this.customer={email:"",first_name:"",last_name:"",address_1:"",address_2:"",country:"",state:"",postcode:"",city:"",phone:""},this.selectedState=null,this.selectedCountry=null,this.showNewCustomerModal=!1},searchCustomer(){this.serachInput?wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/customers?search="+this.serachInput).done(t=>{this.customers=t}):this.$emit("onCustomerSelected",{})},selectCustomer(t){this.$emit("onCustomerSelected",t),this.serachInput=t.first_name+" "+t.last_name,this.showCustomerResults=!1},createCustomer(){if(this.customer.email){var t={email:this.customer.email,first_name:this.customer.first_name,last_name:this.customer.last_name,username:this.customer.email,password:this.generatePassword(20),billing:{first_name:this.customer.first_name,last_name:this.customer.last_name,address_1:this.customer.address_1,address_2:this.customer.address_2,country:null!==this.selectedCountry?this.selectedCountry.code:"",state:null!==this.selectedState?this.selectedState.code:this.customer.state,postcode:this.customer.postcode,city:this.customer.city,phone:this.customer.phone,email:this.customer.email}},e=jQuery(".wepos-new-customer-form");e.block({message:null,overlayCSS:{background:"#fff url("+wepos.ajax_loader+") no-repeat center",opacity:.4}}),wepos.api.post(wepos.rest.root+wepos.rest.posversion+"/customers",t).done(t=>{this.serachInput=t.first_name+" "+t.last_name,this.$emit("onCustomerSelected",t),e.unblock(),this.closeNewCustomerModal()}).fail(t=>{e.unblock(),alert(t.responseJSON.message)})}else alert(this.__("Please enter an email address for customer","wepos"))},removeCountrySelect(t,e){this.selectedState=null,this.selectedCountry=null,this.stateList=[],this.customer.country="",this.customer.state=""},removeStateSelect(t,e){this.selectedState=null,this.customer.state=""},handleCountrySelect(t,e){var s=void 0!==wepos.states[t.code]?wepos.states[t.code]:[],a=Object.keys(s);a.length>0?this.stateList=a.map(t=>({code:t,name:s[t]})):(this.stateList=s,this.selectedState=null)},generatePassword(t){for(var e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",s="",a=0,i=e.length;a<t;++a)s+=e.charAt(Math.floor(Math.random()*i));return s}},created(){this.eventBus.$on("emptycart",t=>{this.serachInput=""});var t=JSON.parse(localStorage.getItem("orderdata"));void 0!=t.customer_id&&0!=t.customer_id&&(this.serachInput=t.billing.first_name+" "+t.billing.last_name)}}},function(t,e,s){"use strict";var a=s(157);e.a={name:"FeeKeypad",components:{keyboard:a.a},computed:{hotkeys(){return{discount:{f4:this.showFeeKeypad,esc:this.hideFeeKepad},fee:{f5:this.showFeeKeypad,esc:this.hideFeeKepad}}[this.shortKey]}},props:{name:{type:String,default:"Fee"},className:{type:String,default:""},shortKey:{type:String,default:""}},data:()=>({input:"",displayValue:"",viewFeeKeypad:!1}),methods:{hideFeeKepad(t){this.viewFeeKeypad=!1},layout(){return'123|456|789|{<span class="keypord-icon flaticon-backspace"></span>:backspace}0'+wepos.currency_format_decimal_sep+"|{% "+this.name+":percent}{"+wepos.currency_format_symbol+" "+this.name+":flat}"},percentFee(t){this.$emit("inputfee",t.value.toString(),"percent"),this.viewFeeKeypad=!1,this.input="",this.displayValue=""},flatFee(t){this.$emit("inputfee",t.value.toString(),"flat"),this.viewFeeKeypad=!1,this.input="",this.displayValue=""},change(t){isNaN(t)?(this.input=this.displayValue,""==this.displayValue&&(this.input="")):(this.displayValue=t,this.input=this.displayValue),jQuery(this.$refs.feeinput).focus(),""==this.input&&jQuery(this.$refs.feeinput).focus()},inputChange(){isNaN(this.displayValue)?this.displayValue=this.input:this.input=this.displayValue,""==this.input&&jQuery(this.$refs.feeinput).focus()},showFeeKeypad(t){t.preventDefault(),this.viewFeeKeypad=!0,setTimeout(()=>{jQuery(this.$refs.feeinput).focus()},500)}}}},function(t,e,s){"use strict";const a="7440011c983cf39ae730b1f831e2922ac5a76910",i="f630c4abcae620278f82e142a526ef325c2a773a",o="ad982c66898e02a5dab419ea7568421b03f68ee2";e.a={name:"keyboard",props:{value:{type:String,default:""},layouts:{type:[String,Array],required:!0},maxlength:{type:Number,default:0,validator:t=>t>=0},pattern:{type:String,default:null}},data:()=>({layout:0}),computed:{full(){return this.maxlength>0&&this.value.length>=this.maxlength},empty(){return 0===this.value.length},lines(){return(Array.isArray(this.layouts)?this.layouts:[this.layouts])[this.layout].replace("||",a).replace("{{",i).replace("}}",o).split("|")},buttons(){return this.lines.map(t=>{let e=[],s=null;return t.match(new RegExp(`(${i}|${o}|${a}|.)`,"g")).forEach(t=>{if("{"===t)s="";else if("}"===t){let t=s.split(":"),a=t.length>1?t[0]:"",i=t.length>1?t[1]:t[0],o=t.length>2?t[2]:null,r=null;r=["append","backspace","space","clear","goto"].indexOf(i)>=0?this[i].bind(this,o):this.$emit.bind(this,i,this),e.push({type:"action",action:{name:i.replace(/\s+/g,"-").toLowerCase(),callable:r},value:a,args:o}),s=null}else null!==s?s+=t:(t===a&&(t="|"),t===i&&(t="{"),t===o&&(t="}"),e.push({type:"char",action:{name:null,callable:this.append.bind(this,t)},value:t,args:null}))}),e})},valid(){return!this.pattern||this.value.match(new RegExp(this.pattern))}},methods:{mutate(t){this.maxlength>0&&(t=t.slice(0,this.maxlength)),this.$emit("input",t)},append(t){this.mutate(this.value+t)},backspace(){this.mutate(this.value.slice(0,this.value.length-1))},space(){this.append(" ")},goto(t){if(!Array.isArray(this.layouts))throw new Error("A single non-array layout was provided.");if(!(t>=0&&t<this.layouts.length))throw new Error("The requested layout does not exist.");this.layout=t},clear(){this.mutate("")}}}},,function(t,e,s){"use strict";e.a={name:"ReceiptPrint",methods:{printReceipt(){setTimeout(()=>{window.print()},500)}}}},function(t,e,s){"use strict";e.a={name:"ReceiptPrintHtml",props:{printdata:{type:Object,default:()=>({})},settings:{type:Object,default:()=>({})}},methods:{formatDate:t=>(t=new Date(t)).toLocaleString()}}},function(t,e,s){"use strict";e.a={data:()=>({viewNotePopover:!1,customerNote:""}),computed:{hotkeys(){return{f6:this.openNote,esc:this.closeNote}}},methods:{openNote(t){t.preventDefault(),this.viewNotePopover=!0,setTimeout(()=>{jQuery(this.$refs.customernote).focus()},500)},closeNote(){this.viewNotePopover=!1},addCustomerNote(){this.$emit("addnote",this.customerNote),this.viewNotePopover=!1,this.customerNote=""}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){"use strict";var a=r(s(139)),i=r(s(143)),o=r(s(27));function r(t){return t&&t.__esModule?t:{default:t}}var n=wepos_get_lib("Vue");n.config.productionTip=!1,new n({el:"#vue-frontend-app",router:i.default,store:o.default,render:function(t){return t(a.default)},created:function(){this.setLocaleData(wepos.i18n.wepos)}})},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(60),i=s(142),o=!1;var r=function(t){o||s(140)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/App.vue",e.default=n.exports},function(t,e){},,function(t,e,s){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"vue-frontend-app"}},[e("router-view")],1)};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,i=s(144),o=(a=i)&&a.__esModule?a:{default:a};var r=wepos_get_lib("Vue"),n=wepos_get_lib("Router");r.use(n),e.default=new n({routes:wepos.hooks.applyFilters("wepos_frontend_routes",[{path:"/",name:"Home",component:o.default}])})},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(61),i=s(171),o=!1;var r=function(t){o||s(145)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/Home.vue",e.default=n.exports},function(t,e){},function(t,e,s){"use strict";var a=s(62),i=s(148),o=!1;var r=function(t){o||s(147)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/Overlay.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return this.show?e("div",{staticClass:"overlay"}):this._e()};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},function(t,e,s){"use strict";var a=s(63),i=s(151),o=!1;var r=function(t){o||s(150)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/ProductSearch.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.outside,expression:"outside"}],staticClass:"search-box"},[s("form",{attrs:{action:"",autocomplete:"off"},on:{submit:function(e){e.preventDefault(),t.handleProductScan(e)}}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.serachInput,expression:"serachInput"}],ref:"productSearch",attrs:{type:"text",name:"search",id:"product-search",placeholder:t.placeholder},domProps:{value:t.serachInput},on:{focus:function(e){e.preventDefault(),t.triggerFocus(e)},keyup:function(e){e.preventDefault(),t.searchProduct(e)},input:function(e){e.target.composing||(t.serachInput=e.target.value)}}}),t._v(" "),"product"==t.mode?s("span",{staticClass:"search-icon flaticon-musica-searcher"}):t._e(),t._v(" "),"scan"==t.mode?s("span",{staticClass:"search-icon flaticon-supermarket-scanner"}):t._e(),t._v(" "),s("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"search-type"},[s("a",{class:{active:"product"==t.mode},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.changeMode("product")}}},[t._v(t._s(t.__("Product","wepos")))]),t._v(" "),s("a",{class:{active:"scan"==t.mode},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.changeMode("scan")}}},[t._v(t._s(t.__("Scan","wepos")))])]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.showResults&&"product"==t.mode,expression:"showResults && mode=='product'"}],staticClass:"search-result"},[t.searchableProduct.length?s("div",[s("keyboard-control",{attrs:{listLength:t.searchableProduct.length},on:{selected:t.selectedHandler,"key-down":t.onKeyDown,"key-up":t.onKeyUp},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.selectedIndex;return t._l(t.searchableProduct,function(e,i){return s("li",{key:i,staticClass:"product-search-item",class:{selected:i===a}},["simple"==e.type?[s("a",{staticClass:"wepos-clearfix",attrs:{href:"#"},on:{click:function(s){t.addToCartAction(e)}}},[t._v(t._s(e.name)+"\n                                    "),s("span",{staticClass:"price"},[t._v(t._s(t.formatPrice(e.price)))]),t._v(" "),e.sku?s("span",{staticClass:"sku"},[t._v(t._s(e.sku))]):t._e(),t._v(" "),s("span",{staticClass:"action flaticon-enter-arrow wepos-right"})])]:t._e(),t._v(" "),"variable"==e.type?[s("a",{attrs:{href:"#"},on:{click:function(s){s.preventDefault(),t.selectVariation(e)}}},[t._v(t._s(e.name)+"\n                                    "),s("span",{staticClass:"price"},[t._v(t._s(t.formatPrice(e.price)))]),t._v(" "),e.sku?s("span",{staticClass:"sku"},[t._v(t._s(e.sku))]):t._e(),t._v(" "),s("span",{staticClass:"action flaticon-enter-arrow wepos-right"})])]:t._e()],2)})}}])})],1):s("div",{staticClass:"no-data-found"},[t._v("\n                "+t._s(t.__("No product found","wepos"))+"\n            ")]),t._v(" "),s("div",{staticClass:"suggession"},[s("span",{staticClass:"term"},[s("span",{staticClass:"flaticon-swap"}),t._v(" "+t._s(t.__("to navigate","wepos"))+"\n                ")]),t._v(" "),s("span",{staticClass:"term"},[s("span",{staticClass:"flaticon-enter-arrow"}),t._v(" "+t._s(t.__("to select","wepos"))+"\n                ")]),t._v(" "),s("span",{staticClass:"term"},[s("strong",[t._v("esc")]),t._v(" "+t._s(t.__("to dismiss","wepos"))+"\n                ")])])])]),t._v(" "),t.showVariationModal?s("modal",{attrs:{title:t.__("Select Variations","wepos"),width:"500px",height:"auto",footer:!0,header:!0},on:{close:function(e){t.showVariationModal=!1}}},[s("template",{slot:"body"},t._l(t.selectedVariationProduct.attributes,function(e){return s("div",{staticClass:"variation-attribute-wrapper"},[s("div",{staticClass:"attribute"},[s("p",[t._v(t._s(e.name))]),t._v(" "),s("div",{staticClass:"options"},[t._l(e.options,function(a){return[s("label",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.chosenAttribute[e.name],expression:"chosenAttribute[attribute.name]"}],attrs:{type:"radio"},domProps:{value:a,checked:t._q(t.chosenAttribute[e.name],a)},on:{change:function(s){t.$set(t.chosenAttribute,e.name,a)}}}),t._v(" "),s("div",{staticClass:"box"},[t._v("\n                                    "+t._s(a)+"\n                                ")])])]})],2)])])})),t._v(" "),s("template",{slot:"footer"},[s("button",{staticClass:"add-variation-btn",attrs:{disabled:t.attributeDisabled},on:{click:function(e){t.addVariationProduct()}}},[t._v(t._s(t.__("Add Product","wepos")))])])],2):t._e()],1)};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},function(t,e,s){"use strict";var a=s(66),i=s(154),o=!1;var r=function(t){o||s(153)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/CustomerSearch.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.onblur,expression:"onblur"},{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"customer-search-box"},[s("form",{attrs:{action:"",autocomplete:"off"}},[s("svg",{staticClass:"customer-icon",attrs:{width:"19px",height:"19px",viewBox:"0 0 19 19",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[s("defs",[s("linearGradient",{attrs:{x1:"14.5524094%",y1:"14.6909544%",x2:"82.7722259%",y2:"85.2519444%",id:"linearGradient-1"}},[s("stop",{attrs:{"stop-color":"#C444FB",offset:"0%"}}),t._v(" "),s("stop",{attrs:{"stop-color":"#5B56D7",offset:"100%"}})],1)],1),t._v(" "),s("g",{attrs:{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[s("g",{attrs:{id:"POS-Design---Dokan-P2",transform:"translate(-759.000000, -27.000000)"}},[s("g",{attrs:{id:"Group",transform:"translate(759.000000, 27.000000)"}},[s("circle",{attrs:{id:"Oval",fill:"url(#linearGradient-1)","fill-rule":"nonzero",cx:"9.5",cy:"9.5",r:"9.5"}}),t._v(" "),s("g",{attrs:{id:"flaticon1543304699-svg-2",transform:"translate(9.500000, 9.500000) scale(-1, 1) translate(-9.500000, -9.500000) translate(6.000000, 5.000000)"}},[s("g",{attrs:{id:"flaticon1543304699-svg"}},[s("path",{attrs:{d:"M3.31578947,4.40159143 C4.27870463,4.40159143 5.0593751,3.41627143 5.0593751,2.20080857 C5.0593751,0.98532 4.80306952,0 3.31578947,0 C1.82850943,0 1.57215436,0.98532 1.57215436,2.20080857 C1.57215436,3.41627143 2.35282482,4.40159143 3.31578947,4.40159143 Z",id:"Path",fill:"#FFFFFF"}}),t._v(" "),s("path",{attrs:{d:"M0.0616980658,7.82884897 C0.0604730658,7.62453402 0.0592480658,7.77128348 0.0616980658,7.82884897 Z",id:"Path",fill:"#000000"}}),t._v(" "),s("path",{attrs:{d:"M6.64682715,7.85749962 C6.65070632,7.82585407 6.64815424,7.63794608 6.64682715,7.85749962 Z",id:"Path",fill:"#000000"}}),t._v(" "),s("path",{attrs:{d:"M6.60522584,7.67306571 C6.57293401,5.5557 6.30682954,4.95236571 4.27051414,4.57045714 C4.27051414,4.57045714 3.98387156,4.95002571 3.31576473,4.95002571 C2.64765789,4.95002571 2.36096583,4.57045714 2.36096583,4.57045714 C0.34687117,4.9482 0.0645836606,5.54258571 0.0274666143,7.60428 C0.0244230165,7.77263143 0.0230125687,7.78147714 0.0224681854,7.76193429 C0.0225919089,7.79855143 0.0227403771,7.86628286 0.0227403771,7.98438857 C0.0227403771,7.98438857 0.507538492,9 3.31576473,9 C6.12394148,9 6.60878908,7.98438857 6.60878908,7.98438857 C6.60878908,7.90850571 6.60883857,7.85574 6.6089128,7.81984286 C6.60836842,7.83192857 6.60727965,7.80850286 6.60522584,7.67306571 Z",id:"Path",fill:"#FFFFFF"}})])])])])])]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.serachInput,expression:"serachInput"}],ref:"customerSearch",attrs:{type:"text",name:"customer_search",id:"customer-search",placeholder:t.__("Search customer","wepos")},domProps:{value:t.serachInput},on:{focus:function(e){e.preventDefault(),t.triggerFocus(e)},keyup:t.searchCustomer,input:function(e){e.target.composing||(t.serachInput=e.target.value)}}}),t._v(" "),s("span",{staticClass:"add-new-customer flaticon-add",on:{click:function(e){e.preventDefault(),t.addNewCustomer()}}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.showCustomerResults,expression:"showCustomerResults"}],staticClass:"search-result"},[t.customers.length?s("div",[s("keyboard-control",{attrs:{listLength:t.customers.length},on:{selected:t.selectedHandler,"key-down":t.onKeyDown,"key-up":t.onKeyUp},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.selectedIndex;return t._l(t.customers,function(e,i){return s("li",{key:i,staticClass:"customer-search-item",class:{selected:i===a}},[s("a",{staticClass:"wepos-clearfix",attrs:{href:"#"},on:{click:function(s){t.selectCustomer(e)}}},[s("span",{staticClass:"avatar wepos-left"},[s("img",{attrs:{src:e.avatar_url,alt:e.first_name+" "+e.last_name}})]),t._v(" "),s("span",{staticClass:"name wepos-left"},[t._v(t._s(e.first_name+" "+e.last_name)),s("span",{staticClass:"metadata"},[t._v(t._s(e.email))])]),t._v(" "),s("span",{staticClass:"action flaticon-enter-arrow wepos-right"})])])})}}])})],1):s("div",{staticClass:"no-data-found"},[t._v("\n                "+t._s(t.__("No customer found","wepos"))+"\n            ")]),t._v(" "),s("div",{staticClass:"suggession"},[s("span",{staticClass:"term"},[s("span",{staticClass:"flaticon-swap"}),t._v(" "+t._s(t.__("to navigate","wepos"))+"\n                ")]),t._v(" "),s("span",{staticClass:"term"},[s("span",{staticClass:"flaticon-enter-arrow"}),t._v(" "+t._s(t.__("to select","wepos"))+"\n                ")]),t._v(" "),s("span",{staticClass:"term"},[s("strong",[t._v("esc")]),t._v(" "+t._s(t.__("to dismiss","wepos"))+"\n                ")])])])]),t._v(" "),t.showNewCustomerModal?s("modal",{attrs:{title:t.__("Add New Customer","wepos"),width:"700px",footer:!0,header:!0},on:{close:t.closeNewCustomerModal}},[s("template",{slot:"body"},[s("div",{staticClass:"wepos-new-customer-form"},[s("form",{staticClass:"wepos-form",attrs:{action:"",autocomplete:"off"}},[s("div",{staticClass:"form-row col-2"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.first_name,expression:"customer.first_name"}],attrs:{type:"text",placeholder:t.__("First Name","wepos")},domProps:{value:t.customer.first_name},on:{input:function(e){e.target.composing||t.$set(t.customer,"first_name",e.target.value)}}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.last_name,expression:"customer.last_name"}],attrs:{type:"text",placeholder:t.__("Last Name","wepos")},domProps:{value:t.customer.last_name},on:{input:function(e){e.target.composing||t.$set(t.customer,"last_name",e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-row"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.email,expression:"customer.email"}],attrs:{type:"email",placeholder:t.__("Email","wepos")},domProps:{value:t.customer.email},on:{input:function(e){e.target.composing||t.$set(t.customer,"email",e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-row col-2"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.address_1,expression:"customer.address_1"}],attrs:{type:"text",placeholder:t.__("Address 1","wepos")},domProps:{value:t.customer.address_1},on:{input:function(e){e.target.composing||t.$set(t.customer,"address_1",e.target.value)}}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.address_2,expression:"customer.address_2"}],attrs:{type:"text",placeholder:t.__("Address 2 (optional)","wepos")},domProps:{value:t.customer.address_2},on:{input:function(e){e.target.composing||t.$set(t.customer,"address_2",e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-row col-2"},[s("multiselect",{staticClass:"wepos-multiselect customer-country",staticStyle:{width:"48.5%","margin-right":"20px"},attrs:{options:t.getCountryList,selectLabel:"",deselectLabel:"",selectedLabel:"",placeholder:t.__("Select a country","wepos"),"track-by":"code",label:"name"},on:{select:t.handleCountrySelect,remove:t.removeCountrySelect},scopedSlots:t._u([{key:"singleLabel",fn:function(e){return[s("span",{domProps:{innerHTML:t._s(e.option.name)}})]}},{key:"option",fn:function(e){return[s("span",{domProps:{innerHTML:t._s(e.option.name)}})]}}]),model:{value:t.selectedCountry,callback:function(e){t.selectedCountry=e},expression:"selectedCountry"}},[s("template",{slot:"noResult"},[s("div",{staticClass:"no-data-found"},[t._v(t._s(t.__("No country found","wepos")))])])],2),t._v(" "),t.stateList.length>0?[s("multiselect",{staticClass:"wepos-multiselect customer-state",staticStyle:{width:"48.5%"},attrs:{options:t.stateList,selectLabel:"",deselectLabel:"",selectedLabel:"",placeholder:t.__("Select a state","wepos"),"track-by":"code",label:"name"},on:{remove:t.removeStateSelect},scopedSlots:t._u([{key:"singleLabel",fn:function(e){return[s("span",{domProps:{innerHTML:t._s(e.option.name)}})]}},{key:"option",fn:function(e){return[s("span",{domProps:{innerHTML:t._s(e.option.name)}})]}}]),model:{value:t.selectedState,callback:function(e){t.selectedState=e},expression:"selectedState"}},[s("template",{slot:"noResult"},[s("div",{staticClass:"no-data-found"},[t._v(t._s(t.__("No country found","wepos")))])])],2)]:[s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.state,expression:"customer.state"}],attrs:{type:"text",placeholder:t.__("States (optional)","wepos")},domProps:{value:t.customer.state},on:{input:function(e){e.target.composing||t.$set(t.customer,"state",e.target.value)}}})]],2),t._v(" "),s("div",{staticClass:"form-row col-2"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.city,expression:"customer.city"}],attrs:{type:"text",placeholder:t.__("City (optional)","wepos")},domProps:{value:t.customer.city},on:{input:function(e){e.target.composing||t.$set(t.customer,"city",e.target.value)}}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.postcode,expression:"customer.postcode"}],attrs:{type:"text",placeholder:t.__("Zip/Postal Code (optional)","wepos")},domProps:{value:t.customer.postcode},on:{input:function(e){e.target.composing||t.$set(t.customer,"postcode",e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-row"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.phone,expression:"customer.phone"}],attrs:{type:"text",placeholder:t.__("Phone (optional)","wepos")},domProps:{value:t.customer.phone},on:{input:function(e){e.target.composing||t.$set(t.customer,"phone",e.target.value)}}})])])])]),t._v(" "),s("template",{slot:"footer"},[s("button",{staticClass:"add-new-customer-btn add-variation-btn",attrs:{disabled:t.isDisabled},on:{click:function(e){t.createCustomer()}}},[t._v(t._s(t.__("Add Customer","wepos")))])])],2):t._e()],1)};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},function(t,e,s){"use strict";var a=s(67),i=s(160),o=!1;var r=function(t){o||s(156)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/FeeKeypad.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=s(68),i=s(159),o=!1;var r=function(t){o||s(158)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/Keyboard.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("aside",{staticClass:"vue-keyboard",class:{full:t.full,empty:t.empty,valid:t.valid,invalid:!t.valid},attrs:{role:"application","data-value":t.value,"data-layout":t.layout}},t._l(t.buttons,function(e){return s("div",{staticClass:"vue-keyboard-row",attrs:{role:"row","data-keys":e.length}},t._l(e,function(e){return s("button",{staticClass:"vue-keyboard-key",class:e.type,attrs:{role:"button","data-args":e.args,"data-text":e.value,"data-action":e.action.name},domProps:{innerHTML:t._s(e.value)},on:{click:function(t){t.preventDefault(),e.action.callable(t)}}})}))}))};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"wepos-fee-keypad-wrap",class:t.className},[s("v-popover",{attrs:{offset:"5","popover-base-class":"fee-keypad tooltip popover",placement:"top",open:t.viewFeeKeypad}},[s("a",{attrs:{href:"#"},on:{click:t.showFeeKeypad}},[t._v(t._s(t.__("Add","wepos"))+" "+t._s(t.name))]),t._v(" "),s("template",{slot:"popover"},[s("form",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.displayValue,expression:"displayValue"}],ref:"feeinput",attrs:{type:"text"},domProps:{value:t.displayValue},on:{keyup:t.inputChange,input:function(e){e.target.composing||(t.displayValue=e.target.value)}}})]),t._v(" "),s("keyboard",{attrs:{layouts:t.layout()},on:{percent:t.percentFee,flat:t.flatFee,input:t.change},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}})],1)],2)],1)};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},,function(t,e,s){"use strict";var a=s(70),i=s(164),o=!1;var r=function(t){o||s(163)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/PrintReceipt.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"wepos-print-receipt"}},[s("button",{staticClass:"print-btn",on:{click:function(e){e.preventDefault(),t.printReceipt()}}},[s("span",{staticClass:"icon flaticon-printer"}),t._v(" "),s("span",{staticClass:"label"},[t._v(t._s(t.__("Print Receipt","wepos")))])])])};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},function(t,e,s){"use strict";var a=s(71),i=s(167),o=!1;var r=function(t){o||s(166)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/PrintReceiptHtml.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"wepos-checkout-print-wrapper"},[s("div",{staticClass:"header",domProps:{innerHTML:t._s(t.settings.receipt_header)}}),t._v(" "),s("div",{staticClass:"order-info"},[s("span",{staticClass:"wepos-left"},[s("strong",[t._v(t._s(t.__("Order ID","wepos"))+": #"+t._s(t.printdata.order_id))])]),t._v(" "),s("span",{staticClass:"wepos-right"},[s("strong",[t._v(t._s(t.__("Order Date","wepos"))+": "+t._s(t.formatDate(t.printdata.order_date)))])]),t._v(" "),s("div",{staticClass:"wepos-clearfix"})]),t._v(" "),s("div",{staticClass:"content"},[s("table",{staticClass:"sale-summary"},[s("tbody",[t._l(t.printdata.line_items,function(e){return s("tr",[s("td",{staticClass:"name"},[t._v("\n                        "+t._s(e.name)+"\n                        "),e.attribute.length>0?s("div",{staticClass:"attribute"},[s("ul",t._l(e.attribute,function(e){return s("li",[s("span",{staticClass:"attr_name"},[t._v(t._s(e.name))]),t._v(": "),s("span",{staticClass:"attr_value"},[t._v(t._s(e.option))])])}))]):t._e()]),t._v(" "),s("td",{staticClass:"quantity"},[t._v(t._s(e.quantity))]),t._v(" "),s("td",{staticClass:"price"},[e.on_sale?[s("span",{staticClass:"regular-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))]),t._v(" "),s("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.sale_price)))])]:[s("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]],2)])}),t._v(" "),s("tr",[s("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Subtotal","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.subtotal)))])]),t._v(" "),t._l(t.printdata.fee_lines,function(e,a){return s("tr",{staticClass:"cart-meta-data"},["discount"==e.type?[s("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Discount","wepos"))+" "),s("span",{staticClass:"metadata"},[t._v(t._s("percent"==e.discount_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),s("td",{staticClass:"price"},[t._v("-"+t._s(t.formatPrice(Math.abs(e.total))))])]:[s("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Fee","wepos"))+" "),s("span",{staticClass:"metadata"},[t._v(t._s(e.name)+" "+t._s("percent"==e.fee_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),s("td",{staticClass:"price"},[t._v("-"+t._s(t.formatPrice(Math.abs(e.total))))])]],2)}),t._v(" "),t.printdata.taxtotal?s("tr",[s("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Tax","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.taxtotal)))])]):t._e(),t._v(" "),s("tr",[s("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Order Total","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.ordertotal)))])]),t._v(" "),t._m(0),t._v(" "),s("tr",[s("td",{attrs:{colspan:"2"}},[t._v(t._s(t.__("Payment method","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.printdata.gateway.title||""))])]),t._v(" "),(t.printdata.gateway.id="wepos_cash")?[s("tr",[s("td",{attrs:{colspan:"2"}},[t._v(t._s(t.__("Cash Given","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.cashamount)))])]),t._v(" "),s("tr",[s("td",{attrs:{colspan:"2"}},[t._v(t._s(t.__("Change Money","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.changeamount)))])])]:t._e()],2)])]),t._v(" "),s("div",{staticClass:"footer",domProps:{innerHTML:t._s(t.settings.receipt_footer)}})])};a._withStripped=!0;var i={render:a,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",{staticClass:"divider"},[e("td",{attrs:{colspan:"3"}})])}]};e.a=i},function(t,e,s){"use strict";var a=s(72),i=s(170),o=!1;var r=function(t){o||s(169)},n=s(0)(a.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/CustomerNote.vue",e.a=n.exports},function(t,e){},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"wepos-custom-note-wrap"},[s("v-popover",{attrs:{offset:"5","popover-base-class":"customer-note tooltip popover",placement:"top",open:t.viewNotePopover}},[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.openNote(e)}}},[t._v(t._s(t.__("Add Note","wepos")))]),t._v(" "),s("template",{slot:"popover"},[s("form",{on:{submit:function(e){e.preventDefault(),t.addCustomerNote(e)}}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.customerNote,expression:"customerNote"}],ref:"customernote",attrs:{id:"",cols:"30",rows:"5"},domProps:{value:t.customerNote},on:{input:function(e){e.target.composing||(t.customerNote=e.target.value)}}}),t._v(" "),s("button",{staticClass:"add-note-btn",attrs:{type:"submit",disabled:""==t.customerNote}},[t._v(t._s(t.__("Add Note","wepos")))])])])],2)],1)};a._withStripped=!0;var i={render:a,staticRenderFns:[]};e.a=i},function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],attrs:{id:"wepos-main"}},[s("div",{staticClass:"content-product"},[s("div",{staticClass:"top-panel wepos-clearfix"},[s("div",{staticClass:"search-bar"},[s("product-search",{attrs:{products:t.products,settings:t.settings},on:{onProductAdded:t.addToCart}})],1),t._v(" "),s("div",{staticClass:"category"},[s("multiselect",{staticClass:"wepos-multiselect",attrs:{options:t.categories,selectLabel:"",deselectLabel:"",selectedLabel:"",placeholder:t.__("Select a category","wepos")},on:{select:t.handleCategorySelect,remove:t.handleCategoryRemove},scopedSlots:t._u([{key:"singleLabel",fn:function(e){return[t._v("\n                        "+t._s(e.option.name)+"\n                    ")]}},{key:"option",fn:function(e){return[s("span",[t._l(e.option.level,function(e){return[t._v("\n                                 \n                            ")]}),t._v("\n                            "+t._s(e.option.name)+"\n                        ")],2)]}}]),model:{value:t.selectedCategory,callback:function(e){t.selectedCategory=e},expression:"selectedCategory"}},[s("template",{slot:"noResult"},[s("div",{staticClass:"no-data-found"},[t._v(t._s(t.__("Not found","wepos")))])])],2)],1),t._v(" "),s("div",{staticClass:"toggle-view"},[s("div",{staticClass:"product-toggle"},[s("span",{staticClass:"toggle-icon list-view flaticon-menu-button-of-three-horizontal-lines",class:{active:"list"==t.productView},on:{click:function(e){t.productView="list"}}}),t._v(" "),s("span",{staticClass:"toggle-icon grid-view flaticon-menu",class:{active:"grid"==t.productView},on:{click:function(e){t.productView="grid"}}})])])]),t._v(" "),t.getBreadCrums.length>0?s("div",{staticClass:"breadcrumb"},[s("ul",[t._l(t.getBreadCrums,function(e){return[s("router-link",{attrs:{tag:"li",to:{name:"Home",query:{category:e.id}}}},[s("a",[t._v(t._s(e.name))])])]})],2),t._v(" "),s("span",{staticClass:"close-breadcrumb flaticon-cancel-music",on:{click:function(e){e.preventDefault(),t.removeBreadcrums(e)}}})]):t._e(),t._v(" "),s("div",{ref:"items-wrapper",staticClass:"items-wrapper",class:t.productView},[t.productLoading?t._e():[t._l(t.getFilteredProduct,function(e){return t.getFilteredProduct.length>0?s("div",{staticClass:"item"},["simple"==e.type?[s("div",{staticClass:"item-wrap",on:{click:function(s){if(!("button"in s)&&t._k(s.keyCode,"prevnt",void 0,s.key))return null;t.addToCart(e)}}},[s("div",{staticClass:"img"},[s("img",{attrs:{src:t.getProductImage(e),alt:t.getProductImageName(e)}})]),t._v(" "),"grid"==t.productView?s("div",{staticClass:"title"},[t._v("\n                                "+t._s(t.truncateTitle(e.name,20))+"\n\n                            ")]):s("div",{staticClass:"title"},[s("div",{staticClass:"product-name"},[t._v(t._s(e.name))]),t._v(" "),s("ul",{staticClass:"meta"},[e.sku?s("li",[s("span",{staticClass:"label"},[t._v(t._s(t.__("Sku :","wepos")))]),t._v(" "),s("span",{staticClass:"value"},[t._v(t._s(e.sku))])]):t._e(),t._v(" "),s("li",[s("span",{staticClass:"label"},[t._v(t._s(t.__("Price :","wepos")))]),t._v(" "),s("span",{staticClass:"value",domProps:{innerHTML:t._s(e.price_html)}})])])]),t._v(" "),s("span",{staticClass:"add-product-icon flaticon-add",class:t.productView})])]:t._e(),t._v(" "),"variable"==e.type?[s("v-popover",{attrs:{offset:"10","popover-base-class":"product-variation tooltip popover",placement:"left-end"}},[s("div",{staticClass:"item-wrap",on:{click:function(s){t.selectVariationProduct(e)}}},[s("div",{staticClass:"img"},[s("img",{attrs:{src:t.getProductImage(e),alt:t.getProductImageName(e)}})]),t._v(" "),"grid"==t.productView?s("div",{staticClass:"title"},[t._v("\n                                    "+t._s(t.truncateTitle(e.name,20))+"\n                                ")]):s("div",{staticClass:"title"},[s("div",{staticClass:"product-name"},[t._v(t._s(e.name))]),t._v(" "),s("ul",{staticClass:"meta"},[s("li",[s("span",{staticClass:"label"},[t._v(t._s(t.__("Price :","wepos")))]),t._v(" "),s("span",{staticClass:"value",domProps:{innerHTML:t._s(e.price_html)}})])])]),t._v(" "),s("span",{staticClass:"add-product-icon flaticon-add",class:t.productView})]),t._v(" "),s("template",{slot:"popover"},[s("div",{staticClass:"variation-header"},[t._v("\n                                    "+t._s(t.__("Select Variations","wepos"))+"\n                                ")]),t._v(" "),s("div",{staticClass:"variation-body"},[t._l(e.attributes,function(e){return[s("div",{staticClass:"attribute"},[s("p",[t._v(t._s(e.name))]),t._v(" "),s("div",{staticClass:"options"},[t._l(e.options,function(a){return[s("label",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedAttribute[e.name],expression:"selectedAttribute[attribute.name]"}],attrs:{type:"radio"},domProps:{value:a,checked:t._q(t.selectedAttribute[e.name],a)},on:{change:function(s){t.$set(t.selectedAttribute,e.name,a)}}}),t._v(" "),s("div",{staticClass:"box"},[t._v("\n                                                            "+t._s(a)+"\n                                                        ")])])]})],2)])]})],2),t._v(" "),s("div",{staticClass:"variation-footer"},[s("button",{attrs:{disabled:t.attributeDisabled},on:{click:function(e){e.preventDefault(),t.addVariationProduct(e)}}},[t._v(t._s(t.__("Add Product","wepos")))])])])],2)]:t._e()],2):t._e()}),t._v(" "),t.getFilteredProduct.length<=0?s("div",{staticClass:"no-product-found"},[s("img",{attrs:{src:t.wepos.assets_url+"/images/no-product.png",alt:"",width:"120px"}}),t._v(" "),s("p",[t._v(t._s(t.__("No Product Found","wepos")))])]):t._e()],t._v(" "),t.productLoading?s("div",{staticClass:"product-loading"},[s("div",{staticClass:"spinner spinner-loading"})]):t._e()],2)]),t._v(" "),s("div",{staticClass:"content-cart"},[s("div",{staticClass:"top-panel"},[s("customer-search",{on:{onCustomerSelected:t.selectCustomer}}),t._v(" "),s("div",{staticClass:"action"},[s("div",{staticClass:"more-options"},[s("v-popover",{attrs:{offset:"5","popover-base-class":"wepos-dropdown-menu tooltip popover",placement:"bottom-end",open:t.showQucikMenu}},[s("button",{staticClass:"wepos-button",on:{click:function(e){e.preventDefault(),t.openQucikMenu()}}},[s("span",{staticClass:"more-icon flaticon-more"})]),t._v(" "),s("template",{slot:"popover"},[s("ul",[t._l(t.quickLinkListStart,function(t,e){return s(t,{key:e-"1",tag:"component"})}),t._v(" "),s("li",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.emptyCart(e)}}},[s("span",{staticClass:"flaticon-empty-cart quick-menu-icon"}),t._v(t._s(t.__("Empty Cart","wepos")))])]),t._v(" "),s("li",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.openHelp(e)}}},[s("span",{staticClass:"flaticon-information quick-menu-icon"}),t._v(t._s(t.__("Help","wepos")))])]),t._v(" "),s("li",{staticClass:"divider"}),t._v(" "),t._l(t.quickLinkList,function(t,e){return s(t,{key:e,tag:"component"})}),t._v(" "),s("li",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.logout(e)}}},[s("span",{staticClass:"flaticon-logout quick-menu-icon"}),t._v(t._s(t.__("Logout","wepos")))])])],2)])],2)],1)])],1),t._v(" "),t._l(t.beforCartPanels,function(t,e){return s(t,{key:e,tag:"component"})}),t._v(" "),t.settings.wepos_general?s("div",{staticClass:"cart-panel"},[s("div",{staticClass:"cart-content"},[s("table",{staticClass:"cart-table"},[s("thead",[s("tr",[s("th",{attrs:{width:"65%"}},[t._v(t._s(t.__("Product","wepos")))]),t._v(" "),s("th",{attrs:{width:"15%"}},[t._v(t._s(t.__("Qty","wepos")))]),t._v(" "),s("th",{attrs:{width:"30%"}},[t._v(t._s(t.__("Price","wepos")))]),t._v(" "),s("th"),t._v(" "),s("th")])]),t._v(" "),s("tbody",[t.cartdata.line_items.length>0?[t._l(t.cartdata.line_items,function(e,a){return[s("tr",[s("td",{staticClass:"name",on:{click:function(s){t.toggleEditQuantity(e,a)}}},[t._v("\n                                        "+t._s(e.name)+"\n                                        "),e.attribute.length>0&&"variable"===e.type?s("div",{staticClass:"attribute"},[s("ul",t._l(e.attribute,function(e){return s("li",[s("span",{staticClass:"attr_name"},[t._v(t._s(e.name))]),t._v(": "),s("span",{staticClass:"attr_value"},[t._v(t._s(e.option))])])}))]):t._e()]),t._v(" "),s("td",{staticClass:"qty",on:{click:function(s){t.toggleEditQuantity(e,a)}}},[t._v(t._s(e.quantity))]),t._v(" "),s("td",{staticClass:"price",on:{click:function(s){t.toggleEditQuantity(e,a)}}},[e.on_sale?[s("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.sale_price)))]),t._v(" "),s("span",{staticClass:"regular-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]:[s("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]],2),t._v(" "),s("td",{staticClass:"action"},[s("span",{staticClass:"flaticon-right-arrow",class:{open:e.editQuantity},on:{click:function(s){s.preventDefault(),t.toggleEditQuantity(e,a)}}})]),t._v(" "),s("td",{staticClass:"remove"},[s("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){e.preventDefault(),t.removeItem(a)}}})])]),t._v(" "),e.editQuantity?s("tr",{staticClass:"update-quantity-wrap"},[s("td",{attrs:{colspan:"5"}},[s("span",{staticClass:"qty"},[t._v(t._s(t.__("Quantity","wepos")))]),t._v(" "),s("span",{staticClass:"qty-number"},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.quantity,expression:"item.quantity"}],attrs:{type:"number",min:"1",step:"1"},domProps:{value:e.quantity},on:{input:function(s){s.target.composing||t.$set(e,"quantity",s.target.value)}}})]),t._v(" "),s("span",{staticClass:"qty-action"},[s("a",{staticClass:"add",attrs:{href:"#"},on:{click:function(s){s.preventDefault(),t.addQuantity(e,a)}}},[t._v("+")]),t._v(" "),s("a",{staticClass:"minus",attrs:{href:"#"},on:{click:function(s){s.preventDefault(),t.removeQuantity(e,a)}}},[t._v("-")])])])]):t._e()]})]:[s("tr",{staticClass:"no-item"},[s("td",{attrs:{colspan:"5"}},[s("img",{attrs:{src:t.wepos.assets_url+"/images/empty-cart.png",alt:"",width:"120px"}}),t._v(" "),s("p",[t._v(t._s(t.__("Empty Cart","wepos")))])])])]],2)])]),t._v(" "),s("div",{staticClass:"cart-calculation"},[s("form",{attrs:{autocomplete:"off"}},[s("table",{staticClass:"cart-total-table"},[s("tbody",[s("tr",[s("td",{staticClass:"label"},[t._v(t._s(t.__("Subtotal","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getSubtotal"])))]),t._v(" "),s("td",{staticClass:"action"})]),t._v(" "),t.cartdata.fee_lines.length>0?t._l(t.cartdata.fee_lines,function(e,a){return s("tr",{staticClass:"cart-meta-data"},["discount"==e.type?[s("td",{staticClass:"label"},[t._v(t._s(t.__("Discount","wepos"))+" "),s("span",{staticClass:"name"},[t._v(t._s("percent"==e.discount_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),s("td",{staticClass:"price"},[t._v("−"+t._s(t.formatPrice(Math.abs(e.total))))]),t._v(" "),s("td",{staticClass:"action"},[s("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){t.removeFeeLine(a)}}})])]:[t.cartdata.fee_lines[a].isEdit?[s("td",{staticClass:"label",attrs:{colspan:"2"}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.feeData.name,expression:"feeData.name"}],ref:"fee_name",refInFor:!0,staticClass:"fee-name",attrs:{type:"text",placeholder:t.__("Fee Name","wepos")},domProps:{value:t.feeData.name},on:{input:function(e){e.target.composing||t.$set(t.feeData,"name",e.target.value)}}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.feeData.value,expression:"feeData.value"}],ref:"fee_total",refInFor:!0,staticClass:"fee-amount",attrs:{type:"number",min:"0",step:"any",placeholder:t.__("Total","wepos")},domProps:{value:t.feeData.value},on:{input:function(e){e.target.composing||t.$set(t.feeData,"value",e.target.value)}}}),t._v(" "),"yes"==t.settings.wepos_general.enable_fee_tax?[s("label",{attrs:{for:"fee-tax-status"}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.feeData.tax_status,expression:"feeData.tax_status"}],staticClass:"fee-tax-status",attrs:{type:"checkbox",id:"fee-tax-status","true-value":"taxable","false-value":"none"},domProps:{checked:Array.isArray(t.feeData.tax_status)?t._i(t.feeData.tax_status,null)>-1:t._q(t.feeData.tax_status,"taxable")},on:{change:function(e){var s=t.feeData.tax_status,a=e.target,i=a.checked?"taxable":"none";if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.feeData.tax_status=s.concat([null])):o>-1&&(t.feeData.tax_status=s.slice(0,o).concat(s.slice(o+1)))}else t.$set(t.feeData,"tax_status",i)}}}),t._v(" "+t._s(t.__("Taxable","wepos")))]),t._v(" "),"taxable"==t.feeData.tax_status?s("select",{directives:[{name:"model",rawName:"v-model",value:t.feeData.tax_class,expression:"feeData.tax_class"}],staticClass:"fee-tax-class",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.$set(t.feeData,"tax_class",e.target.multiple?s:s[0])}}},t._l(t.availableTax,function(e){return s("option",{domProps:{value:"standard"==e.class?"":e.class}},[t._v(t._s(t.unSanitizeString(e.class))+" - "+t._s(e.percentage_rate))])})):t._e()]:t._e(),t._v(" "),s("button",{attrs:{disabled:""==t.feeData.name},on:{click:function(e){e.preventDefault(),t.saveFee(a)}}},[t._v(t._s(t.__("Apply","wepos")))]),t._v(" "),s("button",{staticClass:"cancel",on:{click:function(e){e.preventDefault(),t.cancelEditFee(a)}}},[t._v(t._s(t.__("Cancel","wepos")))])],2),t._v(" "),s("td",{staticClass:"action"},[s("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){t.removeFeeLine(a)}}})])]:[s("td",{staticClass:"label",on:{dblclick:function(e){e.preventDefault(),t.editFeeData(a)}}},[t._v(t._s(t.__("Fee","wepos"))+" "),s("span",{staticClass:"name"},[t._v(t._s(e.name)+" "+t._s("percent"==e.fee_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(Math.abs(e.total))))]),t._v(" "),s("td",{staticClass:"action"},[s("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){t.removeFeeLine(a)}}})])]]],2)}):t._e(),t._v(" "),t.$store.getters["Cart/getTotalTax"]?s("tr",{staticClass:"tax"},[s("td",{staticClass:"label"},[t._v(t._s(t.__("Tax","wepos")))]),t._v(" "),s("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotalTax"])))]),t._v(" "),s("td",{staticClass:"action"})]):t._e(),t._v(" "),s("tr",{staticClass:"cart-action"},[s("td",{attrs:{colspan:"3"}},[s("fee-keypad",{attrs:{name:t.__("Discount","wepos"),"short-key":"discount"},on:{inputfee:t.setDiscount}}),t._v(" "),s("fee-keypad",{attrs:{name:t.__("Fee","wepos"),"short-key":"fee"},on:{inputfee:t.setFee}}),t._v(" "),""==t.orderdata.customer_note?s("customer-note",{on:{addnote:t.addCustomerNote}}):t._e()],1)]),t._v(" "),t.orderdata.customer_note?s("tr",{staticClass:"note"},[s("td",{staticClass:"note-text",attrs:{colspan:"2"}},[t._v("\n                                    "+t._s(t.orderdata.customer_note)+"\n                                ")]),t._v(" "),s("td",{staticClass:"action"},[s("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){e.preventDefault(),t.removeCustomerNote(e)}}})])]):t._e(),t._v(" "),s("tr",{staticClass:"pay-now",on:{click:function(e){t.initPayment()}}},[s("td",[t._v(t._s(t.__("Pay Now","wepos")))]),t._v(" "),s("td",{staticClass:"amount"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))]),t._v(" "),t._m(0)])],2)])])])]):t._e()],2),t._v(" "),t.showPaymentReceipt?s("modal",{attrs:{width:"600px",height:"400px"},on:{close:function(e){t.createNewSale()}}},[s("template",{slot:"body"},[s("div",{staticClass:"wepos-payment-receipt"},[s("div",{staticClass:"sale-completed"},[s("img",{attrs:{src:t.wepos.assets_url+"/images/sale-completed.png",alt:"",width:"120px"}}),t._v(" "),s("h2",[t._v(t._s(t.__("Sale Completed","wepos")))])]),t._v(" "),s("div",{staticClass:"print-section"},[s("print-receipt"),t._v(" "),s("button",{staticClass:"new-sale-btn",on:{click:function(e){e.preventDefault(),t.createNewSale()}}},[s("span",{staticClass:"icon flaticon-add"}),t._v(" "),s("span",{staticClass:"label"},[t._v(t._s(t.__("New Sale","wepos")))])])],1)])])],2):t._e(),t._v(" "),t.showHelp?s("modal",{attrs:{width:"700px",height:"500px"},on:{close:function(e){t.closeHelp()}}},[s("template",{slot:"body"},[s("div",{staticClass:"wepos-help-wrapper"},[s("h2",[t._v(t._s(t.__("Shortcut Keys","wepos")))]),t._v(" "),s("ul",[s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f1")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Search Product","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f2")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Scan Product","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f3")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Toggle Product View","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f4")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Add Fee in cart","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f5")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Add Discount in cart","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f6")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Add Customer note","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f7")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Customer Search","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("shift+f7")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Add new Customer","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f8")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Create New Sale","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("shift+f8")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Empty your cart","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f9")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Go to payment receipt","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("f10")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Process Payment","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("ctrl/cmd+p")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Print Receipt","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("ctrl/cmd+?")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Show/Close(Toggle) Help","wepos")))])]),t._v(" "),s("li",[s("span",{staticClass:"code"},[s("code",[t._v("esc")])]),t._v(" "),s("span",{staticClass:"title"},[t._v(t._s(t.__("Close anything","wepos")))])])])])])],2):t._e(),t._v(" "),t.showModal?s("modal",{attrs:{width:"98%",height:"95vh"},on:{close:function(e){t.backToSale()}}},[s("template",{slot:"body"},[s("div",{staticClass:"wepos-checkout-wrapper"},[s("div",{staticClass:"left-content"},[s("div",{staticClass:"header"},[t._v("\n                        "+t._s(t.__("Sale Summary","wepos"))+"\n                    ")]),t._v(" "),s("div",{staticClass:"content"},[s("table",{staticClass:"sale-summary-cart"},[s("tbody",t._l(t.cartdata.line_items,function(e){return s("tr",[s("td",{staticClass:"name"},[t._v("\n                                        "+t._s(e.name)+"\n                                        "),e.attribute.length>0&&"variable"===e.type?s("div",{staticClass:"attribute"},[s("ul",t._l(e.attribute,function(e){return s("li",[s("span",{staticClass:"attr_name"},[t._v(t._s(e.name))]),t._v(": "),s("span",{staticClass:"attr_value"},[t._v(t._s(e.option))])])}))]):t._e()]),t._v(" "),s("td",{staticClass:"quantity"},[t._v(t._s(e.quantity))]),t._v(" "),s("td",{staticClass:"price"},[e.on_sale?[s("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.sale_price)))]),t._v(" "),s("span",{staticClass:"regular-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]:[s("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]],2)])}))])]),t._v(" "),s("div",{staticClass:"footer"},[s("ul",[s("li",{staticClass:"wepos-clearfix"},[s("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Subtotal","wepos")))]),t._v(" "),s("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getSubtotal"])))])]),t._v(" "),t.cartdata.fee_lines.length>0?t._l(t.cartdata.fee_lines,function(e,a){return s("li",{staticClass:"wepos-clearfix"},["discount"==e.type?[s("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Discount","wepos"))+" "),s("span",{staticClass:"metadata"},[t._v(t._s(e.name)+" "+t._s("percent"==e.discount_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),s("span",{staticClass:"wepos-right"},[t._v("-"+t._s(t.formatPrice(Math.abs(e.total))))])]:[s("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Fee","wepos"))+" "),s("span",{staticClass:"metadata"},[t._v(t._s(e.name)+" "+t._s("percent"==e.fee_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),s("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(e.total)))])]],2)}):t._e(),t._v(" "),t.$store.getters["Cart/getTotalTax"]?s("li",{staticClass:"wepos-clearfix"},[s("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Tax","wepos")))]),t._v(" "),s("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotalTax"])))])]):t._e(),t._v(" "),s("li",{staticClass:"wepos-clearfix"},[s("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Order Total","wepos")))]),t._v(" "),s("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))])]),t._v(" "),s("li",{staticClass:"wepos-clearfix"},[s("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Pay","wepos")))]),t._v(" "),s("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))])])],2)])]),t._v(" "),s("div",{staticClass:"right-content"},[s("div",{staticClass:"header wepos-clearfix"},[s("h2",{staticClass:"wepos-left"},[t._v(t._s(t.__("Pay","wepos")))]),t._v(" "),s("span",{staticClass:"pay-amount wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))])]),t._v(" "),s("div",{staticClass:"content"},[s("div",{staticClass:"payment-gateway"},[t.availableGateways.length>0?[t._l(t.availableGateways,function(e){return s("label",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedGateway,expression:"selectedGateway"}],attrs:{type:"radio",name:"gateway",checked:""},domProps:{value:e.id,checked:t._q(t.selectedGateway,e.id)},on:{change:function(s){t.selectedGateway=e.id}}}),t._v(" "),s("span",{staticClass:"gateway",class:"gateway-"+e.id},[t._v("\n                                        "+t._s(e.title)+"\n                                    ")])])}),t._v(" "),t.emptyGatewayDiv>0?t._l(t.emptyGatewayDiv,function(t){return s("label",{key:t},[s("span",{staticClass:"grid-placeholder"})])}):t._e()]:[s("p",[t._v(t._s(t.__("No gateway found","wepos")))])]],2),t._v(" "),"wepos_cash"==t.orderdata.payment_method?[s("div",{staticClass:"payment-option"},[s("div",{staticClass:"payment-amount"},[s("div",{staticClass:"input-part"},[s("div",{staticClass:"input-wrap"},[s("p",[t._v(t._s(t.__("Cash","wepos")))]),t._v(" "),s("div",{staticClass:"input-addon"},[s("span",{staticClass:"currency"},[t._v(t._s(t.wepos.currency_format_symbol))]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.cashAmount,expression:"cashAmount"}],ref:"cashamount",attrs:{type:"text"},domProps:{value:t.cashAmount},on:{input:function(e){e.target.composing||(t.cashAmount=e.target.value)}}})])])]),t._v(" "),s("div",{staticClass:"change-money"},[s("p",[t._v(t._s(t.__("Change money","wepos"))+": "+t._s(t.formatPrice(t.changeAmount)))])])])])]:t._e(),t._v(" "),t._l(t.availableGatewayContent,function(e,a){return s(e,{key:a,tag:"component",attrs:{availablegateways:t.availableGateways}})})],2),t._v(" "),s("div",{staticClass:"footer wepos-clearfix"},[s("a",{staticClass:"back-btn wepos-left",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.backToSale()}}},[t._v(t._s(t.__("Back to Sale","wepos")))]),t._v(" "),s("button",{staticClass:"process-checkout-btn wepos-right",attrs:{disabled:!t.ableToProcess()},on:{click:function(e){e.preventDefault(),t.processPayment(e)}}},[t._v(t._s(t.__("Process Payment","wepos")))])])])])])],2):t._e(),t._v(" "),s("overlay",{attrs:{show:t.showOverlay}}),t._v(" "),t.showReceiptHtml?s("print-receipt-html",{directives:[{name:"show",rawName:"v-show",value:t.createprintreceipt,expression:"createprintreceipt"}],attrs:{printdata:t.printdata,settings:t.settings.wepos_receipts}}):t._e(),t._v(" "),t._l(t.afterMainContents,function(e,a){return s(e,{key:a,tag:"component",attrs:{orderdata:t.orderdata,printdata:t.printdata}})})],2)};a._withStripped=!0;var i={render:a,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"icon"},[e("span",{staticClass:"flaticon-right-arrow"})])}]};e.a=i}]),[138]);
     1pluginWebpack([0],Array(27).concat([function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=o(a(28)),i=o(a(30));function o(t){return t&&t.__esModule?t:{default:t}}var r=wepos_get_lib("Vue"),n=wepos_get_lib("Vuex");r.use(n),e.default=new n.Store({modules:{Cart:s.default,Order:i.default}})},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,i=a(29),o=(s=i)&&s.__esModule?s:{default:s};e.default={namespaced:!0,state:{settings:{},availableTax:{},cartdata:{line_items:[],fee_lines:[]}},getters:{getSubtotal:function(t){var e=0;return weLo_.forEach(t.cartdata.line_items,function(t,a){t.on_sale?e+=t.quantity*t.sale_price:e+=t.quantity*t.regular_price}),e},getTotalFee:function(t){var e=0;return weLo_.forEach(t.cartdata.fee_lines,function(t,a){"fee"==t.type&&(e+=Math.abs(t.total))}),e},getTotalDiscount:function(t){var e=0;return weLo_.forEach(t.cartdata.fee_lines,function(t,a){"discount"==t.type&&(e+=Number(Math.abs(t.total)))}),e},getTotalLineTax:function(t){var e=0;return weLo_.forEach(t.cartdata.line_items,function(t,a){e+=Math.abs(t.tax_amount*t.quantity)}),e},getTotalTax:function(t){var e=0,a=0;return weLo_.forEach(t.cartdata.line_items,function(t,a){e+=Math.abs(t.tax_amount*t.quantity)}),void 0!=t.settings.woo_tax&&"incl"==t.settings.woo_tax.wc_tax_display_cart&&(e=0),weLo_.forEach(t.cartdata.fee_lines,function(e,s){if("fee"==e.type&&"taxable"==e.tax_status){var i=""===e.tax_class?"standard":e.tax_class,o=weLo_.find(t.availableTax,{class:i.toString()});void 0!==o&&(a+=Math.abs(e.total)*Math.abs(o.rate)/100)}}),e+a},getOrderTotal:function(t,e){return e.getSubtotal+e.getTotalFee+e.getTotalTax},getTotal:function(t,e){return e.getOrderTotal-e.getTotalDiscount}},mutations:{setSettings:function(t,e){t.settings=e},setAvailableTax:function(t,e){t.availableTax=e},setCartData:function(t,e){weLo_.isEmpty(e)?t.cartdata={line_items:[],fee_lines:[]}:t.cartdata=Object.assign({},e)},addToCartItem:function(t,e){var a={};a.product_id=0===e.parent_id?e.id:e.parent_id,a.name=e.name,a.quantity=1,a.regular_price=e.regular_display_price,a.sale_price=e.sales_display_price,a.on_sale=e.on_sale,a.attribute=e.attributes,a.variation_id=0!==e.parent_id?e.id:0,a.editQuantity=!1,a.type=e.type,a.tax_amount=e.tax_amount,a.manage_stock=e.manage_stock,a.stock_status=e.stock_status,a.backorders_allowed=e.backorders_allowed,a.stock_quantity=e.stock_quantity;var s=weLo_.findIndex(t.cartdata.line_items,{product_id:a.product_id,variation_id:a.variation_id});s<0?o.default.hasStock(e)&&t.cartdata.line_items.push(a):o.default.hasStock(e,t.cartdata.line_items[s].quantity)&&(t.cartdata.line_items[s].quantity+=1)},removeCartItem:function(t,e){t.cartdata.line_items.splice(e,1)},addCartItemQuantity:function(t,e){var a=t.cartdata.line_items[e];o.default.hasStock(a,a.quantity)&&t.cartdata.line_items[e].quantity++},removeCartItemQuantity:function(t,e){t.cartdata.line_items[e].quantity<=1?t.cartdata.line_items[e].quantity=1:t.cartdata.line_items[e].quantity--},toggleEditQuantity:function(t,e){t.cartdata.line_items[e].editQuantity=!t.cartdata.line_items[e].editQuantity},addDiscount:function(t,e){t.cartdata.fee_lines.push({name:e.title,type:"discount",value:e.value.toString(),isEdit:!1,discount_type:e.type,tax_status:"none",tax_class:"",total:0})},addFee:function(t,e){t.cartdata.fee_lines.push({name:e.title,type:"fee",value:e.value.toString(),isEdit:!1,fee_type:e.type,tax_status:"none",tax_class:"",total:0})},saveFeeValue:function(t,e){t.cartdata.fee_lines.splice(e.key,1,e.feeData),t.cartdata.fee_lines[e.key].isEdit=!1},editFeeValue:function(t,e){t.cartdata.fee_lines[e].isEdit=!0},cancelSaveFeeValue:function(t,e){t.cartdata.fee_lines[e].isEdit=!1},removeFeeLineItems:function(t,e){t.cartdata.fee_lines.splice(e,1)},emptyCart:function(t){t.cartdata={line_items:[],fee_lines:[]}},calculateDiscount:function(t,e){t.cartdata.fee_lines.length>0&&weLo_.forEach(t.cartdata.fee_lines,function(a,s){"discount"==a.type&&("percent"==a.discount_type?t.cartdata.fee_lines[s].total="-"+e.getSubtotal*Math.abs(a.value)/100:t.cartdata.fee_lines[s].total="-"+Math.abs(a.value))})},calculateFee:function(t,e){t.cartdata.fee_lines.length>0&&weLo_.forEach(t.cartdata.fee_lines,function(a,s){"fee"==a.type&&("percent"==a.fee_type?t.cartdata.fee_lines[s].total=(e.getSubtotal*Math.abs(a.value)/100).toString():t.cartdata.fee_lines[s].total=Math.abs(a.value).toString())})}},actions:{setSettingsAction:function(t,e){t.commit("setSettings",e)},setAvailableTaxAction:function(t,e){t.commit("setAvailableTax",e)},setCartDataAction:function(t,e){t.commit("setCartData",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},addToCartAction:function(t,e){t.commit("addToCartItem",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},removeCartItemAction:function(t,e){t.commit("removeCartItem",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},addItemQuantityAction:function(t,e){t.commit("addCartItemQuantity",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},removeItemQuantityAction:function(t,e){t.commit("removeCartItemQuantity",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},toggleEditQuantityAction:function(t,e){t.commit("toggleEditQuantity",e)},addDiscountAction:function(t,e){t.commit("addDiscount",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},addFeeAction:function(t,e){t.commit("addFee",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},removeFeeLineItemsAction:function(t,e){t.commit("removeFeeLineItems",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},saveFeeValueAction:function(t,e){t.commit("saveFeeValue",e),t.commit("calculateDiscount",t.getters),t.commit("calculateFee",t.getters)},editFeeValueAction:function(t,e){t.commit("editFeeValue",e)},cancelSaveFeeValueAction:function(t,e){t.commit("cancelSaveFeeValue",e)},emptyCartAction:function(t){t.commit("emptyCart")},calculateDiscount:function(t){t.commit("calculateDiscount",t.getters)},calculateFee:function(t){t.commit("calculateFee",t.getters)}}}},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={hasStock:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.manage_stock?!!t.backorders_allowed||t.stock_quantity>e:"outofstock"!=t.stock_status}}},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={namespaced:!0,state:{orderdata:{billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},getters:{},mutations:{setOrderData:function(t,e){weLo_.isEmpty(e)?t.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}:t.orderdata=e},setCustomer:function(t,e){Object.keys(e).length>0?(t.orderdata.billing=e.billing,t.orderdata.shipping=e.shipping,t.orderdata.customer_id=e.id):(t.orderdata.billing={},t.orderdata.shipping={},t.orderdata.customer_id=0)},emptyOrderdata:function(t){t.orderdata={billing:{},shipping:{},customer_id:0,customer_note:"",payment_method:"",payment_method_title:""}},setCustomerNote:function(t,e){t.orderdata.customer_note=e.trim()},removeCustomerNote:function(t){t.orderdata.customer_note=""},setGateway:function(t,e){t.orderdata.payment_method=e.id,t.orderdata.payment_method_title=e.title}},actions:{setOrderDataAction:function(t,e){t.commit("setOrderData",e)},setCustomerAction:function(t,e){t.commit("setCustomer",e)},emptyOrderdataAction:function(t){t.commit("emptyOrderdata")},setCustomerNoteAction:function(t,e){t.commit("setCustomerNote",e)},removeCustomerNoteAction:function(t){t.commit("removeCustomerNote")},setGatewayAction:function(t,e){t.commit("setGateway",e)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,a){"use strict";e.a={name:"App"}},function(t,e,a){"use strict";var s=a(146),i=a(149),o=a(152),r=a(155),n=a(69),c=a.n(n),l=a(162),u=a(165),d=a(168);let p=wepos_get_lib("Modal");e.a={name:"Home",components:{ProductSearch:i.a,CustomerSearch:o.a,Overlay:s.a,Modal:p,MugenScroll:c.a,FeeKeypad:r.a,PrintReceipt:l.a,PrintReceiptHtml:u.a,CustomerNote:d.a},data:()=>({showHelp:!1,showQucikMenu:!1,productView:"grid",productLoading:!1,viewVariationPopover:!1,showModal:!1,showPaymentReceipt:!1,products:[],filteredProducts:[],totalPages:1,page:1,showOverlay:!1,selectedVariationProduct:{},attributeDisabled:!0,selectedAttribute:{},availableGateways:[],emptyGatewayDiv:0,cashAmount:"",availableTax:[],settings:{},taxSettings:{},printdata:wepos.hooks.applyFilters("wepos_initial_print_data",{gateway:{id:"",title:""}}),feeData:{},createprintreceipt:!1,selectedCategory:"",selectedGateway:"",categories:[],showReceiptHtml:wepos.hooks.applyFilters("wepos_render_receipt_html",!0),quickLinkList:wepos.hooks.applyFilters("wepos_quick_links",[]),quickLinkListStart:wepos.hooks.applyFilters("wepos_quick_links_start",[]),availableGatewayContent:wepos.hooks.applyFilters("wepos_avaialable_gateway_content",[]),afterMainContents:wepos.hooks.applyFilters("wepos_after_main_content",[]),beforCartPanels:wepos.hooks.applyFilters("wepos_before_cart_panel",[])}),computed:{cartdata(){return this.$store.state.Cart.cartdata},orderdata(){return this.$store.state.Order.orderdata},hotkeys(){return{f3:this.toggleProductView,f9:this.initPayment,f10:this.processPayment,f8:this.createNewSale,"shift+f8":this.emptyCart,esc:this.backToSale,"meta+/":this.openHelp,"ctrl+/":this.openHelp}},getFilteredProduct(){return void 0!==this.$route.query.category?this.products.filter(t=>{var e=weLo_.find(t.categories,{id:parseInt(this.$route.query.category)});return void 0!=e&&Object.keys(e).length>0}):this.products},changeAmount(){var t=this.cashAmount-this.$store.getters["Cart/getTotal"];return t>0?t:0},getBreadCrums(){if(void 0!==this.$route.query.category){var t=jQuery.extend(!0,[],this.categories),e=weLo_.find(this.categories,{id:parseInt(this.$route.query.category)}),a=weLo_.findIndex(this.categories,e),s=t.splice(0,a+1),i=[];if(s.length>0){for(var o=s.length-1;o>=0;o--)if(i.length>0){var r=weLo_.find(s,{id:s[o+1].parent_id});if(void 0!=r&&(i.push(r),null==r.parent_id))break}else i.push(s[o]);return i.slice().reverse()}}return[]}},watch:{selectedAttribute(t,e){Object.keys(t).length==this.selectedVariationProduct.attributes.length&&(this.attributeDisabled=!1)},"$route.query.order_key"(){""!=this.$route.query.order_key&&"success"==this.$route.query.payment&&(this.showModal=!1,this.showPaymentReceipt=!0)},"$route.query.category"(){this.selectedCategory={id:-1,level:0,name:this.__("All categories","wepos"),parent_id:null},void 0!==this.$route.query.category&&(this.selectedCategory=weLo_.find(this.categories,{id:parseInt(this.$route.query.category)}))},selectedGateway(t,e){var a=weLo_.find(this.availableGateways,{id:t});this.$store.dispatch("Order/setGatewayAction",a)}},methods:{openQucikMenu(){this.showQucikMenu=!0},openHelp(t){t.preventDefault(),this.showHelp=!0,this.showQucikMenu=!1},closeHelp(){this.showHelp=!1},addCustomerNote(t){this.$store.dispatch("Order/setCustomerNoteAction",t)},removeCustomerNote(){this.$store.dispatch("Order/removeCustomerNoteAction")},removeBreadcrums(){this.$router.push({name:"Home"})},logout(){wepos.hooks.doAction("wepos_before_logout"),window.location.href=wepos.logout_url.toString()},emptyCart(){this.$store.dispatch("Cart/emptyCartAction"),this.$store.dispatch("Order/emptyOrderdataAction"),this.printdata=wepos.hooks.applyFilters("wepos_initial_print_data",{gateway:{id:"",title:""}}),this.showPaymentReceipt=!1,this.cashAmount="",this.eventBus.$emit("emptycart",this.orderdata),this.showQucikMenu=!1},toggleProductView(t){t.preventDefault(),this.productView="grid"==this.productView?"list":"grid"},createNewSale(){this.$router.push({name:"Home"}),this.emptyCart()},ableToProcess(){return this.cartdata.line_items.length>0&&this.isSelectGateway()},processPayment(t){if(t.preventDefault(),this.ableToProcess()){weLo_.find(this.availableGateways,{id:this.orderdata.payment_method});var e=wepos.hooks.applyFilters("wepos_order_form_data",{billing:this.orderdata.billing,shipping:this.orderdata.shipping,line_items:this.cartdata.line_items,fee_lines:this.cartdata.fee_lines,customer_id:this.orderdata.customer_id,customer_note:this.orderdata.customer_note,payment_method:this.orderdata.payment_method,payment_method_title:this.orderdata.payment_method_title,meta_data:[{key:"_wepos_is_pos_order",value:!0},{key:"_wepos_cash_tendered_amount",value:this.cashAmount.toString()},{key:"_wepos_cash_change_amount",value:this.changeAmount.toString()}]},this.orderdata,this.cartdata),a=jQuery(".wepos-checkout-wrapper .right-content").find(".content");a.block({message:null,overlayCSS:{background:"#fff url("+wepos.ajax_loader+") no-repeat center",opacity:.4}}),wepos.api.post(wepos.rest.root+wepos.rest.wcversion+"/orders",e).done(t=>{wepos.api.post(wepos.rest.root+wepos.rest.posversion+"/payment/process",t).done(s=>{"success"==s.result?(this.$router.push({name:"Home",query:{order_key:t.order_key,payment:"success"}}),this.printdata=wepos.hooks.applyFilters("wepos_after_payment_print_data",{line_items:this.cartdata.line_items,fee_lines:this.cartdata.fee_lines,subtotal:this.$store.getters["Cart/getSubtotal"],taxtotal:this.$store.getters["Cart/getTotalTax"],ordertotal:this.$store.getters["Cart/getTotal"],gateway:{id:t.payment_method,title:t.payment_method_title},order_id:t.id,order_date:t.date_created,cashamount:this.cashAmount.toString(),changeamount:this.changeAmount.toString()},e)):a.unblock()}).fail(t=>{a.unblock(),alert(t.responseJSON.message)})}).fail(t=>{a.unblock(),alert(t.responseJSON.message)})}},initPayment(){this.showModal=!0,this.$store.dispatch("Order/setGatewayAction",this.availableGateways[0]),this.selectedGateway=this.availableGateways[0].id},backToSale(){this.showModal=!1,this.showHelp=!1},isSelectGateway(){return!(void 0==this.orderdata.payment_method||""==this.orderdata.payment_method)},getProductImage:t=>t.images.length>0?t.images[0].woocommerce_thumbnail:wepos.placeholder_image,getProductImageName:t=>t.images.length>0?t.images[0].name:t.name,setDiscount(t,e){this.$store.dispatch("Cart/addDiscountAction",{title:this.__("Discount","wepos"),value:t,type:e})},saveFee(t){this.$store.dispatch("Cart/saveFeeValueAction",{key:t,feeData:this.feeData}),this.feeData={}},cancelEditFee(t){this.$store.dispatch("Cart/cancelSaveFeeValueAction",t),this.feeData={}},editFeeData(t){this.$store.dispatch("Cart/editFeeValueAction",t),this.feeData=Object.assign({},this.cartdata.fee_lines[t]),this.$nextTick(()=>{jQuery(this.$refs.fee_name).focus()})},setFee(t,e){this.$store.dispatch("Cart/addFeeAction",{title:this.__("Fee","wepos"),value:t,type:e})},removeFeeLine(t){this.$store.dispatch("Cart/removeFeeLineItemsAction",t)},fetchProducts(){1==this.page&&(this.productLoading=!0),this.totalPages>=this.page?wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/products?status=publish&per_page=30&page="+this.page).done((t,e,a)=>{this.products=this.products.concat(t),this.page+=1,this.totalPages=parseInt(a.getResponseHeader("X-WP-TotalPages")),this.productLoading=!1}).then((t,e,a)=>{this.fetchProducts()}):this.productLoading=!1},maybeRemoveDeletedProduct:t=>new Promise((e,a)=>{if(!t)return e(t);if(!t.line_items||t.line_items.length<1)return e(t);let s=t.line_items.map(t=>t.product_id);wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/products?include="+s.toString()).then(a=>{let s=a.map(t=>t.id);return t.line_items.forEach((e,a)=>{s.includes(e.product_id)||(t.line_items.splice(a,1),localStorage.setItem("cartdata",JSON.stringify(t)))}),e(t)}).fail(()=>a(t))}),selectCustomer(t){this.$store.dispatch("Order/setCustomerAction",t)},selectVariationProduct(t){this.viewVariationPopover=!0,this.selectedVariationProduct=t},addVariationProduct(){var t=this.findMatchingVariations(this.selectedVariationProduct.variations,this.selectedAttribute)[0];t.parent_id=this.selectedVariationProduct.id,t.type=this.selectedVariationProduct.type,t.name=this.selectedVariationProduct.name,t.type=this.selectedVariationProduct.type,this.selectedAttribute={},this.attributeDisabled=!0,this.$store.dispatch("Cart/addToCartAction",t)},addToCart(t){this.$store.dispatch("Cart/addToCartAction",t)},toggleEditQuantity(t,e){this.$store.dispatch("Cart/toggleEditQuantityAction",e)},removeItem(t){this.$store.dispatch("Cart/removeCartItemAction",t)},addQuantity(t,e){this.$store.dispatch("Cart/addItemQuantityAction",e)},removeQuantity(t,e){this.$store.dispatch("Cart/removeItemQuantityAction",e)},fetchGateway(){wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/payment/gateways").done(t=>{this.availableGateways=t,this.emptyGatewayDiv=4-this.availableGateways.length%4})},truncateTitle:(t,e)=>weLo_.truncate(t,{length:e}),unSanitizeString:t=>t.split("-").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join(" "),fetchSettings(){wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/settings").done(t=>{this.settings=t,this.$store.dispatch("Cart/setSettingsAction",t)})},fetchTaxes(){wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/taxes").done(t=>{this.availableTax=t,this.$store.dispatch("Cart/setAvailableTaxAction",t)})},handleCategorySelect(t,e){"-1"==t.id?this.$router.push({name:"Home"}):this.$router.push({name:"Home",query:{category:t.id}})},handleCategoryRemove(t,e){this.$router.push({name:"Home"}),this.selectedCategory={id:-1,level:0,name:this.__("All categories","wepos"),parent_id:null}},fetchCategories(){var t,e;wepos.api.get(wepos.rest.root+wepos.rest.wcversion+"/products/categories?hide_empty=true&_fields=id,name,parent_id&per_page=100").then(a=>{a.sort(function(t,e){return t.name.localeCompare(e.name)});var s=(t=[],e={},a.forEach(function(a){e[a.id]={response:a,children:e[a.id]&&e[a.id].children},null===a.parent_id?t.push(e[a.id]):(e[a.parent_id]=e[a.parent_id]||{},e[a.parent_id].children=e[a.parent_id].children||[],e[a.parent_id].children.push(e[a.id]))}),t),i={id:-1,level:0,name:this.__("All categories","wepos"),parent_id:null},o=s.reduce(function t(e){return function(a,s){return s.response.level=e,a.concat(s.response,(s.children||[]).reduce(t(e+1),[]))}}(0),[]);this.categories=o,this.categories.unshift(i),this.selectedCategory=i,void 0!==this.$route.query.category&&(this.selectedCategory=weLo_.find(a,{id:parseInt(this.$route.query.category)}))})},filterProducts(){this.products=this.products.filter(t=>weLo_.findIndex(t.categories,{id:this.$route.query.category})>0)},fetchTaxSettings(){wepos.api.get(wepos.rest.root+wepos.rest.wcversion+"/settings/tax").done(t=>{this.taxSettings=t})}},async created(){if(this.fetchSettings(),this.fetchTaxes(),this.fetchProducts(),this.fetchGateway(),this.fetchCategories(),"undefined"!=typeof localStorage)try{var t=JSON.parse(localStorage.getItem("cartdata")),e=JSON.parse(localStorage.getItem("orderdata"));t=await this.maybeRemoveDeletedProduct(t),this.$store.dispatch("Cart/setCartDataAction",t),this.$store.dispatch("Order/setOrderDataAction",e)}catch(t){e=JSON.parse(localStorage.getItem("orderdata"));this.$store.dispatch("Cart/setCartDataAction",t),this.$store.dispatch("Order/setOrderDataAction",e)}window.addEventListener("beforeunload",()=>{"undefined"!=typeof localStorage&&(localStorage.setItem("cartdata",JSON.stringify(this.$store.state.Cart.cartdata)),localStorage.setItem("orderdata",JSON.stringify(this.$store.state.Order.orderdata)))},!1)}}},function(t,e,a){"use strict";e.a={name:"Overlay",props:{show:{type:Boolean}}}},function(t,e,a){"use strict";var s=a(64),i=a(26);a.n(i);let o=wepos_get_lib("Modal");e.a={name:"ProductInlineSearch",props:{products:{type:Array,default:()=>[]},settings:{type:Object,default:()=>({})}},components:{Modal:o,KeyboardControl:s.a},data:()=>({showResults:!1,showVariationModal:!1,mode:"scan",serachInput:"",searchableProduct:[],selectedVariationProduct:{},attributeDisabled:!0,chosenAttribute:{}}),computed:{placeholder(){return"scan"==this.mode?this.__("Scan your product","wepos"):this.__("Search product by typing","wepos")},hotkeys(){return{f1:this.changeProductSearch,f2:this.changeScan,esc:this.searchClose}}},watch:{chosenAttribute(t,e){Object.keys(t).length==this.selectedVariationProduct.attributes.length&&(this.attributeDisabled=!1)}},methods:{changeScan(t){t.preventDefault(),this.changeMode("scan")},changeProductSearch(t){t.preventDefault(),this.changeMode("product")},searchClose(){this.showResults=!1,this.showVariationModal=!1,this.changeMode("scan"),this.$refs.productSearch.blur()},selectedHandler(t){var e=this.searchableProduct[t];"simple"==e.type?this.addToCartAction(e):this.selectVariation(e)},onKeyDown(){jQuery(".product-search-item.selected").next().children("a").focus()},onKeyUp(){jQuery(".product-search-item.selected").prev().children("a").focus()},triggerFocus(){this.showResults=!0,this.$emit("onfocus")},outside(){this.showResults=!1,this.$emit("onblur")},changeMode(t){this.mode=t,"scan"==this.mode&&(this.searchableProduct=[],this.showResults=!1),this.$refs.productSearch.focus()},handleProductScan(){if("product"!=this.mode){var t=this.settings.wepos_general,e="custom"==t.barcode_scanner_field?"barcode":t.barcode_scanner_field,a={},s=this.products.filter(t=>{if("simple"==t.type&&t[e].toString()==this.serachInput)return!0;if("variable"==t.type){var a=!1;if(t.variations.length>0&&weLo_.forEach(t.variations,(t,s)=>{t[e].toString()==this.serachInput&&(a=!0)}),a)return!0}return!1});if(s.length>0)if("variable"==(s=s[0]).type)(a=s.variations.filter(t=>t[e].toString()==this.serachInput)[0]).parent_id=s.id,a.type=s.type,a.name=s.name,this.$emit("onProductAdded",a);else this.$emit("onProductAdded",s);this.serachInput=""}},searchProduct(t){this.serachInput&&"product"==this.mode&&(this.searchableProduct=this.products.filter(t=>-1!=t.id.toString().indexOf(this.serachInput)||(-1!=t.name.toString().toLowerCase().indexOf(this.serachInput.toLowerCase())||-1!=t.sku.indexOf(this.serachInput))))},selectVariation(t){this.selectedVariationProduct=t,this.showVariationModal=!0},addVariationProduct(){var t=this.findMatchingVariations(this.selectedVariationProduct.variations,this.chosenAttribute)[0];t.parent_id=this.selectedVariationProduct.id,t.type=this.selectedVariationProduct.type,t.name=this.selectedVariationProduct.name,this.$emit("onProductAdded",t),this.showVariationModal=!1,this.chosenAttribute={}},addToCartAction(t){this.$emit("onProductAdded",t)}},mounted(){this.$refs.productSearch.focus()}}},function(t,e,a){"use strict";var s=a(65),i=a(0)(s.a,null,!1,null,null,null);i.options.__file="assets/src/frontend/components/KeyboardControl.vue",e.a=i.exports},function(t,e,a){"use strict";e.a={props:{listLength:Number},data:()=>({selectedIndex:0}),render(t){return t("ul",this.$scopedSlots.default({selectedIndex:this.selectedIndex}))},methods:{keyHandler(t){const e=t.which||t.keyCode;38===e||t.shiftKey&&9===e?(this.handleKeyUp(t),this.$emit("key-up")):40===e||9===e?(this.handleKeyDown(t),this.$emit("key-down")):13===e&&this.handleEnter(t)},handleEnter(t){t.preventDefault(),this.$emit("selected",this.selectedIndex)},handleKeyUp(t){t.preventDefault(),this.selectedIndex<=0?this.selectedIndex=this.listLength-1:this.selectedIndex>0&&this.selectedIndex<=this.listLength-1&&this.selectedIndex--},handleKeyDown(t){t.preventDefault(),this.selectedIndex<0||this.selectedIndex===this.listLength-1?this.selectedIndex=0:this.selectedIndex>=0&&this.selectedIndex<this.listLength-1&&this.selectedIndex++},addKeyHandler(t){window.addEventListener("keydown",this.keyHandler)},removeKeyHandler(){window.removeEventListener("keydown",this.keyHandler)}},created(){this.addKeyHandler()},destroyed(){this.removeKeyHandler()}}},function(t,e,a){"use strict";var s=a(64);let i=wepos_get_lib("Modal");e.a={name:"CustomerSearch",components:{Modal:i,KeyboardControl:s.a},data:()=>({submitDisable:!1,customers:[],customer:{email:"",first_name:"",last_name:"",address_1:"",address_2:"",country:"",state:"",postcode:"",city:"",phone:""},showCustomerResults:!1,serachInput:"",showNewCustomerModal:!1,stateList:[],selectedState:null,selectedCountry:null,isDisabled:!0}),computed:{hotkeys(){return{f7:this.focusCustomerSearch,"shift+f7":this.addNewCustomer,esc:this.searchClose}},getCountryList:()=>Object.keys(wepos.countries).map(t=>({code:t,name:wepos.countries[t]})),orderdata(){return this.$store.state.Order.orderdata}},watch:{customer:{handler(t){this.isDisabled=!0,void 0!==t.first_name&&""!=t.first_name.trim()&&void 0!==t.last_name&&""!=t.last_name.trim()&&void 0!==t.email&&""!=t.email.trim()&&(this.isDisabled=!1)},deep:!0},"orderdata.customer_id"(t){this.serachInput=t?this.orderdata.billing.first_name+" "+this.orderdata.billing.last_name:""}},methods:{focusCustomerSearch(t){t.preventDefault(),this.$refs.customerSearch.focus()},searchClose(){this.showCustomerResults=!1,this.serachInput="",this.showNewCustomerModal=!1,this.$refs.customerSearch.blur()},addNewCustomer(){this.showNewCustomerModal=!0},selectedHandler(t){var e=this.customers[t];this.selectCustomer(e)},onKeyDown(){jQuery(".customer-search-item.selected").next().children("a").focus()},onKeyUp(){jQuery(".customer-search-item.selected").prev().children("a").focus()},triggerFocus(){this.showCustomerResults=!0,this.$emit("onfocus")},onblur(){this.showCustomerResults=!1,this.$emit("onblur")},closeNewCustomerModal(){this.customer={email:"",first_name:"",last_name:"",address_1:"",address_2:"",country:"",state:"",postcode:"",city:"",phone:""},this.selectedState=null,this.selectedCountry=null,this.showNewCustomerModal=!1},searchCustomer(){this.serachInput?wepos.api.get(wepos.rest.root+wepos.rest.posversion+"/customers?search="+this.serachInput).done(t=>{this.customers=t}):this.$emit("onCustomerSelected",{})},selectCustomer(t){this.$emit("onCustomerSelected",t),this.serachInput=t.first_name+" "+t.last_name,this.showCustomerResults=!1},createCustomer(){if(this.customer.email){var t={email:this.customer.email,first_name:this.customer.first_name,last_name:this.customer.last_name,username:this.customer.email,password:this.generatePassword(20),billing:{first_name:this.customer.first_name,last_name:this.customer.last_name,address_1:this.customer.address_1,address_2:this.customer.address_2,country:null!==this.selectedCountry?this.selectedCountry.code:"",state:null!==this.selectedState?this.selectedState.code:this.customer.state,postcode:this.customer.postcode,city:this.customer.city,phone:this.customer.phone,email:this.customer.email}},e=jQuery(".wepos-new-customer-form");e.block({message:null,overlayCSS:{background:"#fff url("+wepos.ajax_loader+") no-repeat center",opacity:.4}}),wepos.api.post(wepos.rest.root+wepos.rest.posversion+"/customers",t).done(t=>{this.serachInput=t.first_name+" "+t.last_name,this.$emit("onCustomerSelected",t),e.unblock(),this.closeNewCustomerModal()}).fail(t=>{e.unblock(),alert(t.responseJSON.message)})}else alert(this.__("Please enter an email address for customer","wepos"))},removeCountrySelect(t,e){this.selectedState=null,this.selectedCountry=null,this.stateList=[],this.customer.country="",this.customer.state=""},removeStateSelect(t,e){this.selectedState=null,this.customer.state=""},handleCountrySelect(t,e){var a=void 0!==wepos.states[t.code]?wepos.states[t.code]:[],s=Object.keys(a);s.length>0?this.stateList=s.map(t=>({code:t,name:a[t]})):(this.stateList=a,this.selectedState=null)},generatePassword(t){for(var e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",a="",s=0,i=e.length;s<t;++s)a+=e.charAt(Math.floor(Math.random()*i));return a}},created(){this.eventBus.$on("emptycart",t=>{this.serachInput=""});var t=JSON.parse(localStorage.getItem("orderdata"));void 0!=t.customer_id&&0!=t.customer_id&&(this.serachInput=t.billing.first_name+" "+t.billing.last_name)}}},function(t,e,a){"use strict";var s=a(157);e.a={name:"FeeKeypad",components:{keyboard:s.a},computed:{hotkeys(){return{discount:{f4:this.showFeeKeypad,esc:this.hideFeeKepad},fee:{f5:this.showFeeKeypad,esc:this.hideFeeKepad}}[this.shortKey]}},props:{name:{type:String,default:"Fee"},className:{type:String,default:""},shortKey:{type:String,default:""}},data:()=>({input:"",displayValue:"",viewFeeKeypad:!1}),methods:{hideFeeKepad(t){this.viewFeeKeypad=!1},layout(){return'123|456|789|{<span class="keypord-icon flaticon-backspace"></span>:backspace}0'+wepos.currency_format_decimal_sep+"|{% "+this.name+":percent}{"+wepos.currency_format_symbol+" "+this.name+":flat}"},percentFee(t){this.$emit("inputfee",t.value.toString(),"percent"),this.viewFeeKeypad=!1,this.input="",this.displayValue=""},flatFee(t){this.$emit("inputfee",t.value.toString(),"flat"),this.viewFeeKeypad=!1,this.input="",this.displayValue=""},change(t){isNaN(t)?(this.input=this.displayValue,""==this.displayValue&&(this.input="")):(this.displayValue=t,this.input=this.displayValue),jQuery(this.$refs.feeinput).focus(),""==this.input&&jQuery(this.$refs.feeinput).focus()},inputChange(){isNaN(this.displayValue)?this.displayValue=this.input:this.input=this.displayValue,""==this.input&&jQuery(this.$refs.feeinput).focus()},showFeeKeypad(t){t.preventDefault(),this.viewFeeKeypad=!0,setTimeout(()=>{jQuery(this.$refs.feeinput).focus()},500)}}}},function(t,e,a){"use strict";const s="7440011c983cf39ae730b1f831e2922ac5a76910",i="f630c4abcae620278f82e142a526ef325c2a773a",o="ad982c66898e02a5dab419ea7568421b03f68ee2";e.a={name:"keyboard",props:{value:{type:String,default:""},layouts:{type:[String,Array],required:!0},maxlength:{type:Number,default:0,validator:t=>t>=0},pattern:{type:String,default:null}},data:()=>({layout:0}),computed:{full(){return this.maxlength>0&&this.value.length>=this.maxlength},empty(){return 0===this.value.length},lines(){return(Array.isArray(this.layouts)?this.layouts:[this.layouts])[this.layout].replace("||",s).replace("{{",i).replace("}}",o).split("|")},buttons(){return this.lines.map(t=>{let e=[],a=null;return t.match(new RegExp(`(${i}|${o}|${s}|.)`,"g")).forEach(t=>{if("{"===t)a="";else if("}"===t){let t=a.split(":"),s=t.length>1?t[0]:"",i=t.length>1?t[1]:t[0],o=t.length>2?t[2]:null,r=null;r=["append","backspace","space","clear","goto"].indexOf(i)>=0?this[i].bind(this,o):this.$emit.bind(this,i,this),e.push({type:"action",action:{name:i.replace(/\s+/g,"-").toLowerCase(),callable:r},value:s,args:o}),a=null}else null!==a?a+=t:(t===s&&(t="|"),t===i&&(t="{"),t===o&&(t="}"),e.push({type:"char",action:{name:null,callable:this.append.bind(this,t)},value:t,args:null}))}),e})},valid(){return!this.pattern||this.value.match(new RegExp(this.pattern))}},methods:{mutate(t){this.maxlength>0&&(t=t.slice(0,this.maxlength)),this.$emit("input",t)},append(t){this.mutate(this.value+t)},backspace(){this.mutate(this.value.slice(0,this.value.length-1))},space(){this.append(" ")},goto(t){if(!Array.isArray(this.layouts))throw new Error("A single non-array layout was provided.");if(!(t>=0&&t<this.layouts.length))throw new Error("The requested layout does not exist.");this.layout=t},clear(){this.mutate("")}}}},,function(t,e,a){"use strict";e.a={name:"ReceiptPrint",methods:{printReceipt(){setTimeout(()=>{window.print()},500)}}}},function(t,e,a){"use strict";e.a={name:"ReceiptPrintHtml",props:{printdata:{type:Object,default:()=>({})},settings:{type:Object,default:()=>({})}},methods:{formatDate:t=>(t=new Date(t)).toLocaleString()}}},function(t,e,a){"use strict";e.a={data:()=>({viewNotePopover:!1,customerNote:""}),computed:{hotkeys(){return{f6:this.openNote,esc:this.closeNote}}},methods:{openNote(t){t.preventDefault(),this.viewNotePopover=!0,setTimeout(()=>{jQuery(this.$refs.customernote).focus()},500)},closeNote(){this.viewNotePopover=!1},addCustomerNote(){this.$emit("addnote",this.customerNote),this.viewNotePopover=!1,this.customerNote=""}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,a){"use strict";var s=r(a(139)),i=r(a(143)),o=r(a(27));function r(t){return t&&t.__esModule?t:{default:t}}var n=wepos_get_lib("Vue");n.config.productionTip=!1,new n({el:"#vue-frontend-app",router:i.default,store:o.default,render:function(t){return t(s.default)},created:function(){this.setLocaleData(wepos.i18n.wepos)}})},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(60),i=a(142),o=!1;var r=function(t){o||a(140)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/App.vue",e.default=n.exports},function(t,e){},,function(t,e,a){"use strict";var s=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"vue-frontend-app"}},[e("router-view")],1)};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,i=a(144),o=(s=i)&&s.__esModule?s:{default:s};var r=wepos_get_lib("Vue"),n=wepos_get_lib("Router");r.use(n),e.default=new n({routes:wepos.hooks.applyFilters("wepos_frontend_routes",[{path:"/",name:"Home",component:o.default}])})},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a(61),i=a(171),o=!1;var r=function(t){o||a(145)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/Home.vue",e.default=n.exports},function(t,e){},function(t,e,a){"use strict";var s=a(62),i=a(148),o=!1;var r=function(t){o||a(147)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/Overlay.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=function(){var t=this.$createElement,e=this._self._c||t;return this.show?e("div",{staticClass:"overlay"}):this._e()};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},function(t,e,a){"use strict";var s=a(63),i=a(151),o=!1;var r=function(t){o||a(150)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/ProductSearch.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.outside,expression:"outside"}],staticClass:"search-box"},[a("form",{attrs:{action:"",autocomplete:"off"},on:{submit:function(e){e.preventDefault(),t.handleProductScan(e)}}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.serachInput,expression:"serachInput"}],ref:"productSearch",attrs:{type:"text",name:"search",id:"product-search",placeholder:t.placeholder},domProps:{value:t.serachInput},on:{focus:function(e){e.preventDefault(),t.triggerFocus(e)},keyup:function(e){e.preventDefault(),t.searchProduct(e)},input:function(e){e.target.composing||(t.serachInput=e.target.value)}}}),t._v(" "),"product"==t.mode?a("span",{staticClass:"search-icon flaticon-musica-searcher"}):t._e(),t._v(" "),"scan"==t.mode?a("span",{staticClass:"search-icon flaticon-supermarket-scanner"}):t._e(),t._v(" "),a("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"search-type"},[a("a",{class:{active:"product"==t.mode},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.changeMode("product")}}},[t._v(t._s(t.__("Product","wepos")))]),t._v(" "),a("a",{class:{active:"scan"==t.mode},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.changeMode("scan")}}},[t._v(t._s(t.__("Scan","wepos")))])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.showResults&&"product"==t.mode,expression:"showResults && mode=='product'"}],staticClass:"search-result"},[t.searchableProduct.length?a("div",[a("keyboard-control",{attrs:{listLength:t.searchableProduct.length},on:{selected:t.selectedHandler,"key-down":t.onKeyDown,"key-up":t.onKeyUp},scopedSlots:t._u([{key:"default",fn:function(e){var s=e.selectedIndex;return t._l(t.searchableProduct,function(e,i){return a("li",{key:i,staticClass:"product-search-item",class:{selected:i===s}},["simple"==e.type?[a("a",{staticClass:"wepos-clearfix",attrs:{href:"#"},on:{click:function(a){t.addToCartAction(e)}}},[t._v(t._s(e.name)+"\n                                    "),a("span",{staticClass:"price"},[t._v(t._s(t.formatPrice(e.price)))]),t._v(" "),e.sku?a("span",{staticClass:"sku"},[t._v(t._s(e.sku))]):t._e(),t._v(" "),a("span",{staticClass:"action flaticon-enter-arrow wepos-right"})])]:t._e(),t._v(" "),"variable"==e.type?[a("a",{attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.selectVariation(e)}}},[t._v(t._s(e.name)+"\n                                    "),a("span",{staticClass:"price"},[t._v(t._s(t.formatPrice(e.price)))]),t._v(" "),e.sku?a("span",{staticClass:"sku"},[t._v(t._s(e.sku))]):t._e(),t._v(" "),a("span",{staticClass:"action flaticon-enter-arrow wepos-right"})])]:t._e()],2)})}}])})],1):a("div",{staticClass:"no-data-found"},[t._v("\n                "+t._s(t.__("No product found","wepos"))+"\n            ")]),t._v(" "),a("div",{staticClass:"suggession"},[a("span",{staticClass:"term"},[a("span",{staticClass:"flaticon-swap"}),t._v(" "+t._s(t.__("to navigate","wepos"))+"\n                ")]),t._v(" "),a("span",{staticClass:"term"},[a("span",{staticClass:"flaticon-enter-arrow"}),t._v(" "+t._s(t.__("to select","wepos"))+"\n                ")]),t._v(" "),a("span",{staticClass:"term"},[a("strong",[t._v("esc")]),t._v(" "+t._s(t.__("to dismiss","wepos"))+"\n                ")])])])]),t._v(" "),t.showVariationModal?a("modal",{attrs:{title:t.__("Select Variations","wepos"),width:"500px",height:"auto",footer:!0,header:!0},on:{close:function(e){t.showVariationModal=!1}}},[a("template",{slot:"body"},t._l(t.selectedVariationProduct.attributes,function(e){return a("div",{staticClass:"variation-attribute-wrapper"},[a("div",{staticClass:"attribute"},[a("p",[t._v(t._s(e.name))]),t._v(" "),a("div",{staticClass:"options"},[t._l(e.options,function(s){return[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.chosenAttribute[e.name],expression:"chosenAttribute[attribute.name]"}],attrs:{type:"radio"},domProps:{value:s,checked:t._q(t.chosenAttribute[e.name],s)},on:{change:function(a){t.$set(t.chosenAttribute,e.name,s)}}}),t._v(" "),a("div",{staticClass:"box"},[t._v("\n                                    "+t._s(s)+"\n                                ")])])]})],2)])])})),t._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"add-variation-btn",attrs:{disabled:t.attributeDisabled},on:{click:function(e){t.addVariationProduct()}}},[t._v(t._s(t.__("Add Product","wepos")))])])],2):t._e()],1)};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},function(t,e,a){"use strict";var s=a(66),i=a(154),o=!1;var r=function(t){o||a(153)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/CustomerSearch.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.onblur,expression:"onblur"},{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"customer-search-box"},[a("form",{attrs:{action:"",autocomplete:"off"}},[a("svg",{staticClass:"customer-icon",attrs:{width:"19px",height:"19px",viewBox:"0 0 19 19",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[a("defs",[a("linearGradient",{attrs:{x1:"14.5524094%",y1:"14.6909544%",x2:"82.7722259%",y2:"85.2519444%",id:"linearGradient-1"}},[a("stop",{attrs:{"stop-color":"#C444FB",offset:"0%"}}),t._v(" "),a("stop",{attrs:{"stop-color":"#5B56D7",offset:"100%"}})],1)],1),t._v(" "),a("g",{attrs:{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[a("g",{attrs:{id:"POS-Design---Dokan-P2",transform:"translate(-759.000000, -27.000000)"}},[a("g",{attrs:{id:"Group",transform:"translate(759.000000, 27.000000)"}},[a("circle",{attrs:{id:"Oval",fill:"url(#linearGradient-1)","fill-rule":"nonzero",cx:"9.5",cy:"9.5",r:"9.5"}}),t._v(" "),a("g",{attrs:{id:"flaticon1543304699-svg-2",transform:"translate(9.500000, 9.500000) scale(-1, 1) translate(-9.500000, -9.500000) translate(6.000000, 5.000000)"}},[a("g",{attrs:{id:"flaticon1543304699-svg"}},[a("path",{attrs:{d:"M3.31578947,4.40159143 C4.27870463,4.40159143 5.0593751,3.41627143 5.0593751,2.20080857 C5.0593751,0.98532 4.80306952,0 3.31578947,0 C1.82850943,0 1.57215436,0.98532 1.57215436,2.20080857 C1.57215436,3.41627143 2.35282482,4.40159143 3.31578947,4.40159143 Z",id:"Path",fill:"#FFFFFF"}}),t._v(" "),a("path",{attrs:{d:"M0.0616980658,7.82884897 C0.0604730658,7.62453402 0.0592480658,7.77128348 0.0616980658,7.82884897 Z",id:"Path",fill:"#000000"}}),t._v(" "),a("path",{attrs:{d:"M6.64682715,7.85749962 C6.65070632,7.82585407 6.64815424,7.63794608 6.64682715,7.85749962 Z",id:"Path",fill:"#000000"}}),t._v(" "),a("path",{attrs:{d:"M6.60522584,7.67306571 C6.57293401,5.5557 6.30682954,4.95236571 4.27051414,4.57045714 C4.27051414,4.57045714 3.98387156,4.95002571 3.31576473,4.95002571 C2.64765789,4.95002571 2.36096583,4.57045714 2.36096583,4.57045714 C0.34687117,4.9482 0.0645836606,5.54258571 0.0274666143,7.60428 C0.0244230165,7.77263143 0.0230125687,7.78147714 0.0224681854,7.76193429 C0.0225919089,7.79855143 0.0227403771,7.86628286 0.0227403771,7.98438857 C0.0227403771,7.98438857 0.507538492,9 3.31576473,9 C6.12394148,9 6.60878908,7.98438857 6.60878908,7.98438857 C6.60878908,7.90850571 6.60883857,7.85574 6.6089128,7.81984286 C6.60836842,7.83192857 6.60727965,7.80850286 6.60522584,7.67306571 Z",id:"Path",fill:"#FFFFFF"}})])])])])])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.serachInput,expression:"serachInput"}],ref:"customerSearch",attrs:{type:"text",name:"customer_search",id:"customer-search",placeholder:t.__("Search customer","wepos")},domProps:{value:t.serachInput},on:{focus:function(e){e.preventDefault(),t.triggerFocus(e)},keyup:t.searchCustomer,input:function(e){e.target.composing||(t.serachInput=e.target.value)}}}),t._v(" "),a("span",{staticClass:"add-new-customer flaticon-add",on:{click:function(e){e.preventDefault(),t.addNewCustomer()}}}),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.showCustomerResults,expression:"showCustomerResults"}],staticClass:"search-result"},[t.customers.length?a("div",[a("keyboard-control",{attrs:{listLength:t.customers.length},on:{selected:t.selectedHandler,"key-down":t.onKeyDown,"key-up":t.onKeyUp},scopedSlots:t._u([{key:"default",fn:function(e){var s=e.selectedIndex;return t._l(t.customers,function(e,i){return a("li",{key:i,staticClass:"customer-search-item",class:{selected:i===s}},[a("a",{staticClass:"wepos-clearfix",attrs:{href:"#"},on:{click:function(a){t.selectCustomer(e)}}},[a("span",{staticClass:"avatar wepos-left"},[a("img",{attrs:{src:e.avatar_url,alt:e.first_name+" "+e.last_name}})]),t._v(" "),a("span",{staticClass:"name wepos-left"},[t._v(t._s(e.first_name+" "+e.last_name)),a("span",{staticClass:"metadata"},[t._v(t._s(e.email))])]),t._v(" "),a("span",{staticClass:"action flaticon-enter-arrow wepos-right"})])])})}}])})],1):a("div",{staticClass:"no-data-found"},[t._v("\n                "+t._s(t.__("No customer found","wepos"))+"\n            ")]),t._v(" "),a("div",{staticClass:"suggession"},[a("span",{staticClass:"term"},[a("span",{staticClass:"flaticon-swap"}),t._v(" "+t._s(t.__("to navigate","wepos"))+"\n                ")]),t._v(" "),a("span",{staticClass:"term"},[a("span",{staticClass:"flaticon-enter-arrow"}),t._v(" "+t._s(t.__("to select","wepos"))+"\n                ")]),t._v(" "),a("span",{staticClass:"term"},[a("strong",[t._v("esc")]),t._v(" "+t._s(t.__("to dismiss","wepos"))+"\n                ")])])])]),t._v(" "),t.showNewCustomerModal?a("modal",{attrs:{title:t.__("Add New Customer","wepos"),width:"700px",footer:!0,header:!0},on:{close:t.closeNewCustomerModal}},[a("template",{slot:"body"},[a("div",{staticClass:"wepos-new-customer-form"},[a("form",{staticClass:"wepos-form",attrs:{action:"",autocomplete:"off"}},[a("div",{staticClass:"form-row col-2"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.first_name,expression:"customer.first_name"}],attrs:{type:"text",placeholder:t.__("First Name","wepos")},domProps:{value:t.customer.first_name},on:{input:function(e){e.target.composing||t.$set(t.customer,"first_name",e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.last_name,expression:"customer.last_name"}],attrs:{type:"text",placeholder:t.__("Last Name","wepos")},domProps:{value:t.customer.last_name},on:{input:function(e){e.target.composing||t.$set(t.customer,"last_name",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-row"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.email,expression:"customer.email"}],attrs:{type:"email",placeholder:t.__("Email","wepos")},domProps:{value:t.customer.email},on:{input:function(e){e.target.composing||t.$set(t.customer,"email",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-row col-2"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.address_1,expression:"customer.address_1"}],attrs:{type:"text",placeholder:t.__("Address 1","wepos")},domProps:{value:t.customer.address_1},on:{input:function(e){e.target.composing||t.$set(t.customer,"address_1",e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.address_2,expression:"customer.address_2"}],attrs:{type:"text",placeholder:t.__("Address 2 (optional)","wepos")},domProps:{value:t.customer.address_2},on:{input:function(e){e.target.composing||t.$set(t.customer,"address_2",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-row col-2"},[a("multiselect",{staticClass:"wepos-multiselect customer-country",staticStyle:{width:"48.5%","margin-right":"20px"},attrs:{options:t.getCountryList,selectLabel:"",deselectLabel:"",selectedLabel:"",placeholder:t.__("Select a country","wepos"),"track-by":"code",label:"name"},on:{select:t.handleCountrySelect,remove:t.removeCountrySelect},scopedSlots:t._u([{key:"singleLabel",fn:function(e){return[a("span",{domProps:{innerHTML:t._s(e.option.name)}})]}},{key:"option",fn:function(e){return[a("span",{domProps:{innerHTML:t._s(e.option.name)}})]}}]),model:{value:t.selectedCountry,callback:function(e){t.selectedCountry=e},expression:"selectedCountry"}},[a("template",{slot:"noResult"},[a("div",{staticClass:"no-data-found"},[t._v(t._s(t.__("No country found","wepos")))])])],2),t._v(" "),t.stateList.length>0?[a("multiselect",{staticClass:"wepos-multiselect customer-state",staticStyle:{width:"48.5%"},attrs:{options:t.stateList,selectLabel:"",deselectLabel:"",selectedLabel:"",placeholder:t.__("Select a state","wepos"),"track-by":"code",label:"name"},on:{remove:t.removeStateSelect},scopedSlots:t._u([{key:"singleLabel",fn:function(e){return[a("span",{domProps:{innerHTML:t._s(e.option.name)}})]}},{key:"option",fn:function(e){return[a("span",{domProps:{innerHTML:t._s(e.option.name)}})]}}]),model:{value:t.selectedState,callback:function(e){t.selectedState=e},expression:"selectedState"}},[a("template",{slot:"noResult"},[a("div",{staticClass:"no-data-found"},[t._v(t._s(t.__("No country found","wepos")))])])],2)]:[a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.state,expression:"customer.state"}],attrs:{type:"text",placeholder:t.__("States (optional)","wepos")},domProps:{value:t.customer.state},on:{input:function(e){e.target.composing||t.$set(t.customer,"state",e.target.value)}}})]],2),t._v(" "),a("div",{staticClass:"form-row col-2"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.city,expression:"customer.city"}],attrs:{type:"text",placeholder:t.__("City (optional)","wepos")},domProps:{value:t.customer.city},on:{input:function(e){e.target.composing||t.$set(t.customer,"city",e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.postcode,expression:"customer.postcode"}],attrs:{type:"text",placeholder:t.__("Zip/Postal Code (optional)","wepos")},domProps:{value:t.customer.postcode},on:{input:function(e){e.target.composing||t.$set(t.customer,"postcode",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-row"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.customer.phone,expression:"customer.phone"}],attrs:{type:"text",placeholder:t.__("Phone (optional)","wepos")},domProps:{value:t.customer.phone},on:{input:function(e){e.target.composing||t.$set(t.customer,"phone",e.target.value)}}})])])])]),t._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"add-new-customer-btn add-variation-btn",attrs:{disabled:t.isDisabled},on:{click:function(e){t.createCustomer()}}},[t._v(t._s(t.__("Add Customer","wepos")))])])],2):t._e()],1)};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},function(t,e,a){"use strict";var s=a(67),i=a(160),o=!1;var r=function(t){o||a(156)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/FeeKeypad.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=a(68),i=a(159),o=!1;var r=function(t){o||a(158)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/Keyboard.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("aside",{staticClass:"vue-keyboard",class:{full:t.full,empty:t.empty,valid:t.valid,invalid:!t.valid},attrs:{role:"application","data-value":t.value,"data-layout":t.layout}},t._l(t.buttons,function(e){return a("div",{staticClass:"vue-keyboard-row",attrs:{role:"row","data-keys":e.length}},t._l(e,function(e){return a("button",{staticClass:"vue-keyboard-key",class:e.type,attrs:{role:"button","data-args":e.args,"data-text":e.value,"data-action":e.action.name},domProps:{innerHTML:t._s(e.value)},on:{click:function(t){t.preventDefault(),e.action.callable(t)}}})}))}))};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"wepos-fee-keypad-wrap",class:t.className},[a("v-popover",{attrs:{offset:"5","popover-base-class":"fee-keypad tooltip popover",placement:"top",open:t.viewFeeKeypad}},[a("a",{attrs:{href:"#"},on:{click:t.showFeeKeypad}},[t._v(t._s(t.__("Add","wepos"))+" "+t._s(t.name))]),t._v(" "),a("template",{slot:"popover"},[a("form",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.displayValue,expression:"displayValue"}],ref:"feeinput",attrs:{type:"text"},domProps:{value:t.displayValue},on:{keyup:t.inputChange,input:function(e){e.target.composing||(t.displayValue=e.target.value)}}})]),t._v(" "),a("keyboard",{attrs:{layouts:t.layout()},on:{percent:t.percentFee,flat:t.flatFee,input:t.change},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}})],1)],2)],1)};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},,function(t,e,a){"use strict";var s=a(70),i=a(164),o=!1;var r=function(t){o||a(163)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/PrintReceipt.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"wepos-print-receipt"}},[a("button",{staticClass:"print-btn",on:{click:function(e){e.preventDefault(),t.printReceipt()}}},[a("span",{staticClass:"icon flaticon-printer"}),t._v(" "),a("span",{staticClass:"label"},[t._v(t._s(t.__("Print Receipt","wepos")))])])])};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},function(t,e,a){"use strict";var s=a(71),i=a(167),o=!1;var r=function(t){o||a(166)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/PrintReceiptHtml.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.settings.wepos_receipts?a("div",{staticClass:"wepos-checkout-print-wrapper"},[a("div",{staticClass:"header",domProps:{innerHTML:t._s(t.settings.wepos_receipts.receipt_header)}}),t._v(" "),a("div",{staticClass:"order-info"},[a("span",{staticClass:"wepos-left"},[a("strong",[t._v(t._s(t.__("Order ID","wepos"))+": #"+t._s(t.printdata.order_id))])]),t._v(" "),a("span",{staticClass:"wepos-right"},[a("strong",[t._v(t._s(t.__("Order Date","wepos"))+": "+t._s(t.formatDate(t.printdata.order_date)))])]),t._v(" "),a("div",{staticClass:"wepos-clearfix"})]),t._v(" "),a("div",{staticClass:"content"},[a("table",{staticClass:"sale-summary"},[a("tbody",[t._l(t.printdata.line_items,function(e){return a("tr",[a("td",{staticClass:"name"},[t._v("\n                        "+t._s(e.name)+"\n                        "),e.attribute.length>0?a("div",{staticClass:"attribute"},[a("ul",t._l(e.attribute,function(e){return a("li",[a("span",{staticClass:"attr_name"},[t._v(t._s(e.name))]),t._v(": "),a("span",{staticClass:"attr_value"},[t._v(t._s(e.option))])])}))]):t._e()]),t._v(" "),a("td",{staticClass:"quantity"},[t._v(t._s(e.quantity))]),t._v(" "),a("td",{staticClass:"price"},[e.on_sale?[a("span",{staticClass:"regular-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))]),t._v(" "),a("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.sale_price)))])]:[a("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]],2)])}),t._v(" "),a("tr",{staticClass:"cart-meta-data"},[a("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v("\n                        "+t._s(t.__("Subtotal","wepos"))+"\n                        "),"incl"==t.settings.woo_tax.wc_tax_display_cart?a("span",{staticClass:"metadata"},[t._v("\n                            "+t._s(t.__("Includes Tax","wepos"))+" "+t._s(t.formatPrice(t.$store.getters["Cart/getTotalLineTax"]))+"\n                        ")]):t._e()]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.subtotal)))])]),t._v(" "),t._l(t.printdata.fee_lines,function(e,s){return a("tr",{staticClass:"cart-meta-data"},["discount"==e.type?[a("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Discount","wepos"))+" "),a("span",{staticClass:"metadata"},[t._v(t._s("percent"==e.discount_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),a("td",{staticClass:"price"},[t._v("-"+t._s(t.formatPrice(Math.abs(e.total))))])]:[a("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Fee","wepos"))+" "),a("span",{staticClass:"metadata"},[t._v(t._s(e.name)+" "+t._s("percent"==e.fee_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),a("td",{staticClass:"price"},[t._v("-"+t._s(t.formatPrice(Math.abs(e.total))))])]],2)}),t._v(" "),t.printdata.taxtotal?a("tr",[a("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Tax","wepos")))]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.taxtotal)))])]):t._e(),t._v(" "),a("tr",[a("td",{staticClass:"name",attrs:{colspan:"2"}},[t._v(t._s(t.__("Order Total","wepos")))]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.ordertotal)))])]),t._v(" "),t._m(0),t._v(" "),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v(t._s(t.__("Payment method","wepos")))]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.printdata.gateway.title||""))])]),t._v(" "),(t.printdata.gateway.id="wepos_cash")?[a("tr",[a("td",{attrs:{colspan:"2"}},[t._v(t._s(t.__("Cash Given","wepos")))]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.cashamount)))])]),t._v(" "),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v(t._s(t.__("Change Money","wepos")))]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.printdata.changeamount)))])])]:t._e()],2)])]),t._v(" "),a("div",{staticClass:"footer",domProps:{innerHTML:t._s(t.settings.wepos_receipts.receipt_footer)}})]):t._e()};s._withStripped=!0;var i={render:s,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",{staticClass:"divider"},[e("td",{attrs:{colspan:"3"}})])}]};e.a=i},function(t,e,a){"use strict";var s=a(72),i=a(170),o=!1;var r=function(t){o||a(169)},n=a(0)(s.a,i.a,!1,r,null,null);n.options.__file="assets/src/frontend/components/CustomerNote.vue",e.a=n.exports},function(t,e){},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],staticClass:"wepos-custom-note-wrap"},[a("v-popover",{attrs:{offset:"5","popover-base-class":"customer-note tooltip popover",placement:"top",open:t.viewNotePopover}},[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.openNote(e)}}},[t._v(t._s(t.__("Add Note","wepos")))]),t._v(" "),a("template",{slot:"popover"},[a("form",{on:{submit:function(e){e.preventDefault(),t.addCustomerNote(e)}}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.customerNote,expression:"customerNote"}],ref:"customernote",attrs:{id:"",cols:"30",rows:"5"},domProps:{value:t.customerNote},on:{input:function(e){e.target.composing||(t.customerNote=e.target.value)}}}),t._v(" "),a("button",{staticClass:"add-note-btn",attrs:{type:"submit",disabled:""==t.customerNote}},[t._v(t._s(t.__("Add Note","wepos")))])])])],2)],1)};s._withStripped=!0;var i={render:s,staticRenderFns:[]};e.a=i},function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"hotkey",rawName:"v-hotkey",value:t.hotkeys,expression:"hotkeys"}],attrs:{id:"wepos-main"}},[a("div",{staticClass:"content-product"},[a("div",{staticClass:"top-panel wepos-clearfix"},[a("div",{staticClass:"search-bar"},[a("product-search",{attrs:{products:t.products,settings:t.settings},on:{onProductAdded:t.addToCart}})],1),t._v(" "),a("div",{staticClass:"category"},[a("multiselect",{staticClass:"wepos-multiselect",attrs:{options:t.categories,selectLabel:"",deselectLabel:"",selectedLabel:"",placeholder:t.__("Select a category","wepos")},on:{select:t.handleCategorySelect,remove:t.handleCategoryRemove},scopedSlots:t._u([{key:"singleLabel",fn:function(e){return[t._v("\n                        "+t._s(e.option.name)+"\n                    ")]}},{key:"option",fn:function(e){return[a("span",[t._l(e.option.level,function(e){return[t._v("\n                                 \n                            ")]}),t._v("\n                            "+t._s(e.option.name)+"\n                        ")],2)]}}]),model:{value:t.selectedCategory,callback:function(e){t.selectedCategory=e},expression:"selectedCategory"}},[a("template",{slot:"noResult"},[a("div",{staticClass:"no-data-found"},[t._v(t._s(t.__("Not found","wepos")))])])],2)],1),t._v(" "),a("div",{staticClass:"toggle-view"},[a("div",{staticClass:"product-toggle"},[a("span",{staticClass:"toggle-icon list-view flaticon-menu-button-of-three-horizontal-lines",class:{active:"list"==t.productView},on:{click:function(e){t.productView="list"}}}),t._v(" "),a("span",{staticClass:"toggle-icon grid-view flaticon-menu",class:{active:"grid"==t.productView},on:{click:function(e){t.productView="grid"}}})])])]),t._v(" "),t.getBreadCrums.length>0?a("div",{staticClass:"breadcrumb"},[a("ul",[t._l(t.getBreadCrums,function(e){return[a("router-link",{attrs:{tag:"li",to:{name:"Home",query:{category:e.id}}}},[a("a",[t._v(t._s(e.name))])])]})],2),t._v(" "),a("span",{staticClass:"close-breadcrumb flaticon-cancel-music",on:{click:function(e){e.preventDefault(),t.removeBreadcrums(e)}}})]):t._e(),t._v(" "),a("div",{ref:"items-wrapper",staticClass:"items-wrapper",class:t.productView},[t.productLoading?t._e():[t._l(t.getFilteredProduct,function(e){return t.getFilteredProduct.length>0?a("div",{staticClass:"item"},["simple"==e.type?[a("div",{staticClass:"item-wrap",on:{click:function(a){if(!("button"in a)&&t._k(a.keyCode,"prevnt",void 0,a.key))return null;t.addToCart(e)}}},[a("div",{staticClass:"img"},[a("img",{attrs:{src:t.getProductImage(e),alt:t.getProductImageName(e)}})]),t._v(" "),"grid"==t.productView?a("div",{staticClass:"title"},[t._v("\n                                "+t._s(t.truncateTitle(e.name,20))+"\n\n                            ")]):a("div",{staticClass:"title"},[a("div",{staticClass:"product-name"},[t._v(t._s(e.name))]),t._v(" "),a("ul",{staticClass:"meta"},[e.sku?a("li",[a("span",{staticClass:"label"},[t._v(t._s(t.__("Sku :","wepos")))]),t._v(" "),a("span",{staticClass:"value"},[t._v(t._s(e.sku))])]):t._e(),t._v(" "),a("li",[a("span",{staticClass:"label"},[t._v(t._s(t.__("Price :","wepos")))]),t._v(" "),a("span",{staticClass:"value",domProps:{innerHTML:t._s(e.price_html)}})])])]),t._v(" "),a("span",{staticClass:"add-product-icon flaticon-add",class:t.productView})])]:t._e(),t._v(" "),"variable"==e.type?[a("v-popover",{attrs:{offset:"10","popover-base-class":"product-variation tooltip popover",placement:"left-end"}},[a("div",{staticClass:"item-wrap",on:{click:function(a){t.selectVariationProduct(e)}}},[a("div",{staticClass:"img"},[a("img",{attrs:{src:t.getProductImage(e),alt:t.getProductImageName(e)}})]),t._v(" "),"grid"==t.productView?a("div",{staticClass:"title"},[t._v("\n                                    "+t._s(t.truncateTitle(e.name,20))+"\n                                ")]):a("div",{staticClass:"title"},[a("div",{staticClass:"product-name"},[t._v(t._s(e.name))]),t._v(" "),a("ul",{staticClass:"meta"},[a("li",[a("span",{staticClass:"label"},[t._v(t._s(t.__("Price :","wepos")))]),t._v(" "),a("span",{staticClass:"value",domProps:{innerHTML:t._s(e.price_html)}})])])]),t._v(" "),a("span",{staticClass:"add-product-icon flaticon-add",class:t.productView})]),t._v(" "),a("template",{slot:"popover"},[a("div",{staticClass:"variation-header"},[t._v("\n                                    "+t._s(t.__("Select Variations","wepos"))+"\n                                ")]),t._v(" "),a("div",{staticClass:"variation-body"},[t._l(e.attributes,function(e){return[a("div",{staticClass:"attribute"},[a("p",[t._v(t._s(e.name))]),t._v(" "),a("div",{staticClass:"options"},[t._l(e.options,function(s){return[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedAttribute[e.name],expression:"selectedAttribute[attribute.name]"}],attrs:{type:"radio"},domProps:{value:s,checked:t._q(t.selectedAttribute[e.name],s)},on:{change:function(a){t.$set(t.selectedAttribute,e.name,s)}}}),t._v(" "),a("div",{staticClass:"box"},[t._v("\n                                                            "+t._s(s)+"\n                                                        ")])])]})],2)])]})],2),t._v(" "),a("div",{staticClass:"variation-footer"},[a("button",{attrs:{disabled:t.attributeDisabled},on:{click:function(e){e.preventDefault(),t.addVariationProduct(e)}}},[t._v(t._s(t.__("Add Product","wepos")))])])])],2)]:t._e()],2):t._e()}),t._v(" "),t.getFilteredProduct.length<=0?a("div",{staticClass:"no-product-found"},[a("img",{attrs:{src:t.wepos.assets_url+"/images/no-product.png",alt:"",width:"120px"}}),t._v(" "),a("p",[t._v(t._s(t.__("No Product Found","wepos")))])]):t._e()],t._v(" "),t.productLoading?a("div",{staticClass:"product-loading"},[a("div",{staticClass:"spinner spinner-loading"})]):t._e()],2)]),t._v(" "),a("div",{staticClass:"content-cart"},[a("div",{staticClass:"top-panel"},[a("customer-search",{on:{onCustomerSelected:t.selectCustomer}}),t._v(" "),a("div",{staticClass:"action"},[a("div",{staticClass:"more-options"},[a("v-popover",{attrs:{offset:"5","popover-base-class":"wepos-dropdown-menu tooltip popover",placement:"bottom-end",open:t.showQucikMenu}},[a("button",{staticClass:"wepos-button",on:{click:function(e){e.preventDefault(),t.openQucikMenu()}}},[a("span",{staticClass:"more-icon flaticon-more"})]),t._v(" "),a("template",{slot:"popover"},[a("ul",[t._l(t.quickLinkListStart,function(t,e){return a(t,{key:e-"1",tag:"component"})}),t._v(" "),a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.emptyCart(e)}}},[a("span",{staticClass:"flaticon-empty-cart quick-menu-icon"}),t._v(t._s(t.__("Empty Cart","wepos")))])]),t._v(" "),a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.openHelp(e)}}},[a("span",{staticClass:"flaticon-information quick-menu-icon"}),t._v(t._s(t.__("Help","wepos")))])]),t._v(" "),a("li",{staticClass:"divider"}),t._v(" "),t._l(t.quickLinkList,function(t,e){return a(t,{key:e,tag:"component"})}),t._v(" "),a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.logout(e)}}},[a("span",{staticClass:"flaticon-logout quick-menu-icon"}),t._v(t._s(t.__("Logout","wepos")))])])],2)])],2)],1)])],1),t._v(" "),t._l(t.beforCartPanels,function(t,e){return a(t,{key:e,tag:"component"})}),t._v(" "),t.settings.wepos_general?a("div",{staticClass:"cart-panel"},[a("div",{staticClass:"cart-content"},[a("table",{staticClass:"cart-table"},[a("thead",[a("tr",[a("th",{attrs:{width:"65%"}},[t._v(t._s(t.__("Product","wepos")))]),t._v(" "),a("th",{attrs:{width:"15%"}},[t._v(t._s(t.__("Qty","wepos")))]),t._v(" "),a("th",{attrs:{width:"30%"}},[t._v(t._s(t.__("Price","wepos")))]),t._v(" "),a("th"),t._v(" "),a("th")])]),t._v(" "),a("tbody",[t.cartdata.line_items.length>0?[t._l(t.cartdata.line_items,function(e,s){return[a("tr",[a("td",{staticClass:"name",on:{click:function(a){t.toggleEditQuantity(e,s)}}},[t._v("\n                                        "+t._s(e.name)+"\n                                        "),e.attribute.length>0&&"variable"===e.type?a("div",{staticClass:"attribute"},[a("ul",t._l(e.attribute,function(e){return a("li",[a("span",{staticClass:"attr_name"},[t._v(t._s(e.name))]),t._v(": "),a("span",{staticClass:"attr_value"},[t._v(t._s(e.option))])])}))]):t._e()]),t._v(" "),a("td",{staticClass:"qty",on:{click:function(a){t.toggleEditQuantity(e,s)}}},[t._v(t._s(e.quantity))]),t._v(" "),a("td",{staticClass:"price",on:{click:function(a){t.toggleEditQuantity(e,s)}}},[e.on_sale?[a("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.sale_price)))]),t._v(" "),a("span",{staticClass:"regular-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]:[a("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]],2),t._v(" "),a("td",{staticClass:"action"},[a("span",{staticClass:"flaticon-right-arrow",class:{open:e.editQuantity},on:{click:function(a){a.preventDefault(),t.toggleEditQuantity(e,s)}}})]),t._v(" "),a("td",{staticClass:"remove"},[a("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){e.preventDefault(),t.removeItem(s)}}})])]),t._v(" "),e.editQuantity?a("tr",{staticClass:"update-quantity-wrap"},[a("td",{attrs:{colspan:"5"}},[a("span",{staticClass:"qty"},[t._v(t._s(t.__("Quantity","wepos")))]),t._v(" "),a("span",{staticClass:"qty-number"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.quantity,expression:"item.quantity"}],attrs:{type:"number",min:"1",step:"1"},domProps:{value:e.quantity},on:{input:function(a){a.target.composing||t.$set(e,"quantity",a.target.value)}}})]),t._v(" "),a("span",{staticClass:"qty-action"},[a("a",{staticClass:"add",attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.addQuantity(e,s)}}},[t._v("+")]),t._v(" "),a("a",{staticClass:"minus",attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.removeQuantity(e,s)}}},[t._v("-")])])])]):t._e()]})]:[a("tr",{staticClass:"no-item"},[a("td",{attrs:{colspan:"5"}},[a("img",{attrs:{src:t.wepos.assets_url+"/images/empty-cart.png",alt:"",width:"120px"}}),t._v(" "),a("p",[t._v(t._s(t.__("Empty Cart","wepos")))])])])]],2)])]),t._v(" "),a("div",{staticClass:"cart-calculation"},[a("form",{attrs:{autocomplete:"off"}},[a("table",{staticClass:"cart-total-table"},[a("tbody",[a("tr",{staticClass:"cart-meta-data"},[a("td",{staticClass:"label"},[t._v("\n                                    "+t._s(t.__("Subtotal","wepos"))+"\n                                    "),"incl"==t.settings.woo_tax.wc_tax_display_cart&&t.$store.getters["Cart/getTotalLineTax"]>0?a("span",{staticClass:"name"},[t._v("\n                                        "+t._s(t.__("Includes Tax","wepos"))+" "+t._s(t.formatPrice(t.$store.getters["Cart/getTotalLineTax"]))+"\n                                    ")]):t._e()]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getSubtotal"])))]),t._v(" "),a("td",{staticClass:"action"})]),t._v(" "),t.cartdata.fee_lines.length>0?t._l(t.cartdata.fee_lines,function(e,s){return a("tr",{staticClass:"cart-meta-data"},["discount"==e.type?[a("td",{staticClass:"label"},[t._v(t._s(t.__("Discount","wepos"))+" "),a("span",{staticClass:"name"},[t._v(t._s("percent"==e.discount_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),a("td",{staticClass:"price"},[t._v("−"+t._s(t.formatPrice(Math.abs(e.total))))]),t._v(" "),a("td",{staticClass:"action"},[a("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){t.removeFeeLine(s)}}})])]:[t.cartdata.fee_lines[s].isEdit?[a("td",{staticClass:"label",attrs:{colspan:"2"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.feeData.name,expression:"feeData.name"}],ref:"fee_name",refInFor:!0,staticClass:"fee-name",attrs:{type:"text",placeholder:t.__("Fee Name","wepos")},domProps:{value:t.feeData.name},on:{input:function(e){e.target.composing||t.$set(t.feeData,"name",e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.feeData.value,expression:"feeData.value"}],ref:"fee_total",refInFor:!0,staticClass:"fee-amount",attrs:{type:"number",min:"0",step:"any",placeholder:t.__("Total","wepos")},domProps:{value:t.feeData.value},on:{input:function(e){e.target.composing||t.$set(t.feeData,"value",e.target.value)}}}),t._v(" "),"yes"==t.settings.wepos_general.enable_fee_tax?[a("label",{attrs:{for:"fee-tax-status"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.feeData.tax_status,expression:"feeData.tax_status"}],staticClass:"fee-tax-status",attrs:{type:"checkbox",id:"fee-tax-status","true-value":"taxable","false-value":"none"},domProps:{checked:Array.isArray(t.feeData.tax_status)?t._i(t.feeData.tax_status,null)>-1:t._q(t.feeData.tax_status,"taxable")},on:{change:function(e){var a=t.feeData.tax_status,s=e.target,i=s.checked?"taxable":"none";if(Array.isArray(a)){var o=t._i(a,null);s.checked?o<0&&(t.feeData.tax_status=a.concat([null])):o>-1&&(t.feeData.tax_status=a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.feeData,"tax_status",i)}}}),t._v(" "+t._s(t.__("Taxable","wepos")))]),t._v(" "),"taxable"==t.feeData.tax_status?a("select",{directives:[{name:"model",rawName:"v-model",value:t.feeData.tax_class,expression:"feeData.tax_class"}],staticClass:"fee-tax-class",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.$set(t.feeData,"tax_class",e.target.multiple?a:a[0])}}},t._l(t.availableTax,function(e){return a("option",{domProps:{value:"standard"==e.class?"":e.class}},[t._v(t._s(t.unSanitizeString(e.class))+" - "+t._s(e.percentage_rate))])})):t._e()]:t._e(),t._v(" "),a("button",{attrs:{disabled:""==t.feeData.name},on:{click:function(e){e.preventDefault(),t.saveFee(s)}}},[t._v(t._s(t.__("Apply","wepos")))]),t._v(" "),a("button",{staticClass:"cancel",on:{click:function(e){e.preventDefault(),t.cancelEditFee(s)}}},[t._v(t._s(t.__("Cancel","wepos")))])],2),t._v(" "),a("td",{staticClass:"action"},[a("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){t.removeFeeLine(s)}}})])]:[a("td",{staticClass:"label",on:{dblclick:function(e){e.preventDefault(),t.editFeeData(s)}}},[t._v(t._s(t.__("Fee","wepos"))+" "),a("span",{staticClass:"name"},[t._v(t._s(e.name)+" "+t._s("percent"==e.fee_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(Math.abs(e.total))))]),t._v(" "),a("td",{staticClass:"action"},[a("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){t.removeFeeLine(s)}}})])]]],2)}):t._e(),t._v(" "),t.$store.getters["Cart/getTotalTax"]?a("tr",{staticClass:"tax"},[a("td",{staticClass:"label"},[t._v(t._s(t.__("Tax","wepos")))]),t._v(" "),a("td",{staticClass:"price"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotalTax"])))]),t._v(" "),a("td",{staticClass:"action"})]):t._e(),t._v(" "),a("tr",{staticClass:"cart-action"},[a("td",{attrs:{colspan:"3"}},[a("fee-keypad",{attrs:{name:t.__("Discount","wepos"),"short-key":"discount"},on:{inputfee:t.setDiscount}}),t._v(" "),a("fee-keypad",{attrs:{name:t.__("Fee","wepos"),"short-key":"fee"},on:{inputfee:t.setFee}}),t._v(" "),""==t.orderdata.customer_note?a("customer-note",{on:{addnote:t.addCustomerNote}}):t._e()],1)]),t._v(" "),t.orderdata.customer_note?a("tr",{staticClass:"note"},[a("td",{staticClass:"note-text",attrs:{colspan:"2"}},[t._v("\n                                    "+t._s(t.orderdata.customer_note)+"\n                                ")]),t._v(" "),a("td",{staticClass:"action"},[a("span",{staticClass:"flaticon-cancel-music",on:{click:function(e){e.preventDefault(),t.removeCustomerNote(e)}}})])]):t._e(),t._v(" "),a("tr",{staticClass:"pay-now",on:{click:function(e){t.initPayment()}}},[a("td",[t._v(t._s(t.__("Pay Now","wepos")))]),t._v(" "),a("td",{staticClass:"amount"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))]),t._v(" "),t._m(0)])],2)])])])]):t._e()],2),t._v(" "),t.showPaymentReceipt?a("modal",{attrs:{width:"600px",height:"400px"},on:{close:function(e){t.createNewSale()}}},[a("template",{slot:"body"},[a("div",{staticClass:"wepos-payment-receipt"},[a("div",{staticClass:"sale-completed"},[a("img",{attrs:{src:t.wepos.assets_url+"/images/sale-completed.png",alt:"",width:"120px"}}),t._v(" "),a("h2",[t._v(t._s(t.__("Sale Completed","wepos")))])]),t._v(" "),a("div",{staticClass:"print-section"},[a("print-receipt"),t._v(" "),a("button",{staticClass:"new-sale-btn",on:{click:function(e){e.preventDefault(),t.createNewSale()}}},[a("span",{staticClass:"icon flaticon-add"}),t._v(" "),a("span",{staticClass:"label"},[t._v(t._s(t.__("New Sale","wepos")))])])],1)])])],2):t._e(),t._v(" "),t.showHelp?a("modal",{attrs:{width:"700px",height:"500px"},on:{close:function(e){t.closeHelp()}}},[a("template",{slot:"body"},[a("div",{staticClass:"wepos-help-wrapper"},[a("h2",[t._v(t._s(t.__("Shortcut Keys","wepos")))]),t._v(" "),a("ul",[a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f1")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Search Product","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f2")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Scan Product","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f3")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Toggle Product View","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f4")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Add Fee in cart","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f5")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Add Discount in cart","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f6")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Add Customer note","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f7")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Customer Search","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("shift+f7")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Add new Customer","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f8")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Create New Sale","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("shift+f8")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Empty your cart","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f9")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Go to payment receipt","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("f10")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Process Payment","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("ctrl/cmd+p")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Print Receipt","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("ctrl/cmd+?")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Show/Close(Toggle) Help","wepos")))])]),t._v(" "),a("li",[a("span",{staticClass:"code"},[a("code",[t._v("esc")])]),t._v(" "),a("span",{staticClass:"title"},[t._v(t._s(t.__("Close anything","wepos")))])])])])])],2):t._e(),t._v(" "),t.showModal?a("modal",{attrs:{width:"98%",height:"95vh"},on:{close:function(e){t.backToSale()}}},[a("template",{slot:"body"},[a("div",{staticClass:"wepos-checkout-wrapper"},[a("div",{staticClass:"left-content"},[a("div",{staticClass:"header"},[t._v("\n                        "+t._s(t.__("Sale Summary","wepos"))+"\n                    ")]),t._v(" "),a("div",{staticClass:"content"},[a("table",{staticClass:"sale-summary-cart"},[a("tbody",t._l(t.cartdata.line_items,function(e){return a("tr",[a("td",{staticClass:"name"},[t._v("\n                                        "+t._s(e.name)+"\n                                        "),e.attribute.length>0&&"variable"===e.type?a("div",{staticClass:"attribute"},[a("ul",t._l(e.attribute,function(e){return a("li",[a("span",{staticClass:"attr_name"},[t._v(t._s(e.name))]),t._v(": "),a("span",{staticClass:"attr_value"},[t._v(t._s(e.option))])])}))]):t._e()]),t._v(" "),a("td",{staticClass:"quantity"},[t._v(t._s(e.quantity))]),t._v(" "),a("td",{staticClass:"price"},[e.on_sale?[a("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.sale_price)))]),t._v(" "),a("span",{staticClass:"regular-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]:[a("span",{staticClass:"sale-price"},[t._v(t._s(t.formatPrice(e.quantity*e.regular_price)))])]],2)])}))])]),t._v(" "),a("div",{staticClass:"footer"},[a("ul",[a("li",{staticClass:"wepos-clearfix"},[a("span",{staticClass:"wepos-left"},[t._v("\n                                    "+t._s(t.__("Subtotal","wepos"))+"\n                                    "),"incl"==t.settings.woo_tax.wc_tax_display_cart?a("span",{staticClass:"metadata"},[t._v("\n                                        "+t._s(t.__("Includes Tax","wepos"))+" "+t._s(t.formatPrice(t.$store.getters["Cart/getTotalLineTax"]))+"\n                                    ")]):t._e()]),t._v(" "),a("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getSubtotal"])))])]),t._v(" "),t.cartdata.fee_lines.length>0?t._l(t.cartdata.fee_lines,function(e,s){return a("li",{staticClass:"wepos-clearfix"},["discount"==e.type?[a("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Discount","wepos"))+" "),a("span",{staticClass:"metadata"},[t._v(t._s(e.name)+" "+t._s("percent"==e.discount_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),a("span",{staticClass:"wepos-right"},[t._v("-"+t._s(t.formatPrice(Math.abs(e.total))))])]:[a("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Fee","wepos"))+" "),a("span",{staticClass:"metadata"},[t._v(t._s(e.name)+" "+t._s("percent"==e.fee_type?e.value+"%":t.formatPrice(e.value)))])]),t._v(" "),a("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(e.total)))])]],2)}):t._e(),t._v(" "),t.$store.getters["Cart/getTotalTax"]?a("li",{staticClass:"wepos-clearfix"},[a("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Tax","wepos")))]),t._v(" "),a("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotalTax"])))])]):t._e(),t._v(" "),a("li",{staticClass:"wepos-clearfix"},[a("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Order Total","wepos")))]),t._v(" "),a("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))])]),t._v(" "),a("li",{staticClass:"wepos-clearfix"},[a("span",{staticClass:"wepos-left"},[t._v(t._s(t.__("Pay","wepos")))]),t._v(" "),a("span",{staticClass:"wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))])])],2)])]),t._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"header wepos-clearfix"},[a("h2",{staticClass:"wepos-left"},[t._v(t._s(t.__("Pay","wepos")))]),t._v(" "),a("span",{staticClass:"pay-amount wepos-right"},[t._v(t._s(t.formatPrice(t.$store.getters["Cart/getTotal"])))])]),t._v(" "),a("div",{staticClass:"content"},[a("div",{staticClass:"payment-gateway"},[t.availableGateways.length>0?[t._l(t.availableGateways,function(e){return a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedGateway,expression:"selectedGateway"}],attrs:{type:"radio",name:"gateway",checked:""},domProps:{value:e.id,checked:t._q(t.selectedGateway,e.id)},on:{change:function(a){t.selectedGateway=e.id}}}),t._v(" "),a("span",{staticClass:"gateway",class:"gateway-"+e.id},[t._v("\n                                        "+t._s(e.title)+"\n                                    ")])])}),t._v(" "),t.emptyGatewayDiv>0?t._l(t.emptyGatewayDiv,function(t){return a("label",{key:t},[a("span",{staticClass:"grid-placeholder"})])}):t._e()]:[a("p",[t._v(t._s(t.__("No gateway found","wepos")))])]],2),t._v(" "),"wepos_cash"==t.orderdata.payment_method?[a("div",{staticClass:"payment-option"},[a("div",{staticClass:"payment-amount"},[a("div",{staticClass:"input-part"},[a("div",{staticClass:"input-wrap"},[a("p",[t._v(t._s(t.__("Cash","wepos")))]),t._v(" "),a("div",{staticClass:"input-addon"},[a("span",{staticClass:"currency"},[t._v(t._s(t.wepos.currency_format_symbol))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.cashAmount,expression:"cashAmount"}],ref:"cashamount",attrs:{type:"text"},domProps:{value:t.cashAmount},on:{input:function(e){e.target.composing||(t.cashAmount=e.target.value)}}})])])]),t._v(" "),a("div",{staticClass:"change-money"},[a("p",[t._v(t._s(t.__("Change money","wepos"))+": "+t._s(t.formatPrice(t.changeAmount)))])])])])]:t._e(),t._v(" "),t._l(t.availableGatewayContent,function(e,s){return a(e,{key:s,tag:"component",attrs:{availablegateways:t.availableGateways}})})],2),t._v(" "),a("div",{staticClass:"footer wepos-clearfix"},[a("a",{staticClass:"back-btn wepos-left",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.backToSale()}}},[t._v(t._s(t.__("Back to Sale","wepos")))]),t._v(" "),a("button",{staticClass:"process-checkout-btn wepos-right",attrs:{disabled:!t.ableToProcess()},on:{click:function(e){e.preventDefault(),t.processPayment(e)}}},[t._v(t._s(t.__("Process Payment","wepos")))])])])])])],2):t._e(),t._v(" "),a("overlay",{attrs:{show:t.showOverlay}}),t._v(" "),t.showReceiptHtml?a("print-receipt-html",{directives:[{name:"show",rawName:"v-show",value:t.createprintreceipt,expression:"createprintreceipt"}],attrs:{printdata:t.printdata,settings:t.settings}}):t._e(),t._v(" "),t._l(t.afterMainContents,function(e,s){return a(e,{key:s,tag:"component",attrs:{orderdata:t.orderdata,printdata:t.printdata}})})],2)};s._withStripped=!0;var i={render:s,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("td",{staticClass:"icon"},[e("span",{staticClass:"flaticon-right-arrow"})])}]};e.a=i}]),[138]);
  • wepos/trunk/includes/api/class-settings-controller.php

    r2036516 r2162804  
    5454        }
    5555
     56        $tax_display_on_shop = get_option( 'woocommerce_tax_display_shop', 'excl' );
     57        $tax_display_on_cart = get_option( 'woocommerce_tax_display_cart', 'excl' );
     58        $settings['woo_tax'] = [
     59            'wc_tax_display_shop' => $tax_display_on_shop,
     60            'wc_tax_display_cart' => $tax_display_on_cart,
     61        ];
     62
    5663        return rest_ensure_response( $settings );
    5764    }
  • wepos/trunk/includes/class-rest-api.php

    r2143656 r2162804  
    6464        $type           = isset( $data['type'] ) ? $data['type'] : '';
    6565        $variation_data = [];
     66        $tax_display_on_shop = get_option( 'woocommerce_tax_display_shop', 'excl' );
     67        $tax_display_on_cart = get_option( 'woocommerce_tax_display_cart', 'excl' );
     68        $tax_calculations    = get_option( 'woocommerce_prices_include_tax', 'no' );
    6669
    6770        if ( 'variable' == $type ) {
     
    8588        $data['variations']            = $variation_data;
    8689        $data['tax_amount']            = wc_format_decimal( $tax_amount, wc_get_price_decimals() );
    87         $data['regular_display_price'] = wc_format_decimal( wc_get_price_to_display( $product, [ 'price' => $product->get_regular_price() ] ), wc_get_price_decimals() );
    88         $data['sales_display_price']   = wc_format_decimal( wc_get_price_to_display( $product, ['price' => $product->get_sale_price() ] ), wc_get_price_decimals() );
     90
     91        if ( 'no' == $tax_calculations ) {
     92            if ( 'incl' == $tax_display_on_cart ) {
     93                $data['regular_display_price'] = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, [ 'price' => $product->get_regular_price() ] ) + $tax_amount, wc_get_price_decimals() );
     94                $data['sales_display_price']   = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, [ 'price' => $product->get_sale_price() ] ) + $tax_amount, wc_get_price_decimals() );
     95            } else {
     96                $data['regular_display_price'] = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, [ 'price' => $product->get_regular_price() ] ), wc_get_price_decimals() );
     97                $data['sales_display_price']   = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, ['price' => $product->get_sale_price() ] ), wc_get_price_decimals() );
     98            }
     99        } else {
     100            if ( 'incl' == $tax_display_on_cart ) {
     101                $data['regular_display_price'] = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, [ 'price' => $product->get_regular_price() ] ) + $tax_amount, wc_get_price_decimals() );
     102                $data['sales_display_price']   = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, [ 'price' => $product->get_sale_price() ] ) + $tax_amount, wc_get_price_decimals() );
     103            } else {
     104                $data['regular_display_price'] = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, [ 'price' => $product->get_regular_price() ] ), wc_get_price_decimals() );
     105                $data['sales_display_price']   = wc_format_decimal( (float)wc_get_price_excluding_tax( $product, ['price' => $product->get_sale_price() ] ), wc_get_price_decimals() );
     106            }
     107        }
     108
    89109        $data['barcode']               = $product->get_meta( '_wepos_barcode' );
    90110
  • wepos/trunk/includes/functions.php

    r2128862 r2162804  
    257257    return $hasPermission;
    258258}
     259
     260function wepos_get_product_price( $product ) {
     261    $price = $product->get_price();
     262
     263    if ( $product->is_taxable() ) {
     264
     265        if ( WC()->cart->display_prices_including_tax() ) {
     266            $row_price        = wc_get_price_including_tax( $product, array( 'qty' => $quantity ) );
     267            $product_subtotal = wc_price( $row_price );
     268
     269            if ( ! wc_prices_include_tax() && WC()->cart->get_subtotal_tax() > 0 ) {
     270                $product_subtotal .= ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>';
     271            }
     272        } else {
     273            $row_price        = wc_get_price_excluding_tax( $product, array( 'qty' => $quantity ) );
     274            $product_subtotal = wc_price( $row_price );
     275
     276            if ( wc_prices_include_tax() && $this->get_subtotal_tax() > 0 ) {
     277                $product_subtotal .= ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>';
     278            }
     279        }
     280    } else {
     281        $row_price        = $price * $quantity;
     282        $product_subtotal = wc_price( $row_price );
     283    }
     284
     285    return apply_filters( 'woocommerce_cart_product_subtotal', $product_subtotal, $product, $quantity, $this );
     286}
  • wepos/trunk/languages/wepos.php

    r2128862 r2162804  
    4747    __( 'Order Date', 'wepos' ),
    4848    __( 'Subtotal', 'wepos' ),
     49    __( 'Includes Tax', 'wepos' ),
    4950    __( 'Tax', 'wepos' ),
    5051    __( 'Order Total', 'wepos' ),
  • wepos/trunk/languages/wepos.pot

    r2143656 r2162804  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.0.8\n"
     5"Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.0.9\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wepos\n"
    7 "POT-Creation-Date: 2019-08-22 10:18:55+00:00\n"
     7"POT-Creation-Date: 2019-09-25 09:37:20+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    1616#: assets/js/admin.js:122 assets/js/admin.js:369 assets/js/admin.js:461
    1717#: assets/js/admin.js:1429 assets/js/bootstrap.js:949
    18 #: assets/js/frontend.js:3102 assets/js/frontend.js:3284
    19 #: assets/js/frontend.js:3368 assets/js/frontend.js:3878
    20 #: assets/js/frontend.js:4918 assets/js/frontend.js:5085
    21 #: assets/js/frontend.js:5189 assets/js/frontend.js:5530
    22 #: assets/js/frontend.js:5641 assets/js/vendor.js:27230
     18#: assets/js/frontend.js:3155 assets/js/frontend.js:3337
     19#: assets/js/frontend.js:3421 assets/js/frontend.js:3931
     20#: assets/js/frontend.js:4971 assets/js/frontend.js:5138
     21#: assets/js/frontend.js:5243 assets/js/frontend.js:5618
     22#: assets/js/frontend.js:5729 assets/js/vendor.js:27230
    2323#: assets/js/vendor.js:27806 assets/js/vendor.js:27916
    2424#: assets/js/vendor.js:28036 assets/js/vendor.js:28058
     
    2727msgstr ""
    2828
    29 #: assets/js/admin.js:2251 assets/js/admin.min.js:1
     29#: assets/js/admin.js:2279 assets/js/admin.min.js:1
    3030#: assets/src/admin/components/Settings.vue:134
    3131msgid "Choose your file"
    3232msgstr ""
    3333
    34 #: assets/js/admin.js:2253 assets/js/admin.min.js:1
     34#: assets/js/admin.js:2281 assets/js/admin.min.js:1
    3535#: assets/src/admin/components/Fields.vue:171
    3636#: assets/src/admin/components/Settings.vue:136
     
    8888msgstr ""
    8989
    90 #: assets/js/frontend.js:1189 assets/js/frontend.js:1490
    91 #: assets/js/frontend.js:1518 assets/js/frontend.min.js:1
    92 #: assets/src/frontend/components/Home.vue:694
    93 #: assets/src/frontend/components/Home.vue:1007
    94 #: assets/src/frontend/components/Home.vue:1035
     90#: assets/js/frontend.js:1228 assets/js/frontend.js:1531
     91#: assets/js/frontend.js:1559 assets/js/frontend.min.js:1
     92#: assets/src/frontend/components/Home.vue:705
     93#: assets/src/frontend/components/Home.vue:1020
     94#: assets/src/frontend/components/Home.vue:1048
    9595msgid "All categories"
    9696msgstr ""
    9797
    98 #: assets/js/frontend.js:1346 assets/js/frontend.min.js:1
    99 #: assets/src/frontend/components/Home.vue:256
    100 #: assets/src/frontend/components/Home.vue:446
    101 #: assets/src/frontend/components/Home.vue:857
    102 #: assets/src/frontend/components/printReceiptHtml.vue:38
     98#: assets/js/frontend.js:1385 assets/js/frontend.min.js:1
     99#: assets/src/frontend/components/Home.vue:261
     100#: assets/src/frontend/components/Home.vue:456
     101#: assets/src/frontend/components/Home.vue:868
     102#: assets/src/frontend/components/printReceiptHtml.vue:43
    103103msgid "Discount"
    104104msgstr ""
    105105
    106 #: assets/js/frontend.js:1364 assets/js/frontend.min.js:1
    107 #: assets/src/frontend/components/Home.vue:277
    108 #: assets/src/frontend/components/Home.vue:450
    109 #: assets/src/frontend/components/Home.vue:875
    110 #: assets/src/frontend/components/printReceiptHtml.vue:42
     106#: assets/js/frontend.js:1403 assets/js/frontend.min.js:1
     107#: assets/src/frontend/components/Home.vue:282
     108#: assets/src/frontend/components/Home.vue:460
     109#: assets/src/frontend/components/Home.vue:886
     110#: assets/src/frontend/components/printReceiptHtml.vue:47
    111111msgid "Fee"
    112112msgstr ""
    113113
    114 #: assets/js/frontend.js:1721 assets/js/frontend.min.js:1
     114#: assets/js/frontend.js:1769 assets/js/frontend.min.js:1
    115115#: assets/src/frontend/components/ProductSearch.vue:120
    116116msgid "Scan your product"
    117117msgstr ""
    118118
    119 #: assets/js/frontend.js:1721 assets/js/frontend.min.js:1
     119#: assets/js/frontend.js:1769 assets/js/frontend.min.js:1
    120120#: assets/src/frontend/components/ProductSearch.vue:120
    121121msgid "Search product by typing"
    122122msgstr ""
    123123
    124 #: assets/js/frontend.js:2360 assets/js/frontend.min.js:1
     124#: assets/js/frontend.js:2408 assets/js/frontend.min.js:1
    125125#: assets/src/frontend/components/CustomerSearch.vue:334
    126126msgid "Please enter an email address for customer"
    127127msgstr ""
    128128
    129 #: assets/js/frontend.js:4852
     129#: assets/js/frontend.js:4905
    130130msgid "aside"
    131131msgstr ""
    132132
    133 #: assets/js/frontend.js:5444
     133#: assets/js/frontend.js:5532
    134134msgid "tr"
    135135msgstr ""
    136136
    137 #: assets/js/frontend.js:8271
     137#: assets/js/frontend.js:8404
    138138msgid "td"
    139139msgstr ""
     
    253253msgstr ""
    254254
    255 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:388
     255#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:393
    256256#: assets/src/frontend/components/PrintReceipt.vue:5
    257257msgid "Print Receipt"
     
    268268msgstr ""
    269269
    270 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:249
    271 #: assets/src/frontend/components/Home.vue:440
    272 #: assets/src/frontend/components/printReceiptHtml.vue:33
     270#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:250
     271#: assets/src/frontend/components/Home.vue:446
     272#: assets/src/frontend/components/printReceiptHtml.vue:34
    273273msgid "Subtotal"
    274274msgstr ""
    275275
    276 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:285
    277 #: assets/src/frontend/components/Home.vue:456
    278 #: assets/src/frontend/components/printReceiptHtml.vue:47
     276#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:252
     277#: assets/src/frontend/components/Home.vue:448
     278#: assets/src/frontend/components/printReceiptHtml.vue:36
     279msgid "Includes Tax"
     280msgstr ""
     281
     282#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:290
     283#: assets/src/frontend/components/Home.vue:466
     284#: assets/src/frontend/components/printReceiptHtml.vue:52
    279285msgid "Tax"
    280286msgstr ""
    281287
    282 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:460
    283 #: assets/src/frontend/components/printReceiptHtml.vue:51
     288#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:470
     289#: assets/src/frontend/components/printReceiptHtml.vue:56
    284290msgid "Order Total"
    285291msgstr ""
    286292
    287293#: assets/js/frontend.min.js:1
    288 #: assets/src/frontend/components/printReceiptHtml.vue:58
     294#: assets/src/frontend/components/printReceiptHtml.vue:63
    289295msgid "Payment method"
    290296msgstr ""
    291297
    292298#: assets/js/frontend.min.js:1
    293 #: assets/src/frontend/components/printReceiptHtml.vue:63
     299#: assets/src/frontend/components/printReceiptHtml.vue:68
    294300msgid "Cash Given"
    295301msgstr ""
    296302
    297303#: assets/js/frontend.min.js:1
    298 #: assets/src/frontend/components/printReceiptHtml.vue:67
     304#: assets/src/frontend/components/printReceiptHtml.vue:72
    299305msgid "Change Money"
    300306msgstr ""
     
    360366msgstr ""
    361367
    362 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:266
     368#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:271
    363369msgid "Taxable"
    364370msgstr ""
    365371
    366 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:271
     372#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:276
    367373msgid "Apply"
    368374msgstr ""
    369375
    370 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:272
     376#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:277
    371377#: lib/appsero/src/Insights.php:759
    372378msgid "Cancel"
    373379msgstr ""
    374380
    375 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:303
     381#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:308
    376382msgid "Pay Now"
    377383msgstr ""
    378384
    379 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:319
     385#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:324
    380386msgid "Sale Completed"
    381387msgstr ""
    382388
    383 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:326
     389#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:331
    384390msgid "New Sale"
    385391msgstr ""
    386392
    387 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:336
     393#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:341
    388394msgid "Shortcut Keys"
    389395msgstr ""
    390396
    391 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:340
     397#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:345
    392398msgid "Search Product"
    393399msgstr ""
    394400
    395 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:344
     401#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:349
    396402msgid "Scan Product"
    397403msgstr ""
    398404
    399 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:348
     405#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:353
    400406msgid "Toggle Product View"
    401407msgstr ""
    402408
    403 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:352
     409#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:357
    404410msgid "Add Fee in cart"
    405411msgstr ""
    406412
    407 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:356
     413#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:361
    408414msgid "Add Discount in cart"
    409415msgstr ""
    410416
    411 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:360
     417#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:365
    412418msgid "Add Customer note"
    413419msgstr ""
    414420
    415 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:364
     421#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:369
    416422msgid "Customer Search"
    417423msgstr ""
    418424
    419 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:368
     425#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:373
    420426msgid "Add new Customer"
    421427msgstr ""
    422428
    423 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:372
     429#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:377
    424430msgid "Create New Sale"
    425431msgstr ""
    426432
    427 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:376
     433#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:381
    428434msgid "Empty your cart"
    429435msgstr ""
    430436
    431 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:380
     437#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:385
    432438msgid "Go to payment receipt"
    433439msgstr ""
    434440
    435 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:384
    436 #: assets/src/frontend/components/Home.vue:524
     441#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:389
     442#: assets/src/frontend/components/Home.vue:534
    437443msgid "Process Payment"
    438444msgstr ""
    439445
    440 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:392
     446#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:397
    441447msgid "Show/Close(Toggle) Help"
    442448msgstr ""
    443449
    444 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:396
     450#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:401
    445451msgid "Close anything"
    446452msgstr ""
    447453
    448 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:408
     454#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:413
    449455msgid "Sale Summary"
    450456msgstr ""
    451457
    452 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:464
    453 #: assets/src/frontend/components/Home.vue:472
     458#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:474
     459#: assets/src/frontend/components/Home.vue:482
    454460msgid "Pay"
    455461msgstr ""
    456462
    457 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:492
     463#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:502
    458464msgid "No gateway found"
    459465msgstr ""
    460466
    461 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:500
     467#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:510
    462468#: includes/gateways/class-cash-gateway.php:36
    463469#: includes/gateways/class-cash-gateway.php:58
     
    465471msgstr ""
    466472
    467 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:508
     473#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:518
    468474msgid "Change money"
    469475msgstr ""
    470476
    471 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:523
     477#: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:533
    472478msgid "Back to Sale"
    473479msgstr ""
     
    583589msgstr ""
    584590
    585 #: includes/class-rest-api.php:161
     591#: includes/class-rest-api.php:181
    586592msgid "The item %s already out of stock. Please remove this from cart"
    587593msgstr ""
  • wepos/trunk/readme.txt

    r2143656 r2162804  
    44Tags: WooCommerce POS, point of sale, free pos, pos plugin, woocommerce point of sale
    55Requires at least: 4.4
    6 Tested up to: 5.2.2
     6Tested up to: 5.2.3
    77WC requires at least: 3.0
    88WC tested up to: 3.7.0
     
    5353
    5454== Changelog ==
     55
     56= v1.0.9 -> 25 September, 2019 =
     57----------------------------
     58- **Fix**   Tax calculation issue in pos cart
     59- **Fix**   Fee tax not calculated when manually added in pos cart
    5560
    5661= v1.0.8 -> 22 August, 2019 =
  • wepos/trunk/wepos.php

    r2143656 r2162804  
    44Plugin URI: https://wedevs.com/wepos
    55Description: A beautiful and fast Point of Sale (POS) system for WooCommerce
    6 Version: 1.0.8
     6Version: 1.0.9
    77Author: weDevs
    88Author URI: https://wedevs.com/
     
    5656     * @var string
    5757     */
    58     public $version = '1.0.8';
     58    public $version = '1.0.9';
    5959
    6060    /**
Note: See TracChangeset for help on using the changeset viewer.