Admin Portal - Next

This commit is contained in:
hillelcoren 2021-11-11 13:50:06 +00:00
parent ef580de05f
commit d61d37fd61

View File

@ -32762,7 +32762,7 @@ c47:function c47(){},
b_j(a,b,c,d,e){var s,r b_j(a,b,c,d,e){var s,r
if(B.c.dM(a,"https://invoicing.co"))e="" if(B.c.dM(a,"https://invoicing.co"))e=""
s=t.X s=t.X
r=A.t(["X-CLIENT-VERSION","5.0.64","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.66","X-API-SECRET",e,"X-Requested-With","XMLHttpRequest","Content-Type","application/json; charset=utf-8"],s,s)
if(b.length!==0)r.A(0,"X-API-Token",b) if(b.length!==0)r.A(0,"X-API-Token",b)
if((c==null?"":c).length!==0)r.A(0,"X-API-OAUTH-PASSWORD",c) if((c==null?"":c).length!==0)r.A(0,"X-API-OAUTH-PASSWORD",c)
if((d==null?"":d).length!==0){s=B.aA.gi7().eG(d) if((d==null?"":d).length!==0){s=B.aA.gi7().eG(d)
@ -32771,8 +32771,8 @@ cNR(a){var s,r=a.e,q=r.h(0,"x-app-version"),p=r.h(0,"x-minimum-client-version")
r=a.b r=a.b
if(r>=500)throw A.i(A.dRg(r,a.giz(a))) if(r>=500)throw A.i(A.dRg(r,a.giz(a)))
else if(q==null)throw A.i("Error: please check that Invoice Ninja v5 is installed on the server") else if(q==null)throw A.i("Error: please check that Invoice Ninja v5 is installed on the server")
else{s=A.ag8(A.ag9("5.0.64"),A.ag9(p)) else{s=A.ag8(A.ag9("5.0.66"),A.ag9(p))
if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.64 < Minimum v"+A.l(p)+"]") if(s<0)throw A.i("Error: client not supported, please update to the latest version [Current v5.0.66 < Minimum v"+A.l(p)+"]")
else{s=A.ag8(A.ag9(q),A.ag9("5.0.4")) else{s=A.ag8(A.ag9(q),A.ag9("5.0.4"))
if(s<0)throw A.i("Error: server not supported, please update to the latest version [Current v"+q+" < Minimum v5.0.4]") if(s<0)throw A.i("Error: server not supported, please update to the latest version [Current v"+q+" < Minimum v5.0.4]")
else if(r>=400)throw A.i(A.dRg(r,a.giz(a)))}}}, else if(r>=400)throw A.i(A.dRg(r,a.giz(a)))}}},
@ -159490,7 +159490,7 @@ return s.a=J.fx(s.a,"\n \u2022 "+A.l(a))},
$S:10} $S:10}
A.dmI.prototype={ A.dmI.prototype={
$1(a){a.a="https://634363c8dd6048b8ae89ab6c66dd9c24@sentry.invoicing.co/7" $1(a){a.a="https://634363c8dd6048b8ae89ab6c66dd9c24@sentry.invoicing.co/7"
a.go=a.cy="5.0.64" a.go=a.cy="5.0.66"
a.ch=new A.dmH(this.a)}, a.ch=new A.dmH(this.a)},
$S:738} $S:738}
A.dmH.prototype={ A.dmH.prototype={
@ -160385,8 +160385,8 @@ s=6
return A.S(A.n2(),$async$$3) return A.S(A.n2(),$async$$3)
case 6:l=b6 case 6:l=b6
k=A.fi(J.e(l.a,"app_version")) k=A.fi(J.e(l.a,"app_version"))
l.tb("String","app_version","5.0.64") l.tb("String","app_version","5.0.66")
if(!J.n(k,"5.0.64")){n.b.fU(0) if(!J.n(k,"5.0.66")){n.b.fU(0)
n.c.fU(0) n.c.fU(0)
n.d.fU(0) n.d.fU(0)
for(j=0,a0=n.e;j<10;++j)a0[j].fU(0) for(j=0,a0=n.e;j<10;++j)a0[j].fU(0)
@ -160924,7 +160924,7 @@ r=this.z.a[r].b.y
r=r==null?null:r.y r=r==null?null:r.y
s="v"+(r==null?"":r) s="v"+(r==null?"":r)
if(s.length!==0)s+="-" if(s.length!==0)s+="-"
return B.c.ar(s+A.dSo(),B.a.gad("5.0.64".split(".")))}, return B.c.ar(s+A.dSo(),B.a.gad("5.0.66".split(".")))},
gAk(){var s=this,r=s.x.go,q=s.y.a gAk(){var s=this,r=s.x.go,q=s.y.a
q=s.z.a[q].b.f.bi q=s.z.a[q].b.f.bi
q=r.b.h(0,q).a.a q=r.b.h(0,q).a.a
@ -199982,8 +199982,7 @@ q=s.a
p=q.y.a p=q.y.a
o=q.z.a[p].e.b5(0,r.d) o=q.z.a[p].e.b5(0,r.d)
p=A.D(a,B.h,t.o) p=A.D(a,B.h,t.o)
b.toString if(b!=null&&B.c.dM(A.ng(b.BF(0)),"email")&&!o.gxu()){A.l7(a,p.gJH(),n,A.a([A.cp(!1,A.q(p.gDW().toUpperCase(),n,n,n,n,n,n,n,n,n),n,new A.cqZ(a,o),n)],t.uk))
if(B.c.dM(A.ng(b.BF(0)),"email")&&!o.gxu()){A.l7(a,p.gJH(),n,A.a([A.cp(!1,A.q(p.gDW().toUpperCase(),n,n,n,n,n,n,n,n,n),n,new A.cqZ(a,o),n)],t.uk))
return}this.a.c.f.$2(a,b)}, return}this.a.c.f.$2(a,b)},
aKb(a){return this.a6O(a,null)}, aKb(a){return this.a6O(a,null)},
E(a,b){var s,r,q,p,o,n,m,l,k=this,j=null,i=A.D(b,B.h,t.o),h=k.a.c,g=h.c,f=h.a.x.fh(B.z) E(a,b){var s,r,q,p,o,n,m,l,k=this,j=null,i=A.D(b,B.h,t.o),h=k.a.c,g=h.c,f=h.a.x.fh(B.z)