diff options
author | Ivan Kohler <ivan@freeside.biz> | 2020-05-27 13:39:47 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2020-05-27 13:39:47 -0700 |
commit | fc263806f5e475559a0c4cfdb70a5f1cefe0ffa3 (patch) | |
tree | c0887bc08d9836175fd4a915d3b20bb7ce458bb6 /httemplate/search/elements/grouped-search/deposit_slip | |
parent | ae09d41481da0937765821af91537b8e728169e4 (diff) |
deposit slips
Diffstat (limited to 'httemplate/search/elements/grouped-search/deposit_slip')
-rw-r--r-- | httemplate/search/elements/grouped-search/deposit_slip | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/search/elements/grouped-search/deposit_slip b/httemplate/search/elements/grouped-search/deposit_slip new file mode 100644 index 0000000..6e69662 --- /dev/null +++ b/httemplate/search/elements/grouped-search/deposit_slip @@ -0,0 +1,8 @@ +<& /search/elements/search-deposit_slip.html, rows=>\@rows, &>\ +<%init> +my %opt = @_; +my $group_info = $m->comp('core', %opt); +#just the first group +my $query = $group_info->{queries}[0]; +my @rows = $query->qsearch; +</%init> |