addCostCenter.php page
This commit is contained in:
parent
e91410220a
commit
af9076ed67
@ -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
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user