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

@ -30,6 +30,7 @@
- fixed: Payment Gateway creation bug - fixed: Payment Gateway creation bug
- fixed: thingy and select box - fixed: thingy and select box
- fixed: viewing badges in IE 6/7 - fixed: viewing badges in IE 6/7
- fixed: Shop/Transaction was not updating shopCreditDeduction column. Added that to the update and now users correctly have purchases deducted from their instore credit.
7.5.18 7.5.18
- fixed: Collateral Image Manager broken in Firefox 3 - fixed: Collateral Image Manager broken in Firefox 3

View file

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