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
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