package II426321809b9dfbf9defb9cb17cd4800c; use strict 'vars'; use base qw/IIc0dddbcc5525420e139003092ae80eb6/; use IId354b5694a2e5bdc5feba0ce8da36d3b; __PACKAGE__->standardHandler($_, ctime => 'datetime(%m/%d/%y)') for qw/TblDate/; __PACKAGE__->standardHandler($_, expires => 'datetime(%m/%d/%y)') for qw/TblExpires/; BEGIN{*II426321809b9dfbf9defb9cb17cd4800c::lllIIIllllllllll=\%{pack('H6','1f7e6c')^'Z0:'};*II426321809b9dfbf9defb9cb17cd4800c::IIIllIIIllllIlIl=\&{pack('H24','533b215362714d00095d3767')^'>ZH=XK>8>?OS'};$II426321809b9dfbf9defb9cb17cd4800c::IIlIIIIIIlIllllI=pack('H18','75160c1f0d10731a17')^'=BXORX<IC';$II426321809b9dfbf9defb9cb17cd4800c::IllIIlIlllllIIII=pack('H12','7706191f0016')^'=OWSIU'};sub getTblExpired { my $this = shift; my $object = $this->getDecorated; $object->{expired} ? '<span style="color:red">EXPIRED</span>' : ''; } BEGIN{*II426321809b9dfbf9defb9cb17cd4800c::IIllllIllIIIllII=\%{pack('H6','75031d')^'0MK'};*II426321809b9dfbf9defb9cb17cd4800c::IlllIIIlIllIllII=\&{pack('H24','2d553d2076602a766f5e4076')^'@4TNLZYNX<8B'};$II426321809b9dfbf9defb9cb17cd4800c::lIIIlllIlIIllIlI=pack('H18','7d0d6a1c10071d1702')^'5Y>LOORDV';$II426321809b9dfbf9defb9cb17cd4800c::lIIIlIIlllIlIIII=pack('H12','7e180d0a741a')^'4QCF=Y'};sub getTblNotApproved { my $this = shift; my $object = $this->getDecorated; $object->{notapproved} ? '<span style="color:red">not approved</span>' : ''; } BEGIN{*II426321809b9dfbf9defb9cb17cd4800c::lllIllIlIIlIlIlI=\%{pack('H6','790405')^'<JS'};*II426321809b9dfbf9defb9cb17cd4800c::lIlIIIlIllIIlllI=\&{pack('H24','543b5f54796a397d03352876')^'9Z6:CPJE4WPB'};$II426321809b9dfbf9defb9cb17cd4800c::lIIIlIlIllIIIIII=pack('H18','111761600d7017091c')^'YC50R8XZH';$II426321809b9dfbf9defb9cb17cd4800c::IllIIllIIIIIIIlI=pack('H12','74101f1e787a')^'>YQR19'};sub getTblSaleID { my $this = shift; my $object = $this->getDecorated; $object->{sale_id} ? IId354b5694a2e5bdc5feba0ce8da36d3b::link_object_record(IIc0dddbcc5525420e139003092ae80eb6::IIlIlllIlIlIllll($II426321809b9dfbf9defb9cb17cd4800c::lllIIIllllllllll{$II426321809b9dfbf9defb9cb17cd4800c::lIIIlIlIllIIIIII},100,$II426321809b9dfbf9defb9cb17cd4800c::lllIIIllllllllll{$IIc0dddbcc5525420e139003092ae80eb6::IIlIllIIlIlIllIl}), $object->{sale_id}, undef, 1) : ''; } BEGIN{*II426321809b9dfbf9defb9cb17cd4800c::llllIIlllIIIIlII=\%{pack('H6','747314')^'1=B'};*II426321809b9dfbf9defb9cb17cd4800c::lIIIlllllIlIllII=\&{pack('H24','202a39270e6e24750622467a')^'MKPI4TWM1@>N'};$II426321809b9dfbf9defb9cb17cd4800c::llIIIllIIllllIll=pack('H18','1a6f1916640b706f03')^'R;MF;C?<W';$II426321809b9dfbf9defb9cb17cd4800c::IlIlIlIlIIllIlll=pack('H12','03080a1f7476')^'IADS=5'};sub getTblUser { my $this = shift; my $object = $this->getDecorated; my $user = $object->getUser; $user->getAdminHTMLLink('name') . " (#$user->{id})"; } BEGIN{*II426321809b9dfbf9defb9cb17cd4800c::IlIlIlIIIIlIIIll=\%{pack('H6','157a00')^'P4V'};*II426321809b9dfbf9defb9cb17cd4800c::lIlIIlllIllIllIl=\&{pack('H24','59215250710e406a0034390e')^'4@;>K43R7VA:'};$II426321809b9dfbf9defb9cb17cd4800c::IllIIlIllIlllIll=pack('H18','741a196d6212076307')^'<NM==ZH0S';$II426321809b9dfbf9defb9cb17cd4800c::IllIIllIIIlIIlll=pack('H12','7e1a070c1f11')^'4SI@VR'};sub getUserEmail { my $this = shift; my $object = $this->getDecorated; my $user = $object->getUser; $user->{email}; } BEGIN{*II426321809b9dfbf9defb9cb17cd4800c::IlIllIlllllllIlI=\%{pack('H6','710b1d')^'4EK'};*II426321809b9dfbf9defb9cb17cd4800c::IlIllllIIlIlIlll=\&{pack('H24','5b2731340b7e3d050651317b')^'6FXZ1DN=13IO'};$II426321809b9dfbf9defb9cb17cd4800c::lIlllllIlIIIlIIl=pack('H18','1a1f18630e0d7d1e16')^'RKL3QE2MB';$II426321809b9dfbf9defb9cb17cd4800c::llIIIlllIIlIllIl=pack('H12','091d77771377')^'CT9;Z4'};sub getTblRenew { my $this = shift; my $object = $this->getDecorated; if ($object->{sale_id} && ($object->{expired} || IId354b5694a2e5bdc5feba0ce8da36d3b::is_due_to_expire($object))) { my $sale = $object->getSale; my $sysURL = II426321809b9dfbf9defb9cb17cd4800c::lIlIIIlIllIIlllI($II426321809b9dfbf9defb9cb17cd4800c::lllIllIlIIlIlIlI{$IId354b5694a2e5bdc5feba0ce8da36d3b::IllIIIlllIIIlIlI},47,$II426321809b9dfbf9defb9cb17cd4800c::lllIllIlIIlIlIlI{$II426321809b9dfbf9defb9cb17cd4800c::IllIIlIlllllIIII})->getURL; $sale->{no_renew} ? '' : qq(<a target="_blank" class="jinTableLink" href="$sysURL/action/Jin/Order/Web/renewal.html?sale_id=$sale->{id}&signature=$sale->{signature}">renew</a>); } else { ''; } } 1; 