Bug 34127: add the "export to CSV link" for baskets which are closed or linked to a groups

Test :
 - create an acquisition basket
 - add at least one record
 - close the basket (the "export as CSV" link is present)
 - attach the basket to a basket group
 - check that the "export as CSV" link, next to "reopen the basket" is
 now gone.
 - apply patch and reload the page (may need reload plack, cache, etc...)
 - "export as CSV" link is now present even though the basket is
 closed and it is attached to a basket group.
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Dominique et Stephanie <stephanie.etallaz@univ-cotedazur.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 174f243fd8)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Arthur Suzuki 2023-06-29 12:25:40 +02:00 committed by Paul Derscheid
parent 7be30834a2
commit fbb0967331
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 2 deletions

View File

@ -257,9 +257,8 @@
<button type="submit" class="btn btn-default"><i class="fa-solid fa-rotate"></i> Reopen basket</button>
</form>
</div>
[% PROCESS csv_export %]
[% END %]
[% PROCESS csv_export %]
</div>
[% END # /UNLESS ( closedate ) %]
[% END # /UNLESS ( selectbasketg ) %]