Bug 12619 - Shipment date gets lost on finishing and/or editing the invoice
authorJacek Ablewicz <abl@biblos.pk.edu.pl>
Tue, 22 Jul 2014 15:57:01 +0000 (17:57 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 5 Aug 2014 23:40:51 +0000 (20:40 -0300)
To reproduce:
- Create a new shipment, make sure to add a shipment date
- Receive or not receive orders
- Finish receiving with the button at the bottom of the page
- Verify that shipment date is now empty

To test:
- reproduce the aforementioned issue
- apply patch
- confirm that the issue is no longer rerpoductible (= shipment date is
not getting lost any longer), and that there are no apparent regresssions
of any kind involving invoice shipment date entering and/or editing
- sign off

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script, fixes the issues, no problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

acqui/invoice.pl

index 9d5955c..33e5592 100755 (executable)
@@ -158,7 +158,7 @@ $template->param(
     invoicenumber    => $details->{'invoicenumber'},
     suppliername     => $details->{'suppliername'},
     booksellerid     => $details->{'booksellerid'},
-    datereceived     => $details->{'datereceived'},
+    shipmentdate     => $details->{'shipmentdate'},
     billingdate      => $details->{'billingdate'},
     invoiceclosedate => $details->{'closedate'},
     shipmentcost     => $details->{'shipmentcost'},