Admin Portal - Next

This commit is contained in:
hillelcoren 2022-05-01 09:16:19 +00:00
parent cce0d9cfb6
commit f6bde9fe81

View File

@ -34349,7 +34349,7 @@ cix:function cix(){},
b8x(a,b,c,d,e){var s,r
if(B.c.cu(a,"https://invoicing.co"))e=""
s=t.X
r=A.t(["X-CLIENT-VERSION","5.0.78","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
r=A.t(["X-CLIENT-VERSION","5.0.79","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.v(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.v(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=B.az.gi6().ej(d)
@ -34358,8 +34358,8 @@ d4l(a){var s,r=a.e,q=r.h(0,"x-app-version"),p=r.h(0,"x-minimum-client-version")
r=a.b
if(r>=500)throw A.f(A.eaX(r,a.gj4(a)))
else if(q==null)throw A.f("Error: please check that Invoice Ninja v5 is installed on the server")
else{s=A.aml(A.amm("5.0.78"),A.amm(p))
if(s<0)throw A.f("Error: client not supported, please update to the latest version [Current v5.0.78 < Minimum v"+A.h(p)+"]")
else{s=A.aml(A.amm("5.0.79"),A.amm(p))
if(s<0)throw A.f("Error: client not supported, please update to the latest version [Current v5.0.79 < Minimum v"+A.h(p)+"]")
else{s=A.aml(A.amm(q),A.amm("5.0.4"))
if(s<0)throw A.f("Error: server not supported, please update to the latest version [Current v"+q+" < Minimum v5.0.4]")
else if(r>=400)throw A.f(A.eaX(r,a.gj4(a)))}}},
@ -171478,7 +171478,7 @@ return s.a=J.fO(s.a,"\n \u2022 "+A.h(a))},
$S:11}
A.dFL.prototype={
$1(a){a.a="https://21e3763afb044f1fb75d832fd9f06b73@sentry2.invoicing.co/3"
a.k1=a.dx="5.0.78"
a.k1=a.dx="5.0.79"
a.cy=new A.dFK(this.a)},
$S:1036}
A.dFK.prototype={
@ -172926,7 +172926,7 @@ r=this.z.a[r].b.y
r=r==null?null:r.y
s="v"+(r==null?"":r)
if(s.length!==0)s+="-"
return B.c.ai(s+A.ect(),B.a.gY("5.0.78".split(".")))},
return B.c.ai(s+A.ect(),B.a.gY("5.0.79".split(".")))},
gDu(){var s=this,r=s.x.r1,q=s.y.a
q=s.z.a[q].b.f.cD
q=r.b.h(0,q).a.a