/**
  * Gets the form for all the settings related to this payment method type
  * @return EE_Payment_Method_Form
  */
 public function generate_new_settings_form()
 {
     $pdf_payee_input_name = 'pdf_payee_name';
     $confirmation_text_input_name = 'page_confirmation_text';
     $form = new EE_Payment_Method_Form(array('extra_meta_inputs' => array($pdf_payee_input_name => new EE_Text_Input(array('html_label_text' => sprintf(__('Payee Name %s', 'event_espresso'), $this->get_help_tab_link()))), 'pdf_payee_email' => new EE_Email_Input(array('html_label_text' => sprintf(__('Payee Email %s', 'event_espresso'), $this->get_help_tab_link()))), 'pdf_payee_tax_number' => new EE_Text_Input(array('html_label_text' => sprintf(__('Payee Tax Number %s', 'event_espresso'), $this->get_help_tab_link()))), 'pdf_payee_address' => new EE_Text_Area_Input(array('html_label_text' => sprintf(__('Payee Address %s', 'event_espresso'), $this->get_help_tab_link()), 'validation_strategies' => array(new EE_Full_HTML_Validation_Strategy()))), 'pdf_instructions' => new EE_Text_Area_Input(array('html_label_text' => sprintf(__("Instructions %s", "event_espresso"), $this->get_help_tab_link()), 'default' => __("Please send this invoice with payment attached to the address above, or use the payment link below. Payment must be received within 48 hours of event date.", 'event_espresso'), 'validation_strategies' => array(new EE_Full_HTML_Validation_Strategy()))), 'pdf_logo_image' => new EE_Admin_File_Uploader_Input(array('html_label_text' => sprintf(__("Logo Image %s", "event_espresso"), $this->get_help_tab_link()), 'default' => EE_Config::instance()->organization->logo_url, 'html_help_text' => __("(Logo for the top left of the invoice)", 'event_espresso'))), $confirmation_text_input_name => new EE_Text_Area_Input(array('html_label_text' => sprintf(__("Confirmation Text %s", "event_espresso"), $this->get_help_tab_link()), 'default' => __("Payment must be received within 48 hours of event date.  Details about where to send payment is included on the invoice.", 'event_espresso'), 'validation_strategies' => array(new EE_Full_HTML_Validation_Strategy()))), 'page_extra_info' => new EE_Text_Area_Input(array('html_label_text' => sprintf(__("Extra Info %s", "event_espresso"), $this->get_help_tab_link()), 'validation_strategies' => array(new EE_Full_HTML_Validation_Strategy())))), 'include' => array('PMD_ID', 'PMD_name', 'PMD_desc', 'PMD_admin_name', 'PMD_admin_desc', 'PMD_type', 'PMD_slug', 'PMD_open_by_default', 'PMD_button_url', 'PMD_scope', 'Currency', 'PMD_order', $pdf_payee_input_name, 'pdf_payee_email', 'pdf_payee_tax_number', 'pdf_payee_address', 'pdf_instructions', 'pdf_logo_image', $confirmation_text_input_name, 'page_extra_info')));
     $form->add_subsections(array('header1' => new EE_Form_Section_HTML_From_Template('payment_methods/Invoice/templates/invoice_settings_header_display.template.php')), $pdf_payee_input_name);
     $form->add_subsections(array('header2' => new EE_Form_Section_HTML_From_Template('payment_methods/Invoice/templates/invoice_settings_header_gateway.template.php')), $confirmation_text_input_name);
     return $form;
 }
 /**
  * Gets the form for all the settings related to this payment method type
  * @return EE_Payment_Method_Form
  */
 public function generate_new_settings_form()
 {
     $form = new EE_Payment_Method_Form(array('extra_meta_inputs' => array('access_key' => new EE_Text_Input(array('html_label_text' => sprintf(__("Mijireh Access Key %s", 'event_espresso'), $this->get_help_tab_link()), 'required' => true))), 'exclude' => array('PMD_debug_mode')));
     $form->add_subsections(array('slurper_area' => new EE_Form_Section_HTML_From_Template($this->file_folder() . DS . 'templates' . DS . 'mijireh_settings_after_form.template.php')), null, false);
     return $form;
 }