In store credit now correctly deducted from with new purchases. Shop/Transaction was not updating the shopCreditDeduction column.

This commit is contained in:
Kaleb Murphy 2008-08-06 16:54:33 +00:00
parent 05953f83a0
commit 3b7b668f07
2 changed files with 2 additions and 1 deletions

View file

@ -636,7 +636,7 @@ sub update {
shippingCountry shippingCode shippingPhoneNumber shippingDriverId shippingDriverLabel notes
shippingPrice paymentAddressId paymentAddressName originatingTransactionId isRecurring
paymentAddress1 paymentAddress2 paymentAddress3 paymentCity paymentState paymentCountry paymentCode
paymentPhoneNumber paymentDriverId paymentDriverLabel taxes ));
paymentPhoneNumber paymentDriverId paymentDriverLabel taxes shopCreditDeduction));
foreach my $field (@fields) {
$properties{$id}{$field} = (exists $newProperties->{$field}) ? $newProperties->{$field} : $properties{$id}{$field};
}