PageSourceSearch

https://www.hoyer.de/be21b96d-d6dfe968a63c49300e06.js

js hoyer.de collected 2026-09-24 12:03:25 UTC 7,139 bytes, 2 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"0426c4d855715a7ce503f8c9fa5c0fb324628dae"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e23aad73-6e2e-43d1-a86b-baebb0cff237",t._sentryDebugIdIdentifier="sentry-dbid-e23aad73-6e2e-43d1-a86b-baebb0cff237")}catch(t){}}(),(self.webpackChunkhoyer_xp=self.webpackChunkhoyer_xp||[]).push([[1602],{44755:function(t,e,n){var a=n(46287),r=n(63696),o=n(95285),l=n.n(o),s=n(28537),i=n(80859),u=n(4e4),m=n(85699),d=n(24871),c=n(9493),p=n(50604),f=n(43993),g=n(86734),b=n(20675),x=n(43806),h=n(21328),Y=n(2144),y=n(80168),w=n(93651),A=n(51433),v=n(47537),k=n(27921),S=n(9849),D=n(57306),z=n(81248),M=n(91785);const j=(0,a.A)("div",{target:"em2b2jt10"})({name:"hqm639",styles:"display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px"}),O=(0,a.A)("div",{target:"em2b2jt9"})({name:"6nv5sr",styles:"display:flex;flex-direction:row;flex-wrap:wrap;flex:0 0 auto;align-items:center;gap:14px"}),L=(0,a.A)("div",{target:"em2b2jt8"})("display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;gap:14px;& div{margin-top:0!important;margin-bottom:0!important;}input{border:1px solid ",({theme:t})=>t.colors.blue.toString(),"!important;border-radius:4px!important;padding:15px 56px 15px 16px!important;font-size:15px!important;color:",({theme:t})=>t.colors.blue.toString(),"!important;&:focus{border-color:",({theme:t})=>t.colors.blue.toString(),"!important;}}select{border:1px solid ",({theme:t})=>t.colors.blue.toString(),"!important;border-radius:4px!important;color:",({theme:t})=>t.colors.blue.toString(),"!important;&:focus{border-color:",({theme:t})=>t.colors.blue.toString(),"!important;}}"),_=(0,a.A)("div",{target:"em2b2jt7"})({name:"14ux33e",styles:"position:relative;flex:0 0 280px"}),C=(0,a.A)("div",{target:"em2b2jt6"})({name:"ou8xsw",styles:"flex:0 0 auto"}),E=(0,a.A)("button",{target:"em2b2jt5"})({name:"19u6m0d",styles:"position:absolute;top:0;right:12px;bottom:0;display:flex;align-items:center;padding:0 6px;background:transparent;border:none;cursor:pointer"}),I=(0,a.A)("div",{target:"em2b2jt4"})({name:"zrwlu3",styles:"display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px"}),T=(0,a.A)("button",{target:"em2b2jt3"})("padding:8px 18px;border:1px solid ",({theme:t})=>t.colors.blue.toString(),";border-radius:20px;font-size:13.5px;font-family:inherit;cursor:pointer;background:",({active:t,theme:e})=>t?e.colors.blue.toString():"transparent",";color:",({active:t,theme:e})=>t?e.colors.white.toString():e.colors.blue.toString(),";"),F=(0,a.A)("div",{target:"em2b2jt2"})({name:"z262i9",styles:"display:flex;justify-content:center;gap:14px;margin-top:30px"}),Q=(0,a.A)("div",{target:"em2b2jt1"})("margin-bottom:22px;font-family:var(--font-family-vito);font-size:26px;font-weight:900;color:",({theme:t})=>t.colors.blue.toString(),";"),B=[{status:"week",label:"Diese Woche"},{status:"lastweek",label:"Letzte Woche"},{status:"month",label:"Diesen Monat"},{status:"lastmonth",label:"Letzten Monat"}],P={week:"Diese Woche",lastweek:"Letzte Woche",month:"Diesen Monat",lastmonth:"Letzten Monat",custom:"Benutzerdefiniert"},Z=()=>{const t=(0,s.u)(),[e,n,a,o]=(0,k.A)(t=>[t.dateStatus,t.dateStart,t.dateEnd,t.setDateRange],u.A),i=(0,k.A)(t=>t.setPage),{0:m,1:f}=(0,r.useState)(!1),{0:g,1:x}=(0,r.useState)(e),{0:h,1:y}=(0,r.useState)(n),{0:w,1:A}=(0,r.useState)(a),{0:v,1:S}=(0,r.useState)(()=>{var t;return(null!==(t=(0,b.Q)(n))&&void 0!==t?t:l()()).startOf("month")}),D=t=>{x(t);const e=(t=>{const e=l()();switch(t){case"week":return[e.startOf("week"),e.endOf("week")];case"lastweek":{const t=e.subtract(1,"week");return[t.startOf("week"),t.endOf("week")]}case"month":return[e.startOf("month"),e.endOf("month")];case"lastmonth":{const t=e.subtract(1,"month");return[t.startOf("month"),t.endOf("month")]}default:return null}})(t);if(e){const[t,n]=e;y(t.format("YYYY-MM-DD")),A(n.format("YYYY-MM-DD")),S(t.startOf("month"))}},z="custom"===g&&(!h||!!w&&w<h);return(0,M.Y)(r.Fragment,null,(0,M.Y)(E,{type:"button",onClick:()=>{var t;x(e),y(n),A(a),S((null!==(t=(0,b.Q)(n))&&void 0!==t?t:l()()).startOf("month")),f(!0)},"aria-label":e?`Zeitraum: ${P[e]}`:"Zeitraum wählen",title:e?P[e]:"Zeitraum wählen"},(0,M.Y)(d.I0,{type:c.S.calendar,size:"17px",color:t.colors.blue.toString()})),(0,M.Y)(Y.A,{isOpen:m,setIsOpen:f},(0,M.Y)(Q,null,"Zeitraum wählen"),(0,M.Y)(I,null,B.map(({status:t,label:e})=>(0,M.Y)(T,{key:t,type:"button",active:g===t,onClick:()=>D(t)},e))),(0,M.Y)(b.A,{viewMonth:v,onViewMonthChange:S,rangeStart:(0,b.Q)(h),rangeEnd:(0,b.Q)(w),onDayCl
1ick:t=>{x("custom");const e=(0,b.Q)(h),n=!!e&&!!(0,b.Q)(w);if(!e||n||t.isBefore(e,"day"))return y(t.format("YYYY-MM-DD")),void A("");A(t.format("YYYY-MM-DD"))}}),(0,M.Y)(F,null,(0,M.Y)(p.A,{color:p.m.blueOutline,onClick:()=>{o(null),i(1),f(!1)}},"Zurücksetzen"),(0,M.Y)(p.A,{color:p.m.blue,onClick:()=>{o(g,h,w||h),i(1),f(!1)},disabled:!g||z},"Anwenden"))))},W=(0,a.A)("div",{target:"em2b2jt0"})({name:"1pjl9sm",styles:"display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-top:18px;font-size:13.5px"});e.Ay=({...t})=>{var e;const{can:n}=(0,w.Kz)(),[a]=(0,S.A)(t=>[t.selectedCustomerNumber],u.A),[o,l,s,d,c,p,b,Y]=(0,k.A)(t=>[t.filter,t.sort,t.sortDesc,t.page,t.setPage,t.dateStatus,t.dateStart,t.dateEnd],u.A),[D]=(0,i.d7)(o,500),{data:z,error:E,isLoading:I}=(0,A.A)(a,D,l,s,d,p,b,Y),{data:T}=(0,v.A)(a,D,p,b,Y);if(!n(w.oL.LIST))return(0,M.Y)(f.A,{message:"Du hast keine Berechtigung Transaktionen anzusehen."});const F=null!==(e=null==z?void 0:z.data)&&void 0!==e?e:[];return(0,M.Y)(h.A,{title:"Transaktionen"},(0,M.Y)(j,null,(0,M.Y)(L,null,(0,M.Y)(_,null,(0,M.Y)(K,null),(0,M.Y)(Z,null)),(0,M.Y)(C,null,(0,M.Y)(R,null))),(0,M.Y)(O,null,(0,M.Y)(x.A,null))),a&&(0,M.Y)(r.Fragment,null,E&&(0,M.Y)("div",null,"Beim Laden der Transaktionen ist ein Fehler aufgetreten."),(0,M.Y)(y.Ay,{transactions:F,limited:!1,isLoading:I}),!I&&F.length>0&&(0,M.Y)(W,null,(0,M.Y)("span",null,"Insgesamt ",(0,M.Y)(m.A,null,null==z?void 0:z.meta.total)," ","Transaktionen",T&&T.products.length>0&&(0,M.Y)(r.Fragment,null,T.products.map(t=>(0,M.Y)(r.Fragment,{key:t.product},", ",(0,M.Y)(m.A,null,t.totalQuantity.toLocaleString("de-DE",{maximumFractionDigits:0}))," ","Liter ",t.product)))),z&&(0,M.Y)(g.A,{paginationLinks:z.links,paginationMeta:z.meta,setPage:c}))))};const K=()=>{const[t,e]=(0,k.A)(t=>[t.setFilter,t.setPage],u.A);return(0,M.Y)(D.A,{onSearch:n=>{t(n),e(1)}})},R=()=>{const[t,e,n,a]=(0,k.A)(t=>[t.sort,t.setSort,t.setSortDesc,t.sortDesc],u.A);return(0,M.Y)(z.A,{sort:t,sortBy:[{value:"timestamp",text:"Datum"},{value:"card_number",text:"Kartennummer"},{value:"currency_amount",text:"Betrag"},{value:"product_quantity",text:"Menge"},{value:"product_desc",text:"Produkt"},{value:"ifsf_name",text:"Station"},{value:"kfz_kennzeichen",text:"Kennzeichen"}],setSort:e,setSortDesc:n,sortDesc:a})}}}]);
2//# sourceMappingURL=be21b96d-d6dfe968a63c49300e06.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.