[Koha-patches] [PATCH] Bug 5948 : Creation of a quantity column in receipt summary
Chris Cormack
chrisc at catalyst.net.nz
Thu Mar 24 23:14:34 CET 2011
From: Christophe Croullebois <christophe.croullebois at biblibre.com>
In receipt summary the quantity did'nt appear in already received table, this patch fixes the omission
---
acqui/parcel.pl | 1 +
.../prog/en/modules/acqui/parcel.tmpl | 17 ++++++++++++-----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/acqui/parcel.pl b/acqui/parcel.pl
index ad95944..ec5071b 100755
--- a/acqui/parcel.pl
+++ b/acqui/parcel.pl
@@ -320,3 +320,4 @@ $template->param(
resultsperpage => $resultsperpage,
);
output_html_with_http_headers $input, $cookie, $template->output;
+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl
index d3409ca..4be4ee8 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl
@@ -252,6 +252,7 @@
<th>Order Line</th>
<th>Summary</th>
<th>View Record</th>
+ <th>Quantity</th>
<th>Est cost</th>
<th>Actual cost</th>
<th>TOTAL</th>
@@ -260,20 +261,22 @@
<tfoot>
<tr>
<td colspan="4" class="total">SUBTOTAL</td>
- <td> </td>
+ <td colspan="2"> </td>
<td><!-- TMPL_VAR NAME="totalprice" --></td>
<td><!-- TMPL_VAR NAME="tototal" --></td>
</tr>
+
<!-- TMPL_IF NAME="totalfreight" -->
<tr>
- <td colspan="5">
+ <td colspan="6">
</td>
<td>Shipping</td>
<td><!-- TMPL_VAR NAME="totalfreight" --></td>
- </tr> <!-- /TMPL_IF -->
+ </tr>
+ <!-- /TMPL_IF -->
<!-- TMPL_IF NAME="gst" -->
<tr>
- <td colspan="5">
+ <td colspan="6">
<p class="message">
<b>HELP</b><br />
The total at the bottom of the page should be within a few cents of the total for the invoice.
@@ -281,9 +284,11 @@
</td>
<td><b>Tax rate</b></td>
<td><!-- TMPL_VAR NAME="gst" --></td>
- </tr> <!-- /TMPL_IF -->
+ </tr>
+ <!-- /TMPL_IF -->
<tr>
<td colspan="4" class="total">TOTAL</td>
+ <td><!-- TMPL_VAR NAME="totalquantity" --></td>
<td colspan="2"> </td>
<td><!-- TMPL_VAR NAME="grandtot" --></td>
</tr>
@@ -303,6 +308,7 @@
<!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
</td>
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">Card</a></td>
+ <td><!-- TMPL_VAR NAME="quantityreceived" --></td>
<td><!-- TMPL_VAR NAME="ecost" --></td>
<td><!-- TMPL_VAR NAME="unitprice" --></td>
<td><!-- TMPL_VAR NAME="total" --></td>
@@ -351,3 +357,4 @@
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
+
--
1.7.1
More information about the Koha-patches
mailing list