Bugzilla – Attachment 59283 Details for
Bug 9692
Add a checkbox to display statistical fields in basket.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9692: [FOLLOWUP] Add a checkbox to display statistical fields in basket.tt
Bug-9692-FOLLOWUP-Add-a-checkbox-to-display-statis.patch (text/plain), 4.59 KB, created by
Emma
on 2017-01-19 20:41:06 UTC
(
hide
)
Description:
Bug 9692: [FOLLOWUP] Add a checkbox to display statistical fields in basket.tt
Filename:
MIME Type:
Creator:
Emma
Created:
2017-01-19 20:41:06 UTC
Size:
4.59 KB
patch
obsolete
>From 25eff2cdbfe56998b1793d7abfd6aae02f784c79 Mon Sep 17 00:00:00 2001 >From: Your Full Name <emma.nakamura.smith@gmail.com> >Date: Thu, 19 Jan 2017 02:57:39 +0000 >Subject: [PATCH] Bug 9692: [FOLLOWUP] Add a checkbox to display statistical > fields in basket.tt > >--- > .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 45 ++++++++-------------- > 1 file changed, 17 insertions(+), 28 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index b2fb290..c85b5ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -35,10 +35,13 @@ > transfer_order_popup( $(this).data("ordernumber")); > }); > >- $("#show_all_prices").click(function(){ >- if ($("#show_all_prices").is(":checked")){ >- $("table .tax_excluded").show(); >+ $("table .statistics").hide(); >+ $("table .tax_included").hide(); >+ >+ $("#show_all_prices").on("click",function(){ >+ if ($("#show_all_prices").is(":checked") ){ > $("table .tax_included").show(); >+ $("table .tax_excluded").show(); > } else { > [% IF ( listincgst ) %] > $("table .tax_excluded").hide(); >@@ -505,15 +508,10 @@ > <th class="tax_included">[% foot_loo.total_tax_included | $Price %]</th> > <th> </th> > <th>[% foot_loo.tax_value | $Price %]</th> >- <th> </th> >- <th> </th> > <th class="gste">[% foot_loo.totalgste %]</th> > <th class="gsti">[% foot_loo.totalgsti %]</th> >- <th/> >- <th>[% foot_loo.gstvalue %]</th> >- <th/> >- <th class="statistics" /> >- <th class="statistics" /> >+ <th class="statistics"> </th> >+ <th class="statistics"> </th> > [% IF ( active ) %] > [% UNLESS ( closedate ) %] > <th> </th> >@@ -534,15 +532,11 @@ > <th class="tax_included">[% total_tax_included | $Price %]</th> > <th> </th> > <th>[% total_tax_value | $Price %]</th> >- <th> </th> >- <th> </th> >- <th class="gste">[% total_gste %]</th> >- <th class="gsti">[% total_gsti %]</th> >- <th/> >- <th>[% total_gstvalue %]</th> >- <th/> >- <th class="statistics" /> >- <th class="statistics" /> >+ <th class="gste">[% foot_loo.totalgste %]</th> >+ <th class="gsti">[% foot_loo.totalgsti %]</th> >+ <th class="statistics"> </th> >+ <th class="statistics"> </th> >+ > [% IF ( active ) %] > [% UNLESS ( closedate ) %] > <th> </th> >@@ -680,8 +674,8 @@ > <th>GST %</th> > <th>GST</th> > <th>Fund</th> >- <th class="statistic">Statistic 1</th> >- <th class="statistic">Statistic 2</th> >+ <th class="statistics">Statistic 1</th> >+ <th class="statistics">Statistic 2</th> > </tr> > </thead> > <tbody> >@@ -732,14 +726,9 @@ > <td class="number tax_included">[% order.total_tax_included | $Price %]</td> > <td class="number">[% order.tax_rate * 100 %]</td> > <td class="number">[% order.tax_value | $Price %]</td> >- <td>[% order.budget_name %] >- <td class="number gste">[% order.totalgste %]</td> >- <td class="number gsti">[% order.totalgsti %]</td> >- <td class="number">[% order.gstgsti %]</td> >- <td class="number">[% order.gstvalue %]</td> > <td>[% order.budget_name %]</td> >- <td class="statistic">[% order.sort1 %]</td> >- <td class="statistic">[% order.sort2 %]</td> >+ <td class="statistics">[% order.sort1 %]</td> >+ <td class="statistics">[% order.sort2 %]</td> > </tr> > [% END %] > </tbody> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9692
:
15609
|
16265
|
59202
| 59283