function printConfirmAdd($opids) { if (is_array($opids)) { $opids = implode(',', $opids); } tep_db_query("UPDATE orders_products SET print_confirmed=print_confirmed+1 WHERE orders_products_id IN ({$opids})"); removedPIFromServer('JG', $opids); }
function printConfirmAdd($oiids) { if (is_array($oiids)) { $oiids = implode(',', $oiids); } tep_db_query("UPDATE depot_orders SET print_confirmed=print_confirmed+1 WHERE depot_orders_id IN ({$oiids})"); removedPIFromServer('DP', $oiids); }