1"use strict";(self.webpackChunkGECAS=self.webpackChunkGECAS||[]).push([[9159],{69077:function(t,e,n){n.d(e,{OH:function(){return c},PK:function(){return l},Y4:function(){return i},e8:function(){return s},l9:function(){return u},vc:function(){return r}});var a=n(72426),o=n.n(a);function r(t){return null!==t?o()(t,o().ISO_8601).format("DD MMM YYYY"):""}var i=function(t){if(null!==t)return new Intl.NumberFormat("en-GB").format(t)},s=function(t){return null!==t&&void 0!==t?new Intl.NumberFormat("en-GB").format(t):""},c=function(t){if(null!=t)return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(t)},l=function(t){return null==t?"":t},u=function(t){return i(Math.ceil(t/1024))+" Kb"}},58078:function(t,e,n){var a=n(38122),o=n(80184);e.Z=function(){return(0,o.jsxs)(a.Z,{color:"info",children:[(0,o.jsx)("strong",{children:"Please note"})," - certain historical data relating to assets owned by AerCap prior to the acquisition of GECAS may not be available. Please contact ",(0,o.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})," if you require further details."]})}},79159:function(t,e,n){n.r(e),n.d(e,{default:function(){return O}});var a=n(74165),o=n(42982),r=n(15861),i=n(15671),s=n(43144),c=n(60136),l=n(98557),u=n(72791),d=n(60364),f=n(39928),p=n(80640),h=n(76186),m=n(69077),v=n(82357),g=n(48284),b=n(47976),x=n(55146),y=n(13327),N=n(81694),Z=n.n(N),j=n(76436),C=n(80184),F=[{dataField:"fundNo",hidden:!0},{dataField:"description",text:"Description"},{dataField:"serialNo",text:"Serial No."},{dataField:"note",text:"Note"},{dataField:"hoursCycles",text:"Hours/Cycles",headerClasses:"numberColumn",classes:"numberColumn"},{dataField:"billingBasis",text:"Billing Basis"},{dataField:"rate",text:"Billed Rate",headerClasses:"numberColumn",classes:"numberColumn",formatter:m.OH},{dataField:"billAmount",text:"Amount Due",headerClasses:"numberColumn",classes:"numberColumn",formatter:m.OH},{dataField:"adjustmentAmount",text:"Adjustment",headerClasses:"numberColumn",classes:"numberColumn",formatter:m.OH},{dataField:"totalAmount",text:"Total Due",headerClasses:"numberColumn",classes:"numberColumn",formatter:m.OH}],D=[{dataField:"fundNo",order:"asc"}],k=function(t){(0,c.Z)(n,t);var e=(0,l.Z)(n);function n(t){var a;return(0,i.Z)(this,n),(a=e.call(this,t)).componentDidMount=function(){a.loadSuppRentInvoiceDetails(a.props.leaseNo,a.props.invoiceNo)},a.state={data:[],loading:!0},a}return(0,s.Z)(n,[{key:"loadSuppRentInvoiceDetails",value:function(){var t=(0,r.Z)((0,a.Z)().mark((function t(e,n){var o,r;return(0,a.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o="/portal/LeaseAccount/GetSuppRentInvoiceDetails?leaseNo=".concat(e,"&invoiceNo=").concat(n),t.next=3,(0,j.ZV)(o);case 3:r=t.sent,this.setState({data:r.data,loading:r.loading});case 5:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}()},{key:"render",value:function(){return(0,C.jsx)(u.Fragment,{children:(0,C.jsx)(v.Z,{className:"expand-row",children:(0,C.jsxs)(g.Z,{children:[(0,C.jsx)(h.Z,{columns:F,data:this.state.data,keyField:"fundNo",defaultSorted:D,loading:this.state.loading,noSearch:!0,noPagination:!0}),(0,C.jsx)("br",{}),(0,C.jsx)("span",{className:"float-right",children:(0,C.jsx)("small",{children:(0,C.jsx)("em",{children:"Billing Basis: B - Block Hours, F - Flight Hours, C - Cycles, D - Days, FM - Fixed Monthly, M - Minimum Hours, X - Maximum Hours"})})})]})})})}}]),n}(u.Component),S=k,w=[{dataField:"invoiceNo",text:"Invoice No.",sort:!0},{dataField:"dueDate",text:"Due Date",sort:!0,formatter:m.vc},{dataField:"description",text:"Description",sort:!0},{dataField:"amount",text:"Amount",sort:!0,headerClasses:"numberColumn",classes:"numberColumn",formatter:m.OH},{dataField:"outstandingBalance",text:"Outstanding Balance",sort:!0,headerClasses:"numberColumn",classes:"numberColumn",formatter:m.OH}],T=[{dataField:"dueDate",order:"desc"}],M=function(t){(0,c.Z)(n,t);var e=(0,l.Z)(n);function n(t){var a;return(0,i.Z)(this,n),(a=e.call(this,t)).expandRow={renderer:function(t){return(0,C.jsx)(S,{leaseNo:a.props.leaseNo,invoiceNo:t.
1invoiceNo})}},a.componentDidMount=function(){a.loadSuppRentInvoices(a.props.leaseNo)},a.state={data:[],loading:!0},a}return(0,s.Z)(n,[{key:"loadSuppRentInvoices",value:function(){var t=(0,r.Z)((0,a.Z)().mark((function t(e){var n,o;return(0,a.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="/portal/LeaseAccount/GetSuppRentInvoices?leaseNo=".concat(e),t.next=3,(0,j.ZV)(n);case 3:o=t.sent,this.setState({data:o.data,loading:o.loading});case 5:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"render",value:function(){return(0,C.jsx)(u.Fragment,{children:(0,C.jsx)(v.Z,{className:"expand-row",children:(0,C.jsx)(g.Z,{children:(0,C.jsx)(h.Z,{columns:w,data:this.state.data,keyField:"invoiceNo",defaultSorted:T,loading:this.state.loading,expandRow:this.expandRow})})})})}}]),n}(u.Component),R=M,A=n(58078),P=[{dataField:"model",text:"Model",sort:!0},{dataField:"serialNo",text:"Serial No.",sort:!0},{dataField:"registrationNo",text:"Reg No.",sort:!0},{dataField:"deliveryDate",text:"Delivery Date",sort:!0,formatter:m.vc},{dataField:"redeliveryDate",text:"Redelivery Date",sort:!0,formatter:m.vc}],B=[{dataField:"partyName",text:"Lessee",sort:!0},{dataField:"model",text:"Model",sort:!0},{dataField:"serialNo",text:"Serial No.",sort:!0},{dataField:"registrationNo",text:"Reg No.",sort:!0},{dataField:"deliveryDate",text:"Delivery Date",sort:!0,formatter:m.vc},{dataField:"redeliveryDate",text:"Redelivery Date",sort:!0,formatter:m.vc}],H=[{dataField:"redeliveryDate",order:"desc"}],I=function(t){(0,c.Z)(n,t);var e=(0,l.Z)(n);function n(t){var a;return(0,i.Z)(this,n),(a=e.call(this,t)).componentDidMount=function(){a.props.setActivePage(),a.loadSuppRentLeases()},a.expandRow={renderer:function(t){return(0,C.jsx)(R,{leaseNo:t.leaseNo})}},a.toggle=function(t){a.state.activeTab!==t&&a.setState({activeTab:t,columns:"0"===t?B:P})},a.state={data:[],loading:!0,tabHeadings:[],activeTab:"0",columns:P},a}return(0,s.Z)(n,[{key:"loadSuppRentLeases",value:function(){var t=(0,r.Z)((0,a.Z)().mark((function t(){var e,n;return(0,a.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return"/portal/LeaseAccount/GetSuppRentLeases",t.next=3,(0,j.ZV)("/portal/LeaseAccount/GetSuppRentLeases");case 3:e=t.sent,n=(0,o.Z)(new Set(e.data.map((function(t){return t.partyName})))),this.setState({data:e.data,loading:e.loading,tabHeadings:(0,o.Z)(n),columns:n.length>1?B:P});case 6:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this;return(0,C.jsxs)(u.Fragment,{children:[(0,C.jsx)(p.Z,{breadCrumbItems:[{label:"Monthly Billing Details",path:"/LeaseAccount/MonthlyReports",active:!0}],title:"Monthly Billing Details"}),(0,C.jsx)(A.Z,{}),(0,C.jsx)(v.Z,{children:(0,C.jsx)(g.Z,{children:(0,C.jsxs)(u.Fragment,{children:[this.state.tabHeadings.length<=1&&(0,C.jsx)(h.Z,{columns:P,data:this.state.data,keyField:"keyField",defaultSorted:H,loading:this.state.loading,expandRow:this.expandRow}),this.state.tabHeadings.length>1&&(0,C.jsxs)(u.Fragment,{children:[(0,C.jsx)(b.Z,{tabs:!0,className:"nav-bordered",children:this.state.tabHeadings.map((function(e,n){return(0,C.jsx)(x.Z,{children:(0,C.jsx)(y.Z,{href:"#",className:Z()({active:t.state.activeTab===n.toString()},{"bg-light-lighten":0===n}),onClick:function(){t.toggle(n.toString())},children:(0,C.jsx)("span",{children:e})})},n)}))}),(0,C.jsx)("br",{}),(0,C.jsx)(h.Z,{columns:this.state.columns,data:this.state.data.filter((function(e){return"0"===t.state.activeTab&&e.partyName!==t.state.tabHeadings[t.state.activeTab]||"0"!==t.state.activeTab&&e.partyName===t.state.tabHeadings[t.state.activeTab]})),keyField:"keyField",defaultSorted:H,loading:this.state.loading,showMaxPageSize:!0,expandRow:this.expandRow})]})]})})})]})}}]),n}(u.Component),O=(0,d.$j)(null,(function(t,e){return{setActivePage:function(){t((0,f.vT)("SuppRent_MonthlyReports"))}}}))(I)},39928:function(t,e,n){n.d(e,{DS:function(){return j},bT:function(){return C},Li:function(){return N},Wq:function(){return F},$g:function(){return o},QY:function(){return r},zZ:function(){return s},vT:function(){return c.vT},$I:function(){return c.$I},fB:function(){return i}});var a=n(95292),o=function(t){return{type:a.f_,payload:t}},r=function(t){return{type:a.Ze,payload:t}},i=function(){return{type:a.gh,payload:null}},s=function(){return{type:a.jX,payload:null}},c=n(2893),l=n(37772),u=n(1413),d=n(21171),f=function(t){var e=(0,u.Z)({},{method:"POST",body:{check:!0},headers:{"Content-Type":"application/json",accept:"application/json",Authorization:"Bearer "+(0,d.Nh)()}});fetch("/portal/Documents/CheckPublicationChanges",e).then((function(t){if(t.ok)return t.json();throw new Error(t)})).then((function(e){t(y()),t(Z())})).catch((function(e){t(Z())}))},p=function(t){return function(e,n){if(!t){var a=n().Notifications.lastRetrievalTime;if(a)if(Date.now()-a<6e4)return}e(x());var o=(0,u.Z)({},{method:"GET",headers:{"Content-Type":"application/json",accept:"application/json",Authorization:"Bearer "+(0,d.Nh)()}});fetch("/portal/Notifications/GetNotifications",o).then((function(t){if(t.ok)return t.json();throw new Error(t)})).then((function(t){e(b(t))})).catch((function(t){var n=t.Message;e(g(n))}))}},h=function(t,e){var n="/portal/Notifications/ClearNotifications?readOnly=".concat(e),a=(0,u.Z)({},{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json",Authorization:"Bearer "+(0,d.Nh)()}});fetch(n,a).then((function(t){if(t.ok)return t.json();throw new Error(t)})).then((function(e){t(Z(!0))})).catch((function(e){t(Z(!0))}))},m=function(t,e){var n="/portal/Notifications/NotificationDismissed?notificationUserId=".concat(e),a=(0,u.Z)({},{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json",Authorization:"Bearer "+(0,d.Nh)()}});fetch(n,a).then((function(t){if(t.ok)return t.json();throw new Error(t)})).then((function(e){t(Z(!0))})).catch((function(e){t(Z(!0))}))},v=function(t,e){var n="/portal/Notifications/NotificationRead?notificationUserId=".concat(e),a=(0,u.Z)({},{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json",Authorization:"Bearer "+(0,d.Nh)()}});fetch(n,a).then((function(t){if(t.ok)return t.json();throw new Error(t)})).then((function(e){t(Z(!0))})).catch((function(e){t(Z(!0))}))},g=function(t){return{type:l.oH,errorMessage:t}},b=function(t){return{type:l.Pl,notifications:t}},x=function(){return{type:l.Pq}},y=function(){return{type:l._E}},N=function(){return function(t,e){var n=e();n.Notifications.loading||(n.Notifications.initialPublicationCheckDone?t(Z()):f(t))}},Z=p,j=function(t){return function(e,n){h(e,t)}},C=function(t){return function(e,n){m(e,t)}},F=function(t){return function(e,n){v(e,t)}}}
1,47976:function(t,e,n){var a=n(87462),o=n(63366),r=n(72791),i=n(52007),s=n.n(i),c=n(81694),l=n.n(c),u=n(15489),d={tabs:s().bool,pills:s().bool,vertical:s().oneOfType([s().bool,s().string]),horizontal:s().string,justified:s().bool,fill:s().bool,navbar:s().bool,card:s().bool,tag:u.tagPropType,className:s().string,cssModule:s().object},f=function(t){var e=t.className,n=t.cssModule,i=t.tabs,s=t.pills,c=t.vertical,d=t.horizontal,f=t.justified,p=t.fill,h=t.navbar,m=t.card,v=t.tag,g=(0,o.Z)(t,["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"]),b=(0,u.mapToCssModules)(l()(e,h?"navbar-nav":"nav",!!d&&"justify-content-"+d,function(t){return!1!==t&&(!0===t||"xs"===t?"flex-column":"flex-"+t+"-column")}(c),{"nav-tabs":i,"card-header-tabs":m&&i,"nav-pills":s,"card-header-pills":m&&s,"nav-justified":f,"nav-fill":p}),n);return r.createElement(v,(0,a.Z)({},g,{className:b}))};f.propTypes=d,f.defaultProps={tag:"ul",vertical:!1},e.Z=f},55146:function(t,e,n){var a=n(87462),o=n(63366),r=n(72791),i=n(52007),s=n.n(i),c=n(81694),l=n.n(c),u=n(15489),d={tag:u.tagPropType,active:s().bool,className:s().string,cssModule:s().object},f=function(t){var e=t.className,n=t.cssModule,i=t.active,s=t.tag,c=(0,o.Z)(t,["className","cssModule","active","tag"]),d=(0,u.mapToCssModules)(l()(e,"nav-item",!!i&&"active"),n);return r.createElement(s,(0,a.Z)({},c,{className:d}))};f.propTypes=d,f.defaultProps={tag:"li"},e.Z=f},13327:function(t,e,n){var a=n(87462),o=n(63366),r=n(97326),i=n(94578),s=n(72791),c=n(52007),l=n.n(c),u=n(81694),d=n.n(u),f=n(15489),p={tag:f.tagPropType,innerRef:l().oneOfType([l().object,l().func,l().string]),disabled:l().bool,active:l().bool,className:l().string,cssModule:l().object,onClick:l().func,href:l().any},h=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind((0,r.Z)(n)),n}(0,i.Z)(e,t);var n=e.prototype;return n.onClick=function(t){this.props.disabled?t.preventDefault():("#"===this.props.href&&t.preventDefault(),this.props.onClick&&this.props.onClick(t))},n.render=function(){var t=this.props,e=t.className,n=t.cssModule,r=t.active,i=t.tag,c=t.innerRef,l=(0,o.Z)(t,["className","cssModule","active","tag","innerRef"]),u=(0,f.mapToCssModules)(d()(e,"nav-link",{disabled:l.disabled,active:r}),n);return s.createElement(i,(0,a.Z)({},l,{ref:c,onClick:this.onClick,className:u}))},e}(s.Component);h.propTypes=p,h.defaultProps={tag:"a"},e.Z=h}}]); 2//# sourceMappingURL=9159.399cddca.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.