(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ae978"],{"0b5e":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"admin-layout page-layout"},[a("FacilityHeader",{attrs:{returnPageType:t.viewID,returnPageParams:t.viewParams}}),a("div",{staticClass:"body-content"},[a("FacilitySideBar"),a("section",{staticClass:"primary"},[t.isDisplayed?a("main",{staticClass:"main-layout"},[a("div",{staticClass:"dashboard"},[a("div",{staticClass:"crud-content"},[a("h2",{staticClass:"dashboard-title"},[t._v(t._s(t.title))]),a("div",{staticClass:"help-icon"},[a("HelpInformation",{attrs:{pageType:t.viewID,type:"page"}})],1),a("div",[a("div",{staticClass:"select-datepicker-range"},[t._v(" 集計期間 "),a("v-datePicker",{attrs:{mode:"range",columns:3,"show-caps":"","input-props":{readonly:!0}},on:{change:t.onDateChanged,input:t.onDateChanged},model:{value:t.rangeDate,callback:function(e){t.rangeDate=e},expression:"rangeDate"}})],1)]),a("transition",{attrs:{name:"fade"}},[a("div",{staticClass:"home-crud-list"},[a("div",{staticClass:"home-crud-plan-list"},[a("h3",[t._v("売上概要")]),a("table",{staticClass:"home-crud-ac-info-table width-50"},[a("tr",[a("th",{attrs:{rowspan:"2"}},[t._v("件数")]),a("th",{attrs:{colspan:"2"}},[t._v("手続き済み")]),a("th",{attrs:{colspan:"2"}},[t._v("手続き中")]),a("th",{attrs:{colspan:"3"}},[t._v("変更")])]),a("tr",[a("th",[t._v("現地決済")]),a("th",[t._v("オンライン決済")]),a("th",[t._v("未承認")]),a("th",[t._v("支払い未承認")]),a("th",[t._v("変更")]),a("th",[t._v("キャンセル")]),a("th",[t._v("NoShow")])]),a("tr",[a("td",[t._v(t._s(t.totals)+"件")]),a("td",[t._v(t._s(t.totalOnSidePayments)+"件")]),a("td",[t._v(t._s(t.totalOnlinePayments)+"件")]),a("td",[t._v(t._s(t.totalUnConfirmeds)+"件")]),a("td",[t._v(t._s(t.totalPaymentNotApproveds)+"件")]),a("td",[t._v(t._s(t.totalModifieds)+"件")]),a("td",[t._v(t._s(t.totalCancelleds)+"件")]),a("td",[t._v(t._s(t.totalNoShoweds)+"件")])])]),a("table",{staticClass:"home-crud-ac-info-table width-50"},[a("tbody",[a("tr",[a("th",[t._v("現地決済合計額 (手続き済み)")]),a("td",[t._v(t._s(t._f("priceJP")(t.totalOnSidePaymentPrice)))])]),a("tr",[a("th",[t._v("オンライン決済合計額 (手続き済み)")]),a("td",[t._v(t._s(t._f("priceJP")(t.totalOnlinePaymentPrice)))])]),a("tr",[a("th",{},[t._v("売上合計額 (手続き済み)")]),a("td",[t._v(t._s(t._f("priceJP")(t.totalPaymentPrice)))])])])]),a("h3",[t._v("入金予定概要")]),a("table",{staticClass:"home-crud-ac-info-table width-50"},[a("tbody",[a("tr",[a("th",[t._v("オンライン決済合計額 (手続き済み)")]),a("td",[t._v(t._s(t._f("priceJP")(t.totalOnlinePaymentPrice)))])]),a("tr",[a("th",{},[t._v("カード手数料 *")]),a("td",[t._v(t._s(t._f("priceJP")(t.margin01Price)))])]),a("tr",[a("th",{},[t._v("振込手数料 **")]),a("td",[t._v(t._s(t._f("priceJP")(t.transferFee)))])]),a("tr",[a("th",{},[t._v("入金予定額 ***")]),a("td",[t._v(t._s(t._f("priceJP")(t.expectedDepositAmount)))])])])]),a("p",[t._v(" * カードブランドに応じてカード手数料を計上いたします。"),a("br"),t._v(" ** 合計⾦額に応じて振込手数料として計上いたします。"),a("br"),t._v(" *** 入金予定額と入金額が異なる場合もございます。詳しくはお送りする振込明細をご確認ください。 ")]),a("h3",[t._v("売上明細一覧")]),a("table",{staticClass:"home-crud-ac-info-table"},[a("thead",[a("tr",[a("th",{},[t._v("コード")]),a("th",{},[t._v("予約日")]),a("th",{},[t._v("チェックイン日")]),a("th",{},[t._v("チェックアウト日")]),a("th",{},[t._v("泊数")]),a("th",{},[t._v("予約者")]),a("th",{},[t._v("人数")]),a("th",{},[t._v("状態")]),a("th",{},[t._v("支払い区分")]),a("th",{},[t._v("金額"),a("br"),t._v("(宿泊料+入湯税-値引き)")])])]),a("tbody",t._l(t.reservations,(function(e){return a("tr",{key:e.id},[a("td",{},[t._v(" "+t._s(e.data.code)+" ")]),a("td",{},[t._v(" "+t._s(t._f("formatDate")(e.reservationDateTime,"YYYY年MM月DD日"))+" ")]),a("td",{},[t._v(" "+t._s(t._f("formatDate")(t.ToDate(e.data.checkInDate),"YYYY年MM月DD日"))+" ")]),a("td",{},[t._v(" "+t._s(t._f("formatDate")(t.CheckOutDate(e.data.checkInDate,e.data.restNumber),"YYYY年MM月DD日"))+" ")]),a("td",{},[t._v(t._s(e.data.restNumber))]),a("td",{},[t._v(t._s(e.data.reserver.name))]),a("td",{},[t._v(" "+t._s(Math.round(6*Math.random(1))+1)+" ")]),a("td",{class:e.state},[a("i",[t._v(t._s(t._f("reservationState")(e.state)))])]),a("td",{},[t._v(" "+t._s(t._f("paymentType")(e.paymentType))+" "),a("i",{class:"icon-"+e.paymentType})]),a("td",{},[t._v(" "+t._s(t._f("priceJP")(e.data.allTotalPrice))+" ")])])})),0)])])])])],1)])]):t._e()])],1)],1)},r=[],s=(a("96cf"),a("1da1")),i=a("d4ec"),o=a("bee2"),l=a("262e"),c=a("2caf"),d=a("9ab4"),u=a("08af"),v=a("60a3"),_=a("0d59"),h=a("ebe2"),p=a("c1df"),m=a.n(p),f=function(t){Object(l["a"])(a,t);var e=Object(c["a"])(a);function a(){var t;return Object(i["a"])(this,a),t=e.apply(this,arguments),t.startDate=m()(new Date).subtract(1,"M").set("date",26).toDate(),t.endDate=m()(new Date).set("date",25).toDate(),t.reservations=[],t.totals=null,t.totalOnSidePayments=null,t.totalOnlinePayments=null,t.totalUnConfirmeds=null,t.totalPaymentNotApproveds=null,t.totalModifieds=null,t.totalCancelleds=null,t.totalNoShoweds=null,t.totalOnSidePaymentPrice=null,t.totalOnlinePaymentPrice=null,t.totalPaymentPrice=null,t.margin01Price=null,t.margin02Price=null,t.expectedDepositAmount=null,t.transferFee=null,t.restNumber=null,t.persons=null,t}return Object(o["a"])(a,[{key:"reqSearch",value:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){var e,a,n,r,s,i=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=m()(this.rangeDate.start).toDate(),a=m()(this.rangeDate.end).toDate(),n=_["a"].GetID(e),r=_["a"].GetID(a),s={startAppDateID:n,endAppDateID:r},t.next=7,this.requestAsync(h["a"].ReqY045R,s,(function(t){var e=t.data,a=e.list,n=e.totals,r=e.totalPaymentNotApproveds,s=e.totalUnConfirmeds,o=e.totalModifieds,l=e.totalCancelleds,c=e.totalNoShoweds,d=e.totalOnSidePayments,u=e.totalOnSidePaymentPrice,v=e.totalOnlinePayments,_=e.totalOnlinePaymentPrice,h=e.totalPaymentPrice,p=e.margin01Price,m=e.margin02Price,f=e.transferFee,y=e.expectedDepositAmount;i.reservations=a,i.totals=n,i.totalPaymentNotApproveds=r,i.totalUnConfirmeds=s,i.totalModifieds=o,i.totalCancelleds=l,i.totalNoShoweds=c,i.totalOnSidePayments=d,i.totalOnSidePaymentPrice=u,i.totalOnlinePayments=v,i.totalOnlinePaymentPrice=_,i.totalPaymentPrice=h,i.margin01Price=p,i.margin02Price=m,i.transferFee=f,i.expectedDepositAmount=y,i.display()}));case 7:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"ToDate",value:function(t){return m()(t,"YYYYMMDD")}},{key:"CheckOutDate",value:function(t,e){return this.ToDate(t).add(e,"d")}},{key:"created",value:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.reqSearch();case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"onDateChanged",value:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.reqSearch();case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"viewID",get:function(){return u["a"].Y220}},{key:"viewParams",get:function(){return{}}},{key:"title",get:function(){return this.getPageTitle()}},{key:"rangeDate",get:function(){return{start:this.startDate,end:this.endDate}},set:function(t){this.startDate=t.start,this.endDate=t.end}}]),a}(u["c"]);f=Object(d["a"])([Object(v["a"])({components:{}})],f);var y=f,P=y,D=(a("c6bb"),a("2877")),b=Object(D["a"])(P,n,r,!1,null,null,null);e["default"]=b.exports}}]); //# sourceMappingURL=chunk-2d0ae978.071b58a2.js.map