$invoice_type['title'], 'type' => 'title', 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_numbering_options', ), array( 'title' => __( 'Sequential', 'woocommerce-jetpack' ), 'desc' => '' . __( 'Enable', 'woocommerce-jetpack' ) . '', 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_sequential_enabled', 'default' => 'no', 'type' => 'checkbox', ), array( 'title' => __( 'Counter', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_numbering_counter', 'default' => 1, 'type' => 'number', ), array( 'title' => __( 'Counter Width', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_numbering_counter_width', 'default' => 0, 'type' => 'number', ), array( 'title' => __( 'Prefix', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_numbering_prefix', 'default' => '', 'type' => 'text', ), array( 'title' => __( 'Suffix', 'woocommerce-jetpack' ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_numbering_suffix', 'default' => '', 'type' => 'text', ), array( 'title' => __( 'Template', 'woocommerce-jetpack' ), 'desc' => '
' . wcj_message_replaced_values( array( '%prefix%', '%counter%', '%suffix%' ) ), 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_numbering_template', 'default' => '%prefix%%counter%%suffix%', 'type' => 'text', ), array( 'type' => 'sectionend', 'id' => 'wcj_invoicing_' . $invoice_type['id'] . '_numbering_options', ), ) ); } return $settings;