__( 'Alegra - Electronic Invoicing', 'alegra-invoicing-for-woocommerce' ), 'type' => 'title', 'desc' => __( 'Configure checkout identification fields for your country invoicing requirements.', 'alegra-invoicing-for-woocommerce' ), 'id' => 'alegra_integration_options', ], [ 'title' => __( 'Show Fields at Checkout', 'alegra-invoicing-for-woocommerce' ), 'desc' => __( 'Enable or disable document fields on the checkout page.', 'alegra-invoicing-for-woocommerce' ), 'id' => 'alegra_fields_visible', 'type' => 'checkbox', 'default' => 'yes', ], [ 'title' => __( 'Label: Document Number', 'alegra-invoicing-for-woocommerce' ), 'desc' => __( 'Example: RFC, NIT, Tax ID.', 'alegra-invoicing-for-woocommerce' ), 'id' => 'alegra_document_label', 'type' => 'text', 'default' => __( 'Document Number / Tax ID', 'alegra-invoicing-for-woocommerce' ), 'desc_tip' => true, ], [ 'title' => __( 'Document Number Required', 'alegra-invoicing-for-woocommerce' ), 'id' => 'alegra_document_required', 'type' => 'checkbox', 'default' => 'yes', ], [ 'title' => __( 'Label: Document Type', 'alegra-invoicing-for-woocommerce' ), 'desc' => __( 'Example: Document Type or Customer Type.', 'alegra-invoicing-for-woocommerce' ), 'id' => 'alegra_document_type_label', 'type' => 'text', 'default' => __( 'Document Type / Customer Type', 'alegra-invoicing-for-woocommerce' ), 'desc_tip' => true, ], [ 'title' => __( 'Document Type Required', 'alegra-invoicing-for-woocommerce' ), 'id' => 'alegra_document_type_required', 'type' => 'checkbox', 'default' => 'yes', ], [ 'type' => 'sectionend', 'id' => 'alegra_integration_options', ], ]; return array_merge( $settings, $alegra_settings ); } }