addCostCenter.php page

This commit is contained in:
saravanakumar_kandasami 2017-04-17 11:14:42 +05:30
parent e91410220a
commit af9076ed67
3 changed files with 359 additions and 1115 deletions

View File

@ -67,6 +67,20 @@ class CostCenter extends BaseController
$this->loadViews("addcost", $this->global, NULL);
}
/**
* This function is used to load the add new cost Center */
function addCostCenter()
{
$this->load->model('costcenter_model');
//$data['costName'] = $this->purchaseorder_model->getcostName();
//$data['users'] = $this->purchaseorder_model->getusers();
$this->global['pageTitle'] = 'siddharth : Add Cost Center';
$this->loadViews("addCostCenter", $this->global, NULL);
}
/**

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@
<div class="row">
<div class="col-xs-12 text-right">
<div class="form-group">
<a class="btn btn-primary" href="<?php echo base_url(); ?>addcost">Add New Cost List</a>
<a class="btn btn-primary" href="<?php echo base_url(); ?>CostCenter/addCostCenter">Add New Cost List</a>
</div>
</div>
</div>