From dc1df4f87309defdf959527c87f953025c05cbba Mon Sep 17 00:00:00 2001 From: Mohamad Nateqi Rostami Date: Tue, 1 Oct 2024 15:20:52 +0330 Subject: [PATCH] Remove the due date category and move it settings to "Document details" category --- includes/documents/class-wcpdf-invoice.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/includes/documents/class-wcpdf-invoice.php b/includes/documents/class-wcpdf-invoice.php index d6b387db..42b89d14 100644 --- a/includes/documents/class-wcpdf-invoice.php +++ b/includes/documents/class-wcpdf-invoice.php @@ -604,13 +604,8 @@ public function get_settings_categories(): array { 'display_shipping_address', 'display_date', 'display_number', - 'next_invoice_number' // this should follow 'display_number' - ) - ), - 'due_date' => array( - 'title' => __( 'Due date', 'woocommerce-pdf-invoices-packing-slips' ), - 'members' => array( - 'due_date', + 'next_invoice_number', // this should follow 'display_number' + 'due_date' ) ), 'admin_display' => array(