Changeset 362
- Timestamp:
- 11/09/07 15:10:26
- Files:
-
- trunk/phpbms/modules/bms/include/invoices.php (modified) (1 diff)
- trunk/phpbms/modules/bms/shipping_estimate_ups.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/phpbms/modules/bms/include/invoices.php
r356 r362 568 568 569 569 $itemRecord = explode("::", $item); 570 571 if(count($itemRecord > 1)){ 570 if(count($itemRecord) > 1){ 572 571 573 572 $insertstatement =" trunk/phpbms/modules/bms/shipping_estimate_ups.php
r360 r362 117 117 $avg_weight=$total_weight/$total_pckges; 118 118 //check for errors on price 119 $UPSreturn=UPSprice($shippingmethod,SHIPPING_POSTALCODE,$_GET[" shiptozip"],$avg_weight);119 $UPSreturn=UPSprice($shippingmethod,SHIPPING_POSTALCODE,$_GET["postalcodeto"],$avg_weight); 120 120 if (!$UPSreturn["success"]) $shipping=0; else $shipping=$UPSreturn["charge"]; 121 121 $total_shipping+=($shipping*$total_pckges);