Bug 31828: Add page-section to list of open invoices on receive shipment page (acq)
This patch adds a "page-section" class to the div wrapping the table of shipments on the "Receive shipment" page in Acquisitions. This patch also modifies the markup around additional fields so that an empty fieldset is not displayed when there are no additional fields to display. To test, apply the patch and go to Acquisitions. - Locate a vendor and view its details. - In the toolbar, click "Receive shipments." - On the receive page, there should be a section listing shipments and a section headed "Receive a new shipment." - If you have additional fields defined (in Administration -> Additional fields -> Invoices) there should be a third section showing those fields. - With no additional fields defined you should not see an empty fieldset. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
79aacd1437
commit
1e7e457f75
1 changed files with 4 additions and 6 deletions
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
[% IF ( count ) %]
|
[% IF ( count ) %]
|
||||||
<p> [% count | html %] shipments</p>
|
<p> [% count | html %] shipments</p>
|
||||||
<div id="resultlist">
|
<div id="resultlist" class="page-section">
|
||||||
<!-- Search Results Table -->
|
<!-- Search Results Table -->
|
||||||
|
|
||||||
<table class="small" id="parcelst">
|
<table class="small" id="parcelst">
|
||||||
|
@ -191,11 +191,9 @@
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="rows">
|
[% IF available_additional_fields %]
|
||||||
[% IF available_additional_fields %]
|
[% INCLUDE 'additional-fields-entry.inc' available=available_additional_fields values=additional_field_values %]
|
||||||
[% INCLUDE 'additional-fields-entry.inc' available=available_additional_fields values=additional_field_values %]
|
[% END %]
|
||||||
[% END %]
|
|
||||||
</fieldset>
|
|
||||||
<fieldset class="action"><input type="submit" class="btn btn-default" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a></fieldset>
|
<fieldset class="action"><input type="submit" class="btn btn-default" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a></fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue