X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_entry.php;h=c2560b47c2a86e8a95c3bfdcbb4a8d26df487bc7;hb=d3c4d2a51769f355fc09fe9163f04ba4887a8c5d;hp=e0a0d283d6367d6c7d9ef75abc9b28899d98fcc9;hpb=39ef29ec4c57a03feabd4ecfa599e71f35b3dddb;p=fa-stable.git diff --git a/manufacturing/work_order_entry.php b/manufacturing/work_order_entry.php index e0a0d283..c2560b47 100644 --- a/manufacturing/work_order_entry.php +++ b/manufacturing/work_order_entry.php @@ -58,8 +58,10 @@ if (isset($_GET['AddedID'])) if ($_GET['type'] != wo_types::advanced()) { include_once($path_to_root . "/reporting/includes/reporting.inc"); - $ar = array('PARAM_0' => $id, 'PARAM_1' => $id); + $ar = array('PARAM_0' => $id, 'PARAM_1' => $id, 'PARAM_2' => 0); display_note(print_link(_("Print this Work Order"), 409, $ar), 1); + $ar['PARAM_2'] = 1; + display_note(print_link(_("Email this Work Order"), 409, $ar), 1); display_note(get_gl_view_str($stype, $id, _("View the GL Journal Entries for this Work Order")), 1); $ar = array('PARAM_0' => $_GET['date'], 'PARAM_1' => $_GET['date'], 'PARAM_2' => $stype); display_note(print_link(_("Print the GL Journal Entries for this Work Order"), 702, $ar), 1);