|
|
@@ -55,7 +55,7 @@ class Bulk_Actions_Manager {
|
|
|
$order = wc_get_order($post_id);
|
|
|
if ($order) {
|
|
|
$order->update_status('to-print');
|
|
|
- update_post_meta($post_id, 'to-print-date', current_time('mysql'));
|
|
|
+ update_post_meta($post_id, 'to_print_date', current_time('mysql'));
|
|
|
UtilsLog::log('Order #' . $post_id . ' marked as "to-print"');
|
|
|
UtilsLog::message('Order #' . $post_id . ' marked as "to-print"' );
|
|
|
}
|
|
|
@@ -72,7 +72,7 @@ class Bulk_Actions_Manager {
|
|
|
$order = wc_get_order($post_id);
|
|
|
if ($order) {
|
|
|
$order->update_status('in-print');
|
|
|
- update_post_meta($post_id, 'in-print-date', current_time('mysql'));
|
|
|
+ update_post_meta($post_id, 'in_print_date', current_time('mysql'));
|
|
|
UtilsLog::message('Order #' . $post_id . ' marked as "in-print"' );
|
|
|
}
|
|
|
}
|