PageSourceSearch

https://www.gbk.fi/_next/static/chunks/pages/maksa-ccdad83342d19fca.js

js gbk.fi collected 2026-10-02 22:52:54 UTC 7,593 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4412],{72272:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/maksa",function(){return a(51353)}])},51353:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return N}});var n=a(47568),r=a(70655),t=a(85893),i=a(1112),l=a(19226),c=a(59130),d=(0,c.withTranslation)("common")((function(e){var s=e.rows,a=e.totalPrice,n=e.hasAlv0,r=e.t;return(0,t.jsx)("div",{className:"row",children:(0,t.jsx)("div",{className:"col",children:(0,t.jsx)("div",{className:"table-responsive",children:(0,t.jsxs)("table",{className:"table",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"footable-first-visible",children:r("product")}),(0,t.jsx)("th",{"data-breakpoints":"xs sm md",children:r("amount")}),(0,t.jsx)("th",{"data-breakpoints":"xs sm md",children:r("aPrice")}),(0,t.jsx)("th",{"data-breakpoints":"xs sm md",children:r("alv")}),(0,t.jsx)("th",{"data-breakpoints":"xs sm md",children:r("discount")}),(0,t.jsx)("th",{className:"text-right",children:r("total")})]})}),(0,t.jsx)("tbody",{children:s.map((function(e,s){return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:e.productName}),(0,t.jsx)("td",{children:e.count}),(0,t.jsx)("td",{children:e.unitPrice}),(0,t.jsx)("td",{children:e.vat}),(0,t.jsx)("td",{children:e.discount}),(0,t.jsx)("td",{className:"text-right",children:e.rowTotal})]},s)}))}),(0,t.jsx)("tfoot",{children:(0,t.jsx)("tr",{children:(0,t.jsxs)("th",{colSpan:"6",className:"text-right",children:[a,(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),n?(0,t.jsxs)("span",{style:{fontSize:"12px"},children:[" ",r("alv0Text")," "]}):null]})})})]})})})})})),o=(0,c.withTranslation)("common")((function(e){var s=e.paymentMethodGroups,a=e.t;return(0,t.jsx)(t.Fragment,{children:s.map((function(e){return(0,t.jsxs)("div",{className:"card mb-4",children:[(0,t.jsx)("div",{className:"card-header",children:a("paymentMethod_".concat(e.title))}),(0,t.jsx)("div",{className:"p-4",children:e.paymentMethods.map((function(e){return(0,t.jsx)("div",{className:"card",style:{float:"left",margin:"7px"},children:(0,t.jsxs)("form",{method:"POST",action:e.url,target:"_parent",children:[e.parameters.map((function(e){return(0,t.jsx)("input",{type:"hidden",name:e.name,value:e.value},e.name)})),(0,t.jsx)("button",{type:"submit",className:"payment-provider",children:(0,t.jsx)("img",{src:e.svg,style:{width:"100px",height:"100px"}})})]})},e.name)}))})]},e.title)}))})})),m=function(e){var s=e.message;return(0,t.jsx)("div",{className:"mt-5 alert alert-danger",style:{lineHeight:"26px"},children:s})},x=(0,c.withTranslation)("common")((function(e){var s=e.t;return(0,t.jsx)("div",{className:"card p-3",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{children:s("paymentProvider")}),(0,t.jsx)("p",{children:s("asPaymentProvider")}),(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{children:"Paytrail Oyj, y-tunnus: 2122839-7"}),(0,t.jsxs)("span",{children:["\xa0",(0,t.jsx)("br",{})]}),(0,t.jsx)("span",{children:"Innova 2"}),(0,t.jsxs)("span",{children:["\xa0",(0,t.jsx)("br",{})]}),(0,t.jsx)("span",{children:"Lutakonaukio 7"}),(0,t.jsxs)("span",{children:["\xa0",(0,t.jsx)("br",{})]}),(0,t.jsx)("span",{children:"40100 Jyv\xe4skyl\xe4"}),(0,t.jsxs)("span",{children:["\xa0",(0,t.jsx)("br",{})]}),(0,t.jsx)("span",{children:(0,t.jsx)("a",{target:"blank",style:{color:"#0d81e8"},href:s("aboutPaying"),children:s("aboutPaying")})})]})]})})})),h=(0,c.withTranslation)("common")((function(e){var s=e.payment,a=e.t;return 2===s.maintenanceMessage.status?(0,t.jsx)("div",{style:{height:"70vh"},children:(0,t.jsx)(m,{message:s.maintenanceMessage.message})}):s.notFound?(0,t.jsx)("div",{className:"my-5 alert alert-warning",style:{lineHeight:"26px"},children:a("invoiceNotFound")}):(0,t.jsxs)("div",{children:[(0,t.jsx)("br",{}),1===s.maintenanceMessage.status&&(0,t.jsx)(m,{message:s.maintenanceMessage.message}),s.message?(0,t.jsx)("h4",{children:s.message}):null,(0,t.jsx)("br",{}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-sm-12 col-md-6",style:{marginBottom:"20px"},children:(0,t.jsxs)("div",{className:"card",children:[(0,t.jsx)("div",{className:"card-header",children:a("paymentReceiver")}),(0,t.jsxs)("div",{className:"card-body",children:[(0,t.jsxs)("p",{className:"card-text",children:[s.seller.club," "]}),(0,t.jsx)("div",{className:"dropdown-divider"}),s.seller.subsite?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"card-text",children:s.seller.subsite}),(0,t.jsx)("div",{className:"dropdown-divider"})]}):null,(0,t.jsx)("p",{className:"card-text",children:s.seller.businessId}),(0,t.jsx)("div",{className:"dropdown-divider"}),(0,t.jsx)("p",{className:"card-text",children:s.seller.streetAddress}),(0,t.jsx)("div",{className:"dropdown-divider"}),(0,t.jsxs)("p",{className:"card-text",children:[s.seller.postalCode," ",s.seller.city]})]})]})}),(0,t.jsx)("div",{className:"col-sm-12 col-md-6",children:(0,t.jsxs)("div",{className:"card",children:[(0,t.jsx)("div",{className:"card-header",children:a("invoiceBuyer")}),(0,t.jsxs)("div",{className:"card-body",children:[(0,t.jsx)("p",{className:"card-text",children:s.buyer.buyerName}),(0,t.jsx)("div",{className:"dropdown-divider"}),(0,t.jsxs)("p",{className:"card-text",children:[a("invoiceNumber")," ",s.number]})]})]})})]}),(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),(0,t.jsx)(d,{rows:s.paymentRows,totalPrice:s.totalPrice,hasAlv0:s.alv0}),s.isPaid?(0,t.jsxs)("div",{className:"alert alert-success p-3",role:"alert",children:[(0,t.jsx)("i",{className:"far fa-check-circle"})," \xa0\xa0",a("invoiceIsPayed")]}
1):null,s.isCredited?(0,t.jsxs)("div",{className:"alert alert-info p-3",role:"alert",children:[(0,t.jsx)("i",{className:"fas fa-exclamation-circle"})," \xa0\xa0",a("invoiceIsCredited")]}):null,s.isPaid||s.isCredited||!s.paymentMethodGroups.length?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("div",{children:(0,t.jsx)("h3",{children:a("immediatePayment")})}),(0,t.jsx)("div",{className:"alert alert-info",style:{lineHeight:"26px"},children:"HUOM! Jos k\xe4yt\xe4tte maksamiseen yritystili\xe4 on vaatimuksena pankkiinne tehty valtuutus PSD2 maksuille. Mik\xe4li valtuutusta ei ole olkaa yhteyksiss\xe4 pankkiinne ja pyyt\xe4k\xe4\xe4 t\xe4m\xe4 valtuutus."}),(0,t.jsx)(o,{paymentMethodGroups:s.paymentMethodGroups}),(0,t.jsx)(x,{})]}),(0,t.jsxs)("div",{className:"clearfix",style:{clear:"both",marginTop:"10px"},children:[(0,t.jsx)("br",{}),(0,t.jsx)("br",{})]})]})})),j=a(29473),u=a(70167),p=a(17280),v=a(853),y=function(e){var s=e.payment;e.t;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sticky-top",children:[(0,t.jsx)(i.default,{}),(0,t.jsx)(l.default,{})]}),(0,t.jsx)("section",{id:"page-content",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"row",children:(0,t.jsx)("div",{className:"col",children:(0,t.jsx)(h,{payment:s})})})})})]})};y.getInitialProps=function(){var e=(0,n.Z)((function(e,s){var a,n,t,i,l,c;return(0,r.__generator)(this,(function(s){switch(s.label){case 0:return a=e.req,n=e.query,t=(0,p.Z)(a).origin,i=(0,u.Z)(a),l=!1,c=null,(0,v.s)()&&(l=!0,c=a.headers),[4,j.Z.get("".concat(t,"/api/payment/init?item=").concat(encodeURIComponent(n.item)),i,l,c)];case 1:return[4,s.sent().json()];case 2:return[2,{payment:s.sent(),namespacesRequired:["common"]}]}}))}));return function(s,a){return e.apply(this,arguments)}}();var N=(0,c.withTranslation)("common")(y)}},function(e){e.O(0,[1725,9226,9774,2888,179],(function(){return s=72272,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.