added new user detail page
This commit is contained in:
parent
c4cd8c26b5
commit
20d53a9798
@ -129,7 +129,7 @@ class assetdetails extends BaseController
|
||||
$this->session->set_flashdata('error', 'Asset Not Create');
|
||||
}
|
||||
|
||||
redirect('assetListing');
|
||||
redirect('assetdetails/assetListing');
|
||||
}
|
||||
|
||||
}
|
||||
@ -198,7 +198,7 @@ class assetdetails extends BaseController
|
||||
$SupplierName = $this->input->post('SupplierName');
|
||||
$DateOfPurchase = $this->input->post('DateOfPurchase');
|
||||
$DateOfCommission = $this->input->post('DateOfCommission');
|
||||
$Createdby = $this->input->post('Createdby');
|
||||
$Createdby = $this->input->post('Createdby');
|
||||
$AssetValue = $this->input->post('AssetValue');
|
||||
|
||||
$asset = array();
|
||||
@ -218,8 +218,8 @@ class assetdetails extends BaseController
|
||||
{
|
||||
$this->session->set_flashdata('error', 'Asset updation failed');
|
||||
}
|
||||
//echo success;
|
||||
redirect('assetListing');
|
||||
echo $asset;
|
||||
// redirect('assetListing');
|
||||
}
|
||||
|
||||
}
|
||||
@ -227,8 +227,8 @@ class assetdetails extends BaseController
|
||||
/**
|
||||
* This function is used to delete the user using userId
|
||||
* @return boolean $result : TRUE / FALSE
|
||||
*/
|
||||
function deleteasset()
|
||||
|
||||
function deleteUser()
|
||||
{
|
||||
if($this->isAdmin() == TRUE)
|
||||
{
|
||||
@ -237,15 +237,15 @@ class assetdetails extends BaseController
|
||||
else
|
||||
{
|
||||
$userId = $this->input->post('userId');
|
||||
$userInfo = array('isActive'=>1,'updatedBy'=>$this->vendorId, 'updatedDtm'=>date('Y-m-d H:i:sa'));
|
||||
$userInfo = array('isDeleted'=>1,'updatedBy'=>$this->vendorId, 'updatedDtm'=>date('Y-m-d H:i:sa'));
|
||||
|
||||
$result = $this->assetdetails_model->deleteUser($userId, $userInfo);
|
||||
$result = $this->user_model->deleteUser($userId, $userInfo);
|
||||
|
||||
if ($result > 0) { echo(json_encode(array('status'=>TRUE))); }
|
||||
else { echo(json_encode(array('status'=>FALSE))); }
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
function viewasset($Asset_code = NULL)
|
||||
{
|
||||
|
||||
|
||||
@ -218,8 +218,8 @@ class rawmaterialdetails extends BaseController
|
||||
/**
|
||||
* This function is used to delete the user using userId
|
||||
* @return boolean $result : TRUE / FALSE
|
||||
*/
|
||||
function deleterawmaterial()
|
||||
|
||||
function deleteUser()
|
||||
{
|
||||
if($this->isAdmin() == TRUE)
|
||||
{
|
||||
@ -227,15 +227,15 @@ class rawmaterialdetails extends BaseController
|
||||
}
|
||||
else
|
||||
{
|
||||
$MaterialCode = $this->input->post('MaterialCode');
|
||||
$Material = array('isActive'=>1,'updatedBy'=>$this->vendorId, 'updatedDate'=>date('Y-m-d H:i:sa'));
|
||||
$userId = $this->input->post('userId');
|
||||
$userInfo = array('isDeleted'=>1,'updatedBy'=>$this->vendorId, 'updatedDtm'=>date('Y-m-d H:i:sa'));
|
||||
|
||||
$result = $this->rawmaterialdetails_model->deleterawmaterial($MaterialCode, $Material);
|
||||
$result = $this->user_model->deleteUser($userId, $userInfo);
|
||||
|
||||
if ($result > 0) { echo(json_encode(array('status'=>TRUE))); }
|
||||
else { echo(json_encode(array('status'=>FALSE))); }
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
@ -287,23 +287,7 @@ class supplier extends BaseController
|
||||
|
||||
}
|
||||
|
||||
function deletesupplier()
|
||||
{
|
||||
if($this->isAdmin() == TRUE)
|
||||
{
|
||||
echo(json_encode(array('status'=>'access')));
|
||||
}
|
||||
else
|
||||
{
|
||||
$supplierID = $this->input->post('SupplierID');
|
||||
$supplier = array('isActive'=>1,'updatedBy'=>$this->vendorId, 'updatedON'=>date('Y-m-d H:i:sa'));
|
||||
|
||||
$result = $this->supplier_model->deletesupplier($supplierID, $supplier);
|
||||
|
||||
if ($result > 0) { echo(json_encode(array('status'=>TRUE))); }
|
||||
else { echo(json_encode(array('status'=>FALSE))); }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function pageNotFound()
|
||||
|
||||
@ -157,13 +157,13 @@ function addNewasset($asset)
|
||||
* This function is used to delete the user information
|
||||
* @param number $userId : This is user id
|
||||
* @return boolean $result : TRUE / FALSE
|
||||
*/
|
||||
function deleteasset($Asset_Code, $asset)
|
||||
|
||||
function deletePO($PO, $POinfo)
|
||||
{
|
||||
$this->db->where('Asset_Code', $Asset_Code);
|
||||
$this->db->update('T_AssetDetails', $asset);
|
||||
$this->db->where('PO', $PO);
|
||||
$this->db->update('T_PurchaseOrderDetails', $POInfo);
|
||||
|
||||
return $this->db->affected_rows();
|
||||
}
|
||||
}*/
|
||||
}
|
||||
?>
|
||||
@ -17,7 +17,7 @@ class rawmaterialdetails_model extends CI_Model
|
||||
$likeCriteria = "(BaseT.MaterialCode LIKE '%".$searchText."%'
|
||||
OR BaseT.MaterialName LIKE '%".$searchText."%'
|
||||
OR BaseT.MaterialType LIKE '%".$searchText."%'
|
||||
OR BaseT.UOM LIKE '%".$searchText."%')";
|
||||
OR BaseT.SupplierID LIKE '%".$searchText."%')";
|
||||
$this->db->where($likeCriteria);
|
||||
}
|
||||
//$this->db->where('BaseT.isDeleted', 0);
|
||||
@ -43,7 +43,7 @@ class rawmaterialdetails_model extends CI_Model
|
||||
$likeCriteria = "(BaseT.MaterialCode LIKE '%".$searchText."%'
|
||||
OR BaseT.MaterialName LIKE '%".$searchText."%'
|
||||
OR BaseT.MaterialType LIKE '%".$searchText."%'
|
||||
OR BaseT.UOM LIKE '%".$searchText."%')";
|
||||
OR BaseT.SupplierID LIKE '%".$searchText."%')";
|
||||
$this->db->where($likeCriteria);
|
||||
}
|
||||
//$this->db->where('BaseT.isDeleted', 0);
|
||||
@ -138,13 +138,13 @@ function addNewRawMaterial($RawMaterial)
|
||||
* This function is used to delete the user information
|
||||
* @param number $userId : This is user id
|
||||
* @return boolean $result : TRUE / FALSE
|
||||
*/
|
||||
function deleterawmaterial($RawMaterial, $MaterialCode)
|
||||
|
||||
function deletePO($PO, $POinfo)
|
||||
{
|
||||
$this->db->where('MaterialCode', $MaterialCode);
|
||||
$this->db->update('T_MaterialMaster', $RawMaterial);
|
||||
$this->db->where('PO', $PO);
|
||||
$this->db->update('T_PurchaseOrderDetails', $POInfo);
|
||||
|
||||
return $this->db->affected_rows();
|
||||
}
|
||||
}*/
|
||||
}
|
||||
?>
|
||||
@ -172,13 +172,7 @@ function addNewsupplier($supplier)
|
||||
}
|
||||
|
||||
|
||||
function deletesupplier($supplierID, $supplier)
|
||||
{
|
||||
$this->db->where('supplierID', $supplierID);
|
||||
$this->db->update('T_SupplierDetailsN', $supplier);
|
||||
|
||||
return $this->db->affected_rows();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
<div class="form-group">
|
||||
<label for="MaterialType">Material Type</label>
|
||||
<select class="form-control required" id="MaterialType" name="MaterialType">
|
||||
<option selected disabled value="">Select Material Type</option>
|
||||
<option value="null" required>Select Material Type</option>
|
||||
<?php
|
||||
if(!empty($material))
|
||||
{
|
||||
@ -68,7 +68,7 @@
|
||||
<div class="form-group">
|
||||
<label for="UOM">Unit of Mesurement</label>
|
||||
<select class="form-control required" id="UOM" name="UOM">
|
||||
<option selected disabled value="" >Select UOM</option>
|
||||
<option value="0" required>Select UOM</option>
|
||||
<?php
|
||||
if(!empty($UOM))
|
||||
{
|
||||
@ -90,7 +90,7 @@
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="submit" class="btn btn-info" onclick="Validate()"value="Submit" />
|
||||
<input type="submit" class="btn btn-info" value="Submit" />
|
||||
<input type="reset" class="btn btn-info" value="Cancel" />
|
||||
</div>
|
||||
</form>
|
||||
@ -129,22 +129,4 @@
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<script>
|
||||
|
||||
function Validate()
|
||||
{
|
||||
if($("option:selected", $("#MaterialType")).val() == '0')
|
||||
{
|
||||
alert('Please Select Material Type');
|
||||
return ;
|
||||
}
|
||||
if($("option:selected", $("#UOM")).val() == '0')
|
||||
{
|
||||
return ;
|
||||
alert('Please Select UOM');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<script src="<?php echo base_url(); ?>assets/js/addUser.js" type="text/javascript"></script>
|
||||
@ -1,4 +1,4 @@
|
||||
<div class="content-wrapper">
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
@ -42,7 +42,7 @@
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="Asset_Name">Asset Name</label>
|
||||
<input type="text" class="form-control required" id="Asset_Name" name="Asset_Name" required="true">
|
||||
<input type="text" class="form-control required" id="Asset_Name" name="Asset_Name">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="Description" required="true">Description</label>
|
||||
<label for="Description">Description</label>
|
||||
<input type="text" class="form-control required" id="Description" name="Description">
|
||||
</div>
|
||||
</div>
|
||||
@ -64,7 +64,7 @@
|
||||
<div class="form-group">
|
||||
<label for="Department">Department</label>
|
||||
<select class="form-control required" id="Department" name="Department">
|
||||
<option value="0">Department</option>
|
||||
<option>Department</option>
|
||||
<?php
|
||||
if(!empty($Department))
|
||||
{
|
||||
@ -84,8 +84,8 @@
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="Location" >Location</label>
|
||||
<input type="text" class="form-control required" id="Location" name="Location" required="true">
|
||||
<label for="Location">Location</label>
|
||||
<input type="text" class="form-control required" id="Location" name="Location">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -93,8 +93,8 @@
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="AssetOwner">User</label>
|
||||
<input type="text" class="form-control required" id="User" name="User" required="true">
|
||||
<label for="AssetOwner">Asset Owner</label>
|
||||
<input type="text" class="form-control required" id="User" name="User">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -102,8 +102,8 @@
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="SupplierName">Supplier Name</label>
|
||||
<select class="form-control required" id="SupplierName" name="SupplierName" required="true">
|
||||
<option value="0">Select Supplier Name</option>
|
||||
<select class="form-control required" id="SupplierName" name="SupplierName">
|
||||
<option >Select Supplier Name</option>
|
||||
<?php
|
||||
if(!empty($SupplierName))
|
||||
{
|
||||
@ -122,29 +122,29 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="DateOfPurchase">Date Of Purchase</label>
|
||||
<input type="date" name="DateOfPurchase" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-7,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo date('Y-m-d'); ?>" class="form-control" placeholder="" / required="true">
|
||||
<input type="date" name="DateOfPurchase" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-7,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo date('Y-m-d'); ?>" class="form-control" placeholder="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="DateOfCommission">Date Of Commission</label>
|
||||
<input type="date" name="DateOfCommission" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-7,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo date('Y-m-d'); ?>" class="form-control" placeholder="" / required="true">
|
||||
<input type="date" name="DateOfCommission" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-7,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo date('Y-m-d'); ?>" class="form-control" placeholder="" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="Assetvalue">Asset Value</label>
|
||||
<input type="text" class="form-control required" id="Assetvalue" name="AssetValue" maxlength="255" required="true">
|
||||
<input type="hidden" class="form-control required" id="Createdby" value="<?php echo $name;?>" name="Createdby" maxlength="255">
|
||||
<input type="text" class="form-control required" id="Assetvalue" name="Assetvalue" maxlength="255">
|
||||
<input type="hidden" class="form-control required" id="Createdby" name="Createdby" maxlength="255">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="submit" class="btn btn-info" onclick="Validate()" value="Submit" />
|
||||
<input type="submit" class="btn btn-info" value="Submit" />
|
||||
<input type="reset" class="btn btn-info" value="Reset" />
|
||||
</div>
|
||||
</form>
|
||||
@ -183,22 +183,4 @@
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<script>
|
||||
|
||||
function Validate()
|
||||
{
|
||||
if($("option:selected", $("#Department")).val() == '0')
|
||||
{
|
||||
alert('Please Select Department');
|
||||
return ;
|
||||
}
|
||||
if($("option:selected", $("#SupplierName")).val() == '0')
|
||||
{
|
||||
alert('Please Select Supplier Name');
|
||||
return ;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<script src="<?php echo base_url(); ?>assets/js/addUser.js" type="text/javascript"></script>
|
||||
@ -1,8 +1,9 @@
|
||||
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<CENTER> Employee Details</CENTER>
|
||||
<CENTER> Employee Create Details</CENTER>
|
||||
|
||||
</h1>
|
||||
|
||||
@ -27,142 +28,222 @@
|
||||
<!-- form start -->
|
||||
|
||||
<form role="form" id="addemployee" action="<?php echo base_url() ?>Employeedetails/addNewemployee" method="post" role="form">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<!--<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="CostCentreID">Cost Center ID</label>
|
||||
<input type="text" class="form-control required" id="CostCentreID" name="CostCentreID" maxlength="128">
|
||||
</div>
|
||||
|
||||
</div>-->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="FirstName">First Name</label>
|
||||
<input type="text" class="form-control required"pattern="[A-Za-z]{25}"id="FirstName" name="FirstName" maxlength="128">
|
||||
</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" pattern="[A-Za-z]{10}" name="LastName" maxlength="255">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="DateofBirth">Date of Birth</label>
|
||||
<input type="date" name="DateofBirth required" class="form-control" placeholder="" />
|
||||
</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" minlength="10" maxlength="10">
|
||||
</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">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="DateofJoining">Date of Joining</label>
|
||||
<input type="date" name="DateofJoining " id="DateofJoining" class="form-control" placeholder="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="role">Role</label>
|
||||
<select class="form-control required" 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"></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"></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">
|
||||
</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">
|
||||
</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">
|
||||
</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">
|
||||
</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">
|
||||
</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">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="submit" class="btn btn-info" value="Submit" />
|
||||
<input type="reset" class="btn btn-info" value="Cancel" />
|
||||
</div>
|
||||
|
||||
<!-- Name Section -->
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<form class="form-horizontal" role="form">
|
||||
<fieldset>
|
||||
<div class="row">
|
||||
<!-- Form Name -->
|
||||
<legend>Personal Information Details</legend>
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<input type="file" onchange="previewFile()"><br>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-4">
|
||||
<input type="text" name="fistName" placeholder="First Name" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<input type="text" name="lastName" placeholder="Last Name" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<input type="date" placeholder="Date Of Birth" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-4">
|
||||
<input type="number" placeholder="Age" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<input type="text" name="eFistName" placeholder="Contact Name" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<input type="text" name="eMiddleName" placeholder="Email ID" class="form-control">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
|
||||
<div class="col-md-4">
|
||||
<select type="gender" placeholder="Gender" class="form-control">
|
||||
<option value="female">Female</option>
|
||||
<option value="male">Male</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<div class="col-md-4">
|
||||
<select type="gender" placeholder="Martial status" class="form-control">
|
||||
<option value="single">Single</option>
|
||||
<option value="married">Married</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Select Basic -->
|
||||
<div class="form-group">
|
||||
|
||||
<div class="col-md-4">
|
||||
<select id="blood_group" name="blood_group" class="form-control">
|
||||
<option value="-1">Select Blood group</option>
|
||||
<option value="1">A+</option>
|
||||
<option value="2">B+</option>
|
||||
<option value="3">AB+</option>
|
||||
<option value="4">O+</option>
|
||||
<option value="5">A-</option>
|
||||
<option value="6">B-</option>
|
||||
<option value="7">AB-</option>
|
||||
<option value="8">O-</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Address Section -->
|
||||
<!-- Form Name -->
|
||||
<legend>Address Details</legend>
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-10">
|
||||
<input type="text" name="currentaddress" placeholder="Current Address" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-2">
|
||||
<input type="checkbox" name="sameaddress"> Current address same as permanent address
|
||||
</div>
|
||||
</div>
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-10">
|
||||
<input type="text" name="permanentaddress" placeholder="permanent Address " class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Text input-->
|
||||
|
||||
|
||||
|
||||
<!-- Emergency Contact Section -->
|
||||
<!-- Form Name -->
|
||||
<legend>Emergency Contact Information</legend>
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-4">
|
||||
<input type="text" name="eFistName" placeholder="Emergency Contact Name" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<input type="text" name="eMiddleName" placeholder="Emergency Contact Number" class="form-control">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- profile Section -->
|
||||
<!-- Form Name -->
|
||||
<legend>Work Profile</legend>
|
||||
<!-- Text input-->
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="desigination" placeholder="Desigination" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="departmentname" placeholder="Department Name" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="date" placeholder="Date Of Joining" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="totalexpe" placeholder="Total Experience" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="eduquali" placeholder="Education Qualification" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="addquali" placeholder="Additional Qualification" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="referredby" placeholder="Referred By" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="refcontno" placeholder="Referred Contact Number" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend>Bank Details</legend>
|
||||
<!-- Text input-->
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="accountno" placeholder="Account Number" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="ifsccode" placeholder="IFSC Code" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="bankbranchname" placeholder="Bank Branch Name" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="bankaddress" placeholder="Bank Address" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend>ID Proof</legend>
|
||||
<!-- Text input-->
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="aadharno" placeholder="Aadhar Number" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="panno" placeholder="PAN Number" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="text" name="passportno" placeholder="Passport Number" class="form-control">
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<input type="date" placeholder="" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend>Additional Information</legend>
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<input type="text" name="addinfo" placeholder="Additional Information" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Command -->
|
||||
<div class="form-group">
|
||||
<div class="col-md-5 col-md-offset-1">
|
||||
<div class="pull-right">
|
||||
<button type="submit" class="btn btn-default">Cancel</button>
|
||||
<button type="submit" class="btn btn-primary">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div><!-- /.col-lg-12 -->
|
||||
</div><!-- /.row -->
|
||||
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@ -199,4 +280,5 @@
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="<?php echo base_url(); ?>assets/js/addUser.js" type="text/javascript"></script>
|
||||
@ -32,13 +32,13 @@
|
||||
<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" required="true">
|
||||
<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">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="SupplierName">Supplier Name</label>
|
||||
<input type="text" class="form-control " id="SupplierName" onchange="validatesuppliername()"name="SupplierName" maxlength="128" required="true">
|
||||
<input type="text" class="form-control " id="SupplierName" onchange="validatesuppliername()"name="SupplierName" maxlength="128" >
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -46,7 +46,7 @@
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="Address2">Address</label>
|
||||
<input type="text" class="form-control required" id="Address" name="Address" maxlength="250"required="true"></textarea>
|
||||
<input type="text" class="form-control required" id="Address" name="Address" maxlength="250"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -56,13 +56,13 @@
|
||||
<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,11}$" id="number" title="please enter valid phone number" name="ContactNumber" minlength="10" maxlength="11" required="true">
|
||||
<input type="text" class="form-control" pattern="^\d{10,11}$" id="number" title="please enter valid phone number" name="ContactNumber" minlength="10" maxlength="11">
|
||||
</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,11}$" id="Number" name="AlternateContactNumber" minlength="10" maxlength="11" required="true">
|
||||
<input type="tel" class="form-control" pattern="^\d{10,11}$" id="Number" name="AlternateContactNumber" minlength="10" maxlength="11">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -71,19 +71,19 @@
|
||||
<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" id="EmailAddress" onchange="validateEmail()"name="EmailAddress" maxlength="128" required="true">
|
||||
<input type="email" class="form-control required email" 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" id="Exiseregistration" name="Exiseregistration" maxlength="15" required="true" title="ex:XXXX00000XX000" style="text-transform:uppercase" onchange="validateexcise()">
|
||||
<input type="text" class="form-control required" 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" id="TIN" pattern="^\d{2}-\d{7}$"name="TIN" minlength="10" maxlength="10" title="ex:xx-xxxxxxx" required="true">
|
||||
<input type="text" class="form-control required" id="TIN" pattern="^\d{2}-\d{7}$"name="TIN" minlength="10" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -92,7 +92,7 @@
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="GSTNo">GST No</label>
|
||||
<input type="text" class="form-control " id="GSTNo" name="GSTNo" maxlength="10" required="true">
|
||||
<input type="text" class="form-control " id="GSTNo" name="GSTNo" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -100,20 +100,20 @@
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="Range">GST Range</label>
|
||||
<input type="text" class="form-control " id="Range" name="GSTRange" "maxlength="10" required="true">
|
||||
<label for="Range">GSTRange</label>
|
||||
<input type="text" class="form-control " 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 " id="CollectrateAddress" name="CollectrateAddress" maxlength="255" required="true">
|
||||
<input type="text" class="form-control " 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}$" id="UANumber" name="UANumber" maxlength="12" required="true">
|
||||
<input type="text" class="form-control " pattern="^\d{12}$" id="UANumber" name="UANumber" maxlength="12">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -126,45 +126,42 @@
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<label for="payablefrom">Payable From</label>
|
||||
<select class="form-control required" id="PaymentTerms" onchange="Validate()" name="PaymentTerms" required>
|
||||
|
||||
<option value="0"> Please select </option>
|
||||
<select class="form-control required" id="PaymentTerms" name="PaymentTerms">
|
||||
<option >Select Payment method</option>
|
||||
<?php
|
||||
|
||||
if(!empty($payment))
|
||||
{
|
||||
foreach ($payment as $rl)
|
||||
{
|
||||
?>
|
||||
<option value="<?php echo $rl->ConfigValue ?>"><?php echo $rl->ConfigValue ?></option>
|
||||
<?php echo 'required="true"';
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="PaymentDays" >Payment Date</label><br/>
|
||||
<label for="PaymentDays">Payment Date</label><br/>
|
||||
<span> Before</span>
|
||||
<input type="radio" name="PaymentDays" value="before"/ required="true">
|
||||
<input type="radio" name="PaymentDays" value="before"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
|
||||
<span> After</span>
|
||||
<input type="radio" name="PaymentDays" value="after"/ >
|
||||
<input type="radio" 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" class="form-control required" id="PayableAT" name="PayableAT" required="true">
|
||||
<input type="hidden" value="<?php echo $name;?>" class="form-control required" id="Createdby" name="Createdby">
|
||||
<input type="text" class="form-control required" id="PayableAT" name="PayableAT" >
|
||||
<input type="hidden" value="<?php echo $name;?>" class="form-control required" id="Createdby" name="Createdby" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -173,7 +170,7 @@
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="submit" class="btn btn-primary" onclick="Validate()" value="Submit" />
|
||||
<input type="submit" class="btn btn-primary" value="Submit" />
|
||||
<input type="reset" class="btn btn-primary" value="Reset" />
|
||||
</div>
|
||||
</form>
|
||||
@ -277,27 +274,9 @@ function validatePAN() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function validateexcise() {
|
||||
var reg = /(?=.*[A-Za-z]).{5,}(?=.*[0-9]).{5,}(?=.*[A-Za-z]).{2,}(?=.*[0-9]).{3,}$/;
|
||||
|
||||
var Exiseregistration = $('#Exiseregistration').val();
|
||||
if(Exiseregistration != "")
|
||||
{
|
||||
if (reg.test(Exiseregistration) == false)
|
||||
{
|
||||
alert('Please Enter Valid Exise registration Number');
|
||||
return (false);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
//Validate Supplier Name
|
||||
function validatesuppliername() {
|
||||
var reg = /^[A-Za-z ()]{3,30}$/;
|
||||
var reg = /^[A-Za-z ]{3,30}$/;
|
||||
|
||||
var suppliername = $('#SupplierName').val();
|
||||
if(suppliername != "")
|
||||
@ -331,12 +310,5 @@ function validatenumbers() {
|
||||
}
|
||||
|
||||
}
|
||||
function Validate()
|
||||
{
|
||||
if($("option:selected", $("#PaymentTerms")).val() == '0')
|
||||
{
|
||||
alert('Please Select Payment Terms');
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@ -8,58 +8,7 @@
|
||||
|
||||
<section class="content">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-aqua">
|
||||
<div class="inner">
|
||||
<h3>150</h3>
|
||||
<p><a href="#">New Tasks</p></a>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-bag"></i>
|
||||
</div>
|
||||
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div><!-- ./col -->
|
||||
<div class="col-lg-3 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-green">
|
||||
<div class="inner">
|
||||
<h3>53<sup style="font-size: 20px">%</sup></h3>
|
||||
<p>Completed Tasks</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-stats-bars"></i>
|
||||
</div>
|
||||
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div><!-- ./col -->
|
||||
<div class="col-lg-3 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-yellow">
|
||||
<div class="inner">
|
||||
<h3>44</h3>
|
||||
<p>New User</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-person-add"></i>
|
||||
</div>
|
||||
<a href="<?php echo base_url(); ?>userListing" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div><!-- ./col -->
|
||||
<div class="col-lg-3 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-red">
|
||||
<div class="inner">
|
||||
<h3>65</h3>
|
||||
<p>Reopened Issue</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-pie-graph"></i>
|
||||
</div>
|
||||
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div><!-- ./col -->
|
||||
SIDDHARTH INDUSTRIES APPLICATION
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@ -56,8 +56,8 @@ if(!empty($userRecords))
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="MaterialName">Material Name</label>
|
||||
<input type="text" class="form-control required " id="MaterialName" name="MaterialName" maxlength="255" value="<?php echo $MaterialName;?>" required="true">
|
||||
<input type="hidden" class="form-control required " id="MaterialCode" value="<?php echo $MaterialCode;?>"name="MaterialCode" maxlength="255" >
|
||||
<input type="text" class="form-control required " id="MaterialName" name="MaterialName" maxlength="255" value="<?php echo $MaterialCode;?>">
|
||||
<input type="hidden" class="form-control required " id="MaterialCode" value="<?php echo $MaterialCode;?>"name="MaterialCode" maxlength="255">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
@ -9,9 +9,11 @@ $User = '';
|
||||
$SupplierName = '';
|
||||
$DateOfPurchase = '';
|
||||
$DateOfCommission = '';
|
||||
$CreatedDate = '';
|
||||
$AssetValue = '';
|
||||
$Createdby = '';
|
||||
|
||||
|
||||
|
||||
if(!empty($asset))
|
||||
{
|
||||
foreach ($asset as $uf)
|
||||
@ -19,21 +21,27 @@ if(!empty($asset))
|
||||
$Asset_Code = $uf->Asset_Code;
|
||||
$Asset_Name = $uf->Asset_Name;
|
||||
$Description = $uf->Description;
|
||||
$Department = $uf->Department;
|
||||
$Department = $uf->Department;
|
||||
$Location = $uf->Location;
|
||||
$User = $uf->User;
|
||||
$SupplierName = $uf->SupplierName;
|
||||
$DateOfPurchase = $uf->DateOfPurchase;
|
||||
$DateOfCommission = $uf->DateOfCommission;
|
||||
$CreatedDate = $uf->CreatedDate;
|
||||
$AssetValue = $uf->AssetValue;
|
||||
$Createdby = $uf->Createdby;
|
||||
$AssetValue = $uf->AssetValue;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
<script>
|
||||
function demo(){
|
||||
alert("Update this records");
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
@ -41,12 +49,11 @@ if(!empty($asset))
|
||||
<center>Asset Details</center>
|
||||
|
||||
</h1>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div style="text-align:right;">
|
||||
<a href="<?php echo base_url() ?>assetListing" class="btn btn-info" value="Back">Back</a>
|
||||
<a href="<?php echo base_url() ?>assetListing" class="btn btn-info" value="Back"/>Back</a>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="row">
|
||||
@ -58,34 +65,42 @@ if(!empty($asset))
|
||||
|
||||
<div class="box box-primary">
|
||||
<div class="box-header">
|
||||
<center><h3 class="box-title">Edit Asset Details</h3></center>
|
||||
<center> <h3 class="box-title">Edit Asset Details</h3><center>
|
||||
</div><!-- /.box-header -->
|
||||
<!-- form start -->
|
||||
|
||||
<form role="form" action="<?php echo base_url() ?>editasset" method="post" id="editasset" role="form">
|
||||
<form role="form" action="<?php echo base_url() ?>assetdetails/editasset" method="post" id="editsupplier" role="form">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="Asset_Name">Asset_Name</label>
|
||||
<input type="text" class="form-control" id="fname" placeholder="Asset_Name" name="Asset_Name" value="<?php echo $Asset_Name; ?>" maxlength="128" required="true">
|
||||
<input type="hidden" value="<?php echo $Asset_Code; ?>" name="Asset_Code" id="Asset_Code" required="true"/>
|
||||
<div class="form-group">
|
||||
<label for="Asset_Name">Asset Name</label>
|
||||
<input type="text" class="form-control required" id="Asset_Name" name="Asset_Name" value="<?php echo $Asset_Name;?>" required>
|
||||
|
||||
<input type="hidden" value="<?php echo $Asset_Code; ?>" name="Asset_Code" id="Asset_Code" readonly>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="Description">Description</label>
|
||||
<input type="text" class="form-control" id="Description" placeholder="Description" name="Description" value="<?php echo $Description; ?>" maxlength="255"required="true">
|
||||
<input type="text" class="form-control required" id="Description" name="Description" value="<?php echo $Description; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="DepartmentList">DepartmentList</label>
|
||||
<select class="form-control" id="Department" name="Department" required="true">
|
||||
<option value="<?php echo $Department ?>"><?php echo $Department ?></option>
|
||||
<div class="form-group">
|
||||
<label for="Department">Department</label>
|
||||
<select class="form-control required" id="Department" name="Department">
|
||||
<option value="<?php echo $Department;?>"><?php echo $Department;?></option>
|
||||
<?php
|
||||
if(!empty($DepartmentList))
|
||||
{
|
||||
@ -99,27 +114,32 @@ if(!empty($asset))
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="Location">Location</label>
|
||||
<input type="text" class="form-control" value="<?php echo $Location; ?>"id="Location" placeholder="Location" name="Location"required="true" >
|
||||
<input type="text" class="form-control required" id="Location" name="Location"value="<?php echo $Location;?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="User">User</label>
|
||||
<input type="text" class="form-control" value="<?php echo $User;?>"id="User" placeholder="User" name="User" required="true">
|
||||
<input type="text" class="form-control required" id="AssetOwner" name="User" value="<?php echo $User;?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="SupplierName">SupplierName</label>
|
||||
<select class="form-control" id="SupplierName"required="true" name="SupplierName">
|
||||
<option value="<?php echo $SupplierName; ?>"><?php echo $SupplierName; ?></option>
|
||||
<label for="SupplierName">Supplier Name</label>
|
||||
<select class="form-control required" id="SupplierName" name="SupplierName">
|
||||
<option value="<?php echo $SupplierName;?>"><?php echo $SupplierName;?></option>
|
||||
<?php
|
||||
|
||||
if(!empty($SupplierList))
|
||||
@ -133,87 +153,41 @@ if(!empty($asset))
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="DateOfPurchase">Date Of Purchase</label>
|
||||
<input type="date" name="DateOfPurchase" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-60,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo $DateOfPurchase; ?>" class="form-control" placeholder="" required="true"/>
|
||||
<input type="date" name="DateOfPurchase" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-60,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo $DateOfPurchase; ?>" class="form-control" placeholder="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="DateOfCommission">Date Of Commission</label>
|
||||
<input type="date" name="DateOfCommission" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-60,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo $DateOfCommission;?>" class="form-control" placeholder="" required="true"/>
|
||||
<input type="date" name="DateOfCommission" min=<?php $week = date("Y-m-d",mktime(0, 0, 0, date("m"), date("d")-60,date("Y")));echo $week;?> max=<?php echo date('Y-m-d'); ?> value="<?php echo $DateOfCommission;?>" class="form-control" placeholder="" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="AssetValue">AssetValue</label>
|
||||
<input type="text" class="form-control" id="User" placeholder="AssetValue" name="AssetValue" Value="<?php echo $AssetValue;?>" required="true">
|
||||
<input type="hidden" class="form-control" id="Createdby" placeholder="Createdby" name="Createdby" Value="<?php echo $Createdby;?>"readonly>
|
||||
|
||||
<label for="Assetvalue">Asset Value</label>
|
||||
<input type="text" value="<?php echo $AssetValue;?>"class="form-control required" id="Assetvalue" name="Assetvalue" maxlength="255">
|
||||
<input type="hidden" class="form-control required" value="<?php echo $Createdby;?>"id="Createdby" name="Createdby" maxlength="255">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
|
||||
</div>
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="submit" class="btn btn-info" value="Submit" />
|
||||
<input type="reset" class="btn btn-info" value="Cancel" />
|
||||
<input type="submit" class="btn btn-info" onclick="demo()" value="Submit" />
|
||||
<input type="reset" class="btn btn-info" value="Cancel" />
|
||||
<!--<input type="reset" class="btn btn-default" value="Reset" />-->
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</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>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
<script>
|
||||
function Validate()
|
||||
{
|
||||
if($("option:selected", $("#Department")).val() == '0')
|
||||
{
|
||||
alert('Please Select Department');
|
||||
return ;
|
||||
}
|
||||
if($("option:selected", $("#SupplierName")).val() == '0')
|
||||
{
|
||||
alert('Please Select Supplier Name');
|
||||
return ;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<script src="<?php echo base_url(); ?>assets/js/editUser.js" type="text/javascript"></script>
|
||||
@ -15,7 +15,7 @@ $UANumber = '';
|
||||
$PaymentTerms = '';
|
||||
$PaymentDays = '';
|
||||
$PayableAT = '';
|
||||
$Createdby = '';
|
||||
|
||||
|
||||
|
||||
if(!empty($supplier))
|
||||
@ -38,7 +38,6 @@ if(!empty($supplier))
|
||||
$PaymentTerms = $uf->PaymentTerms;
|
||||
$PaymentDays = $uf->PaymentDays;
|
||||
$PayableAT = $uf->PayableAT;
|
||||
$Createdby = $uf->Createdby;
|
||||
|
||||
|
||||
}
|
||||
@ -87,14 +86,14 @@ function demo(){
|
||||
<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;?>" required="true">
|
||||
<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;?>" required="true">
|
||||
<input type="text" class="form-control " id="SupplierName" onchange="validatesuppliername()"name="SupplierName" maxlength="128" value="<?php echo $SupplierName;?>"value="<?php echo $SupplierName;?>" >
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -102,7 +101,7 @@ function demo(){
|
||||
<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" required="true"></textarea>
|
||||
<input type="text" class="form-control required" id="Address" name="Address" value="<?php echo $Address;?>"maxlength="250"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -112,13 +111,13 @@ function demo(){
|
||||
<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" minlength="10" maxlength="11"name="ContactNumber" required="true" value="<?php echo $ContactNumber;?>">
|
||||
<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" required="true">
|
||||
<input type="tel" class="form-control" pattern="^\d{10}$"value="<?php echo $AlternateContactNumber;?>" id="Number" name="AlternateContactNumber" minlength="10" maxlength="11">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -127,19 +126,19 @@ function demo(){
|
||||
<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" required="true">
|
||||
<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" maxlength="15" required="true"onchange="validateexcise()" title="ex:XXXX00000XX000" style="text-transform:uppercase">
|
||||
<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" required="true">
|
||||
<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>
|
||||
|
||||
@ -148,7 +147,7 @@ function demo(){
|
||||
<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" required="true">
|
||||
<input type="text" class="form-control " value="<?php echo $GSTNO;?>"id="GSTNo" name="GSTNo" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -156,20 +155,20 @@ function demo(){
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="Range">GST Range</label>
|
||||
<input type="text" class="form-control " value="<?php echo $GSTRange;?>"id="Range" name="GSTRange" "maxlength="10" required="true">
|
||||
<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" required="true">
|
||||
<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" required="true">
|
||||
<input type="text" class="form-control " pattern="^\d{12}$"value="<?php echo $UANumber;?>" id="UANumber" name="UANumber" maxlength="12">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -202,22 +201,21 @@ function demo(){
|
||||
<div class="form">
|
||||
<label for="PaymentDays" >Payment Date</label><br/>
|
||||
<span> Before</span>
|
||||
<input type="radio" <?php echo($PaymentDays =='before')?'checked':''; ?> name="PaymentDays" value="before"/ required="true">
|
||||
<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 =='after')?'checked':''; ?> name="PaymentDays" value="after"/>
|
||||
<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" required="true">
|
||||
<input type="hidden" value="<?php echo $Createdby;?>"class="form-control required" id="Createdby" name="Createdby" >
|
||||
<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>
|
||||
@ -334,7 +332,7 @@ function validatePAN() {
|
||||
}
|
||||
//Validate Supplier Name
|
||||
function validatesuppliername() {
|
||||
var reg = /^[A-Za-z ()]{3,30}$/;
|
||||
var reg = /^[A-Za-z ]{3,30}$/;
|
||||
|
||||
var suppliername = $('#SupplierName').val();
|
||||
if(suppliername != "")
|
||||
@ -387,30 +385,5 @@ function validatesuppliername() {
|
||||
}
|
||||
|
||||
}
|
||||
function validateexcise() {
|
||||
var reg = /(?=.*[A-Za-z]).{5,}(?=.*[0-9]).{5,}(?=.*[A-Za-z]).{2,}(?=.*[0-9]).{3,}$/;
|
||||
|
||||
var Exiseregistration = $('#Exiseregistration').val();
|
||||
if(Exiseregistration != "")
|
||||
{
|
||||
if (reg.test(Exiseregistration) == false)
|
||||
{
|
||||
alert('Please Enter Valid Exise registration Number');
|
||||
return (false);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
function Validate()
|
||||
{
|
||||
if($("option:selected", $("#PaymentTerms")).val() == '0')
|
||||
{
|
||||
alert('Please Select Payment Terms');
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@ -34,22 +34,14 @@
|
||||
<table class="table table-hover">
|
||||
<tr>
|
||||
<th>Emp ID</th>
|
||||
<th>First Name</th>
|
||||
<th>Last Name</th>
|
||||
<th>Date of Birth</th>
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Contact Number</th>
|
||||
<th>Email ID</th>
|
||||
<th>Date of Joining</th>
|
||||
|
||||
<th>Role</th>
|
||||
<th>Address1</th>
|
||||
<th>Address2</th>
|
||||
<th>Place</th>
|
||||
<th>City</th>
|
||||
<th>State</th>
|
||||
<th>Pin</th>
|
||||
<th>DepartmentName</th>
|
||||
<th>User_Comments</th>
|
||||
<th>Edit</th>
|
||||
<th>Action</th>
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
@ -59,23 +51,16 @@
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $record->EmpID ?></td>
|
||||
<td><a href="<?php echo base_url().'employeedetails/viewemployee/'.$record->EmpID; ?>"><?php echo $record->EmpID ?> </a></td>
|
||||
|
||||
<td><?php echo $record->FirstName ?></td>
|
||||
<td><?php echo $record->LastName ?></td>
|
||||
<td><?php echo $record->DateofBirth ?></td>
|
||||
|
||||
|
||||
<td><?php echo $record->ContactNumber ?></td>
|
||||
<td><?php echo $record->EmailId ?></td>
|
||||
<td><?php echo $record->DateofJoining ?></td>
|
||||
|
||||
<td><?php echo $record->role ?></td>
|
||||
<td><?php echo $record->Address1 ?></td>
|
||||
<td><?php echo $record->Address2 ?></td>
|
||||
<td><?php echo $record->Place ?></td>
|
||||
<td><?php echo $record->City ?></td>
|
||||
<td><?php echo $record->State ?></td>
|
||||
<td><?php echo $record->Pin ?></td>
|
||||
<td><?php echo $record->DepartmentName ?></td>
|
||||
<td><?php echo $record->User_Comments ?></td>
|
||||
|
||||
|
||||
<td>
|
||||
<a href="<?php echo base_url().'employeedetails/editOldemployee/'.$record->EmpID; ?>"><i class="fa fa-pencil"></i> </a>
|
||||
<a href="<?php echo base_url().'employeedetails/viewemployee/'.$record->EmpID; ?>"><i class="fa fa-eye"></i> </a>
|
||||
|
||||
@ -278,7 +278,7 @@
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'required' => 'true');
|
||||
$data = array('name' => 'Quantity','value' => set_value('Quantity'),'id'=>'Quantity', 'class' => 'form-control' ,'placeholder '=>'basic price','required' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
<script type="text/javascript" src="<?php echo base_url();?>assets/js/jquery-ui-1.10.4.min.js"></script>
|
||||
|
||||
|
||||
<link href="<?php echo base_url();?>assets/css/default.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo base_url();?>assets/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo base_url();?>assets/css/animate.css" rel="stylesheet" type="text/css" />
|
||||
<link href="<?php echo base_url();?>assets/css/style.min.css" rel="stylesheet" type="text/css" />
|
||||
@ -88,7 +88,7 @@
|
||||
|
||||
|
||||
<body class="skin-blue sidebar-collapse">
|
||||
<div class="wrapper">
|
||||
|
||||
|
||||
<header class="main-header">
|
||||
<!-- Logo -->
|
||||
@ -112,11 +112,12 @@
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>dashboard">
|
||||
<i class="fa fa-dashboard"></i> <span>Dashboard</span></i>
|
||||
<i class="fa fa-dashboard"></i> <span>Dashboard</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="treeview">
|
||||
<span id="menu" data-toggle="dropdown" onmouseover="""><i class="fa fa-database" aria-hidden="true"></i> Master Details<span class="caret"></span></span>
|
||||
<span id="menu" data-toggle="dropdown"><i class="fa fa-database" aria-hidden="true"></i> Master Details<span class="caret"></span></span>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu1">
|
||||
|
||||
<?php
|
||||
@ -179,7 +180,7 @@
|
||||
}
|
||||
?>
|
||||
<li class="treeview">
|
||||
<span id="menu" data-toggle="dropdown" style="" onmouseover="" ><i class="fa fa-thumb-tack"></i> Requisition form <span class="caret"></span></span>
|
||||
<span id="menu" data-toggle="dropdown" ><i class="fa fa-thumb-tack"></i> Requisition form <span class="caret"></span></span>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>requisitionform/requisition">
|
||||
@ -201,7 +202,7 @@
|
||||
?>
|
||||
|
||||
<li class="treeview">
|
||||
<span id="menu" data-toggle="dropdown" style="" onmouseover="" ><i class="fa fa-thumb-tack"></i> Purchase order Form<span class="caret"></span></span>
|
||||
<span id="menu" data-toggle="dropdown"><i class="fa fa-thumb-tack"></i> Purchase order Form<span class="caret"></span></span>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="menu2">
|
||||
<li class="treeview">
|
||||
<a href="<?php echo base_url(); ?>purchaseorderListing" >
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
<th>Material Type</th>
|
||||
<th>UOM</th>
|
||||
|
||||
<th>Action</th>
|
||||
<th>Edit</th>
|
||||
|
||||
|
||||
|
||||
@ -59,7 +59,7 @@
|
||||
<td>
|
||||
<a href="<?php echo base_url().'rawmaterialdetails/editOldrawmaterial/'.$record->MaterialCode; ?>"><i class="fa fa-pencil"></i> </a>
|
||||
<a href="<?php echo base_url().'rawmaterialdetails/viewrawmaterial/'.$record->MaterialCode; ?>"><i class="fa fa-eye"></i> </a>
|
||||
<a href="#" data-userid="<?php echo $record->MaterialCode; ?>" class="deleteUser"><i class="fa fa-trash"></i> </a>
|
||||
<!-- <a href="#" data-userid="<?php echo $record->userId; ?>" class="deleteUser"><i class="fa fa-trash"></i> </a>-->
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@ -39,16 +39,16 @@
|
||||
<th>Contact Number</th>
|
||||
<th>Alternate Contact Number</th>
|
||||
<th>Email Address</th>
|
||||
<th>Exise Registration</th>
|
||||
<th>Exiseregistration</th>
|
||||
<th>TIN</th>
|
||||
<th>PAN</th>
|
||||
<th>GST NO</th>
|
||||
<th>GST Range</th>
|
||||
<th>Collectrate Address</th>
|
||||
<th>GSTNO</th>
|
||||
<th>GSTRange</th>
|
||||
<th>CollectrateAddress</th>
|
||||
<th>UANumber</th>
|
||||
<th>Payment Terms</th>
|
||||
<th>Payment Days</th>
|
||||
<th>Payable AT</th>
|
||||
<th>PaymentTerms</th>
|
||||
<th>PaymentDays</th>
|
||||
<th>PayableAT</th>
|
||||
<th>Create Date</th>
|
||||
<th>Action</th>
|
||||
|
||||
@ -81,8 +81,7 @@
|
||||
<td>
|
||||
<a href="<?php echo base_url().'supplier/editOldsupplier/'.$record->SupplierID; ?>"><i class="fa fa-pencil"></i> </a>
|
||||
<a href="<?php echo base_url().'supplier/viewsupplier/'.$record->SupplierID; ?>"><i class="fa fa-eye"></i> </a>
|
||||
<a href="#" data-userid="<?php echo $record->SupplierID; ?>" class="deleteUser"><i class="fa fa-trash"></i> </a>
|
||||
|
||||
<!-- <a href="#" data-userid="<?php echo $record->userId; ?>" class="deleteUser"><i class="fa fa-trash"></i> </a>-->
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
* Copyright 2014 Webapplayers.com
|
||||
*
|
||||
*/
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
@ -164,9 +165,14 @@ h5 {
|
||||
transition: all 0.5s;
|
||||
}
|
||||
.nav > li.active {
|
||||
border-left: 4px solid #19aa8d;
|
||||
background: #293846;
|
||||
|
||||
background: #3c8dbc;
|
||||
}
|
||||
.nav > li.hover {
|
||||
|
||||
background: #3c8dbc;
|
||||
}
|
||||
|
||||
.nav.nav-second-level > li.active {
|
||||
border: none;
|
||||
}
|
||||
|
||||
2
assets/css/style.min.css
vendored
2
assets/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user