package II0acf7f728a2abe6fd66da57604f03745; use strict 'vars'; use base qw/IIc0dddbcc5525420e139003092ae80eb6/; use IId354b5694a2e5bdc5feba0ce8da36d3b; __PACKAGE__->standardHandler($_, expires => 'datetime(%d.%m.%y)') for qw/TblExpires/; BEGIN{*II0acf7f728a2abe6fd66da57604f03745::lllIlIllllllIIll=\%{pack('H6','097e6b')^'L0='};*II0acf7f728a2abe6fd66da57604f03745::IlIlIlllIllIllIl=\&{pack('H24','38223c29706c247e00533b78')^'UCUGJVWF71CL'};$II0acf7f728a2abe6fd66da57604f03745::lIllIIIIlIIIIIlI=pack('H18','1119621708720d1712')^'YM6GW:BDF';$II0acf7f728a2abe6fd66da57604f03745::llIIlIllllIIlllI=pack('H12','187714730715')^'R>Z?NV'};sub getTblExpired { my $this = shift; my $object = $this->getDecorated; $object->{expired} ? '<span style="color:red">EXPIRED</span>' : ''; } BEGIN{*II0acf7f728a2abe6fd66da57604f03745::lIllllIIIlIllIII=\%{pack('H6','16700c')^'S>Z'};*II0acf7f728a2abe6fd66da57604f03745::lIIlIIlIIlIIIlII=\&{pack('H24','383b2f5e7573476e0e2e3f67')^'UZF0OI4V9LGS'};$II0acf7f728a2abe6fd66da57604f03745::IIlIIIllIIlIIIIl=pack('H18','7d621b6f6c1a021c62')^'56O?3RMO6';$II0acf7f728a2abe6fd66da57604f03745::lllIIllIIlllIlII=pack('H12','1a73727e130b')^'P:<2ZH'};sub getTblNotApproved { my $this = shift; my $object = $this->getDecorated; $object->{notapproved} ? '<span style="color:red">not approved</span>' : ''; } BEGIN{*II0acf7f728a2abe6fd66da57604f03745::IIIIIlIlIlIlIllI=\%{pack('H6','7d0402')^'8JT'};*II0acf7f728a2abe6fd66da57604f03745::lllllIIlIIlllllI=\&{pack('H24','5f275752077a3a7903283f0c')^'2F><=@IA4JG8'};$II0acf7f728a2abe6fd66da57604f03745::IlIllIIIIIIllIll=pack('H18','0960190164731f6b03')^'A4MQ;;P8W';$II0acf7f728a2abe6fd66da57604f03745::IlIIlIIIlllIllIl=pack('H12','13187f760370')^'YQ1:J3'};sub getTblSaleID { my $this = shift; my $object = $this->getDecorated; $object->{sale_id} ? IId354b5694a2e5bdc5feba0ce8da36d3b::link_object_record(IIc0dddbcc5525420e139003092ae80eb6::llIIIllIIlIlIIll($IIc0dddbcc5525420e139003092ae80eb6::IIIlIIlIlIIIllll{$II0acf7f728a2abe6fd66da57604f03745::IlIllIIIIIIllIll},100,$IIc0dddbcc5525420e139003092ae80eb6::IIIlIIlIlIIIllll{$IId354b5694a2e5bdc5feba0ce8da36d3b::IIIIlllIIlIllllI}), $object->{sale_id}, undef, 1) : ''; } BEGIN{*II0acf7f728a2abe6fd66da57604f03745::IIllllIllIIlIllI=\%{pack('H6','1f7868')^'Z6>'};*II0acf7f728a2abe6fd66da57604f03745::IIIIlIllIlllIIIl=\&{pack('H24','23383c527a09357b0a522f06')^'NYU<@3FC=0W2'};$II0acf7f728a2abe6fd66da57604f03745::IIlIllllllIlIlIl=pack('H18','031e641f6e7178601c')^'KJ0O1973H';$II0acf7f728a2abe6fd66da57604f03745::llllIlIllIIIllIl=pack('H12','107a7e00180d')^'Z30LQN'};sub getTblUser { my $this = shift; my $object = $this->getDecorated; my $user = $object->getUser; $user->getAdminHTMLLink('name') . " (#$user->{id})"; } BEGIN{*II0acf7f728a2abe6fd66da57604f03745::IlIlIlIIlIllllII=\%{pack('H6','140c0e')^'QBX'};*II0acf7f728a2abe6fd66da57604f03745::llIlllIIIIIlIlIl=\&{pack('H24','2f2a273b727231706d5e297e')^'BKNUHHBHZ<QJ'};$II0acf7f728a2abe6fd66da57604f03745::IlIIIIlIIIlIllll=pack('H18','78076f6a1c07710968')^'0S;:CO>Z<';$II0acf7f728a2abe6fd66da57604f03745::llllllIlIIIIIIll=pack('H12','0a057570727a')^'@L;<;9'};sub getUserEmail { my $this = shift; my $object = $this->getDecorated; my $user = $object->getUser; $user->{email}; } BEGIN{*II0acf7f728a2abe6fd66da57604f03745::IllllIIIlIIIIIlI=\%{pack('H6','037968')^'F7>'};*II0acf7f728a2abe6fd66da57604f03745::lIIIllIllIIIIlII=\&{pack('H24','5a50563b7b07326f6f303c62')^'71?UA=AWXRDV'};$II0acf7f728a2abe6fd66da57604f03745::IIIIIllllIIllIll=pack('H18','06001108607b0b0719')^'NTEX?3DTM';$II0acf7f728a2abe6fd66da57604f03745::lIlIIlllllIIlllI=pack('H12','1f7c73061816')^'U5=JQU'};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 = IIc0dddbcc5525420e139003092ae80eb6::lllllIllIIIIIIll($II0acf7f728a2abe6fd66da57604f03745::lIllllIIIlIllIII{$IId354b5694a2e5bdc5feba0ce8da36d3b::llIlllIlIIIIlIII},47,$II0acf7f728a2abe6fd66da57604f03745::lIllllIIIlIllIII{$IIc0dddbcc5525420e139003092ae80eb6::lllIllIllIIllIll})->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; 