Exemplo n.º 1
0
 static function extractTemplateForm($form)
 {
     $payment_details = $form->configure->payment_details->value;
     $order_complete_page = $form->configure->order_complete_page->value;
     $order_complete_email_subject = $form->configure->order_complete_email_subject->value;
     $order_complete_email = $form->configure->order_complete_email->value;
     $order_paid_email_subject = $form->configure->order_paid_email_subject->value;
     $order_paid_email = $form->configure->order_paid_email->value;
     $order_paid_delivered_email_subject = $form->configure->order_paid_delivered_email_subject->value;
     $order_paid_delivered_email = $form->configure->order_paid_delivered_email->value;
     $order_late_payment_email_subject = $form->configure->order_late_payment_email_subject->value;
     $order_late_payment_email = $form->configure->order_late_payment_email->value;
     $order_delivered_email_subject = $form->configure->order_delivered_email_subject->value;
     $order_delivered_email = $form->configure->order_delivered_email->value;
     $order_delivered_notpaid_email_subject = $form->configure->order_delivered_notpaid_email_subject->value;
     $order_delivered_notpaid_email = $form->configure->order_delivered_notpaid_email->value;
     $order_cancelled_email_subject = $form->configure->order_cancelled_email_subject->value;
     $order_cancelled_email = $form->configure->order_cancelled_email->value;
     $order_email_closing = $form->configure->order_email_closing->value;
     basket::setPaymentDetails($payment_details);
     basket::setOrderCompletePage($order_complete_page);
     basket::setOrderCompleteEmailSubject($order_complete_email_subject);
     basket::setOrderCompleteEmail($order_complete_email);
     basket::setOrderPaidEmailSubject($order_paid_email_subject);
     basket::setOrderPaidEmail($order_paid_email);
     basket::setOrderPaidDeliveredEmailSubject($order_paid_delivered_email_subject);
     basket::setOrderPaidDeliveredEmail($order_paid_delivered_email);
     basket::setOrderLatePaymentEmailSubject($order_late_payment_email_subject);
     basket::setOrderLatePaymentEmail($order_late_payment_email);
     basket::setOrderDeliveredEmailSubject($order_delivered_email_subject);
     basket::setOrderDeliveredEmail($order_delivered_email);
     basket::setOrderDeliveredNotPaidEmailSubject($order_delivered_notpaid_email_subject);
     basket::setOrderDeliveredNotPaidEmail($order_delivered_notpaid_email);
     basket::setOrderCancelledEmailSubject($order_cancelled_email_subject);
     basket::setOrderCancelledEmail($order_cancelled_email);
     basket::setOrderEmailClosing($order_email_closing);
 }