Example #1
0
 public function setPaymentMethodChecked($idpaymentmethod, $paymentmethodname)
 {
     if ($idpaymentmethod != NULL) {
         $activePayment = array('idpaymentmethod' => $idpaymentmethod, 'paymentmethodname' => $paymentmethodname);
         Session::setActivePaymentMethodChecked($activePayment);
     } else {
         Session::setActivePaymentMethodChecked(0);
     }
 }
Example #2
0
 public function updateSession()
 {
     $this->setGlobalPrice();
     $this->setGlobalPriceWithoutVat();
     $this->setGlobalWeight();
     $this->setCartForDelivery();
     Session::setActiveCart($this->Cart);
     Session::setActiveGlobalPrice($this->globalPrice);
     Session::setActiveGlobalWeight($this->globalWeight);
     Session::setActiveGlobalPriceWithoutVat($this->globalPriceWithoutVat);
     Session::setActiveDispatchmethodChecked(0);
     Session::setActiveglobalPriceWithDispatchmethod($this->globalPrice);
     Session::setActiveglobalPriceWithDispatchmethodNetto($this->globalPriceWithoutVat);
     Session::setActivePaymentMethodChecked(0);
     Session::unsetActiveClientOrder();
 }