From 731a549b7125c4ba3fa66441badb4cd301fa1d46 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 6 Jan 2024 19:57:04 +0000 Subject: [PATCH] Bug 35300: Add page-section to invoice files page To test: * Enable AcqEnableFiles system preference * Go to acquisitions * Search for a vendor and receive shipment * Enter an invoice number and create new invoice * Finish receive * Click on 'manage invice files' link * Upload a sample file * Verify the table is missing the usual white background * Apply patch * Verify the the table now displays with the usual white background Signed-off-by: David Nind Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer --- .../prog/en/modules/acqui/invoice-files.tt | 58 ++++++++++--------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt index 9c6d15c3ad..3e6e998155 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt @@ -51,34 +51,36 @@ [% END %] [% IF files %] - - - - - - - - - - - - - - [% FOREACH f IN files %] - - - - - - - - - - [% END %] - -
NameTypeDescriptionUploadedBytes  
[% f.file_name | html %][% f.file_type | html %][% f.file_description | html %] - [% f.date_uploaded | $KohaDates %] - [% f.file_size | html %]DeleteDownload
+
+ + + + + + + + + + + + + + [% FOREACH f IN files %] + + + + + + + + + + [% END %] + +
NameTypeDescriptionUploadedBytes  
[% f.file_name | html %][% f.file_type | html %][% f.file_description | html %] + [% f.date_uploaded | $KohaDates %] + [% f.file_size | html %]DeleteDownload
+
[% ELSE %]

This invoice has no files attached.

-- 2.39.5