Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

How to obtain the value of paylogs_time.

Quote Reply
How to obtain the value of paylogs_time.
Hi,

I use a global to obtain the value of <%paiement_id($ID)%> on link_modify_select.html.

sub {
my $table = $DB->table('Payments');
my $cond = GT::SQL::Condition->new(payments_linkid => 'LIKE' => $_[0]);
$table->select_options("ORDER BY payments_last DESC");
return $table->select('payments_id' => $cond)->fetchrow;
}
 
Now, I would like to obtain the value of paylogs_time.

I tested : <%paylogs_time($paiement_id($ID)%>

with :

sub {
my $table = $DB->table('PaymentLogs');
my $cond = GT::SQL::Condition->new(paylogs_payments_id => 'LIKE' => $_[0]);
$table->select_options("ORDER BY payments_last DESC");
return $table->select('paylogs_time' => $cond)->fetchrow;
}

But, that does not function. :(

You have an idea ?

Thanks for your assistance.

MJ

Subject Author Views Date
Thread How to obtain the value of paylogs_time. MJ_ 7426 May 25, 2009, 10:52 AM
Thread Re: [MJ_] How to obtain the value of paylogs_time.
Andy 7274 May 25, 2009, 11:30 AM
Thread Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7243 May 25, 2009, 12:07 PM
Thread Re: [MJ_] How to obtain the value of paylogs_time.
Andy 7257 May 26, 2009, 12:21 AM
Thread Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7254 May 26, 2009, 3:40 AM
Thread Re: [MJ_] How to obtain the value of paylogs_time.
Andy 7298 May 26, 2009, 3:47 AM
Thread Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7215 May 26, 2009, 4:48 AM
Thread Re: [MJ_] How to obtain the value of paylogs_time.
Andy 7252 May 26, 2009, 5:10 AM
Thread Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7208 May 26, 2009, 5:32 AM
Thread Re: [MJ_] How to obtain the value of paylogs_time.
Andy 7266 May 26, 2009, 5:35 AM
Thread Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7233 May 26, 2009, 6:03 AM
Thread Re: [MJ_] How to obtain the value of paylogs_time.
Andy 7213 May 26, 2009, 6:05 AM
Thread Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7224 May 26, 2009, 6:10 AM
Thread Re: [MJ_] How to obtain the value of paylogs_time.
Andy 7295 May 26, 2009, 6:12 AM
Post Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7197 May 26, 2009, 6:22 AM
Thread Re: [Andy] BUG ? or How to obtain the value of paylogs_time.
MJ_ 7148 May 27, 2009, 7:01 AM
Thread Re: [MJ_] BUG ? or How to obtain the value of paylogs_time.
Andy 7202 May 27, 2009, 7:08 AM
Post Re: [Andy] BUG ? or How to obtain the value of paylogs_time.
MJ_ 7145 May 27, 2009, 7:23 AM
Post Re: [Andy] How to obtain the value of paylogs_time.
MJ_ 7239 May 25, 2009, 12:49 PM