Subversion Repositories SmartDukaan

Rev

Rev 10630 | Rev 10735 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10630 Rev 10634
Line 447... Line 447...
447
	public function paymenterror(){
447
	public function paymenterror(){
448
			$authorized = $this->session->userdata('authorized');
448
			$authorized = $this->session->userdata('authorized');
449
			if(isset($authorized) && !empty($authorized)){
449
			if(isset($authorized) && !empty($authorized)){
450
				$data = array();
450
				$data = array();
451
				$paymentconfig = $this->config->item('paymenterror');
451
				$paymentconfig = $this->config->item('paymenterror');
-
 
452
				$this->lessphp->object()->ccompile('assets/css/shipping.less','assets/css/shipping.css');
452
				$data['stylesheet'] = 'shipping.css';
453
				$data['stylesheet'] = 'shipping.css';
453
				$data['response']=$this->checkout_model->getCheckoutDetails($this->input->get(),$this->input->post(),$paymentconfig);
454
				$data['response']=$this->checkout_model->getCheckoutDetails($this->input->get(),$this->input->post(),$paymentconfig);
454
				$this->layout->view('checkout/checkout_view',$data);
455
				$this->layout->view('checkout/checkout_view',$data);
455
			}else{
456
			}else{
456
				redirect(base_url());
457
				redirect(base_url());