Bugzilla – Attachment 79777 Details for
Bug 9775
unitprice should be hidden when creating an order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9775: Unitprice should be hidden when creating an order
Bug-9775-Unitprice-should-be-hidden-when-creating-.patch (text/plain), 3.14 KB, created by
Caroline Cyr La Rose
on 2018-10-01 19:36:57 UTC
(
hide
)
Description:
Bug 9775: Unitprice should be hidden when creating an order
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2018-10-01 19:36:57 UTC
Size:
3.14 KB
patch
obsolete
>From d068700fec58eeb7fd17507f200dc7351a257bd2 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 21 Sep 2018 11:40:16 +0100 >Subject: [PATCH] Bug 9775: Unitprice should be hidden when creating an order > >The actual cost box is effectively hidden from the order page. > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >--- > acqui/neworderempty.pl | 2 -- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 9 --------- > 2 files changed, 11 deletions(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 0e6f2c1..d36e6f8 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -374,7 +374,6 @@ if ( defined $from_subscriptionid ) { > $data->{replacementprice} = $lastOrderReceived->{replacementprice}; > $data->{ecost} = $lastOrderReceived->{ecost}; > $data->{quantity} = $lastOrderReceived->{quantity}; >- $data->{unitprice} = $lastOrderReceived->{unitprice}; > $data->{order_internalnote} = $lastOrderReceived->{order_internalnote}; > $data->{order_vendornote} = $lastOrderReceived->{order_vendornote}; > $data->{sort1} = $lastOrderReceived->{sort1}; >@@ -461,7 +460,6 @@ $template->param( > listprice => sprintf( "%.2f", $data->{listprice} || $data->{price} || $listprice), > total => sprintf( "%.2f", ($data->{ecost} || 0) * ($data->{'quantity'} || 0) ), > ecost => sprintf( "%.2f", $data->{ecost} || 0), >- unitprice => sprintf( "%.2f", $data->{unitprice} || 0), > publishercode => $data->{'publishercode'}, > barcode_subfield => $barcode_subfield, > import_batch_id => $import_batch_id, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index cd6837a..abb65e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -454,15 +454,6 @@ > <input type="text" id="total" size="20" name="total" value="[% total | html %]" readonly="readonly" /> (budgeted cost * quantity) > </li> > <li> >- [% IF ( close ) %] >- <label for="unitprice">Actual cost: </label> >- <input type="text" id="unitprice" size="20" name="unitprice" value="[% unitprice | html %]" readonly="readonly" /> [% IF (invoiceincgst == 1) %](tax inc.)[% ELSE %](tax exc.)[% END %] >- [% ELSE %] >- <label for="unitprice">Actual cost: </label> >- <input type="text" id="unitprice" size="20" name="unitprice" value="[% unitprice | html %]" /> [% IF (invoiceincgst == 1) %](tax inc.)[% ELSE %](tax exc.)[% END %] >- [% END %] >- </li> >- <li> > <label for="order_internalnote">Internal note: </label> > <textarea id="order_internalnote" cols="30" rows="3" name="order_internalnote" >[% IF ( order_internalnote ) %][% order_internalnote | html %][% END %]</textarea> > </li> >-- >2.7.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 9775
:
79211
|
79777
|
80704
|
80966