Last active
October 27, 2020 16:59
-
-
Save wedburst/f6abe72517684c5d4cb1a7ee25e1382d to your computer and use it in GitHub Desktop.
Paqari Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!defined('BASEPATH')) | |
| exit('No direct script access allowed'); | |
| class Estrategia_comercial extends MY_Controller | |
| { | |
| function __construct() | |
| { | |
| parent::__construct(); | |
| if ($this->login_model->verify_session()) { | |
| } else { | |
| redirect(base_url(), 'refresh'); | |
| } | |
| } | |
| function index() | |
| { | |
| } | |
| public function zonas_form(){ | |
| $this->load->view("menu/estrategia_comercial/zonas/zonas_form"); | |
| } | |
| public function zonas_new(){ | |
| $this->load->view("menu/estrategia_comercial/zonas/zonas_new"); | |
| } | |
| public function grupo_clientes_form(){ | |
| $this->load->view("menu/estrategia_comercial/grupo_clientes_form"); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $("#new_cliente").click(function(e){ | |
| e.preventDefault(); | |
| loadContent($("#base_url").val()+"estrategia_comercial/new_cliente"); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment