company name changed

This commit is contained in:
venbatechnologies@gmail.com 2018-04-04 19:49:32 +05:30
parent e17e87821a
commit d8a1189cf1
73 changed files with 368 additions and 274 deletions

View File

@ -21,6 +21,7 @@ class CostCenter extends BaseController
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->load->library('pagination'); $this->load->library('pagination');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -29,7 +30,7 @@ class CostCenter extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Cost Details'; //$this->global['pageTitle'] = 'Resico : Cost Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Cost Details'; $this->global['pageTitle'] = $this->CompanyName.' : Cost Details';
$this->loadViews("costListing", $this->global, NULL , NULL); $this->loadViews("costListing", $this->global, NULL , NULL);
} }
@ -42,7 +43,7 @@ class CostCenter extends BaseController
$data['userRecords'] = $this->costcenter_model->CostListing(); $data['userRecords'] = $this->costcenter_model->CostListing();
//$this->global['pageTitle'] = 'Resico : Cost List'; //$this->global['pageTitle'] = 'Resico : Cost List';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Cost Details'; $this->global['pageTitle'] = $this->CompanyName.' : Cost Details';
$this->loadViews("costListing", $this->global, $data, NULL); $this->loadViews("costListing", $this->global, $data, NULL);
} }
@ -62,7 +63,7 @@ class CostCenter extends BaseController
$data['FiscalYear'] = $this->costcenter_model->getFiscalYear(); $data['FiscalYear'] = $this->costcenter_model->getFiscalYear();
//$this->global['pageTitle'] = 'Resico : Add Cost Center'; //$this->global['pageTitle'] = 'Resico : Add Cost Center';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add Cost Center'; $this->global['pageTitle'] = $this->CompanyName.' : Add Cost Center';
$this->loadViews("addCostCenter", $this->global,$data, NULL); $this->loadViews("addCostCenter", $this->global,$data, NULL);
@ -173,7 +174,7 @@ class CostCenter extends BaseController
$data['FiscalYear'] = $this->costcenter_model->getFiscalYear(); $data['FiscalYear'] = $this->costcenter_model->getFiscalYear();
//$this->global['pageTitle'] = 'Resico : Edit Cost'; //$this->global['pageTitle'] = 'Resico : Edit Cost';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Cost Center'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Cost Center';
$this->loadViews("editCostCenter", $this->global, $data,NULL); $this->loadViews("editCostCenter", $this->global, $data,NULL);
} }
@ -338,7 +339,7 @@ class CostCenter extends BaseController
$data['Cost'] = $this->costcenter_model->getuserinfo($CostCenterID); $data['Cost'] = $this->costcenter_model->getuserinfo($CostCenterID);
//$this->global['pageTitle'] = 'Resico : View Cost Details'; //$this->global['pageTitle'] = 'Resico : View Cost Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : View Cost Details'; $this->global['pageTitle'] = $this->CompanyName.' : View Cost Details';
$this->loadViews("viewcost", $this->global, $data,NULL); $this->loadViews("viewcost", $this->global, $data,NULL);
@ -476,7 +477,7 @@ class CostCenter extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -24,6 +24,7 @@ class MRIRcontroller extends BaseController
$this->load->library('session'); $this->load->library('session');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -32,7 +33,7 @@ class MRIRcontroller extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : View material inspection report'; //$this->global['pageTitle'] = 'Resico : View material inspection report';
$this->global['pageTitle'] = $this->global['CompanyName'].' : View material inspection report'; $this->global['pageTitle'] = $this->CompanyName.' : View material inspection report';
$this->loadViews("viewmaterialinspectionreport", $this->global,NULL , NULL); $this->loadViews("viewmaterialinspectionreport", $this->global,NULL , NULL);
} }
@ -42,7 +43,7 @@ class MRIRcontroller extends BaseController
function materialinspectionreport($mrir='',$IGRNO='') function materialinspectionreport($mrir='',$IGRNO='')
{ {
//$this->global['pageTitle'] = 'Resico : Material Inspection Report'; //$this->global['pageTitle'] = 'Resico : Material Inspection Report';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Material Inspection Report'; $this->global['pageTitle'] = $this->CompanyName.' : Material Receipt and Inspection Report';
$this->load->model('mrir_model'); $this->load->model('mrir_model');
@ -61,6 +62,7 @@ class MRIRcontroller extends BaseController
//$this->global['pageTitle'] = 'Resico : MRIR Pdf '; //$this->global['pageTitle'] = 'Resico : MRIR Pdf ';
$this->global['pageTitle'] = $this->CompanyName.' : MRIR pdf';
$data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation(); $data['CompanyDetails'] = $this->purchaseorder_model->getCompanyInformation();
$data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo); $data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo);
$this->load->View("Mrirprintpdf",$data, NULL); $this->load->View("Mrirprintpdf",$data, NULL);
@ -95,7 +97,7 @@ class MRIRcontroller extends BaseController
public function viewmrirforbilling() public function viewmrirforbilling()
{ {
//$this->global['pageTitle'] = 'Resico : Billing '; //$this->global['pageTitle'] = 'Resico : Billing ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Billing '; $this->global['pageTitle'] = $this->CompanyName.' : Billing ';
$data['Billing'] = $this->mrir_model->view_mrir_Billing(); $data['Billing'] = $this->mrir_model->view_mrir_Billing();
$this->loadViews("viewmrirforbilling", $this->global,$data , NULL); $this->loadViews("viewmrirforbilling", $this->global,$data , NULL);
} }
@ -106,7 +108,7 @@ class MRIRcontroller extends BaseController
public function viewmMaterialDistributionList() public function viewmMaterialDistributionList()
{ {
//$this->global['pageTitle'] = 'Resico : Distribution list '; //$this->global['pageTitle'] = 'Resico : Distribution list ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Distribution list '; $this->global['pageTitle'] = $this->CompanyName.' : Distribution list ';
$data['Distribution'] = $this->mrir_model->ViewDistributionList(); $data['Distribution'] = $this->mrir_model->ViewDistributionList();
$data['status'] = $this->mrir_model->getStatus(); $data['status'] = $this->mrir_model->getStatus();
$this->loadViews("MaterialIssueList", $this->global,$data , NULL); $this->loadViews("MaterialIssueList", $this->global,$data , NULL);
@ -123,7 +125,8 @@ class MRIRcontroller extends BaseController
$data['IGRDetails'] = $this->mrir_model->get_IGR($IgrNo,$IgrItemno); $data['IGRDetails'] = $this->mrir_model->get_IGR($IgrNo,$IgrItemno);
// $this->global['pageTitle'] = 'Resico: IGR Details '; // $this->global['pageTitle'] = 'Resico: IGR Details ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : IGR Details '; //$this->global['pageTitle'] = $this->CompanyName.' : IGR Details ';
$this->global['pageTitle'] = $this->CompanyName.' : Material Receipt and Inspection Report';
$this->loadViews("materialinspectionreport", $this->global, $data,NULL); $this->loadViews("materialinspectionreport", $this->global, $data,NULL);
} }
@ -135,7 +138,7 @@ class MRIRcontroller extends BaseController
{ {
// $this->global['pageTitle'] = 'Resico : View Inward Gate Register'; // $this->global['pageTitle'] = 'Resico : View Inward Gate Register';
$this->global['pageTitle'] = $this->global['CompanyName'].' : View Inward Gate Register'; $this->global['pageTitle'] = $this->CompanyName.' : View Inward Gate Register';
$data['IGR']= $this->mrir_model->ViewigrListing(); $data['IGR']= $this->mrir_model->ViewigrListing();
@ -151,7 +154,7 @@ class MRIRcontroller extends BaseController
$data['viewmrirdatas'] = $this->mrir_model-> view_mrir(); $data['viewmrirdatas'] = $this->mrir_model-> view_mrir();
//$this->global['pageTitle'] = 'Resico : View Material Inspection Report'; //$this->global['pageTitle'] = 'Resico : View Material Inspection Report';
$this->global['pageTitle'] = $this->global['CompanyName'].' : View Material Inspection Report'; $this->global['pageTitle'] = $this->CompanyName.' : View Material Receipt And Inspection Report';
$this->loadViews("viewmaterialinspectionreport", $this->global,$data,NULL); $this->loadViews("viewmaterialinspectionreport", $this->global,$data,NULL);
} }
@ -167,7 +170,7 @@ class MRIRcontroller extends BaseController
$data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo); $data['MRIRDetails'] = $this->mrir_model->edit_mrir($MrirNo);
//$this->global['pageTitle'] = 'Resico : Edit Material Inspection Report'; //$this->global['pageTitle'] = 'Resico : Edit Material Inspection Report';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Material Inspection Report'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Material Inspection Report';
$this->loadViews("Editmaterialinspectionreport", $this->global,$data,NULL); $this->loadViews("Editmaterialinspectionreport", $this->global,$data,NULL);
@ -412,7 +415,7 @@ class MRIRcontroller extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }
} }

View File

@ -21,6 +21,7 @@ class amendmentpurchaseorder extends BaseController
$this->load->library('session'); $this->load->library('session');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -33,7 +34,7 @@ class amendmentpurchaseorder extends BaseController
$forwhat='amendment'; $forwhat='amendment';
$data['POData'] = $this->purchaseorder_model->purchaseorderListing($forwhat); $data['POData'] = $this->purchaseorder_model->purchaseorderListing($forwhat);
//$this->global['pageTitle'] = 'Resico : Amendment Purchase Order'; //$this->global['pageTitle'] = 'Resico : Amendment Purchase Order';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Amendment Purchase Order'; $this->global['pageTitle'] = $this->CompanyName.' : Amendment Purchase Order';
$this->loadviews('AmendPOlist',$this->global,$data,NULL); $this->loadviews('AmendPOlist',$this->global,$data,NULL);
} }
@ -117,7 +118,7 @@ class amendmentpurchaseorder extends BaseController
$data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO); $data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO);
$data['WorkStatus']=$this->purchaseorder_model->getStatus(7); $data['WorkStatus']=$this->purchaseorder_model->getStatus(7);
//$this->global['pageTitle'] = 'Resico : Edit Service Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Service Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Amendment Service Purchase Order';
$this->loadViews("editServiceAmendPO", $this->global, $data, NULL); $this->loadViews("editServiceAmendPO", $this->global, $data, NULL);
} }
else if($ReqType == REVENUE) else if($ReqType == REVENUE)
@ -127,7 +128,7 @@ class amendmentpurchaseorder extends BaseController
$data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetails($PONO); $data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetails($PONO);
$data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO); $data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO);
//$this->global['pageTitle'] = 'Resico : Edit Revenue Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Revenue Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Revenue Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Amendment Revenue Purchase Order';
$this->loadViews("editRevenueAmendPO", $this->global, $data, NULL); $this->loadViews("editRevenueAmendPO", $this->global, $data, NULL);
} }
else if($ReqType == IMPORT) else if($ReqType == IMPORT)
@ -167,7 +168,7 @@ class amendmentpurchaseorder extends BaseController
$data['unicode']=$unicode; $data['unicode']=$unicode;
$data['currencycode']=$currencycode; $data['currencycode']=$currencycode;
//$this->global['pageTitle'] = 'Resico : Edit Import Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Import Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Import Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Amendment Import Purchase Order';
$this->loadViews("editImportAmendPO", $this->global, $data, NULL); $this->loadViews("editImportAmendPO", $this->global, $data, NULL);
} }
else if($ReqType == CAPITAL) else if($ReqType == CAPITAL)
@ -215,7 +216,7 @@ class amendmentpurchaseorder extends BaseController
} }
//$this->global['pageTitle'] = 'Resico : Edit Capital Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Capital Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Capital Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Amendment Capital Purchase Order';
$this->loadViews("editCapitalAmendPO", $this->global, $data, NULL); $this->loadViews("editCapitalAmendPO", $this->global, $data, NULL);
} }

View File

@ -21,6 +21,7 @@ class assetdetails extends BaseController
$this->load->model('assetdetails_model'); $this->load->model('assetdetails_model');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -29,7 +30,7 @@ class assetdetails extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Asset Details'; //$this->global['pageTitle'] = 'Resico : Asset Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Asset Details'; $this->global['pageTitle'] = $this->CompanyName.' : Asset Details';
$this->loadViews("assetListing", $this->global, NULL , NULL); $this->loadViews("assetListing", $this->global, NULL , NULL);
} }
@ -42,7 +43,7 @@ class assetdetails extends BaseController
$this->load->model('assetdetails_model'); $this->load->model('assetdetails_model');
$data['userRecords'] = $this->assetdetails_model->assetListing(); $data['userRecords'] = $this->assetdetails_model->assetListing();
//$this->global['pageTitle'] = 'Resico : Asset List'; //$this->global['pageTitle'] = 'Resico : Asset List';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Asset Details'; $this->global['pageTitle'] = $this->CompanyName.' : Asset Details';
$this->loadViews("assetListing", $this->global, $data, NULL); $this->loadViews("assetListing", $this->global, $data, NULL);
} }
@ -56,7 +57,7 @@ class assetdetails extends BaseController
$data['AssetStatus'] = $this->assetdetails_model->getConfigValue('C015'); $data['AssetStatus'] = $this->assetdetails_model->getConfigValue('C015');
$data['po'] = $this->assetdetails_model->getPO(); $data['po'] = $this->assetdetails_model->getPO();
//$this->global['pageTitle'] = 'Resico : Add Asset'; //$this->global['pageTitle'] = 'Resico : Add Asset';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add Asset Details'; $this->global['pageTitle'] = $this->CompanyName.' : Add Asset Details';
$this->loadViews("addasset", $this->global, $data, NULL); $this->loadViews("addasset", $this->global, $data, NULL);
} }
@ -276,7 +277,7 @@ class assetdetails extends BaseController
$data['AssetStatusList'] = $this->assetdetails_model->getConfigValue('C015'); $data['AssetStatusList'] = $this->assetdetails_model->getConfigValue('C015');
$data['PO'] = $this->assetdetails_model->getPO($PO); $data['PO'] = $this->assetdetails_model->getPO($PO);
//$this->global['pageTitle'] = 'Resico : Edit Asset'; //$this->global['pageTitle'] = 'Resico : Edit Asset';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Asset '; $this->global['pageTitle'] = $this->CompanyName.' : Edit Asset ';
$this->loadViews("editasset", $this->global, $data,NULL); $this->loadViews("editasset", $this->global, $data,NULL);
} }
@ -535,7 +536,7 @@ class assetdetails extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -21,6 +21,7 @@ class cashbook extends BaseController
$this->isLoggedIn(); $this->isLoggedIn();
$this->load->helper(array('form','url')); $this->load->helper(array('form','url'));
$this->load->library('upload'); $this->load->library('upload');
$this->CompanyName = $this->global['CompanyName'];
} }
@ -60,7 +61,7 @@ class cashbook extends BaseController
$data['data'] = $this->cashbook_model->getIncomeExpenseList($aid); $data['data'] = $this->cashbook_model->getIncomeExpenseList($aid);
$data['PaymentDetails'] = $this->cashbook_model->viewpaymentdetails($aid); $data['PaymentDetails'] = $this->cashbook_model->viewpaymentdetails($aid);
//$this->global['pageTitle'] = 'Resico : Cash Book: View Income Expense '; //$this->global['pageTitle'] = 'Resico : Cash Book: View Income Expense ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Cash Book - View Income Expense '; $this->global['pageTitle'] = $this->CompanyName.' : Cash Book - View Income Expense ';
$this->loadViews("viewIndIncomeExpense", $this->global, $data , NULL); $this->loadViews("viewIndIncomeExpense", $this->global, $data , NULL);
} }
@ -70,7 +71,7 @@ class cashbook extends BaseController
//$data['list'] = $this->cashbook_model->getIncomeExpenseList(); //$data['list'] = $this->cashbook_model->getIncomeExpenseList();
$data['list'] = $this->cashbook_model->getreceiptpaymentlist(); $data['list'] = $this->cashbook_model->getreceiptpaymentlist();
//$this->global['pageTitle'] = 'Resico : Cash Book: Listing'; //$this->global['pageTitle'] = 'Resico : Cash Book: Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].': Cash Book: Listing'; $this->global['pageTitle'] = $this->CompanyName.': Receipt and Payment Details';
$this->loadViews("income_expense_list", $this->global, $data , NULL); $this->loadViews("income_expense_list", $this->global, $data , NULL);
} }
@ -84,7 +85,7 @@ class cashbook extends BaseController
$data['dropdownvalues'] = $this->cashbook_model->getAccounTypes(); $data['dropdownvalues'] = $this->cashbook_model->getAccounTypes();
//$this->global['pageTitle'] = 'Resico : Cash Book: Add New Income Expense '; //$this->global['pageTitle'] = 'Resico : Cash Book: Add New Income Expense ';
$this->global['pageTitle'] = $this->global['CompanyName'].': Cash Book: Add New Income Expense '; $this->global['pageTitle'] = $this->CompanyName.': Cash Book: Add New Income Expense ';
$this->loadViews("addnewIncomeExpense", $this->global, $data , NULL); $this->loadViews("addnewIncomeExpense", $this->global, $data , NULL);
} }
@ -351,7 +352,7 @@ class cashbook extends BaseController
$aid = $this->uri->segment(3); $aid = $this->uri->segment(3);
$data['data'] = $this->cashbook_model->getAccounutInfo(); $data['data'] = $this->cashbook_model->getAccounutInfo();
//$this->global['pageTitle'] = 'Resico : Cash Book: View Income Expense '; //$this->global['pageTitle'] = 'Resico : Cash Book: View Income Expense ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Cash Book: View Income Expense '; $this->global['pageTitle'] = $this->CompanyName.' : Cash Book: View Income Expense ';
$this->loadViews("viewIndIncomeExpense", $this->global, $data , NULL); $this->loadViews("viewIndIncomeExpense", $this->global, $data , NULL);
} }
@ -362,7 +363,7 @@ class cashbook extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Cashbook Details'; //$this->global['pageTitle'] = 'Resico : Cashbook Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Cashbook Details'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Details';
$this->loadViews("cashbooklisting", $this->global, NULL , NULL); $this->loadViews("cashbooklisting", $this->global, NULL , NULL);
} }
@ -376,7 +377,7 @@ class cashbook extends BaseController
$data['cashbook'] = $this->cashbook_model->Selectcash(); $data['cashbook'] = $this->cashbook_model->Selectcash();
//$this->global['pageTitle'] = 'Resico : Cashbook Listing'; //$this->global['pageTitle'] = 'Resico : Cashbook Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Cashbook Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Listing';
$this->loadViews("cashbooklisting", $this->global, $data, NULL); $this->loadViews("cashbooklisting", $this->global, $data, NULL);
} }
@ -442,7 +443,7 @@ class cashbook extends BaseController
/** this array for dropdown value(account name)*/ /** this array for dropdown value(account name)*/
$data['dropdownvalues'] = $this->cashbook_model->getAccounTypes(); $data['dropdownvalues'] = $this->cashbook_model->getAccounTypes();
//$this->global['pageTitle'] = 'Resico : Edit Cashbook'; //$this->global['pageTitle'] = 'Resico : Edit Cashbook';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Cashbook'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Cashbook';
$this->loadViews("editincomeexpenses", $this->global,$data, NULL); $this->loadViews("editincomeexpenses", $this->global,$data, NULL);
} }

View File

@ -11,6 +11,7 @@ require APPPATH . '/libraries/BaseController.php';
*/ */
class companycontroller extends BaseController class companycontroller extends BaseController
{ {
// var $CompanyName;
/** /**
* default constructor of the class * default constructor of the class
*/ */
@ -19,6 +20,7 @@ class companycontroller extends BaseController
parent::__construct(); parent::__construct();
$this->load->model('companydetailsmodel'); $this->load->model('companydetailsmodel');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -26,7 +28,8 @@ class companycontroller extends BaseController
*/ */
public function index() public function index()
{ {
$this->global['pageTitle'] = $this->global['CompanyName'].' : Company Details';
$this->global['pageTitle'] = $this->CompanyName.' : Company Details';
//$this->loadViews("companyadd", $this->global, NULL , NULL); //$this->loadViews("companyadd", $this->global, NULL , NULL);
//$this->loadViews("Updatecompany", $this->global,NULL,NULL); //$this->loadViews("Updatecompany", $this->global,NULL,NULL);
} }
@ -36,8 +39,10 @@ class companycontroller extends BaseController
*/ */
public function companyview() public function companyview()
{ {
//$vit = $this->vit;
// echo $vit;die;
//$this->global['pageTitle'] = 'Resico : Company Details'; //$this->global['pageTitle'] = 'Resico : Company Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Company Details' ; $this->global['pageTitle'] = $this->CompanyName.' : Company Details' ;
$data['userRecords'] = $this->companydetailsmodel->companylisting(); $data['userRecords'] = $this->companydetailsmodel->companylisting();
$data['payment'] = $this->companydetailsmodel->getPaymentTerms(); $data['payment'] = $this->companydetailsmodel->getPaymentTerms();
@ -85,7 +90,7 @@ class companycontroller extends BaseController
*/ */
function companyadd(){ function companyadd(){
$this->global['pageTitle'] = $this->global['CompanyName'].' : Company Details'; $this->global['pageTitle'] = $this->CompanyName.' : Company Details';
$this->loadViews("companyadd", $this->global, NULL); $this->loadViews("companyadd", $this->global, NULL);
} }

View File

@ -21,6 +21,7 @@ class configurationctrl extends BaseController
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->load->model('configmodel'); $this->load->model('configmodel');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -29,7 +30,7 @@ class configurationctrl extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Config Details'; //$this->global['pageTitle'] = 'Resico : Config Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Config Details'; $this->global['pageTitle'] = $this->CompanyName.' : Config Details';
$this->loadViews("configlisting", $this->global, NULL , NULL); $this->loadViews("configlisting", $this->global, NULL , NULL);
} }
@ -44,7 +45,7 @@ class configurationctrl extends BaseController
$data['userRecords'] = $this->configmodel->configlisting(); $data['userRecords'] = $this->configmodel->configlisting();
//$this->global['pageTitle'] = 'Resico : Config Listing'; //$this->global['pageTitle'] = 'Resico : Config Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Config Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Config Listing';
$this->loadViews("configlisting", $this->global, $data, NULL); $this->loadViews("configlisting", $this->global, $data, NULL);
@ -56,7 +57,7 @@ class configurationctrl extends BaseController
function addconfig() function addconfig()
{ {
//$this->global['pageTitle'] = 'Resico : Add New Config'; //$this->global['pageTitle'] = 'Resico : Add New Config';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add New Config'; $this->global['pageTitle'] = $this->CompanyName.' : Add New Config';
$data['userRecords'] = $this->configmodel->configlisting(); $data['userRecords'] = $this->configmodel->configlisting();
$this->loadViews("addconfig", $this->global,NULL, NULL); $this->loadViews("addconfig", $this->global,NULL, NULL);
@ -121,7 +122,7 @@ class configurationctrl extends BaseController
$index = 1; $index = 1;
//$this->global['pageTitle'] = 'Resico : Edit Config'; //$this->global['pageTitle'] = 'Resico : Edit Config';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Config'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Config';
$this->loadViews("editconfig", $this->global, $data,NULL); $this->loadViews("editconfig", $this->global, $data,NULL);
} }

View File

@ -20,6 +20,7 @@ class department extends BaseController
$this->load->model('department_model'); $this->load->model('department_model');
$this->load->library('Excel'); $this->load->library('Excel');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -29,7 +30,7 @@ class department extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Department Details'; //$this->global['pageTitle'] = 'Resico : Department Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Department Details'; $this->global['pageTitle'] = $this->CompanyName.' : Department Details';
$this->loadViews("departmentListing", $this->global, NULL , NULL); $this->loadViews("departmentListing", $this->global, NULL , NULL);
} }
@ -47,7 +48,7 @@ class department extends BaseController
$this->load->model('department_model'); $this->load->model('department_model');
$data['userRecords'] = $this->department_model->departmentListing(); $data['userRecords'] = $this->department_model->departmentListing();
//$this->global['pageTitle'] = 'Resico : Department Listing'; //$this->global['pageTitle'] = 'Resico : Department Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Department Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Department Listing';
$this->loadViews("departmentListing", $this->global, $data, NULL); $this->loadViews("departmentListing", $this->global, $data, NULL);
} }
} }
@ -59,7 +60,7 @@ class department extends BaseController
{ {
$data['depcode'] = $this->department_model->getdepcode(); $data['depcode'] = $this->department_model->getdepcode();
//$this->global['pageTitle'] = 'Resico : Add New Department'; //$this->global['pageTitle'] = 'Resico : Add New Department';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add New Department'; $this->global['pageTitle'] = $this->CompanyName.' : Add New Department';
$this->loadViews("adddepartment", $this->global,$data, NULL); $this->loadViews("adddepartment", $this->global,$data, NULL);
} }
@ -171,7 +172,7 @@ class department extends BaseController
$data['department'] = $this->department_model->getDeptInfo($DepartmentID); $data['department'] = $this->department_model->getDeptInfo($DepartmentID);
$data['depcode'] = $this->department_model->getdepcode(); $data['depcode'] = $this->department_model->getdepcode();
//$this->global['pageTitle'] = 'Resico : Edit Department'; //$this->global['pageTitle'] = 'Resico : Edit Department';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Department'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Department';
$this->loadViews("editdepartment", $this->global,$data, NULL); $this->loadViews("editdepartment", $this->global,$data, NULL);
} }
@ -249,7 +250,7 @@ class department extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -24,6 +24,7 @@ class emergencypurchaseorder extends BaseController
$this->load->model('inwardgateregister_model'); $this->load->model('inwardgateregister_model');
$this->load->model('mrir_model'); $this->load->model('mrir_model');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -32,7 +33,7 @@ class emergencypurchaseorder extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : AddPO'; //$this->global['pageTitle'] = 'Resico : AddPO';
//$this->global['pageTitle'] = $this->global['CompanyName'].' : AddPO'; //$this->global['pageTitle'] = $this->CompanyName.' : AddPO';
$this->loadViews("addPO", $this->global, NULL , NULL); $this->loadViews("addPO", $this->global, NULL , NULL);
} }
@ -42,7 +43,7 @@ class emergencypurchaseorder extends BaseController
$data['stList'] = $this->purchaseorder_model->getStatusListforAllReq(); $data['stList'] = $this->purchaseorder_model->getStatusListforAllReq();
$data['ReqList'] = $this->purchaseorder_model->getRequistionListbySearch(); $data['ReqList'] = $this->purchaseorder_model->getRequistionListbySearch();
//$this->global['pageTitle'] = 'Resico : Create PO from Requisition List'; //$this->global['pageTitle'] = 'Resico : Create PO from Requisition List';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Create Purchase Order from Requistion'; $this->global['pageTitle'] = $this->CompanyName.' : Create Purchase Order from Requistion';
$this->loadViews("createPOfromRequistion", $this->global, $data,Null); $this->loadViews("createPOfromRequistion", $this->global, $data,Null);
} }
@ -54,7 +55,7 @@ class emergencypurchaseorder extends BaseController
$RequestedBy = $this->session->userdata ('EmpID'); $RequestedBy = $this->session->userdata ('EmpID');
//$this->global['pageTitle'] = 'Resico : Create Emergency Purchase Order'; //$this->global['pageTitle'] = 'Resico : Create Emergency Purchase Order';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Emergency Purchase Order'; $this->global['pageTitle'] = $this->CompanyName.' : Emergency Purchase Order';
$data['RequestType'] = $this->requistion_model->getConfigValue('C004'); $data['RequestType'] = $this->requistion_model->getConfigValue('C004');
$data['Suplist'] = $this->purchaseorder_model->getSupplierName(); $data['Suplist'] = $this->purchaseorder_model->getSupplierName();
@ -676,7 +677,7 @@ class emergencypurchaseorder extends BaseController
$this->purchaseorder_model->UpdateRequistionStatus(); $this->purchaseorder_model->UpdateRequistionStatus();
$data['POData'] = $this->purchaseorder_model->purchaseorderListing(); $data['POData'] = $this->purchaseorder_model->purchaseorderListing();
//$this->global['pageTitle'] = 'Resico : Purchase Orders'; //$this->global['pageTitle'] = 'Resico : Purchase Orders';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Purchase Orders Details'; $this->global['pageTitle'] = $this->CompanyName.' : Purchase Orders Details';
$this->loadViews("POlist", $this->global, $data, NULL); $this->loadViews("POlist", $this->global, $data, NULL);
@ -721,7 +722,7 @@ class emergencypurchaseorder extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Purchase order form'; //$this->global['pageTitle'] = 'Resico : Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Purchase order form';
$data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006');
$data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018'); $data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018');
$data['Suplist'] = $this->purchaseorder_model->getSupplierName(); $data['Suplist'] = $this->purchaseorder_model->getSupplierName();
@ -810,14 +811,14 @@ class emergencypurchaseorder extends BaseController
{ {
$data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetails($PONO); $data['POItem'] = $this->purchaseorder_model->GetServicePurchaseOrderDetails($PONO);
//$this->global['pageTitle'] = 'Resico : Edit Service Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Service Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase Order '; $this->global['pageTitle'] = $this->CompanyName.' : Edit Service Purchase Order ';
$this->loadViews("EditservicePurchaseorder", $this->global, $data, NULL); $this->loadViews("EditservicePurchaseorder", $this->global, $data, NULL);
} }
else if($ReqType == REVENUE) else if($ReqType == REVENUE)
{ {
$data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetails($PONO); $data['POItem'] = $this->purchaseorder_model->GetRevenuePurchaseOrderDetails($PONO);
//$this->global['pageTitle'] = 'Resico : Edit Revenue Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Revenue Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Revenue Purchase Order'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Revenue Purchase Order';
$this->loadViews("editRevenuepurchaseorder", $this->global, $data, NULL); $this->loadViews("editRevenuepurchaseorder", $this->global, $data, NULL);
} }
@ -1268,7 +1269,7 @@ class emergencypurchaseorder extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].': 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.': 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -20,6 +20,7 @@ class employeedetails extends BaseController
$this->load->model('employeedetails_model'); $this->load->model('employeedetails_model');
$this->load->model('companydetailsmodel'); $this->load->model('companydetailsmodel');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -28,7 +29,7 @@ class employeedetails extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Employee Details'; //$this->global['pageTitle'] = 'Resico : Employee Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Employee Details'; $this->global['pageTitle'] = $this->CompanyName.' : Employee Details';
//Load the view supplierListing.php //Load the view supplierListing.php
$this->loadViews("employeeListing", $this->global, NULL , NULL); $this->loadViews("employeeListing", $this->global, NULL , NULL);
} }
@ -43,7 +44,7 @@ class employeedetails extends BaseController
$this->load->model('employeedetails_model'); $this->load->model('employeedetails_model');
$data['userRecords'] = $this->employeedetails_model->employeeListing(); $data['userRecords'] = $this->employeedetails_model->employeeListing();
//$this->global['pageTitle'] = 'Resico : Employee Listing'; //$this->global['pageTitle'] = 'Resico : Employee Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Employee Details'; $this->global['pageTitle'] = $this->CompanyName.' : Employee Details';
$this->loadViews("employeeListing", $this->global, $data, NULL); $this->loadViews("employeeListing", $this->global, $data, NULL);
} }
@ -392,7 +393,7 @@ class employeedetails extends BaseController
$data['Department'] = $this->employeedetails_model->getDepartment(); $data['Department'] = $this->employeedetails_model->getDepartment();
// $this->global['pageTitle'] = 'Resico : Add New Employee'; // $this->global['pageTitle'] = 'Resico : Add New Employee';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add New Employee'; $this->global['pageTitle'] = $this->CompanyName.' : Add New Employee';
$this->loadViews("addemployee", $this->global, $data, NULL); $this->loadViews("addemployee", $this->global, $data, NULL);
} }
@ -620,7 +621,7 @@ class employeedetails extends BaseController
$data['DepartmentList'] = $this->employeedetails_model->getDepartment(); $data['DepartmentList'] = $this->employeedetails_model->getDepartment();
$data['EmpDetails'] = $this->employeedetails_model->viewemployee($EmpID); $data['EmpDetails'] = $this->employeedetails_model->viewemployee($EmpID);
//$this->global['pageTitle'] = 'Resico : View Employee'; //$this->global['pageTitle'] = 'Resico : View Employee';
$this->global['pageTitle'] = $this->global['CompanyName'].' : View Employee'; $this->global['pageTitle'] = $this->CompanyName.' : View Employee';
$this->loadViews("editEmployee", $this->global, $data, NULL); $this->loadViews("editEmployee", $this->global, $data, NULL);
@ -844,7 +845,7 @@ class employeedetails extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -21,6 +21,7 @@ class emppaydate extends BaseController
$this->load->library('session'); $this->load->library('session');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -29,7 +30,7 @@ class emppaydate extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Employee Pay Details'; //$this->global['pageTitle'] = 'Resico : Employee Pay Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Employee Pay Details'; $this->global['pageTitle'] = $this->CompanyName.' : Employee Pay Details';
$this->loadViews("emppayListing", $this->global); $this->loadViews("emppayListing", $this->global);
} }
@ -45,7 +46,7 @@ class emppaydate extends BaseController
$data['userRecords'] = $this->emppaydate_model->emppayListing(); $data['userRecords'] = $this->emppaydate_model->emppayListing();
//$this->global['pageTitle'] = 'Resico : Employee Pay List'; //$this->global['pageTitle'] = 'Resico : Employee Pay List';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Employee Pay List'; $this->global['pageTitle'] = $this->CompanyName.' : Employee Payment Details';
$this->loadViews("emppayListing", $this->global, $data, NULL); $this->loadViews("emppayListing", $this->global, $data, NULL);
} }
@ -59,7 +60,7 @@ class emppaydate extends BaseController
$this->load->model('payroll_model'); $this->load->model('payroll_model');
$result['empdetails'] = $this->payroll_model->getEmpID($q); $result['empdetails'] = $this->payroll_model->getEmpID($q);
//$this->global['pageTitle'] = 'Resico : Add Employee Pay'; //$this->global['pageTitle'] = 'Resico : Add Employee Pay';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add Employee Pay'; $this->global['pageTitle'] = $this->CompanyName.' : Add Employee Pay';
$this->loadViews("addemppaydate", $this->global,$result); $this->loadViews("addemppaydate", $this->global,$result);
} }
@ -169,7 +170,7 @@ class emppaydate extends BaseController
$data['emppay'] = $this->emppaydate_model->getUserInfo($paydataid); $data['emppay'] = $this->emppaydate_model->getUserInfo($paydataid);
//$this->global['pageTitle'] = 'Resico : Edit Employee Pay Monthly Details '; //$this->global['pageTitle'] = 'Resico : Edit Employee Pay Monthly Details ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Employee Pay Monthly Details '; $this->global['pageTitle'] = $this->CompanyName.' : Edit Employee Payment Details ';
$this->loadViews("editOldemppay", $this->global, $data,NULL); $this->loadViews("editOldemppay", $this->global, $data,NULL);
@ -323,7 +324,7 @@ class emppaydate extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -21,6 +21,7 @@ class inwardgateregister extends BaseController
$this->load->library('session'); $this->load->library('session');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -29,7 +30,7 @@ class inwardgateregister extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Inward Gate Register'; //$this->global['pageTitle'] = 'Resico : Inward Gate Register';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Inward Gate Register'; $this->global['pageTitle'] = $this->CompanyName.' : Inward Gate Register';
$this->loadViews("viewinwardgateregister", $this->global,NULL , NULL); $this->loadViews("viewinwardgateregister", $this->global,NULL , NULL);
} }
@ -41,7 +42,7 @@ class inwardgateregister extends BaseController
{ {
$this->load->model('inwardgateregister_model'); $this->load->model('inwardgateregister_model');
//$this->global['pageTitle'] = 'Resico : Inward Gate Register Details'; //$this->global['pageTitle'] = 'Resico : Inward Gate Register Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Inward Gate Register Details'; $this->global['pageTitle'] = $this->CompanyName.' : Inward Gate Register Details';
$data['IGR']= $this->inwardgateregister_model->igrListing(); $data['IGR']= $this->inwardgateregister_model->igrListing();
$this->loadViews("viewIGRDetails",$this->global,$data,NULL); $this->loadViews("viewIGRDetails",$this->global,$data,NULL);
} }
@ -54,7 +55,7 @@ class inwardgateregister extends BaseController
$this->load->model('inwardgateregister_model'); $this->load->model('inwardgateregister_model');
//$this->global['pageTitle'] = 'Resico : Add Inward Gate Register'; //$this->global['pageTitle'] = 'Resico : Add Inward Gate Register';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add Inward Gate Register'; $this->global['pageTitle'] = $this->CompanyName.' : Inward Gate Register';
$data['PO_NO'] = $this->inwardgateregister_model->getpurchaseorder(); $data['PO_NO'] = $this->inwardgateregister_model->getpurchaseorder();
$this->loadViews("inwardgateregister", $this->global, $data, NULL); $this->loadViews("inwardgateregister", $this->global, $data, NULL);
} }
@ -246,7 +247,7 @@ class inwardgateregister extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }
} }

View File

@ -21,6 +21,7 @@ class monthlypay extends BaseController
$this->load->library('session'); $this->load->library('session');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -29,7 +30,7 @@ class monthlypay extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : Monthly Pay Details'; //$this->global['pageTitle'] = 'Resico : Monthly Pay Details';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Monthly Pay Details'; $this->global['pageTitle'] = $this->CompanyName.' : Monthly Pay Details';
$this->loadviews('monthlyListing',$this->global); $this->loadviews('monthlyListing',$this->global);
} }
@ -41,7 +42,7 @@ class monthlypay extends BaseController
{ {
$data['days'] = $this-> monthlypay_model->getPublicHoldays(); $data['days'] = $this-> monthlypay_model->getPublicHoldays();
//$this->global['pageTitle'] = 'Resico : Public Holidays'; //$this->global['pageTitle'] = 'Resico : Public Holidays';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Public Holidays'; $this->global['pageTitle'] = $this->CompanyName.' : Public Holiday ';
$this->loadviews('publicholidays',$this->global,$data,NULL); $this->loadviews('publicholidays',$this->global,$data,NULL);
} }
@ -154,7 +155,7 @@ class monthlypay extends BaseController
$data['attendance'] = $this-> monthlypay_model->monthlyAttendance($current); $data['attendance'] = $this-> monthlypay_model->monthlyAttendance($current);
$data['emppay'] = $this-> monthlypay_model->getEmpPayDetails($current,$string); $data['emppay'] = $this-> monthlypay_model->getEmpPayDetails($current,$string);
//$this->global['pageTitle'] = 'Resico : Monthly Attendance'; //$this->global['pageTitle'] = 'Resico : Monthly Attendance';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Monthly Attendance'; $this->global['pageTitle'] = $this->CompanyName.' : Employee Monthly Attendance';
$this->loadViews("attendance", $this->global, $data, NULL); $this->loadViews("attendance", $this->global, $data, NULL);
} }
@ -221,7 +222,7 @@ class monthlypay extends BaseController
$data['userRecords'] = $this->monthlypay_model->monthlyListing(); $data['userRecords'] = $this->monthlypay_model->monthlyListing();
//$this->global['pageTitle'] = 'Resico : Monthly Pay List'; //$this->global['pageTitle'] = 'Resico : Monthly Pay List';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Monthly Pay List'; $this->global['pageTitle'] = $this->CompanyName.' : Monthly Payment Details';
$this->loadViews("monthlyListing", $this->global, $data, NULL); $this->loadViews("monthlyListing", $this->global, $data, NULL);
} }
@ -229,17 +230,19 @@ class monthlypay extends BaseController
/** /**
* To load the add new monthlypay * To load the add new monthlypay
* note : not in use
*/ */
function addmonthly() function addmonthly()
{ {
//$this->global['pageTitle'] = 'Resico : Add Monthly Pay'; //$this->global['pageTitle'] = 'Resico : Add Monthly Pay';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add Monthly Pay'; $this->global['pageTitle'] = $this->CompanyName.' : Add Monthly Pay';
$this->loadviews('addMontly',$this->global, NULL); $this->loadviews('addMontly',$this->global, NULL);
} }
/** /**
* For store new data into DB. * For store new data into DB.
* note : not in use
*/ */
function addNewmonthly() function addNewmonthly()
{ {
@ -293,6 +296,7 @@ class monthlypay extends BaseController
/** /**
* For editing purpose and it has oldest values. * For editing purpose and it has oldest values.
* note : not in use
*/ */
function editOldmonthly($EmpID='',$month_year='') function editOldmonthly($EmpID='',$month_year='')
@ -301,7 +305,7 @@ class monthlypay extends BaseController
$data['monthly'] = $this->monthlypay_model->getUserInfo($EmpID,$month_year); $data['monthly'] = $this->monthlypay_model->getUserInfo($EmpID,$month_year);
//$this->global['pageTitle'] = 'Resico : Edit Monthly Listing'; //$this->global['pageTitle'] = 'Resico : Edit Monthly Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Monthly Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Monthly Listing';
$this->loadViews("editOldmonthly", $this->global, $data,NULL); $this->loadViews("editOldmonthly", $this->global, $data,NULL);
@ -311,6 +315,7 @@ class monthlypay extends BaseController
/** /**
* For stored new values after editing. * For stored new values after editing.
* note : not in use
*/ */
function editmonthly() function editmonthly()
{ {
@ -381,11 +386,12 @@ class monthlypay extends BaseController
/** /**
* To load employee payment details for permission screen * To load employee payment details for permission screen
* note : not in use
**/ **/
function permissionslip() function permissionslip()
{ {
//$this->global['pageTitle'] = 'Resico : Permission Slip'; //$this->global['pageTitle'] = 'Resico : Permission Slip';
//$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; //$this->global['pageTitle'] = $this->CompanyName.' : Edit Service Purchase order form';
$data['emplists']=$this->monthlypay_model->emplist(); $data['emplists']=$this->monthlypay_model->emplist();
@ -394,6 +400,7 @@ class monthlypay extends BaseController
/** /**
* To store new permission details into DB. * To store new permission details into DB.
* note : not in use
**/ **/
function addper() function addper()
{ {
@ -431,17 +438,19 @@ class monthlypay extends BaseController
} }
/** /**
* To get permission slip details for listing * To get permission slip details for listing
* note : not in use
*/ */
function permissionlist(){ function permissionlist(){
// $this->global['pageTitle'] = 'Resico : Permission Listing'; // $this->global['pageTitle'] = 'Resico : Permission Listing';
// $this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; // $this->global['pageTitle'] = $this->CompanyName.' : Edit Service Purchase order form';
// $data['permissionlist']=$this->monthlypay_model->perlist(); // $data['permissionlist']=$this->monthlypay_model->perlist();
// $this->loadviews('permissionlist',$this->global,$data,NULL); // $this->loadviews('permissionlist',$this->global,$data,NULL);
} }
/** /**
* To display permissionslip details for PDF * To display permissionslip details for PDF
* note : not in use
*/ */
function permissionpdf($SNO){ function permissionpdf($SNO){
@ -481,8 +490,8 @@ class monthlypay extends BaseController
*/ */
function pageNotFound() function pageNotFound()
{ {
$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -23,6 +23,7 @@ class payslip extends BaseController
$this->load->model('monthlypay_model'); $this->load->model('monthlypay_model');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -53,7 +54,7 @@ class payslip extends BaseController
$Data['Payon'] = $this->payroll_model->getPayOn(); $Data['Payon'] = $this->payroll_model->getPayOn();
$Data['Bank'] = $this->payroll_model->getBankInfo(); $Data['Bank'] = $this->payroll_model->getBankInfo();
//$this->global['pageTitle'] = 'Resico : Bank Report Screen'; //$this->global['pageTitle'] = 'Resico : Bank Report Screen';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Bank Report Screen'; $this->global['pageTitle'] = $this->CompanyName.' : Bank Report';
$this->loadViews("bankreport", $this->global,$Data,NULL); $this->loadViews("bankreport", $this->global,$Data,NULL);
} }
@ -443,7 +444,7 @@ class payslip extends BaseController
$data['loanemployees'] = $this->payroll_model->getEmpDetailsforLoan(); $data['loanemployees'] = $this->payroll_model->getEmpDetailsforLoan();
//$this->global['pageTitle'] = 'Resico : Loan Reports'; //$this->global['pageTitle'] = 'Resico : Loan Reports';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Loan Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Loan Reports';
$this->loadViews("loanreports", $this->global,$data, NULL); $this->loadViews("loanreports", $this->global,$data, NULL);
} }
@ -455,7 +456,7 @@ class payslip extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Payroll Data Upload2'; //$this->global['pageTitle'] = 'Resico : Payroll Data Upload2';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Payroll Data Upload2'; $this->global['pageTitle'] = $this->CompanyName.' : Monthly Payroll Data Upload';
$this->loadViews("payslipupload2", $this->global, NULL); $this->loadViews("payslipupload2", $this->global, NULL);
} }
@ -469,7 +470,7 @@ class payslip extends BaseController
$data['fresh'] = $this-> monthlypay_model->getEmpPayDetailsforMonthInputs($current); $data['fresh'] = $this-> monthlypay_model->getEmpPayDetailsforMonthInputs($current);
$data['dropdownvalue'] = $current; $data['dropdownvalue'] = $current;
//$this->global['pageTitle'] = 'Resico : Payroll Monthly Inputs'; //$this->global['pageTitle'] = 'Resico : Payroll Monthly Inputs';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Payroll Monthly Inputs'; $this->global['pageTitle'] = $this->CompanyName.' : Monthly Payroll Details';
$this->loadViews("monthlypayinputs", $this->global,$data,NULL); $this->loadViews("monthlypayinputs", $this->global,$data,NULL);
@ -491,7 +492,7 @@ class payslip extends BaseController
$data['fresh'] = $this-> monthlypay_model->getEmpPayDetailsforMonthInputs($current); $data['fresh'] = $this-> monthlypay_model->getEmpPayDetailsforMonthInputs($current);
$data['dropdownvalue'] = $current; $data['dropdownvalue'] = $current;
//$this->global['pageTitle'] = 'Resico : Payroll Monthly Inputs'; //$this->global['pageTitle'] = 'Resico : Payroll Monthly Inputs';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Payroll Monthly Inputs'; $this->global['pageTitle'] = $this->CompanyName.' : Monthly Payroll Inputs';
$this->loadViews("monthlypayinputs", $this->global,$data,NULL); $this->loadViews("monthlypayinputs", $this->global,$data,NULL);
@ -658,7 +659,7 @@ class payslip extends BaseController
$curr_month =date('m'); $curr_month =date('m');
$curr_monthyear = $curr_month.'-'.$curr_year; $curr_monthyear = $curr_month.'-'.$curr_year;
//$this->global['pageTitle'] = 'Resico : Payslip Listing'; //$this->global['pageTitle'] = 'Resico : Payslip Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Payslip Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Payslip Details';
$data['PayInfo'] = $this->payroll_model->GetPayslipdata(); $data['PayInfo'] = $this->payroll_model->GetPayslipdata();
$data['dropdownvalue'] = $curr_monthyear; $data['dropdownvalue'] = $curr_monthyear;
$this->loadViews("paysliplist", $this->global, $data , NULL); $this->loadViews("paysliplist", $this->global, $data , NULL);
@ -669,7 +670,7 @@ class payslip extends BaseController
$pre_monthyear = $this->input->post('month'); $pre_monthyear = $this->input->post('month');
//$this->global['pageTitle'] = 'Resico : Payslip Listing'; //$this->global['pageTitle'] = 'Resico : Payslip Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Payslip Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Payslip Details';
$data['PayInfo'] = $this->payroll_model->GetPayslipdata($pre_monthyear); $data['PayInfo'] = $this->payroll_model->GetPayslipdata($pre_monthyear);
$data['dropdownvalue'] = $pre_monthyear; $data['dropdownvalue'] = $pre_monthyear;
@ -682,7 +683,7 @@ class payslip extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Edit Employee Payslip'; //$this->global['pageTitle'] = 'Resico : Edit Employee Payslip';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Employee Payslip'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Payslip';
$data['PayInfo'] = $this->payroll_model->GetPayslipdata($PayOn,$EmpID); $data['PayInfo'] = $this->payroll_model->GetPayslipdata($PayOn,$EmpID);
$this->loadViews("editPayslip", $this->global, $data , NULL); $this->loadViews("editPayslip", $this->global, $data , NULL);
} }
@ -696,7 +697,7 @@ class payslip extends BaseController
$Data['Payon'] = $this->payroll_model->getPayOn(); $Data['Payon'] = $this->payroll_model->getPayOn();
//$this->global['pageTitle'] = 'Resico : Payroll Generater'; //$this->global['pageTitle'] = 'Resico : Payroll Generater';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Payroll Generater'; $this->global['pageTitle'] = $this->CompanyName.' : PaySlip Generater';
$this->loadViews("payslipgenerate", $this->global, $Data , NULL); $this->loadViews("payslipgenerate", $this->global, $Data , NULL);
} }
@ -1089,7 +1090,7 @@ class payslip extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Incentive and Bonus Reports'; //$this->global['pageTitle'] = 'Resico : Incentive and Bonus Reports';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Incentive and Bonus Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Incentive and Bonus Reports';
$fin_year = $this->input->post('finyear'); $fin_year = $this->input->post('finyear');
$data['finyear'] = $fin_year; $data['finyear'] = $fin_year;
$data['Reportvalue'] = $this->monthlypay_model->reportvalue($fin_year); $data['Reportvalue'] = $this->monthlypay_model->reportvalue($fin_year);
@ -1103,7 +1104,7 @@ class payslip extends BaseController
$Fin_year = $_GET['Finyear']; $Fin_year = $_GET['Finyear'];
$data['finyear'] = $Fin_year; $data['finyear'] = $Fin_year;
//$this->global['pageTitle'] = 'Resico : Monthwise Incentive and Bonus Reports'; //$this->global['pageTitle'] = 'Resico : Monthwise Incentive and Bonus Reports';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Monthwise Incentive and Bonus Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Monthwise Incentive and Bonus Reports';
$data['MonthwiseReport'] = $this->monthlypay_model->Monthwisereportvalue($Fin_year,$EmployeeID); $data['MonthwiseReport'] = $this->monthlypay_model->Monthwisereportvalue($Fin_year,$EmployeeID);
$this->loadViews("Bonusreportmonthwise", $this->global,$data,NULL); $this->loadViews("Bonusreportmonthwise", $this->global,$data,NULL);
} }
@ -1114,7 +1115,7 @@ class payslip extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -24,6 +24,7 @@ class purchaseorder extends BaseController
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->load->model('requistion_model'); $this->load->model('requistion_model');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -32,14 +33,17 @@ class purchaseorder extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Resico : AddPO'; //$this->global['pageTitle'] = 'Resico : AddPO';
$this->global['pageTitle'] = $this->global['CompanyName'].' : AddPO'; $this->global['pageTitle'] = $this->CompanyName.' : AddPO';
$this->loadViews("addPO", $this->global, NULL , NULL); $this->loadViews("addPO", $this->global, NULL , NULL);
} }
/**
* note : not in use
*/
function viewfullpurchaseorder() function viewfullpurchaseorder()
{ {
//$this->global['pageTitle'] = 'Resico : View Purchase Order'; //$this->global['pageTitle'] = 'Resico : View Purchase Order';
$this->global['pageTitle'] = $this->global['CompanyName'].' : View Purchase Order'; $this->global['pageTitle'] = $this->CompanyName.' : View Purchase Order';
$this->loadViews("viewfullpurchaseorder", $this->global,Null); $this->loadViews("viewfullpurchaseorder", $this->global,Null);
} }
@ -50,7 +54,7 @@ class purchaseorder extends BaseController
function advancerequest() function advancerequest()
{ {
//$this->global['pageTitle'] = 'Resico : Advance Request'; //$this->global['pageTitle'] = 'Resico : Advance Request';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Advance Request'; $this->global['pageTitle'] = $this->CompanyName.' : Advance Request';
$data['PONO']=$this->purchaseorder_model->getadvancePONO('ST026'); $data['PONO']=$this->purchaseorder_model->getadvancePONO('ST026');
$this->loadViews("advancerequest", $this->global, $data, NULL); $this->loadViews("advancerequest", $this->global, $data, NULL);
} }
@ -69,7 +73,7 @@ class purchaseorder extends BaseController
/* End Here */ /* End Here */
//$this->global['pageTitle'] = 'Resico : Create PO from Requisition List'; //$this->global['pageTitle'] = 'Resico : Create PO from Requisition List';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Create PO from Requisition List'; $this->global['pageTitle'] = $this->CompanyName.' : Create PO from Requisition List';
$this->loadViews("createPOfromRequistion", $this->global, $data,Null); $this->loadViews("createPOfromRequistion", $this->global, $data,Null);
} }
@ -86,7 +90,7 @@ class purchaseorder extends BaseController
$data['POData'] = $this->purchaseorder_model->purchaseorderListing(); $data['POData'] = $this->purchaseorder_model->purchaseorderListing();
//$this->global['pageTitle'] = 'Resico : Purchase Orders'; //$this->global['pageTitle'] = 'Resico : Purchase Orders';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Purchase Orders'; $this->global['pageTitle'] = $this->CompanyName.' : Purchase Orders';
$this->loadViews("POlist", $this->global, $data, NULL); $this->loadViews("POlist", $this->global, $data, NULL);
} }
@ -124,7 +128,7 @@ class purchaseorder extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Purchase order' ; //$this->global['pageTitle'] = 'Resico : Purchase order' ;
$this->global['pageTitle'] = $this->global['CompanyName'].' : Purchase order' ; $this->global['pageTitle'] = $this->CompanyName.' : Purchase order' ;
$data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006');
$data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018'); $data['FreightType'] = $this->purchaseorder_model->getConfigValue('C018');
$data['Suplist'] = $this->purchaseorder_model->getSupplierName(); $data['Suplist'] = $this->purchaseorder_model->getSupplierName();
@ -411,7 +415,7 @@ class purchaseorder extends BaseController
$data['WorkStatus']=$this->purchaseorder_model->getStatus(7); $data['WorkStatus']=$this->purchaseorder_model->getStatus(7);
//$this->global['pageTitle'] = 'Resico : Edit Service Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Service Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Service Purchase order form';
$this->loadViews("EditservicePurchaseorder", $this->global, $data, NULL); $this->loadViews("EditservicePurchaseorder", $this->global, $data, NULL);
} }
else if($ReqType == REVENUE) else if($ReqType == REVENUE)
@ -421,7 +425,7 @@ class purchaseorder extends BaseController
$data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO); $data['PaymentTerms']=$this->purchaseorder_model->GetPaymentTerms($PONO);
$data['WorkStatus']=$this->purchaseorder_model->getStatus(7); $data['WorkStatus']=$this->purchaseorder_model->getStatus(7);
//$this->global['pageTitle'] = 'Resico : Edit Revenue Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Revenue Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Revenue Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Revenue Purchase order form';
$this->loadViews("editRevenuepurchaseorder", $this->global, $data, NULL); $this->loadViews("editRevenuepurchaseorder", $this->global, $data, NULL);
} }
@ -461,7 +465,7 @@ class purchaseorder extends BaseController
$data['unicode']=$unicode; $data['unicode']=$unicode;
$data['currencycode']=$currencycode; $data['currencycode']=$currencycode;
//$this->global['pageTitle'] = 'Resico : Edit Import Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Import Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Import Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Import Purchase order form';
$this->loadViews("editimportpo", $this->global, $data, NULL); $this->loadViews("editimportpo", $this->global, $data, NULL);
} }
else if($ReqType == CAPITAL) else if($ReqType == CAPITAL)
@ -512,7 +516,7 @@ class purchaseorder extends BaseController
// $this->global['pageTitle'] = 'Resico : Edit Capital Purchase order form'; // $this->global['pageTitle'] = 'Resico : Edit Capital Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Capital Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Capital Purchase order form';
$this->loadViews("editCapitalPo", $this->global, $data, NULL); $this->loadViews("editCapitalPo", $this->global, $data, NULL);
} }
@ -646,7 +650,7 @@ class purchaseorder extends BaseController
$data['unicode']=$unicode; $data['unicode']=$unicode;
$data['currencycode']=$currencycode; $data['currencycode']=$currencycode;
//$this->global['pageTitle'] = 'Resico : Edit Import Purchase order form'; //$this->global['pageTitle'] = 'Resico : Edit Import Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Import Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Import Purchase order form';
$this->loadViews("editimportpo", $this->global, $data, NULL); $this->loadViews("editimportpo", $this->global, $data, NULL);
} }
@ -702,7 +706,7 @@ class purchaseorder extends BaseController
// $this->global['pageTitle'] = 'Resico : Edit Capital Purchase order form'; // $this->global['pageTitle'] = 'Resico : Edit Capital Purchase order form';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Capital Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Capital Purchase order form';
$this->loadViews("editCapitalPo", $this->global, $data, NULL); $this->loadViews("editCapitalPo", $this->global, $data, NULL);
} }
@ -1233,7 +1237,7 @@ class purchaseorder extends BaseController
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }
@ -2054,7 +2058,7 @@ function addNewImportPurchaseOrder()
function poapproval(){ function poapproval(){
$q="APPROVAL"; $q="APPROVAL";
//$this->global['pageTitle'] = 'Resico : Purchase Order Approval'; //$this->global['pageTitle'] = 'Resico : Purchase Order Approval';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Purchase Order Approval'; $this->global['pageTitle'] = $this->CompanyName.' : Purchase Order Approval';
$userID = $this->session->userdata ( 'userId' ); $userID = $this->session->userdata ( 'userId' );
@ -2126,7 +2130,7 @@ function addNewImportPurchaseOrder()
$q="RELEASE"; $q="RELEASE";
//$this->global['pageTitle'] = 'Resico: Purchase Order Release'; //$this->global['pageTitle'] = 'Resico: Purchase Order Release';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Purchase Order Release'; $this->global['pageTitle'] = $this->CompanyName.' : Purchase Order Release';
$userID = $this->session->userdata ( 'userId' ); $userID = $this->session->userdata ( 'userId' );

View File

@ -20,6 +20,7 @@ class quality extends BaseController
$this->load->model('quality_model'); $this->load->model('quality_model');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -31,8 +32,8 @@ class quality extends BaseController
$data['customers'] = $this->quality_model->getAllcustomers(); $data['customers'] = $this->quality_model->getAllcustomers();
$data['existspec'] = $this->quality_model->getAllspec(); $data['existspec'] = $this->quality_model->getAllspec();
$data['existspecinward'] = $this->quality_model->getAllspecInward(); $data['existspecinward'] = $this->quality_model->getAllspecInward();
$this->global['pageTitle'] = 'Resico : Quality Master'; // $this->global['pageTitle'] = 'Resico : Quality Master';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Quality Master';
$this->loadViews("qualitymasterlistview", $this->global, $data , NULL); $this->loadViews("qualitymasterlistview", $this->global, $data , NULL);
} }
@ -42,8 +43,8 @@ class quality extends BaseController
public function reportList() public function reportList()
{ {
$data['records'] = $this->quality_model->getTestMasterforList(); $data['records'] = $this->quality_model->getTestMasterforList();
$this->global['pageTitle'] = 'Resico : Prodcut Report List '; // $this->global['pageTitle'] = 'Resico : Prodcut Report List ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Report List';
$this->loadViews("reportmasterlist", $this->global, $data , NULL); $this->loadViews("reportmasterlist", $this->global, $data , NULL);
} }
@ -54,8 +55,8 @@ class quality extends BaseController
{ {
$data['records'] = $this->quality_model->getTestMasterforListInward(); $data['records'] = $this->quality_model->getTestMasterforListInward();
$this->global['pageTitle'] = 'Resico : Report List Inward'; //$this->global['pageTitle'] = 'Resico : Report List Inward';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Report List Inward';
$this->loadViews("reportmasterlist_inward", $this->global, $data , NULL); $this->loadViews("reportmasterlist_inward", $this->global, $data , NULL);
} }
@ -69,8 +70,8 @@ class quality extends BaseController
$data['productsinward'] = $this->quality_model->getAllprodcutsInward(); $data['productsinward'] = $this->quality_model->getAllprodcutsInward();
$data['customersinward'] = $this->quality_model->getAllcustomersInward(); $data['customersinward'] = $this->quality_model->getAllcustomersInward();
$this->global['pageTitle'] = 'Resico : Quality Master'; //$this->global['pageTitle'] = 'Resico : Quality Master';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Quality Master';
$this->loadViews("qualitymaster", $this->global, $data , NULL); $this->loadViews("qualitymaster", $this->global, $data , NULL);
} }
@ -147,8 +148,8 @@ class quality extends BaseController
$data['records'] = $this->quality_model->getDataforReport(); $data['records'] = $this->quality_model->getDataforReport();
$data['emplist'] = $this->quality_model->getEmplistforReport(); $data['emplist'] = $this->quality_model->getEmplistforReport();
$this->global['pageTitle'] = 'Resico : Inspection Report Screen'; //$this->global['pageTitle'] = 'Resico : Inspection Report Screen';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Inspection Report Screen';
$this->loadViews("qualityreport", $this->global, $data, NULL); $this->loadViews("qualityreport", $this->global, $data, NULL);
} }
@ -160,8 +161,8 @@ class quality extends BaseController
$prodcutid = $this->uri->segment(3); $prodcutid = $this->uri->segment(3);
$customerid =$this->uri->segment(4); $customerid =$this->uri->segment(4);
$data['specifications'] = $this->quality_model->getIndividualSpec($prodcutid,$customerid); $data['specifications'] = $this->quality_model->getIndividualSpec($prodcutid,$customerid);
$this->global['pageTitle'] = 'Resico : View reports Lists'; //$this->global['pageTitle'] = 'Resico : View reports Lists';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : View reports Lists';
$this->loadViews("viewIndSpec", $this->global, $data, NULL); $this->loadViews("viewIndSpec", $this->global, $data, NULL);
} }
@ -173,8 +174,8 @@ class quality extends BaseController
{ {
$reportid = $this->uri->segment(3); $reportid = $this->uri->segment(3);
$data['reportdata'] = $this->quality_model->getIndividualReportData($reportid); $data['reportdata'] = $this->quality_model->getIndividualReportData($reportid);
$this->global['pageTitle'] = 'Resico : View Individual Report'; //$this->global['pageTitle'] = 'Resico : View Individual Report';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : View Individual Report';
$this->loadViews("viewindreport", $this->global, $data, NULL); $this->loadViews("viewindreport", $this->global, $data, NULL);
} }
@ -184,8 +185,8 @@ class quality extends BaseController
$reportid = $this->uri->segment(3); $reportid = $this->uri->segment(3);
$data['reportdata'] = $this->quality_model->getIndividualInwardReportData($reportid); $data['reportdata'] = $this->quality_model->getIndividualInwardReportData($reportid);
$this->global['pageTitle'] = 'Resico : View Individual Report'; //$this->global['pageTitle'] = 'Resico : View Individual Report';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : View Individual Report';
$this->loadViews("viewindInwardreport", $this->global, $data, NULL); $this->loadViews("viewindInwardreport", $this->global, $data, NULL);
} }
@ -430,8 +431,8 @@ class quality extends BaseController
$data['records'] = $this->quality_model->getIGRNOforReport(); $data['records'] = $this->quality_model->getIGRNOforReport();
$data['reports'] = $this->quality_model->getIGRNOReport(); $data['reports'] = $this->quality_model->getIGRNOReport();
$data['emplist'] = $this->quality_model->getEmplistforReport(); $data['emplist'] = $this->quality_model->getEmplistforReport();
$this->global['pageTitle'] = 'Resico : Inward Inspection'; //$this->global['pageTitle'] = 'Resico : Inward Inspection';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Inward Inspection';
$this->loadViews("inward_report_create", $this->global,$data,NULL); $this->loadViews("inward_report_create", $this->global,$data,NULL);
} }
@ -459,8 +460,8 @@ class quality extends BaseController
*/ */
function pageNotFound() function pageNotFound()
{ {
$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.': 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -23,6 +23,7 @@ class rawmaterialdetails extends BaseController
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->load->library('Excel'); $this->load->library('Excel');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -30,8 +31,8 @@ class rawmaterialdetails extends BaseController
*/ */
public function index() public function index()
{ {
$this->global['pageTitle'] = 'Resico : RawMaterialDetails'; //$this->global['pageTitle'] = 'Resico : RawMaterialDetails';
$this->global['pageTitle'] = $this->global['CompanyName'].' : RawMaterialDetails'; $this->global['pageTitle'] = $this->CompanyName.' : RawMaterialDetails';
$this->loadViews("rawmaterialListing", $this->global, NULL , NULL); $this->loadViews("rawmaterialListing", $this->global, NULL , NULL);
} }
@ -47,7 +48,7 @@ class rawmaterialdetails extends BaseController
$data['userRecords'] = $this->rawmaterialdetails_model->rawmaterialListing(); $data['userRecords'] = $this->rawmaterialdetails_model->rawmaterialListing();
//$this->global['pageTitle'] = 'Resico : RawMaterial Listing'; //$this->global['pageTitle'] = 'Resico : RawMaterial Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : RawMaterial Listing'; $this->global['pageTitle'] = $this->CompanyName.' : RawMaterial Listing';
$this->loadViews("rawmaterialListing", $this->global, $data, NULL); $this->loadViews("rawmaterialListing", $this->global, $data, NULL);
@ -67,7 +68,7 @@ class rawmaterialdetails extends BaseController
$data['costcentercode'] =$this->rawmaterialdetails_model->getcostcentercode(); $data['costcentercode'] =$this->rawmaterialdetails_model->getcostcentercode();
$data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM(); $data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM();
//$this->global['pageTitle'] = 'Resico : Add New RawMaterial'; //$this->global['pageTitle'] = 'Resico : Add New RawMaterial';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add New RawMaterial'; $this->global['pageTitle'] = $this->CompanyName.' : Add New RawMaterial';
$this->loadViews("addRawMaterial", $this->global, $data, NULL); $this->loadViews("addRawMaterial", $this->global, $data, NULL);
} }
@ -258,7 +259,7 @@ else
$data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM(); $data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM();
$data['assetcode'] = $this->rawmaterialdetails_model->getAssetcode(); $data['assetcode'] = $this->rawmaterialdetails_model->getAssetcode();
//$this->global['pageTitle'] = 'Resico : Edit Material Master'; //$this->global['pageTitle'] = 'Resico : Edit Material Master';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Material Master'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Material Master';
$this->loadViews("editRawmaterial", $this->global,$data, NULL); $this->loadViews("editRawmaterial", $this->global,$data, NULL);
} }
@ -529,7 +530,7 @@ function insertvalueintoconfig(){
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -19,11 +19,12 @@ class report extends BaseController
parent::__construct(); parent::__construct();
$this->load->model('dahsboard_Model'); $this->load->model('dahsboard_Model');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
public function pending_report() public function pending_report()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
@ -62,7 +63,7 @@ class report extends BaseController
public function releasedPO() public function releasedPO()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
@ -102,7 +103,7 @@ class report extends BaseController
public function openorderPO() public function openorderPO()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
@ -217,7 +218,7 @@ class report extends BaseController
} }
public function MM_ReceiptValue() public function MM_ReceiptValue()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
@ -250,7 +251,7 @@ class report extends BaseController
public function purchase() public function purchase()
{ {
$this->global['pageTitle'] = 'Resico : Reports '; $this->global['pageTitle'] = $this->CompanyName.' : Reports ';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$prod = $this->input->post('item_name'); $prod = $this->input->post('item_name');
@ -281,7 +282,7 @@ class report extends BaseController
{ {
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$prod = $this->input->post('item_name'); $prod = $this->input->post('item_name');
@ -299,7 +300,7 @@ class report extends BaseController
} else{ } else{
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$cname = $this->input->get('cname'); $cname = $this->input->get('cname');
$prod = $this->input->get('prod'); $prod = $this->input->get('prod');
@ -326,7 +327,7 @@ class report extends BaseController
} }
public function year_wise() public function year_wise()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('financialyear')) { if ($this->input->post('financialyear')) {
@ -348,7 +349,7 @@ class report extends BaseController
public function month_wise() public function month_wise()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$month=$this->input->get('dat'); $month=$this->input->get('dat');
@ -363,7 +364,7 @@ class report extends BaseController
public function year_wise_total() public function year_wise_total()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$last = $this->uri->total_segments(); $last = $this->uri->total_segments();
$month=$this->uri->segment($last); $month=$this->uri->segment($last);
@ -380,7 +381,7 @@ class report extends BaseController
public function purchase_supplier() public function purchase_supplier()
{ {
$this->global['pageTitle'] = 'Resico : Supplier-wise Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Supplier-wise Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$ab=$this->input->post('financialyear'); $ab=$this->input->post('financialyear');
@ -406,7 +407,7 @@ class report extends BaseController
public function consolidate() public function consolidate()
{ {
$this->global['pageTitle'] = 'Resico : Consolidated Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Consolidated Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$ab=$this->input->post('financialyear'); $ab=$this->input->post('financialyear');
@ -433,7 +434,7 @@ class report extends BaseController
public function consolidate_month() public function consolidate_month()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$sid=$this->input->get('sid'); $sid=$this->input->get('sid');
$mid = $this->input->get('mid'); $mid = $this->input->get('mid');
$cname = $this->input->get('cname'); $cname = $this->input->get('cname');
@ -453,7 +454,7 @@ class report extends BaseController
public function consolidate_year() public function consolidate_year()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$sid=$this->input->get('sid'); $sid=$this->input->get('sid');
$mid = $this->input->get('mid'); $mid = $this->input->get('mid');
$cname = $this->input->get('cname'); $cname = $this->input->get('cname');
@ -474,7 +475,7 @@ class report extends BaseController
public function cumulative() public function cumulative()
{ {
$this->global['pageTitle'] = 'Resico : Cumulative Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cumulative Reports';
//print_r($prod); //print_r($prod);
@ -486,7 +487,7 @@ class report extends BaseController
public function cum_month() public function cum_month()
{ {
$this->global['pageTitle'] = 'Resico : Cumulative Month-wise Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cumulative Month-wise Reports';
$last = $this->uri->segment_array(); $last = $this->uri->segment_array();
$sup = $last[3]; $sup = $last[3];
@ -502,7 +503,7 @@ class report extends BaseController
public function cum_year() public function cum_year()
{ {
$this->global['pageTitle'] = 'Resico : Cumulative Year-wise Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cumulative Year-wise Reports';
$last = $this->uri->segment_array(); $last = $this->uri->segment_array();
$sup = $last[3]; $sup = $last[3];
@ -518,7 +519,7 @@ class report extends BaseController
public function cum_day() public function cum_day()
{ {
$this->global['pageTitle'] = 'Resico : Cumulative Day-wise Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cumulative Day-wise Reports';
$last = $this->uri->segment_array(); $last = $this->uri->segment_array();
$sup = $last[3]; $sup = $last[3];
@ -533,7 +534,7 @@ class report extends BaseController
public function ipurchase() public function ipurchase()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$prod = $this->input->post('item_name'); $prod = $this->input->post('item_name');
@ -567,7 +568,7 @@ class report extends BaseController
{ {
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$prod = $this->input->post('item_name'); $prod = $this->input->post('item_name');
@ -585,7 +586,7 @@ class report extends BaseController
} else{ } else{
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$cname = $this->input->get('cname'); $cname = $this->input->get('cname');
$cat = $this->input->get('cat'); $cat = $this->input->get('cat');
@ -612,7 +613,7 @@ class report extends BaseController
} }
public function iyear_wise() public function iyear_wise()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('financialyear')) { if ($this->input->post('financialyear')) {
@ -633,7 +634,7 @@ class report extends BaseController
public function imonth_wise() public function imonth_wise()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$month=$this->input->get('dat'); $month=$this->input->get('dat');
@ -647,7 +648,7 @@ class report extends BaseController
public function iyear_wise_total() public function iyear_wise_total()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$last = $this->uri->total_segments(); $last = $this->uri->total_segments();
$month=$this->uri->segment($last); $month=$this->uri->segment($last);
@ -663,7 +664,7 @@ class report extends BaseController
public function ipurchase_supplier() public function ipurchase_supplier()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$ab=$this->input->post('financialyear'); $ab=$this->input->post('financialyear');
@ -694,7 +695,7 @@ class report extends BaseController
public function iconsolidate() public function iconsolidate()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
$ab=$this->input->post('financialyear'); $ab=$this->input->post('financialyear');
@ -717,7 +718,7 @@ class report extends BaseController
public function i_consolidate_month() public function i_consolidate_month()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$sid=$this->input->get('sid'); $sid=$this->input->get('sid');
$mid = $this->input->get('mid'); $mid = $this->input->get('mid');
@ -742,7 +743,7 @@ class report extends BaseController
public function i_consolidate_year() public function i_consolidate_year()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$sid=$this->input->get('sid'); $sid=$this->input->get('sid');
$mid = $this->input->get('mid'); $mid = $this->input->get('mid');
@ -765,7 +766,7 @@ class report extends BaseController
public function icumulative() public function icumulative()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//print_r($prod); //print_r($prod);
@ -778,7 +779,7 @@ class report extends BaseController
public function icum_month() public function icum_month()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$last = $this->uri->segment_array(); $last = $this->uri->segment_array();
$sup = $last[3]; $sup = $last[3];
@ -792,7 +793,7 @@ class report extends BaseController
public function icum_year() public function icum_year()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$last = $this->uri->segment_array(); $last = $this->uri->segment_array();
$sup = $last[3]; $sup = $last[3];
@ -807,7 +808,7 @@ class report extends BaseController
public function icum_day() public function icum_day()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$last = $this->uri->segment_array(); $last = $this->uri->segment_array();
$sup = $last[3]; $sup = $last[3];
@ -822,7 +823,7 @@ class report extends BaseController
public function rawi_cumulative() public function rawi_cumulative()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//print_r($prod); //print_r($prod);
@ -833,7 +834,7 @@ class report extends BaseController
public function rawi_cum_year() public function rawi_cum_year()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$mat=$this->input->get('mid'); //$mat=$this->input->get('mid');
$cat=$this->input->get('cat'); $cat=$this->input->get('cat');
//print_r($sup); //print_r($sup);
@ -845,7 +846,7 @@ class report extends BaseController
public function rawi_cum_month() public function rawi_cum_month()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$mat=$this->input->get('mid'); //$mat=$this->input->get('mid');
$cat=$this->input->get('cat'); $cat=$this->input->get('cat');
@ -858,7 +859,7 @@ class report extends BaseController
public function rawi_cum_day() public function rawi_cum_day()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$mat=$this->input->get('mid'); //$mat=$this->input->get('mid');
$cat=$this->input->get('cat'); $cat=$this->input->get('cat');
//print_r($prod); //print_r($prod);
@ -870,7 +871,7 @@ class report extends BaseController
public function rawi_consolidate() public function rawi_consolidate()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
$cname = $this->input->post('client_name'); $cname = $this->input->post('client_name');
@ -895,7 +896,7 @@ class report extends BaseController
public function rawi_consolidate_month() public function rawi_consolidate_month()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$cat = $this->input->get('cat'); $cat = $this->input->get('cat');
$sup = $this->input->get('sup'); $sup = $this->input->get('sup');
@ -917,7 +918,7 @@ class report extends BaseController
public function rawi_consolidate_year() public function rawi_consolidate_year()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit'); //$this->input->post('btn_submit');
$cat = $this->input->get('cat'); $cat = $this->input->get('cat');
$sup = $this->input->get('sup'); $sup = $this->input->get('sup');
@ -939,7 +940,7 @@ class report extends BaseController
public function pending_purchase() public function pending_purchase()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
if ($this->input->post('btn_submit')) { if ($this->input->post('btn_submit')) {
@ -985,7 +986,7 @@ class report extends BaseController
public function per() public function per()
{ {
$this->global['pageTitle'] = 'Resico : Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Reports';
$ab=$this->input->post('financialyear'); $ab=$this->input->post('financialyear');
@ -1007,7 +1008,7 @@ class report extends BaseController
public function cashbook() public function cashbook()
{ {
$this->global['pageTitle'] = 'Resico : Cashbook Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Reports';
$income="RECEIPT"; $income="RECEIPT";
$expense="PAYMENT"; $expense="PAYMENT";
@ -1043,7 +1044,7 @@ class report extends BaseController
public function daily_incexp() public function daily_incexp()
{ {
$this->global['pageTitle'] = 'Resico : Cashbook Daily Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Daily Reports';
$data['tdy']=$this->dahsboard_Model->today(); $data['tdy']=$this->dahsboard_Model->today();
//$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol(); //$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
@ -1060,14 +1061,14 @@ class report extends BaseController
//public function monthexpenses() //public function monthexpenses()
public function load_monthly_incexp() public function load_monthly_incexp()
{ $data['monthyearvalue'] = ''; { $data['monthyearvalue'] = '';
$this->global['pageTitle'] = 'Resico : Cashbook Monthly Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Monthly Reports';
$this->loadviews("cashbookmthlyreport",$this->global,$data, NULL); $this->loadviews("cashbookmthlyreport",$this->global,$data, NULL);
} }
public function monthly_incexp() public function monthly_incexp()
{ {
$monthyearvalue = $this->input->post('monthyear'); $monthyearvalue = $this->input->post('monthyear');
$this->global['pageTitle'] = 'Resico : Cashbook Monthly Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Monthly Reports';
if($monthyearvalue == ''){ if($monthyearvalue == ''){
@ -1104,7 +1105,7 @@ class report extends BaseController
public function yearly_incexp() public function yearly_incexp()
{ {
$this->global['pageTitle'] = 'Resico : Cashbook Yearly Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Yearly Reports';
$data['financialyear']=$this->dahsboard_Model->cashbookfinyear(); $data['financialyear']=$this->dahsboard_Model->cashbookfinyear();
@ -1146,7 +1147,7 @@ class report extends BaseController
$c=$_GET['c']; $c=$_GET['c'];
if ($c=='PAYMENT') if ($c=='PAYMENT')
{ {
$this->global['pageTitle'] = 'Resico : PaymentWise Reports'; $this->global['pageTitle'] = $this->CompanyName.' : PaymentWise Reports';
$data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d,$c); $data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d,$c);
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol(); $data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
@ -1155,7 +1156,7 @@ class report extends BaseController
//cashbookmonthlydep=>cashbookmthlypaydep //cashbookmonthlydep=>cashbookmthlypaydep
} }
else{ else{
$this->global['pageTitle'] = 'Resico : ReceiptWise Reports'; $this->global['pageTitle'] = $this->CompanyName.' : ReceiptWise Reports';
$data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d,$c); $data['departmentwise']=$this->dahsboard_Model->departmentwise($sid,$d,$c);
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol(); $data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
$this->loadviews("cashbookmthlyrecdep",$this->global,$data, NULL); $this->loadviews("cashbookmthlyrecdep",$this->global,$data, NULL);
@ -1167,7 +1168,7 @@ class report extends BaseController
{ {
$sid=$_GET['sid']; $sid=$_GET['sid'];
//$this->global['pageTitle'] = 'Cashbook - yearmonthwise - '; //$this->global['pageTitle'] = 'Cashbook - yearmonthwise - ';
$this->global['pageTitle'] = 'Resico : Cashbook Yearly Reports'; $this->global['pageTitle'] = $this->CompanyName.' : Cashbook Yearly Reports';
$data['yearmonthwise']=$this->dahsboard_Model->yearmonthwise($sid); $data['yearmonthwise']=$this->dahsboard_Model->yearmonthwise($sid);
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol(); $data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();

View File

@ -11,6 +11,7 @@ require APPPATH . '/libraries/BaseController.php';
*/ */
class reportlistcontroller extends BaseController class reportlistcontroller extends BaseController
{ {
/** /**
* Default constructor of the class * Default constructor of the class
*/ */
@ -20,6 +21,7 @@ class reportlistcontroller extends BaseController
$this->load->model('user_model'); $this->load->model('user_model');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -28,7 +30,7 @@ class reportlistcontroller extends BaseController
public function index() public function index()
{ {
//$this->global['pageTitle'] = 'Reports list '; //$this->global['pageTitle'] = 'Reports list ';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Reports list '; $this->global['pageTitle'] = $this->CompanyName.' : Reports list ';
$this->loadViews("reportslink", $this->global , NULL); $this->loadViews("reportslink", $this->global , NULL);
} }

View File

@ -21,6 +21,7 @@ class requisitionform extends BaseController
$this->load->library('session'); $this->load->library('session');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
* To load the Requistion Listing screen * To load the Requistion Listing screen
@ -28,7 +29,7 @@ class requisitionform extends BaseController
function requisitionlisting() function requisitionlisting()
{ {
//$this->global['pageTitle'] = 'Resico : Requisition Listing'; //$this->global['pageTitle'] = 'Resico : Requisition Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Requisition Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Requisition Listing';
$userID = $this->session->userdata ( 'userId' ); $userID = $this->session->userdata ( 'userId' );
// $data['ReqList'] = $this->requistion_model->getRequistListUserID($userID); // $data['ReqList'] = $this->requistion_model->getRequistListUserID($userID);
$data['Status'] = $this->requistion_model->CheckDraftStatus($userID); $data['Status'] = $this->requistion_model->CheckDraftStatus($userID);
@ -42,7 +43,7 @@ class requisitionform extends BaseController
function requisition() function requisition()
{ {
//$this->global['pageTitle'] = 'Resico : Raise Requisition'; //$this->global['pageTitle'] = 'Resico : Raise Requisition';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Raise Requisition'; $this->global['pageTitle'] = $this->CompanyName.' : Raise Requisition';
$data['RequestType'] = $this->requistion_model->getConfigValue('C020'); $data['RequestType'] = $this->requistion_model->getConfigValue('C020');
$data['EmpList'] = $this->requistion_model->getAllEmployees(); $data['EmpList'] = $this->requistion_model->getAllEmployees();
@ -61,7 +62,7 @@ class requisitionform extends BaseController
function requisitionlistApproval() function requisitionlistApproval()
{ {
//$this->global['pageTitle'] = 'Resico : Requisition Approval'; //$this->global['pageTitle'] = 'Resico : Requisition Approval';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Requisition Approval'; $this->global['pageTitle'] = $this->CompanyName.' : Requisition Approval';
$data['Status']= $this->requistion_model->getStatus(); $data['Status']= $this->requistion_model->getStatus();
$userID = $this->session->userdata ( 'userId' ); $userID = $this->session->userdata ( 'userId' );
@ -77,7 +78,7 @@ class requisitionform extends BaseController
function EditRequistionForm() function EditRequistionForm()
{ {
//$this->global['pageTitle'] = 'Resico : Edit Requisition'; //$this->global['pageTitle'] = 'Resico : Edit Requisition';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Requisition'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Requisition';
$ReqNo= $_GET['ReqNo']; $ReqNo= $_GET['ReqNo'];
$ReqType= $_GET['ReqType']; $ReqType= $_GET['ReqType'];
@ -194,7 +195,7 @@ class requisitionform extends BaseController
$data['AppList'] = $this->requistion_model->getApproverRequistList($userID,$Status,$FromDate, $ToDate); $data['AppList'] = $this->requistion_model->getApproverRequistList($userID,$Status,$FromDate, $ToDate);
//$this->global['pageTitle'] = 'Resico : Requisition Approval'; //$this->global['pageTitle'] = 'Resico : Requisition Approval';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Requisition Approval'; $this->global['pageTitle'] = $this->CompanyName.' : Requisition Approval';
$data['Status']= $this->requistion_model->getStatus(); $data['Status']= $this->requistion_model->getStatus();
@ -627,7 +628,7 @@ function ViewRequest()
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }
} }

View File

@ -25,6 +25,7 @@ class servicepurchaseorder extends BaseController
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->load->model('requistion_model'); $this->load->model('requistion_model');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -33,8 +34,8 @@ class servicepurchaseorder extends BaseController
function viewServicePOReportForBilling() function viewServicePOReportForBilling()
{ {
$this->global['pageTitle'] = 'Resico : Service Purchase Order for Billing'; //$this->global['pageTitle'] = 'Resico : Service Purchase Order for Billing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.': Service Purchase Order';
$data["Billing"] = $this->purchaseorder_model->GetServicePOListforBilling(); $data["Billing"] = $this->purchaseorder_model->GetServicePOListforBilling();
@ -47,8 +48,8 @@ class servicepurchaseorder extends BaseController
*/ */
function UpdateServicePOStatus() function UpdateServicePOStatus()
{ {
$this->global['pageTitle'] = 'Resico : Update Service PO Status'; // $this->global['pageTitle'] = 'Resico : Update Service PO Status';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Update Service PO Status';
$data['PO'] = $this->purchaseorder_model->GetServicePOListforStatusUpdate(); $data['PO'] = $this->purchaseorder_model->GetServicePOListforStatusUpdate();
$data['WorkStatus']=$this->purchaseorder_model->getStatus(7); $data['WorkStatus']=$this->purchaseorder_model->getStatus(7);
$this->loadViews("statusofservicepurchaseorder", $this->global,$data,Null); $this->loadViews("statusofservicepurchaseorder", $this->global,$data,Null);
@ -492,7 +493,7 @@ class servicepurchaseorder extends BaseController
function pageNotFound() function pageNotFound()
{ {
$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; $this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit Service Purchase order form'; $this->global['pageTitle'] = $this->CompanyName.' : Edit Service Purchase order form';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -21,6 +21,7 @@ class storerequisitionlist extends BaseController
$this->load->library('session'); $this->load->library('session');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
@ -30,7 +31,7 @@ class storerequisitionlist extends BaseController
function addstores() function addstores()
{ {
//$this->global['pageTitle'] = 'Resico : Created Store Requisition Listing'; //$this->global['pageTitle'] = 'Resico : Created Store Requisition Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Raise Store Requisition'; $this->global['pageTitle'] = $this->CompanyName.' : Raise Store Requisition';
$userId= $this->session->userdata ('userId'); $userId= $this->session->userdata ('userId');
@ -49,7 +50,7 @@ class storerequisitionlist extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : StoreRequisition Listing'; //$this->global['pageTitle'] = 'Resico : StoreRequisition Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Store Requisition Details'; $this->global['pageTitle'] = $this->CompanyName.' : Store Requisition Details';
$userId= $this->session->userdata ('userId'); $userId= $this->session->userdata ('userId');
$data['Store'] = $this->storerequistion_model->Storeall($userId); $data['Store'] = $this->storerequistion_model->Storeall($userId);
@ -82,7 +83,7 @@ class storerequisitionlist extends BaseController
$StoreReqNo = $_GET['StoreReqNo']; $StoreReqNo = $_GET['StoreReqNo'];
//$this->global['pageTitle'] = 'Resico : Edit StoreRequisition'; //$this->global['pageTitle'] = 'Resico : Edit StoreRequisition';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit StoreRequisition'; $this->global['pageTitle'] = $this->CompanyName.' : Edit StoreRequisition';
$this->load->model('storerequistion_model'); $this->load->model('storerequistion_model');
$data['cost'] = $this->storerequistion_model->editRequistDetails($StoreReqNo); $data['cost'] = $this->storerequistion_model->editRequistDetails($StoreReqNo);
@ -181,7 +182,7 @@ class storerequisitionlist extends BaseController
function addstorerequisitionlist() function addstorerequisitionlist()
{ {
//$this->global['pageTitle'] = 'Resico : Store Requisition Listing'; //$this->global['pageTitle'] = 'Resico : Store Requisition Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Store Requisition Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Store Requisition Listing';
$this->load->model('storerequistion_model'); $this->load->model('storerequistion_model');
$data['Status']= $this->storerequistion_model->getStatus(); $data['Status']= $this->storerequistion_model->getStatus();
@ -199,7 +200,7 @@ class storerequisitionlist extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Issue StoreRequisition'; //$this->global['pageTitle'] = 'Resico : Issue StoreRequisition';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Issue StoreRequisition'; $this->global['pageTitle'] = $this->CompanyName.' : Issue StoreRequisition';
$this->load->model('storerequistion_model'); $this->load->model('storerequistion_model');
$StoreReqNo= $_GET['ReqNo']; $StoreReqNo= $_GET['ReqNo'];
@ -326,7 +327,7 @@ class storerequisitionlist extends BaseController
$userID = $this->session->userdata ( 'userId' ); $userID = $this->session->userdata ( 'userId' );
$data['AppList'] = $this->storerequistion_model->getApproverRequistList($userID); $data['AppList'] = $this->storerequistion_model->getApproverRequistList($userID);
//$this->global['pageTitle'] = 'Resico : Approval Store Requisition Listing'; //$this->global['pageTitle'] = 'Resico : Approval Store Requisition Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Approval Store Requisition Listing'; $this->global['pageTitle'] = $this->CompanyName.' : Approval Store Requisition Listing';
$data['Status']= $this->storerequistion_model->getStatus(); $data['Status']= $this->storerequistion_model->getStatus();
$this->loadViews("approvalstorerequisitionslip", $this->global, $data, NULL); $this->loadViews("approvalstorerequisitionslip", $this->global, $data, NULL);
@ -358,7 +359,7 @@ class storerequisitionlist extends BaseController
function requisitionlistApproval() function requisitionlistApproval()
{ {
// $this->global['pageTitle'] = 'Resico :Approvalstorerequisitionlist'; // $this->global['pageTitle'] = 'Resico :Approvalstorerequisitionlist';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Approvalstorerequisitionlist'; $this->global['pageTitle'] = $this->CompanyName.' : Approvalstorerequisitionlist';
$userID = $this->session->userdata ( 'userId' ); $userID = $this->session->userdata ( 'userId' );

View File

@ -24,6 +24,7 @@ class storestatus extends BaseController
$this->load->model('store_model'); $this->load->model('store_model');
$this->load->library('form_validation'); $this->load->library('form_validation');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
@ -35,7 +36,7 @@ class storestatus extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : Store Status'; //$this->global['pageTitle'] = 'Resico : Store Status';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Store Status'; $this->global['pageTitle'] = $this->CompanyName.' : Store Status';
$this->loadViews("storestatus", $this->global, NULL , NULL); $this->loadViews("storestatus", $this->global, NULL , NULL);
} }
@ -48,7 +49,7 @@ class storestatus extends BaseController
function storeavailability() function storeavailability()
{ {
//$this->global['pageTitle'] = 'Resico : Store Status'; //$this->global['pageTitle'] = 'Resico : Store Status';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Store Status'; $this->global['pageTitle'] = $this->CompanyName.' : Store Status';
$data['Stock'] = $this->store_model->viewStock(); $data['Stock'] = $this->store_model->viewStock();
$data['MaterialList'] = $this->store_model->GetAllMaterialList(); $data['MaterialList'] = $this->store_model->GetAllMaterialList();
$data['StockStatus'] = $this->store_model->GetConfigValue('C021'); $data['StockStatus'] = $this->store_model->GetConfigValue('C021');
@ -166,7 +167,7 @@ class storestatus extends BaseController
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }

View File

@ -23,6 +23,7 @@ class supplier extends BaseController
$this->load->library('pagination'); $this->load->library('pagination');
$this->load->library('Excel'); $this->load->library('Excel');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**

View File

@ -23,6 +23,7 @@ class user extends BaseController
$this->load->model('costcenter_model'); $this->load->model('costcenter_model');
$this->isLoggedIn(); $this->isLoggedIn();
$this->CompanyName = $this->global['CompanyName'];
} }
/** /**
@ -31,7 +32,7 @@ class user extends BaseController
public function index() public function index()
{ {
// $this->global['pageTitle'] = 'Resico : Dashboard'; // $this->global['pageTitle'] = 'Resico : Dashboard';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Dashboard'; $this->global['pageTitle'] = $this->CompanyName.' : Dashboard';
$this->load->model('employeedetails_model'); $this->load->model('employeedetails_model');
$this->load->model('dahsboard_Model'); $this->load->model('dahsboard_Model');
@ -966,7 +967,7 @@ function attendanceyear($empID ='')
$data['userRecords'] = $this->user_model->userListing(); $data['userRecords'] = $this->user_model->userListing();
//$this->global['pageTitle'] = 'Resico : User Listing'; //$this->global['pageTitle'] = 'Resico : User Listing';
$this->global['pageTitle'] = $this->global['CompanyName'].' : User Listing'; $this->global['pageTitle'] = $this->CompanyName.' : User Listing';
$this->loadViews("users", $this->global, $data, NULL); $this->loadViews("users", $this->global, $data, NULL);
//} //}
@ -991,7 +992,7 @@ function attendanceyear($empID ='')
$data['Department'] = $this->costcenter_model->getDepartment(); $data['Department'] = $this->costcenter_model->getDepartment();
//$this->global['pageTitle'] = 'Resico : Add New User'; //$this->global['pageTitle'] = 'Resico : Add New User';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Add New User'; $this->global['pageTitle'] = $this->CompanyName.' : Add New User';
$this->loadViews("addNew", $this->global, $data, NULL); $this->loadViews("addNew", $this->global, $data, NULL);
//} //}
@ -1178,7 +1179,7 @@ function attendanceyear($empID ='')
$data['AccessDept'] = $this->costcenter_model ->getaccessDept($Empid); $data['AccessDept'] = $this->costcenter_model ->getaccessDept($Empid);
//$this->global['pageTitle'] = 'Resico : Edit User'; //$this->global['pageTitle'] = 'Resico : Edit User';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Edit User'; $this->global['pageTitle'] = $this->CompanyName.' : Edit User';
$this->loadViews("editOld", $this->global, $data, NULL); $this->loadViews("editOld", $this->global, $data, NULL);
@ -1266,7 +1267,7 @@ function attendanceyear($empID ='')
function loadChangePass() function loadChangePass()
{ {
//$this->global['pageTitle'] = 'Resico : Change Password'; //$this->global['pageTitle'] = 'Resico : Change Password';
$this->global['pageTitle'] = $this->global['CompanyName'].' : Change Password'; $this->global['pageTitle'] = $this->CompanyName.' : Change Password';
$this->loadViews("changePassword", $this->global, NULL, NULL); $this->loadViews("changePassword", $this->global, NULL, NULL);
} }
@ -1320,7 +1321,7 @@ function attendanceyear($empID ='')
function pageNotFound() function pageNotFound()
{ {
//$this->global['pageTitle'] = 'Resico : 404 - Page Not Found'; //$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->global['pageTitle'] = $this->global['CompanyName'].' : 404 - Page Not Found'; $this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL); $this->loadViews("404", $this->global, NULL, NULL);
} }
@ -1341,7 +1342,7 @@ function attendanceyear($empID ='')
$data['finyear']=$this->user_model->finyear(); $data['finyear']=$this->user_model->finyear();
//$this->global['pageTitle'] = 'Resico : MaterialInwardRegister'; //$this->global['pageTitle'] = 'Resico : MaterialInwardRegister';
$this->global['pageTitle'] = $this->global['CompanyName'].' : MaterialInwardRegister'; $this->global['pageTitle'] = $this->CompanyName.' : MaterialInwardRegister';
$this->loadViews("Report_Material_inward_Register", $this->global,$data,NULL); $this->loadViews("Report_Material_inward_Register", $this->global,$data,NULL);
} }

View File

@ -15,7 +15,8 @@
<div class="col-xs-12"> <div class="col-xs-12">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<center><h3 class="box-title"> Resico Industries - Amendment Purchase Order List </h3></center> <!-- <center><h3 class="box-title"> Resico Industries - Amendment Purchase Order List </h3></center> -->
<center><h3 class="box-title"><?php echo $pageTitle?></h3></center>
</div> </div>
<!-- /.box-header --> <!-- /.box-header -->
<div class="box-body" > <div class="box-body" >

View File

@ -86,7 +86,8 @@ if(!empty($MRIRDetails))
<div id ="content"></div> <div id ="content"></div>
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Resico Industries - Edit Material Receipt And Inspection Report (MRIR) -<?php echo $MRIRNO ;?></center> <!-- <center>Resico Industries - Edit Material Receipt And Inspection Report (MRIR) -<?php echo $MRIRNO ;?></center> -->
<center><?php echo $pageTitle.'-' .$MRIRNO.' Details'; ?></center>
</h1> </h1>
<?php <?php

View File

@ -3,7 +3,8 @@
<section class="content"> <section class="content">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<CENTER><h3 class="box-title">Resico Industries - Material Distribution List</h3></CENTER> <!-- <CENTER><h3 class="box-title">Resico Industries - Material Distribution List</h3></CENTER> -->
<CENTER><h3 class="box-title"><?php echo $pageTitle; ?></h3></CENTER>
</div> </div>
<?php <?php
$attributes = array('class' => 'form-label-left Approve ','name' => 'Approve','id' => 'Approve'); $attributes = array('class' => 'form-label-left Approve ','name' => 'Approve','id' => 'Approve');

View File

@ -28,7 +28,8 @@ $("#due_started").datepicker({
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Employee Salary Payment Details</center> <!-- <center>Employee Salary Payment Details</center> -->
<center><?php echo $pageTitle; ?></center>
</h1> </h1>
</section> </section>

View File

@ -19,7 +19,8 @@ $(function() {
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Resico Industries - Advance Request</center> <!-- <center>Resico Industries - Advance Request</center> -->
<center><?php echo $pageTitle; ?></center>
</h1> </h1>
</section> </section>

View File

@ -172,7 +172,8 @@ $currentday = date('d');
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Employee Monthly Attendance View/Edit</center> <!-- <center>Employee Monthly Attendance View/Edit</center> -->
<center><?php echo $pageTitle . 'View/Edit'?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -98,7 +98,8 @@ $("#esireport").click(function(){
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Resico Industries - Bank Report Generator</center> <!-- <center>Resico Industries - Bank Report Generator</center> -->
<center><?php echo $pageTitle.' Generator'; ?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -313,7 +313,8 @@ function vaildateBeforeOpenModal()
<div style="border:2px solid #333"> <div style="border:2px solid #333">
<div class="col-md-12"> <div class="col-md-12">
<center><b><h2>Resico Industries - Capital Purchase Order</h2></b></center> <!-- <center><b><h2>Resico Industries - Capital Purchase Order</h2></b></center> -->
<center><b><h2><?php echo $pageTitle.' (Capital)'; ?></h2></b></center>
<div class="col-md-12 text-right" style="padding:0px;"> <div class="col-md-12 text-right" style="padding:0px;">
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a> <a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a>
</div> </div>

View File

@ -7,6 +7,7 @@
<section class="content" id="loadingcontent"> <section class="content" id="loadingcontent">
<div> <div>
<CENTER><h3>Resico Industries - Cashbook Listing</h3></CENTER> <CENTER><h3>Resico Industries - Cashbook Listing</h3></CENTER>
<center><h3><?php echo $pageTitle; ?></h3></center>
</div> </div>
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">

View File

@ -426,7 +426,8 @@ document.getElementById('dispatchinternational').style.display = 'block';
<div style="border:2px solid #333"> <div style="border:2px solid #333">
<div class="col-md-12"> <div class="col-md-12">
<center><b><h2>Resico Industries - Amendment Capital Purchase Order - <?php echo $PONO;?></h2></b></center> <!-- <center><b><h2>Resico Industries - Amendment Capital Purchase Order - <?php echo $PONO;?></h2></b></center> -->
<center><h3 class="box-title"><?php echo $pageTitle. '-'.$PONO; ?></h3></center>
<!-- <div class="col-md-1"><br/> <!-- <div class="col-md-1"><br/>
<a class="btn btn-info" href="<?php echo base_url(); ?>purchaseorder/CreatecapitalPOPrint" target="_blank">Print</a> <a class="btn btn-info" href="<?php echo base_url(); ?>purchaseorder/CreatecapitalPOPrint" target="_blank">Print</a>

View File

@ -446,7 +446,8 @@ $("#PaymentMethod").select2();
<div style="border:2px solid #333"> <div style="border:2px solid #333">
<div class="col-md-12"> <div class="col-md-12">
<center><b><h2>Resico Industries - Edit Capital Purchase Order- <?php echo $PONO;?></h2></b></center> <!-- <center><b><h2>Resico Industries - Edit Capital Purchase Order- <?php echo $PONO;?></h2></b></center> -->
<center><b><h2><?php echo $pageTitle . '-' . $PONO;?></h2></b></center>
<!-- <div class="col-md-1"><br/> <!-- <div class="col-md-1"><br/>
<a class="btn btn-primary" href="<?php echo base_url(); ?>purchaseorder/CreatecapitalPOPrint" target="_blank">Print</a> <a class="btn btn-primary" href="<?php echo base_url(); ?>purchaseorder/CreatecapitalPOPrint" target="_blank">Print</a>

View File

@ -303,7 +303,8 @@ if(!empty($RequistionDetails))
<div style="border:2px solid #333;"> <div style="border:2px solid #333;">
<div class="col-md-12"> <div class="col-md-12">
<div class="col-md-11"> <div class="col-md-11">
<center><b><h2>Resico Industries - Amend Import Purchase Order-<?php echo "$PONO"?></h2></b></center> <!-- <center><b><h2>Resico Industries - Amend Import Purchase Order-<?php echo "$PONO"?></h2></b></center> -->
<center><h3 class="box-title"><?php echo $pageTitle. '-'.$PONO; ?></h3></center>
</div> </div>
<!--<div class="col-md-1"><br/> <!--<div class="col-md-1"><br/>
<a class="btn btn-info" href="<?php echo base_url(); ?>purchaseorder/CreateimportPOPrint" target="_blank">Print</a> <a class="btn btn-info" href="<?php echo base_url(); ?>purchaseorder/CreateimportPOPrint" target="_blank">Print</a>

View File

@ -142,7 +142,8 @@ if(!empty($emppay))
<section class="content-header"> <section class="content-header">
<h1> <h1>
<!--title--> <!--title-->
<center>Edit Salary Payment Details</center> <!-- <center>Edit Salary Payment Details</center> -->
<center><?php echo $pageTitle; ?></center>
</h1> </h1>
</section> </section>
@ -426,7 +427,7 @@ if(!empty($emppay))
{ {
?> ?>
<div class="alert alert-danger alert-dismissable"> <div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"><EFBFBD></button>
<?php echo $this->session->flashdata('error'); ?> <?php echo $this->session->flashdata('error'); ?>
</div> </div>
<?php } ?> <?php } ?>
@ -436,14 +437,14 @@ if(!empty($emppay))
{ {
?> ?>
<div class="alert alert-success alert-dismissable"> <div class="alert alert-success alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"><EFBFBD></button>
<?php echo $this->session->flashdata('success'); ?> <?php echo $this->session->flashdata('success'); ?>
</div> </div>
<?php } ?> <?php } ?>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<?php echo validation_errors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>'); ?> <?php echo validation_errors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true"><EFBFBD></button></div>'); ?>
</div> </div>
</div> </div>
</div> </div>

View File

@ -129,7 +129,8 @@ if(!empty($PayInfo))
<section class="content-header"> <section class="content-header">
<h1> <h1>
<!--title--> <!--title-->
<center>Edit Payslip Details - <?php echo $PayOn ."-".$EmpID . "-" .$Empname; ?> </center> <!-- <center>Edit Payslip Details - <?php echo $PayOn ."-".$EmpID . "-" .$Empname; ?> </center> -->
<center><?php echo $pageTitle ."-".$PayOn ."-".$EmpID . "-" .$Empname; ?></center>
</h1> </h1>
</section> </section>

View File

@ -989,7 +989,9 @@ function calculateEditTaxValue()
<section class="content"> <section class="content">
<div style="border:2px solid #333"> <div style="border:2px solid #333">
<div><center><b><h2>Resico Industries - Amendment Revenue Purchase Order- <?php echo $PONO;?></h2></b></center></div> <!-- <div><center><b><h2>Resico Industries - Amendment Revenue Purchase Order- <?php echo $PONO;?></h2></b></center></div> -->
<div><center><b><h2><?php echo $pageTitle. '-'.$PONO; ?></h2></b></center></div>
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@ -696,7 +696,8 @@ $(document).ready(function () {
<section class="content"> <section class="content">
<div style="border:2px solid #333"> <div style="border:2px solid #333">
<div id="content"></div> <div id="content"></div>
<div><center><b><h2>Resico Industries - Amendment Service Purchase Order - <?php echo $PONO;?></h2></b></center></div> <!-- <div><center><b><h2>Resico Industries - Amendment Service Purchase Order - <?php echo $PONO;?></h2></b></center></div> -->
<div><center><b><h2><?php echo $pageTitle. '-'.$PONO; ?></h2></b></center></div>
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@ -339,9 +339,11 @@ tinymce.init({
<div class="col-md-12"> <div class="col-md-12">
<div class="col-md-11"> <div class="col-md-11">
<?php if ($parentPO == '') { ?> <?php if ($parentPO == '') { ?>
<center><b><h2>Resico Industries - Edit Import Purchase Order-<?php echo "$PONO"?></h2></b></center> <!-- <center><b><h2>Resico Industries - Edit Import Purchase Order-<?php echo $PONO?></h2></b></center> -->
<center><b><h2><?php echo $pageTitle . '-' . $PONO;?></h2></b></center>
<?php } else {?> <?php } else {?>
<center><b><h2>Resico Industries - Amended Purchase Order-<?php echo "$PONO"?></h2></b></center> <!-- <center><b><h2>Resico Industries - Amended Purchase Order-<?php echo $PONO?></h2></b></center> -->
<center><b><h2><?php echo $pageTitle . '-' . $PONO;?></h2></b></center>
<?php } ?> <?php } ?>
</div> </div>
<!--<div class="col-md-1"><br/> <!--<div class="col-md-1"><br/>

View File

@ -88,7 +88,8 @@ if(!empty($PaymentMultiple))
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center> Resico Industries - Edit <?php echo ucwords(strtolower($type1)); ?> Details </center> <!-- <center> Resico Industries - Edit <?php echo ucwords(strtolower($type1)); ?> Details </center> -->
<center><?php echo $pageTitle . ucwords(strtolower($type1)); ?> Details </center>
</h1> </h1>
</section> </section>

View File

@ -4,7 +4,8 @@
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Employee Salary Details</center> <!-- <center>Employee Salary Details</center> -->
<center><?php echo $pageTitle; ?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -289,7 +289,8 @@ function vaildateBeforeOpenModal()
<div style="border:2px solid #333"> <div style="border:2px solid #333">
<center><b><h2>Resico Industries - Import Purchase Order</h2></b></center><br/> <!-- <center><b><h2>Resico Industries - Import Purchase Order</h2></b></center><br/> -->
<center><b><h2><?php echo $pageTitle.' (Import)';?></h2></b></center><br/>
<div class="col-md-12 text-right" style="padding-bottom: 6px; padding-right: 23px;"> <div class="col-md-12 text-right" style="padding-bottom: 6px; padding-right: 23px;">
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a> <a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a>

View File

@ -4,7 +4,8 @@
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center> Resico Industries - Receipt and Payment List </center> <!-- <center> Resico Industries - Receipt and Payment List </center> -->
<center><?php echo $PageTitle; ?></center>
</h1> </h1>
</section> </section>

View File

@ -37,7 +37,8 @@ th{
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Inward Inspection Report Screen</center> <!-- <center>Inward Inspection Report Screen</center> -->
<center><?php echo $pageTitle; ?> Inward Inspection Report Screen</center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -56,7 +56,9 @@ Inputmask("A{2,3} 9{1,2} A{1,2} 9{4}").mask($("#VehicleNo"));
<div class="content-wrapper" style="min-height:537px;"> <div class="content-wrapper" style="min-height:537px;">
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Resico Industries - Inward Gate Register (IGR) Entry</center> <!-- <center>Resico Industries - Inward Gate Register (IGR) Entry</center> -->
<center><?php echo $pageTitle.' (IGR) Entry'; ?></center>
</h1> </h1>
</section> </section>
<section class="content" style="margin: 15px;"><br/> <section class="content" style="margin: 15px;"><br/>

View File

@ -82,7 +82,8 @@ if(!empty($IGRDetails))
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Resico Industries - Material Receipt And Inspection Report (MRIR)</center> <!-- <center>Resico Industries - Material Receipt And Inspection Report (MRIR)</center> -->
<center><?php echo $pageTitle.'(MRIR)'; ?></center>
</h1> </h1>
<?php <?php

View File

@ -18,7 +18,8 @@ speed:500
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Employee Monthly Payment Listing</center> <!-- <center>Employee Monthly Payment Listing</center> -->
<center><?php echo $pageTitle; ?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -48,7 +48,8 @@ $('html').bind('keypress', function(e)
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Employee Monthly Payment Listing</center> <!-- <center>Employee Monthly Payment Listing</center> -->
<center><?php echo $pageTitle; ?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -189,7 +189,8 @@ $(function() {
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Resico Industries - PaySlip Generator</center> <!-- <center>Resico Industries - PaySlip Generator</center> -->
<center><?php echo $pageTitle;?></center>
</h1> </h1>
</section> </section>

View File

@ -15,7 +15,8 @@ $datefordropdown = date_format($datefordropdown,'m-Y');
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Employee Monthly Payslip </center> <!-- <center>Employee Monthly Payslip </center> -->
<center><?php echo $pageTitle; ?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -38,7 +38,8 @@ function checkYearMonthAsEmpty()
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Resico Industries - Monthly Pay Inputs Upload</center> <!-- <center>Resico Industries - Monthly Pay Inputs Upload</center> -->
<center><?php echo $pageTitle.' Generator'; ?></center>
</h1> </h1>
</section> </section>

View File

@ -23,7 +23,8 @@ if(empty($Status))
<section class="content"> <section class="content">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<CENTER><h3 class="box-title">Resico Industries - Purchase Order Approval List</h3></CENTER> <!-- <CENTER><h3 class="box-title">Resico Industries - Purchase Order Approval List</h3></CENTER> -->
<center><h3 class="box-title"><?php echo $pageTitle.' List';?></h3></center>
</div> </div>
<table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;"> <table id="Requisition" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;">
<div align="right" style="padding-right:10px"> <div align="right" style="padding-right:10px">

View File

@ -25,7 +25,8 @@ if(empty($Status))
<section class="content"> <section class="content">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<CENTER><h3 class="box-title">Purchase Order Release List </h3></CENTER> <!-- <CENTER><h3 class="box-title">Purchase Order Release List </h3></CENTER> -->
<center><h3 class="box-title"><?php echo $pageTitle.' List';?></h3></center>
</div> </div>
<div class="container-fluid"> <div class="container-fluid">

View File

@ -40,7 +40,8 @@ $('html').bind('keypress', function(e)
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Public Holiday Information - <?php echo date('Y');?></center> <!-- <center>Public Holiday Information - <?php echo date('Y');?></center> -->
<center><?php echo $pageTitle .'Information - '.date('Y');?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -2225,7 +2225,7 @@ function calculateEditTaxValue()
<div id="content"></div> <div id="content"></div>
<div> <div>
<!-- <center><b><h2>Resico Industries - Revenue Purchase Order</h2></b></center></div> --> <!-- <center><b><h2>Resico Industries - Revenue Purchase Order</h2></b></center></div> -->
<center><b><h2><?php echo $pageTitle; ?></h2></b></center></div> <center><b><h2><?php echo $pageTitle .' (Revenue)'; ?></h2></b></center></div>
<div class="col-md-12 text-right" style="padding-bottom:6px; padding-right:29px;"> <div class="col-md-12 text-right" style="padding-bottom:6px; padding-right:29px;">
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a> <a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a>
</div> </div>

View File

@ -41,7 +41,8 @@ foreach($customersinward as $customer)
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Product Test Specification Master Screen</center> <!-- <center>Product Test Specification Master Screen</center> -->
<center><?php echo $pageTitle; ?> Product Test Specification Master Screen</center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -10,7 +10,8 @@
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Product Test Specification List</center> <!-- <center>Product Test Specification List</center> -->
<center><?php echo $pageTitle; ?> Product Test Specification List</center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -35,7 +35,8 @@ th{
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Pre Dispatch Inspection Report Screen</center> <!-- <center>Pre Dispatch Inspection Report Screen</center> -->
<center><?php echo $pageTitle; ?> Pre Dispatch Inspection Report Screen</center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -9,7 +9,8 @@
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Product Test Reports List</center> <!-- <center>Product Test Reports List</center> -->
<center><?php echo $pageTitle; ?> Product Test Reports List</center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -9,7 +9,8 @@
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Inward Product Test Reports List</center> <!-- <center>Inward Product Test Reports List</center> -->
<center><?php echo $pageTitle; ?> Inward Product Test Reports List</center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -649,7 +649,8 @@ function clearEditTaxField()
<div style="border:2px solid #333"> <div style="border:2px solid #333">
<div id="content"></div> <div id="content"></div>
<div> <div>
<center><b><h2>Resico Industries - Service Purchase Order</h2></b></center></div> <!-- <center><b><h2>Resico Industries - Service Purchase Order</h2></b></center></div> -->
<center><b><h2><?php echo $pageTitle.' (Service)'?></h2></b></center></div>
<div class="col-md-12 text-right" style="padding-bottom: 19px; padding-right: 39px;"> <div class="col-md-12 text-right" style="padding-bottom: 19px; padding-right: 39px;">
<a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a> <a href="<?php echo base_url() ?>CreatePO" class="btn btn-primary" id="back" value="Back">Back</a>
</div> </div>

View File

@ -26,7 +26,8 @@ $Adv='';
<div class="col-xs-12"> <div class="col-xs-12">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<center><h3 class="box-title"> Service Purchase Order Report</h3></center> <!-- <center><h3 class="box-title"> Service Purchase Order Report</h3></center> -->
<center><h3 class="box-title"><?php echo $pageTitle; ?> Report</h3></center>
<span class="highlight">The PONO Shown In Green Colour Are Paid Advance Amount</span> <span class="highlight">The PONO Shown In Green Colour Are Paid Advance Amount</span>
</div> </div>

View File

@ -14,7 +14,8 @@
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Status Of Service Purchase Order</center> <!-- <center>Status Of Service Purchase Order</center> -->
<center><?php echo $CompanyName?> Status Of Service Purchase Order</center>
</h1> </h1>
</section> </section>
<section class="content"><br/> <section class="content"><br/>

View File

@ -40,7 +40,8 @@
<div class="box"> <div class="box">
<div class=" container-fluid"> <div class=" container-fluid">
<div class="box-header"> <div class="box-header">
<CENTER><h3 class="box-title">Resico Industries -View Inward Gate Register</h3></CENTER> <!-- <CENTER><h3 class="box-title">Resico Industries -View Inward Gate Register</h3></CENTER> -->
<CENTER><h3 class="box-title"><?php echo $pageTitle; ?></h3></CENTER>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@ -31,7 +31,8 @@ foreach($specifications as $s)
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Product Customer Test Specification Master Screen</center> <!-- <center>Product Customer Test Specification Master Screen</center> -->
<center><?php echo $pageTitle; ?>(Product Customer Test Specification Master Screen)</center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -47,7 +47,8 @@ th{
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Inward Material Inspection Report - Test Report No:<?php echo $reportid;?></center> <!-- <center>Inward Material Inspection Report - Test Report No:<?php echo $reportid;?></center> -->
<center><?php echo $pageTitle; ?>Inward Material Inspection Report - Test Report No:<?php echo $reportid;?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -42,7 +42,8 @@ th{
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <h1>
<center>Pre Dispatch Inspection Report - Test Report No:<?php echo $reportid;?></center> <!-- <center>Pre Dispatch Inspection Report - Test Report No:<?php echo $reportid;?></center> -->
<center><?php echo $pageTitle; ?> Pre Dispatch Inspection Report - Test Report No:<?php echo $reportid;?></center>
</h1> </h1>
</section> </section>
<section class="content"> <section class="content">

View File

@ -41,7 +41,8 @@
<div class="box"> <div class="box">
<div class=" container-fluid"> <div class=" container-fluid">
<div class="box-header"> <div class="box-header">
<CENTER><h3 class="box-title">Resico Industries - View Inward Gate Register</h3></CENTER> <!-- <CENTER><h3 class="box-title">Resico Industries - View Inward Gate Register</h3></CENTER> -->
<CENTER><h3 class="box-title"><?php echo $pageTitle; ?></h3></CENTER>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@ -38,7 +38,8 @@
<div class="box"> <div class="box">
<div class=" container-fluid"> <div class=" container-fluid">
<div class="box-header"> <div class="box-header">
<CENTER><h3 class="box-title">Resico Industries - View Material Receipt And Inspection Report</h3></CENTER> <!-- <CENTER><h3 class="box-title">Resico Industries - View Material Receipt And Inspection Report</h3></CENTER> -->
<CENTER><h3 class="box-title"><?php echo $pageTitle; ?></h3></CENTER>
</div> </div>
<div class="row"> <div class="row">

View File

@ -26,6 +26,8 @@ $color='';
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<center><h3 class="box-title">Resico Industries - Billing For MRIR </h3></center> <center><h3 class="box-title">Resico Industries - Billing For MRIR </h3></center>
<center><h3 class="box-title"><?php echo $pageTitle . 'For MRIR' ?></h3></center>
</div> </div>
<span class="highlight">The PONO Shown In Green Colour Are Paid Advance Amount</span> <span class="highlight">The PONO Shown In Green Colour Are Paid Advance Amount</span>