Bugzilla – Attachment 143900 Details for
Bug 15348
Change/Edit estimated delivery date per order line
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15348: Store estimated delivery date when adding an order
Bug-15348-Store-estimated-delivery-date-when-addin.patch (text/plain), 1.52 KB, created by
Katrin Fischer
on 2022-11-15 12:25:52 UTC
(
hide
)
Description:
Bug 15348: Store estimated delivery date when adding an order
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-11-15 12:25:52 UTC
Size:
1.52 KB
patch
obsolete
>From 7899c54f80f80517b1893e55d2e94b01de2bf29e Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Tue, 15 Nov 2022 12:22:31 +0000 >Subject: [PATCH] Bug 15348: Store estimated delivery date when adding an order > >When the estimated delivery date was entered on adding or modifying >and order, it was not saved to the database. > >To test: >* Add new order, fill in estimated delivery date >* Save >* Verify the estimated delivery date is empty >* Modify order line, date will also not be saved >* Apply patch >* The date should now save and update correctly >--- > acqui/addorder.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/addorder.pl b/acqui/addorder.pl >index d0ac3cbe2f..147d168050 100755 >--- a/acqui/addorder.pl >+++ b/acqui/addorder.pl >@@ -258,6 +258,7 @@ my $orderinfo = { > sort1 => scalar $input->param('sort1'), > sort2 => scalar $input->param('sort2'), > subscriptionid => scalar $input->param('subscriptionid'), >+ estimated_delivery_date => scalar $input->param('estimated_delivery_date'), > }; > > $orderinfo->{uncertainprice} ||= 0; >@@ -335,7 +336,6 @@ if ( $basket->{is_standing} || $orderinfo->{quantity} ne '0' ) { > } > > $orderinfo->{unitprice} = $orderinfo->{ecost} if not defined $orderinfo->{unitprice} or $orderinfo->{unitprice} eq ''; >- $orderinfo->{estimated_delivery_date} = $orderinfo->{estimated_delivery_date} ? dt_from_string($orderinfo->{estimated_delivery_date}) : undef; > > my $order; > my $log_action_name; >-- >2.30.2
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 15348
:
114430
|
114583
|
114623
|
115121
|
115122
|
115123
|
115124
|
116517
|
118788
|
118789
|
119297
|
119298
|
119299
|
120653
|
120654
|
120655
|
120656
|
136560
|
136561
|
136562
|
136563
|
137057
|
137058
|
137061
|
137098
|
137099
|
137740
|
137741
|
137742
|
137743
|
138110
|
138491
|
138529
|
138530
|
138531
|
138532
|
138533
|
138534
|
138535
|
138536
|
138537
|
138538
|
138539
|
138540
|
139245
|
139274
|
139301
|
139329
|
139330
|
139331
|
139332
|
139333
|
139334
|
139335
|
139336
|
139337
|
139338
|
139339
|
139340
|
139341
|
139342
|
139343
|
139351
|
139352
|
139353
|
139354
|
139355
|
139356
|
139357
|
139358
|
139359
|
139360
|
139361
|
139362
|
139363
|
139364
|
139365
|
139831
|
139832
|
139833
|
139834
|
139835
|
139836
|
139837
|
139838
|
139839
|
139840
|
139841
|
139842
|
139843
|
139844
|
139845
|
140708
|
140735
|
143896
| 143900 |
143903
|
143904