resico name changed in master screen only

This commit is contained in:
venbatechnologies@gmail.com 2017-11-17 17:53:37 +05:30
parent e2ec75f3f6
commit 9537c6de50
45 changed files with 80 additions and 714 deletions

View File

@ -42,7 +42,7 @@ $route['default_controller'] = "login";
$route['404_override'] = 'error';
/*********** Siddharth DEFINED ROUTES *******************/
/*********** Resico DEFINED ROUTES *******************/
$route['loginMe'] = 'login/loginMe';
$route['dashboard'] = 'user';

View File

@ -25,7 +25,7 @@ class companycontroller extends BaseController
*/
public function index()
{
$this->global['pageTitle'] = 'Siddharth : Company Details';
$this->global['pageTitle'] = 'Resico : Company Details';
//$this->loadViews("companyadd", $this->global, NULL , NULL);
@ -34,7 +34,7 @@ class companycontroller extends BaseController
public function companyview()
{
$this->global['pageTitle'] = 'Siddharth : Company Details';
$this->global['pageTitle'] = 'Resico : Company Details';
$data['userRecords'] = $this->companydetailsmodel->companylisting();
$data['payment'] = $this->companydetailsmodel->getPaymentTerms();
@ -85,7 +85,7 @@ class companycontroller extends BaseController
function companyadd(){
$this->global['pageTitle'] = 'Siddharth : Company Details';
$this->global['pageTitle'] = 'Resico : Company Details';
$this->loadViews("companyadd", $this->global, NULL);
}
@ -210,8 +210,7 @@ class companycontroller extends BaseController
echo 'Succssfully change the user status to InActive';
}
function UpdateCompany()

View File

@ -27,7 +27,7 @@ class configurationctrl extends BaseController
public function index()
{
$this->global['pageTitle'] = 'Siddharth : Supplier';
$this->global['pageTitle'] = 'Resico : Supplier';
$this->loadViews("configlisting", $this->global, NULL , NULL);
}
@ -48,14 +48,14 @@ public function index()
$data['userRecords'] = $this->configmodel->configlisting();
$this->global['pageTitle'] = 'Siddharth Industries : config Listing';
$this->global['pageTitle'] = 'Resico : Config Listing';
$this->loadViews("configlisting", $this->global, $data, NULL);
}
function addconfig()
{
$this->global['pageTitle'] = 'siddharth : AddNew Department';
$this->global['pageTitle'] = 'Resico : Add New Config';
$this->loadViews("addconfig", $this->global,NULL, NULL);
}
@ -102,13 +102,13 @@ public function index()
if($result > 0)
{
redirect('configurationctrl/configlisting','refresh');
echo "<script>alert('New Supplier Created successfully!');</script>";
echo "<script>alert('Config Value Created successfully!');</script>";
}
else
{
redirect('configurationctrl/configlisting','refresh');
echo "<script>alert('department Record Not Created!');</script>";
echo "<script>alert('Config Value Not Created!');</script>";
}
}
@ -120,7 +120,7 @@ public function index()
$index = 1;
// $index = $index + 1;
$this->global['pageTitle'] = 'Siddharth : Edit Cost';
$this->global['pageTitle'] = 'Resico : Edit Config';
$this->loadViews("editconfig", $this->global, $data,NULL);
//}
}
@ -160,13 +160,13 @@ public function index()
if($result == True)
{
redirect('configlisting','refresh');
echo "<script>alert('Supplier department successfully!');</script>";
echo "<script>alert('Config Value Successfully Updated!');</script>";
}
else
{
redirect('configlisting','refresh');
echo "<script>alert('department Record Not updated!');</script>";
echo "<script>alert('Config Value Not Updated!');</script>";
}
}
}

View File

@ -29,7 +29,7 @@ class department extends BaseController
public function index()
{
$this->global['pageTitle'] = 'Siddharth : Department Details';
$this->global['pageTitle'] = 'Resico : Department Details';
$this->loadViews("departmentListing", $this->global, NULL , NULL);
}
@ -54,7 +54,7 @@ class department extends BaseController
$data['userRecords'] = $this->department_model->departmentListing();//$searchText, $returns["page"], $returns["segment"]);
$this->global['pageTitle'] = 'Siddharth Industries : Department Listing';
$this->global['pageTitle'] = 'Resico : Department Listing';
$this->loadViews("departmentListing", $this->global, $data, NULL);
}
@ -68,7 +68,7 @@ class department extends BaseController
//$data['depcode'] = $this->department_model->getdepcode();
$data['depcode'] = $this->department_model->getdepcode();
$this->global['pageTitle'] = 'siddharth : AddNew Department';
$this->global['pageTitle'] = 'Resico : Add New Department';
$this->loadViews("adddepartment", $this->global,$data, NULL);
@ -99,7 +99,7 @@ class department extends BaseController
if($result > 0)
{
echo "<script>alert('Department Created successfully!');</script>";
echo "<script>alert('Department Created Successfully!');</script>";
redirect('departmentListing','refresh');
}
@ -180,7 +180,7 @@ class department extends BaseController
$data['department'] = $this->department_model->getDeptInfo($DepartmentID);
$data['depcode'] = $this->department_model->getdepcode();
$this->global['pageTitle'] = 'Siddharth : Edit Department';
$this->global['pageTitle'] = 'Resico : Edit Department';
$this->loadViews("editdepartment", $this->global,$data, NULL);
}
@ -251,7 +251,7 @@ class department extends BaseController
function pageNotFound()
{
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL);
}

View File

@ -25,7 +25,7 @@ class employeedetails extends BaseController
*/
public function index()
{
$this->global['pageTitle'] = 'Siddharth : Employee Details';
$this->global['pageTitle'] = 'Resico : Employee Details';
$this->loadViews("employeeListing", $this->global, NULL , NULL);
}
@ -42,7 +42,7 @@ class employeedetails extends BaseController
$data['userRecords'] = $this->employeedetails_model->employeeListing();
$this->global['pageTitle'] = 'Siddharth : Employee Listing';
$this->global['pageTitle'] = 'Resico : Employee Listing';
$this->loadViews("employeeListing", $this->global, $data, NULL);
@ -384,7 +384,7 @@ echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','
$data['BloodGroup'] = $this->employeedetails_model->getConfigValue($BloodGroupConfigID);
$data['Department'] = $this->employeedetails_model->getDepartment();
$this->global['pageTitle'] = 'Siddharth : Add New Employee';
$this->global['pageTitle'] = 'Resico : Add New Employee';
$this->loadViews("addemployee", $this->global, $data, NULL);
}
@ -465,7 +465,7 @@ echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','
function pageNotFound()
{
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';
$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL);
}
@ -529,7 +529,7 @@ echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','
$data['bankdetails']=$this->employeedetails_model->getBankDetails();
$data['DepartmentList'] = $this->employeedetails_model->getDepartment();
$data['EmpDetails'] = $this->employeedetails_model->viewemployee($EmpID);
$this->global['pageTitle'] = 'Siddharth : View Employee';
$this->global['pageTitle'] = 'Resico : View Employee';
$this->loadViews("editEmployee", $this->global, $data, NULL);
@ -749,7 +749,7 @@ echo "<script>alert('Record Not Updated!');</script>"; redirect('employeeListin
$this->excel->getActiveSheet()->setTitle('Employee details');
$this->excel->getActiveSheet()->setCellValue('L3', 'SIDDHARTH INDUSTRIES Employee Details');
$this->excel->getActiveSheet()->setCellValue('L3', 'RESICO INDUSTRIES Employee Details');
$this->excel->getActiveSheet()->setCellValue('A5', 'EmpID');
$this->excel->getActiveSheet()->setCellValue('B5', 'FirstName-LastName');

View File

@ -29,7 +29,7 @@ class rawmaterialdetails extends BaseController
*/
public function index()
{
$this->global['pageTitle'] = 'Siddharth : RawMaterialDetails';
$this->global['pageTitle'] = 'Resico : RawMaterialDetails';
$this->loadViews("rawmaterialListing", $this->global, NULL , NULL);
}
@ -44,7 +44,7 @@ class rawmaterialdetails extends BaseController
$data['userRecords'] = $this->rawmaterialdetails_model->rawmaterialListing();
$this->global['pageTitle'] = 'Siddharth : RawMaterial Listing';
$this->global['pageTitle'] = 'Resico : RawMaterial Listing';
$this->loadViews("rawmaterialListing", $this->global, $data, NULL);
@ -61,7 +61,7 @@ class rawmaterialdetails extends BaseController
$data['assetcode'] = $this->rawmaterialdetails_model->getAssetcode();
$data['costcentercode'] =$this->rawmaterialdetails_model->getcostcentercode();
$data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM();
$this->global['pageTitle'] = 'siddharth : AddNew RawMaterial';
$this->global['pageTitle'] = 'Resico : Add New RawMaterial';
$this->loadViews("addRawMaterial", $this->global, $data, NULL);
}
@ -231,7 +231,7 @@ class rawmaterialdetails extends BaseController
$data['costcentercode'] =$this->rawmaterialdetails_model->getCostCenterCode();
$data['cfUOM'] = $this->rawmaterialdetails_model->getConversionfactorUOM();
$data['assetcode'] = $this->rawmaterialdetails_model->getAssetcode();
$this->global['pageTitle'] = 'Siddharth : Edit Material Master';
$this->global['pageTitle'] = 'Resico : Edit Material Master';
$this->loadViews("editOldRawmaterial", $this->global,$data, NULL);
}
@ -349,7 +349,7 @@ class rawmaterialdetails extends BaseController
$this->excel->getActiveSheet()->setTitle('Material Master');
$this->excel->getActiveSheet()->setCellValue('F3', 'SIDDHARTH INDUSTRIES Material Master');
$this->excel->getActiveSheet()->setCellValue('F3', 'RESICO INDUSTRIES Material Master');
$this->excel->getActiveSheet()->setCellValue('C5', 'MaterialCode');
$this->excel->getActiveSheet()->setCellValue('D5', 'MaterialName');
$this->excel->getActiveSheet()->setCellValue('E5', 'MaterialType');
@ -446,7 +446,7 @@ class rawmaterialdetails extends BaseController
function pageNotFound()
{
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL);
}

View File

@ -28,7 +28,7 @@ class supplier extends BaseController
*/
public function index()
{
$this->global['pageTitle'] = 'Siddharth : Supplier';
$this->global['pageTitle'] = 'Resico : Supplier';
$this->loadViews("supplierListing", $this->global, NULL , NULL);
}
@ -43,7 +43,7 @@ class supplier extends BaseController
$data['userRecords'] = $this->supplier_model->supplierListing();
$this->global['pageTitle'] = 'Siddharth Industries : Supplier Listing';
$this->global['pageTitle'] = 'Resico Industries : Supplier Listing';
$this->loadViews("supplierListing", $this->global, $data, NULL);
@ -57,7 +57,7 @@ class supplier extends BaseController
$data['payment'] = $this->supplier_model->getPaymentTerms();
//$data['users'] = $this->purchaseorder_model->getusers();
$this->global['pageTitle'] = 'siddharth : Add New Supplier';
$this->global['pageTitle'] = 'Resico : Add New Supplier';
$this->loadViews("addsupplier", $this->global,$data, NULL);
@ -431,7 +431,7 @@ class supplier extends BaseController
$this->excel->getActiveSheet()->setTitle('Supplier details');
$this->excel->getActiveSheet()->setCellValue('J3', 'SIDDHARTH INDUSTRIES Supplier Details');
$this->excel->getActiveSheet()->setCellValue('J3', 'RESICO INDUSTRIES Supplier Details');
$this->excel->getActiveSheet()->setCellValue('A5', 'SupplierID');
$this->excel->getActiveSheet()->setCellValue('B5', 'SupplierName');
@ -582,7 +582,7 @@ class supplier extends BaseController
function pageNotFound()
{
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
$this->global['pageTitle'] = 'Resico : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL);
}

View File

@ -28,7 +28,7 @@ class user extends BaseController
*/
public function index()
{
$this->global['pageTitle'] = 'Siddharth : Dashboard';
$this->global['pageTitle'] = 'Resico : Dashboard';
$this->load->model('employeedetails_model');
@ -86,7 +86,7 @@ class user extends BaseController
$data['userRecords'] = $this->user_model->userListing();
$this->global['pageTitle'] = 'Siddharth : User Listing';
$this->global['pageTitle'] = 'Resico : User Listing';
$this->loadViews("users", $this->global, $data, NULL);
}
@ -108,7 +108,7 @@ class user extends BaseController
$data['roles'] = $this->user_model->getUserRoles();
$this->global['pageTitle'] = 'Siddharth : Add New User';
$this->global['pageTitle'] = 'Resico : Add New User';
$this->loadViews("addNew", $this->global, $data, NULL);
}
@ -250,7 +250,7 @@ class user extends BaseController
// $data['userInfo'] = $this->user_model->getUserInfo($userId);
$this->global['pageTitle'] = 'Siddharth : Edit User';
$this->global['pageTitle'] = 'Resico : Edit User';
$this->loadViews("editOld", $this->global, $data, NULL);
}
@ -338,7 +338,7 @@ class user extends BaseController
*/
function loadChangePass()
{
$this->global['pageTitle'] = 'Siddharth : Change Password';
$this->global['pageTitle'] = 'Resico : Change Password';
$this->loadViews("changePassword", $this->global, NULL, NULL);
}
@ -388,7 +388,7 @@ class user extends BaseController
function pageNotFound()
{
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
$this->global['pageTitle'] = 'Resico Industries : 404 - Page Not Found';
$this->loadViews("404", $this->global, NULL, NULL);
}

View File

@ -3,7 +3,7 @@
/**
* Class : BaseController
* Base Class to control over all the classes
* @author : Kishor Mali
* @author :
* @version : 1.1
* @since : 15 November 2016
*/
@ -83,7 +83,7 @@ class BaseController extends CI_Controller {
* This function is used to load the set of views
*/
function loadThis() {
$this->global ['pageTitle'] = 'CodeInsect : Access Denied';
$this->global ['pageTitle'] = 'Resico Industries : Access Denied';
$this->load->view ( 'includes/header', $this->global );
$this->load->view ( 'access' );
@ -118,7 +118,8 @@ class BaseController extends CI_Controller {
* This function used provide the pagination resources
* @param {string} $link : This is page link
* @param {number} $count : This is page count
* @param {number} $perPage : This is records per page limit
* @param {number} $perPage : This is
* records per page limit
* @return {mixed} $result : This is array of records and pagination data
*/
function paginationCompress($link, $count, $perPage = 10) {

View File

@ -2,7 +2,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Add New User</center>
<center>Resico Industries - Add New User</center>
</h1>

View File

@ -54,7 +54,7 @@ function BlockSpecial(evt) {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Add New Material </center>
<center>Resico Industries - Add New Material </center>
</h1>

View File

@ -42,7 +42,7 @@ $(function() {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Add Configuration List</center>
<center>Reisco Industries - Add Configuration List</center>
</h1>
</section>
<section class="content">
@ -258,7 +258,7 @@ $(function() {
{
?>
<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'); ?>
</div>
<?php } ?>
@ -268,14 +268,14 @@ $(function() {
{
?>
<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'); ?>
</div>
<?php } ?>
<div class="row">
<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>

View File

@ -63,7 +63,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center> Siddharth Industries - New Department Details</center>
<center> Resico Industries - New Department Details</center>
</h1>

View File

@ -429,7 +429,7 @@ function validateESI() {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<CENTER>Siddharth Industries Employee Profile</CENTER>
<CENTER>Resico Industries Employee Profile</CENTER>
</h1>

View File

@ -322,7 +322,7 @@ $(function() {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center> Siddharth Industries - New Supplier Details</center>
<center> Resico Industries - New Supplier Details</center>
</h1>

View File

@ -43,9 +43,9 @@ if(!empty($userRecords))
foreach ($userRecords as $uf)
{
$CompID = $uf->CompID;
$CompanyName = $uf->CompanyName;
$Address = $uf->Address;
$ContactNumber = $uf->ContactNumber;
$CompanyName = $uf->CompanyName;
$Address = $uf->Address;
$ContactNumber = $uf->ContactNumber;
$AlternateContactNumber = $uf->AlternateContactNumber;
$EmailAddress= $uf->EmailAddress;
$Exiseregistration= $uf->Exiseregistration;
@ -436,7 +436,7 @@ function ValidateUA() {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<CENTER>Siddharth Industries Company Profile</CENTER>
<CENTER>Resico Industries Company Profile</CENTER>
</h1>
@ -658,7 +658,7 @@ function ValidateUA() {
<br>
<div class="col-xs-12 pad" style="padding: 0px 30px 0px 30px;">
<table id="banktable" class="table" border="1px black" style="font-size:12px;border-collapse: collapse;">
<table id="banktable" class="table table-bordered table-hover" style="background-color:#fff;font-size:12px;" >
<thead style="border: 1px solid black;">
@ -811,7 +811,7 @@ function ValidateUA() {
{
?>
<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'); ?>
</div>
<?php } ?>
@ -821,14 +821,14 @@ function ValidateUA() {
{
?>
<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'); ?>
</div>
<?php } ?>
<div class="row">
<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>

View File

@ -3,7 +3,7 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Configuration Details</center>
<center>Resico Industries - Configuration Details</center>
</h1>
</section>
<section class="content">

View File

@ -10,7 +10,7 @@
<section class="content">
<div class="box">
<div class="box-header">
<center> <h3 class="box-title">Siddharth Industries -Department Details</h3></center>
<center> <h3 class="box-title">Resico Industries -Department Details</h3></center>
</div>
<div class="container-fluid">
<!-- </section> -->

View File

@ -646,7 +646,7 @@ function onlyAlphabets(evt) {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<CENTER>Siddharth Industries Employee Profile</CENTER>
<CENTER>Resico Industries Employee Profile</CENTER>
</h1>

View File

@ -42,7 +42,7 @@ if(!empty($EmpList))
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Edit User </center>
<center>Resico Industries - Edit User </center>
</h1>

View File

@ -144,7 +144,7 @@ function changeTextBox() {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Edit Material -<?php echo $MaterialCode; ?> </center>
<center>Resico Industries - Edit Material -<?php echo $MaterialCode; ?> </center>
</h1>
</section>

View File

@ -1,245 +0,0 @@
<?php
$EmpID = '';
$FirstName= '';
$LastName = '';
$DateofBirth = '';
$ContactNumber = '';
$EmailId = '';
$DateofJoining = '';
$Role = '';
$Address1 = '';
$Address2 = '';
$Place = '';
$City = '';
$State = '';
$Pin = '';
$DepartmentName = '';
$User_Comments = '';
if(!empty($userRecords))
{
foreach ($userRecords as $uf)
{
$EmpID = $uf->EmpID;
$FirstName = $uf->FirstName;
$LastName = $uf->LastName;
$DateofBirth = $uf->DateofBirth;
$ContactNumber = $uf->ContactNumber;
$EmailId = $uf->EmailId;
$DateofJoining = $uf->DateofJoining;
$Role = $uf->Role;
$Address1 = $uf->Address1;
$Address2 = $uf->Address2;
$Place = $uf->Place;
$City = $uf->City;
$State = $uf->State;
$Pin = $uf->Pin;
$DepartmentName = $uf->DepartmentName;
$User_Comments = $uf->User_Comments;
}
}
?>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Edit Employee details</center>
</h1>
</section>
<section class="content">
<div style="text-align:right;">
<a href="<?php echo base_url() ?>employeeListing" class="btn btn-primary" value="Back"/>Back</a>
</div>
<br/>
<div class="row">
<!-- left column -->
<div class="col-md-12">
<!-- general form elements -->
<div class="box box-primary">
<div class="box-header">
<center> <h3 class="box-title">Edit Employee Details</h3></center>
</div><!-- /.box-header -->
<!-- form start -->
<form role="form" action="<?php echo base_url() ?>Employeedetails/editemployee" method="post" id="editemployee" role="form">
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="FirstName">First Name</label>
<input type="text" class="form-control required" id="FirstName" name="FirstName" maxlength="128"value="<?php echo $FirstName;?>">
<input type="hidden" class="form-control" id="EmpID" name="EmpID" value="<?php echo $EmpID;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="LastName">Last Name</label>
<input type="text" class="form-control required " id="LastName" name="LastName" maxlength="255"value="<?php echo $LastName;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="DateofBirth">Date of Birth</label>
<input type="Date" name="DateofBirth" class="form-control"value="<?php echo $DateofBirth;?>" >
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="ContactNumber">Contact Number</label>
<input type="text" class="form-control digit required " id="ContactNumber" name="ContactNumber" maxlength="255" value="<?php echo $ContactNumber;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="EmailId">Email ID</label>
<input type="email" class="form-control email required " id="EmailId" name="EmailId" maxlength="255" value="<?php echo $EmailId;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="DateofJoining">Date of Joining</label>
<input type="Date" name="DateofBirth" class="form-control" value="<?php echo $DateofJoining;?>" />
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="role">Role</label>
<select class="form-control " id="role" name="role">
<option value="0">Select Role</option>
<?php
if(!empty($roles))
{
foreach ($roles as $rl)
{
?>
<option value="<?php echo $rl->role ?>"><?php echo $rl->role ?></option>
<?php
}
}
?>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="Address1">Address1</label>
<textarea rows="3" cols="10" wrap="hard" input type="text" class="form-control required" id="Address1" name="Address1" maxlength="250" value="<?php echo $Address1;?>"></textarea>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="Address2">Address2</label>
<textarea rows="3" cols="10" wrap="hard" input type="text" class="form-control required" id="Address2" name="Address2" maxlength="250" value="<?php echo $Address2;?>"></textarea>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="Place">Place</label>
<input type="text" class="form-control required " id="Place" name="Place" maxlength="255" value="<?php echo $Place;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="City">City</label>
<input type="text" class="form-control required " id="City" name="City" maxlength="255" value="<?php echo $City;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="State">State</label>
<input type="text" class="form-control required " id="State" name="State" maxlength="255" value="<?php echo $State;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="Pin">Pin</label>
<input type="text" class="form-control digit required " id="Pin" name="Pin" maxlength="255" value="<?php echo $Pin;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="DepartmentName">Department Name</label>
<input type="text" class="form-control required " id="DepartmentName" name="DepartmentName" maxlength="255"value="<?php echo $DepartmentName;?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="User_Comments">User Comments</label>
<input type="text" class="form-control required " id="User_Comments" name="User_Comments" maxlength="255" value="<?php echo $User_Comments;?>">
</div>
</div>
</div>
</div>
</div><!-- /.box-body -->
<div class="box-footer" style="text-align:right">
<input type="submit" class="btn btn-primary" value="Submit" />
<input type="reset" class="btn btn-primary" value="Cancel" />
</div>
</div>
</form>
</div>
</div>
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
{
?>
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?php echo $this->session->flashdata('error'); ?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
{
?>
<div class="alert alert-success alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?php echo $this->session->flashdata('success'); ?>
</div>
<?php } ?>
<div class="row">
<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>'); ?>
</div>
</div>
</div>
</div>
</section>
</div>
<script src="<?php echo base_url(); ?>assets/js/editUser.js" type="text/javascript"></script>

View File

@ -1,389 +0,0 @@
<?php
$SupplierID = '';
$SupplierName = '';
$Address = '';
$ContactNumber = '';
$AlternateContactNumber = '';
$EmailAddress = '';
$TIN = '';
$PAN = '';
$GSTNO = '';
$GSTRange = '';
$CollectrateAddress = '';
$UANumber = '';
$PaymentTerms = '';
$PaymentDays = '';
$PayableAT = '';
if(!empty($supplier))
{
foreach ($supplier as $uf)
{
$SupplierID = $uf->SupplierID;
$SupplierName = $uf->SupplierName;
$Address = $uf->Address;
$ContactNumber = $uf->ContactNumber;
$AlternateContactNumber = $uf->AlternateContactNumber;
$EmailAddress = $uf->EmailAddress;
$Exiseregistration = $uf->Exiseregistration;
$TIN = $uf->TIN;
$PAN = $uf->PAN;
$GSTNO = $uf->GSTNO;
$GSTRange = $uf->GSTRange;
$CollectrateAddress = $uf->CollectrateAddress;
$UANumber = $uf->UANumber;
$PaymentTerms = $uf->PaymentTerms;
$PaymentDays = $uf->PaymentDays;
$PayableAT = $uf->PayableAT;
}
}
?>
<script>
function demo(){
alert("Update this records");
}
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center> ADD SUPPLIER </center>
</h1>
</section>
<section class="content">
<div style="text-align:left;">
<a href="<?php echo base_url() ?>supplierListing" class="btn btn-primary" value="Back"/>Back</a>
</div>
<br/>
<div class="row">
<!-- left column -->
<div class="col-md-12">
<!-- general form elements -->
<div class="box box-primary">
<div class="box-header">
<center> <h3 class="box-title">Add Supplier Details</h3></center>
</div><!-- /.box-header -->
<!-- form start -->
<form role="form" id="editsupplier" action="<?php echo base_url() ?>editsupplier" method="post" role="form">
<div class="box-body">
<div class="row">
<div class="col-md-6 col-xs-6">
<div class="form">
<label for="PAN">PAN</label>
<input type="text" class="form-control" id="PAN" name="PAN"style="text-transform:uppercase" onchange="validatePAN()"title="please correct enter the pan number"maxlength="10" value="<?php echo $PAN;?>">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form-group">
<label for="SupplierName">Supplier Name</label>
<input type="hidden" class="form control" name="SupplierID" value="<?php echo $SupplierID;?>">
<input type="text" class="form-control " id="SupplierName" onchange="validatesuppliername()"name="SupplierName" maxlength="128" value="<?php echo $SupplierName;?>"value="<?php echo $SupplierName;?>" >
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form-group">
<label for="Address">Address</label>
<input type="text" class="form-control required" id="Address" name="Address" value="<?php echo $Address;?>"maxlength="250"></textarea>
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form-group">
<label for="ContactNumber">Contact Number</label>
<input type="text" class="form-control" pattern="^\d{10}$""onchange="validatenumbers()" id="number" title="please enter valid phone number" name="ContactNumber" value="<?php echo $ContactNumber;?>">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form-group">
<label for="AlternateContactNumber">Alternate Contact Number</label>
<input type="tel" class="form-control" pattern="^\d{10}$"value="<?php echo $AlternateContactNumber;?>" id="Number" name="AlternateContactNumber" minlength="10" maxlength="11">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form-group">
<label for="EmailAddress">Email Address</label>
<input type="email" class="form-control required email" value="<?php echo $EmailAddress;?>"id="EmailAddress" onchange="validateEmail()"name="EmailAddress" maxlength="128">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form-group">
<label for="Exiseregistration">Exise Registration</label>
<input type="text" class="form-control required"value="<?php echo $Exiseregistration;?>" id="Exiseregistration" name="Exiseregistration" minlength="10" maxlength="10">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form-group">
<label for="TIN">TIN</label>
<input type="text" class="form-control required" pattern="^\d{2}-\d{7}$"value="<?php echo $TIN;?>" onchange="validateTIN"id="TIN" title="ex:xx-xxxxxxx"name="TIN" minlength="10" maxlength="10">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 col-xs-6">
<div class="form">
<label for="GSTNO">GST No</label>
<input type="text" class="form-control " value="<?php echo $GSTNO;?>"id="GSTNo" name="GSTNo" maxlength="10">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form">
<label for="Range">Range</label>
<input type="text" class="form-control " value="<?php echo $GSTRange;?>"id="Range" name="GSTRange" "maxlength="10">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form">
<label for="CollectrateAddress">Colletrate Address</label>
<input type="text" class="form-control " value="<?php echo $CollectrateAddress;?>"id="CollectrateAddress" name="CollectrateAddress" maxlength="255">
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form">
<label for="UANumber">UA Number</label>
<input type="text" class="form-control " pattern="^\d{12}$"value="<?php echo $UANumber;?>" id="UANumber" name="UANumber" maxlength="12">
</div>
</div>
<br/>
<div class="row">
<div class="col-md-offset-5 col-md-3 col-xs-offset-5 col-xs-3">
<h4><u>Payment terms </u></h4>
</div>
</div>
<div class="col-md-6 col-xs-6">
<label for="payablefrom">Payable From</label>
<select class="form-control required" id="PaymentTerms" name="PaymentTerms">
<option value="<?php echo $PaymentTerms;?>"><?php echo $PaymentTerms;?></option>
<?php
if(!empty($payment))
{
foreach ($payment as $rl)
{
?>
<option value="<?php echo $rl->ConfigValue ?>"><?php echo $rl->ConfigValue ?></option>
<?php
}
}
?>
</select>
</div>
<div class="col-md-3 col-xs-6">
<div class="form">
<label for="PaymentDays" >Payment Date</label><br/>
<span> Before</span>
<input type="radio" <?php echo($PaymentDays?'checked="checked"':''); ?> name="PaymentDays" value="before"/>
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form">
<span> After</span>
<input type="radio" <?php echo($PaymentDays?'checked="checked"':''); ?> name="PaymentDays" value="after"/>
</div>
</div>
<div class="col-md-6 col-xs-6">
<div class="form">
<label for="PayableAT">Payable AT</label>
<input type="text" value="<?php echo $PayableAT;?>"class="form-control required" id="PayableAT" name="PayableAT" >
<input type="hidden" value="<?php echo $name;?>"class="form-control required" id="UpdatedBy" name="UpdatedBy" >
</div>
</div>
</div>
</div><!-- /.box-body -->
<div class="box-footer" style="text-align:right">
<input type="submit" class="btn btn-primary" value="Submit" />
<input type="reset" class="btn btn-primary" value="Reset" />
</div>
</form>
</div>
</div>
<div class="col-md-4">
<?php
$this->load->helper('form');
$error = $this->session->flashdata('error');
if($error)
{
?>
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?php echo $this->session->flashdata('error'); ?>
</div>
<?php } ?>
<?php
$success = $this->session->flashdata('success');
if($success)
{
?>
<div class="alert alert-success alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?php echo $this->session->flashdata('success'); ?>
</div>
<?php } ?>
<div class="row">
<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>'); ?>
</div>
</div>
</div>
</div>
</section>
</div>
<script>
//Call to ajax existing PAN
$('#PAN').change(function() {
var id = $('#PAN').val();
$.ajax({
data:{id:id},
type:"POST",
url:"<?php echo base_url();?>supplier/checkPAN",
success:function(data) {
if(data)
{
alert( data+""+" already supplier existing change Status");
window.location = 'supplier/supplierListing';
//$('#PAN').val(data);
}
}
});
});
//Email Validate
function validateEmail() {
var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
var email = $('#EmailAddress').val();
if(email != "")
{
if (reg.test(email) == false)
{
alert('Please Enter Valid Email Address');
return (false);
}
else
{
return true;
}
}
}
//PAN Validate
function validatePAN() {
var reg = /(?=.*[A-Za-z]).{5,}(?=.*[0-9]).{4,}(?=.*[A-Za-z]).{1,}$/;
var PAN = $('#PAN').val();
if(PAN != "")
{
if (reg.test(PAN) == false)
{
alert('Please Enter Valid PAN Number');
return (false);
}
else
{
return true;
}
}
}
//Validate Supplier Name
function validatesuppliername() {
var reg = /^[A-Za-z ]{3,30}$/;
var suppliername = $('#SupplierName').val();
if(suppliername != "")
{
if (reg.test(suppliername) == false)
{
alert('Please Enter Valid Supplier Name');
return (false);
}
else
{
return true;
}
}
}
function validatenumbers() {
var reg = /^(?=.*?[0-9])$/;
var number = $('#number').val();
if(number != "")
{
if (reg.test(number) == false)
{
alert('Please Enter Valid Number');
return (false);
}
else
{
return true;
}
}
}
function validateTIN() {
var reg = /^d{2}-\d{7}$/;
var TIN = $('#TIN').val();
if(TIN != "")
{
if (reg.test(TIN) == false)
{
alert('Please Enter Valid Number');
return (false);
}
else
{
return true;
}
}
}
</script>

View File

@ -410,7 +410,7 @@ function onlyAlphabets(evt) {
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center> Siddharth Industries - Edit <?php echo $SupplierID; ?> DETAILS</center>
<center> Resico Industries - Edit <?php echo $SupplierID; ?> DETAILS</center>
</h1>

View File

@ -58,7 +58,7 @@ if(!empty($master))
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center>Siddharth Industries - Edit Config Details</center>
<center>Resico Industries - Edit Config Details</center>
</h1>

View File

@ -94,7 +94,7 @@ if(!empty($department))
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
<center> Siddharth Industries - <?php echo $DepartmentName; ?> Department Details</center>
<center> Resico Industries - <?php echo $DepartmentName; ?> Department Details</center>
</h1>

View File

@ -4,7 +4,7 @@
<section class="content">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Siddharth Industries - Employee Details</h3></CENTER>
<CENTER><h3 class="box-title">Resico Industries - Employee Details</h3></CENTER>
</div>
<div class="container-fluid">
<div class="row">

View File

@ -113,7 +113,7 @@ $(function() {
</style>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" crossorigin="anonymous">
<title>Siddharth Industries</title>
<title>Resico Industries </title>
<!-- Data Tables-->
<link href="<?php echo base_url();?>assets/css/plugins/dataTables/dataTables.bootstrap.css"/>
@ -134,9 +134,9 @@ $(function() {
<!-- Logo -->
<a class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>SI</b></span>
<span class="logo-mini"><b>RI</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Siddharth Industries</b></span>
<span class="logo-lg"><b>Resico Industries</b></span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation" >

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<title>Siddharth Industries | Admin System Log in</title>
<title>Resico Industries | Admin System Log in</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link href="<?php echo base_url(); ?>assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
@ -18,7 +18,7 @@
<body class="login-page">
<div class="login-box">
<div class="login-logo">
<a href="#"><b>Siddharth Industries</b><br>Admin System</a>
<a href="#"><b>Resico Industries</b><br>Admin System</a>
</div><!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">Log In</p>

View File

@ -4,7 +4,7 @@
<section class="content">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Siddharth Industries - Material Master Details</h3></CENTER>
<CENTER><h3 class="box-title">Resico Industries - Material Master Details</h3></CENTER>
</div>
<div class="container-fluid">
<div class="row">

View File

@ -4,7 +4,7 @@
<section class="content">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Siddharth Industries - Supplier Details</h3></CENTER>
<CENTER><h3 class="box-title">Resico Industries - Supplier Details</h3></CENTER>
</div>
<div class="container-fluid">
<div class="row">

View File

@ -5,7 +5,7 @@
<section class="content">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Siddharth Industries - User Management</h3></CENTER>
<CENTER><h3 class="box-title">Resico Industries - User Management</h3></CENTER>
</div>
<div class="container-fluid">
<div class="row">

0
uploads/files/Payslip-E003-02-2017 Normal file → Executable file
View File

0
uploads/files/Payslip-E003-02-2017.pdf Normal file → Executable file
View File

0
uploads/files/SALARY_FEB_2017.xlsx Normal file → Executable file
View File

0
uploads/files/avatar.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

0
uploads/images/avatar.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB