Skip to content

Commit

Permalink
Use another AS method
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadNateqi committed Apr 12, 2024
1 parent 8f7c72c commit db3c341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wcpdf-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ public function output_number_date_edit_fields( object $document, $data = array(
$independent_documents = apply_filters( 'wpo_wcpdf_document_data_meta_box_independent_documents', array( 'invoice', 'packing-slip' ) );
$data = apply_filters( 'wpo_wcpdf_document_data_meta_box_document_data_fields', $data, $document );
$data = $this->get_current_values_for_document( $document, $data );
$in_process = as_has_scheduled_action( 'wpo_wcpdf_generate_document_on_order_status', array(
$in_process = as_next_scheduled_action( 'wpo_wcpdf_generate_document_on_order_status', array(
'document_type' => $document->get_type(),
'order_id' => $document->order->get_id()
) );
Expand Down

0 comments on commit db3c341

Please sign in to comment.