[Bug 19479] New: Price diplay on a basketgroup
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Bug ID: 19479 Summary: Price diplay on a basketgroup Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: severine.queune@bulac.fr QA Contact: testopia@bugs.koha-community.org On the page acqui/basketgroup.pl, the prices of the baskets are always displayed with a point as separator and 4 decimals. It would be clearer for users to display only 2 decimals and use the separator chosen on the syspref 'CurrencyFormat'. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #1 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 68276 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68276&action=edit Patch to format totals according to the CurrencyFormat syspref. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff CC| |J.P.Knight@lboro.ac.uk -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #2 from Séverine Queune <severine.queune@bulac.fr> --- Wow.. that was very quick ! Tested with the 3 valeus in Currencyformat, it always worked. Thanks a lot ! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #3 from Séverine Queune <severine.queune@bulac.fr> --- I tried to sign the patch using the Biblibre's sandbox #3 yesterday and this morning but always get this message : "It seems you don't have applied a patch, so you cannot sign it off. If you applied patches from the right report, check the commit message of the last patch. It should start with "Bug XXXXX", if not, please inform the author of the patch." -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #4 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 68849 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68849&action=edit Bug 19479: Patch to format totals according to the CurrencyFormat syspref. On the page acqui/basketgroup.pl the prices of baskets should be shown according to the selected CurrencyFormat syspref. Test plan: 1) Create some baskets with items in them. 2) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 3) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 2. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #68276|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #5 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Patch commit message updated to match formatting requirements in https://wiki.koha-community.org/wiki/Commit_messages -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 sandboxes@biblibre.com <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sandboxes@biblibre.com --- Comment #6 from sandboxes@biblibre.com <sandboxes@biblibre.com> --- Patch tested with a sandbox, by Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 sandboxes@biblibre.com <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #68849|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #7 from sandboxes@biblibre.com <sandboxes@biblibre.com> --- Created attachment 68972 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68972&action=edit Bug 19479: Patch to format totals according to the CurrencyFormat syspref. On the page acqui/basketgroup.pl the prices of baskets should be shown according to the selected CurrencyFormat syspref. Test plan: 1) Create some baskets with items in them. 2) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 3) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 2. https://bugs.koha-community.org/show_bug.cgi?id=19479 Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |J.P.Knight@lboro.ac.uk |ity.org | CC| |jonathan.druart@bugs.koha-c | |ommunity.org Summary|Price diplay on a |Price display on a |basketgroup |basketgroup -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #8 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- The price formatting must be done template side, search for '$Price' or '[% USE Price %]' in **/*.tt -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #68972|0 |1 is obsolete| | --- Comment #9 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 71312 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71312&action=edit Attempt to display price formatted according to CurrencyFormat syspref using templates, with the English template as an example. 1) Create some baskets with items in them. 2) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 3) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 2. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #71312|0 |1 is obsolete| | --- Comment #10 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 71313 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71313&action=edit Bug 19479 - Display prices in basket group with correct currency formatting Attempt to display price formatted according to CurrencyFormat syspref using templates, with the English template as an example. 1) Create some baskets with items in them. 2) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 3) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 2. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #11 from Jon Knight <J.P.Knight@lboro.ac.uk> --- One thing to note is that if I use the templates rather than my original patch that just altered basketgroup.pl to do the formatting, I'm guessing that each language that Koha is in will also need its basketgroup.tt template updated? Is that right? I've only done the en (default English) one in this current patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #12 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Jon Knight from comment #11)
One thing to note is that if I use the templates rather than my original patch that just altered basketgroup.pl to do the formatting, I'm guessing that each language that Koha is in will also need its basketgroup.tt template updated? Is that right? I've only done the en (default English) one in this current patch.
Thx for thinking about translations :) But you are fine - the translated templates are generated automatically from the English templates with scripts. Changing the English 'master' template is enough. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |4078 --- Comment #13 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- You should base your patch on top of bug 4078 instead. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4078 [Bug 4078] Add the ability to customize and display the symbol for a currency -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #14 from Jon Knight <J.P.Knight@lboro.ac.uk> --- I'll wait until 4078 is in master (its Passed QA at the moment) before changing this patch again just so that I'm aiming for a stable target! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Bug 19479 depends on bug 4078, which changed state. Bug 4078 Summary: Add the ability to customize and display the symbol for a currency https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4078 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #15 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 73290 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73290&action=edit Attempt to display price formatted according to CurrencyFormat syspref using templates, with the English template as an example. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #73290|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #16 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 73291 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73291&action=edit Bug 19479: Display price in basked group formatted according to CurrencyFormat syspref using templates. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #71313|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtompset@hotmail.com --- Comment #17 from M. Tompsett <mtompset@hotmail.com> --- It seems to me the more I read code, the more I wish to cry over the state of Currency code. While it may be the current methodology to grab the active currency, it seems to me that baskets should have their own currency, and the currency grabbed should be from that. However, I don't have time to refactor all currency code. :( -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #18 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Jon, Total: [% selectedbasket.total | $Price %] ([% selectedbasket.currency %]) Will display: 42 (EUR) or 42 (USD) With bug 4078 you can use the with_symbol flag to display the symbol. Total: [% selectedbasket.total | $Price with_symbol => 1 Will display: €42 or $42 I think it is what we want here. Actually what we really want is: "42 €" and "$42", but it's not configurable (yet). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #19 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 73376 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73376&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates and currency symbols. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, using the currency symbol rather than three letter currency code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #73291|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #20 from Jon Knight <J.P.Knight@lboro.ac.uk> --- The most recently uploaded version of this patch uses the currency symbols instead of the currency code. I've not done anything about per basket currency defaults as I think that is a separate, larger change to this (which was supposed to be a simple formatting change). That really needs a new bug report (and probably someone other than me who understands the nuances of how libraries want to handle multiple currency international orders, as the items, baskets and basketgroups would all be affected). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #73376|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #21 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 73377 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73377&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates and currency symbols. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, using the currency symbol rather than three letter currency code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #73377|0 |1 is obsolete| | --- Comment #22 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 73379 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73379&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates and currency symbols. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, using the currency symbol rather than three letter currency code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #73379|0 |1 is obsolete| | --- Comment #23 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 73491 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73491&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates and currency symbols. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, using the currency symbol rather than three letter currency code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #24 from Séverine Queune <severine.queune@bulac.fr> --- The 3 formats defined on 'CurrencyFormat' correctly apply with this patch. Maybe for a better visibility (especially for 'FR format') we could have a space between the currency and the prices, but excepted that detail, everything looked good for me. Thank you Jon for rebase ! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #25 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Séverine, there is no a setting in administration > currency for each currency, where you can define if there should be a space or not. Hi Jon, thank you for your perseverance! 2 small things: If this line is no longer needed, please remove it, instead of commenting out: +# $total .= " " . ($bookseller->invoiceprice // 0); I am torn about seeing the currency. I think we agreed a long while ago that we should not show the currency symbols in acq as long as it's the active currency as it would clutter a lot of the displays, where you deal with a lot of numbers and prices. Would you agree to remove the currency symbol display? $Price with_symbol => 1 Please switch back to signed off if you add a follow up patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #26 from Jon Knight <J.P.Knight@lboro.ac.uk> --- (In reply to Katrin Fischer from comment #25)
Hi Séverine, there is no a setting in administration > currency for each currency, where you can define if there should be a space or not.
I am torn about seeing the currency. I think we agreed a long while ago that we should not show the currency symbols in acq as long as it's the active currency as it would clutter a lot of the displays, where you deal with a lot of numbers and prices. Would you agree to remove the currency symbol display? $Price with_symbol => 1
That's how I had it before Jonathan Druart asked me to put the symbols in place in comment #18 above. I don't mind either way as long as the QA team and RM can agree (or do I have to add in a syspref for this? :-) ). I'll await a decision before changing this simple patch again. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #27 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jon Knight from comment #26)
(In reply to Katrin Fischer from comment #25)
Hi Séverine, there is no a setting in administration > currency for each currency, where you can define if there should be a space or not.
I am torn about seeing the currency. I think we agreed a long while ago that we should not show the currency symbols in acq as long as it's the active currency as it would clutter a lot of the displays, where you deal with a lot of numbers and prices. Would you agree to remove the currency symbol display? $Price with_symbol => 1
That's how I had it before Jonathan Druart asked me to put the symbols in place in comment #18 above. I don't mind either way as long as the QA team and RM can agree (or do I have to add in a syspref for this? :-) ).
I'll await a decision before changing this simple patch again.
IIRC you displayed the currency code :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #28 from Katrin Fischer <katrin.fischer@bsz-bw.de> ---
That's how I had it before Jonathan Druart asked me to put the symbols in place in comment #18 above. I don't mind either way as long as the QA team and RM can agree (or do I have to add in a syspref for this? :-) ).
I'll await a decision before changing this simple patch again.
I talked to Joubu and removing the currency symbols will be safe ;) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #29 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Created attachment 73677 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73677&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, with no currency symbol or code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #73491|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jon Knight <J.P.Knight@lboro.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #30 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Jon, if QA demands a follow-up what you can usually do is make a small extra patch with the additional changes and attach it. In this case it would have just been removing the attribute. This way you can keep the sign-off on your first patch and the signed-off status and it goes directly back to QA. Do you want to change it and restore the signed off patch with a little addition? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #31 from Jon Knight <J.P.Knight@lboro.ac.uk> --- (In reply to Katrin Fischer from comment #30)
Hi Jon, if QA demands a follow-up what you can usually do is make a small extra patch with the additional changes and attach it. In this case it would have just been removing the attribute. This way you can keep the sign-off on your first patch and the signed-off status and it goes directly back to QA. Do you want to change it and restore the signed off patch with a little addition?
No, because the last patch changed the behaviour (again), rather than just being a small change to get rid of the commented out line. That really needs someone to check that it is what people actually want and sign that off (again). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #32 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Ok, if you prefer another set of eyes, I am not against that at all :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #73677|0 |1 is obsolete| | --- Comment #33 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 74274 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74274&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, with no currency symbol or code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #34 from Séverine Queune <severine.queune@bulac.fr> --- This price display seems clearer to me even though we don't have currency symbols. As user, this patch is good for me :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #74274|0 |1 is obsolete| | --- Comment #35 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 74284 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74284&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, with no currency symbol or code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Fixed some tabs. https://bugs.koha-community.org/show_bug.cgi?id=19497 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #36 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Thx for your patience and perseverance, Jon! I've fixed a few tabs in basketgroup.pl, be careful: Koha uses 4 spaces for indenting. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #37 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- So we should remove the 2x2 lines you add in the .pl to retrieve the active currency, right? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #38 from Jon Knight <J.P.Knight@lboro.ac.uk> --- Ah that's a good point. Do you want me to generate a new patch without them? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 --- Comment #39 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jon Knight from comment #38)
Ah that's a good point. Do you want me to generate a new patch without them?
I will do it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #74284|0 |1 is obsolete| | --- Comment #40 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 74739 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74739&action=edit Bug 19479: Display price in basket group formatted according to CurrencyFormat syspref using templates. On the page acqui/basketgroup.pl the prices of baskets should be shown formatted according to the selected CurrencyFormat syspref, with no currency symbol or code. Test plan: 1) Create a basket with items in it worth more than 1000 currency units. 2) Close the basket. 3) Go to acqui/basketgroup.pl page and check that the price format matches the current CurrencyFormat syspref. 4) Go to Administration and change CurrencyFormat syspref to one of the other available options and recheck step 3. Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Fixed some tabs. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #41 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 18.05, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19479 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Status|Pushed to Master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org