Direct GRN, GRN to PO, Direct Purchase Invoice: added exchange rate edition/storage...
[fa-stable.git] / purchasing / po_entry_items.php
index eb0f56af7c15f01d83521858a74a6791813c6724..ec03796d2635246b934282691ca37f8e68e36824 100644 (file)
@@ -475,6 +475,7 @@ function handle_commit_order()
                                        $total += isset($taxitem['Override']) ? $taxitem['Override'] : $taxitem['Value'];
                                }
                        }
+                       $inv->ex_rate = $cart->ex_rate;
 
                        $inv_no = add_supp_invoice($inv);
                        commit_transaction(); // save PO+GRN+PI