summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pe.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/pe.pl b/bin/pe.pl
index e44315ca..62450bb3 100755
--- a/bin/pe.pl
+++ b/bin/pe.pl
@@ -2528,7 +2528,7 @@ sub generate_sales_orders {
$i = 0;
$order->{"$order->{vc}_id"} = $_;
-
+
AA->get_name(\%myconfig, \%$order);
foreach $ref (@ {$form->{order}{$_} }) {
@@ -2550,6 +2550,8 @@ sub generate_sales_orders {
$order->{reqdate} = $order->{transdate};
for (qw(intnotes employee employee_id)) { delete $order->{$_} }
+ PE->timecard_get_currency(\%$order);
+
if (OE->save(\%myconfig, \%$order)) {
if (! PE->allocate_projectitems(\%myconfig, \%$order)) {